:root {
    --main-color: #140d0b;
    --secondary-color: #6c5346;
    --terciary-color: #f4f1ea;
}

html {
    scroll-behavior: smooth;
}

/* =========================
   HERO – základ (mobile)
   ========================= */

.kn-hero{
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-top: 140px;
}

/* výška banneru – mobil */
.kn-hero{
    height: 400px;
}

.kn-hero__img{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.kn-hero__overlay{
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    background: rgba(20, 13, 11, 0.6);
}

.kn-hero__inner{
    padding: 16px;
    margin-top: 110px;
    max-width: 90%;
}

.kn-hero__title{
    margin: 0;
    color: #fff;
    line-height: 1.15;
    font-weight: 600;

    /* plynulé škálování textu */
    font-size: clamp(22px, 5.5vw, 32px);
    text-shadow: 0 6px 20px rgba(0,0,0,0.55);
}

/* =========================
   TABLET (≥ 768px)
   ========================= */

@media (min-width: 768px){
    .kn-hero{
        height: 500px;
    }

    .kn-hero__inner{
        max-width: 720px;
        padding: 24px;
    }

    .kn-hero__title{
        font-size: clamp(28px, 4vw, 40px);
    }
}

/* =========================
   DESKTOP (≥ 1024px)
   ========================= */

@media (min-width: 1024px){
    .kn-hero{
        height: 500px;
    }

    .kn-hero__inner{
        max-width: 1100px;
    }

    .kn-hero__title{
        font-size: clamp(34px, 3vw, 46px);
    }
}

/* =========================
   FULL WIDTH i v Astře
   ========================= */

.single-post .kn-hero{
    width: 100vw;
    margin-left: 50%;
    transform: translateX(-50%);
}

.ast-primary-header-bar {
    background-color: var(--main-color);
}

.site-below-footer-wrap[data-section="section-below-footer-builder"] {
    border-top-color: var(--terciary-color);
    max-height: 30px;
    min-height: 30px;
}

.site-below-footer-wrap[data-section="section-below-footer-builder"] .ast-builder-grid-row {
    max-height: 30px;
    min-height: 30px;
}

.post-navigation {
    display: none;
}

/* =========================
   TMAVÝ PÁS NAD FOOTEREM
   ========================= */
.site-footer {
    background: var(--secondary-color);
    padding-left: 16px;
    padding-right: 16px;
    border-top: 1px solid var(--terciary-color);
}

.site-below-footer-wrap {
    border: none!important;
}

.kn-footer-top{
    background: var(--main-color);
    border-top: 2px solid rgba(244, 241, 234, .08);
    border-bottom: 1px solid rgba(244, 241, 234, .08);
}

.kn-footer-top__inner{
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

/* “chip” tlačítka vlevo (mail/telefon) */
.kn-footer-top__chip{
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 10px 14px;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 12px;

    color: rgba(255,255,255,0.88);
    text-decoration: none;

    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(6px);

    transition: transform .18s ease, border-color .18s ease, background-color .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.kn-footer-top__icon{
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.kn-footer-top__text{
    font-size: 13.5px;
    letter-spacing: 0.2px;
    white-space: nowrap;
}

/* social vpravo */
.kn-footer-top__social{
    display: inline-flex;
    gap: 10px;
    margin-left: auto;
}

.kn-footer-top__socialBtn{
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.03);

    color: rgba(255,255,255,0.88);
    text-decoration: none;

    transition: transform .18s ease, border-color .18s ease, background-color .18s ease, box-shadow .18s ease, opacity .18s ease;
}

/* =========================
   HOVER EFEKTY
   ========================= */

.kn-footer-top__chip:hover,
.kn-footer-top__socialBtn:hover{
    transform: translateY(-2px);
    border-color: rgba(255,255,255,0.28);
    background: rgba(255,255,255,0.06);
    box-shadow: 0 10px 26px rgba(0,0,0,0.35);
    color: var(--terciary-color);
}

.kn-footer-top__chip:active,
.kn-footer-top__socialBtn:active{
    transform: translateY(0px);
    opacity: .9;
}

/* focus pro klávesnici */
.kn-footer-top__chip:focus-visible,
.kn-footer-top__socialBtn:focus-visible{
    outline: 2px solid rgba(255,255,255,0.35);
    outline-offset: 3px;
}

/* =========================
   MOBIL – centrování
   ========================= */

@media (max-width: 700px){
    .kn-footer-top__inner{
        justify-content: center;
    }

    .kn-footer-top__social{
        margin-left: 0;
        width: 100%;
        justify-content: left;
    }

    .kn-footer-top__chip{
        width: 100%;
        justify-content: center;
    }

    .kn-footer-top__text{
        white-space: normal;
        text-align: center;
    }
}

@media (max-width: 550px) {
    .site-footer-below-section-2 {
        display: none!important;
    }
}

.kn-header{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;

    background: transparent; /* důležité */
}

/* overlay pozadí headeru */
.kn-header__bg{
    position: absolute;
    inset: 0;
    background: var(--main-color);
    opacity: 0.95;
    pointer-events: none;
    z-index: -1;
}


.kn-header__inner{
    background: transparent !important;
}

.kn-header__inner{
    max-width:1200px;
    margin:0 auto;
    padding:0 14px;
    display:grid;
    grid-template-columns:1fr auto 1fr;
    align-items:center;
    gap:18px;
    position:relative;
}

.kn-header__logo{
    display:flex;
    justify-content:center;
}

.kn-header__logo img{
    height:110px;
    width:auto!important;
}

@media (max-width: 900px){
    .kn-header__logo {
        max-height: 70px;
    }

    .kn-header__inner {
        padding: 4px;
    }

    header .custom-logo-link img {
        max-height: 70px;
    }
}

.kn-header__siteName{
    color:rgba(255,255,255,.9);
    letter-spacing:.08em;
    text-transform:uppercase;
    font-size:14px;
}

.kn-header__nav--left{ justify-self:center; }
.kn-header__nav--right{ justify-self:center; }

/* Desktop menu */
.kn-menu {
    list-style:none;
    display:flex;
    gap:22px;
    margin:0;
    padding:0;
    align-items:center;
}

.kn-menu a{
    color:rgba(255,255,255,.85);
    text-decoration:none;
    letter-spacing:.10em;
    font-size:14px;
    font-weight: bold;
    text-transform:uppercase;
    transition:opacity .2s ease;
    padding-right: 40px;
}
.kn-menu a:hover{ opacity:.7; }

.kn-menu .current-menu-item a {
    color: #b88d76;
}

.kn-menu .menu-item-73 a {
    color: #fff;
}

/* Hamburger (hidden on desktop) */
.kn-burger{
    display:none;
    position:absolute;
    right:16px;
    top:50%;
    transform:translateY(-50%);
    width:46px;
    height:46px;
    border-radius:14px;
    border:1px solid rgba(255,255,255,.14);
    background-color: #6c5346;
    color:rgba(255,255,255,.9)!important;
    cursor:pointer;
    transition:transform .18s ease, background-color .18s ease, box-shadow .18s ease, border-color .18s ease;
    padding-right: 46px;
}
.kn-burger:hover{
    transform:translateY(-52%);
    border-color:rgba(255,255,255,.28);
    background:rgba(255,255,255,.06);
    box-shadow:0 10px 26px rgba(0,0,0,.35);
}
.kn-burger__lines{
    display:block;
    width:18px;
    height:2px;
    background:currentColor;
    position:relative;
    margin:0 auto;
    border-radius:2px;
}
.kn-burger__lines:before,
.kn-burger__lines:after{
    content:"";
    position:absolute;
    left:0;
    width:18px;
    height:2px;
    background:currentColor;
    border-radius:2px;
}
.kn-burger__lines:before{ top:-6px; }
.kn-burger__lines:after{ top:6px; }

/* Overlay */
.kn-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.45);
    backdrop-filter:blur(2px);
    z-index:60;
}

/* Drawer */
.kn-drawer{
    position:fixed;
    top:0;
    right:0;
    height:100dvh;
    width:min(360px,88vw);
    background:#241d1a;
    color:rgba(255,255,255,.9);
    z-index:70;
    box-shadow:-18px 0 50px rgba(0,0,0,.45);
}

.kn-drawer__top{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:14px 14px;
    border-bottom:1px solid rgba(255,255,255,.08);
}

.kn-drawer__top .custom-logo-link img{ max-height:90px; width:auto; height:auto; }

.kn-drawer__close{
    background:rgba(255,255,255,.03);
    color:rgba(255,255,255,.9);
    cursor:pointer;
    transition:background-color .18s ease, border-color .18s ease, transform .18s ease;
}
.kn-drawer__close:hover{
    border-color:rgba(255,255,255,.28);
    background:rgba(255,255,255,.06);
    transform:translateY(-1px);
}

.kn-drawer__nav{
    padding:10px 14px 18px;
    overflow:auto;
    height:calc(100dvh - 72px);
}

.kn-drawer__divider{
    height:1px;
    background:rgba(255,255,255,.10);
    margin:10px 0;
}

/* Mobile menu list */
.kn-mobile-menu{
    list-style:none;
    margin:0;
    padding:0;
    display:flex;
    flex-direction:column;
    gap:6px;
}

.kn-mobile-menu a{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:12px 12px;
    border-radius:14px;
    text-decoration:none;
    color:rgba(255,255,255,.9);
    background:rgba(255,255,255,.03);
    border:1px solid rgba(255,255,255,.10);
    transition:transform .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.kn-mobile-menu a:hover{
    transform:translateY(-1px);
    background:rgba(255,255,255,.06);
    border-color:rgba(255,255,255,.18);
    box-shadow:0 10px 26px rgba(0,0,0,.35);
}

.kn-mobile-menu .sub-menu{
    list-style:none;
    margin:6px 0 0;
    padding:0 0 0 10px;
    display:flex;
    flex-direction:column;
    gap:6px;
}
.kn-mobile-menu .sub-menu a{
    font-size:13px;
    letter-spacing:.06em;
    text-transform:none;
}

/* Responsive: hide desktop nav, show burger */
@media (max-width:900px){
    .kn-header__nav{ display:none; }
    .kn-burger{ display:inline-flex; align-items:center; justify-content:center; }
}

.ast-article-post {
    min-height: 300px;
}

.ast-grid-common-col {
    cursor: pointer;
}

.ast-article-post .ast-article-inner{
    display: flex;
    flex-direction: column;
}

.ast-article-post .entry-title{
    margin-top: auto;
}

/* kotva pro absolutní pozici badge */
article.ast-article-post .ast-article-inner.blog-layout-6{
    position: relative !important;
}

/* vytáhnout datum (header) nahoru doprava */
article.ast-article-post .ast-article-inner.blog-layout-6 > header.entry-header.ast-blog-meta-container{
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 999 !important;
}

/* vzhled štítku */
article.ast-article-post .ast-article-inner.blog-layout-6 > header.entry-header.ast-blog-meta-container .published{
    display: inline-block;
    background: #f5f1ea;
    color: #000;
    font-size: 12px;
    line-height: 1;
    padding: 5px 8px;
    border-radius: 3px;
}

/* celé stránkování: žádný velký box */
.ast-pagination,
.ast-pagination .navigation.pagination{
    padding: 0 20px;
    background: transparent;
    border: 0;
}

/* linky vedle sebe, malé mezery, vlevo */
.ast-pagination .nav-links{
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* čísla i next jako obyč textové odkazy */
.ast-pagination .page-numbers{
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    min-width: 0 !important;
    height: auto !important;
    line-height: 1 !important;
    font-size: 14px;
    text-decoration: none;
    opacity: .75;
    color: var(--main-color);
}

/* aktivní stránka jen trochu výraznější */
.ast-pagination .page-numbers.current{
    opacity: 1;
    font-weight: 600;
    color: #b88d76;
}

/* hover jemně */
.ast-pagination a.page-numbers:hover{
    opacity: 1;
    text-decoration: underline;
}

/* "Next →" uděláme jako jen šipka (aby to vypadalo jako na screenshotu) */
.ast-pagination a.next.page-numbers{
    font-size: 0;          /* skryje text Next */
    opacity: .75;
}

.ast-pagination a.next.page-numbers .ast-right-arrow{
    font-size: 14px;       /* vrátí šipku */
}

.ast-pagination a.prev.page-numbers{
    font-size: 0;
    opacity: .75;
}
.ast-pagination a.prev.page-numbers .ast-left-arrow{
    font-size: 14px;
}

/* 1) Udělej z wrapperu obrázku "kontejner" pro overlay */
.ast-blog-featured-section .post-thumb-img-content{
    position: relative;
    overflow: hidden;            /* aby overlay i obrázek držely v rámečku */
}

/* 2) Overlay jen přes obrázek */
.ast-blog-featured-section .post-thumb-img-content::after{
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: rgba(20, 13, 11, 0.4);
    transition: opacity .2s ease;
    opacity: 1;
}

/* 3) Hover efekt (volitelné) */
article.ast-article-post:hover .ast-blog-featured-section .post-thumb-img-content::after{
    opacity: 0.18;
}

/* 4) Aby obrázek vyplnil box hezky */
.ast-blog-featured-section .post-thumb-img-content img{
    display: block;
    width: 100%;
    height: auto;
}

/* ====== jen stránka Ceník (uprav slug podle sebe) ====== */
body.page-template-page-pricelist{
    background: var(--main-color);
}
body.page-template-page-pricelist #content,
body.page-template-page-pricelist .site-content{
    background: transparent;
}

/* ====== PAGE WRAP ====== */
.kn-price-page{
    background: #140d0b; /* tmavé pozadí */
    color: rgba(255,255,255,0.92);
    padding: clamp(28px, 6vw, 80px) 16px;
    padding-top: 140px;
}

.kn-price-page__inner{
    max-width: 980px;
    margin: 0 auto;
}

/* Nadpis */
.kn-price-page__title{
    text-align: center;
    margin: 0 0 clamp(18px, 4vw, 34px);
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-size: clamp(18px, 3vw, 22px);
    color: rgba(255,255,255,0.90);
}

/* ====== LIST ====== */
.kn-price-row{
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    align-items: baseline;

    padding: clamp(14px, 2.4vw, 22px) 0;
    border-bottom: 1px solid var(--terciary-color);
}

.kn-price-row__name{
    font-size: clamp(16px, 2.2vw, 20px);
    letter-spacing: .02em;
    color: rgba(255,255,255,0.92);
}

.kn-price-row__value{
    font-size: clamp(14px, 2vw, 18px);
    letter-spacing: .06em;
    text-transform: lowercase; /* “zdarma” apod. – klidně smaž */
    color: rgba(255,255,255,0.82);
    white-space: nowrap;
}

.ast-plain-container {
    background: var(--terciary-color);
}
/* ====== MOBIL: přehledné zalomení ====== */
@media (max-width: 560px){
    .kn-price-row{
        grid-template-columns: 1fr;
        gap: 6px;
    }
    .kn-price-row__value{
        white-space: normal;
        opacity: .92;
    }
}

#post-86 .entry-header .entry-title {
    display: none;
}

#post-83 .entry-header .entry-title {
    display: none;
}

.kn-ba{
    padding-top: 100px;
    padding-bottom: 50px;
}

.kn-ba__inner{
    max-width: 980px;
    margin: 0 auto;
}

.kn-ba__head{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(18px, 3vw, 40px);
    margin-bottom: 12px;
}

.kn-ba__label{
    font-size: 12px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(0,0,0,0.75);
}

/* Grid obrázků */
.kn-ba__grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(18px, 3vw, 46px);
}

