/*
 Theme Name:   Astra Child
 Description:  Child theme pro Astra
 Author:       Petr Brejcha
 Template:     astra
 Version:      1.0.0
 Text Domain:  astra-child
*/

/* anton zuzeny pro hero */
@font-face {
  font-display: swap;
  font-family: 'Anton';
  font-weight: 400;
  font-style: normal;
  src: url('fonts/anton/anton-v27-latin_latin-ext-regular.woff2') format('woff2'); 
}

/* barlow-condensed-100 - latin_latin-ext */
@font-face {
  font-display: swap;
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 100;
  src: url('fonts/barlow_condense/barlow-condensed-v13-latin_latin-ext-100.woff2') format('woff2'); 
}
/* barlow-condensed-100italic - latin_latin-ext */
@font-face {
  font-display: swap;
  font-family: 'Barlow Condensed';
  font-style: italic;
  font-weight: 100;
  src: url('fonts/barlow_condense/barlow-condensed-v13-latin_latin-ext-100italic.woff2') format('woff2'); 
}
/* barlow-condensed-200 - latin_latin-ext */
@font-face {
  font-display: swap;
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 200;
  src: url('fonts/barlow_condense/barlow-condensed-v13-latin_latin-ext-200.woff2') format('woff2'); 
}
/* barlow-condensed-200italic - latin_latin-ext */
@font-face {
  font-display: swap;
  font-family: 'Barlow Condensed';
  font-style: italic;
  font-weight: 200;
  src: url('fonts/barlow_condense/barlow-condensed-v13-latin_latin-ext-200italic.woff2') format('woff2'); 
}
/* barlow-condensed-regular - latin_latin-ext */
@font-face {
  font-display: swap; 
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/barlow_condense/barlow-condensed-v13-latin_latin-ext-regular.woff2') format('woff2'); 
}
/* barlow-condensed-italic - latin_latin-ext */
@font-face {
  font-display: swap; 
  font-family: 'Barlow Condensed';
  font-style: italic;
  font-weight: 400;
  src: url('fonts/barlow_condense/barlow-condensed-v13-latin_latin-ext-italic.woff2') format('woff2'); 
}
/* barlow-condensed-500 - latin_latin-ext */
@font-face {
  font-display: swap; 
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 500;
  src: url('fonts/barlow_condense/barlow-condensed-v13-latin_latin-ext-500.woff2') format('woff2'); 
}
/* barlow-condensed-500italic - latin_latin-ext */
@font-face {
  font-display: swap; 
  font-family: 'Barlow Condensed';
  font-style: italic;
  font-weight: 500;
  src: url('fonts/barlow_condense/barlow-condensed-v13-latin_latin-ext-500italic.woff2') format('woff2'); 
}
/* barlow-condensed-700 - latin_latin-ext */
@font-face {
  font-display: swap; 
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/barlow_condense/barlow-condensed-v13-latin_latin-ext-700.woff2') format('woff2'); 
}
/* barlow-condensed-700italic - latin_latin-ext */
@font-face {
  font-display: swap; 
  font-family: 'Barlow Condensed';
  font-style: italic;
  font-weight: 700;
  src: url('fonts/barlow_condense/barlow-condensed-v13-latin_latin-ext-700italic.woff2') format('woff2'); 
}
/* barlow-condensed-900 - latin_latin-ext */
@font-face {
  font-display: swap; 
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 900;
  src: url('fonts/barlow_condense/barlow-condensed-v13-latin_latin-ext-900.woff2') format('woff2'); 
}
/* barlow-condensed-900italic - latin_latin-ext */
@font-face {
  font-display: swap; 
  font-family: 'Barlow Condensed';
  font-style: italic;
  font-weight: 900;
  src: url('fonts/barlow_condense/barlow-condensed-v13-latin_latin-ext-900italic.woff2') format('woff2'); 
}


:root {
  --font-narrow: 'Barlow Condensed', sans-serif;
  --font-narrow-2 : 'Anton', sans-serif;
  --color-oranz: #ff7d03;   
  --color-reflecta: #dc002e;   
}

html { scroll-behavior: smooth; }

[id^="sekce-start-"] {
    scroll-margin-top: 120px;
}

html, body {
  background: #ffffff;
}

html {
    overflow-y: scroll;
}

@view-transition {
  navigation: auto;
}

@keyframes fade-out {
  to { opacity: 0; transform: scale(0.98); }
}
@keyframes fade-in {
  from { opacity: 0; transform: scale(1.02); }
}

::view-transition-group(root) {
  /* background: #1f1d3e;  */
  background: #ffffff;
}

::view-transition-old(root),
::view-transition-new(root) {
  /* background: #1f1d3e;  */
    background: #ffffff;
}

::view-transition-old(root) {
  animation: 0.6s ease-in both fade-out;
 /*  background: #1f1d3e;  */
    background: #ffffff;    
}
::view-transition-new(root) {
  animation: 0.3s 0.3s ease-out both fade-in; /* delay = počká až stará zmizí */
}




