/* =========================================================
   Lucilla design system (loaded after Bootstrap + custom.css)
   ========================================================= */
:root {
    --ml-gold: #786721;          /* brand */
    --ml-gold-600: #645619;
    --ml-gold-300: #b9a865;
    --ml-gold-100: #efe9d6;
    --ml-ink: #2b2620;           /* warm near-black */
    --ml-ink-soft: #5a5348;
    --ml-cream: #faf7f0;
    --ml-sand: #f3eee2;
    --ml-white: #fff;
    --ml-line: rgba(120,103,33,.14);
    --ml-serif: "Playfair Display", Georgia, "Times New Roman", serif;
    --ml-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --ml-r-sm: 10px; --ml-r: 16px; --ml-r-lg: 24px;
    --ml-shadow: 0 1px 2px rgba(43,38,32,.04), 0 8px 28px rgba(43,38,32,.07);
    --ml-shadow-lg: 0 2px 4px rgba(43,38,32,.05), 0 18px 48px rgba(43,38,32,.12);
    --ml-s1: 8px; --ml-s2: 16px; --ml-s3: 24px; --ml-s4: 32px; --ml-s5: 48px; --ml-s6: clamp(56px, 7vw, 104px);
    --h-color: var(--ml-gold);
    --ghost-accent-color: var(--ml-gold) !important;
}

/* ---------- Base typography (all pages) ---------- */
body { font-family: var(--ml-sans); color: var(--ml-ink); -webkit-font-smoothing: antialiased; }
h1, h2, h3, .gh-article-title, .site-title, .post-card-title, .gh-content h2, .gh-content h3 {
    font-family: var(--ml-serif); letter-spacing: -.005em;
}
.gh-content, .gh-content p, .gh-content li { font-family: var(--ml-sans); }
a { color: var(--ml-gold); }
:focus-visible { outline: 2px solid var(--ml-gold); outline-offset: 3px; }

/* ---------- Buttons ---------- */
.ml-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-family: var(--ml-sans); font-weight: 600; font-size: 16px; line-height: 1;
    padding: 15.2px 25.6px; border-radius: 999px; border: 1.5px solid transparent;
    text-decoration: none !important; white-space: nowrap; cursor: pointer;
    transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s;
}
.ml-btn-sm { font-size: 14.4px; padding: 11.2px 19.2px; }
.ml-btn-lg { font-size: 16.8px; padding: 17.6px 32px; }
.ml-btn-primary { background: var(--ml-gold); color: #fff !important; box-shadow: 0 6px 18px rgba(120,103,33,.28); }
.ml-btn-primary:hover { background: var(--ml-gold-600); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(120,103,33,.32); }
.ml-btn-ghost { background: transparent; color: var(--ml-gold) !important; border-color: rgba(120,103,33,.4); }
.ml-btn-ghost:hover { background: var(--ml-gold-100); border-color: var(--ml-gold); }
.ml-btn-light { background: #fff; color: var(--ml-gold-600) !important; }
.ml-btn-light:hover { background: var(--ml-cream); transform: translateY(-1px); }
.ml-link { color: var(--ml-gold); font-weight: 600; font-size: 14.4px; text-decoration: none; }
.ml-link:hover { text-decoration: underline; }

/* ---------- Header (all pages) ---------- */
.gh-head { font-family: var(--ml-sans); }
.gh-head-menu .nav a { font-size: 15.2px; font-weight: 500; color: var(--ml-ink); }
.gh-head-menu .nav li.nav-current a, .gh-head-menu .nav a:hover { color: var(--ml-gold); opacity: 1; }
.ml-head-cta { margin-left: 8px; }
@media (min-width: 992px) and (max-width: 1279px) {
    .gh-head-menu { gap: 0; }
    .gh-head-menu .nav { gap: 0 17.6px !important; }
    .gh-head-menu .nav a { font-size: 14.08px; }
    .gh-head-actions .gh-search img { width: 20px; }
}
@media (max-width: 991px) { .ml-head-cta { display: none; } }

/* ---------- Footer (all pages) ---------- */
.site-footer { background: var(--ml-ink); color: rgba(255,255,255,.75); padding: var(--ml-s5) max(4vmin, 20px); font-family: var(--ml-sans); }
.site-footer .inner { display: grid; grid-template-columns: 1fr auto; gap: var(--ml-s3) var(--ml-s4); align-items: start; }
.ml-foot-brand p { margin: 8px 0 16px; font-size: 15.2px; line-height: 1.6; }
.ml-foot-brand a:not(.ml-btn), .site-footer-nav a { color: #fff; }
.ml-foot-title { font-family: var(--ml-serif); font-size: 25.6px; font-weight: 600; color: #fff !important; text-decoration: none; }
.site-footer .copyright { grid-column: 1 / -1; order: 3; border-top: 1px solid rgba(255,255,255,.12); padding-top: var(--ml-s3); font-size: 13.6px; color: rgba(255,255,255,.6); }
@media (max-width: 767px) { .site-footer .inner { grid-template-columns: 1fr; } }

/* =========================================================
   Homepage
   ========================================================= */
.ml-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }
.ml-home { padding: 0 !important; background: var(--ml-white); }
.ml-section { padding: var(--ml-s6) 0; }
.ml-section-tint { background: var(--ml-cream); }
.ml-sec-head { text-align: center; max-width: 680px; margin: 0 auto var(--ml-s5); }
.ml-eyebrow { font-family: var(--ml-sans); text-transform: uppercase; letter-spacing: .18em; font-size: 12.48px; font-weight: 600; color: var(--ml-gold); margin: 0 0 12px; }
.ml-h2 { font-family: var(--ml-serif); font-weight: 600; color: var(--ml-ink); font-size: clamp(32px, 22.4px + 2.4vw, 49.6px); line-height: 1.1; margin: 0 0 16px; }
.ml-sec-lead { color: var(--ml-ink-soft); font-size: 17.28px; line-height: 1.7; margin: 0; }

/* Hide Casper's default homepage header block if present */
.home-template .site-header-content { display: none; }

/* ---------- Hero ---------- */
.ml-hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: #3b3426;
    min-height: min(88vh, 860px); display: flex; align-items: center; }
.ml-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.ml-hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(100deg, rgba(30,25,17,.82) 0%, rgba(30,25,17,.6) 45%, rgba(30,25,17,.25) 100%); }
.ml-hero-inner { padding-top: var(--ml-s6); padding-bottom: var(--ml-s6); }
.ml-eyebrow-light { color: var(--ml-gold-100); }
.ml-hero-title { font-family: var(--ml-serif); font-weight: 600; font-size: clamp(44.8px, 25.6px + 5.5vw, 96px); line-height: 1; margin: 0 0 20px; color: #fff; }
.ml-hero-lead { font-size: clamp(17.6px, 16px + .5vw, 21.6px); line-height: 1.6; max-width: 34ch; color: rgba(255,255,255,.9); margin: 0 0 32px; }
.ml-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.ml-trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14.72px; color: rgba(255,255,255,.85); }
.ml-trust li { display: flex; align-items: center; gap: 5.6px; }
.ml-trust li + li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--ml-gold-300); margin-right: 17.6px; }
.ml-trust-rating strong { color: #fff; }
.ml-star { color: #e8c766; }
.ml-trust [hidden] { display: none !important; }

/* ---------- Services ---------- */
.ml-svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: var(--ml-s4); }
.ml-svc { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--ml-line); border-radius: var(--ml-r-lg);
    overflow: hidden; box-shadow: var(--ml-shadow); transition: box-shadow .25s, transform .25s; }