/* Karta obrázku */
.kn-ba__item{
    display: block;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(0,0,0,0.03);
    text-decoration: none;
    transform: translateZ(0);
}

.kn-ba__item img{
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 3 / 4;      /* sjednotí výšku jako na screenu */
    object-fit: cover;
    object-position: center;
    transition: transform .25s ease, opacity .25s ease;
}

/* Hover “luxusní” */
@media (hover:hover){
    .kn-ba__item:hover img{
        transform: scale(1.03);
        opacity: .95;
    }
}

/* Tablet / menší displeje */
@media (max-width: 720px){
    .kn-ba__head{
        margin-bottom: 8px;
    }
    .kn-ba__label{
        text-align: center;
    }
}

.kn-ba__slider{
    position: relative;
}

.kn-ba__track{
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 4px 2px 10px;
}

.kn-ba__track::-webkit-scrollbar{
    height: 8px;
}
.kn-ba__track::-webkit-scrollbar-thumb{
    background: rgba(0,0,0,.2);
    border-radius: 999px;
}

.kn-ba__slide{
    aspect-ratio: 1 / 1;   /* čtverec */
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 100%;
    scroll-snap-align: start;
    border-radius: 12px;
    overflow: hidden;
}

.kn-ba__slide img{
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;   /* klíčové */
}