/* Verze I */
/*
::view-transition-new(root) {
  animation: slide-in 600ms ease;
  mix-blend-mode: normal;
}
        @keyframes slide-in {
          from { clip-path: inset(0 0 100% 0); }
          to   { clip-path: inset(0); }
        }

@view-transition {
  navigation: auto;
}
*/


/* Verze II */
/*
        @keyframes move-out {
          from {
            transform: translateY(0%);
          }

          to {
            transform: translateY(-100%);
          }
        }

        @keyframes move-in {
          from {
            transform: translateY(100%);
          }

          to {
            transform: translateY(0%);
          }
        }
*/

/* Apply the custom animation to the old and new page states */
/*
::view-transition-old(root) {
  animation: 0.4s ease-in both move-out;
}

::view-transition-new(root) {
  animation: 2.4s ease-in both move-in;
}

@view-transition {
  navigation: auto;
  }
*/

/* trik: Kadence nebo gunetnberg generuje inline border per-breakpoint, editor reset nefunguje, opakovane se nahodne objevuje v mobil tablet */
/*
.sekce-top-border {
    border-top: 1px dotted #666666!important;
    border-left: 0px dotted #ffffff!important;
    border-bottom: 0px dotted #ffffff!important;
    border-right:  0px dotted #ffffff!important;
}
            @media (max-width: 1024px) { 
                border-top: 1px dotted #666666!important;
                border-left: 0px dotted #ffffff!important;
                border-bottom: 0px dotted #ffffff!important;
                border-right:  0px dotted #ffffff!important;                
            }
            @media (max-width: 767px) { 
                border-top: 1px dotted #666666!important;
                border-left: 0px dotted #ffffff!important;
                border-bottom: 0px dotted #ffffff!important;
                border-right:  0px dotted #ffffff!important;                
            }
.sekce-no-border {
    border-top: 0px dotted #ffffff!important;
    border-left: 0px dotted #ffffff!important;
    border-bottom: 0px dotted #ffffff!important;
    border-right:  0px dotted #ffffff!important;
}
            @media (max-width: 1024px) {
                border-top: 0px dotted #ffffff!important;
                border-left: 0px dotted #ffffff!important;
                border-bottom: 0px dotted #ffffff!important;
                border-right:  0px dotted #ffffff!important;
            }
            @media (max-width: 767px) { 
                border-top: 0px dotted #ffffff!important;
                border-left: 0px dotted #ffffff!important;
                border-bottom: 0px dotted #ffffff!important;
                border-right:  0px dotted #ffffff!important;
            }
*/

.sekce-no-border {
  border: none !important;
}
        @media (max-width: 1024px) {
          .sekce-no-border { border: none !important; }
        }
        @media (max-width: 767px) {
          .sekce-no-border { border: none !important; }
        }
.sekce-top-border {
  border: none !important;
  border-top: 0px dotted #666 !important;
}
        @media (max-width: 1024px) {
          .sekce-top-border {
            border: none !important;
            border-top: 0px dotted #666 !important;
          }
        }
        @media (max-width: 767px) {
          .sekce-top-border {
            border: none !important;
            border-top: 0px dotted #666 !important;
          }
        }
/* trik: vynuceny knec **************** */

.page .entry-header {
    margin-bottom: 0em;
}

.single-post {
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)), url(http://astra.test/wp-content/uploads/2026/04/back-main-4.svg);
    background-repeat: repeat;
    background-position: center center;
    background-size: auto;
    background-attachment: scroll;
}

.ast-primary-header-bar {
    background: rgba(0, 0, 0, 0.87);
    border-radius: 9px;
    margin-top: 10px !important;
    margin-left: 10px !important;
    margin-right: 10px !important;
    box-shadow: 0 5px 25px rgb(0 0 0 / 40%);    
    }

.ast-primary-header-bar.main-header-bar {
    }

.mobile-menu-toggle-icon::before {
  content: 'MENU';
  margin-right: 0.4em;
  margin-top: 0em;
  font-size: 0.80em;
  letter-spacing: 0.05em;
  color: #dddddd;
  font-family: var(--font-narrow);        
}

.ast-main-header-wrap {
/* background: rgba(0, 0, 0, 0.87); */
    position: fixed;
    left: 0;
    right: 0;
    z-index: 1200;
    /* box-shadow: 0 5px 25px rgb(0 0 0 / 40%); */
    color: #ffffff;
}

        /* ============================================================
           OPRAVA: sticky mobilní menu – obsah následuje fixed header
           ============================================================ */

        /* #ast-mobile-header musí být fixed a překrývat stránku */
        #ast-mobile-header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1199; /* těsně pod .ast-main-header-wrap (1200) */
            width: 100%;
            pointer-events: none; /* wrapper sám nekliká */
        }

        /* Vnitřní fixed bar – nechej jak je, jen přidej pointer-events */
        #ast-mobile-header .ast-main-header-wrap {
            pointer-events: auto;
        }

        /* Rozbalené menu – přilepí se pod header bar */
        #ast-mobile-header .ast-mobile-header-content {
            position: absolute;
            top: 88px;          /* hned pod výškou .ast-main-header-wrap */
            left: 0;
            right: 0;
            pointer-events: auto;
            /* background: rgba(0, 0, 0, 0.87); /* stejné jako .ast-primary-header-bar */
            border-radius: 0 0 9px 9px !important; 
            z-index: 1;
            margin-left: 20px;
            margin-right: 20px;
        }
        /* ============================================================
           OPRAVA: KONEC
           ============================================================ */

