/* ==============================
   freikirche.mw – CD Overrides
   Template: Untree "TheChurch"
   ============================== */

/* =========================================================
   CSS Custom Properties
   ========================================================= */
:root {
    font-family: Inter, sans-serif;
    font-feature-settings: 'liga' 1, 'calt' 1;
    /* fix for Chrome */

    /* Markenfarben */
    --fc-red: #C8050F;
    --fc-red-dark: #842428;
    --cd-red: #c8050f;
    --cd-mid: #d3d3d3;
    --cd-light: #ffffff;
    --red: #c8050f;
    --red-soft: #fde2e3;
    --ink: #1a1a1a;
    --ink-soft: #6e6e6e;
    --paper: #ffffff;
    --line: rgba(255, 255, 255, .28);

    /* Abstände für CD-Streifen */
    --cd-s1: 73%;
    --cd-s2: 76%;

    /* Graustufen */
    --fc-gray-900: #666464;
    --fc-gray-700: #777777;
    --fc-gray-400: #A3A3A3;

    /* Flächen */
    --fc-page-bg: #f4f4f4;
    --fc-surface: #ffffff;
    --fc-border: rgba(163, 163, 163, 0.35);

    /* Bootstrap v5 */
    --bs-primary: var(--fc-red);
    --bs-secondary: var(--fc-gray-900);
    --bs-link-color: var(--fc-red);
    --bs-link-hover-color: var(--fc-red-dark);
    --bs-font-sans-serif: "Inter", sans-serif;
}
.text-white-80 {
    color: rgba(255, 255, 255, 0.8) !important;
}
@supports (font-variation-settings: normal) {:root {
        font-family: InterVariable, sans-serif;
    }
}
/* =========================================================
   Basis-Typografie / Farben
   ========================================================= */

body {
    color: var(--fc-gray-700) !important;
    background-color: var(--fc-page-bg) !important;
    font-size: 17px;
}
h1, h2, h3, h4, h5, .logo {
    color: #000;
}
h2 {
    text-transform: none;
}
hr {
    opacity: 1;
    border-color: rgba(163, 163, 163, 0.45) !important;
}
/* =========================================================
   Links
   ========================================================= */

a {
    color: var(--fc-red);
}
a:hover, a:focus {
    color: var(--fc-red-dark);
}
/* =========================================================
   Bootstrap-Buttons
   ========================================================= */

.btn-primary, .btn.btn-primary, .btn.btn-primary:visited {
    background-color: var(--fc-red) !important;
    border-color: var(--fc-red) !important;
    color: #fff !important;
}
.btn-primary:hover, .btn-primary:focus, .btn.btn-primary:hover, .btn.btn-primary:focus, .btn.btn-primary:active, a.btn.btn-primary:hover, a.btn.btn-primary:focus {
    background-color: var(--fc-red-dark) !important;
    border-color: var(--fc-red-dark) !important;
    color: #fff !important;
}
.btn-outline-primary {
    color: var(--fc-red) !important;
    border-color: var(--fc-red) !important;
}
.btn-outline-primary:hover, .btn-outline-primary:focus {
    background-color: var(--fc-red) !important;
    border-color: var(--fc-red) !important;
    color: #fff !important;
}
.btn-outline-secondary {
    color: var(--fc-gray-900) !important;
    border-color: var(--fc-gray-900) !important;
    background: transparent !important;
}
.btn-outline-secondary:hover, .btn-outline-secondary:focus, .btn-outline-secondary:active, .btn-outline-secondary.active {
    background-color: var(--fc-red) !important;
    border-color: var(--fc-red) !important;
    color: #fff !important;
    box-shadow: none !important;
}
/* Filterleiste */
.tag-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.tag-btn {
    border-radius: 999px !important;
    padding: 8px 14px;
    line-height: 1.1;
}
.tag-btn.is-active {
    background: var(--fc-red) !important;
    border-color: var(--fc-red) !important;
    color: #fff !important;
}
/* Gruppenkarten: an eure CTA-Kacheln angelehnt */
.group-card {
    display: block;
    height: 100%;
    background: var(--fc-surface);
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: 14px;
    padding: 18px;
    text-align: left;
    transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
    color: inherit;
}
.group-card:hover, .group-card:focus {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .08);
    border-color: rgba(200, 5, 15, .25);
    text-decoration: none;
    outline: none;
}
.group-card__media {
    aspect-ratio: 16 / 10;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(0, 0, 0, .04);
    margin-bottom: 14px;
}
.group-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.group-card__title {
    margin: 0;
    font-size: 1.1rem;
    color: #000;
}
/* Modal-Content etwas „gemeindlich“/ruhig */
.modal-header .modal-title {
    font-family: "Cinzel", serif;
}
.group-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 8px 0 14px;
}
.group-detail-meta .meta-pill {
    /* kommt aus freikirche_mw.css */
    font-size: .95rem;
}
/* Filterbuttons: Hover darf NICHT grün werden */
.tag-btn.btn-outline-secondary:hover, .tag-btn.btn-outline-secondary:focus {
    background-color: transparent !important;
    border-color: var(--fc-red) !important;
    color: #6c757d !important;
    box-shadow: none !important;
}
/* Aktiver Filter: bleibt rot – auch beim Hover */
.tag-btn.is-active, .tag-btn.is-active:hover, .tag-btn.is-active:focus {
    background: var(--fc-red) !important;
    border-color: var(--fc-red) !important;
    color: #fff !important;
    box-shadow: none !important;
}
/* =========================================================
   Bootstrap-Utility-Klassen
   ========================================================= */

