/* ================================================================
   Classic — warm heritage hotel / B&B, modern craft.
   Loaded ONLY when site.template == "classic" (body.tpl-classic).

   Character: ivory paper, deep heritage colour bands, brass details,
   a large book-face serif, arched photo frames, numbered features and
   a photo mosaic. Calm, generous spacing; no glass, no gradients-for-
   the-sake-of-it.

   Colour rules (why nothing here is a fixed colour):
   - Everything derives from the owner's theme colours (--primary,
     --secondary, --accent, --text, --bg).
   - "Deep" bands (dark/accent sections, booking banner, footer) use
     the primary colour forced dark, so light text on them always reads.
   - Small brass text on paper uses the accent forced darker, so it
     passes contrast even when the owner picks a pale accent.
   - Text on a primary-coloured button is black or white, whichever reads.
   Relative colour syntax (oklch(from …)) does the forcing; browsers
   without it get color-mix() fallbacks declared first.

   Reveal animation only hides content once classic.js has added
   html.classic-js — if JavaScript fails, everything is visible.
   ================================================================ */

/* ================================= */
/* 0. TOKENS                          */
/* ================================= */

.tpl-classic {
    /* Fallbacks (no relative colour syntax) */
    --cl-deep: color-mix(in srgb, var(--primary, #2f4a3c) 62%, #000);
    --cl-deep-2: color-mix(in srgb, var(--primary, #2f4a3c) 50%, #000);
    --cl-brass-ink: color-mix(in srgb, var(--accent, #b08a55) 62%, #000);
    --cl-brass-light: color-mix(in srgb, var(--accent, #b08a55) 55%, #fff);
    --cl-on-primary: #fff;

    --cl-paper: var(--bg, #fbf8f3);
    --cl-paper-alt: color-mix(in srgb, var(--bg, #fbf8f3) 93%, var(--accent, #b08a55));
    --cl-paper-card: color-mix(in srgb, var(--bg, #fbf8f3) 55%, #fff);
    --cl-ink: var(--text, #2a2420);
    --cl-ink-soft: color-mix(in srgb, var(--text, #2a2420) 82%, var(--bg, #fbf8f3));
    --cl-line: color-mix(in srgb, var(--text, #2a2420) 14%, transparent);
    --cl-line-strong: color-mix(in srgb, var(--text, #2a2420) 26%, transparent);
    --cl-on-deep: #f8f3ea;
    --cl-on-deep-soft: rgba(248, 243, 234, 0.78);
    --cl-on-deep-line: rgba(248, 243, 234, 0.18);

    --cl-radius-img: 2px;
    --cl-arch: 999px 999px var(--cl-radius-img) var(--cl-radius-img) / 52% 52% var(--cl-radius-img) var(--cl-radius-img);
    --cl-ease: cubic-bezier(0.22, 0.61, 0.36, 1);

    /* Hero defaults — the page editor can override any of these inline */
    --hero-overlay-gradient: linear-gradient(180deg, rgba(20, 16, 12, 0.18) 0%, rgba(20, 16, 12, 0.32) 45%, rgba(20, 16, 12, 0.74) 100%);
    --hero-h1-color: #fff;
    --hero-p-color: rgba(255, 255, 255, 0.88);
    --hero-content-width: 760px;
    --hero-text-align: left;
    --hero-align-items: flex-end;
    --hero-justify: flex-start;
}
@supports (color: oklch(from red l c h)) {
    .tpl-classic {
        --cl-deep: oklch(from var(--primary, #2f4a3c) min(l, 0.3) min(c, 0.09) h);
        --cl-deep-2: oklch(from var(--primary, #2f4a3c) min(l, 0.24) min(c, 0.08) h);
        --cl-brass-ink: oklch(from var(--accent, #b08a55) min(l, 0.5) c h);
        --cl-brass-light: oklch(from var(--accent, #b08a55) max(l, 0.8) c h);
        --cl-on-primary: oklch(from var(--primary, #2f4a3c) clamp(0, (0.68 - l) * 1000, 1) 0 0);
    }
}

/* ================================= */
/* 1. TYPE                            */
/* ================================= */

.tpl-classic {
    color: var(--cl-ink);
    background: var(--cl-paper);
    -webkit-font-smoothing: antialiased;
}
.tpl-classic .pub-section h2,
.tpl-classic .pub-page-hero-title,
.tpl-classic .pub-hero-content h1 {
    font-family: var(--font-heading);
    font-weight: 500;
    letter-spacing: -0.005em;
}
.tpl-classic .pub-section h2 {
    font-size: clamp(2rem, 3.6vw, 3rem);
    line-height: 1.12;
    margin-bottom: 18px;
    color: var(--cl-ink);
}
.tpl-classic .pub-section h3 {
    font-family: var(--font-heading);
    font-weight: 500;
    letter-spacing: 0;
}
.tpl-classic .pub-section p,
.tpl-classic .pub-section li {
    color: var(--cl-ink-soft);
}
.tpl-classic .pub-section-subtitle {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--cl-ink-soft);
    max-width: 620px;
}

/* Eyebrow — small capitals between hairlines */
.tpl-classic .pub-section-tag {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-family: var(--font-body);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--cl-brass-ink);
    margin-bottom: 16px;
}
.tpl-classic .pub-section-tag::before,
.tpl-classic .pub-section-tag::after {
    content: "";
    width: 28px;
    height: 1px;
    background: currentColor;
    opacity: 0.55;
}

/* Section headings that introduce a grid sit centred */
.tpl-classic .pub-container > .pub-reveal:has(> .pub-section-tag),
.tpl-classic .pub-section-header {
    text-align: center;
    margin-bottom: 44px;
}
.tpl-classic .pub-container > .pub-reveal:has(> .pub-section-tag) .pub-section-subtitle,
.tpl-classic .pub-section-header .pub-section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

/* ================================= */
/* 2. SECTION RHYTHM + SURFACES       */
/* ================================= */

.tpl-classic .pub-section {
    padding: 104px 0;
    background-color: var(--cl-paper);
}
.tpl-classic .pub-section-hero { padding: 0; background: var(--cl-paper); }
.tpl-classic .pub-container { max-width: 1160px; padding: 0 28px; }

/* Paper alternates with a slightly warmer parchment */
.tpl-classic .pub-section-alt:not(.pub-section-cta_banner) {
    background-color: var(--cl-paper-alt) !important;
}
/* Two parchment sections in a row read as one: drop the doubled gap */
.tpl-classic .pub-section-alt + .pub-section-alt { padding-top: 0; }

/* Deep bands — dark + accent sections */
.tpl-classic .pub-section-dark,
.tpl-classic .pub-section-accent {
    background: var(--cl-deep) !important;
    color: var(--cl-on-deep);
}
.tpl-classic .pub-section-accent { background: var(--cl-deep-2) !important; }
.tpl-classic :is(.pub-section-dark, .pub-section-accent) :is(h1, h2, h3, h4) { color: var(--cl-on-deep); }
.tpl-classic :is(.pub-section-dark, .pub-section-accent) :is(p, li, .pub-section-subtitle, .pub-card-text) { color: var(--cl-on-deep-soft); }
.tpl-classic :is(.pub-section-dark, .pub-section-accent) .pub-section-tag { color: var(--cl-brass-light); }
.tpl-classic :is(.pub-section-dark, .pub-section-accent) a:not(.pub-btn) { color: var(--cl-brass-light); }

/* Owner-picked custom colour / image with "light text" ticked: keep base, just tidy */
.tpl-classic .pub-section-light-text .pub-section-tag { color: rgba(255, 255, 255, 0.78); }

@media (max-width: 768px) {
    .tpl-classic .pub-section:not(.pub-section-hero):not(.pub-section-cta_banner):not(.pub-section-book_now) { padding: 68px 0; }
    .tpl-classic .pub-section-alt + .pub-section-alt { padding-top: 0; }
    .tpl-classic .pub-container { padding: 0 20px; }
    .tpl-classic .pub-container > .pub-reveal:has(> .pub-section-tag),
    .tpl-classic .pub-section-header { margin-bottom: 32px; }
}

/* ================================= */
/* 3. BUTTONS                         */
/* ================================= */
/* Shape (radius) follows the owner's button style choice — not set here. */

.tpl-classic .pub-btn {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 16px 30px;
    background: var(--primary);
    color: var(--cl-on-primary);
    border: 1px solid var(--primary);
    box-shadow: none;
    transition: background-color 0.3s var(--cl-ease), color 0.3s var(--cl-ease), border-color 0.3s var(--cl-ease), transform 0.3s var(--cl-ease);
}
.tpl-classic .pub-btn:hover { transform: translateY(-1px); opacity: 1; filter: brightness(1.08); }
.tpl-classic .pub-btn-ghost {
    background: transparent;
    color: inherit;
    border-color: currentColor;
}
.tpl-classic .pub-btn-ghost:hover { filter: none; }
.tpl-classic .pub-btn:focus-visible { outline: 2px solid var(--cl-brass-ink); outline-offset: 3px; }

/* ================================= */
/* 4. NAV                             */
/* ================================= */

.tpl-classic .pub-header.nav-solid {
    background: var(--nav-bg, var(--cl-paper));
    border-bottom: 1px solid var(--cl-line);
    box-shadow: none;
}
.tpl-classic .pub-header.nav-solid .pub-logo {
    color: var(--nav-text, var(--cl-ink));
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 24px;
    letter-spacing: 0.01em;
}
@media (min-width: 769px) {
    .tpl-classic .pub-header.nav-solid .pub-nav a {
        color: var(--nav-text, var(--cl-ink));
        font-family: var(--nav-font-family, var(--font-body));
        font-size: var(--nav-font-size, 12.5px);
        font-weight: var(--nav-font-weight, 600);
        letter-spacing: 0.14em;
        text-transform: uppercase;
        opacity: 0.78;
        padding: 6px 0;
        border-bottom: 1px solid transparent;
        transition: opacity 0.25s ease, border-color 0.25s ease, color 0.25s ease;
    }
    .tpl-classic .pub-header.nav-solid .pub-nav a:hover,
    .tpl-classic .pub-header.nav-solid .pub-nav a.active {
        color: var(--nav-hover-color, var(--nav-text, var(--cl-ink)));
        opacity: 1;
        border-bottom-color: var(--nav-underline-color, var(--cl-brass-ink));
    }
}
@media (max-width: 768px) {
    .tpl-classic .pub-header.nav-solid .pub-nav a {
        color: var(--nav-text, var(--cl-ink));
        font-family: var(--nav-font-family, var(--font-body));
        font-weight: var(--nav-font-weight, 600);
        letter-spacing: 0.08em;
        text-transform: uppercase;
        font-size: 13px;
    }
    .tpl-classic .pub-header.nav-solid .pub-nav {
        background: var(--mobile-nav-bg, var(--nav-bg, var(--cl-paper)));
        border-bottom: 1px solid var(--cl-line);
    }
}
.tpl-classic .pub-header.nav-solid .pub-nav-toggle { color: var(--burger-color, var(--nav-text, var(--cl-ink))); }
.tpl-classic .pub-header .pub-nav-admin-btn {
    background: var(--login-btn-bg, transparent);
    color: var(--login-btn-color, var(--nav-text, var(--cl-ink)));
    border: 1px solid var(--login-btn-border, var(--cl-line-strong));
    border-radius: var(--login-btn-radius, 2px);
}

/* Transparent-over-hero nav stays a paper bar for Classic (the hero is framed) */
.tpl-classic .pub-nav-hero-transparent {
    background: var(--nav-bg, var(--cl-paper)) !important;
    border-bottom: 1px solid var(--cl-line) !important;
    box-shadow: none !important;
}
.tpl-classic .pub-nav-hero-transparent .pub-logo,
.tpl-classic .pub-nav-hero-transparent .pub-nav a {
    color: var(--nav-text, var(--cl-ink));
    text-shadow: none;
}
.tpl-classic .nav-transparent.scrolled,
.tpl-classic .pub-nav-hero-transparent.scrolled,
.tpl-classic .pub-nav-hero-transparent.pub-nav-scrolled {
    background: var(--nav-bg, var(--cl-paper)) !important;
    border-bottom: 1px solid var(--cl-line);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: 0 6px 24px -18px rgba(0, 0, 0, 0.35) !important;
}
.tpl-classic .nav-transparent.scrolled :is(.pub-logo, .pub-nav a),
.tpl-classic .pub-nav-hero-transparent.scrolled :is(.pub-logo, .pub-nav a),
.tpl-classic .pub-nav-hero-transparent.pub-nav-scrolled :is(.pub-logo, .pub-nav a) {
    color: var(--nav-text, var(--cl-ink));
    text-shadow: none;
}

/* ================================= */
/* 5. HERO — framed photograph        */
/* ================================= */

.tpl-classic .pub-section-hero .pub-container { max-width: none; padding: 0; }
.tpl-classic .pub-section-hero .pub-hero {
    margin: 18px 18px 0;
    border-radius: var(--cl-radius-img);
    min-height: var(--hero-height, min(86vh, 860px));
    padding: var(--hero-padding, 72px clamp(28px, 6vw, 88px) 76px);
    background-color: var(--hero-bg, var(--cl-deep));
}
.tpl-classic .pub-hero-overlay { background: var(--hero-overlay-gradient); }
.tpl-classic .pub-hero-content { max-width: var(--hero-content-width); }
.tpl-classic .pub-hero-content h1 {
    font-size: clamp(2.6rem, 6vw, 5.2rem);
    line-height: 1.02;
    color: var(--hero-h1-color);
    margin-bottom: 20px;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.25);
}
.tpl-classic .pub-hero-content p {
    font-size: clamp(1.02rem, 1.6vw, 1.22rem);
    line-height: 1.65;
    color: var(--hero-p-color);
    max-width: 560px;
    margin-bottom: 32px;
}
.tpl-classic .pub-hero[style*="--hero-text-align: center"] .pub-hero-content p,
.tpl-classic .pub-hero[style*="--hero-text-align:center"] .pub-hero-content p {
    margin-left: auto;
    margin-right: auto;
}
/* Badge reads as an eyebrow, not a pill */
.tpl-classic .pub-section-hero .pub-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    border: 0;
    padding: 0;
    margin-bottom: 22px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
}
.tpl-classic .pub-section-hero .pub-hero-badge::before {
    content: "";
    width: 36px;
    height: 1px;
    background: currentColor;
}
/* Hero buttons — solid paper + outline, readable on any photo */
.tpl-classic .pub-section-hero .pub-btn {
    background: var(--cl-paper);
    color: var(--cl-ink);
    border-color: var(--cl-paper);
}
.tpl-classic .pub-section-hero .pub-btn-ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.7);
}
.tpl-classic .pub-section-hero .pub-hero-cta-group { gap: 12px; }
.tpl-classic .pub-section-hero .pub-hero:not([style*="background-image"]) {
    background-image: radial-gradient(120% 90% at 20% 10%, color-mix(in srgb, var(--cl-deep) 70%, var(--accent, #b08a55)) 0%, var(--cl-deep) 60%, var(--cl-deep-2) 100%);
}
/* Booking card overlaps the bottom of the hero: keep the hero's buttons and side note clear of it */
.tpl-classic .pub-section-hero:has(+ .pub-section-book_now) .pub-hero { padding-bottom: 136px; }
.tpl-classic .pub-section-hero:has(+ .pub-section-book_now) .pub-hero-side-note { bottom: 112px; }
@media (max-width: 768px) {
    .tpl-classic .pub-section-hero:has(+ .pub-section-book_now) .pub-hero { padding-bottom: 44px; }
    .tpl-classic .pub-section-hero .pub-hero {
        margin: 0;
        border-radius: 0;
        min-height: var(--hero-height, 78vh);
        padding: var(--hero-padding, 56px 22px 44px);
    }
    .tpl-classic .pub-hero-content h1 { font-size: clamp(2.3rem, 10.5vw, 3.2rem); }
    .tpl-classic .pub-section-hero .pub-hero-cta-group { flex-direction: column; align-items: stretch; width: 100%; }
    .tpl-classic .pub-section-hero .pub-hero-cta-group .pub-btn { text-align: center; }
}

/* ================================= */
/* 6. SUB-PAGE TITLE                  */
/* ================================= */

.tpl-classic .pub-page-hero {
    background: var(--cl-paper);
    padding: 88px 0 56px;
    border-bottom: 1px solid var(--cl-line);
    text-align: center;
}
.tpl-classic .pub-page-hero::before { display: none; }
.tpl-classic .pub-page-hero-title {
    color: var(--cl-ink);
    font-size: clamp(2.6rem, 6vw, 4.4rem);
    line-height: 1.04;
    margin-bottom: 14px;
}
.tpl-classic .pub-page-hero-title::before {
    content: "\25C6";
    display: block;
    font-size: 10px;
    color: var(--cl-brass-ink);
    margin-bottom: 22px;
    letter-spacing: 0;
}
.tpl-classic .pub-page-hero-subtitle {
    color: var(--cl-ink-soft);
    font-size: 1.05rem;
    max-width: 600px;
}
@media (max-width: 768px) {
    .tpl-classic .pub-page-hero { padding: 60px 0 40px; }
}

/* ================================= */
/* 7. BOOKING BAR                     */
/* ================================= */

.tpl-classic .pub-section.pub-section-book_now {
    padding: 0 0 8px;
    background: var(--cl-paper) !important;
}
.tpl-classic .pub-book-now { background: transparent; }
.tpl-classic .pub-book-now-inner {
    background: var(--cl-paper-card);
    border: 1px solid var(--cl-line);
    border-radius: var(--cl-radius-img);
    padding: 30px 34px;
    max-width: 1040px;
    margin: -64px auto 0;
    position: relative;
    z-index: 5;
    box-shadow: 0 30px 60px -40px rgba(0, 0, 0, 0.35);
}
.tpl-classic .pub-section-hero + .pub-section-book_now .pub-book-now-inner { margin-top: -64px; }
.tpl-classic .pub-section:not(.pub-section-hero) + .pub-section-book_now .pub-book-now-inner,
.tpl-classic .pub-section-book_now:first-child .pub-book-now-inner { margin-top: 48px; }
.tpl-classic .pub-section-book_now { padding-bottom: 8px; }
.tpl-classic .pub-book-now-header { margin-bottom: 18px; text-align: left; }
.tpl-classic .pub-book-now-header h2,
.tpl-classic .pub-section-book_now h2 {
    font-size: 1.6rem;
    margin-bottom: 4px;
    color: var(--cl-ink);
}
.tpl-classic .pub-book-now-header p { color: var(--cl-ink-soft); font-size: 0.95rem; margin: 0; }
.tpl-classic .pub-book-now-fields { display: flex; gap: 14px; align-items: flex-end; flex-wrap: wrap; }
.tpl-classic .pub-book-now-field { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 140px; }
.tpl-classic .pub-book-now-field label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--cl-brass-ink);
}
.tpl-classic .pub-input {
    border-radius: var(--cl-radius-img);
    border: 1px solid var(--cl-line-strong);
    background: var(--cl-paper);
    color: var(--cl-ink);
    padding: 13px 14px;
    font-size: 15px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.tpl-classic .pub-input::placeholder { color: color-mix(in srgb, var(--cl-ink) 50%, transparent); }
.tpl-classic .pub-input:focus {
    outline: none;
    border-color: var(--cl-brass-ink);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent, #b08a55) 22%, transparent);
}
.tpl-classic .pub-book-now-btn { flex-shrink: 0; white-space: nowrap; }
@media (max-width: 768px) {
    .tpl-classic .pub-book-now-inner,
    .tpl-classic .pub-section-hero + .pub-section-book_now .pub-book-now-inner { margin-top: 0; padding: 24px 20px; border-left: 0; border-right: 0; box-shadow: none; }
    .tpl-classic .pub-section.pub-section-book_now { padding: 0; }
    .tpl-classic .pub-section.pub-section-book_now .pub-container { padding: 0; }
    .tpl-classic .pub-book-now-fields { flex-direction: column; align-items: stretch; }
    .tpl-classic .pub-book-now-field { min-width: 0; }
}

/* ================================= */
/* 8. ABOUT — arched photograph       */
/* ================================= */

.tpl-classic .pub-about { gap: clamp(40px, 7vw, 96px); align-items: center; }
.tpl-classic .pub-about-text h2 { font-size: clamp(2.1rem, 3.8vw, 3.1rem); }
.tpl-classic .pub-about-body { font-size: 1.04rem; line-height: 1.85; color: var(--cl-ink-soft); }
.tpl-classic .pub-about-body > p:first-child,
.tpl-classic .pub-about-body > :first-child {
    font-family: var(--font-heading);
    font-size: 1.32rem;
    line-height: 1.55;
    color: var(--cl-ink);
}
.tpl-classic :is(.pub-section-dark, .pub-section-accent) .pub-about-body { color: var(--cl-on-deep-soft); }
.tpl-classic :is(.pub-section-dark, .pub-section-accent) .pub-about-body > :first-child { color: var(--cl-on-deep); }
.tpl-classic .pub-about-body::first-line { font-weight: inherit; color: inherit; font-size: inherit; }
.tpl-classic .pub-about-image {
    position: relative;
    background: transparent;
    padding: 0 0 18px 18px;
}
.tpl-classic .pub-about-image::after {
    content: "";
    position: absolute;
    inset: 18px 18px 0 0;
    border: 1px solid var(--cl-brass-ink);
    border-radius: var(--cl-arch);
    opacity: 0.55;
    pointer-events: none;
    z-index: 0;
}
.tpl-classic .pub-about-image img {
    position: relative;
    z-index: 1;
    width: 100%;
    max-height: none;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: var(--cl-arch) !important;
    box-shadow: none;
    transition: transform 0.8s var(--cl-ease);
}
.tpl-classic .pub-about-image:hover img { transform: none; box-shadow: none; }
.tpl-classic .pub-about--no-frame .pub-about-image::after { display: none; }
.tpl-classic .pub-about-ratio--landscape .pub-about-image img,
.tpl-classic .pub-about--stacked .pub-about-image img { aspect-ratio: 16 / 10; border-radius: var(--cl-radius-img) !important; }
.tpl-classic .pub-about--stacked .pub-about-image::after,
.tpl-classic .pub-about-ratio--landscape .pub-about-image::after { border-radius: var(--cl-radius-img); }
.tpl-classic .pub-about .pub-section-tag { margin-bottom: 14px; }
@media (max-width: 768px) {
    .tpl-classic .pub-about-image { padding: 0 0 12px 12px; max-width: 460px; margin: 0 auto; }
    .tpl-classic .pub-about-image::after { inset: 12px 12px 0 0; }
}

/* ================================= */
/* 9. FEATURES — numbered columns     */
/* ================================= */

.tpl-classic .pub-cards-grid {
    counter-reset: cl-feature;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0;
    border-top: 1px solid var(--cl-line);
}
.tpl-classic .pub-card {
    counter-increment: cl-feature;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 34px 30px 10px;
    position: relative;
}
.tpl-classic .pub-card + .pub-card { border-left: 1px solid var(--cl-line); }
.tpl-classic .pub-card:hover { transform: none; box-shadow: none; }
.tpl-classic .pub-card::before {
    content: counter(cl-feature, upper-roman);
    display: block;
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.5rem;
    color: var(--cl-brass-ink);
    margin-bottom: 14px;
}
.tpl-classic .pub-card-title {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1.5rem;
    line-height: 1.2;
    color: var(--cl-ink);
    margin-bottom: 10px;
}
.tpl-classic .pub-card-text { font-size: 0.98rem; line-height: 1.75; color: var(--cl-ink-soft); }
.tpl-classic .pub-card-icon { color: var(--cl-brass-ink); width: 34px; height: 34px; }
.tpl-classic .pub-card-image { border-radius: var(--cl-arch); }
.tpl-classic .pub-card-image img { border-radius: var(--cl-arch); }
.tpl-classic :is(.pub-section-dark, .pub-section-accent) .pub-cards-grid { border-top-color: var(--cl-on-deep-line); }
.tpl-classic :is(.pub-section-dark, .pub-section-accent) .pub-card + .pub-card { border-left-color: var(--cl-on-deep-line); }
.tpl-classic :is(.pub-section-dark, .pub-section-accent) .pub-card { background: transparent; border-top: 0; border-right: 0; border-bottom: 0; }
.tpl-classic :is(.pub-section-dark, .pub-section-accent) .pub-card::before { color: var(--cl-brass-light); }
.tpl-classic :is(.pub-section-dark, .pub-section-accent) .pub-card-title { color: var(--cl-on-deep); }
@media (max-width: 768px) {
    .tpl-classic .pub-cards-grid { grid-template-columns: 1fr; border-top: 0; }
    .tpl-classic .pub-card { padding: 26px 0 22px; border-top: 1px solid var(--cl-line); }
    .tpl-classic .pub-card + .pub-card { border-left: 0; }
    .tpl-classic :is(.pub-section-dark, .pub-section-accent) .pub-card { border-top: 1px solid var(--cl-on-deep-line); }
}

/* ================================= */
/* 10. ROOMS — arched cards           */
/* ================================= */

.tpl-classic .pub-rooms-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
    gap: 56px 36px;
    margin-top: 8px;
}
.tpl-classic .pub-room-card {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    display: flex;
    flex-direction: column;
}
.tpl-classic .pub-room-card:hover { transform: none; box-shadow: none; }
.tpl-classic .pub-room-image {
    border-radius: var(--cl-arch);
    overflow: hidden;
    background: color-mix(in srgb, var(--cl-paper-alt) 70%, var(--accent, #b08a55));
}
.tpl-classic .pub-room-image::after { display: none; }
.tpl-classic .pub-room-image img {
    height: auto;
    aspect-ratio: 4 / 4.6;
    border-radius: 0 !important;
    transition: transform 1s var(--cl-ease);
}
.tpl-classic .pub-room-card:hover .pub-room-image img { transform: scale(1.04); }
/* A room without a photo gets a quiet arched panel instead of a bare text box */
.tpl-classic .pub-room-card:not(:has(.pub-room-image))::before {
    content: "\25C6";
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 4.6;
    border-radius: var(--cl-arch);
    background: color-mix(in srgb, var(--cl-paper-alt) 70%, var(--accent, #b08a55));
    color: var(--cl-brass-ink);
    font-size: 14px;
}
.tpl-classic .pub-room-badge {
    left: 50%;
    right: auto;
    top: auto;
    bottom: 16px;
    transform: translateX(-50%);
    background: var(--cl-paper);
    color: var(--cl-ink);
    border-radius: 999px;
    padding: 7px 16px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 6px 18px -8px rgba(0, 0, 0, 0.4);
}
.tpl-classic .pub-room-badge small { font-weight: 500; opacity: 0.7; }
.tpl-classic .pub-room-info {
    padding: 24px 4px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    background: transparent;
}
.tpl-classic .pub-room-info h3 { font-size: 1.65rem; line-height: 1.2; margin-bottom: 8px; color: var(--cl-ink); }
.tpl-classic .pub-room-info p { font-size: 0.97rem; line-height: 1.7; color: var(--cl-ink-soft); margin-bottom: 14px; }
.tpl-classic .pub-room-meta {
    border-top: 0;
    padding-top: 0;
    gap: 18px;
    justify-content: center;
    font-size: 13px;
    letter-spacing: 0.04em;
    color: var(--cl-ink-soft);
}
.tpl-classic .pub-room-occupancy,
.tpl-classic .pub-room-occupancy svg { color: var(--cl-ink-soft); stroke: currentColor; }
.tpl-classic .pub-room-price { font-weight: 700; color: var(--cl-ink); font-size: 14px; }
.tpl-classic .pub-btn-room {
    margin-top: auto;
    align-self: center;
    background: transparent;
    color: var(--cl-ink);
    border: 1px solid var(--cl-line-strong);
    padding: 13px 26px;
    margin-top: 18px;
}
.tpl-classic .pub-btn-room:hover { background: var(--primary); color: var(--cl-on-primary); border-color: var(--primary); filter: none; }
.tpl-classic .pub-view-all-rooms {
    display: inline-block;
    margin-top: 28px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--cl-ink);
    text-decoration: none;
    border: 0;
    border-bottom: 1px solid var(--cl-brass-ink);
    border-radius: 0;
    padding: 0 0 6px;
    background: transparent;
}
.tpl-classic .pub-view-all-rooms:hover { color: var(--cl-brass-ink); background: transparent; }
.tpl-classic .pub-property-heading { font-family: var(--font-heading); font-weight: 500; font-size: 1.8rem; }
.tpl-classic :is(.pub-section-dark, .pub-section-accent) .pub-room-info h3,
.tpl-classic :is(.pub-section-dark, .pub-section-accent) .pub-room-price { color: var(--cl-on-deep); }
.tpl-classic :is(.pub-section-dark, .pub-section-accent) .pub-room-occupancy,
.tpl-classic :is(.pub-section-dark, .pub-section-accent) .pub-room-meta { color: var(--cl-on-deep-soft); }
.tpl-classic :is(.pub-section-dark, .pub-section-accent) .pub-btn-room { color: var(--cl-on-deep); border-color: var(--cl-on-deep-line); }
.tpl-classic :is(.pub-section-dark, .pub-section-accent) .pub-view-all-rooms { color: var(--cl-on-deep); border-bottom-color: var(--cl-brass-light); }
/* Room card style options from the editor keep working */
.tpl-classic .pub-room-card--horizontal { flex-direction: row; gap: 28px; }
.tpl-classic .pub-room-card--horizontal .pub-room-info { text-align: left; align-items: flex-start; }
.tpl-classic .pub-room-card--overlay .pub-room-info { text-align: left; align-items: flex-start; }
@media (max-width: 768px) {
    .tpl-classic .pub-rooms-grid { gap: 44px; }
    .tpl-classic .pub-room-image img,
    .tpl-classic .pub-room-card:not(:has(.pub-room-image))::before { aspect-ratio: 4 / 3.6; }
    .tpl-classic .pub-room-card--horizontal { flex-direction: column; }
}

/* ================================= */
/* 11. GALLERY — mosaic (any count)   */
/* ================================= */
/* First photo is the feature; the rest fill a 4-column grid with no gaps
   or lonely last photo, whatever the number of photos. */

.tpl-classic .pub-gallery:not(.pub-gallery-masonry) {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
    grid-auto-flow: dense;
    gap: 10px;
}
.tpl-classic .pub-gallery:not(.pub-gallery-masonry) > .pub-gallery-item { border-radius: var(--cl-radius-img); }
.tpl-classic .pub-gallery:not(.pub-gallery-masonry) > .pub-gallery-item img {
    height: 100%;
    min-height: 100%;
    border-radius: var(--cl-radius-img) !important;
    transition: transform 1s var(--cl-ease);
}
.tpl-classic .pub-gallery:not(.pub-gallery-masonry) > .pub-gallery-item:hover img { transform: scale(1.04); }
.tpl-classic .pub-gallery:not(.pub-gallery-masonry) > .pub-gallery-item:first-child { grid-column: span 2; grid-row: span 2; }
/* 1 photo: full width */
.tpl-classic .pub-gallery:not(.pub-gallery-masonry) > .pub-gallery-item:only-child { grid-column: 1 / -1; }
/* 2 photos: two halves */
.tpl-classic .pub-gallery:not(.pub-gallery-masonry):has(> :last-child:nth-child(2)) > .pub-gallery-item { grid-column: span 2; grid-row: span 2; }
/* 3 photos: feature + two wide */
.tpl-classic .pub-gallery:not(.pub-gallery-masonry):has(> :last-child:nth-child(3)) > .pub-gallery-item:not(:first-child) { grid-column: span 2; }
/* 4 photos: feature, two small, one wide */
.tpl-classic .pub-gallery:not(.pub-gallery-masonry):has(> :last-child:nth-child(4)) > .pub-gallery-item:last-child { grid-column: span 2; }
/* 6+ photos: the last row is completed by widening its last photo(s) */
.tpl-classic .pub-gallery:not(.pub-gallery-masonry) > .pub-gallery-item:last-child:nth-child(4n+6) { grid-column: 1 / -1; }
.tpl-classic .pub-gallery:not(.pub-gallery-masonry):has(> :last-child:nth-child(4n+7)) > .pub-gallery-item:nth-last-child(-n+2) { grid-column: span 2; }
.tpl-classic .pub-gallery:not(.pub-gallery-masonry) > .pub-gallery-item:last-child:nth-child(4n+8) { grid-column: span 2; }
.tpl-classic .pub-gallery-caption {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.55), transparent);
    color: #fff;
    font-size: 13px;
    letter-spacing: 0.04em;
}
@media (max-width: 768px) {
    .tpl-classic .pub-gallery:not(.pub-gallery-masonry) { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; gap: 8px; }
    .tpl-classic .pub-gallery:not(.pub-gallery-masonry) > .pub-gallery-item,
    .tpl-classic .pub-gallery:not(.pub-gallery-masonry) > .pub-gallery-item:not(:first-child) { grid-column: span 1; grid-row: span 1; }
    .tpl-classic .pub-gallery:not(.pub-gallery-masonry) > .pub-gallery-item:first-child { grid-column: 1 / -1; grid-row: span 2; }
    .tpl-classic .pub-gallery:not(.pub-gallery-masonry) > .pub-gallery-item:last-child:nth-child(even) { grid-column: 1 / -1; }
}

/* ================================= */
/* 12. AMENITIES — refined list       */
/* ================================= */

.tpl-classic .pub-amenities-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0 48px;
    max-width: 980px;
    margin: 0 auto;
}
.tpl-classic .pub-amenity-item {
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
    gap: 16px;
    padding: 18px 0;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--cl-line);
    border-radius: 0;
    box-shadow: none;
}
.tpl-classic .pub-amenity-item:hover { transform: none; box-shadow: none; background: transparent; }
.tpl-classic .pub-amenity-icon {
    width: 22px;
    height: 22px;
    margin: 0;
    background: transparent;
    color: var(--cl-brass-ink);
    flex-shrink: 0;
}
.tpl-classic .pub-amenity-icon svg { width: 22px; height: 22px; stroke-width: 1.5; }
.tpl-classic .pub-amenity-item span { font-size: 15px; font-weight: 500; color: var(--cl-ink); letter-spacing: 0; }
.tpl-classic :is(.pub-section-dark, .pub-section-accent) .pub-amenity-item { border-bottom-color: var(--cl-on-deep-line); }
.tpl-classic :is(.pub-section-dark, .pub-section-accent) .pub-amenity-item span { color: var(--cl-on-deep); }
.tpl-classic :is(.pub-section-dark, .pub-section-accent) .pub-amenity-icon { color: var(--cl-brass-light); }
@media (max-width: 900px) { .tpl-classic .pub-amenities-grid { grid-template-columns: repeat(2, 1fr); gap: 0 28px; } }
@media (max-width: 480px) { .tpl-classic .pub-amenities-grid { grid-template-columns: 1fr; } }

/* ================================= */
/* 13. TESTIMONIALS — quotations      */
/* ================================= */

.tpl-classic .pub-testimonials { gap: 40px; }
.tpl-classic .pub-testimonial {
    background: transparent;
    border: 0;
    border-top: 1px solid var(--cl-line-strong);
    border-radius: 0;
    box-shadow: none;
    padding: 30px 0 0;
}
.tpl-classic .pub-testimonial:hover { transform: none; box-shadow: none; }
.tpl-classic .pub-testimonial-quote {
    position: static;
    display: block;
    font-family: var(--font-heading);
    font-size: 3.6rem;
    line-height: 0.6;
    height: 28px;
    color: var(--cl-brass-ink);
    opacity: 1;
}
.tpl-classic .pub-testimonial p {
    font-family: var(--font-heading);
    font-size: 1.28rem;
    line-height: 1.55;
    font-style: italic;
    color: var(--cl-ink);
}
.tpl-classic .pub-testimonial-stars svg { fill: var(--cl-brass-ink); }
.tpl-classic .pub-testimonial-avatar { background: var(--cl-deep); color: var(--cl-on-deep); box-shadow: none; }
.tpl-classic .pub-testimonial-author { font-weight: 700; color: var(--cl-ink); font-style: normal; }
.tpl-classic .pub-testimonial-role { color: var(--cl-ink-soft); }
.tpl-classic :is(.pub-section-dark, .pub-section-accent) .pub-testimonial { border-top-color: var(--cl-on-deep-line); background: transparent; }
.tpl-classic :is(.pub-section-dark, .pub-section-accent) :is(.pub-testimonial p, .pub-testimonial-author) { color: var(--cl-on-deep); }
.tpl-classic :is(.pub-section-dark, .pub-section-accent) .pub-testimonial-role { color: var(--cl-on-deep-soft); }
.tpl-classic :is(.pub-section-dark, .pub-section-accent) .pub-testimonial-quote { color: var(--cl-brass-light); }

/* ================================= */
/* 14. FAQ                            */
/* ================================= */

.tpl-classic .pub-faq { max-width: 780px; margin: 0 auto; border-top: 1px solid var(--cl-line-strong); }
.tpl-classic .pub-faq-item { border-bottom: 1px solid var(--cl-line); padding: 0; background: transparent; border-radius: 0; }
.tpl-classic .pub-faq-item summary {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 500;
    padding: 24px 0;
    color: var(--cl-ink);
    gap: 20px;
}
.tpl-classic .pub-faq-item summary::after {
    content: "+";
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--cl-line-strong);
    border-radius: 50%;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1;
    color: var(--cl-brass-ink);
    transform: none;
    transition: transform 0.3s var(--cl-ease), background-color 0.3s ease;
}
.tpl-classic .pub-faq-item[open] summary::after { content: "+"; transform: rotate(45deg); }
.tpl-classic .pub-faq-item summary:hover { color: var(--cl-brass-ink); }
.tpl-classic .pub-faq-item .pub-faq-answer { padding: 0 52px 26px 0; }
.tpl-classic .pub-faq-item p { font-size: 1rem; line-height: 1.8; color: var(--cl-ink-soft); margin: 0; }
.tpl-classic :is(.pub-section-dark, .pub-section-accent) .pub-faq { border-top-color: var(--cl-on-deep-line); }
.tpl-classic :is(.pub-section-dark, .pub-section-accent) .pub-faq-item { border-bottom-color: var(--cl-on-deep-line); }
.tpl-classic :is(.pub-section-dark, .pub-section-accent) .pub-faq-item summary { color: var(--cl-on-deep); }
.tpl-classic :is(.pub-section-dark, .pub-section-accent) .pub-faq-item summary::after { color: var(--cl-brass-light); border-color: var(--cl-on-deep-line); }
@media (max-width: 768px) {
    .tpl-classic .pub-faq-item summary { font-size: 1.12rem; padding: 20px 0; }
    .tpl-classic .pub-faq-item .pub-faq-answer { padding-right: 0; }
}

/* ================================= */
/* 15. CALL TO ACTION — deep band     */
/* ================================= */

.tpl-classic .pub-section-cta_banner { padding: 0; background: var(--cl-deep) !important; }
.tpl-classic .pub-section-cta_banner .pub-container { max-width: none; padding: 0; }
.tpl-classic .pub-cta {
    background: var(--cl-deep);
    color: var(--cl-on-deep);
    border-radius: 0;
    padding: 112px 28px;
    text-align: center;
    position: relative;
}
.tpl-classic .pub-section-accent .pub-cta { background: var(--cl-deep-2); }
.tpl-classic .pub-cta::before {
    content: "\25C6";
    display: block;
    position: static;
    inset: auto;
    background: none;
    width: auto;
    height: auto;
    font-size: 11px;
    color: var(--cl-brass-light);
    margin-bottom: 26px;
    opacity: 1;
}
.tpl-classic .pub-cta::after { display: none; }
.tpl-classic .pub-cta h2 {
    font-size: clamp(2.2rem, 4.6vw, 3.6rem);
    color: var(--cl-on-deep);
    max-width: 820px;
    margin: 0 auto 16px;
}
.tpl-classic .pub-cta p,
.tpl-classic .pub-cta .pub-cta-subtitle {
    color: var(--cl-on-deep-soft);
    font-size: 1.08rem;
    max-width: 560px;
    margin: 0 auto 34px;
}
.tpl-classic .pub-cta .pub-btn { background: var(--cl-on-deep); color: var(--cl-deep); border-color: var(--cl-on-deep); }
.tpl-classic .pub-cta .pub-btn-ghost { background: transparent; color: var(--cl-on-deep); border-color: var(--cl-on-deep-line); }
.tpl-classic .pub-cta-buttons { gap: 12px; justify-content: center; }
@media (max-width: 768px) { .tpl-classic .pub-cta { padding: 80px 22px; } }

/* ================================= */
/* 16. STATS                          */
/* ================================= */

.tpl-classic .pub-stat-number {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: clamp(2.6rem, 5vw, 3.8rem);
    color: var(--cl-ink);
    text-shadow: none;
}
.tpl-classic .pub-stat-label { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cl-brass-ink); }
.tpl-classic :is(.pub-section-dark, .pub-section-accent) .pub-stat-number { color: var(--cl-on-deep); }
.tpl-classic :is(.pub-section-dark, .pub-section-accent) .pub-stat-label { color: var(--cl-brass-light); }

/* ================================= */
/* 17. TEXT, VIDEO, CHECK-IN          */
/* ================================= */

.tpl-classic .pub-section-text_block .pub-container > .pub-reveal { max-width: 760px; margin: 0 auto; }
.tpl-classic .pub-text { font-size: 1.04rem; line-height: 1.85; color: var(--cl-ink-soft); }
.tpl-classic .pub-video-wrapper { border-radius: var(--cl-radius-img); }
.tpl-classic .pub-checkin-lookup { text-align: center; max-width: 560px; margin: 0 auto; }
.tpl-classic .pub-checkin-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--cl-brass-ink);
    color: var(--cl-brass-ink);
}
.tpl-classic .pub-checkin-icon svg { width: 26px; height: 26px; stroke: currentColor; }
.tpl-classic .pub-checkin-instructions { color: var(--cl-ink-soft); font-size: 1rem; line-height: 1.75; margin-bottom: 24px; }
.tpl-classic .pub-checkin-note { color: var(--cl-ink-soft); font-size: 13px; margin-top: 14px; }

/* ================================= */
/* 18. CONTACT                        */
/* ================================= */

.tpl-classic .pub-contact-channels { border-bottom: 1px solid var(--cl-line); gap: 2rem; padding: 1.25rem 0; margin-bottom: 2rem; }
.tpl-classic .pub-contact-channel-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid var(--cl-line-strong);
    color: var(--cl-brass-ink);
}
.tpl-classic .pub-contact-form-panel h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.tpl-classic .pub-contact-map { border-radius: var(--cl-radius-img); box-shadow: none; border: 1px solid var(--cl-line); }
.tpl-classic .pub-contact-info-card { background: var(--cl-paper-card); border: 1px solid var(--cl-line); border-radius: var(--cl-radius-img); padding: 1.4rem; }

/* ================================= */
/* 19. FOOTER — deep, calm            */
/* ================================= */

.tpl-classic .pub-footer {
    background: var(--cl-deep-2);
    border-top: 0;
    --footer-text: var(--cl-on-deep-soft);
    --footer-muted: rgba(248, 243, 234, 0.6);
    --footer-border: var(--cl-on-deep-line);
    --footer-social-bg: rgba(248, 243, 234, 0.08);
    padding-top: 76px;
}
/* Footer name ignores the nav logo colour (which is dark for the paper nav) */
.tpl-classic .pub-footer .pub-footer-name {
    color: var(--cl-on-deep) !important;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1.9rem;
    letter-spacing: 0.005em;
}
.tpl-classic .pub-footer-tagline { color: var(--cl-on-deep-soft); }
.tpl-classic .pub-footer-col-title {
    font-family: var(--font-body);
    color: var(--cl-brass-light);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.tpl-classic .pub-footer-link,
.tpl-classic .pub-footer-address,
.tpl-classic .pub-footer-custom-text p { color: var(--cl-on-deep-soft); }
.tpl-classic .pub-footer-link:hover { color: var(--cl-on-deep); }
.tpl-classic .pub-footer-legal-link { color: rgba(248, 243, 234, 0.6); }
.tpl-classic .pub-footer-legal-link:hover { color: var(--cl-on-deep); }
.tpl-classic .pub-footer-copy,
.tpl-classic .pub-powered,
.tpl-classic .pub-powered a { color: rgba(248, 243, 234, 0.55); }
.tpl-classic .pub-footer-nav .pub-footer-links { display: flex; flex-direction: column; gap: 0.55rem; }

/* ================================= */
/* 20. REVEAL — only with JavaScript  */
/* ================================= */

.tpl-classic .pub-reveal,
.tpl-classic .pub-reveal-stagger > * { opacity: 1; transform: none; }
html.classic-js .tpl-classic .pub-reveal:not(.revealed) { opacity: 0; transform: translateY(18px); }
html.classic-js .tpl-classic .pub-reveal { transition: opacity 0.8s var(--cl-ease), transform 0.8s var(--cl-ease); }
html.classic-js .tpl-classic .pub-reveal-stagger:not(.revealed) > * { opacity: 0; transform: translateY(14px); }
html.classic-js .tpl-classic .pub-reveal-stagger > * { transition: opacity 0.7s var(--cl-ease), transform 0.7s var(--cl-ease); }
html.classic-js .tpl-classic .pub-reveal-stagger.revealed > *:nth-child(2) { transition-delay: 90ms; }
html.classic-js .tpl-classic .pub-reveal-stagger.revealed > *:nth-child(3) { transition-delay: 180ms; }
html.classic-js .tpl-classic .pub-reveal-stagger.revealed > *:nth-child(4) { transition-delay: 270ms; }
html.classic-js .tpl-classic .pub-reveal-stagger.revealed > *:nth-child(n+5) { transition-delay: 360ms; }
@media (prefers-reduced-motion: reduce) {
    html.classic-js .tpl-classic .pub-reveal:not(.revealed),
    html.classic-js .tpl-classic .pub-reveal-stagger:not(.revealed) > * { opacity: 1; transform: none; }
    .tpl-classic .pub-reveal,
    .tpl-classic .pub-reveal-stagger > *,
    .tpl-classic .pub-room-image img,
    .tpl-classic .pub-gallery-item img { transition: none !important; }
}

/* ================================= */
/* 21. READABILITY ON ANY PALETTE     */
/* ================================= */

/* Dark page (owner picked a dark background — body.paper-dark): cards lift
   above the page, brass text goes light, deep bands lift a little. */
.tpl-classic.paper-dark {
    --cl-paper-alt: color-mix(in srgb, var(--bg, #111) 93%, var(--text, #fff));
    --cl-paper-card: color-mix(in srgb, var(--bg, #111) 88%, var(--text, #fff));
    --cl-brass-ink: color-mix(in srgb, var(--accent, #b08a55) 55%, #fff);
    --cl-deep: color-mix(in srgb, var(--primary, #2f4a3c) 12%, color-mix(in srgb, var(--bg, #111) 86%, #fff));
}
@supports (color: oklch(from red l c h)) {
    .tpl-classic.paper-dark {
        --cl-brass-ink: oklch(from var(--accent, #b08a55) max(l, 0.78) c h);
        --cl-deep: oklch(from var(--primary, #2f4a3c) 0.27 min(c, 0.05) h);
    }
}

/* Small print the base styles colour with a fixed grey */
.tpl-classic .pub-contact-channel-info span { color: var(--cl-ink-soft); }
.tpl-classic .pub-contact-channel-info span:first-child { color: var(--cl-ink); }
.tpl-classic .pub-contact-optional { color: var(--cl-ink-soft); }
.tpl-classic .pub-property-type { background: var(--cl-paper-alt); color: var(--cl-brass-ink); }

/* Direct vs booking sites: the base cards are fixed white */
.tpl-classic .pub-direct-ota__col:not(.pub-direct-ota__col--direct) {
    background: var(--cl-paper-card);
    border-color: var(--cl-line);
    color: var(--cl-ink);
}
.tpl-classic .pub-direct-ota__col--direct { background: var(--primary); color: var(--cl-on-primary); }
.tpl-classic .pub-direct-ota__col--direct * { color: var(--cl-on-primary); opacity: 1; }
.tpl-classic .pub-direct-ota__ribbon { background: var(--cl-deep); color: var(--cl-on-deep); }
.tpl-classic.paper-dark .pub-direct-ota__col:not(.pub-direct-ota__col--direct) .pub-direct-ota__savings { color: #fca5a5; }

/* Carousel arrows: solid paper buttons so the glyph reads on any photo */
.tpl-classic .pub-carousel-arrow { background: rgba(255, 255, 255, 0.92); color: #1f1a16; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18); }
.tpl-classic .pub-carousel-arrow:hover { background: #fff; }

/* Guest pages (check-in, reviews) */
.tpl-classic .guest-lang-switch { color: var(--cl-ink-soft); }
.tpl-classic .guest-lang-switch :is(strong, a) { color: var(--cl-ink); }
.tpl-classic .reviews-empty-title { color: var(--cl-ink); }
.tpl-classic .reviews-empty-text { color: var(--cl-ink-soft); }
.tpl-classic.paper-dark .checkin-card { color: #1f2937; color-scheme: light; }
.tpl-classic.paper-dark .checkin-card :is(label, .btn-secondary, h2, h3, strong) { color: #1f2937 !important; }
.tpl-classic .checkin-card .btn-primary { color: var(--cl-on-primary) !important; }