#ast-hf-mobile-menu .main-header-menu {
}

.ast-header-break-point .main-header-menu {
    /* background:none!important;  */
}

        @media (max-width: 921px) {
            /* Wrapper menu obsahu */
            .ast-mobile-header-content {
                background: rgba(0, 0, 0, 0.95) !important;
                box-shadow: 0 5px 25px rgb(0 0 0 / 40%);
                margin-bottom: 25px;
            }
            /* UL seznam */
            .ast-header-break-point .main-header-menu,
            .ast-header-break-point .main-header-menu .sub-menu {
                background-color: transparent !important;
            }
        }

        @media (max-width: 921px) {
            .ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item > .menu-link {
                color: #ffffff;
            }
        }

.ast-hf-mobile-menu ul li,
.ast-hf-mobile-menu ul li a {
  color: #ffffff;
}

.content-align-flex-start .main-header-menu {
    text-align: right;
    padding-right: 15px;
    color: #ffffff !important;
}

.main-navigation a:focus-visible {
    outline: none;
}

[data-section="section-header-mobile-trigger"] .ast-button-wrap .mobile-menu-toggle-icon .ast-mobile-svg {
    width: 20px;
    height: 20px;
    fill: #ffffff !important;
}

.ast-builder-menu-1 .menu-item > .menu-link {
    color:#ffffff;
}
.menu-item.current-menu-item,
.current-menu-item,
.ast-builder-menu-1 .menu-item.current-menu-item > .menu-link {
    color: #ff0000!important;
}

p {
 line-height: 1.85em;
}

.font-oswald-900 {
    font-family: var(--font-narrow);  
    font-weight: 900;
}
.font-oswald-200 {
    font-family: var(--font-narrow);  
    font-weight: 200;
}
.font-oswald-100 {
    font-family: var(--font-narrow);  
    font-weight: 100;
}


.font-barlow-900 {
    font-family: var(--font-narrow);  
    font-weight: 900;
}
.font-barlow-800 {
    font-family: var(--font-narrow);  
    font-weight: 800;
}
.font-barlow-700 {
    font-family: var(--font-narrow);  
    font-weight: 700;
}
.font-barlow-600 {
    font-family: var(--font-narrow);  
    font-weight: 600;
}
.font-barlow-500 {
    font-family: var(--font-narrow);  
    font-weight: 500;
}
.font-barlow-400 {
    font-family: var(--font-narrow);  
    font-weight: 400;
}
.font-barlow-300 {
    font-family: var(--font-narrow);  
    font-weight: 300;
}
.font-barlow-200 {
    font-family: var(--font-narrow);  
    font-weight: 200;
}
.font-barlow-100 {
    font-family: var(--font-narrow);  
    font-weight: 100;
}

.font-anton-400 {
    font-family: var(--font-narrow-2);  
    font-weight: 400;
    letter-spacing: -2px;
}

/* =============================================================
   NOVINKY – card grid
   ============================================================= */

.novinky-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
	margin-top: 2rem;
}

/* Karta */
.novinky-karta {
	background: #fff;
	border-radius: 6px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .07);
	display: flex;
	flex-direction: column;
	transition: transform .2s ease, box-shadow .2s ease;
}

.novinky-karta:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
}

/* Obrázek */
.novinky-karta__obrazek {
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 9;
}

.novinky-karta__obrazek img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .35s ease;
}

.novinky-karta:hover .novinky-karta__obrazek img {
	transform: scale(1.04);
}

/* Obsah */
.novinky-karta__obsah {
	padding: 1.25rem 1.5rem 1.5rem;
	display: flex;
	flex-direction: column;
	flex: 1;
}

/* Kategorie */
.novinky-karta__kategorie {
	display: inline-block;
	font-size: .75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--ast-global-color-0, #0066cc);
	text-decoration: none;
	margin-bottom: .6rem;
}

.novinky-karta__kategorie:hover {
	text-decoration: underline;
}

/* Nadpis */
.novinky-karta__nadpis {
	font-size: 1.1rem;
	line-height: 1.4;
	margin: 0 0 .5rem;
}

.novinky-karta__nadpis a {
	color: inherit;
	text-decoration: none;
}