.text-primary {
    color: var(--fc-red) !important;
}
.bg-primary {
    background-color: var(--fc-red) !important;
}
.bg-secondary {
    background-color: var(--fc-gray-900) !important;
}
.bg-dark-grey {
    background: linear-gradient(180deg, #9a9a9a 0%, #8f8f8f 100%) !important;
}
/* =========================================================
   Formular-Elemente
   ========================================================= */

.form-control:focus {
    border-color: var(--fc-red) !important;
    box-shadow: 0 0 0 0.25rem rgba(200, 5, 15, 0.20) !important;
}
.form-check-input:checked {
    background-color: var(--fc-red) !important;
    border-color: var(--fc-red) !important;
}
.form-check-input:focus {
    border-color: rgba(200, 5, 15, 0.55) !important;
    box-shadow: 0 0 0 0.25rem rgba(200, 5, 15, 0.20) !important;
}
/* =========================================================
   Pagination
   ========================================================= */

.page-link {
    color: var(--fc-red) !important;
}
.page-link:hover, .page-link:focus {
    color: var(--fc-red-dark) !important;
    box-shadow: 0 0 0 0.25rem rgba(200, 5, 15, 0.20) !important;
}
.section.bg-white, .upcoming-sermon, .site-footer.bg-white {
    background-color: var(--fc-surface) !important;
}
.section .subheading {
    color: var(--fc-red) !important;
}
/* =========================================================
   Counter
   ========================================================= */

.counter {
    color: var(--fc-red) !important;
}
/* =========================================================
   Upcoming Sermons
   ========================================================= */

.upcoming-sermon .btn.btn-primary, .upcoming-sermon a.btn.btn-primary {
    background-color: var(--fc-red) !important;
    border-color: var(--fc-red) !important;
    color: #fff !important;
}
.upcoming-sermon .btn.btn-primary:hover, .upcoming-sermon a.btn.btn-primary:hover {
    background-color: var(--fc-red-dark) !important;
    border-color: var(--fc-red-dark) !important;
    color: #fff !important;
}
.btn.btn-secondary {
    background-color: var(--fc-gray-900) !important;
    border-color: var(--fc-gray-900) !important;
    color: #fff !important;
}
.btn.btn-secondary:hover {
    background-color: var(--fc-red) !important;
    border-color: var(--fc-red) !important;
}
/* =========================================================
   Sermon-Liste
   ========================================================= */

.sermon-list {
    display: grid;
    gap: 14px;
}
.sermon-item {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-start;
    justify-content: space-between;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 16px;
    background: #fff;
}
.sermon-item__main {
    flex: 1 1 520px;
}
.sermon-item__actions {
    display: flex;
    gap: 8px;
    flex: 0 0 auto;
}
.sermon-item__meta {
    font-size: 0.95rem;
    color: rgba(0, 0, 0, 0.65);
    margin-bottom: 6px;
}
.sermon-item__title {
    text-decoration: none;
    color: var(--fc-red);
}
.sermon-player {
    width: 100%;
}
.sermon-player__inner {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed rgba(0, 0, 0, 0.15);
}
.sermon-player audio {
    width: 100%;
    height: 34px;
}
.sermon-player__links {
    font-size: 0.9rem;
    margin-top: 6px;
}
/* =========================================================
   Event-Liste
   ========================================================= */

.event-list {
    display: grid;
    gap: 14px;
}
.event-item {
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: grid;
    grid-template-columns: 64px 1fr auto;
    gap: 14px;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    background: #fff;
    padding: 14px 14px 14px 18px;
}
.event-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--fc-red);
    opacity: 0.95;
}
.event-item:hover {
    border-color: rgba(0, 0, 0, 0.16);
}
.event-item:hover::before {
    opacity: 1;
    background: var(--fc-red-dark);
}
.event-date {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: rgba(200, 5, 15, 0.10);
    display: grid;
    place-items: center;
    text-align: center;
    line-height: 1.05;
}
.event-date__day {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--fc-red);
}
.event-date__month {
    font-size: 0.9rem;
    font-weight: 700;
    color: rgba(200, 5, 15, 0.85);
}
.event-meta {
    font-size: 0.95rem;
    color: rgba(0, 0, 0, 0.65);
    margin-bottom: 4px;
}
.event-title {
    font-size: 1.15rem;
}
.event-excerpt {
    color: rgba(0, 0, 0, 0.75);
}
/* =========================================================
   Event-Liste auf dunklem Hintergrund (.bg-dark-grey)
   ========================================================= */

