/*
 * BonnieDaysOut – Christmas days out in Scotland 2026
 * Intended path: /css/christmas-guide-2026.css
 * Load AFTER /css/halloween-guide-2026.css. Only used by
 * /guides/christmas-days-out-scotland-2026/.
 *
 * Every rule is scoped under body.christmas-guide (a class only this page's
 * <body> carries), so it can't affect any other page, including the
 * Halloween guide, which shares the halloween-* layout classes.
 *
 * Palette (contrast ratios checked against WCAG 2.2 AA):
 *   pine      #0f3b2c  hero / dark panels   cream text on pine 11.4:1
 *   pine-deep #0b2e22  region panel, card top bars
 *   cranberry #a3143a  buttons / accents    white text on cranberry 7.7:1
 *   cranberry-dark #7f0f2d  small accent text on white 10.3:1
 *   gold      #e8c26a  kicker, stars, badges on pine 7.3:1
 *   cream     #fbf4e6  page background
 */

body.christmas-guide {
    --xmas-pine: #0f3b2c;
    --xmas-pine-deep: #0b2e22;
    --xmas-pine-soft: #1d5a42;
    --xmas-cranberry: #a3143a;
    --xmas-cranberry-dark: #7f0f2d;
    --xmas-cranberry-hover: #8c1031;
    --xmas-gold: #e8c26a;
    --xmas-gold-soft: #f3d993;
    --xmas-gold-dark: #8a6416;
    --xmas-cream: #fbf4e6;
    --xmas-snow: #fffdf8;

    /* Re-point the shared Halloween layout variables for this page only. */
    --halloween-ink: #13211b;
    --halloween-ink-soft: #1d5a42;
    --halloween-pumpkin: var(--xmas-cranberry);
    --halloween-pumpkin-dark: var(--xmas-cranberry-dark);
    --halloween-cream: var(--xmas-cream);
    --halloween-cream-soft: #f3e6cc;
    --halloween-acid: var(--xmas-gold);
    --halloween-white: var(--xmas-snow);
    --halloween-muted: #4d5a52;
    --halloween-line: rgba(19, 33, 27, 0.16);
    --halloween-shadow: 0 18px 46px rgba(11, 46, 34, 0.12);

    background:
        radial-gradient(circle at 10% 24%, rgba(232, 194, 106, 0.12), transparent 24rem),
        var(--xmas-cream);
}

/* Focus: cranberry on light areas, gold on dark areas */
body.christmas-guide :focus-visible {
    outline: 3px solid var(--xmas-cranberry);
    outline-offset: 3px;
}
body.christmas-guide .halloween-hero :focus-visible,
body.christmas-guide .halloween-regions :focus-visible,
body.christmas-guide .halloween-event-topline :focus-visible {
    outline-color: var(--xmas-gold);
}

/* ---------- Hero ---------- */
body.christmas-guide .halloween-hero {
    color: var(--xmas-cream);
    background:
        radial-gradient(circle at 78% 30%, rgba(232, 194, 106, 0.16), transparent 24rem),
        radial-gradient(circle at 8% 90%, rgba(29, 90, 66, 0.9), transparent 22rem),
        var(--xmas-pine);
    background-size: auto;
}
body.christmas-guide .halloween-hero::before {
    background: repeating-linear-gradient(90deg,
        var(--xmas-cranberry) 0 4rem,
        var(--xmas-gold) 4rem 4.5rem,
        var(--xmas-snow) 4.5rem 5rem,
        var(--xmas-pine-soft) 5rem 7rem);
}
body.christmas-guide .halloween-breadcrumb { color: rgba(251, 244, 230, 0.82); }
body.christmas-guide .halloween-hero .halloween-kicker { color: var(--xmas-gold); }
body.christmas-guide .halloween-hero h1 { color: var(--xmas-snow); }
body.christmas-guide .halloween-hero-promise { color: var(--xmas-gold-soft); }
body.christmas-guide .halloween-hero-copy > p:not(.halloween-hero-promise) { color: rgba(251, 244, 230, 0.9); }
body.christmas-guide .halloween-proof-row { color: rgba(251, 244, 230, 0.85); }
body.christmas-guide .halloween-proof-row span::before { color: var(--xmas-gold); content: '★'; }

/* Decorative tree: desktop only, keeps the mobile top compact */
body.christmas-guide .christmas-hero-art { display: none; }
@media (min-width: 64rem) {
    body.christmas-guide .christmas-hero-art {
        display: block;
        width: min(100%, 26rem);
        align-self: start;
        margin: 3.5rem auto 0;
    }
}
body.christmas-guide .christmas-hero-scene {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 26px 40px rgba(0, 0, 0, 0.35));
}
body.christmas-guide .christmas-twinkle {
    transform-box: fill-box;
    transform-origin: center;
    animation: christmas-twinkle 3.2s ease-in-out infinite alternate;
}
body.christmas-guide .christmas-twinkle:nth-of-type(2n) { animation-delay: -1.1s; }
body.christmas-guide .christmas-twinkle:nth-of-type(3n) { animation-delay: -2.3s; }
@keyframes christmas-twinkle {
    from { opacity: 0.45; transform: scale(0.85); }
    to { opacity: 1; transform: scale(1.05); }
}
@media (prefers-reduced-motion: reduce) {
    body.christmas-guide .christmas-twinkle { animation: none; }
}

