/*
Theme Name: Bydlenka
Author: Jakub + ChatGPT
Description: Minimal tip cards, 2-column grid, pattern S/T/F; kategorie pod názvem; náhled bez pozadí a bez fixní výšky; konfigurovatelné linky s mezerou; excerpt + badge „Doporučujeme“ ve výpisu.
Version: 1.1.6
Text Domain: bydlenka
*/

/* ===============================
   INTER (lokální webfont)
   =============================== */
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter/inter-100.woff2") format("woff2");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter/inter-100italic.woff2") format("woff2");
  font-weight: 100;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter/inter-200.woff2") format("woff2");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter/inter-200italic.woff2") format("woff2");
  font-weight: 200;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter/inter-300.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter/inter-300italic.woff2") format("woff2");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter/inter-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter/inter-500italic.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter/inter-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter/inter-600italic.woff2") format("woff2");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter/inter-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter/inter-700italic.woff2") format("woff2");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter/inter-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter/inter-800italic.woff2") format("woff2");
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter/inter-900.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter/inter-900italic.woff2") format("woff2");
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter/inter-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter/inter-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* ===============================
   PLAYFAIR DISPLAY (lokální webfont)
   =============================== */
@font-face {
  font-family: "Playfair Display";
  src: url("assets/fonts/playfair-display/PlayfairDisplay-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("assets/fonts/playfair-display/PlayfairDisplay-Italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("assets/fonts/playfair-display/PlayfairDisplay-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("assets/fonts/playfair-display/PlayfairDisplay-BoldItalic.woff2") format("woff2");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Playfair Display";
  src: url("assets/fonts/playfair-display/PlayfairDisplay-Black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("assets/fonts/playfair-display/PlayfairDisplay-BlackItalic.woff2") format("woff2");
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

.mainHeadline {
  text-align: center;
  font-size: clamp(1.375rem, 0.5417rem + 3.7037vw, 3.925rem);
  font-weight: 700;
  padding: 90px 0 0 0;
  margin: 0 0 5px 0;
  line-height: 120%;
  letter-spacing: -0.7px;
  cursor: default;
}

@media (width < 700px) {
  .mainHeadline {
    padding: 0px 0 0 0;
  }
}

.subHeadline {
  text-align: center;
  font-size: clamp(1.175rem, 0.5417rem + 3.7037vw, 1.725rem);
  font-weight: 200;
  padding: 0;
  margin: 0;
  cursor: default;
}


@media (width < 767px) {
  .subHeadline {
    text-align: left;
    padding-left: 16px;
  }
  
  .mainHeadline {
    font-size: clamp(2.575rem, 0.5417rem + 3.7037vw, 3.425rem);
    text-align: left;
    line-height: 105%;
    padding-left: 16px;
  }
}

:root {
  --container: 1200px;
  --gap: 56px;
  --radius: 16px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", Arial, sans-serif;
  color: #111;
  line-height: 1.6;
  background: #fff;
}

a { text-decoration: none; color: inherit; }

img { max-width: 100%; display: block; height: auto; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0; /* odstraněn padding, aby karty byly zarovnané s gridem */
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
}

.site-title { font-weight: 700; letter-spacing: .4px; }

.nav { display: flex; gap: 20px; flex-wrap: wrap; }

/* GRID wrapper */
.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
  /* grid-auto-flow: dense;  ← SMAZAT/zakomentovat */
  grid-auto-flow: row;        /* zachová pořadí DOMu */
  position: relative;
  z-index: 2;
}

@media (max-width: 767px) {
  .grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  :root { --gap: 40px; }
}

/* === KARTY === */
.card {
  position: relative;
  z-index: 1;
  display: block;
  background: #fff;
  border: 0;
  border-radius: 0;
  padding: 40px 48px;
  transition: transform 0.2s ease;
}

/* Náhled bez pozadí, přirozený poměr */
.card__thumb {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: transparent;
}

.card__thumb img {
  width: 100%;
  height: auto;
  margin: 20px;
  object-fit: contain;
}

/* Obsah karty */
.card__body { padding-top: 20px; }

.card__title{
  font-size: 28px;           /* dříve 20px na kartě; detail může být větší */
  line-height: 1.25;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.card__catwrap--under { margin-bottom: 6px; }

.card__cat {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .5px;
  opacity: .55;
  transition: opacity .2s;
}
.card__cat:hover { opacity: 1; }

.card__excerpt {
  opacity: .85;
  margin: 12px 0 16px;
  line-height: 1.5;
  font-size: 15px;
}

.card.card--design .hide-mobile-excerpt {
  display: none !important;
}

/* Badge „Doporučujeme“ pod excerptem (loop) */
.card__badge-under {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .4px;
  color: #111;
  background: #f4f4f4;
  border-radius: 999px;
  padding: 4px 10px;
  margin: 6px 0 10px;
  border: 1px solid #eee;
}

/* Affiliate CTA */
.card__cta {
  display: inline-block;
  margin-top: 0px;
  font-weight: 600;
  border-bottom: 1px solid currentColor;
  transition: opacity .2s;
}
.card__cta:hover { opacity: .7; }

/* === PATTERN – obraz/text === */
.card--top { display: flex; flex-direction: column; }

.card--left,
.card--right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.card--left .card__thumb { order: 1; }
.card--right .card__thumb { order: 2; display: flex; }

.card--bottom { display: flex; flex-direction: column; }
.card--bottom .card__body { order: 1; }
.card--bottom .card__thumb { order: 2; margin-top: 12px; }

.card--full .card__thumb {}
.card--inset .card__thumb {
  max-width: 50%;
  margin-inline: auto;
}

@media (width < 700px) {
  .card--full .card__thumb {}
  .card--inset .card__thumb {
    max-width: 100%;
    margin-inline: auto;
  }
}

/* === PROSTOROVÉ TYPY === */
.card.is-small { grid-column: span 1; grid-row: span 1; }
.card.is-tall  { grid-column: span 1; grid-row: span 2; }
.card.is-full  { grid-column: 1 / -1; grid-row: span 1; }

/* === PIN (umístění do sloupce) – definuj dřív než velikosti === */
.card.pin-left  { grid-column: 1; }
.card.pin-right { grid-column: 2; }

.card.is-full.pin-left,
.card.is-full.pin-right {
  grid-column: 1 / -1;
}



/* === LINIE (ACF volby) === */
.border-top::before,
.border-right::before,
.border-bottom::before,
.border-left::before {
  content: "";
  position: absolute;
  background: #d9d9d9;
  z-index: 2;
  pointer-events: none;
}

/* teď přesně mezi kartami podle gapu */
.border-top::before {
  top: calc(var(--gap) / -2);
  left: 32px; right: 32px;
  height: 1px;
}
.border-bottom::before {
  bottom: calc(var(--gap) / -2);
  left: 32px; right: 32px;
  height: 1px;
}
.border-left::before {
  left: calc(var(--gap) / -2);
  top: 32px; bottom: 32px;
  width: 1px;
}
.border-right::before {
  right: calc(var(--gap) / -2);
  top: 32px; bottom: 32px;
  width: 1px;
}

/* === LOAD MORE === */
.loadmore-wrap {
  display: flex;
  justify-content: center;
  margin: 32px 0 64px;
}
.loadmore {
  padding: 12px 20px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  border: 1px solid #111;
}
.loadmore[disabled] {
  opacity: .6;
  cursor: not-allowed;
}

/* === SINGLE === */
.single{
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 24px;
}

.single-thumb { margin: 32px 0; }
.single-thumb img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.single-excerpt{
  font-size: 20px;           /* +2px */
  line-height: 1.65;
  margin: 14px 0 28px;
  opacity: .95;
}

.single-content{
  margin-top: 28px;
  font-size: 18.5px;         /* lehce větší než 18px */
  line-height: 1.8;
  color: #222;
}
.single-content p{ margin: 0 0 22px; }

.single-content p a{
  position: relative;
  color: #BF9C4A;
  text-decoration: none;
  transition: color 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.single-content p a::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 1px;
  background-color: #BF9C4A;

  transform: scaleX(1);
  transform-origin: left center;
}

/* hover = smyčka */
.single-content p a:hover::after{
  animation: underline-loop 1.6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.single-content p a:hover{
  color: #a8883f;
}

/* ===== ANIMACE ===== */
@keyframes underline-loop{
  /* linka je vidět */
  0%{
    transform-origin: right center;
    transform: scaleX(1);
  }

  /* odjede doprava */
  25%{
    transform-origin: right center;
    transform: scaleX(0);
  }

  /* pauza – nic */
  45%{
    transform-origin: left center;
    transform: scaleX(0);
  }

  /* přijede zleva */
  65%{
    transform-origin: left center;
    transform: scaleX(1);
  }

  /* klid – drží se */
  100%{
    transform-origin: left center;
    transform: scaleX(1);
  }
}

.single-content h2{
  font-size: 26px;
  line-height: 1.35;
  margin: 34px 0 14px;
}
.single-content h2 strong{
  font-weight: 700 !important
}
.single-content h3{
  font-size: 20px;
  line-height: 1.4;
  margin: 28px 0 12px;
}

.single-cat {
  margin: 8px 0 24px;
}
.single-cat a {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: .55;
  transition: opacity .2s;
}
.single-cat a:hover { opacity: 1; }

.post-tags {
  margin-top: 48px;
  padding-top: 50px;
  border-top: 1px solid #eee;
}
.post-tags h3 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: 3px;
  opacity: .6;
}
.post-tags ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.post-tags li a {
  font-size: 14px;
  color: #111;
  opacity: .75;
  transition: opacity .2s;
}
.post-tags li a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* Dynamická svislá čára MEZI sloupci
   - použij, když má karta třídu .want-vdiv (z ACF „vlevo/vpravo“)
   - stranu určí JS dle .is-col-1 / .is-col-2 */
.card.want-vdiv {
  position: relative;
}
.home .card.want-vdiv.is-col-1::after,       /* levý sloupec → čára vpravo */
.home .card.want-vdiv.is-col-2::before {     /* pravý sloupec → čára vlevo */
  content: "";
  position: absolute;
  top: 32px;
  bottom: 32px;
  width: 1px;
  background: #d9d9d9;
  pointer-events: none;
  z-index: 2;
}


/* posuny, aby byla přesně UPROSTŘED mezer (gap/2) */
.card.want-vdiv.is-col-1::after { right: calc(var(--gap) / -2); }
.card.want-vdiv.is-col-2::before { left:  calc(var(--gap) / -2); }

/* Horní / spodní čáry (zůstávají dle ACF: border-top / border-bottom) */
.border-top::before,
.border-bottom::before {
  content: "";
  position: absolute;
  left: 32px;
  right: 32px;
  height: 1px;
  background: #d9d9d9;
  pointer-events: none;
  z-index: 2;
}
.border-top::before    { top:    calc(var(--gap) / -2); }
.border-bottom::before { bottom: calc(var(--gap) / -2); }

/* Hero fotka – cca 80 % šířky okna, max 1920 px */
.single-hero {
  margin: 48px 0 36px;
  width: 80vw;                  /* 80 % šířky okna */
  max-width: 1920px;            /* nikdy širší než 1920 px */
  margin-left: 50%;             /* vycentrování */
  transform: translateX(-50%);  /* ...protože left 50% */
}

.single-hero img {
  display: block;
  width: 100%;
  height: auto;                 /* zachová přirozený poměr */
  border-radius: 0;
}

/* Na mobilech plná šířka (kvůli úzkému oknu) */
@media (max-width: 767px) {
  .single-hero {
    width: 100%;
    max-width: none;
    margin: 32px 0 24px;
    transform: none;
    margin-left: 0;
  }
}

/* === FOOTER === */
.footer {
  position: relative;
  text-align: center;
  z-index: 0;
  color: #666;
  font-size: 14px;
  padding: calc(80px * var(--scale)) calc(24px * var(--scale)); 
}

.mPage .footer {
  position: relative;
  z-index: 0;
  /* padding: 48px 0; */
  color: #666;
  font-size: 14px;
  /* padding: calc(80px * var(--scale)) calc(24px * var(--scale));  */
  padding: 0px calc(24px * var(--scale));
}

/* === Reveal (fade-in + posun) – výraznější ===
.grid .card.is-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
  transition-delay: calc(var(--stagger, 0) * 70ms);
  will-change: opacity, transform;
} 

.grid .card.is-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
} 

/* Respektuj preferenci omezeného pohybu
@media (prefers-reduced-motion: reduce) {
  .grid .card.is-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
*/
/* === Fade-in (bez blikání) === */
body:not(.page-ready) .grid .card {
  opacity: 0;
  transform: translateY(20px);
}

body.page-ready .grid .card:nth-child(1) { transition-delay: .05s; }
body.page-ready .grid .card:nth-child(2) { transition-delay: .10s; }
body.page-ready .grid .card:nth-child(3) { transition-delay: .15s; }
body.page-ready .grid .card:nth-child(4) { transition-delay: .20s; }
body.page-ready .grid .card:nth-child(5) { transition-delay: .25s; }
body.page-ready .grid .card:nth-child(6) { transition-delay: .30s; }
body.page-ready .grid .card:nth-child(7) { transition-delay: .35s; }
body.page-ready .grid .card:nth-child(8) { transition-delay: .40s; }
body.page-ready .grid .card:nth-child(9) { transition-delay: .45s; }

/* === HEADER === */
.site-header {
  position: relative;
  z-index: 1000;
  background: #fff;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: calc(var(--container) * var(--scale));
  margin: 0px auto 0 auto;
  width: 100%;
  padding-top: 23px;
  padding-bottom: 23px;
  padding-left: calc(var(--gap) / 2);
  padding-right: calc(var(--gap) / 2);
}

.header-logo img {
  height: 28px;
  width: auto;
  display: block;
}

/* Dělící čára – o 5px vyšší než logo */
.header-divider {
  width: 2px;
  height: calc(42px + 10px);
  background: rgba(255, 255, 255, .15);
}

/* Hamburger */
.menu-toggle {
  border: 0;
  background: none;
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 6px;
}

.menu-line {
  width: 26px;
  height: 2px;
  background: #111;
  transition: transform .25s ease, opacity .2s ease;
}

/* volitelné: animace hamburger → křížek, pokud už používáš .menu-open na <body> */
body.menu-open .menu-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .menu-line:nth-child(2) { opacity: 0; }
body.menu-open .menu-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 767px){
  .header-inner { padding: 10px 16px; }
  .header-logo img { height: 30px; }
}

/* === OVERLAY MENU === */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.8); /* 80% neprůhlednosti */
  backdrop-filter: blur(8px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s ease, visibility .4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column; /* zarovnáme vertikálně */
}

body.menu-open .menu-overlay {
  opacity: 1;
  visibility: visible;
}

/* Křížek nahoře uprostřed */
.menu-close {
  position: absolute;
  top: 48px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 48px;
  font-weight: 300;
  border: none;
  background: none;
  cursor: pointer;
  color: #000;
  line-height: 1;
  transition: opacity .2s;
  display: none;
}
.menu-close:hover { opacity: .6; }

/* Obsah menu – vše na střed */
.menu-content {
  text-align: center;
  max-width: 600px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

@media (max-width: 767px) {
  /* obsah overlay menu nechť se může roztáhnout přes celý viewport */
  .menu-content {
    align-items: center;
    max-width: 600px;      /* klidně změň na, např., 640px */
    width: 100%;
    padding: 0 16px;       /* standardní vnitřní okraje */
    margin: 0 auto;
  }
  /* řádek kategorií */
  .menu-cats {
  /* full-bleed trik: 100vw + záporné okraje, aby to sahalo od kraje do kraje */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  
  padding: 6px 16px;
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  touch-action: pan-x;
 /* jemný fade na okrajích */
      mask-image: linear-gradient(to right,
                    transparent 0, #000 16px,
                    #000 calc(100% - 16px), transparent 100%);
    }
    .menu-cats::-webkit-scrollbar { display: none; }
    .menu-cats a { flex: 0 0 auto; white-space: nowrap; scroll-snap-align: start; }
  
    /* odkazy pod tím – zpět doprostřed a na „container“ šířku */
    .menu-links {
      width: 100%;
      max-width: 600px;      /* stejné jako .menu-content */
      padding: 8px 0;
      margin: 12px auto 0;
    }
    .menu-links ul { text-align: center; }
}

/* Vyhledávání */
.searchform input {
  width: 100%;
  max-width: 360px;
  padding: 10px 16px;
  font-size: 16px;
  border: 1px solid #ddd;
  border-radius: 999px;
  outline: none;
}

/* Kategorie */
.menu-cats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
  margin-bottom: 24px;
}

/* Základní vzhled položek */
.menu-cats a {
  display: inline-block;
  background: #111;
  color: #fff;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 15px;
  white-space: nowrap;         /* klíčové pro horizontální scroll na mobilu */
  transition: opacity .2s;
  transition:
  background-color 0.45s cubic-bezier(0.4, 0, 0.2, 1),
  color 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.menu-cats a:hover { opacity: .85; background-color: #BF9C4A;}

@media (min-width: 768px) {
  .menu-cats {
    display: flex;
    flex-direction: row;     /* pod sebe */
    align-items: center;        /* střed */
    justify-content: center;
    gap: 12px;
    max-width: 420px;
    width: 100%;
    margin: 8px auto 24px auto; /* hezké vycentrování */
  }
}

/* MOBIL (<768px): horizontální SWIPE řádek */
@media (max-width: 767px) {
  .menu-cats {
    width: 100%;
    display: flex;
    flex-wrap: nowrap;               /* jeden řádek */
    gap: 10px;
    overflow-x: auto;                /* swipe/scroll */
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;   /* zarovnávání položek */
    padding: 6px 16px;               /* prostor u okrajů */
    margin: 4px 0 20px 0;
    scrollbar-width: none;           /* Firefox: schovat scroll bar */
    position: relative;
    justify-content: flex-start;
    /* jemný fade na okrajích – maska */
    mask-image: linear-gradient(to right, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%);
  }
  .menu-cats::-webkit-scrollbar { display: none; } /* WebKit: schovat scroll bar */

  .menu-cats a {
    scroll-snap-align: start;        /* „přicvaknutí“ na začátek */
    flex: 0 0 auto;                  /* položky neširoké přes celý řádek */
  }
}

.menu-cats.hp {
  padding-bottom: 60px;
}

@media (width < 700px) {
  .menu-cats.hp {
    padding-bottom: 20px;
  }
}

/* Odkazy (Kontakt, Spolupráce) – bez první čáry, vzdušnější */
.menu-links {
  width: 100%;
  max-width: 320px;
  margin-top: 16px;
}

.menu-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-links li {
  border-top: 1px solid #e5e5e5;
}

.menu-links li:first-child {
  border-top: none;       /* první položka bez čáry nahoře */
}

.menu-links li:last-child {
  border-bottom: none;    /* pro jistotu, kdyby WP přidalo další wrapper */
}

.menu-links a {
  display: block;
  padding: 14px 0;
  color: #111;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.3px;
  transition: color .2s ease, opacity .2s ease;
  text-decoration: none;
}

.menu-links a:hover {
  color: #000;
  opacity: .7;
}

/* === FULL (2x1) — respektuj ACF layout a zarovnej text na střed === */
.card.is-full {
  display: flex;
  flex-wrap: nowrap;      /* držet vedle sebe */
  align-items: center;    /* VERTIKÁLNÍ STŘED pro text i obrázek */
  gap: 48px;
}

@media (max-width: 767px) {
  .site-header {
    padding: 8px 0 !important; /* méně svislého prostoru */
  }

  .header-inner {
    margin: 0 auto;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .header-logo img {
    height: 32px !important; /* menší logo */
  }

  .menu-toggle {
    padding: 4px;
    gap: 4px;
  }

  .menu-line {
    width: 20px;
    height: 2px;
  }
}

/* ACF: obrázek vlevo/vpravo podle rozvržení */
.card.is-full.card--left  { flex-direction: row; }         /* thumb vlevo (DOM pořadí) */
.card.is-full.card--right { flex-direction: row-reverse; } /* thumb vpravo */

/* u left/right neresetuj order z předchozích pravidel (aby se to nepletlo s bottom) */
.card.is-full.card--left  .card__thumb,
.card.is-full.card--left  .card__body,
.card.is-full.card--right .card__thumb,
.card.is-full.card--right .card__body {
  order: 0; /* nech default pořadí a spolehni se na flex-direction */
}

/* Poměr šířek (větší obraz) */
.card.is-full .card__thumb { flex: 1 1 58%; min-width: 0; }
.card.is-full .card__body  { flex: 1 1 42%; min-width: 0; }

/* Top/Bottom layout u full — zůstává nad/pod, jen vystředíme */
.card.is-full.card--top,
.card.is-full.card--bottom {
  flex-direction: column;
  align-items: center;  /* střed horizontálně */
  gap: 32px;
}

/* Mobil: přirozeně pod sebe */
@media (max-width: 767px) {
  .card.is-full {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }
}

/* === Jemné zmenšení obrázku u full-width karet === */
.card.is-full .card__thumb img {
  width: 70%;             /* původně 100 % */
  margin: 0 auto;         /* zarovnání doprostřed v rámci bloku */
  display: block;
}

/* === Jemné zmenšení obrázku u full-width karet === */
.card.is-tall .card__thumb img {
  width: 75%;             /* původně 100 % */
  margin: 30px auto 0 auto;         /* zarovnání doprostřed v rámci bloku */
  display: block;
}

/* === Force linky u full width karet (zajištění po JS fixu) === */
.card.is-full.force-top::before {
  content: "";
  position: absolute;
  left: 32px; right: 32px;
  height: 1px;
  top: calc(var(--gap) / -2);
  background: #d9d9d9;
  z-index: 2;
}
.card.is-full.force-bottom::after {
  content: "";
  position: absolute;
  left: 32px; right: 32px;
  height: 1px;
  bottom: calc(var(--gap) / -2);
  background: #d9d9d9;
  z-index: 2;
}

/* === MOBILE FIX: full-width karta = obrázek nahoře, text pod ním === */
@media (max-width: 767px) {
  /* zruš flex/grid chování u .is-full */
  .card.is-full,
  .card.is-full.card--left,
  .card.is-full.card--right,
  .card.is-full.card--top,
  .card.is-full.card--bottom {
    display: block !important;
  }

  /* obrázek první, na plnou šířku */
  .card.is-full .card__thumb {
    order: initial !important;
    width: 100% !important;
    margin: 0 0 20px 0 !important;
  }
  .card.is-full .card__thumb img {
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;  /* přebije případné desktop zmenšení (90%) */
  }

  /* text pod obrázkem */
  .card.is-full .card__body {
    order: initial !important;
    padding: 0 !important;
  }
  
  .card--left,
  .card--right {
    display: block;            /* místo 2 sloupců */
  }
  
  /* Right layout: text nejdřív, obrázek pod něj */
  .card--right .card__body { order: 1; }
  .card--right .card__thumb { order: 2; margin-top: 12px; }
  
  /* Left layout: necháme obrázek nahoře, text pod ním (přirozené čtení) */
  .card--left .card__thumb { order: 1; }
  .card--left .card__body  { order: 2; margin-top: 12px; }
}

/* === Mobile layout fix – systémová verze, bez overflow hidden === */
@media (max-width: 767px) {
  :root {
    --gap: 24px; /* menší mezera, vejde se do viewportu */
  }

  .container {
    padding: 16px !important;
    max-width: 100%;
  }

  .grid {
    gap: var(--gap);
    grid-template-columns: 1fr;
  }

  .card {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* linky zarovnáme k paddingu kontejneru */
  .border-top::before,
  .border-bottom::before,
  .border-left::before,
  .border-right::before,
  .card.is-full.force-top::before,
  .card.is-full.force-bottom::after {
    left: 16px !important;
    right: 16px !important;
  }

  /* full-width – obrázek nahoře */
  .card.is-full,
  .card.is-full.card--left,
  .card.is-full.card--right {
    display: block !important;
  }

  .card.is-full .card__thumb {
    width: 100% !important;
    margin: 0 0 20px 0 !important;
  }

  .card.is-full .card__thumb img {
    width: 100% !important;
    height: auto !important;
  }

  .card.is-full .card__body {
    padding: 0 !important;
  }

  /* decentní oddělovací čára mezi příspěvky */
  .grid .card {
    position: relative;
  }
  .grid .card:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: calc(var(--gap) / -2);
    height: 1px;
    background: #d9d9d9;
  }
  
  /* vloží čáru před každou kartou, která má před sebou jinou kartu */
  .grid .card + .card::before {
    content: "";
    position: absolute;
    left: 16px;               /* zarovnané k mobilnímu paddingu containeru */
    right: 16px;
    top: calc(var(--gap) / -2);
    height: 1px;
    background: #d9d9d9;
    z-index: 2;
  }
  
  .card__thumb {
    display: flex;
    justify-content: center; /* centrování obrázku */
    align-items: center;
  }
  
  .card__thumb img {
    width: 100% !important;   /* vždy přes celou šířku */
    height: auto !important;
    margin: 0 auto !important;
    object-fit: contain !important;
  }
}

/* =========================================
   LARGE SCREENS / 4K SCALE-UP
   – bez změny layoutu, jen větší „plátno“ a typografie
   – 1600px: +20 %, 1920px+: +40 %, 2560px+: +55 %
   ========================================= */

/* Helper: aby šlo vše škálovat přes proměnné */
:root {
  --scale: 1;                 /* default */
}
.container { max-width: calc(var(--container) * var(--scale)); }
.grid { gap: calc(var(--gap) * var(--scale)); }
.card { padding: calc(40px * var(--scale)) calc(48px * var(--scale)); }
.header { padding: calc(24px * var(--scale)) 0; }

@media (max-width: 767px) {
  .card {
    padding: calc(24px * var(--scale)) calc(20px * var(--scale));
  }
}

/* Typografie škálujeme jemně (ne 1:1, ať to nepůsobí křiklavě) */
.card__title     { font-size: calc(20px * (0.9 + 0.25 * var(--scale))); }
.card__excerpt   { font-size: calc(15px * (0.9 + 0.25 * var(--scale))); }
.card__badge-under { font-size: calc(13px * (0.9 + 0.25 * var(--scale))); }
.card__cat       { font-size: calc(13px * (0.9 + 0.25 * var(--scale))); }

.single { max-width: calc(760px * var(--scale)); padding: calc(30px * var(--scale)) calc(24px * var(--scale));  }
@media (max-width: 767px) {
  .single {
    width: 92%;
    max-width: none;
    margin: 0 auto;
    padding: 50px 0 60px 0; /* můžeš klidně snížit i padding, ať to dýchá */
  }
}
.card__title.single-title,
.single .card__title {
  font-size: 48px;
  line-height: 110%;
  margin: 0 0 34px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal !important;         /* <— tohle je klíčové */
  hyphens: auto;
  text-transform: none;        /* volitelné – pokud nechceš uppercase */
}
@media (width < 768px) {
  .card__title.single-title,
  .single .card__title {
    margin: 0 0 24px;
    font-size: 38px;
  }
}
.single-excerpt { font-size: calc(20px * (0.9 + 0.25 * var(--scale))); }
.single-content { font-size: calc(18.5px * (0.9 + 0.25 * var(--scale))); }

@media (max-width: 767px) {
  .single-content {
    font-size: 18px;    
    line-height: 1.6;    
  }

  .single-excerpt {
    font-size: 22px;     
    line-height: 1.5;
  }
}

/* Overlay menu prvky */
.searchform input { padding: calc(10px * var(--scale)) calc(16px * var(--scale)); font-size: calc(16px * (0.9 + 0.25 * var(--scale))); }
.menu-cats a     { padding: calc(6px * var(--scale)) calc(16px * var(--scale)); font-size: calc(15px * (0.9 + 0.25 * var(--scale))); }
.menu-links { max-width: calc(320px * var(--scale)); }
.menu-links a { font-size: calc(15px * (0.9 + 0.25 * var(--scale))); padding: calc(14px * var(--scale)) 0; }

/* Hero obrázek v single (80% viewportu, max 1920) necháme – zvětší se přirozeně s viewportem */

/* Breakpointy škálování */
@media (min-width: 1600px) {
  :root { --scale: 1.2; }   /* ~+20 % */
}
@media (min-width: 1920px) {
  :root { --scale: 1.4; }   /* ~+40 % – tvoje přání pro FHD+ a 4K */
}
@media (min-width: 2560px) {
  :root { --scale: 1.55; }  /* jemné přidání pro 2.5K/4K širší plochy */
}

/* Opatrnosti pro mobily/tablety – žádná změna */
@media (max-width: 1023px) {
  :root { --scale: 1; }
}

/* Tall karta: text nahoře, obrázek vertikálně na střed v rámci celé výšky karty */
.card.is-tall {
  display: flex;
  flex-direction: column;
}

.card.is-tall .card__body {
  flex: 0 0 auto;            /* text držet nahoře */
}

.card.is-tall .card__thumb {
  flex: 0 0 auto;
  margin-top: auto;          /* ↓ tohle kartu krásně vystředí */
  margin-bottom: auto;       /* (Safari friendly – nepoužíváme jen margin-block) */
}

/* Na mobilech necháme přirozené skládání pod sebe */
@media (max-width: 767px) {
  .card.is-tall {
    display: block;
  }
  .card.is-tall .card__thumb {
    margin: 0 0 20px 0;
  }
}

/* ======== DESIGN CARD (více prostoru nahoře i dole) ======== */
.card.card--design {
  position: relative;
  overflow: hidden;
  padding: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 600px;
  border-radius: var(--radius);
  margin: var(--gap) auto;
  width: calc(100% - var(--gap)); /* zarovnání s mezerou gridu */
}

.card.card--design.is-full {
  min-height: 780px;
  width: calc(100% - var(--gap));
}

/* klikací vrstva */
.card.card--design .card__link {
  position: absolute;
  inset: 0;
  z-index: 3;
}

/* textový blok dole – větší vnitřní odsazení */
.card.card--design .card__body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 4;
  padding: 60px 64px;  /* dříve 42px 48px */
  max-width: 80%;
}

/* === Překryvné gradienty (zůstává silnější verze) === */
.card.card--design.text-light::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 65%;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.80) 0%,
    rgba(0,0,0,0.55) 40%,
    rgba(0,0,0,0.20) 75%,
    rgba(0,0,0,0) 100%
  );
  z-index: 2;
}

.card.card--design.text-dark::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 65%;
  background: linear-gradient(
    to top,
    rgba(255,255,255,0.85) 0%,
    rgba(255,255,255,0.65) 50%,
    rgba(255,255,255,0.25) 85%,
    rgba(255,255,255,0) 100%
  );
  z-index: 2;
}

/* typografie */
.card.card--design .card__title {
  margin: 0 0 12px;
  font-size: 26px;
  line-height: 1.25;
}
.card.card--design .card__catwrap--under { margin-bottom: 10px; }
.card.card--design .card__excerpt {
  margin: 12px 0 18px;
  font-size: 18px;
  line-height: 1.55;
}

/* vypneme standardní thumb */
.card.card--design .card__thumb { display: none; }

/* textové varianty */
.card.card--design.text-dark  { color: #111; }
.card.card--design.text-light { color: #fff; }
.card.card--design.text-light .card__cat,
.card.card--design.text-light .card__excerpt { opacity: .95; }
.card.card--design.text-light .card__cta {
  border-bottom-color: rgba(255,255,255,.9);
}

/* FULL varianty */
.card.card--design.is-full {
  display: flex;
  flex-direction: column;
}

/* Mobil */
@media (max-width: 767px) {
  .card.card--design {
    min-height: 440px;
    margin-top: 12px;
    margin-bottom: 12px;
  }
  .card.card--design.is-full {
    min-height: 560px;
    margin-top: 15px;
    margin-bottom: 15px;
  }
  .card.card--design .card__body {
    padding: 36px 28px;
    max-width: 100%;
  }
  .card.card--design::before {
    height: 75%;
  }
}

/* Moderní hover – rychlejší a plynulý */
.card {
  --card-ty: 0px;
  --card-scale: 1;
  transform: translateY(var(--card-ty)) scale(var(--card-scale));
  transition: transform 0.25s cubic-bezier(.4,0,.2,1); /* rychlejší */
  will-change: transform;
}

.card:hover {
  --card-scale: 1.03; /* o chloupek víc, ať efekt vynikne */
}

.card.is-full:hover,
.card.card--design:hover {
  --card-scale: 1.015;
}

/* Reveal animace – beze změny */
.card.is-reveal {
  opacity: 0;
  --card-ty: 16px;
}
.card.is-reveal.is-visible {
  opacity: 1;
  --card-ty: 0px;
  transition: opacity .35s ease, transform .35s ease;
}

.card__catwrap--under {
  margin-bottom: 6px;
  font-size: 13px;
  line-height: 1.4;
}

.card__cat,
.card__tag {
  text-transform: uppercase;
  letter-spacing: .5px;
  font-size: 12.5px;
  opacity: .85;
  transition: opacity .2s;
}

.card__cat:hover,
.card__tag:hover {
  opacity: 1;
}

.cat-sep {
  opacity: .4;
  margin: 0 4px;
}

/* === FIXED HEADER při scrollování nahoru === */
.site-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  transform: translateY(var(--header-y, 0));
  background: rgba(255, 255, 255, 0.8);
  z-index: 1000;
  will-change: transform;
}

body.has-fixed-header{
  padding-top: var(--header-h, 0px);
}

.site-header.is-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  transform: translateY(0);
  background: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.04);
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

/* ===== ARCHIVE LAYOUT ===== */
.archive-head {
  display: grid;
  grid-template-columns: 1fr 1fr;   /* název vlevo, popis vpravo */
  gap: 24px;
  align-items: start;
  padding: 8px calc(var(--gap) / 2) 24px calc(var(--gap) / 2);
  margin-bottom: 8px;
  /* border-bottom: 1px solid #e9e9e9;  decentní oddělení hlavičky od gridu */
}

.archive-title {
  font-size: 32px;
  line-height: 1.2;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.archive-desc {
  justify-self: end;
  max-width: 560px;
  opacity: .9;
}

/* breadcrumbs */
.breadcrumbs {
  /*padding: 8px calc(var(--gap) / 2) 12px calc(var(--gap) / 2);*/
  padding-top: 10px;
  font-size: 13.5px;
  opacity: .8;
}
.breadcrumbs ul {
  list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0px;
}
.breadcrumbs li { position: relative; }
.breadcrumbs li+li::before {
  content: "›";
  margin: 0 6px;
  opacity: .55;
  cursor: default;
}
.breadcrumbs a { text-decoration: none; border-bottom: 1px solid transparent; }
.breadcrumbs a:hover { border-bottom-color: currentColor; }

/* vynucení „linka mezi“ pro archive grid (bez ohledu na ACF) */
.archive .grid .card { position: relative; }
.archive .grid .card.border-bottom::before {

}

/* mobile */
@media (max-width: 767px) {
  .archive-head {
    grid-template-columns: 1fr; 
    gap: 12px;
    padding: 4px 16px 20px 16px;
  }
  .archive-desc { justify-self: start; max-width: 100%; }
  .archive-title { font-size: 26px; }
  .breadcrumbs { padding: 8px 16px 8px 2px; }
}

/* ===== ARCHIVE FORCE RULES ===== */

/* 1) Vždy obrázek nahoře (ignoruj ACF „left/right/bottom/full“) */
.archive .grid .card.force-top {
  display: block !important;
}
.archive .grid .card.force-top .card__thumb {
  order: initial !important;
  margin: 0 0 16px 0;
}
.archive .grid .card.force-top .card__body {
  order: initial !important;
  padding: 0;
}

/* kdyby karta nesla přes flex/grid varianty, vypneme přeskupování */
.archive .grid .card.force-top [class*="card__"] {
  /* jistota – bez side-effects */
}

/* 2) Čára mezi KAŽDÝMI kartami (nezávisle na ACF „borders“) */
.archive .grid {
  position: relative;
}
.archive .grid .card.archive-item {
  position: relative;
}
.archive .grid .card.archive-item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: calc(var(--gap) / -2);
  height: 1px;
  background: #d9d9d9;
  pointer-events: none;
  z-index: 1;
}

/* mobilní zarovnání k paddingu kontejneru */
@media (max-width: 767px) {
  .archive .grid .card.archive-item:not(:last-child)::after {
    left: 16px;
    right: 16px;
  }
}

/* 3) Vždy „S“ se udrží díky extra třídě z PHP,
      ale pro jistotu přebijeme i případné full/tall */
.archive .grid .card.archive-item.is-full,
.archive .grid .card.archive-item.is-tall {
  grid-column: span 1 !important;
  grid-row: span 1 !important;
}

/* --- 1) DESIGNOVÉ KARTY: jemnější vnitřní padding --- */
.card.card--design .card__body{
  padding: 42px 48px;        /* bylo přestřelené – srovnáno */
}
@media (max-width: 767px){
  .card.card--design .card__body{
    padding: 28px 24px;
  }
}

/* jistota: designovky NEMAJÍ dostávat žádné „force-top“ paddingy z archivů */
.archive .grid .card.card--design .card__body{
  padding: 42px 48px !important;
}
@media (max-width: 767px){
  .archive .grid .card.card--design .card__body{
    padding: 28px 30px !important;
  }
}

/* --- 2) ARCHIVE LINKY: svislá uprostřed + vodorovné mezi řadami --- */
/* svislá linka přesně mezi levým a pravým sloupcem */
.archive .grid{
  position: relative;
}
.archive .grid::before{
  content: "";
  position: absolute;
  top: calc(var(--gap) / -2);
  bottom: calc(var(--gap) / -2);
  left: 50%;
  transform: translateX(-0.5px);
  width: 1px;
  background: #d9d9d9;
  pointer-events: none;
  z-index: 1;
}
/* mobil – 1 sloupec → svislou linku skryj */
@media (max-width: 767px){
  .archive .grid::before{ display: none; }
}

/* vodorovná linka pod KAŽDOU kartou (i když je gap) */
.archive .grid .card.archive-item{
  position: relative;
}
.archive .grid .card.archive-item::after{
  content: "";
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: calc(var(--gap) / -2);
  height: 1px;
  background: #d9d9d9;
  pointer-events: none;
  z-index: 1;
}
/* poslední v celé mřížce linku nepotřebuje */
.archive .grid .card.archive-item:last-child::after{ display: none; }

/* mobilní zarovnání k paddingu containeru */
@media (max-width: 767px){
  .archive .grid .card.archive-item::after{
    left: 16px;
    right: 16px;
  }
}

/* === ARCHIVE THUMB – stejná výška, BEZ ořezu (contain) === */
.archive .grid .card.archive-item .card__thumb {
  height: 300px;                 /* sjednocená výška boxu */
  /* display: flex;        */         /* centrování obrázku */
  align-items: center;
  justify-content: center;
  overflow: hidden;              /* schovej případné přetečení stínů apod. */
  border-radius: var(--radius);
  background: transparent;       /* žádné pozadí */
}

/* obrázek se vejde celý, žádný crop 
.archive .grid .card.archive-item .card__thumb img {
  max-height: 100%;
  max-width: 100%;
  width: auto;                   
  height: auto;
  object-fit: contain;      
  display: block;
}*/

/* mobil – o trochu menší výška boxu */
@media (max-width: 767px) {
  .archive .grid .card.archive-item .card__thumb {
    height: 200px;
  }
}

/* pojistky: designovky a full-width karty neovlivňuj */
.archive .grid .card.card--design .card__thumb,
.archive .grid .card.is-full .card__thumb {
  height: auto !important;
  /* display: block !important; */
  align-items: initial !important;
  justify-content: initial !important;
  object-fit: initial !important;
}

.archive .grid .card.is-full .card__thumb img {
  margin-bottom: 30px;
}

/* ===== ARCHIVE – jisté čáry bez JS ===== */

/* svislá čára uprostřed (ponecháváme) */
.archive .grid{
  position: relative;
}
.archive .grid::before{
  content:"";
  position:absolute;
  top: calc(var(--gap)/-2);
  bottom: calc(var(--gap)/-2);
  left:50%;
  transform:translateX(-0.5px);
  width:1px;
  background:#d9d9d9;
  pointer-events:none;
  z-index:1;
}

/* 1) Vodorovná čára NAHOŘE u KAŽDÉ S-karty (zajistí řádkové oddělení) */
.archive .grid .card.archive-item{
  position:relative;
}
/*
  .archive .grid .card.archive-item::before{
  content:"";
  position:absolute;
  left:32px;
  right:32px;
  top: calc(var(--gap)/-2);
  height:1px;
  background:#d9d9d9;
  pointer-events:none;
  z-index:1;
} */

/* 2) Jedna spodní čára na konci gridu */
.archive .grid::after{
  content:"";
  position:absolute;
  left:32px;
  right:32px;
  bottom: calc(var(--gap)/-2);
  height:1px;
  background:#d9d9d9;
  pointer-events:none;
  z-index:1;
}

/* Mobilní zarovnání ke paddingu containeru */
@media (max-width: 767px){
  .archive .grid::before{ display:none; } /* 1 sloupec → svislou nepotřebujeme */
  .archive .grid .card.archive-item::before,
  .archive .grid::after{
    left:0px;
    right:0px;
  }
}

/* ARCHIVE: ignoruj ACF border-* na kartách (aby se nedvojily linky) */
.archive .grid .card.archive-item.border-top::before,
.archive .grid .card.archive-item.border-bottom::before,
.archive .grid .card.archive-item.border-left::before,
.archive .grid .card.archive-item.border-right::before {
  display: none !important;
  content: none !important;
}

/* ARCHIVE: naše JEDINÁ horní čára – přesun na ::after kvůli kolizi */
.archive .grid .card.archive-item {
  position: relative;
}
.archive .grid .card.archive-item::after {
  content: "";
  position: absolute;
  left: 32px;
  right: 32px;
  top: calc(var(--gap) / -2);
  height: 1px;
  background: #d9d9d9;
  pointer-events: none;
  z-index: 1;
}

/* spodní čáru necháváme kreslit gridem */
.archive .grid::after {
  content: "";
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: calc(var(--gap) / -2);
  height: 1px;
  background: #d9d9d9;
  pointer-events: none;
  z-index: 1;
}

/* mobilní zarovnání */
@media (max-width: 767px){
  .archive .grid .card.archive-item::after,
  .archive .grid::after { left: 16px; right: 16px; }
}

.archive header,
.archive .archive-header,
.archive .page-header,
.archive .term-header {
  margin-bottom: 42px !important;
}

/* === ARCHIVE HEADER STYLING === */

/* Drobečková navigace */
.archive .breadcrumbs {
  font-family: "Inter", sans-serif;
  font-size: 15px;
  letter-spacing: 0.02em;
  color: #666;
  margin-bottom: 5px;
}

.archive .breadcrumbs a {
  color: #111;
  text-decoration: none;
  transition: color 0.2s ease;
}

.archive .breadcrumbs a:hover {
  color: #000;
}

.archive .breadcrumbs span,
.archive .breadcrumbs a + span {
  margin: 0 6px; /* menší a rovnoměrné mezery */
}

.archive .breadcrumbs span:first-child {
  margin-left: 0;
}

/* Drobnost: opraví velkou mezeru po "Domů" */
.archive .breadcrumbs a:first-child + span {
  margin-left: 6px !important;
}

/* Nadpis kategorie */
.archive .page-title,
.archive .term-title,
.archive .archive-title {
  font-family: "Playfair Display", serif;
  font-weight: 700; /* bold */
  font-size: 58px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #111;
  margin-bottom: 20px;
  text-transform: none;
}

/* Popis kategorie */
.archive .term-description,
.archive .category-description {
  font-family: "Inter", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: #555;
  max-width: 640px;
}

/* Mobile tweaks */
@media (max-width: 767px) {
  .archive .breadcrumbs {
    font-size: 14px;
    margin-bottom: 0px;
  }

  .archive .page-title,
  .archive .term-title,
  .archive .archive-title {
    font-size: 38px;
    margin-bottom: 16px;
  }
}

.hero-title { 
  font-family: "Playfair Display", serif; 
  font-weight: 700; 
  line-height: 90%;
  text-align: left; 
  margin: 0 0 30px 0; 
  font-size: clamp(3rem, 8vw, 6rem);
}

@media (width < 768px) {
  .hero-title {
    margin: 0 0 0px 0;
  }
}


/* === HERO + GALERIE — 90 % šířky viewportu, vystředěné === */
.single-hero {
  position: relative;
  width: min(84vw, 2300px);     /* zmenšeno na cca 90 %, max 2300px */
  left: 50%;
  transform: translateX(-50%);
  margin: 48px 0 34px;
  padding-left: calc(var(--gap) / 2);
  padding-right: calc(var(--gap) / 2);
  box-sizing: border-box;
  overflow: hidden;
}

.single .wp-block-gallery,
.single .gallery {
  position: relative;
  width: min(84vw, 2300px);     /* zmenšeno na cca 90 %, max 2300px */
  left: 50%;
  transform: translateX(-50%);
  margin: 88px 0 88px;
  padding-left: calc(var(--gap) / 2);
  padding-right: calc(var(--gap) / 2);
  box-sizing: border-box;
  overflow: hidden;
}

.single-hero img,
.single .wp-block-gallery img,
.single .gallery img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
  margin-bottom: 40px;
}