.bg-dark-grey .event-item {
    background: #f7f7f7;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
    color: inherit;
}
.bg-dark-grey .event-item:hover {
    transform: translateY(-2px);
    border-color: rgba(200, 5, 15, 0.25);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
}
.bg-dark-grey .event-title {
    color: rgba(0, 0, 0, 0.86);
}
.bg-dark-grey .event-meta {
    color: rgba(0, 0, 0, 0.60);
}
.bg-dark-grey .event-excerpt {
    color: rgba(0, 0, 0, 0.70);
}
.bg-dark-grey .btn-outline-secondary:hover, .bg-dark-grey .btn-outline-secondary:focus {
    background: var(--fc-red) !important;
    border-color: var(--fc-red) !important;
}
@media (max-width: 768px) {.event-item {
        grid-template-columns: 64px 1fr;
    }
}
/* =========================================================
   CTA-Karten
   ========================================================= */

.cta-card {
    display: block;
    height: 100%;
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    padding: 16px;
    background: #fff;
    transition: transform .12s ease,
        border-color .12s ease,
        box-shadow .12s ease;
}
.cta-card:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 0, 0, 0.16);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.06);
}
.cta-card__icon {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(200, 5, 15, 0.10);
    color: var(--fc-red);
    margin-bottom: 10px;
}
.cta-card__title {
    font-size: 1.1rem;
    margin: 0 0 8px;
}
.cta-card__text {
    color: rgba(0, 0, 0, 0.75);
}
/* =========================================================
   Info-Bar / Meta-Pills
   ========================================================= */

.adonia-infobar {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 16px 0;
}
.meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: rgba(0, 0, 0, 0.78);
    font-size: 0.95rem;
}
.meta-pill strong {
    color: rgba(0, 0, 0, 0.90);
}
/* =========================================================
   YouTube-Consent-Platzhalter
   ========================================================= */

.yt-consent {
    position: relative;
}
.yt-consent__placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: #111;
    color: #fff;
    text-align: center;
}
.yt-consent__inner {
    max-width: 520px;
}
.yt-consent__actions {
    margin-top: 10px;
}
/* =========================================================
   Seiten-Header
   ========================================================= */

