@charset "UTF-8";
/*
Theme Name:     Klima Vohančice 2023
Theme URI:      https://www.klima-vohancice.cz
Description:    GeneratePress child theme
Author:         Michaela Vranková
Author URI:     https://www.vrankova.cz
Template:       generatepress
Version:        1.0.0
License:        GNU General Public License v2 or later
License URI:    http://www.gnu.org/licenses/gpl-2.0.html
Tags:           accessibility-ready
Text Domain:    klima
*/

/* =============================
 *   TYPOGRAPHY
 ============================= */

/* =============================
 *   LINKS 
 ============================= */
*:focus {
  outline: 3px dotted #c40909;
}

/* =============================
 *   PICTURE - align figcaption
 ============================= */
.wp-block-image figcaption {
  font-size: 0.8rem;
  text-align: left;
}

/* =============================
 *   LIST - not at header and footer
 ============================= */
.site-content ul {
  list-style-position: outside;
  line-height: 2em;
  list-style: none;
}
.site-content li {
  padding-left: 0.5rem;
}
/* list marker */
.site-content li::marker {
  content: "➢"; /* → */
} 
/* smaller space before list */
@media (max-width:768px) {
  .site-content ul {
    margin-left: 1.5rem;
  }
}

/* =============================
 *   PICTURES
 ============================= */
/* GALLERY - picture with link is not underlined */
figure a img {
  /* same color as at img */
  border: 1px solid var(--contrast-3); /* light color */
  padding-bottom: 0;
  margin-bottom: 0;
}
figure a:hover img,
figure a:focus img,
figure a:active img {
  border: 1px solid var(--accent); /* links color */
}
/* IMG hover blur */
/* style HOVER */
figure a {
  position: relative;
	display: block;
}
/* add BLUR efect */
figure a:hover img {
  filter: brightness(0.7);

}
/* link at picture in single */
figure a,
.post-image a,
.wp-block-latest-posts__featured-image a {
  border: 1px solid transparent;
}
/* GALLERY - space after */
.wp-block-gallery {
	margin-bottom: 1.5rem;
}

/* =============================
 *   HEADER
 ============================= */
/* smaller spaces at mobile */
@media (max-width: 768px) {
  .inside-header {
    padding-right: 20px;
    padding-left: 20px;
  }
}

/* MAIN TITLE smaller at mobile */
@media screen and (max-width:400px) {
	.main-title {
  	font-size: 1.5rem;
	}
}

/* MAIN NAVIGATION */
/* underline current menu item */
.main-nav .menu-item a {
	padding-top: 0.25rem;
	padding-bottom: 0.25rem;
	border-bottom: 1px solid transparent;
}
.main-nav .menu-item:hover a {
  border-bottom: 1px solid currentcolor;
}
/* bold current menu item */
.current-menu-item > a {
  font-weight: bold;
}
/* no background under hamburger */
.mobile-menu-control-wrapper .menu-toggle,
.mobile-menu-control-wrapper .menu-toggle:hover,
.mobile-menu-control-wrapper .menu-toggle:focus,
.has-inline-mobile-toggle #site-navigation.toggled {
  background-color: transparent;
}
/* bigger hamburger */
.icon-menu-bars svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* =============================
 *   BUTTONS
 ============================= */
/* button size */
button, 
input[type="button"], 
input[type="reset"], 
input[type="submit"],
.wp-block-button .wp-block-button__link {
  padding: 0.25rem 2rem;
  margin-bottom: 1.5rem;
}
/* button style */
.wp-block-button__link {
  border-radius: 5px;
}
/* button not underlined */
a.wp-block-button__link {
  border: 1px solid var(--accent);
  padding-bottom: 0;
  margin-bottom: 0;
}
/* secondary button */
.wp-block-button .wp-block-button__link.is-style-outline, .wp-block-button.is-style-outline > .wp-block-button__link
{
  border: 1px solid var(--global-color-8);
	background: var(--accent);
	color: var(--base-3);
}
/* secondary button hover */
.wp-block-button .wp-block-button__link.is-style-outline:hover, 
.wp-block-button .wp-block-button__link.is-style-outline:focus, 
.wp-block-button .wp-block-button__link.is-style-outline:active, 
.wp-block-button.is-style-outline > .wp-block-button__link:hover,
.wp-block-button.is-style-outline > .wp-block-button__link:focus,
.wp-block-button.is-style-outline > .wp-block-button__link:active {
	border: 1px solid var(--global-color-8);
	background: var(--global-color-8);
	color: var(--base-3);
}