.novinky-karta__nadpis a:hover {
	color: var(--ast-global-color-0, #0066cc);
}

/* Meta – datum */
.novinky-karta__meta {
	font-size: .8rem;
	color: #888;
	margin-bottom: .75rem;
}

/* Perex */
.novinky-karta__perex {
	font-size: .9rem;
	line-height: 1.6;
	color: #555;
	flex: 1;
	margin-bottom: 1.25rem;
}

.novinky-karta__perex p {
	margin: 0;
}

/* Číst více */
.novinky-karta__vice {
	display: inline-flex;
	align-items: center;
	gap: .3em;
	font-size: .85rem;
	font-weight: 600;
	color: var(--ast-global-color-0, #0066cc);
	text-decoration: none;
	margin-top: auto;
}

.novinky-karta__vice:hover {
	text-decoration: underline;
}

/* Prázdný stav */
.novinky-prazdno {
	text-align: center;
	padding: 3rem 0;
	color: #888;
}

/* =============================================================
   NOVINYK GRID BLOG RESPONZIVITA
   ============================================================= */

/* Tablet – 2 sloupce */
@media (max-width: 1024px) {
	.novinky-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* Mobil – 1 sloupec */
@media (max-width: 600px) {
	.novinky-grid {
		grid-template-columns: 1fr;
		gap: 1.25rem;
	}
}

/* =============================================================
   NOVINKY GRID BLOG KONEC
   ============================================================= */



.site-content  {
    margin-top: 0px;
}
.site-primary-footer-wrap {
    }

.site-footer {
    background: rgb(47, 47, 47);
}
            /* Tablet */
            @media (max-width: 1024px) { 
                .site-below-footer-wrap,
                .site-below-footer-wrap[data-section="section-below-footer-builder"] {
                    padding-left: 30px;
                    padding-right: 30px;
                }
            }
            /* Mobil */
            @media (max-width: 767px) { 
                .site-below-footer-wrap,
                .site-below-footer-wrap[data-section="section-below-footer-builder"] {
                    padding-left: 30px;
                    padding-right: 30px;
                }
            }



.site-footer h1, 
.site-footer h2,
.site-footer h3,
.site-footer h4,
.site-footer h5,
.site-footer h6,
.site-footer p {
    color:#ffffff !important;
}

.site-footer a:link,
.site-footer a:visited {
    color:#ffffff !important;
}
.site-footer a:hover {
    /* color: #ff7d03 !important; */
    color: var(--color-reflecta);
}


.ast-blog-meta-container .entry-meta span,
.ast-blog-meta-container .entry-meta span a {
	font-size: 14px;
	}

.hero-budova-claim-1 {
    }
.hero-budova-claim-2 {
	}
.hero-budova-subclaim {
	font-weight: 100;
	}


.hero-home-claim-1 {
    text-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2), 
    0px 0px 8px rgba(0, 0, 0, 0.15),
    0px 0px 18px rgba(0, 0, 0, 0.1);
	}

.hero-home-claim-2 {
    text-shadow: 0px 0px 30px rgba(0, 0, 0, 0.6);
	}

.hero-home-subclaim {
     text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.9);
	}

a.sekce-button-big-prava {
    border-radius: 8px;
}


/* Separator za poslední on-page položkou */
#ast-hf-menu-1 > li:last-child > a::before {
    content: '|';
    margin-right: 0.5em;
    color: #e2e2e2;
    font-weight: 300;
    pointer-events: none;
}

/* Mobil – vertikální menu: separator schovat nebo nahradit čarou */
@media (max-width: 920px) {   /* breakpoint Astry pro hamburger */
    .on-page-navi-last > a::after {
        content: '';           /* skrýt | úplně */
    }

    /* Volitelně: spodní čára pod položkou místo | */
    .on-page-navi-last {
        border-bottom: 1px solid #e0e0e0;
        padding-bottom: .5em;
        margin-bottom: .25em;
    }
}


.lokalni-polozky.current-menu-item > a {
    color:#ffffff !important;
}

/* Hover zůstane — ten .current-menu-item nemá */
.lokalni-polozky > a:hover {
    /* color: var(--ast-global-color-0) !important; */
}

.sekce-vyhody-h3 img {
    margin-left: 25px;
}

.kb-gallery-image-contain:hover {
    transition: opacity 0.3s ease, transform 0.6s ease;
}

.kb-gallery-image-contain:hover {
    transition: opacity 0.3s ease, transform 0.6s ease;
    opacity: .7;
}

.NICsection-gallery-main  {
    max-width: 1140px !important;
    margin: 0 auto !important;
    margin-inline: auto;
}


.menu-link {
    font-family: var(--font-narrow);  
    font-size: 18px;
    text-transform: uppercase;
}

.ast-builder-menu-1 {
    font-family: var(--font-narrow);  
}

.ast-builder-menu-1 .menu-item > .menu-link {
    font-family: var(--font-narrow);  
}


/* Pozadí overlay */
.wp-lightbox-overlay {
 
}

/* Tlačítko zavřít */
.wp-lightbox-overlay .close-button {
    color: #ffffff;
}