.page-header {
    position: relative;
    overflow: hidden;
    background: #5a5a5a;
    background-size: cover;
    background-position: center;
}
.page-header.has-hero-img {
    background:
        linear-gradient(rgba(0, 0, 0, .55), rgba(0, 0, 0, .55)),
        var(--hero-img) center/cover no-repeat;
}
.page-header.has-hero-img::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center,
            rgba(0, 0, 0, .45) 0%, rgba(0, 0, 0, .20) 100%);
}
/* Inhalt über das Overlay heben */
.page-header .container {
    position: relative;
    z-index: 1;
}
.page-inner .page-header {
    min-height: 45vh;
    padding-top: 4rem;
    padding-bottom: 4rem;
    display: flex;
    align-items: center;
}
.page-header .intro-text {
    padding-block: 3.5rem;
}
.page-header .intro-text h1 {
    margin-bottom: 1rem;
}
.page-header .intro-text p {
    max-width: 640px;
    margin-inline: auto;
}
.page-header.has-hero-img .heading {
    color: #fff;
}
.page-header.has-hero-img p {
    color: rgba(255, 255, 255, .85);
}
@media (max-width: 991.98px) {.heading {
        font-size: 1.8rem;
        word-break: break-word;
        overflow-wrap: break-word;
    }
.page-inner .page-header {
        padding-top: 8rem;
        /* mehr Platz oben für Logo + Burger */
        align-items: flex-start;
    }
.page-header .intro-text {
        padding-block: 1.5rem;
        /* etwas kompakter auf dem Handy */
    }
.site-navigation {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
.logo {
        float: none !important;
        font-size: 0.85rem;
        max-height: 60px;
        width: auto;
    }
.burger {
        float: none !important;
        flex-shrink: 0;
    }
}
/* =========================================================
   Content-Typografie (z. B. Impressum)
   ========================================================= */

.legal-content h2, .legal-content h3 {
    margin-top: 1.25rem;
}
.legal-content p {
    margin-bottom: 0.75rem;
}
.legal-content a {
    word-break: break-word;
}
/* =========================================================
   Header / Navigation
   ========================================================= */

/* Nav liegt auf beiden Seiten über dem Hero */
.site-nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: transparent;
    padding-block: 1.25rem;
}
/* Weiße Schrift über dem Bild/Verlauf */
.site-nav .logo, .site-nav .site-menu>li>a {
    color: #fff;
}
.site-nav .site-menu>li>a:hover, .site-nav .site-menu>li.active>a {
    color: #c8050f;
}
.site-nav .site-navigation .site-menu>li>a {
    color: rgba(255, 255, 255, 0.92) !important;
}
.site-nav .site-navigation .site-menu>li>a:hover, .site-nav .site-navigation .site-menu>li>a:focus {
    color: #fff !important;
    text-decoration: none;
}
.site-nav .site-menu>li.has-children:hover>a, .site-nav .site-menu>li.has-children:focus-within>a {
    color: var(--fc-red) !important;
}
.site-nav .site-navigation .site-menu .has-children .dropdown .active a {
    color: var(--fc-red) !important;
}
.site-nav .site-navigation .site-menu .dropdown a {
    color: var(--fc-gray-900) !important;
}
.site-nav .site-navigation .site-menu .dropdown a:hover {
    color: var(--fc-red) !important;
}
/* =========================================================
   Footer
   ========================================================= */