/* tablet: 2 slidy */
@media (min-width: 700px){
    .kn-ba__slide{ flex-basis: calc(50% - 8px); }
}

/* desktop: 3 slidy (když chceš) */
@media (min-width: 1100px){
    .kn-ba__slide{ flex-basis: calc(33.333% - 10.666px); }
}

/* šipky */
.kn-ba__nav{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 0;
    background: rgba(0,0,0,.55);
    color: #fff;
    cursor: pointer;
    display: grid;
    place-items: center;
    padding: 0;
}
.kn-ba__nav--prev{ left: 8px; }
.kn-ba__nav--next{ right: 8px; }

/* tečky */
.kn-ba__dots{
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}
.kn-ba__dot{
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: 0;
    background: rgba(0,0,0,.25);
    cursor: pointer;
}
.kn-ba__dot.is-active{
    background: rgba(0,0,0,.75);
}

/* Úzký mobil: volitelně 1 sloupec (aby bylo mega čitelné) */


.kn-lightbox{
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
}

.kn-lightbox.is-open{
    display: block;
}

.kn-lightbox__backdrop{
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.72);
}

.kn-lightbox__figure{
    position: absolute;
    inset: 0;
    margin: auto;
    width: min(92vw, 980px);
    height: min(88vh, 760px);
    display: grid;
    grid-template-rows: 1fr auto;
    align-items: center;
}