.wp-lightbox-overlay .scrim,
.wp-lightbox-overlay.active .scrim {
    background: rgba(0, 0, 0, 0.35) !important;
    opacity: .9;
}
.wp-lightbox-overlay.close-button {
    fill: #ffffff;
}


.formu-sublabel-manda {
 color: #bf0000;
}


/* ************************* NOVINKY ************************** */
.vypis-novinek {
 color: #000000;
}

.vypis-novinek .wp-block-kadence-posts .entry-header .category-links a {
  /* color: #ff7d03 !important; */
  color: var(--color-reflecta);
  font-family: var(--font-narrow);  
  font-size: 15px;   
  font-weight: 500;
}
.vypis-novinek .wp-block-kadence-posts .entry-header .category-links a:hover {
 color: #ffffff !important;
}

.vypis-novinek .wp-block-kadence-posts  .entry-meta, .entry-meta * {
    line-height: 1.45;
    color: #474747;
    font-family: var(--font-narrow);  
    font-size: 13px;
}

.wp-block-kadence-posts .more-link-wrap {
    margin-bottom: 0;
    padding-top: 5px;
}

.vypis-novinek .wp-block-kadence-posts a.post-more-link {
  /* color: #ff7d03 !important; */
  color: var(--color-reflecta);
  font-family: var(--font-narrow);  
  font-size: 15px;   
  font-weight: 400;
    padding-left:15px;
    padding-right: 22px;
    padding-top: 5px;
    padding-bottom: 5px;
    /* border: 1px solid  #ff7d03; */
    border: 1px solid  var(--color-reflecta);;
    border-radius: 50px;
    text-transform: lowercase;
    background:  #ffffff;
  }

.vypis-novinek .wp-block-kadence-posts a.post-more-link:hover {
   color: #ffffff !important;
    font-family: var(--font-narrow);  
    text-transform: lowercase;
    background:  var(--color-reflecta);
  }

.entry-meta  {
  color: #525252 !important;
   }

.vypis-novinek .entry-taxonomies {
  display: none;
  }

.vypis-novinek .post-thumbnail-inner {
    transition: opacity 0.3s ease, transform 0.6s ease;
    border-radius: 8px;
  }
.vypis-novinek .kb-post-list-item .post a.post-thumbnail  {
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.20);
}
.vypis-novinek .wp-block-kadence-posts .loop-entry .post-thumbnail img {
    border-radius: 8px;
   
  }

.vypis-novinek .post-thumbnail-inner:hover {
    transition: opacity 0.3s ease, transform 0.6s ease;
    opacity: .7
  }

.vypis-novinek h2.entry-title {
  font-size: 25px;
  font-family: var(--font-narrow)!important;
  /* color: #ff7d03!important; */
  color: var(--color-reflecta);
 
  }

.vypis-novinek .entry-title a {
    /* color: #ff7d03; */
    color: var(--color-reflecta);    
    font-weight: 400;
}
.vypis-novinek .entry-title a:Hover {
    color: #0d0d0d;
}

/* ************************* NOVINKY KONEC ************************** */

.budovy-uvod-foto figure img {
   /* border-radius: 12px !important; */
    }

.sekce-oddelovac-vnitrni-bok-subclaim  {
   padding-left: 10px !important;
  }

.sekce-oddelovac-vnitrni-bok-subclaim h6 {

}


        @media(max-width: 767px) {
        .sekce-oddelovac-vnitrni-bok-subclaim  {
           padding-left: 0px !important;
           padding-top: 15px !important;
          }
        }

        @media(max-width: 767px) {
            .buton-posun-sekci  {
                margin-top: -265px !important;
             }
            /* korekce pro dvouskovny nazev v radku */
            .buton-posun-sekci2  {
                margin-top: -400px !important;
             }            
        }

.wpcf7 input:not([type=submit]), .wpcf7 textarea, wpcf7 input[type=text] {
    background: #edfbff !important;
    border-radius: 8px;
    border-color: rgb(107, 209, 235);
}

.wpcf7 select {
 
 }
.wpcf7 input:not([type=submit]):focus,
.wpcf7 textarea:focus {
     background: #e6f9ff !important;
    box-shadow: 0 0 0 2px rgba(107, 209, 235, 0.71) !important;
    border-color: rgb(3, 196, 255);
    outline: none;
}

.vyhody-sekce-nadpis::before {
    content: ' ';
    /* margin-right: 0.1em; */
    width: 42px;
    pointer-events: none;
    background: #424242;
    height: 30px;
    display: inline-block;
    NICborder-radius: 5px 0px 0px 5px;
}

.pridat-m2 .spectra-counter-number{
	position:relative;
	display:inline-block;
}

.pridat-m2 .spectra-counter-number::after{
	content:" m²";
	position:absolute;
	font-size:0.38em !important;
	top:0.35em;
	right:-1.35em;
	line-height:1;
    font-weight: 400;
}