/* ---------- Buttons ---------- */
body.christmas-guide .halloween-button-primary,
body.christmas-guide .halloween-card-link {
    color: #fff;
    background: var(--xmas-cranberry);
    box-shadow: 0 6px 0 #5e0a21;
}
body.christmas-guide .halloween-button-primary:hover,
body.christmas-guide .halloween-card-link:hover {
    color: #fff;
    background: var(--xmas-cranberry-hover);
}
body.christmas-guide .halloween-button-ghost {
    border-color: rgba(251, 244, 230, 0.7);
    color: var(--xmas-snow);
}
body.christmas-guide .halloween-button-ghost:hover { background: rgba(251, 244, 230, 0.08); }
body.christmas-guide .halloween-card-link-secondary,
body.christmas-guide .halloween-card-link-secondary:hover {
    border-color: var(--xmas-pine);
    color: var(--xmas-pine);
    background: transparent;
    box-shadow: none;
}
body.christmas-guide .halloween-card-link-secondary:hover { background: #eef4ef; }

/* ---------- Panels, kickers, quick picks ---------- */
body.christmas-guide .halloween-kicker { color: var(--xmas-cranberry-dark); }
body.christmas-guide .halloween-panel { box-shadow: 10px 10px 0 var(--xmas-cranberry); }
body.christmas-guide .halloween-advice { box-shadow: 10px 10px 0 var(--xmas-gold); }
body.christmas-guide .halloween-spotlight-list span { color: var(--xmas-cranberry-dark); }
body.christmas-guide .halloween-spotlight-list a:hover { background: #f6ecd6; }

/* ---------- Region panel ---------- */
body.christmas-guide .halloween-regions { background: var(--xmas-pine-deep); }
body.christmas-guide .halloween-regions .halloween-kicker { color: var(--xmas-gold); }
body.christmas-guide .halloween-region-grid h3 { color: var(--xmas-gold); }
body.christmas-guide .halloween-region-grid > section {
    border-color: rgba(232, 194, 106, 0.28);
}

/* Region headings inside the event board */
body.christmas-guide .christmas-region-heading {
    margin: 1.75rem 0 0.25rem;
    border-bottom: 3px solid var(--xmas-gold);
    padding-bottom: 0.35rem;
    color: var(--xmas-pine);
    font-size: clamp(1.2rem, 4.5vw, 1.5rem);
    font-weight: 900;
    letter-spacing: -0.02em;
}

/* ---------- Event cards ---------- */
body.christmas-guide .halloween-event-card { border-color: var(--xmas-pine); }
body.christmas-guide .halloween-event-topline {
    color: var(--xmas-cream);
    background: var(--xmas-pine);
}
body.christmas-guide .halloween-status { color: var(--xmas-gold); }
body.christmas-guide .halloween-status::before { content: '★'; }
body.christmas-guide .halloween-event-title p { color: var(--xmas-cranberry-dark); }
body.christmas-guide .halloween-event-catch {
    border-left-color: var(--xmas-gold-dark);
    background: #f8f0de;
}

/* Affiliate ticket block (inside .halloween-event-actions) */
body.christmas-guide .halloween-ticket-options {
    border: 1px solid rgba(232, 194, 106, 0.7);
    border-radius: 0.9rem;
    padding: 0.85rem;
    background: #fdf7e9;
}
body.christmas-guide .halloween-ticket-options p:nth-of-type(2) {
    color: var(--halloween-muted);
    font-size: 0.78rem;
}
body.christmas-guide .halloween-ticket-options p:last-child {
    color: var(--halloween-muted);
    font-size: 0.78rem;
    text-align: center;
}

/* ---------- FAQ ---------- */
body.christmas-guide .christmas-faq-item {
    border-top: 1px solid var(--halloween-line);
}
body.christmas-guide .christmas-faq-item:last-of-type {
    border-bottom: 1px solid var(--halloween-line);
}
body.christmas-guide .christmas-faq-item summary {
    position: relative;
    display: block;
    min-height: 2.75rem;
    padding: 1rem 3rem 1rem 0;
    color: var(--halloween-ink);
    font-size: 1.02rem;
    font-weight: 800;
    line-height: 1.35;
    list-style: none;
    cursor: pointer;
}
body.christmas-guide .christmas-faq-item summary::-webkit-details-marker { display: none; }
body.christmas-guide .christmas-faq-item summary::marker { content: ''; }
body.christmas-guide .christmas-faq-item summary::after {
    position: absolute;
    top: 50%;
    right: 0.15rem;
    display: grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    border-radius: 999px;
    color: #fff;
    background: var(--xmas-cranberry);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
    transform: translateY(-50%);
    content: '+';
}
body.christmas-guide .christmas-faq-item[open] summary::after {
    background: var(--xmas-pine);
    content: '−';
}
body.christmas-guide .christmas-faq-item summary:hover { color: var(--xmas-cranberry-dark); }
body.christmas-guide .christmas-faq-item p {
    margin: 0 0 1.1rem;
    padding-right: 2.5rem;
    color: var(--halloween-muted);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* ---------- More family days out: chip links ---------- */
body.christmas-guide #more-days-out ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
}
body.christmas-guide #more-days-out li { margin: 0; }
body.christmas-guide #more-days-out li::marker { content: ''; }
body.christmas-guide #more-days-out a {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    gap: 0.45rem;
    border: 2px solid var(--xmas-pine);
    border-radius: 999px;
    padding: 0.55rem 1rem;
    color: var(--xmas-pine);
    background: var(--xmas-snow);
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    transition: background-color 160ms ease, color 160ms ease;
}
body.christmas-guide #more-days-out a::after { content: '→'; }
body.christmas-guide #more-days-out a:hover {
    color: #fff;
    background: var(--xmas-pine);
}