/* Mobil – plná šířka */
@media (max-width: 767px) {
  .single-hero,
  .single .wp-block-gallery,
  .single .gallery {
    width: 100vw;
    padding-left: 0;
    padding-right: 0;
    margin: 32px 0 24px;
  }
}

.single .breadcrumbs {
  padding: 5px 0 5px 0;
}

/* === Galerie v single článku – minimalistický spacing === */
.single .wp-block-gallery,
.single .gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 1px !important; /* přesně 1px mezery */
  justify-content: center;
}

.single .wp-block-gallery figure,
.single .gallery-item {
  margin: 0; /* odstraní výchozí okraje WP */
  flex: 1 1 auto;
}

.single .wp-block-gallery img,
.single .gallery img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
  margin: 0;
  padding: 0;
}

/* ARCHIVE: brutální jistota pro výšku náhledu u VŠECH běžných karet */
.archive .grid > article.card.archive-item:not(.card--design):not(.is-full) .card__thumb{
  height: 300px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  border-radius: var(--radius);
  margin: 0 0 26px 0 !important;
}

.archive .grid > article.card.archive-item:not(.card--design):not(.is-full) .card__thumb img{
  max-height: 100% !important;
  max-width: 100% !important;
  width: auto !important;
  height: auto !important;
  margin: auto !important;               /* přebije globální margin:20px */
  object-fit: contain !important;     /* žádný crop */
}