.kn-lightbox__img{
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 18px 60px rgba(0,0,0,0.55);
    background: rgba(0,0,0,0.15);
}

.kn-lightbox__cap{
    margin-top: 10px;
    text-align: center;
    color: rgba(255,255,255,0.85);
    font-size: 13px;
    letter-spacing: .02em;
    min-height: 18px;
}

.kn-lightbox__close{
    position: absolute;
    top: -6px;
    right: -6px;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(0,0,0,0.35);
    color: #fff;
    cursor: pointer;
}

.kn-lightbox__nav{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.22);
    background: rgba(0,0,0,0.28);
    color: #fff;
    cursor: pointer;
    font-size: 28px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    padding: 0;
}

.kn-lightbox__nav:hover {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.22);
    background: rgba(0,0,0,0.28);
    color: #fff;
    cursor: pointer;
    font-size: 28px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.kn-lightbox img {
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
    max-width: 980px;
}

.kn-lightbox__nav:focus {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.22);
    background: rgba(0,0,0,0.28);
    color: #fff;
    cursor: pointer;
    font-size: 28px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.kn-lightbox__prev{ left: -58px; }
.kn-lightbox__next{ right: -58px; }

/* na mobilu šipky dovnitř, ať se vejdou */
@media (max-width: 720px){
    .kn-lightbox__prev{ left: 10px; }
    .kn-lightbox__next{ right: 10px; }
    .kn-lightbox__close{ top: 10px; right: 10px; }
}

