/* ==========================================================================
   Travel Patterns CSS — Frontend shared (single file)
   ==========================================================================
   Renders TinyMCE-generated travel-product content blocks with consistent
   styling across Snapshop (Blade) and Ecommerce (Vue SPA).

   Load ONCE on the frontend base layout:
     <link rel="stylesheet" href="{{ asset('assets/core/css/travel-patterns.css') }}">

   Usage:
     <div class="accordion-card">{!! $item->description !!}</div>
     <div class="tp-alert tp-alert-success">{!! $field !!}</div>
     <ol class="tp-steps">...</ol>
     <div class="tp-feature-grid">...</div>

   Patterns:
     1. Accordion         — .accordion-{card,flat,soft,filled,minimal,shadow,accent,gradient}
     2. Alert boxes       — .tp-alert + .tp-alert-{info,success,warning,danger}
     3. Steps / Timeline  — .tp-steps
        Variants          — .tp-steps-{minimal,card,dots,panel}
     4. List boxes        — .tp-list-box + .tp-list-box-{inclusive,exclusive}
        Checklist/Cross   — .tp-checklist / .tp-crosslist
        Variants          — .tp-list-box-{card,accent,minimal,fill}
     5. Feature cards     — .tp-feature-grid > .tp-feature-card
        Variants          — .tp-feature-grid-{filled,shadow,side,accent}
     6. Quick facts       — .tp-quick-facts (<dl><dt><dd>)
        Variants          — .tp-quick-facts-{striped,divided,bordered,panel}
     7. Two-column split  — .tp-split-2 (responsive 2-col grid)
     8. Tabs (CSS-only)   — .tp-tabs (radio inputs + labels + panels)
        Variants          — .tp-tabs-{underline,vertical,vertical-fill,fill}
     9. Stat row          — .tp-stats > .tp-stat (big-number tiles)
        Variants          — .tp-stats-{fill,shadow,accent,minimal}
    10. Comparison table  — .tp-compare-table (with optional .tp-featured column)
        Variants          — .tp-compare-table-{striped,minimal,bordered,fill}
    11. Testimonial       — .tp-testimonial (<figure><blockquote><figcaption>)
        Variants          — .tp-testimonial-{card,centered,fill,minimal}
    12. Headers & titles  — .tp-header-* / .tp-title-* / .tp-divider / .tp-eyebrow
    13. Operating hours   — .tp-hours (<dl> day/hours rows + .tp-hours-closed)
    14. Itinerary days    — .tp-itinerary > .tp-itin-day (badge + body + meta chips)
    15. Product embed row — .tp-product-row (grid for server-rendered product
                            cards; .tp-product-embed tokens swap server-side)
        Button           — .tp-button (writer-set URL + label link button)
                            alignment wrappers .tp-button-center / -right
    16. Events           — .tp-events > .tp-event (date tile + title/desc)
        Variants          — .tp-events-{card,minimal,badge,panel}
    16. In-content figure — .tp-figure (<figure><img><figcaption>) — single
                            mid-article illustration (feature/gallery live in
                            the hero slider)

   Palette: Emerald (see tw-color.json)
     50:#FDF3EF  100:#FAE3DA  200:#F5C7B6  300:#EFA48C  400:#E97B57
     500:#F4511E 600:#C62828  700:#A51E1E  800:#8B0000  900:#6B1212  950:#470909
   ========================================================================== */

/* ==========================================================================
   1. ACCORDION VARIANTS
   ==========================================================================
   Renders TinyMCE-generated <details><summary>...</summary>...</details> blocks.
   Wrapper class selects the visual style.

   HTML structure produced by TinyMCE Accordion button:
     <details open>
       <summary>Accordion Header</summary>
       <p>Accordion Content</p>
     </details>

   Variants:
     .accordion-card    — bordered cards (classic FAQ)
     .accordion-flat    — minimal dividers
     .accordion-soft    — soft gray bg, rounded
     .accordion-filled  — colored header bar, bold
     .accordion-minimal — no borders, hover-only state
     .accordion-shadow  — elevated cards with soft shadow
     .accordion-accent  — left accent border (colored when open)
     .accordion-gradient— premium gradient header bar
   -------------------------------------------------------------------------- */

/* 1a. Base reset — kill default disclosure triangle, normalize spacing */
.accordion-card > details,
.accordion-flat > details,
.accordion-soft > details,
.accordion-filled > details,
.accordion-minimal > details,
.accordion-shadow > details,
.accordion-accent > details,
.accordion-gradient > details {
    margin: 0;
    border: 0;
    background: transparent;
}

.accordion-card > details > summary,
.accordion-flat > details > summary,
.accordion-soft > details > summary,
.accordion-filled > details > summary,
.accordion-minimal > details > summary,
.accordion-shadow > details > summary,
.accordion-accent > details > summary,
.accordion-gradient > details > summary {
    list-style: none;
    cursor: pointer;
    user-select: none;
    outline: none;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-weight: 600;
    line-height: 1.5;
}

.accordion-card > details > summary::-webkit-details-marker,
.accordion-flat > details > summary::-webkit-details-marker,
.accordion-soft > details > summary::-webkit-details-marker,
.accordion-filled > details > summary::-webkit-details-marker,
.accordion-minimal > details > summary::-webkit-details-marker,
.accordion-shadow > details > summary::-webkit-details-marker,
.accordion-accent > details > summary::-webkit-details-marker,
.accordion-gradient > details > summary::-webkit-details-marker {
    display: none;
}

.accordion-card > details > summary::after,
.accordion-flat > details > summary::after,
.accordion-soft > details > summary::after,
.accordion-filled > details > summary::after,
.accordion-minimal > details > summary::after,
.accordion-shadow > details > summary::after,
.accordion-accent > details > summary::after,
.accordion-gradient > details > summary::after {
    content: '';
    width: 0.5rem;
    height: 0.5rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
    margin-left: auto;
    transition: transform 0.2s ease;
    opacity: 0.6;
    flex-shrink: 0;
}

.accordion-card > details[open] > summary::after,
.accordion-flat > details[open] > summary::after,
.accordion-soft > details[open] > summary::after,
.accordion-filled > details[open] > summary::after,
.accordion-minimal > details[open] > summary::after,
.accordion-shadow > details[open] > summary::after,
.accordion-accent > details[open] > summary::after,
.accordion-gradient > details[open] > summary::after {
    transform: rotate(45deg);
}