/* Pojistka cíleně na PRVNÍ kartu (některé specifické kombinace tříd) */
.archive .grid > article.card.archive-item:first-child .card__thumb{
  height: 240px !important;
}
.archive .grid > article.card.archive-item:first-child .card__thumb img{
  max-height: 100% !important;
  width: auto !important;
  margin: auto !important;
  object-fit: contain !important;
}

/* Mobil: menší sjednocená výška */
@media (max-width: 767px){
  .archive .grid > article.card.archive-item:not(.card--design):not(.is-full) .card__thumb,
  .archive .grid > article.card.archive-item:first-child .card__thumb{
    height: 200px !important;
  }
}

/* === ARCHIVE: jistá vodorovná čára POD každou kartou (fix pro první položku) === */
.archive .grid .card.archive-item {
  position: relative;
}

/* zruš starší „horní“ čáru, a tvrdě nastav „spodní“ */
.archive .grid .card.archive-item::after {
  content: "";
  position: absolute;
  left: 32px !important;
  right: 32px !important;
  top: auto !important;                      /* přebije starší top-čáru */
  bottom: calc(var(--gap) / -2) !important;  /* čára mezi řádky */
  height: 1px;
  background: #d9d9d9;
  pointer-events: none;
  z-index: 1;
}

/* mobil – zarovnání k paddingu kontejneru */
@media (max-width: 767px){
  .archive .grid .card.archive-item::after{
    left: 16px !important;
    right: 16px !important;
  }
}