.kn-btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 14px 28px;
    border-radius: 14px;

    font-size: 13px;
    letter-spacing: .14em;
    text-transform: uppercase;
    text-decoration: none;

    cursor: pointer;
    transition:
            transform .2s ease,
            background-color .2s ease,
            box-shadow .2s ease,
            opacity .2s ease;
    border: 1px solid rgba(255, 255, 255, .18);
}

.wpcf7-submit {
    cursor: pointer;
    transition:
            transform .2s ease,
            background-color .2s ease,
            box-shadow .2s ease,
            opacity .2s ease;
    border: 1px solid rgba(255, 255, 255, .18);
}

/* tmavý primary button */
.kn-btn--primary, .wpcf7-submit{
    background: var(--main-color);
    color: var(--terciary-color);
    box-shadow: 0 12px 30px rgba(0,0,0,.25);
}

@media (hover:hover){
    .kn-btn--primary:hover, .wpcf7-submit:hover{
        transform: translateY(-2px);
        box-shadow: 0 18px 40px rgba(0,0,0,.35);
        opacity: .95;
        color: var(--terciary-color);
    }
}

/* mobil – širší, pohodlnější */
@media (max-width: 480px){
    .kn-btn{
        width: 100%;
        max-width: 320px;
    }
}

.kn-ba__cta{
    margin-top: clamp(24px, 5vw, 48px);
    display: flex;
    justify-content: center;
}