.pridat-m2 .spectra-counter-number{
	position:relative;
	display:inline-block;
}

.pridat-m2 .spectra-counter-number::after{
	content:" m²";
	position:absolute;
	font-size:0.38em !important;
	top:0.35em;
	right:-1.35em;
	line-height:1;
}

.pridat-m2-spacer .spectra-counter-number{
	position:relative;
	display:inline-block;
}

.pridat-m2-spacer .spectra-counter-number::after{
	content:" ";
	position:absolute;
	font-size:0.38em !important;
	top:0.35em;
	right:-1.35em;
	line-height:1;
}


            /* Fade-up animace pro hero text */
            @keyframes petr-fade-up {
              from {
                opacity: 0;
                transform: translateY(40px);
              }
              to {
                opacity: 1;
                transform: translateY(0);
              }
            }

            @keyframes petr-fade-up-2 {
              from {
                opacity: 0;
                transform: translateY(70px);
              }
              to {
                opacity: 1;
                transform: translateY(0);
              }
            }

            /* Fade-up animace pro hero text */
            @keyframes petr-fade-2 {
              from {
                opacity: 0;
                transform: translateY(0px);
              }
              to {
                opacity: 1;
                transform: translateY(0);
              }
            }

.petr-hero-anim-1,
.petr-hero-anim-2,
.petr-hero-anim-3 {
  opacity: 0;
  animation-name: petr-fade-up;
  animation-duration: 2s;
  animation-fill-mode: forwards;
  animation-timing-function: cubic-bezier(.95, .31, .36, 1.01);
}
.petr-hero-anim-1 { animation-delay: 0s; }
.petr-hero-anim-2 { animation-delay: 0.3s; }
.petr-hero-anim-3 { animation-delay: 0.6s; }


/* Base – jen schovaný, žádná animace */
.petr-nadpis-sekce-anim {
  opacity: 0;
}

/* Animace až po přidání .is-visible Observerem */
.petr-nadpis-sekce-anim.is-visible {
  animation: petr-fade-up-2 1s 0.2s cubic-bezier(.95, .31, .36, 1.01) forwards;
}


/* Wrapper – ořezává vyjíždějící text */
/* Samotný text – schovaný pod spodní hranou */
.petr-hero-anim-1-spec {
    overflow: hidden !important;
    padding: 0;
    margin: 0;
}
.hero-home-subclaim {
    padding-left: 0px;
    
    }

.petr-hero-anim-1-spec h3 {
  margin: 0;
  letter-spacing: 0px;
  will-change: transform, filter, opacity;
  opacity: 0;
  transform: translateY(110%);
  animation: petr-slide-up-opacity 1.3s cubic-bezier(1, 0.59, 0.23, 0.98) forwards; 
/* text-shadow: 0px 0px 2px rgba(0, 0, 0, 0.7), 0px 0px 8px rgba(0, 0, 0, 0.45), 0px 0px 18px rgba(0, 0, 0, 0.1); */
/* text-shadow: 0px 0px 1px rgba(0, 0, 0, 0.7), 0px 0px 5px rgba(0, 0, 0, 0.45), 0px 0px 1px rgba(0, 0, 0, 0.1);  */
    
    /* color: #dc002e; */
    color: var(--color-reflecta);
    background: rgba(255, 255, 255, 0.84);
        padding-left: 15px;
    padding-right: 40px;
    padding-bottom: 7px;
    padding-top: 5px;
    /* font-size: 28px; */
    border-radius: 3px;
    border-radius: 4px;
    font-weight: 500;
}

/* Text uvnitř – ten jezdí */
.petr-hero-anim-1-spec h1 {
  will-change: transform, filter, opacity;
  opacity: 1;
  transform: translateY(110%);
  /* animation: petr-slide-up 1.3s cubic-bezier(.06, .83, .36, 1) forwards; predchozi */
  animation: petr-slide-up 1.3s cubic-bezier(1, 0.59, 0.23, 0.98) forwards;    
}

.--------petr-hero-anim-1-spec h1 {
  will-change: transform, filter, opacity;
  transform: translateY(110%);
  /* animation: petr-slide-up 1.3s cubic-bezier(1, 0.59, 0.23, 0.98) forwards;     */
  /*  display: inline-block; */
  opacity: 0;
  filter: blur(8px);
  animation: gojiBlurIn 1.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;   
}

            @keyframes gojiBlurIn {
              0% {
                opacity: 0;
                filter: blur(8px);
                transform: translateY(110%);
              }
              100% {
                opacity: 1;
                filter: blur(0px);
                transform: translateY(0);
              }
            }

            @keyframes petr-slide-up {
              from {
                opacity: 1;
                transform: translateY(110%);
              }
              to {
                opacity: 1;
                transform: translateY(0);
              }
            }

            @keyframes petr-slide-up-opacity {
              from {
                opacity: 0;
                transform: translateY(160%);
              }
              to {
                opacity: 1;
                transform: translateY(0);
              }
            }