.archive .grid .card.want-vdiv.is-col-2::before {
  display: none;
}

/* CTA vedle hamburgeru */
.header-cta{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 14px;
  border:1px solid #111;
  border-radius:999px;
  font-weight:600;
  font-size:14.5px;
  line-height:1;
  color:#111;
  background: transparent;
  transition: transform .18s ease, opacity .18s ease, background-color .18s ease;
  text-decoration:none;
  margin-left:auto; /* tlačí hamburger úplně vpravo, když je logo vlevo */
  margin-right:12px; /* mezera mezi CTA a hamburgerem */
}

.header-cta:hover{
  transform: translateY(-1px);
  opacity:.85;
}

/* Na mobilech schovat, ať zůstane čistý header */
@media (max-width: 767px){
  .header-cta{ display:none; }
}

/* === 404 PAGE – upravená verze === */
.error-404 {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 0px 20px 80px 20px;
  color: #111;
}

.error-404__inner {
  position: relative;
  z-index: 5; /* pro klikatelnost */
  max-width: 720px;
}

.error-404__bg {
  position: absolute;
  top: 30%; /* výš */
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 36vw; /* větší číslo */
  font-weight: 700;
  color: rgba(0, 0, 0, 0.06);
  line-height: 1;
  white-space: nowrap;
  user-select: none;
  z-index: 1;
  pointer-events: none;
}

