/* =========================================================
   Provost Park Pass — design system
   ========================================================= */

:root {
    --ppp-teal: #138ACE;
    --ppp-teal-dark: #0f6ba3;
    --ppp-green: #92D14F;
    --ppp-green-dark: #74a83c;
    --ppp-black: #161616;
    --ppp-white: #ffffff;
    --ppp-cream: #fbfaf6;
    --ppp-gray: #6b6b6b;
    --ppp-border: #e7e5df;

    /* Seasonal themes (App\Support\SiteTheme) override any of the colours above and these. */
    --ppp-on-green: var(--ppp-black);          /* text on accent-coloured buttons, pills and tags */
    --ppp-footer-accent: var(--ppp-green);     /* link hovers on the footer, success messages on dark panels */
    --ppp-overlay-rgb: 15, 22, 30;             /* dark wash over background photos (r, g, b) */

    --font-body: 'Montserrat', system-ui, -apple-system, Segoe UI, sans-serif;
    --font-display: 'Montserrat', system-ui, -apple-system, Segoe UI, sans-serif;

    --radius-lg: 28px;
    --radius-pill: 999px;
    --shadow-soft: 0 12px 30px -12px rgba(22, 22, 22, 0.18);
    --shadow-pop: 0 8px 0 0 var(--ppp-black);

    --container-width: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ppp-black);
    background: var(--ppp-white);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.05;
    margin: 0 0 0.5em;
    letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 5vw + 1rem, 4rem); }
h2 { font-size: clamp(1.7rem, 3vw + 1rem, 2.7rem); }
h3 { font-size: clamp(1.2rem, 1.2vw + 1rem, 1.6rem); }

p { line-height: 1.65; color: var(--ppp-gray); margin: 0 0 1em; }

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    background: var(--ppp-black);
    color: #fff;
    padding: 0.75rem 1.25rem;
    z-index: 1000;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

/* Visible to screen readers only (e.g. the newsletter form's "Email address" label). */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.9rem 1.9rem;
    border-radius: var(--radius-pill);
    border: 3px solid var(--ppp-black);
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    box-shadow: var(--shadow-pop);
}
.btn:hover { transform: translate(-2px, -2px); }
.btn:active { transform: translate(0, 2px); box-shadow: 0 4px 0 0 var(--ppp-black); }

.btn--teal { background: var(--ppp-teal); color: #fff; }
.btn--green { background: var(--ppp-green); color: var(--ppp-on-green); }
.btn--outline { background: transparent; }

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--ppp-white);
    border-bottom: 3px solid var(--ppp-black);
}
.site-header__bar {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0.65rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.site-header__brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-right: auto;
    font-weight: 800;
}
.site-header__logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}
.site-header__brand-text { display: none; font-size: 1.05rem; }

.nav-toggle-input { display: none; }
.nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 20;
}
.nav-toggle span {
    display: block;
    height: 3px;
    background: var(--ppp-black);
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-nav {
    position: fixed;
    inset: 0 0 0 30%;
    background: var(--ppp-white);
    transform: translateX(100%);
    transition: transform 0.25s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    overflow-y: auto;
}
.nav-toggle-input:checked ~ .site-nav { transform: translateX(0); }

.site-nav__list {
    list-style: none;
    margin: 0 0 2rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    font-weight: 700;
    font-size: 1.25rem;
}
.site-nav__list a:hover { color: var(--ppp-teal); }
.site-nav__list .pill-link {
    display: inline-block;
    background: var(--ppp-green);
    color: var(--ppp-on-green);
    padding: 0.5rem 1.3rem;
    border-radius: var(--radius-pill);
    width: fit-content;
}

.site-nav__social {
    list-style: none;
    display: flex;
    gap: 0.9rem;
    margin: 0;
    padding: 0;
}
.site-nav__social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--ppp-black);
    color: #fff;
    transition: background 0.15s ease;
}
.site-nav__social a:hover { background: var(--ppp-teal); }

/* Full horizontal nav from 1024px; below that the hamburger menu is used. (It
   used to switch at 900px, which made the header overflow sideways up to
   ~1,100px.) On narrower screens the "Provost Park Pass" text wraps onto 2-3
   lines to make room; the nav itself never shrinks, so nothing overlaps. */
