/* =========================================================================
   CULTO homepage — sekce dle Lovable návrhu. Scoped pod .culto-home / body.home.
   ========================================================================= */

/* full-bleed breakout z Blocksy containeru */
.culto-home {
  width: 100vw;
  max-width: var(--culto-shell);
  margin-left: calc(50% - min(50vw, calc(var(--culto-shell) / 2)));
  margin-right: calc(50% - min(50vw, calc(var(--culto-shell) / 2)));
  overflow-x: hidden;
  font-family: var(--font-sans);
  color: var(--foreground);
  background: var(--background);
}
.culto-home img { display: block; max-width: 100%; }
.culto-home em { font-style: normal; }

/* skryj výchozí Blocksy page-title na homepage (rám si nesou sekce samy) */
body.home .entry-header,
body.home .page-header,
body.home .ct-page-title,
body.home .hero-section { display: none !important; }

/* společné */
.ch-sec { padding: 5rem 1.5rem; border-top: 2px solid #000; }
@media (min-width: 768px) { .ch-sec { padding: 5rem 2.5rem; } }
.ch-center { display: flex; justify-content: center; margin-top: 3rem; }
.ch-h2 { font-family: var(--font-display); font-weight: 300; letter-spacing: -0.025em; line-height: 0.95; font-size: clamp(2rem, 5vw, 3.75rem); margin: 0 0 2.5rem; }
.ch-h2xl { font-family: var(--font-display); font-weight: 300; letter-spacing: -0.03em; line-height: 0.95; font-size: clamp(2.5rem, 7vw, 4.5rem); margin: 0; }
.ch-h2 em, .ch-h2xl em, .ch-quote em, .ch-arch-text em, .ch-ig-head em { color: var(--accent); }
.ch-muted { color: var(--muted-foreground); line-height: 1.6; }

/* tlačítka */
.ch-btn-solid { display: inline-flex; align-items: center; gap: 0.75rem; background: var(--paper); color: var(--ink); padding: 1.1rem 2rem; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.95rem; text-decoration: none; box-shadow: 6px 6px 0 0 var(--accent); transition: background .2s, color .2s, transform .2s, box-shadow .2s; }
.ch-btn-solid:hover { background: var(--accent); color: var(--ink); transform: translate(3px, 3px); box-shadow: 2px 2px 0 0 var(--paper); }
.ch-btn-outline { display: inline-block; border: 1px solid var(--foreground); color: var(--foreground); padding: 1rem 2rem; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; text-decoration: none; transition: color .2s, border-color .2s; }
.ch-btn-outline:hover { color: var(--accent); border-color: var(--accent); }
.ch-on-dark { border-color: var(--paper); color: var(--paper); }

/* HERO */
.ch-hero { padding: 1.5rem; }
@media (min-width: 768px) { .ch-hero { padding: 1.5rem 2.5rem; } }
.ch-hero .ch-plate { position: relative; }
.ch-hero-media { width: 100%; height: 78vh; object-fit: cover; display: block; }
.ch-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, color-mix(in oklab, var(--ink) 72%, transparent), color-mix(in oklab, var(--ink) 18%, transparent) 45%, transparent); }
.ch-hero-content { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 2rem; padding: 1.5rem; }
@media (min-width: 768px) { .ch-hero-content { padding: 3rem; } }
.ch-hero-title { font-family: var(--font-display); font-weight: 300; color: var(--paper); line-height: 0.88; letter-spacing: -0.03em; font-size: clamp(2.75rem, 9vw, 6.5rem); margin: 0; }
/* glass/frosted panel za claimem + CTA (B); claim „hlavní text" přesunut do hera (A) */
.ch-hero-panel { align-self: flex-start; max-width: 52rem; display: flex; flex-direction: column; gap: 1.25rem; padding: 1.5rem 1.75rem; background: color-mix(in oklab, var(--ink) 28%, transparent); backdrop-filter: blur(12px) saturate(130%); -webkit-backdrop-filter: blur(12px) saturate(130%); border: 1px solid color-mix(in oklab, var(--paper) 22%, transparent); }
.ch-hero-sub { font-family: var(--font-display); font-weight: 300; color: var(--paper); font-size: clamp(0.95rem, 1.4vw, 1.2rem); line-height: 1.45; margin: 0; }
.ch-hero-sub em { font-style: normal; color: var(--paper); }
.ch-arrow { display: inline-block; }