.site-footer {
    background: var(--fc-surface) !important;
}
.site-footer a:before {
    background: rgba(200, 5, 15, 0.12) !important;
}
.site-footer a:hover:before {
    background: var(--fc-red) !important;
}
.site-footer .widget h3, .site-footer .widget .h3 {
    color: var(--fc-gray-900) !important;
}
#cookieConsentBanner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #333;
    /* Dunkler Hintergrund */
    color: white;
    padding: 15px 20px;
    text-align: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    /* Stellt sicher, dass der Banner über anderen Inhalten liegt */
    font-family: Arial, sans-serif;
    display: flex;
    /* Für bessere Ausrichtung des Inhalts */
    justify-content: center;
    align-items: center;
}
.cookie-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    /* Erlaubt das Umbrechen auf kleineren Bildschirmen */
    max-width: 1000px;
    /* Begrenzt die Breite des Inhalts */
    width: 100%;
}
.cookie-content p {
    margin: 0 20px 0 0;
    /* Abstand zum Button */
    line-height: 1.4;
    font-size: 0.95em;
}
#acceptCookies {
    background-color: #007bff;
    /* Blauer Button */
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.95em;
    transition: background-color 0.3s ease;
    white-space: nowrap;
    /* Verhindert Umbruch des Buttons */
}
#acceptCookies:hover {
    background-color: #0056b3;
}
/* Anpassung für kleinere Bildschirme */
@media (max-width: 600px) {
    .cookie-content {
        flex-direction: column;
    }

    .cookie-content p {
        margin: 0 0 10px 0;
    }
}
.flyer-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .06);
}
.flyer-thumb {
    display: block;
    border: 1px solid rgba(0, 0, 0, .10);
    background: rgba(0, 0, 0, .02);
    transition: transform .15s ease, box-shadow .15s ease;
}
.flyer-thumb:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 18px rgba(0, 0, 0, .10);
}
.flyer-badge {
    font-size: .75rem;
    padding: .25rem .5rem;
    border-radius: 999px;
    background: rgba(13, 110, 253, .08);
    /* Bootstrap primary soft */
    color: rgba(13, 110, 253, .9);
    border: 1px solid rgba(13, 110, 253, .15);
}
/* Sicherstellen, dass das Ratio-Pseudo-Element NICHT weggecancelt wird */
#groupModalFlyerLink.ratio::before {
    content: "" !important;
    display: block !important;
    padding-top: var(--bs-aspect-ratio) !important;
}
/* Bootstrap ratio: --bs-aspect-ratio ist "height / width * 100" */
.ratio-a4 {
    --bs-aspect-ratio: 141.4%;
}
/* Flyer soll nicht beschnitten werden */
.flyer-img {
    object-fit: contain;
    /* wichtig gegen Cropping/Verzerrung */
    background: rgba(0, 0, 0, .03);
    /* ruhiger Hintergrund für freie Ränder */
}
/* optional: nicht zu groß im Modal */
.flyer-thumb {
    max-height: 62vh;
    /* damit das Modal nicht „kippt“ */
    display: block;
}
.modal .modal-content {
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.cd-modal-bar {
    height: 8px;
    /* im Modal ruhig 6–8px, wirkt dezent */
    width: 100%;
    margin-top: auto;
    opacity: .9;

    background:
        linear-gradient(90deg,
            var(--cd-red) 0%,
            var(--cd-red) var(--cd-s1),

            var(--cd-light) var(--cd-s1),
            var(--cd-light) var(--cd-s2),

            var(--cd-mid) var(--cd-s2),
            var(--cd-mid) 100%);
}
/* Predigten – Filterzeile: gleiche Höhen + saubere Ausrichtung */
.sermon-filters .form-control, .sermon-filters .form-select, .sermon-filters .btn {
    height: 38px;
    /* Bootstrap-Standard */
}
.sermon-filters .btn {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    /* verhindert Button-Textumbruch */
}
.sermon-filters .form-label {
    margin-bottom: .25rem;
    /* Label nicht zu hoch */
}
/* =============================
   Timeline
   ============================= */

.timeline {
    position: relative;
    padding: 1rem 0;
    margin-top: 2rem;
}
/* Vertikale Linie */
.timeline::before {
    content: '';
    position: absolute;
    left: 120px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom,
            transparent,
            var(--bs-primary) 5%,
            var(--bs-primary) 95%,
            transparent);
}
/* Einzelner Eintrag */
.timeline-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}
.timeline-item:last-child {
    margin-bottom: 0;
}
/* Jahreszahl */
.timeline-year {
    flex-shrink: 0;
    width: 100px;
    text-align: right;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--bs-primary);
    padding-top: 0.15rem;
    line-height: 1.4;
}
/* Punkt auf der Linie */
.timeline-item::after {
    content: '';
    position: absolute;
    left: 112px;
    top: 0.4rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--bs-primary);
    transition: background 0.2s, transform 0.2s;
}
.timeline-item:hover::after {
    background: var(--bs-primary);
    transform: scale(1.2);
}
/* Inhalt rechts */
.timeline-content {
    flex: 1;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.2s, transform 0.2s;
}
.timeline-content:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}
.timeline-content h4 {
    margin-bottom: 0.4rem;
    font-size: 1rem;
    font-weight: 700;
    color: #212529;
}
.timeline-content p {
    margin-bottom: 0;
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
}
/* =============================
   Responsive – Mobile
   ============================= */