div:has(> .petr-nadpis-sekce-anim) {
  overflow: hidden !important;
}

.kadence-blocks-gallery-item-inner .kb-gallery-figure .kb-gal-image-radius {
   box-shadow: 0 0px 22px rgba(0, 0, 0, 0.10); 
/*  box-shadow: 0px 0px 20px hsl(0deg 0% 0% / 0.32); */
}
.obrazek-ma-stin {
   box-shadow: 0 0px 22px rgba(0, 0, 0, 0.12); 
}

.kontejner-petr-mapa-vizualizace {
    padding-left:15px!important;
    padding-right:15px!important;
    background: #ffffff !important;
    border-radius: 0px;
 }
        @media(max-width: 767px) {
            .kontejner-petr-mapa-vizualizace {
                background: #2a2a2a!important;
                }
        }


.petr-mapa-vizualizace {
    border-radius: 10px;
    border: 00px solid #000000;
 }


/* Rodič obou H1 */
.otec-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 0.3em;
}

.brand1,
.brand2 {
  margin: 0;
}

.brand2 {
  font-size: 0.65em;
}

.img-spec-popis-1 img { }
.img-spec-popis-2 img { }
.img-spec-popis-3 img { }
.img-spec-popis-4 img { }

.img-spec-popis-1::after,
.img-spec-popis-2::after,
.img-spec-popis-3::after,
.img-spec-popis-4::after {
  /* position: relative; *
  overflow: hidden; /* ať nepřetéká */
  position: absolute;    
  font-weight: 200;
  text-shadow: 0px 0px 20px rgba(0,0,0,0.5); 
  color: #fff;
  font-size: 30px;
  letter-spacing: -0.03em;
  color: #ffffff;
  font-family: var(--font-narrow);    
  /* border-radius: 4px; 
  background:rgba(0, 0, 0, 0.52);
  padding: 10px;    */
  opacity: 0;
  pointer-events: none;
  animation: petr-fade-up-img-popisek 1.0s 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
  animation-delay: 3.0s;
}





            /* Fade-up animace 4 popisky pres foto */
            @keyframes petr-fade-up-img-popisek {
              from {
                opacity: 0;
                transform: translateY(40px);
              }
              to {
                opacity: 1;
                transform: translateY(0);
              }
            }

.img-spec-popis-1::after {
  content: "...";
  left: 20px;
  bottom: 20px;
}

.img-spec-popis-2::after {
  content: "...";
  left: 20px;
  bottom: 20px;
}

.img-spec-popis-3::after {
  content: "..";
  left: 20px;
  bottom: 20px;
}

.img-spec-popis-4::after {
  content: "...";
  left: 20px;
  bottom: 20px;
}

           @media(max-width: 767px) {
                .img-spec-popis-1::after,
                .img-spec-popis-2::after,
                .img-spec-popis-3::after,
                .img-spec-popis-4::after {
                    font-weight: 400;
                    font-size: 26px;
                }       
            }
.sekce-2-sloupec-hesla h3,
.sekce-2-sloupec-hesla h4 {
    line-height: 0.8;
}
    
/* OPTIMILAZE PRO VYKON LCP atd */
/* **************************** */

/* Přidej do child style.css */
.custom-logo,
.astra-logo-svg {
    aspect-ratio: 165 / 40; /* přizpůsob svému skutečnému poměru */
    height: auto;           /* nechá výšku plynout dle šířky */
}

/* 2. Placeholder pro hero background (prevent LCP blank flash) */
.hero-sekce-hlavni {
  background-color: #1a1a2e; /* tmavá náhradní barva než se načte jpg */
}

/* 3. Optimalizace font rendering v navbaru (snížení CLS při swap) */
.main-header-menu a {
  font-family: "Barlow Condensed", sans-serif;
  /* Rezervuj místo pro font aby nedošlo k posunu layoutu */
  size-adjust: 95%; /* jemné doladění, aby system font byl blíž Barlow */
}


h1 {
  font-family: Anton, sans-serif;
  /* fallback size adjust test na https://screenspan.net/fallback */
}

/* 5. content-visibility pro sekce hluboko pod foldem (výrazně zrychlí TTI) */
/* Přidej na sekce co jsou až dole */
/* .sekce-pod-foldem,  nahraitď skutečnynma třídama */
footer {
  content-visibility: auto;
  contain-intrinsic-size: 0 500px;
}

/* blur efect nad obrazkem */ 
.blur-wrap {
  position: relative;
  display: flex;
  align-items: center;      /* vertikálně */
  justify-content: center;  /* horizontálně */
  min-height: 550px;
}

/* Obrázek — absolutně, pod textem */
.blur-wrap {
  position: relative;
  min-height: 600px;
}

.blur-wrap .blur-text {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  /* max-width: 600px; */
  width: 100%;
}
.blur-wrap h3.blur-text {
  font-size: 50px;
  color: #000;
  max-width: 800px; 
  line-height: 1em;
  font-weight: 500;
}
.h3-sep {
  display: inline-block;
  width: 1.2em;            /* délka čáry — uprav podle chuti */
  height: 2px;           /* tloušťka */
  background: currentColor; /* zdědí barvu textu */
  vertical-align: middle;
  margin: 0 0.4em;
}