@media (min-width: 1024px) {
    .site-header__brand-text { display: block; }
    .nav-toggle { display: none; }
    .site-nav {
        position: static;
        inset: auto;
        transform: none;
        flex-direction: row;
        flex-shrink: 0;
        align-items: center;
        gap: 1rem;
        padding: 0;
        background: transparent;
        overflow: visible;
    }
    .site-nav__list {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
        margin: 0;
        font-size: 0.98rem;
    }
    .site-nav__list a { white-space: nowrap; }
    .site-nav__social { gap: 0.5rem; }
    .site-nav__social a { width: 36px; height: 36px; }
}
/* Roomier spacing once the header reaches its full width. */
@media (min-width: 1280px) {
    .site-nav { gap: 1.5rem; }
    .site-nav__list { gap: 1.25rem; }
    .site-nav__social { gap: 0.9rem; }
    .site-nav__social a { width: 40px; height: 40px; }
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    padding: 3.5rem 0 4rem;
    background: linear-gradient(160deg, var(--ppp-teal) 0%, var(--ppp-teal-dark) 100%);
    color: #fff;
    overflow: hidden;
}
.hero .container { position: relative; z-index: 1; }
.hero-tag {
    display: inline-block;
    background: var(--ppp-green);
    color: var(--ppp-on-green);
    font-weight: 800;
    padding: 0.4rem 1rem;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}
.hero h1 { color: #fff; max-width: 18ch; margin-bottom: 0.35em; }
.hero p.lead { color: rgba(255,255,255,0.9); font-size: 1.15rem; max-width: 52ch; margin-bottom: 0; }
.hero .btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.1rem; }

.hero--compact { padding: 2.25rem 0 2.5rem; }
.hero--compact h1 { font-size: clamp(1.8rem, 3.2vw + 1rem, 2.8rem); }

/* Hero with a photo bleeding in from the right, blended into the gradient */
.hero__side-image {
    display: none;
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 46%;
    object-fit: cover;
    opacity: 0.95;
    -webkit-mask-image: linear-gradient(to right, transparent, black 35%);
    mask-image: linear-gradient(to right, transparent, black 35%);
}
@media (min-width: 700px) {
    .hero__side-image { display: block; }
}

/* Homepage greeting video (Seasonal Themes > Homepage Videos & Colours).
   Phones: a rounded 16:9 box right under the header text, so everyone sees it.
   700px and up: the side-image spot on the right, feathered into the header the same way. */
.hero__video {
    position: relative;
    margin: 1.4rem 1.25rem 0;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}
.hero__video video { display: block; width: 100%; height: 100%; object-fit: cover; }
/* z-index lifts the buttons above the text column (.hero .container), which overlaps the video on wide screens. */
.hero__video-controls { position: absolute; right: 0.6rem; bottom: 0.6rem; z-index: 2; display: flex; gap: 0.4rem; flex-wrap: wrap; justify-content: flex-end; }
.hero__video-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font: 800 0.8rem/1 var(--font-body);
    color: #fff;
    background: rgba(0, 0, 0, 0.55);
    border: 1.5px solid rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-pill);
    padding: 0.45rem 0.8rem;
    cursor: pointer;
    text-decoration: none;
}
.hero__video-btn:hover, .hero__video-btn:focus-visible { background: rgba(0, 0, 0, 0.8); color: #fff; }
@media (min-width: 700px) {
    .hero--video { min-height: 320px; }
    .hero__video {
        position: absolute;
        top: 0;
        right: 0;
        width: 46%;
        height: 100%;
        margin: 0;
        aspect-ratio: auto;
        border-radius: 0;
        background: none;
        box-shadow: none;
    }
    .hero__video video {
        -webkit-mask-image: linear-gradient(to right, transparent, black 35%);
        mask-image: linear-gradient(to right, transparent, black 35%);
    }
}

/* Hero with a full-bleed photo background + scrim so text stays legible */
.hero--bg {
    background-size: cover;
    background-position: center;
}
.hero--bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(var(--ppp-overlay-rgb),0.82) 0%, rgba(var(--ppp-overlay-rgb),0.45) 60%, rgba(var(--ppp-overlay-rgb),0.25) 100%);
}