@media (max-width: 575.98px) {

    .timeline::before {
        left: 16px;
    }

    .timeline-item {
        flex-direction: column;
        gap: 0.5rem;
        padding-left: 44px;
    }

    .timeline-item::after {
        left: 8px;
        top: 0.3rem;
    }

    .timeline-year {
        width: auto;
        text-align: left;
        font-size: 0.95rem;
    }

    .timeline-content {
        width: 100%;
    }
}
/* =============================
   Info Boxes
   ============================= */

.info-box {
    border: 2px solid var(--fc-gray-700) !important;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(var(--bs-primary), 0.15);
    background: #fff;
    transition: transform 0.2s, box-shadow 0.2s;
}
.info-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(var(--bs-primary), 0.25);
}
.info-box__icon {
    font-size: 1.75rem;
    line-height: 1;
}
.info-box__label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6c757d;
}
.info-box__value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--bs-primary);
}
.month-heading {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--bs-primary);
    border-bottom: 2px solid var(--bs-primary);
    padding-bottom: 0.4rem;
    margin-bottom: 1.25rem;
}
.hero {
    position: relative;
    height: 100vh;
    min-height: 640px;
    overflow: hidden;
    background: var(--ink);
}
.slides {
    position: absolute;
    inset: 0;
}
.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.06);
    transition: opacity 1.1s ease, transform 9s ease;
}
.slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}
.slide.slide--contain {
    background-image: none;
}
.slide--contain .slide__blur, .slide--contain .slide__fg {
    position: absolute;
    inset: 0;
}
.slide--contain .slide__blur {
    background-size: cover;
    background-position: center;
    transform: scale(1.15);
    filter: blur(36px) brightness(.55) saturate(1.05);
}
.slide--contain .slide__fg {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(180deg, rgba(20, 8, 8, .35) 0%, rgba(20, 8, 8, .15) 35%, rgba(20, 8, 8, .78) 100%);
}
.hero-inner {
    position: relative;
    z-index: 5;
    height: 100%;
    max-width: 1320px;
    width: 100%;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 5vw, 4rem);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: clamp(5.5rem, 13vh, 8rem);
}
.hero-content {
    max-width: 660px;
    color: #fff;
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    font-family: 'Jost', sans-serif;
    font-weight: 600;
    font-size: .8rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #fff;
    background: var(--red);
    padding: .4rem .9rem;
    border-radius: 50px;
    margin: 0 0 1.2rem;
}
.eyebrow.is-event {
    background: #fff;
    color: var(--red);
}
.hero h1 {
    font-family: 'Jost', sans-serif;
    font-weight: 700;
    font-size: clamp(2.4rem, 5.4vw, 4.4rem);
    line-height: 1.1;
    margin: 0 0 1rem;
}
.hero h1 span {
    color: var(--red-soft);
}
.lead {
    font-size: clamp(1rem, 1.3vw, 1.15rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, .88);
    max-width: 48ch;
    margin: 0 0 1.8rem;
}
.hero .btn {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    font-family: 'Jost', sans-serif;
    font-weight: 600;
    font-size: .98rem;
    padding: .95rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    background: var(--red);
    color: #fff;
    box-shadow: 0 10px 28px -12px rgba(200, 5, 15, .65);
    transition: transform .25s ease, box-shadow .25s ease;
}
.hero .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px -12px rgba(200, 5, 15, .75);
}
.hero .btn i {
    transition: transform .25s ease;
}
.hero .btn:hover i {
    transform: translateX(3px);
}
.hero-content.swap>* {
    animation: fadeUp .55s ease both;
}
.hero-content.swap>*:nth-child(2) {
    animation-delay: .05s;
}
.hero-content.swap>*:nth-child(3) {
    animation-delay: .1s;
}
.hero-content.swap>*:nth-child(4) {
    animation-delay: .15s;
}
@keyframes fadeUp {from {
        opacity: 0;
        transform: translateY(14px);
    }
to {
        opacity: 1;
        transform: translateY(0);
    }
}
.hero-nav {
    position: absolute;
    z-index: 6;
    right: clamp(1.5rem, 5vw, 4rem);
    bottom: clamp(5.5rem, 13vh, 8rem);
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 230px;
}
.hero-nav button {
    position: relative;
    display: flex;
    align-items: center;
    gap: .85rem;
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    cursor: pointer;
    color: rgba(255, 255, 255, .62);
    padding: .75rem 0;
    border-top: 1px solid var(--line);
    transition: color .25s ease;
}
.hero-nav button:first-child {
    border-top: none;
}
.hero-nav button .icon {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--line);
    font-size: .85rem;
    transition: background .25s ease, border-color .25s ease, color .25s ease;
}
.hero-nav button .label {
    font-family: 'Jost', sans-serif;
    font-weight: 600;
    font-size: .92rem;
}
.hero-nav button .meta {
    display: block;
    font-size: .74rem;
    color: rgba(255, 255, 255, .45);
    font-weight: 400;
    margin-top: .1rem;
}
.hero-nav button.active {
    color: #fff;
}
.hero-nav button.active .icon {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
}
.hero-nav button::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0;
    background: var(--red);
}
.hero-nav button.active::after {
    width: 100%;
    animation: progress 6.5s linear forwards;
}
@keyframes progress {from {
        width: 0;
    }
to {
        width: 100%;
    }
}
@media (max-width:980px) {.hero-nav {
        display: none;
    }
}
.countdown-card {
    position: absolute;
    z-index: 6;
    top: clamp(5.5rem, 13vh, 7rem);
    right: clamp(1.5rem, 5vw, 4rem);
    background: #fff;
    border-radius: 18px;
    padding: 1.1rem 1.4rem;
    box-shadow: 0 24px 48px -22px rgba(0, 0, 0, .45);
    min-width: 215px;
}
.countdown-card .cc-label {
    font-family: 'Jost', sans-serif;
    font-weight: 600;
    font-size: .7rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--red);
    margin: 0 0 .6rem;
}
.countdown-grid {
    display: flex;
    gap: .6rem;
}
.countdown-grid div {
    text-align: center;
}
.countdown-grid .num {
    font-family: 'Jost', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--ink);
    background: var(--red-soft);
    border-radius: 9px;
    padding: .35rem .5rem;
    min-width: 2.3rem;
}
.countdown-grid .lbl {
    display: block;
    margin-top: .3rem;
    font-size: .65rem;
    color: var(--ink-soft);
    text-transform: uppercase;
    letter-spacing: .05em;
}
.countdown-card .where {
    margin: .75rem 0 0;
    font-size: .8rem;
    color: var(--ink-soft);
}
.countdown-card .where strong {
    color: var(--ink);
}
@media (max-width:980px) {.countdown-card {
        top: auto;
        bottom: clamp(1.5rem, 5vh, 2.5rem);
        right: clamp(1.5rem, 5vw, 4rem);
    }
}
@media (max-width:560px) {.countdown-card {
        display: none;
    }
.hero-inner {
        padding-bottom: 3rem;
    }
}
.arrow {
    position: absolute;
    z-index: 6;
    top: 50%;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1.5px solid var(--line);
    background: rgba(0, 0, 0, .15);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background .2s ease, border-color .2s ease;
}
.arrow:hover {
    background: var(--red);
    border-color: var(--red);
}
.arrow.prev {
    left: clamp(1rem, 3vw, 2.5rem);
}
.arrow.next {
    left: calc(clamp(1rem, 3vw, 2.5rem) + 60px);
}
@media (max-width:700px) {.arrow {
        display: none;
    }
}
@media (prefers-reduced-motion: reduce) {.slide {
        transition: opacity .4s ease;
        transform: none !important;
    }
.hero-content.swap>* {
        animation: none;
    }
.hero-nav button.active::after {
        animation: none;
        width: 100%;
    }
}
/* ─── SCROLL INDICATOR ─── */
.scroll-hint {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: bounce 2.5s ease-in-out infinite;
}
.scroll-hint svg {
    width: 20px;
    height: 20px;
}
@keyframes bounce {0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
50% {
        transform: translateX(-50%) translateY(6px);
    }
}