/* 1b. Variant: card — bordered cards separated by gap */
.accordion-card > details {
    border: 1px solid #E8E5DE;
    border-radius: 0.5rem;
    background: #ffffff;
    margin-bottom: 0.75rem;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.accordion-card > details[open] {
    border-color: #C62828;
    box-shadow: 0 4px 12px -2px rgba(198, 40, 40, 0.08);
}
.accordion-card > details > summary {
    padding: 0.875rem 1rem;
    color: #46362D;
    font-size: 0.9375rem;
    background: #FAF9F6;
    transition: background 0.15s ease, color 0.15s ease;
}
.accordion-card > details > summary:hover {
    background: #F5F3EF;
}
.accordion-card > details[open] > summary {
    color: #C62828;
    background: #FDF3EF;
    border-bottom: 1px solid #E8E5DE;
}

/* 1c. Variant: flat — minimal divider lines, light header bg */
.accordion-flat > details {
    border-bottom: 1px solid #E8E5DE;
    background: transparent;
}
.accordion-flat > details:first-child {
    border-top: 1px solid #E8E5DE;
}
.accordion-flat > details > summary {
    padding: 0.875rem 1rem;
    color: #46362D;
    font-size: 0.9375rem;
    background: #FAF9F6;
    transition: background 0.15s ease, color 0.15s ease;
}
.accordion-flat > details > summary:hover {
    background: #F5F3EF;
    color: #C62828;
}
.accordion-flat > details[open] > summary {
    background: #FDF3EF;
    color: #C62828;
}

/* 1d. Variant: soft — soft gray bg, summary slightly darker than content */
.accordion-soft > details {
    background: #FAF9F6;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
    overflow: hidden;
    transition: background 0.2s ease;
}
.accordion-soft > details[open] {
    background: #F5F3EF;
}
.accordion-soft > details > summary {
    padding: 0.75rem 1rem;
    color: #5C4033;
    font-size: 0.9375rem;
    background: #eef2f7;
    transition: background 0.15s ease, color 0.15s ease;
}
.accordion-soft > details > summary:hover {
    background: #E8E5DE;
}
.accordion-soft > details[open] > summary {
    background: #FAE3DA;
    color: #C62828;
}

/* 1e. Variant: filled — colored header bar with white content */
.accordion-filled > details {
    border: 1px solid #E8E5DE;
    border-radius: 0.5rem;
    margin-bottom: 0.75rem;
    overflow: hidden;
    background: #ffffff;
}
.accordion-filled > details > summary {
    padding: 0.75rem 1rem;
    background: #C62828;
    color: #ffffff;
    font-size: 0.9375rem;
}
.accordion-filled > details > summary:hover {
    background: #A51E1E;
}
.accordion-filled > details[open] > summary {
    background: #A51E1E;
}

/* 1f. Variant: minimal — no borders, subtle header tint, hover emphasis */
.accordion-minimal > details {
    background: transparent;
    border-radius: 0.375rem;
    margin-bottom: 0.25rem;
    transition: background 0.15s ease;
}
.accordion-minimal > details > summary {
    padding: 0.625rem 0.75rem;
    color: #46362D;
    font-size: 0.9375rem;
    background: #fafafa;
    border-radius: 0.375rem;
    transition: background 0.15s ease, color 0.15s ease;
}
.accordion-minimal > details > summary:hover {
    background: #F5F3EF;
}
.accordion-minimal > details[open] > summary {
    color: #C62828;
    background: #FDF3EF;
}

/* 1g. Variant: shadow — elevated cards with soft shadow, distinct header */
.accordion-shadow > details {
    background: #ffffff;
    border-radius: 0.625rem;
    margin-bottom: 0.75rem;
    box-shadow: 0 1px 3px -1px rgba(0, 0, 0, 0.08), 0 1px 2px -1px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.accordion-shadow > details[open] {
    box-shadow: 0 10px 25px -5px rgba(198, 40, 40, 0.12), 0 8px 10px -6px rgba(198, 40, 40, 0.08);
}
.accordion-shadow > details > summary {
    padding: 0.875rem 1.125rem;
    color: #46362D;
    font-size: 0.9375rem;
    background: #FAF9F6;
    transition: background 0.15s ease, color 0.15s ease;
}
.accordion-shadow > details > summary:hover {
    background: #F5F3EF;
    color: #C62828;
}
.accordion-shadow > details[open] > summary {
    color: #C62828;
    background: #FDF3EF;
}

/* 1h. Variant: accent — left accent border, header tinted, colored when open */
.accordion-accent > details {
    border: 1px solid #E8E5DE;
    border-left: 3px solid #D6D2C8;
    border-radius: 0.375rem;
    background: #ffffff;
    margin-bottom: 0.5rem;
    overflow: hidden;
    transition: border-left-color 0.2s ease, background 0.2s ease;
}
.accordion-accent > details[open] {
    border-left-color: #C62828;
}
.accordion-accent > details > summary {
    padding: 0.75rem 1rem;
    color: #46362D;
    font-size: 0.9375rem;
    background: #FAF9F6;
    transition: background 0.15s ease, color 0.15s ease;
}
.accordion-accent > details > summary:hover {
    background: #F5F3EF;
}
.accordion-accent > details[open] > summary {
    color: #C62828;
    background: #FDF3EF;
}

/* 1i. Variant: gradient — premium gradient header bar */
.accordion-gradient > details {
    border-radius: 0.5rem;
    margin-bottom: 0.75rem;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 2px 8px -2px rgba(0, 0, 0, 0.08);
}
.accordion-gradient > details > summary {
    padding: 0.875rem 1.125rem;
    background: linear-gradient(135deg, #C62828 0%, #F4511E 50%, #EFA48C 100%);
    color: #ffffff;
    font-size: 0.9375rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}
.accordion-gradient > details > summary::after {
    opacity: 0.9;
}
.accordion-gradient > details > summary:hover {
    background: linear-gradient(135deg, #A51E1E 0%, #C62828 50%, #F4511E 100%);
}

/* 1i-2. Variant: plain — bare <details> with no chrome (menu's plain
   "Accordion" entry): marker reset, shared chevron, hover/open emerald,
   content flush with the summary. Self-contained so it works in BOTH
   themes without any of the wrapper chrome of the other variants. */
.accordion-plain > details {
    margin-bottom: 0.5rem;
}
.accordion-plain > details > summary {
    padding: 0.625rem 0;
    color: #46362D;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.5;
    list-style: none;
    cursor: pointer;
    user-select: none;
    outline: none;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    transition: color 0.15s ease;
}
.accordion-plain > details > summary::-webkit-details-marker {
    display: none;
}
.accordion-plain > details > summary::after {
    content: '';
    width: 0.5rem;
    height: 0.5rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
    margin-left: auto;
    transition: transform 0.2s ease;
    opacity: 0.6;
    flex-shrink: 0;
}
.accordion-plain > details[open] > summary::after {
    transform: rotate(45deg);
}
.accordion-plain > details > summary:hover,
.accordion-plain > details[open] > summary {
    color: #C62828;               /* emerald-600 */
}
.accordion-plain > details > *:not(summary):first-of-type {
    padding-top: 0.375rem;
}
.accordion-plain > details > *:not(summary):last-child {
    padding-bottom: 0.75rem;
}
.accordion-plain p {
    margin: 0.5rem 0;
    line-height: 1.65;
    color: #46413A;
    font-size: 0.9375rem;
}

/* 1j. Content area (inside <details>, after <summary>) — shared across
   variants. Applies to PLAIN content only (p/ul/ol/img/headings): every
   pattern block (any tp-* class or nested accordion-*) is excluded —
   patterns carry their own balanced padding, and the generic side
   padding would otherwise land INSIDE their visible box instead of
   spacing it from the card edge (see 1j-2). */
.accordion-card > details > *:not(summary):not([class*="tp-"]):not([class*="accordion-"]),
.accordion-flat > details > *:not(summary):not([class*="tp-"]):not([class*="accordion-"]),
.accordion-soft > details > *:not(summary):not([class*="tp-"]):not([class*="accordion-"]),
.accordion-filled > details > *:not(summary):not([class*="tp-"]):not([class*="accordion-"]),
.accordion-minimal > details > *:not(summary):not([class*="tp-"]):not([class*="accordion-"]),
.accordion-shadow > details > *:not(summary):not([class*="tp-"]):not([class*="accordion-"]),
.accordion-accent > details > *:not(summary):not([class*="tp-"]):not([class*="accordion-"]),
.accordion-gradient > details > *:not(summary):not([class*="tp-"]):not([class*="accordion-"]) {
    padding-left: 1rem;
    padding-right: 1rem;
}

.accordion-card > details > *:not(summary):not([class*="tp-"]):not([class*="accordion-"]):first-of-type,
.accordion-flat > details > *:not(summary):not([class*="tp-"]):not([class*="accordion-"]):first-of-type,
.accordion-soft > details > *:not(summary):not([class*="tp-"]):not([class*="accordion-"]):first-of-type,
.accordion-filled > details > *:not(summary):not([class*="tp-"]):not([class*="accordion-"]):first-of-type,
.accordion-minimal > details > *:not(summary):not([class*="tp-"]):not([class*="accordion-"]):first-of-type,
.accordion-shadow > details > *:not(summary):not([class*="tp-"]):not([class*="accordion-"]):first-of-type,
.accordion-accent > details > *:not(summary):not([class*="tp-"]):not([class*="accordion-"]):first-of-type,
.accordion-gradient > details > *:not(summary):not([class*="tp-"]):not([class*="accordion-"]):first-of-type {
    padding-top: 0.75rem;
}

.accordion-card > details > *:not(summary):not([class*="tp-"]):not([class*="accordion-"]):last-child,
.accordion-flat > details > *:not(summary):not([class*="tp-"]):not([class*="accordion-"]):last-child,
.accordion-soft > details > *:not(summary):not([class*="tp-"]):not([class*="accordion-"]):last-child,
.accordion-filled > details > *:not(summary):not([class*="tp-"]):not([class*="accordion-"]):last-child,
.accordion-minimal > details > *:not(summary):not([class*="tp-"]):not([class*="accordion-"]):last-child,
.accordion-shadow > details > *:not(summary):not([class*="tp-"]):not([class*="accordion-"]):last-child,
.accordion-accent > details > *:not(summary):not([class*="tp-"]):not([class*="accordion-"]):last-child,
.accordion-gradient > details > *:not(summary):not([class*="tp-"]):not([class*="accordion-"]):last-child {
    padding-bottom: 0.875rem;
}

/* 1j-2. ANY pattern block placed directly inside an accordion (alert,
   list box, steps, stats, nested accordion, …) — inset from the card
   edge on ALL four sides: 1rem left/right like plain content, 0.75rem
   top/bottom. Each pattern keeps its own internal padding; a pattern
   nested deeper (inside another pattern) is spaced by its parent
   pattern's own layout plus its base margins. */
.accordion-card > details > [class*="tp-"],
.accordion-card > details > [class*="accordion-"],
.accordion-flat > details > [class*="tp-"],
.accordion-flat > details > [class*="accordion-"],
.accordion-soft > details > [class*="tp-"],
.accordion-soft > details > [class*="accordion-"],
.accordion-filled > details > [class*="tp-"],
.accordion-filled > details > [class*="accordion-"],
.accordion-minimal > details > [class*="tp-"],
.accordion-minimal > details > [class*="accordion-"],
.accordion-shadow > details > [class*="tp-"],
.accordion-shadow > details > [class*="accordion-"],
.accordion-accent > details > [class*="tp-"],
.accordion-accent > details > [class*="accordion-"],
.accordion-gradient > details > [class*="tp-"],
.accordion-gradient > details > [class*="accordion-"] {
    margin: 0.75rem 1rem;
}

/* 1k. Inner typography — render TinyMCE content nicely inside accordions */
.accordion-card p,
.accordion-flat p,
.accordion-soft p,
.accordion-filled p,
.accordion-minimal p,
.accordion-shadow p,
.accordion-accent p,
.accordion-gradient p {
    margin: 0.5rem 0;
    line-height: 1.65;
    color: #46413A;
    font-size: 0.9375rem;
}

.accordion-card ul,
.accordion-flat ul,
.accordion-soft ul,
.accordion-filled ul,
.accordion-minimal ul,
.accordion-shadow ul,
.accordion-accent ul,
.accordion-gradient ul,
.accordion-card ol,
.accordion-flat ol,
.accordion-soft ol,
.accordion-filled ol,
.accordion-minimal ol,
.accordion-shadow ol,
.accordion-accent ol,
.accordion-gradient ol {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
    color: #46413A;
    font-size: 0.9375rem;
}

.accordion-card li,
.accordion-flat li,
.accordion-soft li,
.accordion-filled li,
.accordion-minimal li,
.accordion-shadow li,
.accordion-accent li,
.accordion-gradient li {
    margin: 0.25rem 0;
    line-height: 1.6;
}

.accordion-card strong,
.accordion-flat strong,
.accordion-soft strong,
.accordion-filled strong,
.accordion-minimal strong,
.accordion-shadow strong,
.accordion-accent strong,
.accordion-gradient strong {
    font-weight: 600;
    color: #46362D;
}

.accordion-card a,
.accordion-flat a,
.accordion-soft a,
.accordion-filled a,
.accordion-minimal a,
.accordion-shadow a,
.accordion-accent a,
.accordion-gradient a {
    color: #C62828;
    text-decoration: underline;
}

.accordion-card img,
.accordion-flat img,
.accordion-soft img,
.accordion-filled img,
.accordion-minimal img,
.accordion-shadow img,
.accordion-accent img,
.accordion-gradient img {
    max-width: 100%;
    height: auto;
    border-radius: 0.375rem;
    margin: 0.5rem 0;
}

/* ==========================================================================
   2. ALERT BOXES

/* ==========================================================================
   2. ALERT BOXES
   ==========================================================================
   Inline callout box with icon + title + body. Semantic colors preserved
   (info=blue, success=emerald, warning=amber, danger=red).
   Best for: important_notice, age_require, confirmation
   -------------------------------------------------------------------------- */
.tp-alert {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.875rem 1rem;
    margin-block: 0.75rem;
    border-radius: 0.5rem;
    border-left: 4px solid;
    font-size: 0.9375rem;
    line-height: 1.5;
}
.tp-alert > i {
    font-size: 1.125rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
}
.tp-alert-title {
    font-weight: 600;
    margin-bottom: 0.125rem;
}
.tp-alert-body {
    font-size: 0.875rem;
    opacity: 0.85;
}

.tp-alert-info {
    background: #FFF8E7;       /* champagne */
    border-color: #C29A35;     /* gold */
    color: #574114;            /* deep bronze */
}
.tp-alert-success {
    background: #FBF7EA;       /* gold-50 */
    border-color: #B08A2E;     /* gold-500 */
    color: #48350F;            /* gold-900 */
}
.tp-alert-warning {
    background: #fffbeb;
    border-color: #f59e0b;
    color: #92400e;
}
.tp-alert-danger {
    background: #fef2f2;
    border-color: #ef4444;
    color: #991b1b;
}

/* ==========================================================================
   3. STEPS / TIMELINE
   ==========================================================================
   Numbered vertical timeline. Use <ol> for correct step ordering.
   Best for: how_to_use, redemption flow, pickup_dropoff
   -------------------------------------------------------------------------- */
.tp-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: step;
    position: relative;
}
.tp-steps::before {
    content: '';
    position: absolute;
    left: 0.875rem;
    top: 1.5rem;
    bottom: 1.5rem;
    width: 2px;
    background: #F5C7B6;       /* emerald-200 — visible on white */
}
.tp-steps > li {
    padding: 0.5rem 0 0.75rem 3rem;
    position: relative;
    min-height: 2.5rem;
}
.tp-steps > li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0.25rem;
    width: 1.875rem;
    height: 1.875rem;
    border-radius: 50%;
    background: #C62828;       /* emerald-600 */
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    z-index: 1;
    box-shadow: 0 0 0 4px #fff;
}
.tp-steps > li:last-child { padding-bottom: 0; }

/* Hide the vertical line when there's only one step (no timeline needed) */
.tp-steps:has(> li:only-child)::before { display: none; }
/* Block display is for the STEP TITLE (direct child of li) only — strongs
   inside the description span must stay inline so text like "Spot it:
   <strong>Fort Canning</strong>" flows on one line. */
.tp-steps > li > strong {
    display: block;
    color: #46362D;
    font-size: 0.9375rem;
    margin-bottom: 0.125rem;
}
.tp-steps span {
    color: #6b7280;
    font-size: 0.875rem;
}

/* 3a. Timeline variants — chrome overrides on top of the base steps pattern.
   Add ONE variant class next to .tp-steps. Same <li><strong>+<span> step
   structure and numbering as the base.
     .tp-steps-minimal — no connector line, ghost outline circles
     .tp-steps-card    — each step a bordered card, badge on the left edge
     .tp-steps-dots    — small solid dots on the line (unnumbered)
     .tp-steps-panel   — whole timeline on an emerald-50 tinted panel
   -------------------------------------------------------------------------- */

/* Minimal — quiet list: no connector, transparent circles with outline */
.tp-steps-minimal::before { display: none; }
.tp-steps-minimal > li { padding-left: 2.5rem; }
.tp-steps-minimal > li::before {
    background: transparent;
    color: #C62828;              /* emerald-600 */
    border: 1.5px solid #F5C7B6; /* emerald-200 */
    box-shadow: none;
    font-weight: 600;
}

/* Card — each step its own bordered card; badge vertically centered */
.tp-steps-card::before { display: none; }
.tp-steps-card > li {
    padding: 0.875rem 1rem 0.875rem 3.5rem;
    margin-bottom: 0.625rem;
    background: #ffffff;
    border: 1px solid #E8E5DE;
    border-radius: 0.5rem;
}
.tp-steps-card > li:last-child { margin-bottom: 0; padding-bottom: 0.875rem; }
.tp-steps-card > li::before {
    left: 0.875rem;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: none;
}

/* Dots — small solid dots centered on the connector line, no numbers.
   Line drawn as per-step segments (li::after) instead of the ol-level stripe:
   the ol stripe is tuned for the big numbered badges and stubs past small
   dots when a description wraps; segments always end at the last dot */
.tp-steps-dots::before { display: none; }
.tp-steps-dots > li { padding-left: 2rem; }
.tp-steps-dots > li::before {
    content: '';
    width: 0.75rem;
    height: 0.75rem;
    left: 0.5625rem;             /* centers the dot on the 0.9375rem line axis */
    top: 0.8125rem;              /* dot center 1.1875rem = base badge center —
                                    same optical line as the step title */
}
.tp-steps-dots > li::after {
    content: '';
    position: absolute;
    left: 0.875rem;
    top: 1.1875rem;              /* this step's dot center */
    bottom: -0.625rem;           /* tucks under the next dot's ring */
    width: 2px;
    background: #F5C7B6;         /* emerald-200 — same line color as the base */
}
.tp-steps-dots > li:last-child::after { display: none; }

/* Panel — tinted rounded container; ring matches the panel surface.
   ol.tp-steps pair selector (0,2,1) so page-level ol padding resets
   (e.g. .preview-rendered-body .tp-steps { padding-left: 0 }) can't
   strip the panel's breathing room */
ol.tp-steps.tp-steps-panel {
    padding: 1.25rem 1.125rem;
    background: #FDF3EF;         /* emerald-50 */
    border: 1px solid #F5C7B6;   /* emerald-200 */
    border-radius: 0.5rem;
}
/* Line also per-step segments: li-relative positioning keeps the line on the
   badge axis no matter how much padding the panel carries (the ol-level
   stripe would sit in the panel's left gutter) */
.tp-steps-panel::before { display: none; }
.tp-steps-panel > li::after {
    content: '';
    position: absolute;
    left: 0.875rem;
    top: 1.1875rem;              /* this step's badge center */
    bottom: -0.625rem;           /* tucks under the next badge's ring */
    width: 2px;
    background: #EFA48C;         /* emerald-300 — pops on the tint */
}
.tp-steps-panel > li:last-child::after { display: none; }
.tp-steps-panel > li::before { box-shadow: 0 0 0 4px #FDF3EF; }

/* ==========================================================================
   4. LIST BOXES + CHECKLIST / CROSSLIST
   ==========================================================================
   Bordered container with title + check/x list. Pair two side-by-side for
   inclusive vs exclusive layouts.
   Best for: inclusive vs exclusive, what's included
   -------------------------------------------------------------------------- */

/* 4a. Container */
.tp-list-box {
    padding: 1rem 1.125rem;
    border-radius: 0.5rem;
}
.tp-list-box-inclusive {
    background: #FBF7EA;       /* gold-50 */
    border: 1px solid #EADCA8; /* gold-200 */
}
.tp-list-box-exclusive {
    background: #fef2f2;
    border: 1px solid #fecaca;
}
.tp-list-title {
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.tp-list-box-inclusive .tp-list-title { color: #78591B; } /* gold-700 */
.tp-list-box-exclusive .tp-list-title { color: #991b1b; }

/* 4b. Checklist / Crosslist (requires Font Awesome) */
.tp-checklist,
.tp-crosslist {
    list-style: none;
    padding: 0;
    margin: 0;
}
.tp-checklist > li,
.tp-crosslist > li {
    padding: 0.375rem 0 0.375rem 1.625rem;
    position: relative;
    font-size: 0.875rem;
    color: #46413A;
}
.tp-checklist > li::before {
    content: '\f00c';          /* fa-check */
    font-family: 'Font Awesome 6 Free', 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0.375rem;
    color: #C62828;            /* emerald-600 */
    font-size: 0.75rem;
}
.tp-crosslist > li::before {
    content: '\f00d';          /* fa-xmark */
    font-family: 'Font Awesome 6 Free', 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0.375rem;
    color: #ef4444;
    font-size: 0.75rem;
}

/* 4c. List box variants — chrome overrides combined with the semantic
   inclusive/exclusive class (both classes on the same box)
     .tp-list-box-card    — white bordered card, tint gone, colors stay
     .tp-list-box-accent  — left semantic accent border
     .tp-list-box-minimal — no chrome at all
     .tp-list-box-fill    — solid semantic color, white text
   -------------------------------------------------------------------------- */
.tp-list-box-card.tp-list-box-inclusive,
.tp-list-box-card.tp-list-box-exclusive {
    background: #ffffff;
    border: 1px solid #E8E5DE;
}
.tp-list-box-accent.tp-list-box-inclusive,
.tp-list-box-accent.tp-list-box-exclusive {
    background: #ffffff;
    border: 1px solid #E8E5DE;
}
.tp-list-box-accent.tp-list-box-inclusive { border-left: 4px solid #B08A2E; }
.tp-list-box-accent.tp-list-box-exclusive { border-left: 4px solid #ef4444; }

.tp-list-box-minimal.tp-list-box-inclusive,
.tp-list-box-minimal.tp-list-box-exclusive {
    background: transparent;
    border: 0;
    padding-left: 0;
    padding-right: 0;
}

.tp-list-box-fill.tp-list-box-inclusive { background: #967124; border-color: #967124; }
.tp-list-box-fill.tp-list-box-exclusive { background: #ef4444; border-color: #ef4444; }
.tp-list-box-fill .tp-list-title { color: #ffffff; }
.tp-list-box-fill .tp-checklist > li,
.tp-list-box-fill .tp-crosslist > li { color: rgba(255, 255, 255, 0.9); }
.tp-list-box-fill .tp-checklist > li::before { color: #F5EDD3; }   /* gold-100 */
.tp-list-box-fill .tp-crosslist > li::before { color: #fecaca; }   /* red-100 */

/* ==========================================================================
   5. FEATURE CARDS GRID
   ==========================================================================
   Auto-fit grid of small icon+title+caption cards. Hover lifts the card.
   Best for: highlights, ticket_features, vehicle_information
   -------------------------------------------------------------------------- */
.tp-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.75rem;
}
.tp-feature-card {
    padding: 1.125rem 1rem;
    border: 1px solid #E8E5DE;
    border-radius: 0.5rem;
    background: #fff;
    text-align: center;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.tp-feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px -3px rgba(0, 0, 0, 0.08);
    border-color: #EFA48C;    /* emerald-300 */
}
.tp-feature-card > i {
    font-size: 1.5rem;
    color: #C62828;            /* emerald-600 */
    margin-bottom: 0.5rem;
    display: block;
}
.tp-feature-card strong {
    display: block;
    color: #46362D;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}
.tp-feature-card span {
    color: #6b7280;
    font-size: 0.75rem;
    display: block;
}

/* 5a. Feature Cards variants — same grid + icon/title/caption structure,
   chrome overrides on the container class.
     .tp-feature-grid-filled — solid emerald cards
     .tp-feature-grid-shadow — borderless elevated cards
     .tp-feature-grid-side   — horizontal cards, icon in a tinted square
     .tp-feature-grid-accent — left emerald accent border, left-aligned
   -------------------------------------------------------------------------- */

/* Filled — solid emerald cards; hover darkens */
.tp-feature-grid-filled .tp-feature-card {
    background: #C62828;         /* emerald-600 */
    border-color: #C62828;
}
.tp-feature-grid-filled .tp-feature-card:hover {
    background: #A51E1E;         /* emerald-700 */
    border-color: #A51E1E;
    box-shadow: 0 4px 12px -3px rgba(198, 40, 40, 0.35);
}
.tp-feature-grid-filled .tp-feature-card > i { color: #FAE3DA; } /* emerald-100 */
.tp-feature-grid-filled .tp-feature-card strong { color: #ffffff; }
.tp-feature-grid-filled .tp-feature-card span { color: rgba(255, 255, 255, 0.8); }

/* Shadow — borderless, resting elevation; hover lifts higher */
.tp-feature-grid-shadow .tp-feature-card {
    border: 0;
    box-shadow: 0 2px 8px -2px rgba(0, 0, 0, 0.10);
}
.tp-feature-grid-shadow .tp-feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px -6px rgba(0, 0, 0, 0.18);
}

/* Side Icon — horizontal card: icon in a tinted square, title + caption
   STACKED beside it (two-column grid; flex would lay title and caption
   out inline and run out of space) */
.tp-feature-grid-side .tp-feature-card {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 0.125rem 0.875rem;
    text-align: left;
    padding: 0.875rem 1rem;
}
.tp-feature-grid-side .tp-feature-card > i {
    grid-column: 1;
    grid-row: 1 / span 2;        /* icon centers across title + caption */
    font-size: 1.25rem;
    background: #FDF3EF;         /* emerald-50 */
    border-radius: 0.5rem;
    width: 2.75rem;
    height: 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
}
.tp-feature-grid-side .tp-feature-card > strong { grid-column: 2; grid-row: 1; margin-bottom: 0; }
.tp-feature-grid-side .tp-feature-card > span { grid-column: 2; grid-row: 2; }

/* Accent — left emerald accent border (accordion-accent look) */
.tp-feature-grid-accent .tp-feature-card {
    text-align: left;
    border-left: 4px solid #C62828; /* emerald-600 */
}
.tp-feature-grid-accent .tp-feature-card > i { margin-bottom: 0.375rem; }

/* ==========================================================================
   6. QUICK FACTS (Definition List)
   ==========================================================================
   Two-column key/value grid from <dl><dt><dd>. Collapses to single column
   on small screens.
   Best for: validity, bookable_days, duration, business_hours
   -------------------------------------------------------------------------- */
.tp-quick-facts {
    display: grid;
    grid-template-columns: max-content 1fr max-content 1fr;
    gap: 0.5rem 1rem;
    padding: 1rem 1.25rem;
    background: #FAF9F6;
    border-radius: 0.5rem;
    border: 1px solid #E8E5DE;
    border-left: 4px solid #C62828;  /* emerald-600 accent */
}
@media (max-width: 640px) {
    .tp-quick-facts { grid-template-columns: max-content 1fr; }
}
.tp-quick-facts > dt {
    color: #6b7280;
    font-size: 0.8125rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    align-self: center;
}
.tp-quick-facts > dd {
    color: #46362D;
    font-size: 0.875rem;
    margin: 0;
    font-weight: 500;
    align-self: center;
}

/* 6a. Quick Facts variants — same <dt>/<dd> pairs, chrome overrides.
   Striped/Divided/Bordered switch to ONE pair per row (spec-sheet flow,
   friendlier for long values); Panel keeps the base compact 2-pair grid.
     .tp-quick-facts-striped  — zebra rows (Table: Striped palette)
     .tp-quick-facts-divided  — row separators, values right-aligned
     .tp-quick-facts-bordered — full cell grid, tinted label column
     .tp-quick-facts-panel    — emerald-tinted panel (Timeline: Panel look)
   -------------------------------------------------------------------------- */

/* Striped — zebra pairs inside a plain bordered box */
.tp-quick-facts-striped {
    grid-template-columns: max-content 1fr;
    background: transparent;
    border: 1px solid #E8E5DE;
    padding: 0.25rem 0;
}
.tp-quick-facts-striped > dt,
.tp-quick-facts-striped > dd { padding: 0.5rem 1rem; }
.tp-quick-facts-striped > dt:nth-of-type(even),
.tp-quick-facts-striped > dd:nth-of-type(even) {
    background: #FAF9F6;
}

/* Divided — transparent spec sheet: separators only, values flush right */
.tp-quick-facts-divided {
    grid-template-columns: max-content 1fr;
    background: transparent;
    border: 0;
    padding: 0;
}
.tp-quick-facts-divided > dt,
.tp-quick-facts-divided > dd {
    padding: 0.625rem 0;
    border-bottom: 1px solid #E8E5DE;
}
.tp-quick-facts-divided > dt:last-of-type,
.tp-quick-facts-divided > dd:last-of-type { border-bottom: 0; }
.tp-quick-facts-divided > dd { text-align: right; }

/* Bordered — spreadsheet grid with a tinted label column */
.tp-quick-facts-bordered {
    grid-template-columns: max-content 1fr;
    background: transparent;
    border: 1px solid #E8E5DE;
    padding: 0;
    gap: 0;
}
.tp-quick-facts-bordered > dt,
.tp-quick-facts-bordered > dd { padding: 0.5rem 0.875rem; }
.tp-quick-facts-bordered > dt {
    background: #FAF9F6;
    border-right: 1px solid #E8E5DE;
    border-bottom: 1px solid #E8E5DE;
}
.tp-quick-facts-bordered > dd { border-bottom: 1px solid #E8E5DE; }
.tp-quick-facts-bordered > dt:last-of-type,
.tp-quick-facts-bordered > dd:last-of-type { border-bottom: 0; }

/* Panel — emerald tint, accent bar stays; base compact grid stays */
.tp-quick-facts-panel {
    background: #FDF3EF;         /* emerald-50 */
    border: 1px solid #F5C7B6;   /* emerald-200 */
    border-left: 4px solid #C62828; /* emerald-600 accent */
}

/* ==========================================================================
   7. TWO-COLUMN SPLIT
   ==========================================================================
   Side-by-side grid for pairing contrasting content (inclusive vs exclusive,
   pickup vs dropoff, etc.). Collapses to single column on small screens.
   Best for: inclusive + exclusive pairing, before/after, two-location info
   -------------------------------------------------------------------------- */
.tp-split-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}
@media (max-width: 640px) {
    .tp-split-2 { grid-template-columns: 1fr; }
}
.tp-split-2 > *:nth-child(1) { animation: none; }
.tp-split-2 > * {
    min-width: 0;
}
/* Explicit text colors keep the plain-text columns readable in BOTH
   themes (children inherit; nested patterns keep their own colors) */
.tp-split-2 {
    color: #46413A;               /* gray-700 */
}
.tp-split-2 strong {
    color: #46362D;               /* gray-900 */
}

/* ==========================================================================
   8. TABS (CSS-ONLY via radio inputs)
   ==========================================================================
   Pure-CSS tabbed interface using hidden radio inputs + adjacent labels.
   The nth radio controls the nth panel via :checked + sibling selectors.

   IMPORTANT: each .tp-tabs group MUST have unique name+id prefixes, or
   multiple tab groups on the same page will collide. The inserted template
   uses tp-tabs-1 by default — rename to tp-tabs-2, tp-tabs-3, etc. when
   adding more groups.

   Best for: splitting long descriptions into Overview/Details/Reviews/etc.
   -------------------------------------------------------------------------- */
.tp-tabs {
    border: 1px solid #E8E5DE;
    border-radius: 0.5rem;
    overflow: hidden;
}
.tp-tabs > input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.tp-tabs > label {
    display: inline-block;
    padding: 0.75rem 1.25rem;
    background: #FAF9F6;
    color: #6b7280;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin: 0;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.tp-tabs > label:hover {
    background: #F5F3EF;
    color: #46362D;
}
.tp-tabs > input[type="radio"]:checked + label {
    background: #ffffff;
    color: #C62828;
    border-bottom-color: #C62828;
    font-weight: 600;
}
.tp-tabs > .tp-tab-panels {
    padding: 1rem 1.25rem;
    background: #ffffff;
    color: #46413A;               /* explicit so panel content never inherits theme text */
}
.tp-tabs .tp-tab-panel strong {
    color: #46362D;
}
.tp-tabs > .tp-tab-panels > .tp-tab-panel { display: none; }
.tp-tabs > input:nth-of-type(1):checked ~ .tp-tab-panels > .tp-tab-panel:nth-of-type(1),
.tp-tabs > input:nth-of-type(2):checked ~ .tp-tab-panels > .tp-tab-panel:nth-of-type(2),
.tp-tabs > input:nth-of-type(3):checked ~ .tp-tab-panels > .tp-tab-panel:nth-of-type(3),
.tp-tabs > input:nth-of-type(4):checked ~ .tp-tab-panels > .tp-tab-panel:nth-of-type(4),
.tp-tabs > input:nth-of-type(5):checked ~ .tp-tab-panels > .tp-tab-panel:nth-of-type(5) {
    display: block;
}

/* 8a. Tabs variants — chrome overrides on top of the base radio-tabs.
   Add ONE variant class next to .tp-tabs. Same inputs+labels+panels
   structure, same :checked panel switching.
     .tp-tabs-underline— borderless strip, active emerald underline
     .tp-tabs-vertical — left tab column, content on the right
     .tp-tabs-fill     — solid emerald tab strip
   -------------------------------------------------------------------------- */

/* Underline — no container chrome; label borders form the separator line */
.tp-tabs-underline { border: 0; border-radius: 0; overflow: visible; }
.tp-tabs-underline > label {
    background: transparent;
    border-bottom: 2px solid #E8E5DE;
    border-radius: 0;
}
.tp-tabs-underline > label:hover { background: transparent; color: #46362D; }
.tp-tabs-underline > input[type="radio"]:checked + label {
    background: transparent;
    color: #C62828;              /* emerald-600 */
    border-bottom-color: #C62828;
}
.tp-tabs-underline > .tp-tab-panels {
    background: transparent;
    padding: 1rem 0.25rem;
}

/* Vertical — tabs stack into a LEFT column, content fills the right.
   Grid max-content column sizes the label column to the LONGEST tab
   text, so 2 tabs or 10 long ones all fit without wrapping; panels
   span the full height beside them.
     .tp-tabs-vertical       — light label column, active merges with panel
     .tp-tabs-vertical-fill  — solid emerald column, active goes emerald-950 */
.tp-tabs-vertical,
.tp-tabs-vertical-fill {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    align-items: stretch;
}
.tp-tabs-vertical > label,
.tp-tabs-vertical-fill > label {
    grid-column: 1;
    max-width: 18rem;            /* clamp for extremely long tab names */
    border-bottom: 0;
    border-right: 2px solid transparent;
}
.tp-tabs-vertical > input[type="radio"]:checked + label {
    background: #ffffff;         /* merges with the panel surface */
    border-right-color: #C62828; /* emerald-600 */
    border-bottom-color: transparent;
}
.tp-tabs-vertical > .tp-tab-panels,
.tp-tabs-vertical-fill > .tp-tab-panels { grid-column: 2; grid-row: 1 / span 999; }

/* Vertical Fill — solid emerald tab column (table Fill style); the
   emerald-950 active tab reads as the "featured" entry */
.tp-tabs-vertical-fill > label {
    background: #C62828;         /* emerald-600 */
    color: rgba(255, 255, 255, 0.7);
}
.tp-tabs-vertical-fill > label:hover { background: #A51E1E; color: #ffffff; }
.tp-tabs-vertical-fill > input[type="radio"]:checked + label {
    background: #470909;         /* emerald-950 */
    color: #ffffff;
    border-right-color: transparent;
    border-bottom-color: transparent;
}

/* Narrow screens: the two-column grid cannot fit — tabs become a stacked
   list above the content (same underline accent as the base pattern) */
@media (max-width: 640px) {
    .tp-tabs-vertical,
    .tp-tabs-vertical-fill { grid-template-columns: minmax(0, 1fr); }
    .tp-tabs-vertical > label,
    .tp-tabs-vertical-fill > label {
        border-right: 0;
        border-bottom: 2px solid #E8E5DE;
    }
    .tp-tabs-vertical > input[type="radio"]:checked + label,
    .tp-tabs-vertical-fill > input[type="radio"]:checked + label {
        border-right-color: transparent;
        border-bottom-color: #C62828;
    }
    .tp-tabs-vertical > .tp-tab-panels,
    .tp-tabs-vertical-fill > .tp-tab-panels { grid-column: 1; grid-row: auto; }
}

/* Fill — solid emerald strip; active tab goes emerald-950 (table Fill style) */
.tp-tabs-fill > label {
    background: #C62828;         /* emerald-600 */
    color: rgba(255, 255, 255, 0.7);
}
.tp-tabs-fill > label:hover { background: #A51E1E; color: #ffffff; }
.tp-tabs-fill > input[type="radio"]:checked + label {
    background: #470909;         /* emerald-950 */
    color: #ffffff;
    border-bottom-color: #470909;
}

/* ==========================================================================
   9. STAT ROW
   ==========================================================================
   Row of big-number tiles. Use <strong> for the number, <span> for the label.
   Best for: duration, group size, age range, validity, distance
   -------------------------------------------------------------------------- */
.tp-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.75rem;
}
.tp-stat {
    padding: 1rem 0.75rem;
    border: 1px solid #E8E5DE;
    border-radius: 0.5rem;
    background: linear-gradient(180deg, #ffffff 0%, #FAF9F6 100%);
    text-align: center;
    transition: border-color 0.15s ease, transform 0.15s ease;
}
.tp-stat:hover {
    border-color: #EFA48C;     /* emerald-300 */
    transform: translateY(-2px);
}
.tp-stat > strong {
    display: block;
    color: #C62828;             /* emerald-600 */
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 0.25rem;
}
.tp-stat > span {
    display: block;
    color: #6b7280;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* 9a. Stat Row variants — same tiles (strong number + span label), chrome
   overrides on the container class.
     .tp-stats-fill    — solid emerald tiles, white numbers
     .tp-stats-shadow  — borderless elevated tiles
     .tp-stats-accent  — white tile, short emerald bar above the number
     .tp-stats-minimal — no chrome at all
   -------------------------------------------------------------------------- */

/* Fill — solid emerald tiles; hover deepens */
.tp-stats-fill .tp-stat {
    background: #C62828;         /* emerald-600 */
    border-color: #C62828;
}
.tp-stats-fill .tp-stat:hover { border-color: #A51E1E; } /* emerald-700 */
.tp-stats-fill .tp-stat > strong { color: #ffffff; }
.tp-stats-fill .tp-stat > span { color: rgba(255, 255, 255, 0.8); }

/* Shadow — borderless, resting elevation; hover lifts higher */
.tp-stats-shadow .tp-stat {
    border: 0;
    background: #ffffff;
    box-shadow: 0 2px 8px -2px rgba(0, 0, 0, 0.10);
}
.tp-stats-shadow .tp-stat:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px -6px rgba(0, 0, 0, 0.16);
}

/* Accent — plain tile with a short emerald bar above the number */
.tp-stats-accent .tp-stat {
    background: #ffffff;
    padding-top: 1.25rem;
}
.tp-stats-accent .tp-stat::before {
    content: '';
    display: block;
    width: 2rem;
    height: 3px;
    border-radius: 2px;
    background: #C62828;         /* emerald-600 */
    margin: 0 auto 0.625rem;
}

/* Minimal — no chrome: just the number and its label */
.tp-stats-minimal .tp-stat {
    border: 0;
    background: transparent;
}
.tp-stats-minimal .tp-stat:hover { transform: none; border-color: transparent; }

/* ==========================================================================
   10. COMPARISON TABLE
   ==========================================================================
   Bordered table with sticky-style header row. Add .tp-featured to a <th>
   in the header to highlight a column (premium tier, recommended option, etc.)
   Best for: multiple ticket tiers, package options, plan comparisons
   -------------------------------------------------------------------------- */
.tp-compare-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #E8E5DE;
    border-radius: 0.5rem;
    overflow: hidden;
    font-size: 0.875rem;
}
.tp-compare-table > thead > tr > th {
    padding: 0.75rem 1rem;
    background: #FAF9F6;
    color: #46362D;
    font-weight: 600;
    text-align: left;
    border-bottom: 1px solid #E8E5DE;
}
.tp-compare-table > thead > tr > th.tp-featured {
    background: #C62828;         /* emerald-600 */
    color: #ffffff;
    position: relative;
}
.tp-compare-table > tbody > tr > td {
    padding: 0.625rem 1rem;
    color: #46413A;
    border-bottom: 1px solid #F5F3EF;
}
.tp-compare-table > tbody > tr:last-child > td { border-bottom: none; }
.tp-compare-table > tbody > tr > td.tp-featured {
    background: #FDF3EF;         /* emerald-50 */
    color: #6B1212;              /* emerald-900 */
    font-weight: 500;
}
.tp-compare-table > tbody > tr:hover > td {
    background: #FAF9F6;
}
.tp-compare-table > tbody > tr:hover > td.tp-featured {
    background: #FAE3DA;         /* emerald-100 */
}

/* 10a. Comparison table variants — chrome overrides on top of the base table.
   Add ONE variant class next to .tp-compare-table. .tp-featured column keeps
   working in every variant.
     .tp-compare-table-striped  — zebra rows (long feature lists)
     .tp-compare-table-minimal  — borderless, emerald underline header
     .tp-compare-table-bordered — full cell grid (spreadsheet look)
     .tp-compare-table-fill     — solid emerald header bar
   -------------------------------------------------------------------------- */

/* Striped — zebra body rows; hover still overrides stripes */
.tp-compare-table-striped > tbody > tr:nth-child(even) > td {
    background: #FAF9F6;
}
.tp-compare-table-striped > tbody > tr:nth-child(even) > td.tp-featured {
    background: #FDF3EF;         /* emerald-50 */
}
.tp-compare-table-striped > tbody > tr:hover > td {
    background: #F5F3EF;
}
.tp-compare-table-striped > tbody > tr:hover > td.tp-featured {
    background: #FAE3DA;         /* emerald-100 */
}

/* Minimal — no outer border, transparent header, emerald underline */
.tp-compare-table-minimal {
    border: 0;
    border-radius: 0;
}
.tp-compare-table-minimal > thead > tr > th {
    background: transparent;
    border-bottom: 2px solid #C62828;  /* emerald-600 */
}
.tp-compare-table-minimal > thead > tr > th.tp-featured {
    background: transparent;
    color: #C62828;              /* emerald-600 */
}
.tp-compare-table-minimal > tbody > tr > td.tp-featured {
    background: transparent;
    color: #6B1212;              /* emerald-900 */
    font-weight: 600;
}
.tp-compare-table-minimal > tbody > tr:hover > td {
    background: #FAF9F6;
}
.tp-compare-table-minimal > tbody > tr:hover > td.tp-featured {
    background: #FDF3EF;         /* emerald-50 */
}

/* Bordered — full cell grid, outer border from the base stays */
.tp-compare-table-bordered > thead > tr > th {
    border-right: 1px solid #E8E5DE;
}
.tp-compare-table-bordered > thead > tr > th:last-child { border-right: none; }
.tp-compare-table-bordered > tbody > tr > td {
    border-right: 1px solid #E8E5DE;
    border-bottom: 1px solid #E8E5DE;
}
.tp-compare-table-bordered > tbody > tr > td:last-child { border-right: none; }
.tp-compare-table-bordered > tbody > tr:last-child > td { border-bottom: none; }

/* Header Fill — solid emerald header bar; featured column head goes emerald-950 */
.tp-compare-table-fill > thead > tr > th {
    background: #C62828;         /* emerald-600 */
    color: #ffffff;
    border-bottom-color: #A51E1E; /* emerald-700 */
}
.tp-compare-table-fill > thead > tr > th.tp-featured {
    background: #470909;         /* emerald-950 */
}

/* ==========================================================================
   11. TESTIMONIAL / QUOTE
   ==========================================================================
   Styled blockquote with attribution. Use <figure> + <blockquote> + <figcaption>
   for semantic markup.
   Best for: customer reviews embedded in description, awards, press mentions
   -------------------------------------------------------------------------- */
.tp-testimonial {
    margin: 0;
    padding: 1.25rem 1.5rem;
    border-left: 4px solid #C62828;  /* emerald-600 */
    background: linear-gradient(135deg, #FDF3EF 0%, #FAF9F6 100%);
    border-radius: 0 0.5rem 0.5rem 0;
    position: relative;
}
.tp-testimonial::before {
    content: '\201C';            /* left double quotation mark */
    position: absolute;
    top: 0.5rem;
    left: 0.625rem;
    font-size: 3rem;
    color: #EFA48C;              /* emerald-300 */
    font-family: Georgia, 'Times New Roman', serif;
    line-height: 1;
    opacity: 0.6;
}
.tp-testimonial > blockquote {
    margin: 0 0 0.5rem 0;
    padding: 0;
    color: #5C4033;
    font-size: 0.9375rem;
    line-height: 1.6;
    font-style: italic;
    position: relative;
    z-index: 1;
}
.tp-testimonial > figcaption {
    color: #C62828;              /* emerald-600 */
    font-size: 0.8125rem;
    font-weight: 500;
}
.tp-testimonial > figcaption > strong {
    color: #6B1212;              /* emerald-900 */
    font-weight: 600;
    display: block;
}
.tp-testimonial > figcaption > span {
    color: #6b7280;
    font-weight: 400;
    display: block;
    margin-top: 0.125rem;
}

/* 11a. Testimonial variants — same <figure>+<blockquote>+<figcaption>
   structure, chrome overrides.
     .tp-testimonial-card     — symmetric bordered review card
     .tp-testimonial-centered — flat tint, centered pull-quote
     .tp-testimonial-fill     — solid emerald, white text
     .tp-testimonial-minimal  — transparent, hairline rule, no quote mark
   -------------------------------------------------------------------------- */

/* Card — full border instead of the accent bar */
.tp-testimonial-card {
    border: 1px solid #E8E5DE;
    border-radius: 0.5rem;
    background: #ffffff;
}

/* Centered — flat tint, text and quote mark centered */
.tp-testimonial-centered {
    border-left: 0;
    border-radius: 0.5rem;
    background: #FDF3EF;         /* emerald-50 */
    text-align: center;
    padding: 2.25rem 1.5rem 1.25rem;
}
.tp-testimonial-centered::before {
    left: 50%;
    transform: translateX(-50%);
    top: 0.625rem;
    opacity: 0.8;
}

/* Fill — solid emerald; white quote, soft quote mark */
.tp-testimonial-fill {
    border-left: 0;
    border-radius: 0.5rem;
    background: #C62828;         /* emerald-600 */
}
.tp-testimonial-fill::before { color: rgba(255, 255, 255, 0.45); opacity: 1; }
.tp-testimonial-fill > blockquote { color: #ffffff; }
.tp-testimonial-fill > figcaption { color: #FAE3DA; } /* emerald-100 */
.tp-testimonial-fill > figcaption > strong { color: #ffffff; }
.tp-testimonial-fill > figcaption > span { color: rgba(255, 255, 255, 0.75); }

/* Minimal — no chrome: transparent, emerald hairline, no quote mark */
.tp-testimonial-minimal {
    background: transparent;
    border-left: 2px solid #F5C7B6; /* emerald-200 */
    border-radius: 0;
}
.tp-testimonial-minimal::before { display: none; }

/* ==========================================================================
   12. HEADERS & TITLES
   ==========================================================================
   Generic section-heading building blocks for ANY content type (hotel,
   tour, activity, esim, ...). Inserted from the Travel Pattern menu with
   neutral placeholders + a neutral icon — edit the text freely; swap the
   <i> icon class for any Font Awesome icon.
   -------------------------------------------------------------------------- */

/* 12a. Icon badge header — rounded emerald square + title (+ subtitle) */
.tp-header-icon {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    margin: 1.5rem 0 1rem 0;
}
.tp-header-icon > i {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.75rem;
    background: #C62828;          /* emerald-600 */
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    flex-shrink: 0;
}

/* 12b. Numbered header — circled number + title */
.tp-header-numbered {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1.5rem 0 1rem 0;
}
.tp-header-num {
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    background: #FDF3EF;          /* emerald-50 */
    border: 2px solid #C62828;    /* emerald-600 */
    color: #C62828;
    font-weight: 700;
    font-size: 0.9375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* 12c. Shared title/sub text */
.tp-header-title {
    font-weight: 700;
    font-size: 1.375rem;
    line-height: 1.3;
    color: #46362D;
}
.tp-header-sub {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.125rem;
}

/* 12d. Underline accent title — h2/h3 with short emerald bar */
.tp-title-underline {
    position: relative;
    padding-bottom: 0.5rem;
    margin: 1.5rem 0 1rem 0;
    font-weight: 700;
    font-size: 1.25rem;
    color: #46362D;
}
.tp-title-underline::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 3rem;
    height: 0.25rem;
    border-radius: 0.25rem;
    background: #C62828;          /* emerald-600 */
}
.tp-title-underline.tp-center {
    text-align: center;
}
.tp-title-underline.tp-center::after {
    left: 50%;
    transform: translateX(-50%);
}

/* 12e. Eyebrow + big title */
.tp-header-eyebrow {
    margin: 1.75rem 0 1rem 0;
}
.tp-eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
    font-weight: 700;
    color: #C62828;                /* emerald-600 */
    margin-bottom: 0.375rem;
}

/* 12f. Divider with icon — line, icon, line */
.tp-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.75rem 0;
}
.tp-divider > span {
    flex: 1;
    height: 1px;
    background: #E8E5DE;          /* gray-200 */
}
.tp-divider > i {
    color: #C62828;                /* emerald-600 */
    font-size: 1rem;
}

/* 12g. Pill / chip label */
.tp-title-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.875rem;
    border-radius: 9999px;
    background: #FDF3EF;          /* emerald-50 */
    color: #C62828;                /* emerald-600 */
    font-weight: 600;
    font-size: 0.875rem;
}

/* ==========================================================================
   13. OPERATING HOURS (Day/Hours rows)
   ==========================================================================
   Two-column day → hours rows with separators. Add .tp-hours-closed on a
   <dd> to flag a closed day in red.
   Best for: business_hours, availability, departure times
   -------------------------------------------------------------------------- */
.tp-hours {
    display: grid;
    grid-template-columns: max-content 1fr;
    padding: 0.875rem 1.125rem;
    background: #FAF9F6;
    border: 1px solid #E8E5DE;
    border-left: 4px solid #C62828;  /* emerald-600 accent — mirrors Quick Facts */
    border-radius: 0.5rem;
}
.tp-hours > dt {
    color: #46413A;
    font-size: 0.875rem;
    font-weight: 500;
    align-self: center;
    padding: 0.375rem 0;
}
.tp-hours > dd {
    margin: 0;
    color: #46362D;
    font-size: 0.875rem;
    font-weight: 500;
    text-align: right;
    font-variant-numeric: tabular-nums;
    align-self: center;
    padding: 0.375rem 0;
}
.tp-hours > dt:not(:last-of-type),
.tp-hours > dd:not(:last-of-type) { border-bottom: 1px solid #E8E5DE; }
.tp-hours .tp-hours-closed { color: #ef4444; } /* red-500 — matches crosslist */

/* ==========================================================================
   14. ITINERARY DAYS (Day-by-day blocks)
   ==========================================================================
   Vertical list of day entries: badge + body (title, description, meta
   chips with Font Awesome icons). Copy-paste a .tp-itin-day block to add
   days; drop the .tp-itin-meta div when no chips are needed.
   Best for: multi-day tours, package itineraries
   -------------------------------------------------------------------------- */
.tp-itinerary { display: grid; gap: 0.875rem; }
.tp-itin-day {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.875rem;
    padding: 0.875rem 1rem;
    border: 1px solid #E8E5DE;
    border-radius: 0.5rem;
    background: #ffffff;
}
.tp-itin-badge {
    align-self: start;
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.625rem;
    border-radius: 0.375rem;
    background: #C62828;         /* emerald-600 */
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}
.tp-itin-body { min-width: 0; }
.tp-itin-body > strong {
    display: block;
    color: #46362D;
    font-size: 0.9375rem;
    margin-bottom: 0.25rem;
}
.tp-itin-body > span {
    display: block;
    color: #57524C;
    font-size: 0.875rem;
    line-height: 1.6;
}
.tp-itin-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin-top: 0.5rem;
}
.tp-itin-meta > span {
    display: inline-flex;
    align-items: center;
    padding: 0.1875rem 0.625rem;
    border-radius: 9999px;
    background: #FDF3EF;         /* emerald-50 */
    border: 1px solid #F5C7B6;   /* emerald-200 */
    color: #8B0000;              /* emerald-800 */
    font-size: 0.6875rem;
    font-weight: 500;
}
.tp-itin-meta i {
    font-size: 0.625rem;
    margin-right: 0.25rem;
    color: #C62828;              /* emerald-600 */
}

/* ==========================================================================
   15. PRODUCT EMBED ROW (grid wrapper for inline product cards)
   The .tp-product-embed tokens inside are swapped server-side for theme
   product cards (HubQueryService::renderProductEmbeds → hub.share
   partials, Tailwind-styled, dark-mode aware). Only the wrapper rides
   this file: responsive grid, stacking under one card width.
   ========================================================================== */
.tp-product-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}
.tp-product-row:empty {
    display: none;
}

/* Article-body link law exemption — every hub article template styles
   .post-body a / .post-body p at (0,1,1)+(0,2,1), which outranks Tailwind's
   single-class utilities on the embed card's anchors and price line. These
   scoped rules sit ONE home (this file) for all templates and restore the
   card chrome by strict specificity (load order never matters). */
.post-body .tp-embed a { text-decoration: none; }
.post-body .tp-embed .tp-embed-title { color: #1D1A16; }
.post-body .tp-embed .tp-embed-title:hover { color: #C62828; }        /* emerald-600 */
.dark .post-body .tp-embed .tp-embed-title { color: #fff; }
.dark .post-body .tp-embed .tp-embed-title:hover { color: #E97B57; }  /* emerald-400 */
.post-body .tp-embed .tp-embed-btn { color: #fff; }
.dark .post-body .tp-embed .tp-embed-btn { color: #fff; }
.post-body .tp-embed p.tabular-nums { color: #C79000; }               /* price line brand gold */
.dark .post-body .tp-embed p.tabular-nums { color: #FFD700; }
/* .post-body p carries 0.85rem margins that push the price off its label —
   the feed card is tight only because it lives OUTSIDE .post-body. Kill the
   margin inside embeds so "Start From" sits flush on the price. */
.post-body .tp-embed p { margin: 0; }

/* --------------------------------------------------------------------------
   Button (writer-set URL + label) — one article-button chrome, same
   emerald 500→600 gradient as the embed card's View Product button.
   -------------------------------------------------------------------------- */
.tp-button {
    display: inline-block;
    padding: 0.625rem 1.25rem;
    border-radius: 0.5rem;
    background: linear-gradient(to right, #F4511E, #C62828);   /* emerald 500→600 */
    color: #fff;
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
    transition: box-shadow 0.15s ease;
}
.tp-button:hover {
    color: #fff;
    text-decoration: none;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.15);
}
/* Link-law immunity — the button is an <a> that must never inherit ANY
   context's link styling (article .post-body a, other templates' content
   CSS, editor preview): scoped !important on color/decoration only, so no
   surface can repaint the label blue/underlined. */
.tp-button, .tp-button:hover, .tp-button:visited, .tp-button:focus {
    color: #fff !important;
    text-decoration: none !important;
}
/* Alignment wrappers — the base button flows inline in the text (left);
   these variants wrap it in a text-aligned paragraph. */
.tp-button-center { text-align: center; }
.tp-button-right  { text-align: right; }

/* ==========================================================================
   16. EVENTS (date | title/desc schedule rows)
   ==========================================================================
   Vertical list of event entries: date tile + body (title, description).
   Copy-paste a .tp-event row to add entries; day + month live inside
   .tp-event-date, title + description inside .tp-event-body.
   Best for: festivals, shows, agendas, happenings
   -------------------------------------------------------------------------- */
.tp-events { display: grid; gap: 0.875rem; }
.tp-event {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: start;
    padding: 0.875rem 0;
    border-bottom: 1px solid #E8E5DE;
}
.tp-event:last-child { border-bottom: 0; padding-bottom: 0.375rem; }
.tp-event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    padding: 0.375rem 0;
    border-radius: 0.5rem;
    background: #FDF3EF;           /* emerald-50 */
    border: 1px solid #F5C7B6;     /* emerald-200 */
}
.tp-event-day {
    color: #C62828;                /* emerald-600 */
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.1;
}
.tp-event-month {
    color: #8B0000;                /* emerald-800 */
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.tp-event-body { min-width: 0; padding-top: 0.125rem; }
.tp-event-title {
    display: block;
    color: #46362D;
    font-size: 0.9375rem;
    margin-bottom: 0.25rem;
}
.tp-event-desc {
    display: block;
    color: #57524C;
    font-size: 0.875rem;
    line-height: 1.6;
}

/* 16a. Events: Card — one bordered card, rows divided inside */
.tp-events.tp-events-card {
    gap: 0;
    border: 1px solid #E8E5DE;
    border-radius: 0.5rem;
    background: #ffffff;
    overflow: hidden;
}
.tp-events.tp-events-card .tp-event {
    padding: 0.875rem 1rem;
}
.tp-events.tp-events-card .tp-event:last-child { padding-bottom: 0.875rem; }

/* 16b. Events: Minimal — plain text date column, no tile */
.tp-events.tp-events-minimal { gap: 0.5rem; }
.tp-events.tp-events-minimal .tp-event { padding: 0.5rem 0; gap: 0.875rem; }
.tp-events.tp-events-minimal .tp-event-date {
    width: auto;
    padding: 0;
    background: transparent;
    border: 0;
    align-items: flex-start;
    text-align: left;
}
.tp-events.tp-events-minimal .tp-event-day { font-size: 1rem; }

/* 16c. Events: Badge — solid emerald date badge */
.tp-events.tp-events-badge .tp-event-date {
    background: #C62828;           /* emerald-600 */
    border-color: #C62828;
}
.tp-events.tp-events-badge .tp-event-day { color: #ffffff; }
.tp-events.tp-events-badge .tp-event-month { color: #FAE3DA; } /* emerald-100 */

/* 16d. Events: Panel — tinted panel behind each row */
.tp-events.tp-events-panel { gap: 0.625rem; }
.tp-events.tp-events-panel .tp-event {
    padding: 0.875rem 1rem;
    background: #FDF3EF;           /* emerald-50 */
    border: 1px solid #F5C7B6;     /* emerald-200 */
    border-radius: 0.5rem;
}

/* ==========================================================================
   DARK MODE
   ==========================================================================
   Override light-mode colors when <html class="dark"> or any .dark ancestor
   is active. Keeps emerald accents; neutral grays flip to dark slate.
   -------------------------------------------------------------------------- */

/* 1. Accordion dark mode */
.dark .accordion-card > details,
.dark .accordion-filled > details,
.dark .accordion-accent > details,
.dark .accordion-gradient > details {
    background: #5C4033;
}
.dark .accordion-card > details,
.dark .accordion-filled > details,
.dark .accordion-accent > details {
    border-color: #46413A;
}
.dark .accordion-accent > details {
    border-left-color: #57524C;
}
.dark .accordion-card > details > summary,
.dark .accordion-flat > details > summary,
.dark .accordion-soft > details > summary,
.dark .accordion-minimal > details > summary,
.dark .accordion-shadow > details > summary,
.dark .accordion-accent > details > summary {
    color: #F5F3EF;
}
.dark .accordion-card > details > summary {
    background: #46413A;
}
.dark .accordion-card > details > summary:hover,
.dark .accordion-flat > details > summary:hover {
    background: #57524C;
}
.dark .accordion-card > details[open] > summary,
.dark .accordion-flat > details[open] > summary,
.dark .accordion-soft > details[open] > summary {
    background: #6B1212;
}
.dark .accordion-flat > details > summary {
    background: #46413A;
}
.dark .accordion-soft > details > summary {
    background: #57524C;
}
.dark .accordion-soft > details > summary:hover {
    background: #6b7280;
}
.dark .accordion-minimal > details[open] > summary,
.dark .accordion-shadow > details > summary:hover,
.dark .accordion-shadow > details[open] > summary,
.dark .accordion-accent > details[open] > summary,
.dark .accordion-card > details[open] > summary,
.dark .accordion-flat > details > summary:hover {
    color: #EFA48C;
}
.dark .accordion-card > details[open] {
    border-color: #F4511E;
    box-shadow: 0 4px 12px -2px rgba(198, 40, 40, 0.15);
}
.dark .accordion-card > details[open] > summary {
    border-bottom-color: #46413A;
}
.dark .accordion-flat > details,
.dark .accordion-flat > details:first-child {
    border-color: #46413A;
}
.dark .accordion-soft > details {
    background: #46413A;
}
.dark .accordion-soft > details[open] {
    background: #57524C;
}
.dark .accordion-minimal > details > summary {
    background: #5C4033;
}
.dark .accordion-minimal > details > summary:hover {
    background: #46413A;
}
.dark .accordion-minimal > details[open] > summary {
    background: #6B1212;
}
.dark .accordion-shadow > details {
    background: #5C4033;
    box-shadow: 0 1px 3px -1px rgba(0, 0, 0, 0.3), 0 1px 2px -1px rgba(0, 0, 0, 0.2);
}
.dark .accordion-shadow > details > summary {
    background: #46413A;
}
.dark .accordion-shadow > details > summary:hover {
    background: #57524C;
}
.dark .accordion-shadow > details[open] {
    box-shadow: 0 10px 25px -5px rgba(198, 40, 40, 0.2), 0 8px 10px -6px rgba(198, 40, 40, 0.12);
}
.dark .accordion-shadow > details[open] > summary {
    background: #6B1212;
}
.dark .accordion-accent > details > summary {
    background: #46413A;
}
.dark .accordion-accent > details > summary:hover {
    background: #57524C;
}
.dark .accordion-accent > details[open] {
    border-left-color: #F4511E;
}
.dark .accordion-accent > details[open] > summary {
    background: #6B1212;
}
.dark .accordion-gradient > details {
    background: #5C4033;
    box-shadow: 0 2px 8px -2px rgba(0, 0, 0, 0.3);
}
.dark .accordion-plain > details > summary {
    color: #F5F3EF;
}
.dark .accordion-plain > details > summary:hover,
.dark .accordion-plain > details[open] > summary {
    color: #EFA48C;               /* emerald-300 */
}
.dark .accordion-plain p {
    color: #D6D2C8;
}

.dark .accordion-card p,
.dark .accordion-flat p,
.dark .accordion-soft p,
.dark .accordion-filled p,
.dark .accordion-minimal p,
.dark .accordion-shadow p,
.dark .accordion-accent p,
.dark .accordion-gradient p,
.dark .accordion-card li,
.dark .accordion-flat li,
.dark .accordion-soft li,
.dark .accordion-filled li,
.dark .accordion-minimal li,
.dark .accordion-shadow li,
.dark .accordion-accent li,
.dark .accordion-gradient li,
.dark .accordion-card ul,
.dark .accordion-flat ul,
.dark .accordion-soft ul,
.dark .accordion-filled ul,
.dark .accordion-minimal ul,
.dark .accordion-shadow ul,
.dark .accordion-accent ul,
.dark .accordion-gradient ul,
.dark .accordion-card ol,
.dark .accordion-flat ol,
.dark .accordion-soft ol,
.dark .accordion-filled ol,
.dark .accordion-minimal ol,
.dark .accordion-shadow ol,
.dark .accordion-accent ol,
.dark .accordion-gradient ol {
    color: #D6D2C8;
}
.dark .accordion-card strong,
.dark .accordion-flat strong,
.dark .accordion-soft strong,
.dark .accordion-filled strong,
.dark .accordion-minimal strong,
.dark .accordion-shadow strong,
.dark .accordion-accent strong,
.dark .accordion-gradient strong {
    color: #FAF9F6;
}
.dark .accordion-card a,
.dark .accordion-flat a,
.dark .accordion-soft a,
.dark .accordion-filled a,
.dark .accordion-minimal a,
.dark .accordion-shadow a,
.dark .accordion-accent a,
.dark .accordion-gradient a {
    color: #EFA48C;
}

/* 2-6. Travel pattern dark mode */
.dark .tp-alert-info    { background: rgba(194, 154, 53, 0.10); color: #F0DE9E; }
.dark .tp-alert-success { background: rgba(176, 138, 46, 0.10); color: #EADCA8; } /* gold-200 */
.dark .tp-alert-warning { background: rgba(245, 158, 11, 0.10); color: #fcd34d; }
.dark .tp-alert-danger  { background: rgba(239, 68, 68, 0.10); color: #fca5a5; }

.dark .tp-steps > li > strong { color: #FAF9F6; }
.dark .tp-steps span { color: #A6A099; }
.dark .tp-steps::before { background: #6B1212; } /* emerald-900 */
.dark .tp-steps > li::before { box-shadow: 0 0 0 4px #5C4033; }

.dark .tp-steps-minimal > li::before {
    color: #EFA48C;              /* emerald-300 */
    border-color: #6B1212;       /* emerald-900 */
}
.dark .tp-steps-card > li {
    background: #5C4033;
    border-color: #46413A;
}
.dark ol.tp-steps.tp-steps-panel {
    background: rgba(198, 40, 40, 0.08);   /* emerald-600/8 */
    border-color: rgba(198, 40, 40, 0.30);
}
.dark .tp-steps-dots > li::after { background: #6B1212; } /* emerald-900 */
.dark .tp-steps-panel > li::after { background: #C62828; }
.dark .tp-steps-panel > li::before { box-shadow: 0 0 0 4px rgba(198, 40, 40, 0.08); }

.dark .tp-list-box-inclusive {
    background: rgba(176, 138, 46, 0.08);  /* gold-500/8 */
    border-color: rgba(176, 138, 46, 0.30);
}
.dark .tp-list-box-exclusive {
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.30);
}
.dark .tp-list-box-inclusive .tp-list-title { color: #EADCA8; } /* gold-200 */
.dark .tp-list-box-exclusive .tp-list-title { color: #fca5a5; }
.dark .tp-checklist > li,
.dark .tp-crosslist > li { color: #D6D2C8; }
.dark .tp-checklist > li::before { color: #EADCA8; } /* gold-200 */

/* 4c. List box variants dark mode */
.dark .tp-list-box-card.tp-list-box-inclusive,
.dark .tp-list-box-card.tp-list-box-exclusive,
.dark .tp-list-box-accent.tp-list-box-inclusive,
.dark .tp-list-box-accent.tp-list-box-exclusive {
    background: #5C4033;
    border-color: #46413A;
}
.dark .tp-list-box-accent.tp-list-box-inclusive { border-left-color: #B08A2E; }
.dark .tp-list-box-accent.tp-list-box-exclusive { border-left-color: #ef4444; }

.dark .tp-list-box-minimal.tp-list-box-inclusive,
.dark .tp-list-box-minimal.tp-list-box-exclusive {
    background: transparent;
    border-color: transparent;
}

.dark .tp-list-box-fill.tp-list-box-inclusive { background: #967124; border-color: #967124; }
.dark .tp-list-box-fill.tp-list-box-exclusive { background: #ef4444; border-color: #ef4444; }
.dark .tp-list-box-fill .tp-list-title { color: #ffffff; }
.dark .tp-list-box-fill .tp-checklist > li,
.dark .tp-list-box-fill .tp-crosslist > li { color: rgba(255, 255, 255, 0.9); }
.dark .tp-list-box-fill .tp-checklist > li::before { color: #F5EDD3; }
.dark .tp-list-box-fill .tp-crosslist > li::before { color: #fecaca; }

.dark .tp-feature-card {
    background: #5C4033;
    border-color: #46413A;
}
.dark .tp-feature-card:hover {
    border-color: #C62828; /* emerald-600 */
}
.dark .tp-feature-card strong { color: #FAF9F6; }
.dark .tp-feature-card span { color: #A6A099; }
.dark .tp-feature-card > i { color: #EFA48C; } /* emerald-300 */

.dark .tp-feature-grid-filled .tp-feature-card {
    background: #C62828;
    border-color: #C62828;
}
.dark .tp-feature-grid-filled .tp-feature-card:hover {
    background: #A51E1E;
    border-color: #A51E1E;
}
.dark .tp-feature-grid-filled .tp-feature-card > i { color: #FAE3DA; }
.dark .tp-feature-grid-filled .tp-feature-card strong { color: #ffffff; }
.dark .tp-feature-grid-filled .tp-feature-card span { color: rgba(255, 255, 255, 0.8); }

.dark .tp-feature-grid-shadow .tp-feature-card {
    border: 0;
    box-shadow: 0 2px 8px -2px rgba(0, 0, 0, 0.45);
}
.dark .tp-feature-grid-shadow .tp-feature-card:hover {
    box-shadow: 0 10px 20px -6px rgba(0, 0, 0, 0.60);
}

.dark .tp-feature-grid-side .tp-feature-card > i { background: rgba(198, 40, 40, 0.12); }

.dark .tp-feature-grid-accent .tp-feature-card { border-left-color: #C62828; }

.dark .tp-quick-facts {
    background: #5C4033;
    border-color: #46413A;
    border-left-color: #C62828; /* emerald-600 */
}
.dark .tp-quick-facts > dt { color: #A6A099; }
.dark .tp-quick-facts > dd { color: #FAF9F6; }

.dark .tp-quick-facts-striped { border-color: #46413A; background: transparent; }
.dark .tp-quick-facts-striped > dt:nth-of-type(even),
.dark .tp-quick-facts-striped > dd:nth-of-type(even) {
    background: #46362D;         /* gray-900 — visible on gray-800 panels
                                    and the gray-950 body alike */
}
.dark .tp-quick-facts-divided { background: transparent; }
.dark .tp-quick-facts-divided > dt,
.dark .tp-quick-facts-divided > dd { border-bottom-color: #46413A; }

.dark .tp-quick-facts-bordered { border-color: #46413A; background: transparent; }
.dark .tp-quick-facts-bordered > dt {
    background: #5C4033;
    border-right-color: #46413A;
    border-bottom-color: #46413A;
}
.dark .tp-quick-facts-bordered > dd { border-bottom-color: #46413A; }

.dark .tp-quick-facts-panel {
    background: rgba(198, 40, 40, 0.08);   /* emerald-600/8 */
    border-color: rgba(198, 40, 40, 0.30);
    border-left-color: #C62828;
}

/* 7-11. New patterns dark mode */
.dark .tp-tabs { border-color: #46413A; }
.dark .tp-tabs > label {
    background: #46413A;
    color: #A6A099;
}
.dark .tp-tabs > label:hover {
    background: #57524C;
    color: #FAF9F6;
}
.dark .tp-tabs > input[type="radio"]:checked + label {
    background: #5C4033;
    color: #EFA48C;             /* emerald-300 */
    border-bottom-color: #C62828;
}
.dark .tp-tabs > .tp-tab-panels {
    background: #5C4033;
    color: #D6D2C8;
}
.dark .tp-tabs .tp-tab-panel strong {
    color: #F5F3EF;
}

.dark .tp-tabs-underline > label {
    background: transparent;
    color: #A6A099;
    border-bottom-color: #46413A;
}
.dark .tp-tabs-underline > label:hover { background: transparent; color: #FAF9F6; }
.dark .tp-tabs-underline > input[type="radio"]:checked + label {
    background: transparent;
    color: #EFA48C;              /* emerald-300 */
    border-bottom-color: #C62828;
}
.dark .tp-tabs-underline > .tp-tab-panels { background: transparent; }

/* Vertical labels need no dark overrides: base dark label/checked rules
   already give #46413A inactive + #5C4033 active (merges with dark panels),
   and the emerald right-border comes from the light variant rule */

.dark .tp-tabs-fill > label { background: #C62828; color: rgba(255, 255, 255, 0.7); }
.dark .tp-tabs-fill > label:hover { background: #A51E1E; color: #ffffff; }
.dark .tp-tabs-fill > input[type="radio"]:checked + label {
    background: #470909;
    color: #ffffff;
    border-bottom-color: #470909;
}

.dark .tp-tabs-vertical-fill > label { background: #C62828; color: rgba(255, 255, 255, 0.7); }
.dark .tp-tabs-vertical-fill > label:hover { background: #A51E1E; color: #ffffff; }
.dark .tp-tabs-vertical-fill > input[type="radio"]:checked + label {
    background: #470909;
    color: #ffffff;
}

.dark .tp-stat {
    border-color: #46413A;
    background: linear-gradient(180deg, #5C4033 0%, #46362D 100%);
}
.dark .tp-stat:hover { border-color: #C62828; }
.dark .tp-stat > strong { color: #EFA48C; } /* emerald-300 */
.dark .tp-stat > span { color: #A6A099; }

/* 9a. Stat Row variants dark mode */
.dark .tp-stats-fill .tp-stat { background: #C62828; border-color: #C62828; }
.dark .tp-stats-fill .tp-stat:hover { border-color: #A51E1E; }
.dark .tp-stats-fill .tp-stat > strong { color: #ffffff; }
.dark .tp-stats-fill .tp-stat > span { color: rgba(255, 255, 255, 0.8); }

.dark .tp-stats-shadow .tp-stat {
    border: 0;
    background: #5C4033;
    box-shadow: 0 2px 8px -2px rgba(0, 0, 0, 0.45);
}
.dark .tp-stats-shadow .tp-stat:hover { box-shadow: 0 8px 16px -6px rgba(0, 0, 0, 0.60); }

.dark .tp-stats-accent .tp-stat { background: #5C4033; }

.dark .tp-stats-minimal .tp-stat {
    border: 0;
    background: transparent;
}
.dark .tp-stats-minimal .tp-stat:hover { transform: none; }

.dark .tp-compare-table { border-color: #46413A; }
.dark .tp-compare-table > thead > tr > th {
    background: #46413A;
    color: #FAF9F6;
    border-bottom-color: #57524C;
}
.dark .tp-compare-table > thead > tr > th.tp-featured {
    background: #C62828;
    color: #ffffff;
}
.dark .tp-compare-table > tbody > tr > td {
    color: #D6D2C8;
    border-bottom-color: #46413A;
}
.dark .tp-compare-table > tbody > tr > td.tp-featured {
    background: rgba(198, 40, 40, 0.15);
    color: #EFA48C;
}
.dark .tp-compare-table > tbody > tr:hover > td { background: #46413A; }
.dark .tp-compare-table > tbody > tr:hover > td.tp-featured {
    background: rgba(198, 40, 40, 0.25);
}

.dark .tp-compare-table-striped > tbody > tr:nth-child(even) > td {
    background: #46362D;         /* gray-900: one step off BOTH the gray-950
                                    page body and the gray-800 content panels,
                                    so stripes stay visible wherever the table
                                    is placed */
}
.dark .tp-compare-table-striped > tbody > tr:nth-child(even) > td.tp-featured {
    background: rgba(198, 40, 40, 0.15);
}
.dark .tp-compare-table-striped > tbody > tr:hover > td {
    background: #46413A;
}
.dark .tp-compare-table-striped > tbody > tr:hover > td.tp-featured {
    background: rgba(198, 40, 40, 0.25);
}

.dark .tp-compare-table-minimal > thead > tr > th {
    background: transparent;
    color: #FAF9F6;
    border-bottom-color: #C62828;
}
.dark .tp-compare-table-minimal > thead > tr > th.tp-featured {
    background: transparent;
    color: #EFA48C;              /* emerald-300 */
}
.dark .tp-compare-table-minimal > tbody > tr > td.tp-featured {
    background: transparent;
    color: #EFA48C;              /* emerald-300 */
}
.dark .tp-compare-table-minimal > tbody > tr:hover > td {
    background: #5C4033;
}
.dark .tp-compare-table-minimal > tbody > tr:hover > td.tp-featured {
    background: rgba(198, 40, 40, 0.15);
}

.dark .tp-compare-table-bordered > thead > tr > th { border-right-color: #57524C; }
.dark .tp-compare-table-bordered > tbody > tr > td {
    border-right-color: #46413A;
    border-bottom-color: #46413A;
}

.dark .tp-compare-table-fill > thead > tr > th {
    background: #C62828;
    color: #ffffff;
    border-bottom-color: #A51E1E;
}
.dark .tp-compare-table-fill > thead > tr > th.tp-featured {
    background: #470909;         /* emerald-950 */
}

.dark .tp-testimonial {
    background: linear-gradient(135deg, rgba(198, 40, 40, 0.12) 0%, #5C4033 100%);
    border-left-color: #C62828;
}
.dark .tp-testimonial::before { color: #6B1212; } /* emerald-900 */
.dark .tp-testimonial > blockquote { color: #F5F3EF; }
.dark .tp-testimonial > figcaption { color: #EFA48C; }
.dark .tp-testimonial > figcaption > strong { color: #FAF9F6; }
.dark .tp-testimonial > figcaption > span { color: #A6A099; }

.dark .tp-testimonial-card {
    background: #5C4033;
    border-color: #46413A;
}
.dark .tp-testimonial-centered { background: rgba(198, 40, 40, 0.08); }
.dark .tp-testimonial-fill { background: #C62828; }
.dark .tp-testimonial-fill::before { color: rgba(255, 255, 255, 0.45); }
.dark .tp-testimonial-fill > blockquote { color: #ffffff; }
.dark .tp-testimonial-fill > figcaption { color: #FAE3DA; }
.dark .tp-testimonial-fill > figcaption > strong { color: #ffffff; }
.dark .tp-testimonial-fill > figcaption > span { color: rgba(255, 255, 255, 0.75); }
.dark .tp-testimonial-minimal { border-left-color: #6B1212; } /* emerald-900 */

/* 12. Headers & titles dark mode */
.dark .tp-header-title { color: #F5F3EF; }
.dark .tp-header-sub { color: #A6A099; }
.dark .tp-header-num { background: #470909; } /* emerald-950 */
.dark .tp-title-underline { color: #F5F3EF; }
.dark .tp-divider > span { background: #46413A; }
.dark .tp-title-pill { background: rgba(198, 40, 40, 0.15); color: #EFA48C; }

/* 13-14. New patterns dark mode */
.dark .tp-hours {
    background: #5C4033;
    border-color: #46413A;
    border-left-color: #C62828; /* emerald-600 */
}
.dark .tp-hours > dt { color: #D6D2C8; }
.dark .tp-hours > dd { color: #FAF9F6; }
.dark .tp-hours > dt:not(:last-of-type),
.dark .tp-hours > dd:not(:last-of-type) { border-bottom-color: #46413A; }
.dark .tp-hours .tp-hours-closed { color: #fca5a5; }

.dark .tp-itin-day {
    background: #5C4033;
    border-color: #46413A;
}
.dark .tp-itin-body > strong { color: #FAF9F6; }
.dark .tp-itin-body > span { color: #A6A099; }
.dark .tp-itin-meta > span {
    background: rgba(198, 40, 40, 0.08);
    border-color: rgba(198, 40, 40, 0.30);
    color: #EFA48C;              /* emerald-300 */
}
.dark .tp-itin-meta i { color: #EFA48C; }

/* 16. Events dark mode */
.dark .tp-event { border-bottom-color: #46413A; }
.dark .tp-event-date {
    background: rgba(198, 40, 40, 0.08);
    border-color: rgba(198, 40, 40, 0.30);
}
.dark .tp-event-day { color: #EFA48C; }   /* emerald-300 */
.dark .tp-event-month { color: #EFA48C; }
.dark .tp-event-title { color: #FAF9F6; }
.dark .tp-event-desc { color: #A6A099; }
.dark .tp-events.tp-events-card {
    background: #5C4033;
    border-color: #46413A;
}
.dark .tp-events.tp-events-card .tp-event { border-bottom-color: #46413A; }
.dark .tp-events.tp-events-minimal .tp-event-date {
    background: transparent;
    border-color: transparent;
}
.dark .tp-events.tp-events-badge .tp-event-date {
    background: #C62828;           /* emerald-600 — solid badge stays brand */
    border-color: #C62828;
}
.dark .tp-events.tp-events-badge .tp-event-day { color: #ffffff; }
.dark .tp-events.tp-events-badge .tp-event-month { color: #FAE3DA; }
.dark .tp-events.tp-events-panel .tp-event {
    background: rgba(198, 40, 40, 0.08);
    border-color: rgba(198, 40, 40, 0.30);
}

/* 7. Two-column split dark mode */
.dark .tp-split-2 { color: #D6D2C8; }
.dark .tp-split-2 strong { color: #F5F3EF; }


/* TripAdvisor wordmark helpers — LOCAL svg (self-hosted, 3.7KB): plain, dark-mode invert, and the emerald mask tint. Tint = the SAME emerald-400 token as the snap feature icons; an img cannot take a color, and cross-origin masks fail CORS so the asset must be local */
.ta-wordmark.ta-invert{filter:invert(1)}
.dark .ta-wordmark:not(.ta-invert){filter:invert(1)}
.ta-wordmark-emerald{display:inline-block;height:14px;aspect-ratio:561/86;background-color:var(--color-emerald-400);-webkit-mask:url("/assets/vendors/tripadvisor/wordmark.svg") center/contain no-repeat;mask:url("/assets/vendors/tripadvisor/wordmark.svg") center/contain no-repeat}

/* ==========================================================================
   16. IN-CONTENT FIGURE — single mid-article illustration
   ==========================================================================
   Article bodies keep feature/gallery in the hero slider; this pattern is
   for the occasional image embedded INSIDE the body copy. Markup:
     <figure class="tp-figure">
       <img src="..." alt="..." loading="lazy">
       <figcaption>Optional caption</figcaption>
     </figure>
   No variant — one look everywhere (rounded, hairline border, muted caption).
*/
.tp-figure { margin: 1.5rem 0; }
.tp-figure img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0.75rem;
    border: 1px solid rgba(29, 26, 22, 0.10);
}
.dark .tp-figure img { border-color: rgba(255, 255, 255, 0.14); }
.tp-figure figcaption {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    line-height: 1.4;
    color: #6B6459;
    text-align: center;
}
.dark .tp-figure figcaption { color: #A6A099; }

/* Horizontal overflow guard: the desktop layout must NEVER widen the document.
   Chrome Android "Desktop site" fits the zoom to the document width — any
   invisible overflow (hidden megamenu flyout, image-driven grid blowout)
   permanently zooms the whole page out once content loads. overflow-x: clip
   keeps the document at viewport width without creating a scroll container
   (position: sticky keeps working; fixed elements unaffected). */
html, body { overflow-x: clip; }

/* Editorial serif face — the magazine template's display type. Class form
   of the exact Georgia stack the banner/card skins inline, so class-only
   skin slots (section headings, card titles) can wear it too. */
.tp-serif { font-family: Georgia, 'Times New Roman', serif; }