/* META / INTRO */
.ch-meta { background: var(--background); }
.ch-meta-head { max-width: 62rem; }
.ch-meta-head .ch-h2 { margin: 0 0 1.25rem; }
.ch-meta-lead { color: var(--muted-foreground); line-height: 1.55; font-size: clamp(1.05rem, 1.6vw, 1.3rem); max-width: 48rem; margin: 0; }
.ch-cols3 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 4rem; }
@media (min-width: 768px) { .ch-cols3 { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }
.ch-col { padding-top: 0; }
.ch-dot { display: inline-block; width: 0.75rem; height: 0.75rem; border-radius: 9999px; margin-bottom: 1.5rem; }
.ch-col h3 { font-family: var(--font-headline); font-weight: 400; font-size: clamp(1.5rem, 2.5vw, 2.25rem); margin: 0 0 0.75rem; line-height: 1; }
.ch-col p { color: var(--muted-foreground); line-height: 1.6; margin: 0; }

/* AWARDS */
.ch-awards { background: #fff; }
.ch-awards.ch-sec { padding-top: 3rem; padding-bottom: 3rem; }
.ch-awards-sub { color: var(--muted-foreground); line-height: 1.5; font-size: clamp(1rem, 1.5vw, 1.2rem); max-width: 72rem; margin: 0.75rem 0 0; }
.ch-awards .wp-block-gallery.culto-awards { gap: 1rem 2.5rem; margin-top: 3.5rem; }
.ch-awards-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; align-items: center; }
@media (min-width: 768px) { .ch-awards-grid { grid-template-columns: repeat(4, 1fr); } }
.ch-award { display: flex; align-items: center; justify-content: center; padding: 1.5rem; }
.ch-award img { max-height: 7rem; width: auto; object-fit: contain; opacity: 0.7; filter: grayscale(1); transition: opacity .3s, filter .3s; }
.ch-award img:hover { opacity: 1; filter: grayscale(0); }
@media (min-width: 768px) { .ch-award img { max-height: 9rem; } }

/* SIGNATURE PREVIEW */
.ch-sig-head { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .ch-sig-head { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.ch-sig-head .ch-h2 { margin: 0; }
.ch-sig-head em { color: var(--accent); }
.ch-sig-intro { color: var(--muted-foreground); line-height: 1.6; max-width: 30rem; margin: 0; align-self: end; }
.ch-sig-scroller { display: flex; gap: 1.5rem; overflow-x: auto; padding-bottom: 1.5rem; scroll-snap-type: x mandatory; }
.ch-sig-card { flex: 0 0 auto; width: 72vw; scroll-snap-align: start; text-decoration: none; color: var(--foreground); }
@media (min-width: 768px) { .ch-sig-card { width: calc((100% - 3rem) / 3); } }
.ch-sig-img { position: relative; aspect-ratio: 1 / 1; background: var(--muted); display: flex; align-items: flex-end; justify-content: center; padding: 1.25rem; overflow: hidden; border: 1px solid var(--border); }
.ch-sig-img img { height: 100%; width: auto; object-fit: contain; transition: transform .7s; }
.ch-sig-card:hover .ch-sig-img img { transform: scale(1.03); }
.ch-sig-index { position: absolute; top: -0.7rem; left: 1rem; font-family: var(--font-mono); font-size: 0.6rem; background: var(--background); padding: 0 0.5rem; color: var(--muted-foreground); }
.ch-sig-name { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.1; padding-top: 1rem; }
.ch-pill { display: inline-block; border: 1px solid var(--foreground); padding: 0.5rem 1rem; margin-top: 0.75rem; font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; transition: color .2s, border-color .2s; }
.ch-sig-card:hover .ch-pill { color: var(--accent); border-color: var(--accent); }

/* SYSTEM BANNER */
.ch-system { display: grid; grid-template-columns: 1fr; border-top: 2px solid #000; }
@media (min-width: 768px) { .ch-system { grid-template-columns: 1fr 1fr; } }
.ch-system-text { padding: 4rem 1.5rem; order: 2; }
@media (min-width: 768px) { .ch-system-text { padding: 6rem 2.5rem; order: 1; } }
.ch-system-text .ch-muted { max-width: 28rem; margin: 2rem 0 0; }
.ch-specs { display: grid; grid-template-columns: 1fr; gap: 1.5rem 3rem; margin-top: 3rem; }
@media (min-width: 640px) { .ch-specs { grid-template-columns: 1fr 1fr; } }
.ch-spec { padding: 0; }
.ch-spec dt { font-family: var(--font-headline); font-weight: 300; color: var(--muted-foreground); font-size: 0.95rem; letter-spacing: 0.02em; margin: 0; }
.ch-spec dd { font-family: var(--font-headline); font-weight: 300; font-size: clamp(1.4rem, 2.2vw, 1.85rem); line-height: 1.1; margin: 0.5rem 0 0; }
.ch-system-img { order: 1; }
@media (min-width: 768px) { .ch-system-img { order: 2; } }
.ch-system-img img { width: 100%; height: 100%; object-fit: cover; min-height: 400px; }

/* ARCHITEKTI */
.ch-arch { display: grid; grid-template-columns: 1fr; border-top: 2px solid #000; }
@media (min-width: 768px) { .ch-arch { grid-template-columns: 1fr 1fr; } }
.ch-arch-img { background: #fff; }
.ch-arch-img img { width: 100%; height: 100%; object-fit: contain; min-height: 420px; }
.ch-arch-text { background: var(--ink); color: var(--paper); padding: 4rem 1.5rem; display: flex; flex-direction: column; justify-content: center; }
@media (min-width: 768px) { .ch-arch-text { padding: 6rem 2.5rem; } }
.ch-arch-text h2 { color: var(--paper); }
.ch-arch-text p { color: color-mix(in oklab, var(--paper) 75%, transparent); line-height: 1.6; max-width: 36rem; margin: 2rem 0 0; }
.ch-arch-text a { margin-top: 2.5rem; align-self: flex-start; }

/* FAQ */
.ch-faq-list { max-width: 62rem; margin-left: auto; }
.ch-faq-list details { border-top: 1px solid var(--border); padding: 1.5rem 0; }
.ch-faq-list summary { display: flex; align-items: center; justify-content: space-between; cursor: pointer; list-style: none; gap: 1rem; }
.ch-faq-list summary::-webkit-details-marker { display: none; }
.ch-faq-list summary span:first-child { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.25rem, 2vw, 1.6rem); }
.ch-faq-plus { font-family: var(--font-mono); color: var(--accent); transition: transform .2s; }
.ch-faq-list details[open] .ch-faq-plus { transform: rotate(45deg); }
.ch-faq-list details p { color: var(--muted-foreground); line-height: 1.6; max-width: 44rem; margin: 1rem 0 0; }
/* FAQ převeden na nativní core/details (editovatelné WYSIWYG) — „+" přes ::after, bez spanu */
.ch-faq-list summary { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.25rem, 2vw, 1.6rem); }
.ch-faq-list summary::marker { content: ""; }
.ch-faq-list details.wp-block-details summary::after { content: "+"; font-family: var(--font-mono); color: var(--accent); transition: transform .2s; margin-left: 1rem; }
.ch-faq-list details.wp-block-details[open] summary::after { transform: rotate(45deg); }
.ch-faq-more { border-top: 1px solid var(--border); padding-top: 2rem; font-family: var(--font-mono); font-size: 0.85rem; color: var(--muted-foreground); text-transform: none; letter-spacing: normal; }
.ch-faq-more a { color: var(--foreground); border-bottom: 1px solid var(--foreground); text-decoration: none; }
.ch-faq-more a:hover { color: var(--accent); border-color: var(--accent); }

/* PRESS */
.ch-press { background: var(--background); }
.ch-press-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .ch-press-grid { grid-template-columns: 1fr 1fr; gap: 2rem 3rem; } }
.ch-press-card { display: grid; grid-template-columns: 5fr 7fr; gap: 1.5rem; border-top: 1px solid var(--foreground); padding-top: 1.5rem; text-decoration: none; color: var(--foreground); }
.ch-press-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--muted); }
.ch-press-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.ch-press-card:hover .ch-press-img img { transform: scale(1.02); }
.ch-press-card blockquote { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.35; margin: 0; transition: color .2s; }
.ch-press-card:hover blockquote { color: var(--accent); }
.ch-press-card figcaption { font-family: var(--font-mono); color: var(--muted-foreground); font-size: 0.7rem; letter-spacing: 0.1em; margin-top: 1rem; }
.ch-readmore { display: inline-block; margin-top: 0.75rem; font-family: var(--font-mono); font-size: 0.7rem; border-bottom: 1px solid var(--foreground); }
/* Press loga — statický .ch-press-logos i nativní wp:gallery. Box s pevnou výškou +
   width:100%, aby čitelné wordmarky vyplnily buňku. !important kvůli core gallery
   pravidlu `figure.wp-block-image img` (vyšší specificita než moje třídy). */
.ch-press-logos,
.wp-block-gallery.ch-press-logos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem 2rem; align-items: center; margin-top: 4rem; background: #fff; padding: 2.5rem; }
@media (min-width: 768px) {
  .ch-press-logos,
  .wp-block-gallery.ch-press-logos { grid-template-columns: repeat(5, 1fr); }
}
/* Loga vyplní šířku buňky (čitelné wordmarky) s capem na výšku. figure+img width:100%
   !important přebíjí core gallery calc-width + flex sizing. Zdroje jsou malé → mírný upscale. */
.ch-press-logos img { width: 100%; height: auto; max-height: 3rem; object-fit: contain; opacity: 0.85; }
.wp-block-gallery.ch-press-logos .wp-block-image { width: 100% !important; margin: 0 !important; }
.wp-block-gallery.ch-press-logos img,
.wp-block-gallery.ch-press-logos figure.wp-block-image img { width: 100% !important; height: auto !important; max-height: 3rem !important; object-fit: contain !important; opacity: 0.85; }

/* QUOTE */
.ch-quote blockquote { font-family: var(--font-display); font-weight: 300; line-height: 1.05; letter-spacing: -0.02em; font-size: clamp(1.75rem, 5vw, 3.75rem); max-width: none; margin: 0; }
.ch-quote footer { font-family: var(--font-mono); color: var(--muted-foreground); font-size: 0.85rem; letter-spacing: 0.1em; margin-top: 2.5rem; font-style: normal; }

/* IG / FULL BLEED */
.ch-ig { border-top: 2px solid #000; }
.ch-ig-hero { width: 100%; height: 42vh; object-fit: cover; }
@media (min-width: 768px) { .ch-ig-hero { height: 55vh; } }
.ch-ig-inner { padding: 4rem 1.5rem; border-top: 1px solid var(--border); }
@media (min-width: 768px) { .ch-ig-inner { padding: 4rem 2.5rem; } }
.ch-ig-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem; margin-bottom: 2rem; }
.ch-ig-head h2 { margin: 0; }
.ch-ig-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
@media (min-width: 768px) { .ch-ig-grid { grid-template-columns: repeat(6, 1fr); } }
.ch-ig-grid a { aspect-ratio: 1; overflow: hidden; background: var(--muted); }
.ch-ig-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.ch-ig-grid a:hover img { transform: scale(1.04); }
/* Dynamický IG feed (Smash Balloon) — drž ho v editorial rámci, bez extra paddingu. */
.ch-ig-feed #sb_instagram { padding: 0 !important; }
.ch-ig-feed #sb_instagram .sbi_photo { border-radius: 0; }

/* =========================================================================
   Revize II — Fáze B (homepage)
   ========================================================================= */

/* Hero — užší okraje (kompozice jde víc do šířky) */
.ch-hero { padding: 1rem; }
@media (min-width: 768px) { .ch-hero { padding: 1.25rem; } }

/* Hero — delší / výraznější rohové registrační značky („packy") */
.ch-hero .crosshair { width: 30px; height: 30px; opacity: 1; }
.ch-hero .crosshair::before { width: 1px; }
.ch-hero .crosshair::after { height: 1px; }
.ch-hero .plate > .crosshair-tl { top: -15px; left: -15px; }
.ch-hero .plate > .crosshair-tr { top: -15px; right: -15px; }
.ch-hero .plate > .crosshair-bl { bottom: -15px; left: -15px; }
.ch-hero .plate > .crosshair-br { bottom: -15px; right: -15px; }

/* Hero nadpis — scroll-driven zmenšení (JS nastavuje transform; kotva vlevo dole) */
.ch-hero-title { transform-origin: left bottom; will-change: transform; }

/* Produktové karty (signature) — sjednocení velikosti názvu */
.ch-sig-name { font-size: clamp(1.2rem, 1.6vw, 1.4rem); line-height: 1.15; }

/* Newsletter banner — full-width, Nude rose pozadí, masivní kontrastní CTA */
.ch-news { background: var(--accent); border-top: 2px solid #000; padding: 4rem 1.5rem; }
@media (min-width: 768px) { .ch-news { padding: 5.5rem 2.5rem; } }
.ch-news-inner { max-width: 56rem; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1.25rem; }
.ch-news h2 { font-family: var(--font-display); font-weight: 300; letter-spacing: -0.025em; line-height: 1; font-size: clamp(2rem, 4.5vw, 3.25rem); margin: 0; color: var(--ink); }
.ch-news p { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.1rem, 1.8vw, 1.4rem); line-height: 1.4; margin: 0; color: color-mix(in oklab, var(--ink) 80%, transparent); }
.ch-news-cta { display: inline-block; background: var(--ink); color: var(--paper); padding: 1.25rem 2.75rem; margin-top: 0.5rem; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.9rem; text-decoration: none; border: 2px solid var(--ink); transition: background .2s, color .2s; }
.ch-news-cta:hover { background: transparent; color: var(--ink); }

/* Revize II — textové akcenty sytější rose (čitelnost na bílé). Výplně (banner, hover bg, tečky) zůstávají --oldrose. .ch-arch-text em je na tmavém → zůstává oldrose. */
.ch-h2 em, .ch-h2xl em, .ch-quote em, .ch-ig-head em, .ch-sig-head em { color: var(--accent-text); }
.ch-btn-outline:hover { color: var(--accent-text); border-color: var(--accent-text); }
.ch-faq-list details.wp-block-details summary::after { color: var(--accent-text); }
.ch-faq-more a:hover { color: var(--accent-text); border-color: var(--accent-text); }
.ch-sig-card:hover .ch-pill { color: var(--accent-text); border-color: var(--accent-text); }
.ch-press-card:hover blockquote { color: var(--accent-text); }

/* Revize II mobil — hero podtitul přesunutý pod hero (lead) */
.ch-hero-lead p { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.35rem, 3vw, 2.1rem); line-height: 1.3; max-width: 44rem; margin: 0; color: var(--foreground); }
.ch-hero-cta { display: flex; }

