/* === Global Styles === */
html {
    scroll-behavior: smooth;
}

body {
    background-color: #0d1117;
    color: #e6edf3;
    font-family: 'Inter', sans-serif;
}

:root {
    --tech-gold: #c0a35b;
    --tech-gold-dark: #a38f4a;
    /* Blue carries navigation and primary action; gold stays an accent/highlight. */
    --sld-blue: #1e83cb;
    --sld-blue-bright: #2f9ae6;
    --sld-blue-deep: #135f96;
}

/* === Blazor defaults === */
h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

/* === Print / Web visibility === */
.print-only {
    display: none;
}

.web-only {
    display: block;
}

/* === Navbar === */
.navbar {
    margin: 1rem auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

/* === Hero Section === */
.hero {
    min-height: 80vh;
    background:
        linear-gradient(to bottom, rgba(13, 17, 23, 0.52), rgba(13, 17, 23, 0.57)),
        url('hero_bg.png') bottom/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    position: relative;
}

.hero-logo {
    width: 400px;
    max-width: 80vw;
    display: block;
    margin: 0 auto 1.5rem auto;
}

.hero-link {
    color: #1e83cb !important;
    padding: 1.1rem 1.4rem 1rem 1.4rem;
    margin: 0 0.5rem;
    text-shadow: 0 0 8px rgba(56, 139, 253, 0.6),
                 0 0 16px rgba(56, 139, 253, 0.4);
}

.hero-title {
    color: #1e83cb;
    font-size: 2.3rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    margin-bottom: 0.2em;
    text-shadow: 0 2px 8px #0d111780;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #bfc5cd;
    font-weight: 600;
    letter-spacing: 0.03em;
    margin-bottom: 1.2rem;
}

.hero-date {
    font-size: 1.1rem;
    color: #e6edf3;
    font-weight: 500;
    letter-spacing: 0.01em;
    margin-bottom: 0.5rem;
}

.hero-venue {
    font-size: 1rem;
    color: #bfc5cd;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.hero-venue-link {
    color: #e6edf3;
    text-decoration: none;
    border-bottom: 1px solid rgba(30, 131, 203, 0.5);
    padding-bottom: 1px;
}

    .hero-venue-link:hover,
    .hero-venue-link:focus-visible {
        color: var(--sld-blue-bright);
        border-bottom-color: var(--sld-blue-bright);
    }

/* === Countdown === */
.countdown {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin: 2.25rem 0 0;
    flex-wrap: wrap;
}

.countdown-segment {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(22, 27, 34, 0.85);
    border: 2px solid #1e83cb;
    border-radius: 1rem;
    min-width: 90px;
    padding: 1.1rem 1.4rem 1rem 1.4rem;
    box-shadow: 0 0 16px 0 #388bfd33;
    margin: 0 0.5rem;
}

.countdown-number {
    font-family: 'Fira Mono', 'Roboto Mono', monospace;
    font-size: 2.7rem;
    color: var(--tech-gold);
    letter-spacing: 0.04em;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.1em;
}

.countdown-label {
    font-size: 1rem;
    color: #e6edf3;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.07em;
    opacity: 0.8;
    margin-top: 0.1em;
}

/* === Hero CTA === */
/* Self-contained on purpose: the countdown cards are outlined blue (information),
   so the CTA is filled blue (action). Do not re-add .btn or .register-btn here. */
.hero-register-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin: 3.5rem 0 1.5rem;
    padding: 1rem 2.75rem;
    background: linear-gradient(180deg, var(--sld-blue-bright) 0%, var(--sld-blue) 55%, var(--sld-blue-deep) 100%);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 0.75rem;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1.4;
    text-transform: uppercase;
    text-decoration: none;
    text-shadow: 0 1px 2px rgba(6, 24, 40, 0.45);
    user-select: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25),
                0 6px 18px rgba(30, 131, 203, 0.35),
                0 0 32px rgba(56, 139, 253, 0.18);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.hero-register-btn:hover,