.error-404__title {
  font-family: 'Playfair Display', serif;
  font-size: 5.8rem; /* větší nadpis */
  font-weight: 700;
  line-height: 90%;
  margin-bottom: 18px;
  margin-top: -60px;
  padding-top: 0px;
}

.error-404__text {
  font-size: 1.05rem;
  line-height: 1.6;
}

.error-404__text a {
  color: #111;
  text-decoration: underline;
  font-weight: 600;
  transition: opacity .2s ease;
}

.error-404__text a:hover {
  opacity: 0.7;
}

/* Mobilní úpravy */
@media (max-width: 767px) {
  .error-404__bg {
    font-size: 60vw;
    top: 45%;
  }
  .error-404__title {
    font-size: 2rem;
  }
}

/* =============================
   Kontakt – statická stránka (v2)
   ============================= */

.wide-block {
  width: 90%;
  max-width: 2560px;
  margin: 0 auto;
  padding: 0 0 80px;
}

.contact-box {
  background-color: #f7f7f7;
  border-radius: 24px;
  padding: 34px 80px;
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  line-height: 1.7;
  color: #111;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.contact-columns {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: start;
}

.contact-box h2 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  margin-bottom: 0.4em;
  color: #000;
  padding: 0;
  margin: 0 0 10px 0;
}