.blur-wrap .blur-target img {
  /* width: 600px; */
  /* height: 600px; */
  /* object-fit: cover; */
  /* border-radius: 50%;*/
  margin-bottom: 0em!important;    
  display: block;
  transition: filter 0.04s linear;
  will-change: filter;
  transform: translateZ(0); /* GPU vrstva */
    
  width: min(600px, 75vw);
  height: min(600px, 75vw);
  object-fit: cover;
  margin: auto;
}


           @media(max-width: 767px) {
               .blur-wrap .blur-target img {
                }
               
               .blur-wrap .blur-text {
                   font-weight: 600;
                 }
            }

.single-post {
    background-image: #ffffff;
    background: #ffffff;
    background-repeat: repeat;
    background-position: center center;
    background-size: auto;
    background-attachment: scroll;
}

.single-post header.entry-header .entry-title {
    font-size: 3rem;
}

.single-post .entry-meta,
.single-post .ast-terms-link {
    font-size: 15px;
    font-family: var(--font-narrow);  
    font-weight: 600;
    color:  #6e6e6e;
}

.single-post .posted-by {
}

.single-post .navigation  {
    margin-bottom: 20px;
}

.petr-mapa-vizualizace    {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14);
}

        @keyframes petr-shadow-anim {
          from {
            opacity: 0;
            box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
          }
          to {
            opacity: 1;
            box-shadow: 0 2px 10px rgba(0, 0, 0, .50);
          }
        }

.uvod-4gallery img {
 opacity: 0;
  animation: petr-shadow-anim 0.5s 3s cubic-bezier(.81, .02, .58, 1) forwards;
}


.single-post .entry-content :where(h2) {
    font-size: 40px;
    font-weight: 800;
    font-family: 'Barlow Condensed', sans-serif;
    line-height: 1em;
}

.single-post .entry-content a:link {
    text-decoration: underline;
    /* color:#ff7d03; */
    color: var(--color-reflecta);
}
.single-post .entry-content a:hover {
    text-decoration: underline;
    color:#000000;
}

.entry-meta .comments-link  {
 display: none;
}


.soc-ikona {
  opacity: 0;
}

.soc-ikona.is-visible {
  animation: gojiBlurIn2 1s 0.3s cubic-bezier(.95, .31, .36, 1.01) forwards;
}

            @keyframes gojiBlurIn2 {
              0% {
                opacity: 0;
                filter: blur(15px);
              }
              100% {
                opacity: 1;
                filter: blur(0px);
              }
            }

.soc-ikona a img {
    transition: all 0.4s ease-in-out;
}

.soc-ikona a img:hover {
    transition: all 0.6s cubic-bezier(.07, .85, .73, .99);
    opacity: .6;
}

.wpcf7-submit,
.wpcf7 input[type="submit"] {
    border-radius: 50px;
    border-color: var(--color-reflecta);
    background-color: var(--color-reflecta);
    color:#ffffff;
}
.wpcf7-submit:hover,
.wpcf7 input[type="submit"]:hover {
    color:#ffffff;
    border-color: #292929;
    background-color: #292929;

}

.wp-block-button .wp-block-button__link {
    border-color: var(--color-reflecta);
    background-color: var(--color-reflecta);
 }


                @media (min-width: 922px) {
                            .ast-footer-social-wrap .ast-builder-social-element:first-child {
                                margin-left: 0;
                                padding-left:0;
                            }

                            .social-show-label-true .ast-builder-social-element {
                                 padding: 0 0em;
                            }

                            .footer-social-inner-wrap.element-social-inner-wrap {
                                margin-top:25px;
                                display: flex;
                                flex-direction: column;
                                align-items: flex-start;
                                gap: 40px;
                            }
                            .footer-social-inner-wrap.element-social-inner-wrap .footer-social-item {
                                margin: 0;
                            }
                     }

                    @media (max-width: 544px) {
                        .footer-widget-area h2 {
                            font-size: 50px;
                        }
                        .footer-widget-area h6 {
                            font-size: 24px!important;
                        }
                        .site-footer-primary-section-1  {
                         margin-bottom: 40px!important;  
                        }
                    }

.single-post .ast-related-post-content h3.ast-related-post-title a {
font-size: 2.25rem; 
}

.ast-related-posts-title-section h2 {
font-size: 1.375rem; 
}

.single-post  h1.entry-title  {
	padding-top: 60px; 
}
.single-post .posted-by {
	display:none;
}

.footer-widget-area h5  {
  font-family: 'Barlow Condensed';
  font-weight: 400;
  font-size:22px;
}

.footer-widget-area h5  strong{
  font-family: 'Barlow Condensed';
  font-weight: 500;
  font-size:22px;
}
