/*
Theme Name: Absolute Czech
Theme URI: https://absolute-czech.com
Author: Absolute Czech
Description: Custom theme for Absolute Czech. Cream, ink and gold palette with Cormorant Garamond and Outfit.
Version: 3.0.2
Text Domain: absolute-czech
*/

:root {
    --cream: #f7f0ec;
    --cream-deep: #efe4dc;
    --ivory: #fbf7f4;
    --ink: #2c2825;
    --ink-soft: #3f3935;
    --taupe: #6f675f;
    --line: #e4d6cc;
    --gold: #b8956a;
    --gold-deep: #8d7048;
    --header: #1c1917;
    --on-dark: rgba(247, 240, 236, 0.8);
    --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    --font-sans: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --radius: 12px;
}

/* ------------------------------------------------------------------
   Base
------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
    margin: 0;
    background: var(--cream);
    color: var(--ink-soft);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - var(--wp-admin--admin-bar--height, 0px));
}
main { flex: 1 0 auto; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 500; color: var(--ink); }
p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
::selection { background: #e8d3b8; color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.screen-reader-text {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
    clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.ac-skip { position: absolute; left: -9999px; top: 0; z-index: 100; padding: 10px 16px; background: var(--ink); color: var(--cream); }
.ac-skip:focus { left: 8px; top: 8px; }

.ac-container { width: min(1120px, calc(100% - 2rem)); margin-inline: auto; }
.ac-section { padding-block: 56px; }
@media (min-width: 1024px) { .ac-section { padding-block: 72px; } }
.ac-band { border-block: 1px solid var(--line); background: var(--ivory); }
.ac-dark { background: var(--ink); color: var(--cream); }

/* ------------------------------------------------------------------
   Type helpers
------------------------------------------------------------------- */
.ac-eyebrow { font-size: 12px; line-height: 16px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-deep); }
.ac-eyebrow-dark { color: var(--gold); }
.ac-h1 { font-size: clamp(40px, 6vw, 56px); line-height: 1; }
.ac-h2 { font-size: 36px; line-height: 40px; }
.ac-h2-dark { color: var(--cream); }
.ac-lead { margin-top: 16px; max-width: 40rem; color: var(--taupe); }

/* ------------------------------------------------------------------
   Buttons
------------------------------------------------------------------- */
.ac-btn {
    display: inline-flex; align-items: center; justify-content: center;
    height: 44px; padding: 0 20px; border: 1px solid transparent;
    font-size: 14px; letter-spacing: 0.025em; line-height: 1; white-space: nowrap;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.ac-btn-gold { background: var(--gold); color: var(--ink); }
.ac-btn-gold:hover { background: #c4a27a; }
.ac-btn-line { border-color: rgba(247, 240, 236, 0.4); color: var(--cream); }
.ac-btn-line:hover { border-color: var(--cream); }
.ac-btn-outline { border-color: var(--gold); color: var(--ink); }
.ac-btn-outline:hover { background: var(--gold); }
.ac-btn-dark { background: var(--ink); color: var(--cream); }
.ac-btn-dark:hover { background: var(--ink-soft); }

/* ------------------------------------------------------------------
   Top bar + header
------------------------------------------------------------------- */
.ac-topbar { background: var(--header); color: var(--cream); }
.ac-topbar-inner { display: flex; height: 40px; align-items: center; justify-content: space-between; gap: 16px; font-size: 12px; letter-spacing: 0.025em; }
.ac-topbar a:hover { color: var(--gold); }
.ac-topbar-right { display: flex; align-items: center; gap: 16px; }
.ac-lang { display: flex; gap: 8px; letter-spacing: 0.08em; }
.ac-lang strong { font-weight: 500; }
.ac-lang span { opacity: 0.55; }

.ac-header {
    position: sticky; top: 0; z-index: 40;
    border-bottom: 1px solid var(--line);
    background: rgba(251, 247, 244, 0.95);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}
.admin-bar .ac-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .ac-header { top: 46px; } }

.ac-header-inner { display: flex; height: 64px; align-items: center; justify-content: space-between; gap: 24px; }
.ac-logo { display: flex; align-items: center; gap: 8px; color: var(--ink); }
.ac-logo svg { color: var(--gold); }
.ac-logo-text { font-family: var(--font-display); font-size: 20px; line-height: 28px; letter-spacing: 0.18em; }
.ac-logo-text span { color: var(--gold); }

.ac-nav { display: none; font-size: 14px; color: var(--taupe); }
.ac-nav-list { display: flex; align-items: center; gap: 20px; }
.ac-nav a:hover, .ac-nav .current-menu-item > a, .ac-nav .current-menu-ancestor > a { color: var(--ink); }

.ac-menu-btn {
    display: grid; width: 44px; height: 44px; place-items: center;
    border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink);
}
.ac-mobile-nav { border-top: 1px solid var(--line); background: var(--ivory); }
.ac-mobile-nav .ac-container { padding-block: 8px 16px; }
.ac-mobile-nav-list { display: flex; flex-direction: column; }
.ac-mobile-nav-list a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; color: var(--ink); }