/* =============================
 *   HOME - HERO
 ============================= */
/* main content + hero */
/* H1 bigger on frontpage */
.home-hero h1 {
	font-size: 3.6rem;
}
@media screen and (max-width:768px) {
	.home-hero h1 {
		font-size: 3rem;
	}
}
.one-container .site-content {
  padding-top: 0;
}
.home-hero {
	padding: 4rem 0.5rem 2rem;
	margin-bottom: 2.5rem;
}
/* HERO BUTTON - bigger  */
.wp-block-button.hero-button .wp-block-button__link {
	padding: 0.5rem 2rem;
	font-size: 1.4rem;
}

/* =============================
 *   HOME - FAST CHOICE
 ============================= */
/* cart in 1 row */
.home-fast-choice {
	display: flex;	
	gap: 1rem;
	font-family: Roboto Condensed, sans-serif;
	text-transform: uppercase;
	margin-bottom: 2.5rem;
}
@media screen and (max-width:1000px) {
	.home-fast-choice {
		flex-wrap: wrap;
	}
}
@media screen and (max-width:550px) {
	.home-fast-choice {
		flex-direction: column;
	}
}
/* cart in 1 row */
.home-fast-choice .gb-container {
	text-align: center;
	border: 1px solid var(--global-color-11);
	border-radius: 5px;
	background: var(--global-color-12);
	padding: 1rem 2rem;
	position: relative;
}
/* no space after text - centered */
.home-fast-choice p {
	margin-bottom: 0;
}
/* bigger icon */
.home-fast-choice img {
	width: 2rem;
	margin-bottom: 0.25rem;
}
/* link to whole cart */
.home-fast-choice .gb-container a:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10;
}
.home-fast-choice a {
	text-decoration: none;
}

/* =============================
 *   HOME - PROGRAM (table)
 ============================= */
/* table without borders */
.program-timetable table,
.program-timetable.wp-block-table thead,
.program-timetable.wp-block-table td,
.program-timetable.wp-block-table th {
	border: none;
}
/* table - line between rows */
.program-timetable tr {
	border-bottom: 1px solid var(--global-color-11);
	line-height: 2;
}
.program-timetable tbody tr:last-child {
	border-bottom: none;
}
/* =============================
 *   HOME - LOGOS
 ============================= */
/* in 1 row */
.logos-block .wp-block-group__inner-container {
	display: flex;
	flex-wrap:nowrap;
	gap: 3rem;
	align-items: center;
	justify-content: center;
	background: white;
}
/* LOGOS mobile - 1 column */
@media screen and (max-width: 1100px) {
	.logos-block .wp-block-group__inner-container {
		flex-direction: column;
	}
}
/* HOME - LOGOS padding around */
.site-main .logos-block .wp-block-group__inner-container {
  padding: 0;
	margin: 2rem 0;
	width: auto;
}

/* =============================
 *   NAPSALI O NÁS
 ============================= */
/* list links */
.napsali-gallery {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
}
/* style PRESS */
/* desktop - 3 columns */
.napsali-gallery figure {
	width: calc(33% - 1.4rem);
}
/* tablet - 2 columns */
@media screen and (max-width:800px) {
	.napsali-gallery figure {
		width: calc(50% - 1rem);
	}
}
/* mobile - 1 column */
@media screen and (max-width:360px) {
	.napsali-gallery figure {
		width: 100%;
	}
}