.hero-register-btn:focus-visible {
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    filter: brightness(1.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3),
                0 10px 26px rgba(30, 131, 203, 0.45),
                0 0 44px rgba(56, 139, 253, 0.3);
}

.hero-register-btn:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.hero-register-btn:active {
    transform: translateY(0);
    filter: brightness(0.97);
    box-shadow: inset 0 2px 6px rgba(6, 24, 40, 0.45),
                0 3px 10px rgba(30, 131, 203, 0.3);
}

/* Points down because the button scrolls you down to the form. */
.hero-register-btn-arrow {
    font-size: 1.35rem;
    line-height: 1;
    transition: transform 0.18s ease;
}

.hero-register-btn:hover .hero-register-btn-arrow,
.hero-register-btn:focus-visible .hero-register-btn-arrow {
    transform: translateY(2px);
}

/* === Closing Soon Banner === */
.closing-soon-banner {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    max-width: 620px;
    margin: 0.5rem auto 1.5rem auto;
    padding: 1.2rem 1.6rem;
    background: linear-gradient(135deg, rgba(192, 163, 91, 0.15) 0%, rgba(254, 194, 60, 0.10) 100%);
    border: 2px solid var(--tech-gold);
    border-radius: 0.75rem;
    box-shadow: 0 0 20px rgba(192, 163, 91, 0.25), 0 0 40px rgba(192, 163, 91, 0.08);
    text-align: left;
    animation: banner-pulse 3s ease-in-out infinite;
}

@keyframes banner-pulse {
    0%, 100% { box-shadow: 0 0 20px rgba(192, 163, 91, 0.25), 0 0 40px rgba(192, 163, 91, 0.08); }
    50% { box-shadow: 0 0 28px rgba(192, 163, 91, 0.4), 0 0 56px rgba(192, 163, 91, 0.15); }
}

.closing-soon-icon {
    font-size: 1.6rem;
    color: var(--tech-gold);
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.closing-soon-content {
    flex: 1;
}

.closing-soon-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--tech-gold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.3rem;
}

.closing-soon-text {
    font-size: 0.95rem;
    color: #d0d7de;
    line-height: 1.5;
}

.closing-soon-text strong {
    color: #e6edf3;
}