@media (min-width: 1024px) {
    .ac-nav { display: block; }
    .ac-menu-btn { display: none; }
    .ac-mobile-nav { display: none !important; }
}
@media (max-width: 480px) {
    .ac-topbar-email { display: none; }
    .ac-topbar-inner { justify-content: flex-end; }
}

/* ------------------------------------------------------------------
   Hero
------------------------------------------------------------------- */
.ac-hero { background: var(--ink); color: var(--cream); }
.ac-hero-grid { display: grid; align-items: center; gap: 32px; padding-block: 48px; }
.ac-hero-copy { padding-block: 24px; }
.ac-hero h1 { margin-top: 12px; font-size: 48px; line-height: 0.95; color: var(--cream); }
.ac-hero-sub { margin-top: 16px; max-width: 28rem; font-size: 18px; line-height: 28px; color: var(--on-dark); }
.ac-hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.ac-hero-media { position: relative; height: 288px; overflow: hidden; background: #3a332e; }

.ac-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
/* Optional slow zoom (Customizer): no extra download, only a transform */
.ac-hero-media.is-zoom .ac-hero-img { transform-origin: 50% 40%; animation: ac-hero-zoom 24s ease-in-out infinite alternate; }
@keyframes ac-hero-zoom { from { transform: scale(1); } to { transform: scale(1.08); } }
/* Optional video loop: hidden until it really plays, then fades in over the identical first frame */
.ac-hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; opacity: 0; transition: opacity 0.6s ease; }
.ac-hero-video.is-playing { opacity: 1; }
.ac-hero-pause {
    position: absolute; right: 12px; bottom: 12px; z-index: 2; display: grid; place-items: center; width: 34px; height: 34px; padding: 0;
    border: 1px solid rgba(247, 240, 236, 0.45); border-radius: 50%; background: rgba(28, 25, 23, 0.45); color: var(--cream);
    opacity: 0.75; transition: opacity 0.2s;
}
.ac-hero-pause:hover, .ac-hero-pause:focus-visible { opacity: 1; }
.ac-hero-pause svg { color: inherit; }
.ac-hero-pause .ac-i-play, .ac-hero-pause.is-paused .ac-i-pause { display: none; }
.ac-hero-pause.is-paused .ac-i-play { display: block; }

@media (min-width: 640px) {
    .ac-hero h1 { font-size: 72px; }
    .ac-hero-media { height: auto; aspect-ratio: 3 / 2; }   /* tablets: the whole picture or video, not a thin strip */
}
@media (min-width: 1024px) {
    .ac-hero-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-block: 0; }
    .ac-hero-copy { padding-block: 64px; }
    .ac-hero h1 { font-size: clamp(44px, 4.7vw, 60px); }
    .ac-hero-media { height: 520px; aspect-ratio: auto; }
}