.contact-box h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  margin-top: 1.4em;
  margin-bottom: 0.3em;
}

.contact-box p,
.contact-box span,
.contact-box a {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: #111;
  padding: 0 0 0px 0;
  margin: 0;
}

.contact-ids {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.social-list {
  list-style: none;
  padding: 0;
  margin: 0.5em 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.social-hint {
  opacity: 0.7;
  margin-top: 8px;
  font-size: 1rem;
}

/* CTA odkazy */
.contact-box .card__cta {
  color: #000;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.2s ease;
}
.contact-box .card__cta:hover {
  border-color: #000;
  opacity: 0.7;
}

/* Responsivita */
@media (max-width: 900px) {
  .contact-box {
    padding: 40px 32px;
    font-size: 1.05rem;
  }
  .contact-columns {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 600px) {
  .wide-block {
    width: 94%;
    padding-bottom: 60px;
  }
  .contact-box {
    border-radius: 18px;
    padding: 28px 20px;
    font-size: 1rem;
  }
}

/* stejné rozměry jako header-inner */
.container-wide{
  max-width: calc(var(--container) * var(--scale));
  width: 100%;
  margin: 0 auto;
  padding-left: calc(var(--gap) / 2);
  padding-right: calc(var(--gap) / 2);
}

/* MOBILE fix – přesně stejná šířka jako logo/hamburger */
@media (max-width: 767px) {
  .container-wide .breadcrumbs {
    padding: 8px 0;
  }
  .container-wide {
    padding-left: 30px;
    padding-right: 30px;
  }

  .tip-box {
    margin-left: 0;
    margin-right: 0;
    border-radius: 14px;
    padding: 20px 18px;
  }
}

/* TIP PAGE */
.page-tip .breadcrumbs{
  margin: 8px 0 6px 0;           /* blíž k H1 */
  font-size: 14.5px;
}

.tip-title{
  /* větší H1, pěkně responzivní */
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin: 0 0 8px 0;             /* H1 blíž k podnadpisu */
  font-size: clamp(40px, 4.2vw, 64px);
}

.tip-lead{
  margin: 0 0 48px 0;            /* menší mezera pod leadem */
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.6;
  color: #333;
}

/* šedý box přes celou šířku kontejneru */
.tip-box{
  width: 100%;
  background: #f5f6f7;
  border-radius: var(--radius);
  padding: 36px 40px;
  box-sizing: border-box;
  margin: 18px 0 64px 0;         /* víc prostoru pod boxem */
}

/* CF7 – základní srovnání */
.tip-box .wpcf7 form {
  display: grid;
  gap: 14px;
}

.tip-box .wpcf7 form p { margin: 0; }

.tip-box input[type="text"],
.tip-box input[type="email"],
.tip-box input[type="tel"],
.tip-box textarea{
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font: inherit;
  box-sizing: border-box;
  background: #fff;
}

.tip-box textarea{ min-height: 120px; }

/* submit */
.tip-box .wpcf7-submit{
  appearance: none;
  border: 0;
  border-radius: 999px;
  background: #111;
  color: #fff;
  padding: 12px 22px;
  font-weight: 600;
  cursor: pointer;
}
.tip-box .wpcf7-submit:hover{ opacity:.85; }

/* poznámka pod tlačítkem */
.tip-privacy{
  margin: 10px 0 0 0;
  font-size: 14px;
  color: #555;
}
.tip-privacy a{ text-decoration: underline; }

/* Mobile tweaks */
@media (max-width: 767px){
  .page-tip .breadcrumbs{ margin-bottom: 4px; }
  .tip-title{ font-size: clamp(30px, 7vw, 40px); margin-bottom: 6px; }
  .tip-lead{ margin-bottom: 14px; }
  .tip-box{ padding: 20px; margin-bottom: 40px; }
}
.privacyNote {
  display: block;
  padding: 0 0 5px 0px;
  margin: 5px;
}
.wpcf7 form.sent .wpcf7-response-output {
  background: #fff;
  border: 0px;
  font-size: 21px;
  border-radius: 12px;
  padding: 20px 15px;
  font-weight: bold;
}

.wp-block-button__link{
  margin: 50px 0 !important;
  background-color: #32373C; /* důležité */
  color: #fff;
  transition:
    background-color 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    color 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.wp-block-button__link:hover{
  background-color: #BF9C4A;
  color: #fff; /* nebo klidně inherit, podle stylu */
}

@media (width < 900px) {
  .wp-block-button__link {
    margin: 10px 0 30px 0 !important;
  }
}

/* automaticke obaleni ig posts */

.ig-embed-wrapper{
  position: relative;
  background: #eee;
  border-radius: 15px;
  padding: 32px;
  margin: 52px 0;
  overflow: hidden;

  display: flex;
  justify-content: flex-end;
  align-items: center;
}

/* IG embed vpravo */
.ig-embed-content{
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
}

/* lehké zvětšení embedu */
.ig-embed-content iframe,
.ig-embed-content blockquote,
.ig-embed-content figure{
  margin: 0 !important;
  transform: scale(1.02);
  transform-origin: center right;
}

/* LOGO – stabilní pozice */
.ig-embed-wrapper::before{
  content: "";
  position: absolute;
  left: 50px;
  top: 50%;
  transform: translateY(-50%);

  width: 36px;
  height: 36px;
  opacity: 0.22;
  z-index: 1;

  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M7.5 2h9A5.5 5.5 0 0 1 22 7.5v9A5.5 5.5 0 0 1 16.5 22h-9A5.5 5.5 0 0 1 2 16.5v-9A5.5 5.5 0 0 1 7.5 2Zm0 2A3.5 3.5 0 0 0 4 7.5v9A3.5 3.5 0 0 0 7.5 20h9a3.5 3.5 0 0 0 3.5-3.5v-9A3.5 3.5 0 0 0 16.5 4h-9ZM12 7a5 5 0 1 1 0 10a5 5 0 0 1 0-10Zm0 2a3 3 0 1 0 0 6a3 3 0 0 0 0-6Zm5.25-.9a.85.85 0 1 1 0 1.7a.85.85 0 0 1 0-1.7Z'/%3E%3C/svg%3E");
}

/* ===== MOBIL ===== */
@media (max-width: 600px){
  .ig-embed-wrapper{
    /* víc prostoru nahoře kvůli logu + bezpečný spodek */
    padding: 84px 16px 34px;
    flex-direction: column;
    justify-content: flex-start;
    padding-left: 5px;
    padding-right: 5px;
    align-items: center;
  }

  /* IG embed větší a opticky vycentrovaný */
  .ig-embed-content{
    width: 100%;
    justify-content: center;
  }

  .ig-embed-content iframe,
  .ig-embed-content blockquote,
  .ig-embed-content figure{
    transform: scale(1.05);
    transform-origin: top center;
    max-width: 100%;
    width: 100% !important;
    margin: 0 !important;
  }

  /* logo nahoře – bude vždy “koukat” a nebude se řezat */
  .ig-embed-wrapper::before{
    left: 50%;
    top: 28px;                 /* posun níž, aby se nevešlo do radiusu */
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    opacity: 0.18;
  }
}

/* odrazky ve stylu */

/* Gutenberg seznam: čárky místo odrážek + bez odsazení */
ul.wp-block-list{
  list-style: none !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
}

/* položky */
ul.wp-block-list > li{
  position: relative;
  padding-left: 35px;  /* místo na čárku */
  margin: 0 0 0px 0;
  padding-top: 0;
  padding-bottom: 0;
}

/* dlouhá tenká čárka */
ul.wp-block-list > li::before{
  content: "—";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 300;
  opacity: 0.8;
}

/* famozni images */

/* DESKTOP / TABLET – širší obrázky než text */
@media (min-width: 768px){
  .wp-block-image.size-large{
    margin-left: -20%;
    margin-right: -20%;
  }
  .wp-block-image.size-large img{
    margin: 80px 0;
    width: 100% !important;
    display: block;
  }

  .wp-block-gallery .wp-block-image.size-large img{
    margin: auto;
  }

}



/* MOBIL – skutečných 100 % šířky displeje */
@media (max-width: 767px){
  .wp-block-image.size-large{
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

  .wp-block-image.size-large img{
    width: 100%;
    height: auto;
    display: block;
    margin: 40px 0; /* menší vertikální mezera na mobilu */
  }
  .wp-block-gallery .wp-block-image.size-large img{
    margin: auto;
  }
}

/* =========================
   WIDE BLOCKQUOTE – EDITORIAL
   ========================= */

.wp-block-quote{
  width: 100%;
  margin: 64px 0;
  padding: 0 0 0 38px;
  border-left: 2px solid #d0d0d0;
  background: transparent;
}

.instagram-media {
  border-left: none !important;
}

/* text jako H2 */
.wp-block-quote h2{
  margin: 0;
  white-space: normal;
  font-size: clamp(1.375rem, 0.5417rem + 3.7037vw, 2.825rem);       /* H2 velikost */
  line-height: 120%;
  font-weight: 300;       /* extra tenký */
  letter-spacing: -0.01em;
}

/* zrušení defaultních WP stylů */
.wp-block-quote cite{
  display: none;
}

.wp-block-quote strong{
  font-weight: 300; /* i strong zůstane tenký */
}

@media (width < 900px) {
  .wp-block-quote{ 
    margin: 34px 0;
    padding: 0 0 0 20px;
  }
}

/* Benefits */
.benefits{
  padding: 28px 16px 28px 16px;
  cursor: default;
}

.benefits__list{
  list-style: none;
  margin: 0;
  padding: 0;

  display: flex;
  gap: 18px 34px;
  flex-wrap: wrap;
  justify-content: center; /* desktop: na střed */
  align-items: center;
}

.benefits__item{
  display: inline-flex;
  align-items: center;
  gap: 12px;

  padding: 10px 14px;
  border-radius: 999px;

  font-size: 20px;         /* větší font */
  line-height: 1.25;
  letter-spacing: 0.2px;
}

.benefits__icon{
  width: 34px;
  height: 34px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  border: 1.5px solid currentColor; /* kolečko */
  font-size: 18px;
  line-height: 1;
}

.benefits__text{
  white-space: nowrap; /* na desktopu drží v jednom řádku */
}

/* Mobile: pod sebe, vlevo */
@media (max-width: 640px){
  .benefits{
    padding: 20px 16px;
  }

  .benefits__list{
    flex-direction: column;
    align-items: flex-start;   /* zarovnání vlevo */
    justify-content: flex-start;
    gap: 2px;
  }

  .benefits__item{
    padding: 8px 0 0px 0;           /* vzdušné, bez “pill” efektu */
    border-radius: 0;
    font-size: 18px;
  }

  .benefits__text{
    white-space: normal;      /* může se zalomit */
  }
}

.grecaptcha-badge {
  display: none !important;
}

.menu-cats-wrap{
  position: relative;
  margin-bottom: 120px;
}

@media (width < 700px) {
  .menu-cats-wrap{
    margin-bottom: 20px;
  }
}

/* horizontální scroll */
.menu-cats{
  display: flex;
  gap: 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.menu-cats::-webkit-scrollbar{
  display: none;
}

/* swipe hint */
.swipe-hint{
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.swipe-hint span{
  display: block;
  width: 22px;
  height: 22px;
  border-right: 2px solid rgba(0,0,0,.4);
  border-bottom: 2px solid rgba(0,0,0,.4);
  transform: rotate(-45deg);
  animation: swipeRight 1.6s ease-in-out infinite;
  opacity: .6;
}

/* animace */
@keyframes swipeRight{
  0%{
    transform: translateX(0) rotate(-45deg);
    opacity: 0;
  }
  30%{
    opacity: .6;
  }
  70%{
    transform: translateX(10px) rotate(-45deg);
    opacity: .6;
  }
  100%{
    opacity: 0;
  }
}

/* desktop – hint schovaný */
@media (min-width: 768px){
  .swipe-hint{
    display: none;
  }
}

.cmplz-cookiebanner {
  background: rgba(21, 21, 21, 1) !important;
  position: fixed !important;
  left: 0 !important;
  bottom: -10px !important;
  border-radius: 12px 12px 0 0 !important;
  
}

.cmplz-body p {
  padding: 0px !important;
  margin: 0px !important;
}

@media (max-width: 768px) {
    .cmplz-cookiebanner {
        left: initial;
        right: initial;
        bottom: 42px !important;
        width: 100% !important;
        margin: auto !important;
        padding: 0px 20px 15px 20px !important;
        border-radius: 12px 12px 0 0 !important;
    }
}

@media (min-width: 1024px) {
  .cmplz-cookiebanner .cmplz-message {
    display: flex !important;
    align-items: center !important;
    font-size: 12px !important; 
    line-height:120% !important;
  }
}

.wp-block-image :where(figcaption) {
  display: none;
}