/* ---------- Sections ---------- */
.section { padding: 3.5rem 0; }
.section--cream { background: var(--ppp-cream); }
.section-head { max-width: 60ch; margin-bottom: 2rem; }
.eyebrow {
    display: inline-block;
    color: var(--ppp-teal);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

/* ---------- Homepage stripes ---------- */
.stripe { padding: 3.5rem 0; position: relative; }
.stripe--bg {
    background-size: cover;
    background-position: center;
    color: #fff;
}
.stripe--bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(var(--ppp-overlay-rgb),0.78) 0%, rgba(var(--ppp-overlay-rgb),0.35) 65%);
}
.stripe--bg .stripe__body p { color: rgba(255,255,255,0.9); }
.stripe--bg .stripe__body h2 { color: #fff; }
.stripe__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}
@media (min-width: 800px) {
    .stripe__inner { flex-direction: row; }
    .stripe--reverse .stripe__inner { flex-direction: row-reverse; }
}
.stripe__media { flex: 1 1 45%; width: 100%; }
.stripe__media img {
    width: 100%;
    border-radius: var(--radius-lg);
    border: 3px solid var(--ppp-black);
    box-shadow: 0 6px 0 0 var(--ppp-black);
}
.stripe--bg .stripe__media img { border-color: #fff; box-shadow: 0 6px 0 0 rgba(255,255,255,0.5); }
.stripe__body { flex: 1 1 55%; }
.stripe__body h2 { margin-bottom: 0.5rem; }
.stripe__body .btn { margin-top: 1rem; }

/* ---------- Cards ---------- */
.card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
@media (min-width: 640px) {
    .card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
    .card-grid--3 { grid-template-columns: repeat(3, 1fr); }
    .card-grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
    background: #fff;
    border: 3px solid var(--ppp-black);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 6px 0 0 var(--ppp-black);
}
.card:hover { transform: translate(-3px, -3px); box-shadow: 0 10px 0 0 var(--ppp-black); }
.card__media {
    aspect-ratio: 16 / 9;
    background: var(--ppp-cream);
    position: relative;
    overflow: hidden;
}
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 1.25rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.card__tag {
    align-self: flex-start;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: var(--ppp-green);
    color: var(--ppp-on-green);
    padding: 0.25rem 0.7rem;
    border-radius: var(--radius-pill);
}
.card__title { font-size: 1.05rem; font-weight: 800; margin: 0; }
.card__desc { font-size: 0.92rem; color: var(--ppp-gray); margin: 0; }

/* ---------- Platform showcase ---------- */
.platform-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}
@media (min-width: 700px) {
    .platform-grid { grid-template-columns: repeat(3, 1fr); }
}
.platform-card {
    border-radius: var(--radius-lg);
    padding: 2rem 1.6rem;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-height: 220px;
}
.platform-card h3 { color: #fff; }
.platform-card p { color: rgba(255,255,255,0.85); }
.platform-card .btn { align-self: flex-start; margin-top: auto; }
.platform-card--youtube { background: #d81f26; }
.platform-card--instagram { background: radial-gradient(circle at 30% 30%, #fdd270, #d6249f 45%, #285AEB 100%); }
.platform-card--patreon { background: #FF424D; }
.platform-card--podcast { background: var(--ppp-teal); }
.platform-card--store { background: var(--ppp-black); }

.platform-grid--compact .platform-card {
    min-height: 150px;
    padding: 1.4rem 1.2rem;
    gap: 0.5rem;
    border-radius: 18px;
}
.platform-grid--compact .platform-card h3 { font-size: 1.05rem; margin: 0; }
.platform-grid--compact .platform-card p { font-size: 0.85rem; margin: 0; }
.platform-grid--compact .platform-card .btn {
    padding: 0.5rem 1.1rem;
    font-size: 0.85rem;
    border-width: 2px;
    box-shadow: 0 4px 0 0 var(--ppp-black);
}

/* ---------- Newsletter ---------- */
.newsletter {
    background: var(--ppp-black);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    text-align: center;
}
.newsletter h2 { color: #fff; }
.newsletter p { color: rgba(255,255,255,0.75); }
.newsletter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 1.5rem;
}
.newsletter-form input[type="email"] {
    flex: 1 1 280px;
    padding: 0.9rem 1.3rem;
    border-radius: var(--radius-pill);
    border: none;
    font-size: 1rem;
    font-family: var(--font-body);
}
.newsletter-form button {
    background: var(--ppp-green);
    color: var(--ppp-on-green);
    border: none;
    font-weight: 800;
    padding: 0.9rem 2rem;
    border-radius: var(--radius-pill);
    cursor: pointer;
}
.newsletter-form button:hover { background: var(--ppp-teal); color: #fff; }
.form-message { margin-top: 1rem; font-weight: 700; }
.form-message--success { color: var(--ppp-footer-accent); }
.form-message--info { color: #ffd166; }

.newsletter-mini { color: #fff; max-width: 340px; }
.newsletter-mini__title { font-weight: 800; margin-bottom: 0.25rem; color: #fff; }
.newsletter-mini__body { font-size: 0.85rem; color: rgba(255,255,255,0.65); }
.newsletter-mini__form { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.newsletter-mini__form input {
    flex: 1 1 160px;
    padding: 0.6rem 1rem;
    border-radius: var(--radius-pill);
    border: none;
    font-family: var(--font-body);
}
.newsletter-mini__form button {
    background: var(--ppp-green);
    color: var(--ppp-on-green);
    border: none;
    font-weight: 800;
    padding: 0.6rem 1.3rem;
    border-radius: var(--radius-pill);
    cursor: pointer;
}

/* ---------- Footer ---------- */
/* .site-footer { background: #0e0e0e; color: rgba(255,255,255,0.85); margin-top: 4rem; } */

.site-footer { background: var(--ppp-teal); color: rgba(255,255,255,0.85); margin-top: 4rem; }

.site-footer__inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 3.5rem 1.25rem 2.5rem;
    display: grid;
    gap: 2.5rem;
    grid-template-columns: 1fr;
}
@media (min-width: 900px) {
    .site-footer__inner { grid-template-columns: 1.1fr 1.4fr 1fr; }
}
/* On the coloured footer the logo sits in a white rounded square, so the whole
   badge shows (a circle crop cuts off the ends of the "PARK PASS" banner). */
.site-footer__logo {
    width: 88px;
    height: 88px;
    padding: 8px;
    background: #fff;
    border-radius: 16px;
    object-fit: contain;
    margin-bottom: 0.75rem;
}
.site-footer__brand p { color: rgba(255,255,255,0.65); }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 0.6rem 1.2rem; align-content: start; font-weight: 600; }
.site-footer__links a:hover { color: var(--ppp-footer-accent); }
.site-footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    padding: 1.25rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

/* ---------- Blog ---------- */
.blog-post-body { max-width: 900px; margin: 0 auto; }
.blog-post-body::after { content: ""; display: table; clear: both; }
.blog-post-body img { border-radius: var(--radius-lg); margin: 1.5rem 0; }
.blog-post-body h2, .blog-post-body h3 { margin-top: 1.5em; }

.blog-post-body img.align-left,
.blog-post-body img.align-right {
    max-width: 45%;
    margin-top: 0.25rem;
    margin-bottom: 1rem;
}
.blog-post-body img.align-left { float: left; margin-right: 1.5rem; }
.blog-post-body img.align-right { float: right; margin-left: 1.5rem; }
@media (max-width: 640px) {
    .blog-post-body img.align-left,
    .blog-post-body img.align-right {
        float: none;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
}

/* ---------- Admin ---------- */
.admin-shell { display: flex; min-height: 100vh; }
.admin-sidebar {
    width: 220px;
    background: var(--ppp-black);
    color: #fff;
    padding: 1.5rem 1rem;
    flex-shrink: 0;
}
.admin-sidebar a { display: block; padding: 0.6rem 0.8rem; border-radius: 10px; color: rgba(255,255,255,0.8); font-weight: 600; }
.admin-sidebar a:hover, .admin-sidebar a.active { background: var(--ppp-teal); color: #fff; }
.admin-content { flex: 1; padding: 2rem; background: var(--ppp-cream); }
.admin-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; }
.admin-table th, .admin-table td { padding: 0.75rem 1rem; border-bottom: 1px solid var(--ppp-border); text-align: left; }
.admin-table th { background: #f2f1ea; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; }
/* Denser listing (Featured Videos): smaller text and padding, number columns, a line between groups. */
.admin-table--compact td { font-size: 0.85rem; padding: 0.45rem 0.7rem; vertical-align: middle; }
.admin-table--compact th { padding: 0.55rem 0.7rem; font-size: 0.72rem; }
.admin-table--compact .num { text-align: center; width: 4rem; }
.admin-table--compact tr.group-start td { border-top: 3px solid var(--ppp-border); }
.admin-table--compact .btn { padding: 0.3rem 0.8rem !important; font-size: 0.8rem; }
.admin-form label { display: block; font-weight: 700; margin: 1rem 0 0.35rem; }
.admin-form input[type=text], .admin-form input[type=email], .admin-form input[type=url], .admin-form input[type=number], .admin-form textarea, .admin-form select {
    width: 100%; padding: 0.65rem 0.9rem; border-radius: 10px; border: 1px solid var(--ppp-border); font-family: var(--font-body);
}
.admin-form textarea { min-height: 160px; }
.admin-actions { margin-top: 1.5rem; display: flex; gap: 0.75rem; }

/* Dashboard count tiles: compact, 5 across on a normal desktop. */
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 800px)  { .stat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .stat-grid { grid-template-columns: repeat(5, 1fr); } }
.stat-card { border-width: 2px; box-shadow: 0 4px 0 0 var(--ppp-black); }
.stat-card:hover { transform: translate(-2px, -2px); box-shadow: 0 6px 0 0 var(--ppp-black); }
.stat-card .card__body { padding: 0.8rem 0.9rem 0.9rem; gap: 0.35rem; }
.stat-card .card__tag { font-size: 0.64rem; padding: 0.2rem 0.55rem; }
.stat-card .card__title { font-size: 1.5rem; line-height: 1.1; }

/* ---------- Seasonal themes: preview bar (public site, only for the admin previewing) ---------- */
.theme-preview-bar { background: var(--ppp-black); color: #fff; text-align: center; font-size: 0.88rem; padding: 0.55rem 1rem; }
.theme-preview-bar a { color: var(--ppp-footer-accent); font-weight: 800; margin-left: 0.5rem; }

/* ---------- Seasonal themes: admin picker and schedule ---------- */
.btn--sm { padding: 0.4rem 1rem; font-size: 0.85rem; border-width: 2px; box-shadow: 0 4px 0 0 var(--ppp-black); }
.theme-now { background: #fff; border: 1px solid var(--ppp-border); border-radius: 12px; padding: 0.7rem 1rem; font-size: 0.92rem; max-width: 960px; }
.theme-grid { display: grid; gap: 0.9rem; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); max-width: 960px; }
/* ".theme-grid .theme-card" outranks ".admin-form label" (block display, top margin). */
.theme-grid .theme-card { position: relative; display: flex; flex-direction: column; gap: 0.55rem; margin: 0; padding: 0.9rem 0.9rem 0.8rem 2.4rem; background: #fff; border: 2px solid var(--ppp-border); border-radius: 16px; cursor: pointer; font-weight: 500; }
.theme-grid .theme-card:has(input:checked) { border-color: var(--ppp-teal); box-shadow: 0 0 0 3px rgba(19, 138, 206, 0.2); }
.theme-card > input { position: absolute; left: 0.85rem; top: 1rem; width: auto; margin: 0; }
.theme-card__name { font-weight: 800; font-size: 0.95rem; }
.theme-card__tag { font-size: 0.7rem; font-weight: 800; color: var(--ppp-gray); background: #eef1f4; border-radius: var(--radius-pill); padding: 0.05rem 0.45rem; margin-left: 0.3rem; vertical-align: middle; }
.theme-card__desc { font-size: 0.82rem; color: var(--ppp-gray); }
.theme-grid .theme-card--auto { background: #eaf4fb; }
.theme-card__swatches { display: flex; gap: 4px; }
.theme-card__swatches span { flex: 1; height: 26px; border-radius: 6px; border: 1px solid rgba(0,0,0,0.08); }
.theme-card__sample { display: flex; gap: 0.35rem; flex-wrap: wrap; padding: 0.5rem; border-radius: 8px; border: 1px solid rgba(0,0,0,0.06); }
.theme-card__sample span { font-size: 0.72rem; font-weight: 800; padding: 0.25rem 0.6rem; border-radius: var(--radius-pill); }
.theme-card__preview { align-self: flex-start; font-size: 0.82rem; font-weight: 800; color: var(--ppp-teal); }
.theme-schedule-panel { margin-top: 2.5rem; max-width: 960px; background: #fff; border: 1px solid var(--ppp-border); border-radius: 16px; padding: 1.25rem 1.5rem 1.5rem; }
.theme-schedule td { padding: 0.6rem 0.75rem; }
.theme-schedule tr.is-current td { background: #eef7e4; }
.theme-schedule__row { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.theme-schedule__row select, .theme-schedule__row input[type=date] { width: auto; margin: 0; padding: 0.45rem 0.6rem; border-radius: 8px; border: 1px solid var(--ppp-border); font-family: var(--font-body); }
.theme-schedule__yearly { display: flex; align-items: center; gap: 0.35rem; margin: 0; font-weight: 600; font-size: 0.85rem; }
.theme-schedule__yearly input { width: auto; margin: 0; }
.theme-schedule__now { font-size: 0.75rem; font-weight: 800; background: var(--ppp-green); color: var(--ppp-black); border-radius: var(--radius-pill); padding: 0.2rem 0.6rem; }
.theme-schedule__error { color: #c0392b; font-weight: 700; margin: 0.4rem 0 0; }
.theme-schedule__delete { margin-top: 0.35rem; }
.theme-schedule__delete button { background: none; border: none; padding: 0; color: #c0392b; font-weight: 700; font-size: 0.8rem; cursor: pointer; }
.theme-schedule__add { margin-top: 1rem; padding-top: 1rem; border-top: 1px dashed var(--ppp-border); }

/* Notice shown in the admin while two-factor login is switched off for local testing. */
.admin-warn { background: #fff4d6; border: 1px solid #f0c64a; color: #6b4e00; border-radius: 10px; padding: 0.6rem 0.9rem; font-size: 0.88rem; font-weight: 600; margin: 0 0 1.25rem; }

/* Seasonal logos (admin) */
.theme-card__name { display: flex; align-items: center; gap: 0.45rem; flex-wrap: wrap; }
.theme-card__logo { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.theme-logos td { vertical-align: middle; }
.theme-logos__img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid var(--ppp-border); }
.theme-logos__img.is-default { opacity: 0.45; }

/* ---------- Seasonal banner (public site, top of every page) ---------- */
/* Uses the theme's darker main colour, so it matches every season with white text. */
.season-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: var(--ppp-teal-dark);
    color: #fff;
    text-align: center;
    font-weight: 800;
    font-size: 0.98rem;
    letter-spacing: 0.01em;
    padding: 0.7rem 1rem;
}
.season-banner a { color: #fff; text-decoration: underline; text-decoration-color: var(--ppp-footer-accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.season-banner a:hover { color: var(--ppp-footer-accent); }
.season-banner__icon { width: 26px; height: 26px; object-fit: contain; flex-shrink: 0; }
@media (max-width: 640px) {
    .season-banner { font-size: 0.88rem; padding: 0.6rem 0.75rem; gap: 0.45rem; }
    .season-banner__icon { width: 22px; height: 22px; }
}

/* Seasonal banner editor (admin) */
.theme-banner-form { display: flex; flex-direction: column; gap: 0.45rem; }
.theme-banner-form input[type=text] { width: 100%; padding: 0.45rem 0.6rem; border-radius: 8px; border: 1px solid var(--ppp-border); font-family: var(--font-body); }
.theme-banner-form__icon { width: 30px; height: 30px; object-fit: contain; }
.theme-video-form__preview { width: 240px; max-width: 100%; aspect-ratio: 16 / 9; border-radius: 10px; background: #000; object-fit: cover; }