/* P2 — press loga: jednotná optická výška + centrovat */
.wp-block-gallery.ch-press-logos figure.wp-block-image { display: flex !important; align-items: center; justify-content: center; }
.wp-block-gallery.ch-press-logos img,
.wp-block-gallery.ch-press-logos figure.wp-block-image img { width: auto !important; max-width: 100% !important; height: auto !important; max-height: 2.5rem !important; object-fit: contain !important; }
/* P2 — newsletter: na homepage skrýt footer pruh (nahrazen banner sekcí ch-news) */
.cf-news { display: none; }

/* =========================================================================
   Revize VI — homepage
   ========================================================================= */
/* „Integrujte CULTO do svých vizí" — foto zmenšit do bílého rámu (bílý okraj kolem). */
.ch-arch-img { padding: 2rem; }
@media (min-width: 768px) { .ch-arch-img { padding: 3.5rem; } }

/* =========================================================================
   Revize VII (2026-06-28) — homepage FAQ: kompaktnější výpis + CTA na /faq
   (text „Mám ještě otázku → e-mail" odebrán, je jen na /faq)
   ========================================================================= */
.ch-faq.ch-sec { padding-top: 4rem; padding-bottom: 4rem; }
.ch-faq .ch-h2 { margin-bottom: 1.5rem; }
.ch-faq-list details { padding: 1.1rem 0; }
.ch-faq-list details p { margin-top: 0.6rem; }
.ch-faq-cta { margin-top: 2rem; }