.ml-svc:hover { box-shadow: var(--ml-shadow-lg); transform: translateY(-3px); }
.ml-svc-media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--ml-sand); }
.ml-svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.ml-svc:hover .ml-svc-media img { transform: scale(1.04); }
.ml-svc-body { display: flex; flex-direction: column; flex: 1; padding: var(--ml-s3) var(--ml-s3) var(--ml-s3); }
.ml-svc-title { font-family: var(--ml-serif); font-size: 25.6px; font-weight: 600; line-height: 1.15; margin: 0 0 9.6px; }
.ml-svc-title a { color: var(--ml-ink); text-decoration: none; }
.ml-svc-title a:hover { color: var(--ml-gold); }
.ml-svc-text { color: var(--ml-ink-soft); font-size: 15.52px; line-height: 1.65; margin: 0 0 20px; flex: 1;
    display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.ml-svc-foot { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-top: 16px; border-top: 1px solid var(--ml-line); margin-bottom: 16px; }
.ml-price { font-family: var(--ml-serif); font-size: 24px; font-weight: 600; color: var(--ml-gold); white-space: nowrap; }
.ml-svc-foot .ml-link { font-weight: 500; color: var(--ml-ink-soft); font-size: 13.6px; }
.ml-svc-actions { display: flex; gap: 9.6px; flex-wrap: wrap; }
.ml-svc-actions .ml-btn { flex: 1 1 auto; }

/* ---------- Reviews (scoped overrides of carousel) ---------- */
.reviews-carousel-section { margin-top: 0; background: var(--ml-cream) !important; padding: var(--ml-s6) 0 !important; }
.rv-header { margin-bottom: var(--ml-s4) !important; }
.rv-card { border-radius: var(--ml-r-lg); box-shadow: var(--ml-shadow); border-color: var(--ml-line); }
.rv-text p { font-family: var(--ml-serif); font-size: 19.52px; line-height: 1.5; color: var(--ml-ink); }
.rv-stars, .rv-summary-stars { color: #c9a227; }
.rv-score { font-family: var(--ml-serif); }
.rv-progress { max-width: 160px; height: 2px; }
.rv-more a { color: var(--ml-gold); }

/* ---------- About ---------- */
.ml-about { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--ml-s5); align-items: center; }
.ml-about-text p { color: var(--ml-ink-soft); font-size: 17.28px; line-height: 1.75; margin: 0 0 16px; }
.ml-about-text .ml-btn { margin-top: 12px; }
.ml-about-quote { margin: 0; padding: var(--ml-s5) var(--ml-s4); border-radius: var(--ml-r-lg); background: var(--ml-sand); position: relative; text-align: center; }
.ml-about-quote::before { content: "\201C"; position: absolute; top: -.1em; left: 50%; transform: translateX(-50%); font-family: var(--ml-serif); font-size: 112px; color: var(--ml-gold); opacity: .25; line-height: 1; }
.ml-about-quote p { font-family: var(--ml-serif); font-size: clamp(25.6px, 19.2px + 1.5vw, 36.8px); line-height: 1.25; color: var(--ml-ink); margin: 0 0 16px; font-style: italic; }
.ml-about-quote footer { font-size: 14.4px; color: var(--ml-ink-soft); }

/* ---------- Vouchers / passes ---------- */
.ml-duo { display: grid; grid-template-columns: 1fr 1fr; gap: var(--ml-s4); max-width: 960px; margin: 0 auto; }
.ml-tile { display: block; padding: var(--ml-s4); border-radius: var(--ml-r-lg); background: #fff; border: 1px solid var(--ml-line);
    box-shadow: var(--ml-shadow); text-decoration: none !important; color: var(--ml-ink); transition: box-shadow .25s, transform .25s, border-color .25s; }
.ml-tile:hover { box-shadow: var(--ml-shadow-lg); transform: translateY(-3px); border-color: var(--ml-gold-300); color: var(--ml-ink); }
.ml-tile h3 { font-family: var(--ml-serif); font-size: 30.4px; font-weight: 600; margin: 0 0 8px; color: var(--ml-ink); }
.ml-tile p { color: var(--ml-ink-soft); line-height: 1.65; margin: 0 0 20px; }

/* ---------- Contact ---------- */
.ml-contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: var(--ml-s5); align-items: center; }
.ml-contact address { font-style: normal; color: var(--ml-ink-soft); line-height: 1.8; font-size: 16.8px; margin-bottom: 16px; }
.ml-contact address strong { color: var(--ml-ink); }
.ml-contact p a { font-weight: 600; font-size: 18.4px; text-decoration: none; }
.ml-contact-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.ml-map { border-radius: var(--ml-r-lg); overflow: hidden; box-shadow: var(--ml-shadow); aspect-ratio: 4 / 3; background: var(--ml-sand); }
.ml-map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Final CTA band ---------- */
.ml-cta-band { background: linear-gradient(135deg, var(--ml-gold) 0%, #5d5119 100%); color: #fff; text-align: center; padding: var(--ml-s6) 0; }
.ml-cta-band .ml-h2 { color: #fff; }
.ml-cta-band p { color: rgba(255,255,255,.88); font-size: 17.6px; margin: 0 0 32px; }

/* ---------- Sticky mobile CTA ---------- */
.ml-sticky-cta { display: none; }
@media (max-width: 767px) {
    .ml-sticky-cta { display: flex; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 90;
        justify-content: center; padding: 16px; border-radius: 999px; background: var(--ml-gold); color: #fff !important; font-weight: 600;
        text-decoration: none; box-shadow: 0 10px 30px rgba(43,38,32,.3); transform: translateY(150%); transition: transform .3s ease; }
    .ml-sticky-cta { opacity: 0; pointer-events: none; transition: transform .3s ease, opacity .3s ease !important; }
    .ml-sticky-cta.is-visible { transform: none; opacity: 1; pointer-events: auto; }
    .home-template .site-footer { padding-bottom: 104px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .ml-about, .ml-contact { grid-template-columns: 1fr; gap: var(--ml-s4); }
}
@media (max-width: 767px) {
    .ml-duo { grid-template-columns: 1fr; }
    .ml-hero { min-height: auto; }
    .ml-hero::after { background: linear-gradient(180deg, rgba(30,25,17,.55) 0%, rgba(30,25,17,.85) 100%); }
    .ml-hero-ctas .ml-btn { flex: 1 1 100%; }
    .ml-trust li + li::before { display: none; }
    .ml-trust { flex-direction: column; gap: 6.4px; }
    .ml-sec-head { margin-bottom: var(--ml-s4); }
}
@media (min-width: 1800px) {
    .ml-container { max-width: 1320px; }
}
@media (prefers-reduced-motion: reduce) {
    .ml-btn, .ml-svc, .ml-svc-media img, .ml-tile, .ml-sticky-cta { transition: none !important; }
    .ml-svc:hover, .ml-tile:hover, .ml-btn:hover { transform: none; }
}

/* ---- fixes after first render ---- */
html body { font-size: 16px; }
.ml-hero-title, .ml-cta-band .ml-h2 { color: #fff !important; }
.ml-h2 { color: var(--ml-ink) !important; }
.home-template .gh-head-logo { display: block !important; }
.gh-head { background: rgba(255,255,255,.96) !important; box-shadow: 0 1px 0 var(--ml-line); backdrop-filter: saturate(1.2) blur(6px); }
.home-template .gh-head { position: sticky !important; top: 0; z-index: 100; }
.gh-head-menu .nav a, .gh-head-logo { color: var(--ml-ink) !important; }
.gh-head-logo img { max-height: 44px; }
.gh-burger::before, .gh-burger::after { background: var(--ml-ink) !important; }
.home-template .site-footer { margin-top: 0; }
.home-template .site-content { padding-bottom: 0; }
.ml-svc-grid { display: flex; flex-wrap: wrap; justify-content: center; }
.ml-svc { flex: 1 1 330px; max-width: 380px; }
@media (max-width: 767px) { .ml-svc { max-width: none; } }
/* carousel sizes: Casper root is 10px, so restate in px */
.rv-card { padding: 32px 28px 24px; }
.rv-text p { font-size: 20px; }
.rv-stars { font-size: 17px; margin-bottom: 12px; }
.rv-meta strong { font-size: 16px; }
.rv-meta span { font-size: 13.5px; }
.rv-avatar { width: 42px; min-width: 42px; max-width: 42px; height: 42px; font-size: 16px; }
.rv-summary { padding: 9px 20px; gap: 10px; }
.rv-score { font-size: 26px; }
.rv-summary-text { font-size: 15px; }
.rv-summary-stars { font-size: 15px; }
.rv-more { font-size: 15px; margin-top: 24px; }
.rv-nav { width: 46px; height: 46px; font-size: 28px; }
.rv-card::before { font-size: 80px; }
.rv-track { gap: 24px; }
.rv-slide { flex-basis: calc((100% - 48px) / 3); }
@media (max-width: 991px) { .rv-slide { flex-basis: calc((100% - 24px) / 2); } }
@media (max-width: 767px) { .rv-slide { flex-basis: 100%; } .rv-track { gap: 16px; } .rv-text p { font-size: 18px; } .rv-card { padding: 26px 22px 20px; } }
.gh-head-menu .nav a { font-size: 15px; }
@media (min-width: 992px) and (max-width: 1279px) { .gh-head-menu .nav a { font-size: 14px; } }
/* Playfair sizing */
.ml-hero-title { font-size: clamp(40px, 22px + 4.6vw, 84px); font-weight: 500; letter-spacing: -.01em; }
.ml-h2 { font-size: clamp(30px, 20px + 2vw, 44px); font-weight: 500; }
.ml-svc-title { font-size: 22px; font-weight: 500; }
.ml-price { font-size: 21px; }
.ml-tile h3 { font-size: 26px; font-weight: 500; }
.rv-text p { font-size: 17.5px; line-height: 1.6; }
.ml-about-quote p { font-size: clamp(24px, 18px + 1.2vw, 32px); font-weight: 500; }
.ml-foot-title { font-size: 22px; }
/* Header: keep Rezervace visible – drop duplicates from top nav (still in footer/secondary nav) */
@media (min-width: 992px) {
    .gh-head-inner { max-width: 1440px; column-gap: 28px; }
    .gh-head-logo img { max-height: 34px; width: auto; }
    .gh-head-menu .nav { gap: 0 22px !important; }
    .gh-head-menu .nav li { margin: 0 !important; }
}
@media (max-width: 991px) {
    .gh-head-open .ml-head-cta { display: inline-flex; width: 100%; margin: 0; padding: 16px; font-size: 16px; }
    .gh-head-open .gh-head-actions { background: transparent !important; }
    .gh-head-brand .gh-search img { width: 24px; height: 24px; }
}
.ml-svc-text { flex: 0 0 auto; max-height: calc(1.65em * 4); }
.ml-svc-foot { margin-top: auto; }

/* price label: "od 540 Kč" + small "s permanentkou" */
.ml-price { display: inline-flex; flex-direction: column; line-height: 1.1; }
.ml-price small { font-family: var(--ml-sans); font-size: 12px; font-weight: 500; letter-spacing: .04em; color: var(--ml-ink-soft); margin-top: 4px; }
.ml-svc-foot { align-items: flex-end; }
/* CTA must never be pushed out by the nav */
.gh-head-actions { flex-shrink: 0; }
.ml-head-cta { flex-shrink: 0; }
@media (min-width: 1600px) { .gh-head-inner { max-width: 1680px; } }
#gh-head .gh-head-logo { margin-right: 0; }
@media (min-width: 992px) { #gh-head .gh-head-menu { margin-left: 14px !important; } }
@media (min-width: 1280px) { #gh-head .gh-head-menu { margin-left: 12px !important; } }
@media (min-width: 992px) and (max-width: 1279px) { #gh-head .gh-head-menu .nav a { font-size: 14.5px; } #gh-head .gh-head-menu .nav { gap: 0 18px !important; } }

/* ---------- Header logo: gold Candara wordmark + vector icon ---------- */
#gh-head .ml-logo { display: inline-flex !important; align-items: center; gap: 8px; text-decoration: none; white-space: nowrap; }
#gh-head .ml-logo-word { font-family: "Candara", var(--ml-sans); font-weight: 700; font-size: 28px; line-height: 1; letter-spacing: -.01em; color: var(--ml-gold) !important; }
#gh-head .ml-logo-icon { width: 38px; height: 38px; max-height: none; flex: 0 0 auto; }
@media (max-width: 1279px) { #gh-head .ml-logo-word { font-size: 25px; } #gh-head .ml-logo-icon { width: 34px; height: 34px; } }
@media (max-width: 991px) { #gh-head .ml-logo-word { font-size: 23px; } #gh-head .ml-logo-icon { width: 30px; height: 30px; } }
@media (max-width: 360px) { #gh-head .ml-logo-word { font-size: 20px; } #gh-head .ml-logo-icon { width: 26px; height: 26px; } }
@media (max-width: 400px) {
    #gh-head .gh-head-brand .gh-search { margin-left: 8px; }
    #gh-head .gh-head-brand .gh-search img { width: 22px; height: 22px; }
    #gh-head .ml-logo { gap: 5px; }
    #gh-head .gh-head-brand { column-gap: 0; }
}
@media (max-width: 340px) { #gh-head .ml-logo-word { font-size: 18px; } #gh-head .ml-logo-icon { width: 24px; height: 24px; } }

/* Hero trust row links: quiet, underline on hover */
.ml-trust a { color: inherit !important; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.22); padding-bottom: 1px; transition: color .2s, border-color .2s; }
.ml-trust a:hover, .ml-trust a:focus-visible { color: #fff !important; border-bottom-color: var(--ml-gold-300); }
.ml-trust a:focus-visible { outline-color: #fff; }

/* ---------- Service cards: in-place expand + permanentka link ---------- */
.ml-svc-grid { align-items: flex-start; }
.ml-svc-title { min-height: 2.3em; display: flex; align-items: flex-end; }
@media (max-width: 767px) { .ml-svc-title { min-height: 0; } }
.ml-svc-desc { margin: 0 0 1.25rem; }
.ml-svc-text { margin: 0 !important; overflow: hidden; }
.ml-svc-text.is-open { display: block; -webkit-line-clamp: unset; max-height: none; }
.ml-more { background: none; border: 0; padding: 6px 0 0; margin: 0; font: 600 13.5px/1.2 var(--ml-sans); color: var(--ml-gold); cursor: pointer; letter-spacing: .02em; }
.ml-more:hover { text-decoration: underline; text-underline-offset: 3px; }
.ml-more[hidden] { display: none; }
.ml-svc-foot { margin-top: 0; }
.ml-perm { font-family: var(--ml-sans); font-size: 12px; font-weight: 500; letter-spacing: .04em; color: var(--ml-ink-soft) !important; text-decoration: none; margin-top: 4px; border-bottom: 1px dotted rgba(90,83,72,.45); align-self: flex-start; }
.ml-perm:hover { color: var(--ml-gold) !important; border-bottom-color: var(--ml-gold); }
@media (prefers-reduced-motion: reduce) { .ml-svc-text { transition: none !important; } }
.ml-price { min-height: 42px; justify-content: flex-start; }
.ml-entrance { display: block; margin-top: 14px; padding-left: 12px; border-left: 2px solid var(--ml-gold-300); line-height: 1.7; } .ml-entrance strong { color: var(--ml-ink); letter-spacing: .03em; }

/* =========================================================
   Reviews: stacked deck (center card + receding side cards)
   ========================================================= */
.rv-deck-wrap { position: relative; max-width: 1100px; margin: 0 auto; }
.rv-deck { position: relative; list-style: none; margin: 0; padding: 0; height: 360px; overflow: visible;
    transition: height .6s cubic-bezier(.22,.61,.36,1); touch-action: pan-y; outline: none; user-select: none; }
.rv-deck:focus-visible { outline: 2px solid var(--ml-gold); outline-offset: 8px; border-radius: 24px; }
.rv-item { position: absolute; left: 50%; top: 50%; width: min(520px, 86%); margin: 0; padding: 0;
    transform: translate(-50%, -50%) scale(.7); opacity: 0; pointer-events: none;
    transition: transform .7s cubic-bezier(.22,.61,.36,1), opacity .6s ease, filter .6s ease; will-change: transform, opacity; }
.rv-item .rv-card { height: auto; padding: 30px 30px 24px; background: #fff; border-radius: 22px;
    box-shadow: 0 2px 6px rgba(43,38,32,.05), 0 24px 60px rgba(43,38,32,.12); border: 1px solid var(--ml-line); }
.rv-item .rv-text p { -webkit-line-clamp: 9; }
.rv-item[data-pos="0"]  { transform: translate(-50%, -50%) scale(1); opacity: 1; z-index: 5; pointer-events: auto; }
.rv-item[data-pos="-1"] { transform: translate(calc(-50% - 62%), -50%) scale(.84) rotate(-1.5deg); opacity: .55; z-index: 4; pointer-events: auto; cursor: pointer; filter: saturate(.8); }
.rv-item[data-pos="1"]  { transform: translate(calc(-50% + 62%), -50%) scale(.84) rotate(1.5deg); opacity: .55; z-index: 4; pointer-events: auto; cursor: pointer; filter: saturate(.8); }
.rv-item[data-pos="-2"] { transform: translate(calc(-50% - 104%), -50%) scale(.7) rotate(-3deg); opacity: .18; z-index: 3; }
.rv-item[data-pos="2"]  { transform: translate(calc(-50% + 104%), -50%) scale(.7) rotate(3deg); opacity: .18; z-index: 3; }
.rv-item[data-pos="-3"] { transform: translate(calc(-50% - 130%), -50%) scale(.6); opacity: 0; z-index: 2; }
.rv-item[data-pos="3"]  { transform: translate(calc(-50% + 130%), -50%) scale(.6); opacity: 0; z-index: 2; }
.rv-item[data-pos="-1"]:hover, .rv-item[data-pos="1"]:hover { opacity: .75; }
.rv-item[data-pos="0"] .rv-card::before { opacity: .16; }
.rv-deck-wrap:not(.is-ready) .rv-item { transition: none; }
.reviews-carousel-section { overflow: hidden; }
.rv-deck-wrap .rv-nav { z-index: 6; }
.rv-deck-wrap .rv-prev { left: 0; }
.rv-deck-wrap .rv-next { right: 0; }
@media (max-width: 991px) {
    .rv-item { width: min(500px, 78%); }
    .rv-item[data-pos="-1"] { transform: translate(calc(-50% - 70%), -50%) scale(.82) rotate(-1.5deg); opacity: .4; }
    .rv-item[data-pos="1"]  { transform: translate(calc(-50% + 70%), -50%) scale(.82) rotate(1.5deg); opacity: .4; }
    .rv-item[data-pos="-2"], .rv-item[data-pos="2"] { opacity: 0; }
}
@media (max-width: 767px) {
    .rv-item { width: 84%; }
    .rv-item .rv-card { padding: 24px 20px 18px; }
    .rv-item[data-pos="-1"] { transform: translate(calc(-50% - 92%), -50%) scale(.86); opacity: .35; }
    .rv-item[data-pos="1"]  { transform: translate(calc(-50% + 92%), -50%) scale(.86); opacity: .35; }
    .rv-deck-wrap .rv-nav { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .rv-deck, .rv-item { transition: none !important; }
}
.ml-addr-link { color: inherit !important; text-decoration: none; border-bottom: 1px solid var(--ml-line); } .ml-addr-link:hover { color: var(--ml-gold) !important; border-bottom-color: var(--ml-gold-300); }

/* Hero H1 = brand wordmark (Candara gold) + icon, scales with font */
.ml-hero .ml-hero-brand { display: inline-flex; align-items: center; gap: .22em; flex-wrap: nowrap;
    font-family: "Candara", var(--ml-sans); font-weight: 700; letter-spacing: -.01em;
    font-size: clamp(38px, 20px + 5.4vw, 104px); line-height: 1;
    color: var(--ml-gold) !important;
    text-shadow: 0 0 1px rgba(255,236,190,.35), 0 2px 18px rgba(0,0,0,.55), 0 0 42px rgba(255,220,150,.10); }
.ml-hero-icon { width: 1.05em; height: 1.05em; flex: 0 0 auto; filter: drop-shadow(0 0 1px rgba(255,236,190,.35)) drop-shadow(0 2px 14px rgba(0,0,0,.5)); }
@media (max-width: 360px) { .ml-hero .ml-hero-brand { font-size: 34px; } }
.ml-hero .ml-hero-brand { text-shadow: 0 0 1px rgba(255,240,205,.55), 0 0 14px rgba(255,232,180,.22), 0 3px 22px rgba(0,0,0,.6); }
.ml-hero-icon { filter: drop-shadow(0 0 1px rgba(255,240,205,.6)) drop-shadow(0 0 10px rgba(255,232,180,.22)); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
#recenze { scroll-margin-top: 72px; }

/* Hero title: luminous bright gold (header wordmark unchanged) */
.ml-hero .ml-hero-brand { text-shadow: none; color: #e2bf63 !important; }
.ml-hero .ml-hero-brand > span {
    background: linear-gradient(180deg, #fff1c4 0%, #f0d27f 38%, #d9b154 70%, #c4963a 100%);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
    filter: drop-shadow(0 0 1px rgba(255,236,180,.45)) drop-shadow(0 0 14px rgba(240,200,110,.35)) drop-shadow(0 2px 6px rgba(0,0,0,.45));
    padding-bottom: .06em;
}
.ml-hero-icon { filter: drop-shadow(0 0 1px rgba(255,236,180,.5)) drop-shadow(0 0 12px rgba(240,200,110,.35)) drop-shadow(0 2px 6px rgba(0,0,0,.45)); }

/* Homepage: logo hidden while hero title is in view (JS only; space kept, no layout shift) */
@media (min-width: 992px) {
html.ml-js .home-template #gh-head .ml-logo { transition: opacity .45s ease, transform .45s cubic-bezier(.22,.61,.36,1), visibility 0s linear 0s; }
html.ml-js .home-template:not(.ml-past-hero) #gh-head .ml-logo {
    opacity: 0; transform: translateY(-6px); visibility: hidden; pointer-events: none;
    transition: opacity .3s ease, transform .3s ease, visibility 0s linear .3s; }
@media (prefers-reduced-motion: reduce) { html.ml-js .home-template #gh-head .ml-logo { transition: none !important; transform: none !important; } }
}

/* ---------- Desktop nav: all 7 items always visible (no "…" overflow) ---------- */
@media (min-width: 992px) {
    #gh-head .gh-head-menu { min-width: 0; }
    #gh-head .gh-head-menu .nav { flex-wrap: nowrap; white-space: nowrap; }
}
@media (min-width: 992px) and (max-width: 1199px) {
    #gh-head .gh-head-inner { column-gap: 16px; padding-left: 20px; padding-right: 20px; }
    #gh-head .gh-head-menu { margin-left: 4px !important; }
    #gh-head .gh-head-menu .nav { gap: 0 13px !important; }
    #gh-head .gh-head-menu .nav a { font-size: 13.5px; }
    #gh-head .ml-logo-word { font-size: 21px; }
    #gh-head .ml-logo-icon { width: 28px; height: 28px; }
    #gh-head .ml-head-cta { margin-left: 0; padding: 10px 16px; font-size: 13.5px; }
}
@media (min-width: 1200px) and (max-width: 1439px) {
    #gh-head .gh-head-menu .nav { gap: 0 18px !important; }
    #gh-head .gh-head-menu .nav a { font-size: 14.5px; }
}

#masaze { scroll-margin-top: 72px; }
.ml-more-link { margin: 20px 0 0; font-size: 15px; }

/* ---------- Social icons: monochrome brand gold ---------- */
.ml-social { display: inline-flex; align-items: center; gap: 8px; color: var(--ml-gold) !important; text-decoration: none; transition: color .2s, opacity .2s; }
.ml-social:hover, .ml-social:focus-visible { color: #a08a2e !important; }
.ml-social-ico { display: block; }
.gh-head-actions .ml-social { padding: 6px; margin-left: 2px; }
.ml-menu-social { display: none; }

/* ---------- Mobile/tablet header (hamburger): logo left, search + burger right ---------- */
@media (max-width: 991px) {
    #gh-head .gh-head-brand { grid-template-columns: 1fr auto auto; column-gap: 4px; }
    #gh-head .gh-head-brand .gh-search { margin-left: 8px; }
    .gh-head-actions .ml-social { display: none; }
    /* socials at the bottom of the opened menu */
    .gh-head-open .ml-menu-social { display: flex; justify-content: center; gap: 28px; }
    .ml-menu-social .ml-social span { font-size: 15px; font-weight: 500; color: var(--ml-ink-soft); }
    .ml-menu-social .ml-social:hover span { color: var(--ml-gold); }
}
@media (min-width: 992px) and (max-width: 1199px) {
    #gh-head .gh-head-menu .nav { gap: 0 11px !important; }
    #gh-head .gh-head-menu .nav a { font-size: 13px; }
    .gh-head-actions .ml-social { padding: 4px; }
    .gh-head-actions .ml-social svg { width: 19px; height: 19px; }
}
@media (max-width: 991px) {
    .gh-head-open #gh-head .gh-head-menu { flex-direction: column; align-items: stretch; }
}
/* mobile: solid header (no see-through on WebKit backdrop-filter) */
@media (max-width: 991px) { .gh-head { background: #fff !important; -webkit-backdrop-filter: none; backdrop-filter: none; } }
/* legacy custom.css made the homepage header 85% transparent (filter: opacity) – content showed through */
.home-template.has-cover .gh-head { filter: none !important; }

/* ---------- Open mobile menu: full dynamic-viewport overlay, Rezervovat always visible ---------- */
@media (max-width: 991px) {
    .gh-head-open #gh-head {
        position: fixed !important; top: 0; right: 0; bottom: 0; left: 0;
        height: 100vh; height: -webkit-fill-available; height: 100dvh;
        overflow: hidden;
    }
    /* list scrolls under the fixed action bar if it doesn't fit */
    /* the list itself is the scroll area between header bar and fixed action bar
       (no fixed element inside a scrolling container – WebKit moves those with the scroll) */
    .gh-head-open #gh-head .gh-head-menu {
        position: fixed !important; top: 64px; left: 0; right: 0; bottom: var(--ml-menu-bar, 150px);
        display: flex; flex-direction: column; justify-content: safe center; align-items: center;
        padding: 16px 20px; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
    }
    .gh-head-open #gh-head .gh-head-menu .nav { margin: auto 0; }
    #gh-head .gh-head-actions .ml-menu-social .ml-social { display: inline-flex; }
    .gh-head-open #gh-head .gh-head-actions {
        position: fixed !important; top: auto !important; left: 0; right: 0; bottom: 0; height: auto !important; z-index: 5;
        flex-direction: column; align-items: stretch; gap: 14px;
        padding: 14px 20px max(16px, calc(10px + env(safe-area-inset-bottom, 0px)));
        background: #fff !important; box-shadow: 0 -1px 0 var(--ml-line);
    }
    .gh-head-open #gh-head .gh-head-actions .gh-search { display: none; }
}
@media (max-width: 991px) and (max-height: 600px) {
    .gh-head-open #gh-head .nav { gap: 8px; }
    .gh-head-open #gh-head .nav a { font-size: 21px; }
}

/* ---------- Back to top ---------- */
.ml-totop {
    position: fixed; z-index: 95;
    right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    width: 44px; height: 44px; padding: 0; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--ml-cream); color: var(--ml-gold); border: 1px solid var(--ml-gold-300);
    box-shadow: 0 6px 18px rgba(43,38,32,.12); cursor: pointer;
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s, background-color .2s, color .2s;
}
.ml-totop.is-visible { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.ml-totop:hover { background: var(--ml-gold); color: #fff; }
.ml-totop:focus-visible { outline: 2px solid var(--ml-gold); outline-offset: 3px; }
.gh-head-open .ml-totop { display: none; }
@media (max-width: 767px) {
    .ml-totop { right: calc(14px + env(safe-area-inset-right, 0px)); }
    /* homepage: stack above the sticky "Rezervovat termín" bar */
    .home-template .ml-totop { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) { .ml-totop { transition: none; } }
/* accordion anchoring is done in JS; keep the browser's own scroll anchoring out of it */
.ml-svc-grid { overflow-anchor: none; }

/* ---------- Instagram embeds (raw HTML cards) ----------
   embed.js first inserts the iframe position:absolute, 2px tall, with a 1px #dbdbdb border while it
   measures; inside Casper's content grid that lands at the grid's top-left (left of the column, near
   the page title) → brief grey line after load. Keep it invisible until rendered, centre it, and drop
   its 326px min-width (overflowed at 320px). */
.gh-content .instagram-media { min-width: 0 !important; margin: 32px auto !important; }
.gh-content iframe.instagram-media:not(.instagram-media-rendered) { visibility: hidden !important; }

/* ---------- Sticky header on all pages (progress bar + orientation) ---------- */
.gh-head { position: sticky !important; top: 0; z-index: 100; }

/* reading progress: 2px gold line on the header's bottom edge */
.ml-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; opacity: 0; z-index: 2; }
.ml-progress.is-on { opacity: 1; }
.ml-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--ml-gold-300), var(--ml-gold));
    transform: scaleX(0); transform-origin: 0 50%; will-change: transform; }
.gh-head-open .ml-progress { display: none; }

/* scroll-spy: subtle gold underline on the nav item of the section in view */
.gh-head-menu .nav li > a { position: relative; }
.gh-head-menu .nav li > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 2px; border-radius: 2px;
    background: var(--ml-gold); transform: scaleX(0); transform-origin: 50% 50%; transition: transform .3s ease; }
.gh-head-menu .nav li.ml-spy-on > a { color: var(--ml-gold) !important; }
.gh-head-menu .nav li.ml-spy-on > a::after { transform: scaleX(1); }
/* on the homepage the spy decides – Ghost marks "Masáže" (/#masaze) as current on / */
.home-template .gh-head-menu .nav li.nav-current:not(.ml-spy-on) > a { color: var(--ml-ink) !important; }
@media (prefers-reduced-motion: reduce) { .gh-head-menu .nav li > a::after { transition: none; } }

/* mobile "current section" sub-bar (homepage, hamburger widths only) */
.ml-spy { display: none; }
@media (max-width: 991px) {
    .ml-spy { display: block; position: absolute; left: 0; right: 0; top: 100%; z-index: 1;
        opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity .25s ease, transform .25s ease; }
    .ml-spy.is-on { opacity: 1; transform: none; pointer-events: auto; }
    .gh-head-open .ml-spy { display: none; }
    .ml-spy-btn { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; height: 30px; padding: 0 16px;
        border: 0; border-bottom: 1px solid var(--ml-line); background: var(--ml-cream); color: var(--ml-gold); overflow: hidden; isolation: isolate; transform: translateZ(0);
        font: 600 11.5px/1 var(--ml-sans); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
    .ml-spy-btn svg { transition: transform .2s ease; opacity: .8; }
    .ml-spy.is-open .ml-spy-btn svg { transform: rotate(180deg); }
    .ml-spy-name { display: block; min-width: 0; max-width: calc(100vw - 80px); overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
        text-align: center; opacity: 1; transition: opacity .14s ease; }
    .ml-spy-name.is-hidden { opacity: 0; }
    .ml-spy-list { list-style: none; margin: 0; padding: 6px 0; background: #fff; border-bottom: 1px solid var(--ml-line);
        box-shadow: 0 14px 30px rgba(43,38,32,.10); }
    .ml-spy-list a { display: block; padding: 11px 20px; text-align: center; color: var(--ml-ink); font: 500 15px/1.3 var(--ml-sans); text-decoration: none; }
    .ml-spy-list a.is-current { color: var(--ml-gold); }
    /* anchors land below header + sub-bar */
    .home-template section[data-spy] { scroll-margin-top: 100px; }
    /* open mobile menu: same gold underline, slightly lower */
    .gh-head-open #gh-head .nav li.ml-spy-on > a::after { bottom: -3px; left: 20%; right: 20%; }
}
@media (prefers-reduced-motion: reduce) { .ml-spy, .ml-spy-name { transition: none; } }

/* =====================================================================
   SUBPAGES (page.hbs / post.hbs): premium header, prose column, cards, CTA band
   Scoped to .ml-article so /rezervace/ (page-rezervace.hbs) stays untouched.
   ===================================================================== */
.ml-page-main { padding: 0 !important; }
.ml-article { padding: 0 0 clamp(56px, 7vw, 96px) !important; }

/* page header band */
.ml-page-head { background: linear-gradient(180deg, var(--ml-cream) 0%, #fff 100%); border-bottom: 1px solid var(--ml-line);
    padding: clamp(40px, 6vw, 80px) 20px clamp(32px, 4.5vw, 56px); margin: 0 0 clamp(36px, 5vw, 56px); text-align: center; }
.ml-page-head.has-image { padding-bottom: 0; border-bottom: 0; background: linear-gradient(180deg, var(--ml-cream) 0%, var(--ml-cream) 62%, #fff 62%); }
.ml-page-head-inner { max-width: 760px; margin: 0 auto; }
.ml-page-head .ml-eyebrow { margin: 0 0 14px; }
.ml-page-head .ml-eyebrow a { color: inherit; text-decoration: none; }
.ml-page-head .ml-eyebrow a:hover { color: var(--ml-gold-600); }
.ml-page-title { font-family: var(--ml-serif) !important; font-weight: 600; color: var(--ml-ink) !important;
    font-size: clamp(32px, 5vw, 50px); line-height: 1.12; letter-spacing: -.01em; margin: 0; text-wrap: balance; }
.ml-page-lead { margin: 18px auto 0; max-width: 60ch; color: var(--ml-ink-soft); font-size: clamp(16.5px, 1.6vw, 19px); line-height: 1.6; }
.ml-page-hero { max-width: 1100px; margin: clamp(28px, 4vw, 44px) auto 0; }
.ml-page-hero img { display: block; width: 100%; aspect-ratio: 16 / 7; object-fit: cover; border-radius: var(--ml-r-lg); box-shadow: var(--ml-shadow-lg); }
.ml-page-hero figcaption { margin-top: 10px; font-size: 12.5px; color: #8a8378; text-align: center; }
.ml-page-hero figcaption a { color: inherit; }
@media (max-width: 767px) { .ml-page-hero img { aspect-ratio: 4 / 3; border-radius: var(--ml-r); } }

/* prose column (~68ch) */
.ml-prose.gh-canvas {
    grid-template-columns: [full-start] minmax(20px, 1fr) [wide-start] minmax(0, 160px) [main-start]
        min(680px, calc(100% - 40px)) [main-end] minmax(0, 160px) [wide-end] minmax(20px, 1fr) [full-end];
}
.ml-prose { font-size: 17px; line-height: 1.75; color: var(--ml-ink-soft); }
.ml-prose p, .ml-prose li { font-size: 17px; line-height: 1.75; }
.ml-prose > * { margin-top: 0 !important; margin-bottom: 0 !important; }
.ml-prose > * + * { margin-top: 20px !important; }
.ml-prose > p:empty, .ml-prose > p:has(> br:only-child) { display: none; }
.ml-prose strong { color: var(--ml-ink); font-weight: 600; }

/* headings */
.ml-prose h2, .ml-prose h3, .ml-prose h4 { font-family: var(--ml-serif) !important; color: var(--ml-ink) !important; font-weight: 600; text-wrap: balance; }
.ml-prose h2 { font-size: clamp(25px, 3vw, 31px); line-height: 1.22; }
.ml-prose h3 { font-size: clamp(20px, 2.3vw, 23px); line-height: 1.3; }
.ml-prose h4 { font-size: 18px; }
.ml-prose > h2:not(:first-child) { margin-top: 52px !important; }
.ml-prose > h3:not(:first-child) { margin-top: 40px !important; }
.ml-prose > h2 + *, .ml-prose > h3 + *, .ml-prose > h4 + * { margin-top: 12px !important; }
.ml-prose > h2::after { content: ""; display: block; width: 44px; height: 2px; margin-top: 14px; background: var(--ml-gold-300); border-radius: 2px; }

/* links */
.ml-prose a:not(.kg-btn):not(.kg-file-card-container) { color: var(--ml-gold) !important; text-decoration: underline; text-decoration-color: var(--ml-gold-300);
    text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .2s, text-decoration-color .2s; }
.ml-prose a:not(.kg-btn):not(.kg-file-card-container):hover { color: var(--ml-gold-600) !important; text-decoration-color: currentColor; }

/* lists */
.ml-prose ul, .ml-prose ol { padding-left: 1.4em; }
.ml-prose li + li { margin-top: 8px; }
.ml-prose li::marker { color: var(--ml-gold); }
.ml-prose ol li::marker { font-weight: 600; }

/* blockquote (not Instagram embeds) */
.ml-prose blockquote:not(.instagram-media) { margin-left: 0; margin-right: 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--ml-gold-300);
    font-family: var(--ml-serif); font-style: italic; font-size: 20px; line-height: 1.55; color: var(--ml-ink); }
.ml-prose blockquote:not(.instagram-media)::before { display: none; }
.ml-prose hr { border: 0; height: 1px; background: var(--ml-line); margin: 44px 0 !important; }

/* image + gallery cards */
.ml-prose > figure, .ml-prose > .kg-card { margin-top: 36px !important; }
.ml-prose > figure + *, .ml-prose > .kg-card + * { margin-top: 36px !important; }
.ml-prose .kg-image-card img { border-radius: var(--ml-r); box-shadow: var(--ml-shadow); height: auto; }
.ml-prose .kg-gallery-image img { border-radius: var(--ml-r-sm); box-shadow: 0 4px 14px rgba(43,38,32,.08); }
.ml-prose figcaption { margin-top: 10px; font-size: 13.5px; line-height: 1.5; color: #8a8378; text-align: center; }

/* callout */
.ml-prose .kg-callout-card { display: flex; gap: 14px; align-items: flex-start; padding: 20px 22px; border-radius: var(--ml-r);
    background: var(--ml-cream) !important; border: 1px solid var(--ml-line); }
.ml-prose .kg-callout-emoji { font-size: 22px; line-height: 1.4; }
.ml-prose .kg-callout-text { font-family: var(--ml-sans) !important; font-size: 16.5px; line-height: 1.65; color: var(--ml-ink); }

/* button / toggle / file cards */
.ml-prose .kg-button-card { display: flex; justify-content: center; }
.ml-prose .kg-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border-radius: 999px;
    background: var(--ml-gold) !important; color: #fff !important; font: 600 16px/1 var(--ml-sans); text-decoration: none !important; box-shadow: 0 8px 20px rgba(120,103,33,.22); }
.ml-prose .kg-btn:hover { background: var(--ml-gold-600) !important; }
.ml-prose .kg-toggle-card { border: 1px solid var(--ml-line); border-radius: var(--ml-r); padding: 16px 20px; background: #fff; box-shadow: none; }
.ml-prose .kg-toggle-heading-text { font-family: var(--ml-sans) !important; font-size: 17px; font-weight: 600; color: var(--ml-ink); }
.ml-prose .kg-toggle-card svg { color: var(--ml-gold); }
.ml-prose .kg-file-card-container { border: 1px solid var(--ml-line) !important; border-radius: var(--ml-r) !important; background: var(--ml-cream);
    color: var(--ml-ink) !important; text-decoration: none !important; padding: 14px 18px; }
.ml-prose .kg-file-card-container:hover { border-color: var(--ml-gold-300) !important; }
.ml-prose .kg-file-card-title { font-family: var(--ml-sans); font-weight: 600; color: var(--ml-ink); }
.ml-prose .kg-file-card-icon { color: var(--ml-gold); }

/* tables (Ceník): styled, horizontal scroll on narrow screens */
.ml-prose table { display: block; width: 100%; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch;
    border-collapse: separate; border-spacing: 0; border: 1px solid var(--ml-line); border-radius: var(--ml-r); font-size: 15.5px;
    font-family: var(--ml-sans); background: #fff; }
.ml-prose table th, .ml-prose table td { padding: 12px 16px; border: 0 !important; border-bottom: 1px solid var(--ml-line) !important;
    text-align: left; vertical-align: top; white-space: nowrap; background: none !important; color: var(--ml-ink-soft); }
.ml-prose table tr:last-child td { border-bottom: 0 !important; }
.ml-prose table th, .ml-prose table:not(:has(thead)) tr:first-child td { background: var(--ml-cream) !important; color: var(--ml-ink); font-weight: 600;
    text-transform: none; letter-spacing: 0; font-size: 14.5px; }
.ml-prose table td + td, .ml-prose table th + th { font-variant-numeric: tabular-nums; }
.ml-prose table tbody tr:hover td { background: #fcfaf5 !important; }

/* embeds (map iframes etc.) */
.ml-prose iframe:not(.instagram-media) { display: block; width: 100%; max-width: 100%; border: 0; border-radius: var(--ml-r); box-shadow: var(--ml-shadow); }

/* end-of-page CTA band */
.ml-page-cta { margin-top: 0; }
.ml-page-cta-btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.ml-btn-outline-light { background: transparent; color: #fff !important; border: 1.5px solid rgba(255,255,255,.75); }
.ml-btn-outline-light:hover { background: rgba(255,255,255,.12); border-color: #fff; transform: translateY(-1px); }
@media (max-width: 480px) { .ml-page-cta-btns .ml-btn { width: 100%; } }
/* the old Casper "read more" cards don't fit the new pages */
.post-template .read-more-wrap { display: none; }
/* CTA band sits directly on the footer */
.site-content:has(.ml-page-cta) + .site-footer, .viewport:has(.ml-page-cta) .site-footer { margin-top: 0 !important; }

/* back-to-top steps aside while it would cover a CTA button */
.ml-totop.is-dodging { opacity: 0 !important; visibility: hidden !important; pointer-events: none; }
/* homepage mobile: once the sticky bar is gone (final band / footer), sit at the normal spot */
@media (max-width: 767px) { .home-template.ml-cta-off .ml-totop { bottom: calc(20px + env(safe-area-inset-bottom, 0px)); } }