/* Photo placeholders (until real photos are uploaded) */
.ac-ph { overflow: hidden; }
.ac-ph::after {
    content: ""; position: absolute; inset: 0;
    background:
        radial-gradient(circle at 50% 34%, rgba(255, 255, 255, 0.38), transparent 46%),
        radial-gradient(circle at 50% 92%, rgba(60, 40, 30, 0.28), transparent 56%);
}
.ac-ph-0 { background: linear-gradient(155deg, #dcc7b0, #b8956a 58%, #6b5336); }
.ac-ph-1 { background: linear-gradient(155deg, #e7d3c6, #c9a58f 58%, #7d5a49); }
.ac-ph-2 { background: linear-gradient(155deg, #e2d6c8, #bba98f 58%, #6f675f); }
.ac-ph-3 { background: linear-gradient(155deg, #ecd9d0, #cfae9f 58%, #8a6a5e); }
.ac-ph-4 { background: linear-gradient(155deg, #dccfbf, #b3a086 58%, #5f5648); }
.ac-ph-5 { background: linear-gradient(155deg, #eadbcd, #c8ac8a 58%, #7a6045); }

.ac-photo {
    position: relative; display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 22%;
    border-radius: var(--radius); background-color: var(--cream-deep);
}

/* No public photo yet: one shared picture (Customizer), softly blurred, with a sharp label written over it */
.ac-ph-photo { display: grid; place-items: center; overflow: hidden; isolation: isolate; container-type: inline-size; }
.ac-ph-photo.has-image { background-color: var(--header); }
.ac-ph-img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%;
    filter: blur(2.8px) saturate(0.9) brightness(1.05);
    filter: blur(0.77cqi) saturate(0.9) brightness(1.05);   /* the same softness on a small card and on a profile */
    transform: scale(1.1);   /* hides the see-through rim the blur leaves along the edges */
}
.ac-ph-photo::after, .ac-vip-cover::after {
    content: ""; position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 80% 22% at 50% 50%, rgba(20, 17, 15, 0.4), rgba(20, 17, 15, 0)),
        rgba(20, 17, 15, 0.08);
}
.ac-ph-label {   /* set like the site's headings, e.g. the companion's name on a profile */
    position: relative; z-index: 1; width: 82%;
    display: flex; flex-direction: column; align-items: center; gap: 0.35em;
    padding: 0.6em 0; border-block: 1px solid rgba(233, 213, 181, 0.7);
    font-family: var(--font-display); font-size: 18px; font-size: clamp(15px, 8.4cqi, 36px); font-weight: 500;
    line-height: 1.1; letter-spacing: 0.025em; text-align: center; text-wrap: balance; color: var(--cream);
    text-shadow: 0 1px 12px rgba(20, 17, 15, 0.55);
}
.ac-ph-label svg { color: inherit; }
.ac-to-vip { display: block; }

/* ------------------------------------------------------------------
   Homepage sections (texts and order: Customize → Úvodní stránka)
------------------------------------------------------------------- */
.ac-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 32px; }
.ac-head-text { max-width: 44rem; }
.ac-head .ac-eyebrow { margin-bottom: 10px; }
.ac-head .ac-lead { margin-top: 12px; }
.ac-head-link { padding-bottom: 4px; white-space: nowrap; }
.ac-head + .ac-card-grid, .ac-head + .ac-steps, .ac-head + .ac-gallery { margin-top: 32px; }
.ac-split .ac-head + .ac-copy { margin-top: 16px; }

.ac-gallery-home { margin-top: 32px; }
@media (min-width: 1024px) { .ac-gallery.ac-gallery-home { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ac-home-more { margin-top: 40px; text-align: center; }
.ac-gcard .ac-photo { transition: opacity 0.2s; }
.ac-gcard:hover .ac-photo { opacity: 0.92; }

.ac-card-arrow { color: var(--gold-deep); font-family: var(--font-sans); font-size: 16px; }

.ac-faq-wrap { display: grid; gap: 28px; }
@media (min-width: 1024px) { .ac-faq-wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 64px; align-items: start; } }
.ac-faq { border-top: 1px solid var(--line); }
.ac-faq-item { border-bottom: 1px solid var(--line); }
.ac-faq-item summary {
    display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 0; cursor: pointer; list-style: none;
    font-family: var(--font-display); font-size: 22px; font-weight: 500; line-height: 1.3; color: var(--ink);
}
.ac-faq-item summary::-webkit-details-marker { display: none; }
.ac-faq-item summary::marker { content: ""; }
.ac-faq-item summary:hover { color: var(--gold-deep); }
.ac-faq-icon { position: relative; flex: none; width: 14px; height: 14px; }
.ac-faq-icon::before, .ac-faq-icon::after { content: ""; position: absolute; top: 50%; left: 0; width: 14px; height: 1px; background: var(--gold-deep); transition: transform 0.2s; }
.ac-faq-icon::after { transform: rotate(90deg); }
.ac-faq-item[open] .ac-faq-icon::after { transform: rotate(0deg); }
.ac-faq-a { max-width: 42rem; padding-bottom: 20px; font-size: 15px; line-height: 1.7; color: var(--taupe); }
.ac-faq-a p + p { margin-top: 10px; }

.ac-cta { border-block: 1px solid var(--line); background: var(--ivory); text-align: center; }
.ac-cta-inner { padding-block: 64px; }
.ac-cta .ac-head { justify-content: center; }
.ac-cta .ac-head-text { margin-inline: auto; }
.ac-cta .ac-lead { margin-inline: auto; }
.ac-cta-actions { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
@media (min-width: 1024px) { .ac-cta-inner { padding-block: 88px; } }

/* Services page (template "Services list") and one service */
.ac-services-intro { margin-top: 16px; }
.ac-services-intro p { color: var(--taupe); }
.ac-services { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .ac-services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .ac-services { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.ac-service { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ivory); }
.ac-service:not(.has-image) { border-top: 2px solid var(--gold); }
.ac-service-media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--cream-deep); }
.ac-service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.ac-service-media:hover img { transform: scale(1.03); }
.ac-service-body { display: flex; flex: 1; flex-direction: column; padding: 22px 22px 24px; }
.ac-service-title { font-size: 28px; line-height: 1.15; }
.ac-service-title a:hover { color: var(--gold-deep); }
.ac-service-body p { margin-top: 10px; font-size: 14px; line-height: 1.6; color: var(--taupe); }
.ac-service-actions { margin-top: auto; padding-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.ac-service-page .ac-page-head .ac-eyebrow a:hover { color: var(--ink); }
.ac-service-hero { margin-top: 32px; overflow: hidden; border-radius: var(--radius); aspect-ratio: 16 / 9; background: var(--cream-deep); }
.ac-service-hero img { width: 100%; height: 100%; object-fit: cover; }
.ac-service-text { margin-top: 32px; }

/* About the agency (SEO text) with expander */
.ac-intro-inner { max-width: 46rem; }
.ac-intro-inner > p, .ac-intro .ac-more-body p { margin-top: 16px; font-size: 16px; line-height: 1.8; color: var(--taupe); }
.ac-more { margin-top: 24px; }
.ac-more summary { display: inline-flex; cursor: pointer; list-style: none; }
.ac-more summary::-webkit-details-marker { display: none; }
.ac-more summary::marker { content: ""; }
.ac-more-body { padding-top: 8px; }

/* ------------------------------------------------------------------
   Trust strip + cards
------------------------------------------------------------------- */
.ac-trust-grid { display: grid; gap: 32px; padding-block: 56px; grid-template-columns: 1fr; }
.ac-trust svg, .ac-card svg, .ac-profile svg { color: var(--gold); }
.ac-trust h3 { margin-top: 12px; font-size: 14px; line-height: 20px; letter-spacing: 0.16em; text-transform: uppercase; }
.ac-trust p { margin-top: 8px; font-size: 14px; line-height: 20px; color: var(--taupe); }
@media (min-width: 640px) { .ac-trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .ac-trust-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.ac-card-grid { margin-top: 32px; display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .ac-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .ac-card-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 768px) { .ac-card-grid.cols-3-md { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.ac-card { display: block; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ivory); }
.ac-card h3 { margin-top: 12px; font-size: 24px; line-height: 32px; }
.ac-card p { margin-top: 8px; font-size: 14px; line-height: 20px; color: var(--taupe); }
a.ac-card { transition: border-color 0.2s; }
a.ac-card:hover { border-color: var(--gold); }
.ac-card .ac-card-meta { margin-top: 0; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-deep); }

/* ------------------------------------------------------------------
   Booking steps
------------------------------------------------------------------- */
.ac-steps { margin-top: 32px; display: grid; gap: 24px; grid-template-columns: 1fr; }
.ac-step-num { font-family: var(--font-display); font-size: 30px; line-height: 36px; color: var(--gold); }
.ac-step p { margin-top: 8px; font-size: 14px; line-height: 20px; color: var(--on-dark); }
@media (min-width: 640px) { .ac-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .ac-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ac-steps-light .ac-step p { color: var(--taupe); }
.ac-steps-light .ac-step-num { color: var(--gold-deep); }

/* ------------------------------------------------------------------
   Reviews
------------------------------------------------------------------- */
.ac-link { font-size: 14px; color: var(--gold-deep); }
.ac-link:hover { color: var(--ink); }
.ac-quote { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ivory); }
.ac-quote p { font-size: 14px; line-height: 20px; }
.ac-quote footer { margin-top: 16px; font-size: 12px; letter-spacing: 0.025em; text-transform: uppercase; color: var(--taupe); }
.ac-quote footer a { color: var(--gold-deep); }

.ac-quote-line { margin-top: 16px; padding-left: 16px; border-left: 2px solid var(--gold); }
.ac-quote-line p { font-size: 14px; line-height: 22px; }
.ac-quote-line footer { margin-top: 6px; font-size: 12px; letter-spacing: 0.025em; text-transform: uppercase; color: var(--taupe); }

/* ------------------------------------------------------------------
   Travel cities
------------------------------------------------------------------- */
.ac-split { display: grid; align-items: center; gap: 32px; padding-block: 56px; }
.ac-split p.ac-copy { margin-top: 16px; max-width: 28rem; color: var(--taupe); }
.ac-split .ac-btn { margin-top: 24px; }
.ac-cities { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); font-size: 14px; }
.ac-cities li { padding: 20px 16px; border: 1px solid var(--line); background: var(--cream); text-align: center; font-family: var(--font-display); font-size: 24px; line-height: 32px; color: var(--ink); }
@media (min-width: 640px) { .ac-cities { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .ac-split { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ------------------------------------------------------------------
   Page heads, gallery, profile
------------------------------------------------------------------- */
.ac-page-head { padding-top: 56px; }
.ac-page-head .ac-h1 { margin-top: 12px; }

.ac-filters { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; font-size: 13px; color: var(--taupe); }
.ac-filters label { display: inline-flex; align-items: center; gap: 8px; }
.ac-filters select {
    height: 36px; padding: 0 28px 0 12px; border: 1px solid var(--line); border-radius: 6px;
    background: var(--ivory); font-size: 13px; color: var(--ink);
}

.ac-gallery { margin-top: 32px; padding-bottom: 8px; display: grid; gap: 24px 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ac-gcard { display: block; }
.ac-gcard-row { margin-top: 8px; display: flex; justify-content: space-between; gap: 8px; font-size: 14px; color: var(--ink); }
.ac-gcard-city { margin-top: 2px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--taupe); }
.ac-chip { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--cream-deep); font-size: 11px; letter-spacing: 0.04em; color: var(--taupe); }
@media (min-width: 768px) { .ac-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; } }

.ac-profile { padding-block: 48px 0; }
.ac-profile-grid { display: grid; gap: 32px; }
.ac-profile-body h1 { margin-top: 8px; font-size: clamp(40px, 6vw, 56px); line-height: 1; }
.ac-specs { margin-top: 24px; display: grid; gap: 16px 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ac-specs dt { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--taupe); }
.ac-specs dd { margin-top: 2px; font-size: 14px; font-weight: 500; color: var(--ink); }
.ac-profile-body .ac-prose { margin-top: 24px; }
.ac-rates { margin-top: 28px; max-width: 26rem; border-top: 1px solid var(--line); }
.ac-rate { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.ac-rate span:last-child { color: var(--ink); font-variant-numeric: tabular-nums; }
.ac-note { margin-top: 8px; font-size: 12px; color: var(--taupe); }
.ac-profile-actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; }
.ac-profile-reviews { margin-top: 40px; }
.ac-profile-reviews h2 { font-size: 30px; line-height: 36px; }
@media (min-width: 640px) { .ac-specs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .ac-profile-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; } }

/* ------------------------------------------------------------------
   Profile photos, VIP gallery, lightbox
------------------------------------------------------------------- */
.ac-profile-media { display: grid; gap: 16px; align-content: start; min-width: 0; }
.ac-photos { display: grid; gap: 10px; }
.ac-zoom { position: relative; display: block; cursor: zoom-in; }
.ac-zoom .ac-photo { transition: opacity 0.2s; }
.ac-zoom:hover .ac-photo { opacity: 0.94; }
.ac-thumbs { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); }
.ac-thumbs a { display: block; overflow: hidden; aspect-ratio: 3 / 4; border-radius: 8px; background: var(--cream-deep); cursor: zoom-in; }
.ac-thumbs img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; transition: transform 0.35s ease; }
.ac-thumbs a:hover img { transform: scale(1.04); }

.ac-vip { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ivory); }
.ac-vip-head { display: flex; align-items: center; gap: 14px; }
.ac-vip-head-text { min-width: 0; flex: 1; }
.ac-vip-icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--cream-deep); color: var(--gold-deep); }
.ac-vip-icon svg { color: inherit; }
.ac-vip-title { font-size: 26px; line-height: 28px; }
.ac-vip-title:focus { outline: none; }
.ac-vip-count { margin-top: 2px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--taupe); }
.ac-vip-text { margin-top: 14px; font-size: 14px; line-height: 20px; color: var(--taupe); }
.ac-vip-form { margin-top: 14px; display: flex; gap: 8px; }
.ac-vip-form input {
    flex: 1; min-width: 0; height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 6px;
    background: #fff; font-size: 14px; color: var(--ink);
}
.ac-vip-form input:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(184, 149, 106, 0.25); }
.ac-vip-form .ac-btn { flex: none; }
.ac-vip-form .ac-btn:disabled { opacity: 0.6; cursor: wait; }
.ac-vip-msg { margin-top: 10px; font-size: 13px; color: #9b3b2e; }
.ac-vip-note { margin-top: 10px; font-size: 12px; color: var(--taupe); }
.ac-vip.is-checking .ac-vip-locked { visibility: hidden; }
.ac-vip-grid { margin-top: 16px; display: grid; gap: 8px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ac-vip-grid a { display: block; overflow: hidden; aspect-ratio: 3 / 4; border-radius: 8px; background: var(--cream-deep); cursor: zoom-in; }
.ac-vip-grid img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; transition: transform 0.35s ease; }
.ac-vip-grid a:hover img { transform: scale(1.04); }
.ac-vip-lock-btn {
    flex: none; padding: 4px 0; border: 0; background: none; font-size: 13px; letter-spacing: 0.02em;
    color: var(--gold-deep); text-decoration: underline; text-underline-offset: 3px;
}
.ac-vip-lock-btn:hover { color: var(--ink); }
.ac-vip-lock-btn:disabled { opacity: 0.5; cursor: wait; }
/* Locked VIP card: the blurred placeholder picture as a preview, with the title and photo count over it */
.ac-vip-cover {
    position: relative; display: grid; place-items: center; margin: -20px -20px 0; aspect-ratio: 16 / 10;
    overflow: hidden; isolation: isolate; container-type: inline-size;
    border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0; background-color: var(--header);
}
.ac-vip-cover .ac-ph-img { object-position: 50% 32%; }
.ac-vip-cover .ac-ph-label { width: 72%; font-size: clamp(22px, 8cqi, 36px); }
.ac-vip-cover .ac-vip-title { font: inherit; letter-spacing: inherit; color: inherit; }
.ac-vip-cover .ac-vip-count {   /* like the small gold line above headings on dark backgrounds */
    margin: 0; font-family: var(--font-sans); font-size: 12px; line-height: 16px; letter-spacing: 0.2em; color: var(--gold);
}
.ac-vip-cover + .ac-vip-text { margin-top: 18px; }

.ac-lb {
    position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center;
    padding: 56px 72px; background: rgba(20, 17, 15, 0.96); animation: ac-lb-in 0.18s ease;
}
.admin-bar .ac-lb { top: 32px; }
@media (max-width: 782px) { .admin-bar .ac-lb { top: 46px; } }
.ac-lb-stage { margin: 0; display: flex; align-items: center; justify-content: center; max-width: 100%; max-height: 100%; }
.ac-lb-img {
    max-width: min(100%, 1100px); max-height: calc(100vh - 112px); width: auto; height: auto; object-fit: contain;
    border-radius: 4px; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7); transition: opacity 0.2s;
}
.ac-lb-img.is-loading { opacity: 0.35; }
.ac-lb-btn {
    position: absolute; display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
    border: 1px solid rgba(247, 240, 236, 0.35); border-radius: 50%; background: rgba(28, 25, 23, 0.6); color: var(--cream);
    transition: border-color 0.2s, background-color 0.2s;
}
.ac-lb-btn:hover { border-color: var(--cream); background: rgba(28, 25, 23, 0.9); }
.ac-lb-close { top: 16px; right: 16px; }
.ac-lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.ac-lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.ac-lb-count { position: absolute; right: 0; bottom: 18px; left: 0; text-align: center; font-size: 12px; letter-spacing: 0.14em; color: rgba(247, 240, 236, 0.7); }
html.ac-lb-open { overflow: hidden; }
@keyframes ac-lb-in { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 640px) {
    .ac-lb { padding: 56px 8px 72px; }
    .ac-lb-prev, .ac-lb-next { top: auto; bottom: 14px; transform: none; }
    .ac-lb-prev { left: 16px; }
    .ac-lb-next { right: 16px; }
}

/* Booking page */
.ac-channels { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.ac-booking-note { margin-top: 24px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ivory); font-size: 14px; color: var(--ink); }
.ac-booking-body { padding-block: 8px 0; }
.ac-booking-body > * { max-width: 46rem; }

/* ------------------------------------------------------------------
   Editorial text (pages, posts)
------------------------------------------------------------------- */
.ac-prose { max-width: 46rem; font-size: 16px; line-height: 1.8; color: var(--ink-soft); }
.ac-prose > * + * { margin-top: 1.1em; }
.ac-prose h2 { margin-top: 1.8em; font-size: 32px; line-height: 1.15; }
.ac-prose h3 { margin-top: 1.6em; font-size: 24px; line-height: 1.2; }
.ac-prose a { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 3px; }
.ac-prose ul { list-style: disc; padding-left: 1.25em; }
.ac-prose ol { list-style: decimal; padding-left: 1.25em; }
.ac-prose blockquote { padding-left: 16px; border-left: 2px solid var(--gold); font-family: var(--font-display); font-size: 22px; line-height: 1.4; color: var(--ink); }
.ac-prose img { border-radius: var(--radius); }
.ac-prose figure { max-width: 100%; }
.ac-prose figcaption { margin-top: 6px; font-size: 13px; color: var(--taupe); }
.ac-page-body { padding-block: 32px 0; }
.ac-post-image { margin-top: 28px; overflow: hidden; border-radius: var(--radius); }

.navigation.pagination { margin-top: 40px; }
.navigation.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; }
.navigation.pagination .page-numbers { padding: 8px 14px; border: 1px solid var(--line); border-radius: 6px; background: var(--ivory); color: var(--ink); }
.navigation.pagination .page-numbers.current { border-color: var(--gold); background: var(--gold); }

/* ------------------------------------------------------------------
   Footer
------------------------------------------------------------------- */
.ac-footer { margin-top: 80px; background: var(--header); color: var(--cream); }
.ac-footer-grid { display: grid; gap: 32px; padding-block: 48px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.ac-footer-brand { font-family: var(--font-display); font-size: 24px; line-height: 32px; color: var(--cream); }
.ac-footer-text { margin-top: 12px; max-width: 20rem; font-size: 14px; line-height: 20px; color: rgba(247, 240, 236, 0.7); }
.ac-footer-title { font-size: 14px; color: var(--gold); }
.ac-footer-links { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--on-dark); }
.ac-footer-links a:hover { color: var(--cream); }
.ac-footer-line { margin-top: 12px; font-size: 14px; color: var(--on-dark); }
.ac-footer-line + .ac-footer-links { margin-top: 12px; }

.ac-directories { padding-block: 28px; border-top: 1px solid rgba(247, 240, 236, 0.12); }
.ac-directories-label { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(247, 240, 236, 0.5); }
.ac-directories-list { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.ac-directories-list img { max-height: 60px; width: auto; }

.ac-footer-bottom {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
    padding-block: 20px; border-top: 1px solid rgba(247, 240, 236, 0.12);
    font-size: 12px; color: rgba(247, 240, 236, 0.5);
}
.ac-footer-bottom a:hover { color: var(--cream); }

/* ------------------------------------------------------------------
   Cookie notice
------------------------------------------------------------------- */
.ac-cookie {
    display: none; position: fixed; left: 50%; bottom: 20px; z-index: 60; transform: translateX(-50%);
    width: min(640px, calc(100% - 32px)); align-items: center; gap: 16px; padding: 14px 18px;
    border: 1px solid var(--line); border-radius: var(--radius); background: var(--ivory);
    box-shadow: 0 18px 40px -18px rgba(44, 40, 37, 0.35); font-size: 13px; line-height: 1.45; color: var(--taupe);
}
.ac-cookie.is-visible { display: flex; }
.ac-cookie p { flex: 1; }
.ac-cookie a { text-decoration: underline; color: var(--ink); }
.ac-cookie-actions { display: flex; flex-shrink: 0; gap: 8px; }
.ac-cookie .ac-btn { height: 36px; padding: 0 14px; font-size: 13px; }
@media (max-width: 560px) {
    .ac-cookie.is-visible { flex-direction: column; align-items: stretch; }
    .ac-cookie-actions { justify-content: flex-end; }
}

/* ------------------------------------------------------------------
   Motion preferences
------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .ac-hero-media.is-zoom .ac-hero-img { animation: none; }
    .ac-lb { animation: none; }
    .ac-thumbs img, .ac-vip-grid img, .ac-lb-img { transition: none; }
}