/* ---------- HERO ---------- */
.kn-hp-hero{
    position:relative;
    background: var(--main-color);
    color: rgba(255,255,255,.92);
    min-height: clamp(100vh, 58vw, 100vh);
    display:flex;
    align-items: stretch;
    overflow:hidden;
}
.kn-hp-hero::before{
    content:"";
    position:absolute; inset:0;
    top: -65px;
    background-image: var(--hero-img);
    background-size: cover;
    background-position: top;
    filter: saturate(95%);
}
.kn-hp-hero::after{
    content:"";
    position:absolute; inset:0;
    background: rgba(0,0,0,0.38);
}
.kn-hp-hero__inner{
    position:relative;
    z-index:1;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: clamp(26px, 5vw, 30px) 16px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap: 16px;
    margin-top: 50px;
}
.kn-hp-hero__content{
    max-width: 620px;
}
.kn-hp-hero__title{
    margin:0 0 10px;
    font-size: clamp(34px, 4.6vw, 64px);
    line-height: .98;
    font-weight: 600;
    text-shadow: 0 12px 40px rgba(0,0,0,.45);
    color: var(--terciary-color);
}
.kn-hp-hero__subtitle{
    margin:0 0 18px;
    font-size: clamp(14px, 1.8vw, 16px);
    opacity: .92;
}
.kn-hp-hero__cta{ margin-top: 8px; }

/* rating pill */
.kn-hp-hero__rating{
    display:flex;
    align-items:center;
    gap:10px;
    text-decoration:none;
    color: rgba(255,255,255,.92);
    align-self:flex-end;

    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.16);
    background: rgba(0,0,0,.22);
    backdrop-filter: blur(6px);
}

.kn-hp-hero__rating:hover {
    color: rgba(255,255,255,.92);
    opacity: .8;
}

.kn-stars{
    font-size: 14px;
    letter-spacing: 2px;
    color: #f5c26b; /* zlatá */
    line-height: 1;
    opacity:.9;
}

.kn-stars--half{
    opacity: .55; /* „půl hvězda“ vizuálně */
}

.kn-hp-hero__google{
    width: 16px;
    height: 16px;
    display: inline-block;
    margin-left: 2px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 533.5 544.3'%3E%3Cpath fill='%234285F4' d='M533.5 278.4c0-17.4-1.6-34.1-4.6-50.3H272v95.2h146.9c-6.4 34.6-25.6 63.9-54.5 83.6v69.4h88c51.5-47.4 81.1-117.4 81.1-197.9z'/%3E%3Cpath fill='%2334A853' d='M272 544.3c73.7 0 135.6-24.4 180.8-66.3l-88-69.4c-24.4 16.4-55.6 26.1-92.8 26.1-71.4 0-131.9-48.2-153.5-112.9H28.9v70.9C73.6 475.3 166.9 544.3 272 544.3z'/%3E%3Cpath fill='%23FBBC05' d='M118.5 321.8c-10.4-30.6-10.4-63.7 0-94.3V156.6H28.9c-37.6 74.7-37.6 163.5 0 238.2l89.6-73z'/%3E%3Cpath fill='%23EA4335' d='M272 107.7c39.9-.6 78.3 14 107.6 40.9l80.2-80.2C415.4 24.1 344.4-1.2 272 0 166.9 0 73.6 69 28.9 156.6l89.6 70.9C140.1 155.9 200.6 107.7 272 107.7z'/%3E%3C/svg%3E");
}

.kn-hp-hero__ratingText{ font-weight:600; opacity:.95; }
.kn-hp-hero__ratingBtn{
    margin-left:6px;
    padding: 8px 10px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(255,255,255,.06);
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
}
@media (max-width: 900px){
    .kn-hp-hero__inner{ align-items: flex-start; flex-direction:column; margin-top: 100px; justify-content: flex-start;}
    .kn-hp-hero__rating{ align-self:flex-start; }
    .kn-hp-hero__content { text-align: left; }
}
@media (max-width: 440px) {
    .kn-hp-hero__ratingBtn {
        display: none;
    }
    .kn-hp-hero__inner {
        justify-content: flex-start;
    }
}