.closing-soon-link {
    color: var(--tech-gold);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.closing-soon-link:hover {
    color: #e6d08a;
}

/* === About Section === */
.messageBox {
    border-left: 5px solid #fec23c;
    padding: 0 0 0 1rem;
}

.messageBox p {
    opacity: 0.5;
}

.about-pic {
    width: 400px;
    max-width: 50%;
}

/* === Event Info Section === */
.event-info-section {
    background: linear-gradient(to bottom, rgba(22, 27, 34, 0.92) 70%, rgba(13, 17, 23, 0.99));
}

.event-heading {
    color: #7ea1c7;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-shadow: 0 2px 8px #0d111780;
}

.event-lead {
    color: #bfc5cd;
    font-size: 1.15rem;
    margin-bottom: 1rem;
}

.event-card {
    background: #151b23;
    border: 1px solid #222b36;
    border-radius: 1.3rem;
    box-shadow: 0 4px 22px 0 #14161e50;
    padding: 2rem 1rem 1.5rem 1rem;
    transition: box-shadow 0.2s, border 0.2s;
    min-height: 180px;
}

.event-card:hover {
    border: 1.5px solid #7ea1c7;
    box-shadow: 0 8px 36px 0 #7ea1c744;
}

.event-icon {
    font-size: 2.4rem;
    color: var(--tech-gold);
    filter: drop-shadow(0 0 8px #c0a35b33);
}

.event-card-title {
    font-weight: 700;
    color: #e6edf3;
    font-size: 1.1rem;
    margin-top: 0.3rem;
}

.event-card-detail {
    color: #bfc5cd;
    font-size: 1rem;
    margin-top: 0.1rem;
}

.event-card-subdetail {
    color: #8b949e;
    font-size: 0.86rem;
    margin-top: 0.35rem;
}

/* The Location card links out to the venue site - blue carries the action, the
   card keeps its own type colours until hover. */
.event-card-link {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.event-card-link:hover .event-card-detail,
.event-card-link:focus-visible .event-card-detail {
    color: var(--sld-blue-bright);
}

.event-card-link:focus-visible {
    outline: 2px solid var(--sld-blue);
    outline-offset: 3px;
    border-radius: 1.3rem;
}

/* === Venue Block === */
.venue-block {
    background: #151b23;
    border: 1px solid #222b36;
    border-radius: 1.3rem;
    box-shadow: 0 4px 22px 0 #14161e50;
    overflow: hidden;
}

.venue-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem 1.8rem;
}

.venue-label {
    color: var(--tech-gold);
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}

.venue-name {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 0.7rem;
}

    .venue-name a {
        color: #e6edf3;
        text-decoration: none;
    }

        .venue-name a:hover,
        .venue-name a:focus-visible {
            color: var(--sld-blue-bright);
        }

.venue-address {
    color: #bfc5cd;
    font-size: 1rem;
    font-style: normal;
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

.venue-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.4rem;
}

.venue-link {
    color: var(--sld-blue);
    font-size: 0.96rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

    .venue-link:hover,
    .venue-link:focus-visible {
        color: var(--sld-blue-bright);
        text-decoration: underline;
    }

/* Leaflet renders into this once it loads; until then it holds the fallback */
.venue-map {
    width: 100%;
    height: 100%;
    min-height: 340px;
    background: #0d1117;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Shown when JS is off or the Leaflet CDN is blocked */
.venue-map-fallback {
    color: #8b949e;
    text-align: center;
    padding: 1.5rem;
}

.venue-map-fallback-icon {
    display: block;
    font-size: 2rem;
    color: var(--tech-gold);
    margin-bottom: 0.6rem;
}

.venue-map-fallback-name {
    color: #e6edf3;
    font-weight: 600;
    margin-bottom: 0.6rem;
}

/* Leaflet ships light-themed chrome - restyle it for the dark basemap */
.leaflet-container {
    background: #0d1117;
    font-family: 'Inter', sans-serif;
}

.leaflet-control-attribution {
    background: rgba(13, 17, 23, 0.78) !important;
    color: #8b949e !important;
    font-size: 0.68rem;
}

    .leaflet-control-attribution a {
        color: #8b949e !important;
    }

.leaflet-bar a {
    background: #151b23;
    color: #e6edf3;
    border-bottom-color: #222b36;
}

    .leaflet-bar a:hover {
        background: #1d2733;
        color: #e6edf3;
    }

.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
    background: #151b23;
    color: #e6edf3;
    box-shadow: 0 2px 18px #11131c99;
}

/* Gold pin - Leaflet's default marker is a light blue PNG that fights the palette */
.venue-map-pin-dot {
    display: block;
    width: 14px;
    height: 14px;
    margin: 2px;
    border-radius: 50%;
    background: var(--tech-gold);
    border: 2px solid #0d1117;
    box-shadow: 0 0 0 4px rgba(192, 163, 91, 0.28),
                0 0 12px rgba(192, 163, 91, 0.55);
}

/* === About Cards === */
.about-cards {
    margin-top: 0.7rem;
}

.about-card {
    background: #171b22;
    border-radius: 1rem;
    padding: 2rem 1.4rem 1.5rem 1.4rem;
    box-shadow: 0 2px 14px 0 #12151b33;
    border: 1px solid #23272f;
    transition: box-shadow 0.18s, border-color 0.18s;
    display: flex;
    flex-direction: column;
    min-height: 150px;
}

.about-card:hover {
    box-shadow: 0 4px 32px 0 #7ea1c733;
    border-color: #7ea1c7;
}

.about-card-label {
    color: var(--tech-gold);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    margin-bottom: 0.55rem;
    text-transform: uppercase;
    opacity: 0.93;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.about-card-label .bi {
    filter: drop-shadow(0 0 8px #c0a35b33);
}

.about-card-text {
    color: #e6edf3;
    font-size: 1.01rem;
    line-height: 1.54;
    opacity: 0.96;
}

/* === Registration Section === */
.register-modern-section {
    background: #15181d;
    color: #e6edf3;
}

.register-main-heading {
    color: #bfc5cd;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.register-status {
    font-size: 1.07rem;
    margin-bottom: 1rem;
}

.register-note {
    color: #7ea1c7;
    font-weight: 500;
}

.register-form label {
    font-weight: 500;
    color: #bfc5cd;
}

.register-form .form-control,
.register-form textarea,
.register-form .form-select {
    background: #181c22;
    color: #e6edf3;
    border: 1px solid #23272f;
    border-radius: 0.6rem;
}

.register-form .form-control:focus,
.register-form .form-select:focus {
    border-color: #7ea1c7;
    box-shadow: 0 0 0 2px #7ea1c755;
}

.register-btn {
    background: var(--tech-gold, #c0a35b);
    color: #181c22;
    font-weight: 700;
    border-radius: 2rem;
    border: none;
    transition: background 0.15s, color 0.15s;
    letter-spacing: 0.03em;
}

.register-btn:hover {
    background: #7ea1c7;
    color: #fff;
}

/* === Contact / Map overlay === */
.register-contact-title {
    font-weight: 700;
    color: #bfc5cd;
    font-size: 1.04rem;
    text-transform: uppercase;
    margin-bottom: 0.2rem;
    letter-spacing: 0.05em;
}

.contact-link {
    color: #7ea1c7;
    text-decoration: none;
    transition: color 0.2s;
}

.contact-link:hover {
    color: var(--tech-gold, #c0a35b);
    text-decoration: underline;
}

.register-map-img-wrap {
    position: relative;
    width: 100%;
    min-height: 420px;
    background: #181c22;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 1rem;
}

.register-map-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1rem;
    opacity: 0.93;
    filter: brightness(0.85) contrast(1.1) saturate(0.9);
}

.register-map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 1rem;
    background: linear-gradient(110deg, #15181de6 25%, #181c2200 85%);
    pointer-events: none;
}

.register-contact-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 2.5rem 2.5rem;
    background: rgba(22, 24, 29, 0.78);
    padding: 1.3rem 1.6rem;
    border-radius: 0.8rem;
    color: #e6edf3;
    font-size: 1.06rem;
    box-shadow: 0 2px 18px #11131c66;
    z-index: 2;
}

/* Event venue, distinct from the organiser address above it */
.register-contact-venue {
    margin-top: 0.4rem;
    font-size: 0.95rem;
    color: #bfc5cd;
}

/* === Honeypot - hidden from real users, visible to bots === */
.form-field-verify {
    position: absolute;
    left: -9999px;
    top: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
    pointer-events: none;
}

/* === Alerts === */
.alert-success-dark {
    background-color: #233a27;
    color: #8fffbc;
    border: 1px solid #28a745;
}

.alert-danger-dark {
    background-color: #3a2325;
    color: #ffb8b8;
    border: 1px solid #dc3545;
}

.alert-warning {
    background-color: #3a3523;
    color: #ffe0a0;
    border: 1px solid #ffc107;
}

.alert {
    border-radius: 0.5rem;
    padding: 1rem 1.5rem;
    margin-top: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5em;
}

/* === Footer === */
.footer {
    border-top: 1px solid #232f3d;
}

/* === Responsive === */
@media (max-width: 900px) {
    .register-map-img-wrap {
        min-height: 210px;
    }

    .venue-details {
        padding: 1.4rem 1.2rem;
    }

    .venue-name {
        font-size: 1.25rem;
    }

    .venue-map {
        min-height: 240px;
    }

    .register-contact-overlay {
        margin: 1rem;
        padding: 1rem 1rem;
        font-size: 0.99rem;
    }

    .about-card {
        padding: 1.2rem 1rem 1.1rem 1rem;
    }

    .event-heading {
        font-size: 1.45rem;
    }
}

@media (max-width: 700px) {
    /* Hero is top-aligned and sized to its content on phones so the CTA sits
       above the fold on first load rather than being centred out of view. */
    .hero {
        min-height: 66vh;
        justify-content: flex-start;
        padding: 0.5rem 1.25rem 2rem;
    }

    .hero-logo {
        width: 260px;
        max-width: 66vw;
        margin-bottom: 1rem;
    }

    .hero-title {
        font-size: 1.65rem;
    }

    .hero-subtitle {
        font-size: 1.02rem;
        margin-bottom: 0.85rem;
    }

    .hero-date {
        font-size: 1rem;
    }

    /* Kept to one row - a wrapped countdown pushes the CTA below the fold. */
    .countdown {
        gap: 0.65rem;
        margin-top: 1.5rem;
    }

    .countdown-segment {
        min-width: 60px;
        padding: 0.65rem 0.7rem 0.55rem 0.7rem;
        margin: 0;
    }

    .countdown-number {
        font-size: 1.4rem;
    }

    .countdown-label {
        font-size: 0.8rem;
        letter-spacing: 0.04em;
    }

    .hero-register-btn {
        display: flex;
        width: 100%;
        margin: 2.5rem 0 1.25rem;
        padding: 1.05rem 1rem;
        font-size: 1rem;
        letter-spacing: 0.12em;
    }
}

/* Short/narrow handsets (SE-class) - buys back the last of the vertical budget. */
@media (max-width: 400px) {
    .hero-logo {
        max-width: 60vw;
    }

    .hero-title {
        font-size: 1.45rem;
    }

    .countdown-segment {
        min-width: 52px;
        padding: 0.55rem 0.5rem 0.45rem 0.5rem;
    }

    .countdown-label {
        font-size: 0.72rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .hero-register-btn,
    .hero-register-btn-arrow {
        transition: none;
    }

    .hero-register-btn:hover,
    .hero-register-btn:focus-visible,
    .hero-register-btn:hover .hero-register-btn-arrow,
    .hero-register-btn:focus-visible .hero-register-btn-arrow {
        transform: none;
    }

    .closing-soon-banner {
        animation: none;
    }
}

/* === Print Styles === */
@media print {
    .print-only {
        display: block;
    }

    .web-only {
        display: none;
    }

    section, div {
        filter: brightness(1.1) contrast(1);
    }

    .about-pic {
        filter: brightness(1.3) contrast(0.9) !important;
    }

    nav,
    .navbar,
    .navbar-nav {
        display: none !important;
    }

    form {
        display: none !important;
    }

    .container {
        padding-left: 2rem !important;
        padding-right: 2rem !important;
    }

    .hero,
    #event-info,
    #about,
    #register {
        height: 100vh;
        min-height: 100vh;
        page-break-after: always;
        break-after: page;
        margin: 0 !important;
    }

    #register {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .about-pic {
        width: 350px;
    }

    .countdown,
    .hero-register-btn {
        display: none !important;
    }

    .hero-logo,
    .hero-title,
    .hero-subtitle,
    .bg-dark {
        background: none !important;
        background-color: transparent !important;
        box-shadow: none !important;
        text-shadow: none !important;
        color-adjust: exact !important;
    }

    .event-what {
        clear: both;
    }

    /* An interactive map is meaningless on paper - the address carries it.
       #event-info is pinned to 100vh above, so keep this block compact. */
    .venue-map {
        display: none !important;
    }

    .venue-block {
        display: block;
        break-inside: avoid;
        box-shadow: none !important;
    }

        .venue-block > [class*="col-"] {
            flex: 0 0 100% !important;
            width: 100% !important;
            max-width: 100% !important;
        }

    .venue-details {
        padding: 1rem 1.2rem;
    }

    .venue-address {
        margin-bottom: 0.5rem;
    }
}