/* ---------- SECTION wrapper (světlé pozadí jako na designu) ---------- */
.kn-hp-section{
    background: #f2efe9;
    padding-top: clamp(40px, 7vw, 90px);
    position: relative;
}
.kn-hp-section__inner{
    max-width: 1200px;
    margin: 0 auto;
}

/* split */
.kn-hp-split{
    display:grid;
    grid-template-columns: 1.05fr 1fr;
    gap: clamp(22px, 4vw, 56px);
    align-items:start;
}
@media (max-width: 920px){
    .kn-hp-split{ grid-template-columns: 1fr; }
}

.kn-hp-split__media{
    display:flex;
    flex-direction:column;
    gap: 12px;
    align-items:flex-start;
    position: relative;
    z-index: 5;
    margin-top: clamp(-180px, -9vw, -250px);
}


@media (max-width: 425px) {
    .kn-hp-split__media {
        margin-top: -400px;
    }
}

.kn-hp-split__galleryLink{
    font-size: 12px;
    letter-spacing: .18em;
    text-transform: uppercase;
    text-decoration: none;
    color: rgba(0,0,0,.70);

}
.kn-hp-split__galleryLink:hover{ opacity: .75; }

.kn-hp-split__text{
    padding-top: 10px;
    color: rgba(0,0,0,.75);
    max-width: 570px;
    margin-top: 50px;
}
.kn-eyebrow{
    font-size: 20px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(0,0,0,.80);
    margin-bottom: 24px;
    font-weight: 700;
    text-align: center;
}
.kn-hp-split__text p{
    margin:0;
    line-height: 2;
    font-size: 17px;
}

/* ---------- BEFORE/AFTER SLIDER ---------- */
.kn-ba-slider{
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1 / 1.25;
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(0,0,0,.06);
    box-shadow: 0 18px 46px rgba(0,0,0,.20);
    border: 2px solid var(--terciary-color);
    min-height: 646px;
}
@media (max-width: 920px){
    .kn-ba-slider{ max-width: 520px; }
    .kn-hp-split__media {align-items: center}
    .kn-hp-split__text {align-items: flex-start; text-align: left; max-width: 100%;}
    .kn-footer-top {
        margin-top: 25px;
    }
}

@media (max-width: 600px){
    .kn-ba-slider{ max-width: 480px; }
}

@media (max-width: 500px){
    .kn-ba-slider{ max-width: 380px; }
}

@media (max-width: 400px){
    .kn-ba-slider{ max-width: 280px; }
}

.kn-ba-slider__img{
    position:absolute; inset:0;
    width:100%; height:100%;
    object-fit: cover;
    object-position: center;
    user-select:none;
    -webkit-user-drag:none;
}
.kn-ba-slider__img--before{
    clip-path: inset(0 50% 0 0); /* start 50% */
}

.kn-ba-slider__line{
    position:absolute; top:0; bottom:0;
    left: 50%;
    width: 2px;
    background: rgba(255,255,255,.85);
    transform: translateX(-1px);
}

.kn-ba-slider__handle{
    position:absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 36px; height: 36px;
    border-radius: 999px;
    border: 2px solid rgba(255,255,255,.92);
    background: rgba(0,0,0,.18);
    cursor: ew-resize;
    box-shadow: 0 10px 26px rgba(0,0,0,.30);
}

.kn-ba-slider__handle:hover {
    background: rgba(0,0,0,.18);
    border-color: var(--main-color);
    opacity: .7;
}

.kn-ba-slider__handle::before,
.kn-ba-slider__handle::after{
    content:"";
    position:absolute; top:50%;
    width: 10px; height: 10px;
    border-top: 2px solid rgba(255,255,255,.95);
    border-right: 2px solid rgba(255,255,255,.95);
    transform: translateY(-50%) rotate(225deg);
    opacity:.95;
}
.kn-ba-slider__handle::before{ left: 8px; }
.kn-ba-slider__handle::after{
    right: 8px;
    transform: translateY(-50%) rotate(50deg);
}

/* ---------- ABOUT ---------- */
.kn-hp-about{
    background:#f2efe9;
    padding: clamp(24px, 5vw, 70px) 16px;
}
.kn-hp-about__inner{ max-width: 1200px; margin:0 auto; }
.kn-hp-about__grid{
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(22px, 4vw, 56px);
    align-items:center;
}

.kn-hp-about__title{
    margin:0 0 24px;
    text-align:center;
    font-size: 20px;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-weight: 700;
    color: rgba(0,0,0,.78);
}

.kn-hp-about__text {
    margin:0;
    line-height: 2;
    color: rgba(0,0,0,.72);
    font-size: 17px;
    max-width: 520px;
}

.kn-hp-about__text p{
    margin:0;
    line-height: 2;
    color: rgba(0,0,0,.72);
    font-size: 17px;
    max-width: 520px;
    margin-bottom: 15px;
}
.kn-hp-about__photo{
    min-height: 140px;
    border-radius: 18px;
    border: 2px solid rgba(255,255,255,.65);
    background: rgba(255,255,255,.35);
    box-shadow: 0 18px 46px rgba(0,0,0,.12);
}
.kn-hp-about__photo img{
    width:100%;height:100%;object-fit:cover;border-radius:16px;display:block;
}

@media (max-width: 920px){
    .kn-hp-about__grid{ grid-template-columns: 1fr; }
    .kn-hp-about__text { max-width: 100%; text-align: left}
    .kn-hp-about__text p { max-width: 100%; }
    .kn-hp-about {
       padding: 0;
       padding-top: 20px;
    }
    .kn-hp-about__photo {
        margin-bottom: 40px;
    }
}

/* ---------- MODAL WRAP ---------- */
.kn-modal{
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
}

.kn-modal.is-open{
    display: block;
}

.kn-modal__backdrop{
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(2px);
}

/* ---------- PANEL ---------- */
.kn-modal__panel{
    position: absolute;
    inset: 0;
    margin: auto;

    width: min(92vw, 720px);
    max-height: 88vh;
    overflow: auto;

    background: #f2efe9;
    border-radius: 18px;
    box-shadow: 0 20px 70px rgba(0,0,0,0.45);
    border: 1px solid rgba(0,0,0,0.08);

    padding: 22px 18px;
}

.kn-modal__close{
    position: sticky;
    top: 0;
    left: 100%;
    margin-left: auto;

    width: 30px;
    height: 30px;
    z-index: 99;
    background: var(--main-color);
    cursor: pointer;
    padding: 5px;
}

.kn-modal__title{
    margin: 0 0 18px;
    text-align: center;

    font-size: clamp(18px, 3vw, 28px);
    font-weight: 700;
    margin-bottom: 22px;
    letter-spacing: .16em;
    text-transform: uppercase;

    color: rgba(0,0,0,.78);
}

.kn-modal__description {
    margin-bottom: 1.5rem;
    color: #666;
    font-size: 0.95rem;
    text-align: center;
}

.kn-modal__title::after{
    content:"";
    display:block;
    width:48px;
    height:1px;
    background: rgba(0,0,0,.18);
    margin: 14px auto 0;
}

/* ---------- CF7 basic polishing (volitelné) ---------- */
.kn-modal .wpcf7 form{
    margin: 0;
}

.kn-modal .wpcf7 input[type="text"],
.kn-modal .wpcf7 input[type="email"],
.kn-modal .wpcf7 input[type="tel"],
.kn-modal .wpcf7 textarea{
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.12);
    padding: 12px 12px;
}

/* mobil */
@media (max-width: 480px){
    .kn-modal__panel{
        width: 92vw;
        padding: 18px 14px;
    }
}

.kn-ba__header{
    max-width: 820px;
    margin: 0 auto 32px;
    text-align: center;
}

.kn-ba__title{
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    line-height: 1.2;
    margin: 0 0 12px;
}

.kn-ba__description{
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* menší mezera na mobilu */
@media (max-width: 600px){
    .kn-ba__header{
        margin-bottom: 20px;
    }
}

/* DETAIL PŘÍSPĚVKU: schovej textové uzly "Napsal" a " / " tím, že vynuluješ font */
body.single-post .entry-meta{
    font-size: 0 !important;
    line-height: 0 !important;
}

/* Datum nech viditelné (vrátíme font jen pro posted-on) */
body.single-post .entry-meta .posted-on,
body.single-post .entry-meta .posted-on *{
    font-size: 13px !important;   /* když chceš jiné, změň */
    line-height: 1.45 !important;
}

body.single-post .entry-meta .posted-by{
    display: none!important;
}

.ast-separate-container .ast-article-single:not(.ast-related-post) {
    background-color: #f4f1ea!important;
}