﻿/* ============================================
   DESIGN V2 (Cinematic) — Homepage Only
   
   PALETTE RULES (per manager, Feb 2026):
   - Backgrounds: Black (#000) and near-black
   - Accents: DPS Blue (#1F419B) and Grey (#D7D5CF) / White
   - NO orange. NO gold.
   
   TYPOGRAPHY RULES:
   - All headings/titles: Oswald, uppercase, bold
   - Body copy: Inter
   - Oswald chosen for stern/authoritative law enforcement aesthetic
     (used by FBI, Secret Service, NYPD, most state patrol sites)
   ============================================ */

/* ========================================
   ACCENT + SURFACE TOKENS
   Single source of truth — change here,
   updates everywhere.
   ======================================== */
:root {
    --accent: var(--dps-blue); /* #1F419B - primary accent */
    --accent-light: #3457C0; /* Lighter blue for hover */
    --accent-glow: rgba(31, 65, 155, 0.40);
    /* Black-based surfaces */
    --surface-black: #000000; /* keep for HERO if desired */
    --surface-dark: #0F1724; /* deep navy-charcoal */
    --surface-raised: #141E30; /* raised panels/cards */
    --surface-mid: #1B2740; /* hover/separators */
    /* Borders */
    --border-subtle: rgba(255, 255, 255, 0.10);
    --border-blue: rgba(31, 65, 155, 0.55); /* DPS blue tint */
    --border-grey: rgba(215, 213, 207, 0.28); /* DPS grey tint */
    /* Text */
    --text-white: #FFFFFF;
    --text-grey: var(--dps-grey); /* #D7D5CF */
    --text-muted: rgba(215, 213, 207, 0.62);
    /* Heading font shorthand */
    --font-heading: 'Oswald', 'Arial Narrow', sans-serif;
    --font-weight-black: 900;
}


/* ============================================
   BASE
   ============================================ */
body {
    font-family: var(--font-modern);
    font-weight: var(--font-regular);
    line-height: 1.6;
    color: var(--text-white);
    background: radial-gradient(ellipse at top, rgba(31, 65, 155, 0.12), transparent 60%), #0B1424;
}

/* Careers section blends from hero */
#careers {
    background: var(--surface-dark) !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* ============================================
   GLOBAL HEADING STYLES
   Oswald — uppercase — applied to every
   heading and section title site-wide.
   ============================================ */

h1, h2, h3, h4, h5, h6,
.v2-section-title,
.section-title,
.card-header h3,
.card-header h4,
.card-header h5,
.pathway-tile__title,
.cta-band__title,
.hero-v2__headline,
.countdown-tile__label,
.events-section .card-body h4,
.instagram-section .section-title {
    font-family: var(--font-heading) !important;
    font-weight: var(--font-bold) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
}

/* Subheadings / subtitles — Oswald medium weight, uppercase */
.v2-section-subtitle,
.hero-v2__subtext,
.card-header p,
.cta-band__text,
.section-subtitle {
    font-family: var(--font-heading) !important;
    font-weight: var(--font-medium) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
}

/* Body copy stays Inter */
p, li, td, label, small, .form-label {
    font-family: var(--font-modern);
    text-transform: none !important;
    letter-spacing: normal !important;
}


/* ============================================
   1. NAVBAR V2
   ============================================ */
#mainNavbar-v2.navbar-dps {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    z-index: 2000;
}

#mainNavbar-v2.navbar-dps::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background: linear-gradient( 180deg, rgba(0, 0, 0, 0.80) 0%, rgba(0, 0, 0, 0.50) 55%, rgba(0, 0, 0, 0.00) 100% ) !important;
    mask-image: linear-gradient(180deg, #000 0%, #000 65%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 65%, transparent 100%);
}

#mainNavbar-v2.navbar-dps.scrolled::before {
    background: rgba(0, 0, 0, 0.95) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
}

#mainNavbar-v2.navbar-dps > .container-fluid {
    position: relative;
    z-index: 1;
}

.navbar-brand {
    color: var(--text-white);
    display: flex;
}

.header-logo {
    height: 50px !important;
    width: auto !important;
    max-height: 50px !important;
}

/* Navbar title — Oswald via global heading rule above */
.header-title-v2 {
    font-family: 'Oswald', 'Arial Narrow', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.10em; /* Extra spacing makes small text feel intentional */
    font-size: 1.3rem;
    color: var(--text-white);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Subtitle — smaller than title, more spaced out */
.header-subtitle-v2 {
    font-family: 'Oswald', 'Arial Narrow', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.14em; /* Extra spacing makes small text feel intentional */
    font-size: 0.95rem; /* Noticeably smaller than the title */
    color: var(--text-grey);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Short title hidden by default — only shows on tiny phones */
.navbar-title--short {
    display: none;
}

.navbar-title--full {
    display: block;
}

#mainNavbar-v2.navbar-v2 .nav-link {
    --nav-streak: var(--dps-blue);			/* default streak = DPS Blue */
    color: var(--text-white) !important;	/* fallback for browsers without clip support */
    font-family: var(--font-heading) !important;
    font-weight: var(--font-semibold) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.07em !important;

    /* Text-clip gradient setup */
    background-image: linear-gradient(
        90deg,
        #FFFFFF 0%,
        #FFFFFF 35%,
        var(--nav-streak) 50%,			/* streak color passes through center */
        #FFFFFF 65%,
        #FFFFFF 100%
    );

    background-size: 250% 100%;			/* wider than element so streak travels full width */
    background-position: 100% 0;		/* start: right side visible = all white */
    -webkit-background-clip: text;		/* Safari, older Chrome */
    background-clip: text;				/* all modern browsers — VS warns but browsers accept it */
    -webkit-text-fill-color: transparent;

    font-size: 1.1rem !important;
    transition: background-position 0.85s ease, transform 0.2s ease !important;
}

/* Hover: DPS Blue instead of grey */
#mainNavbar-v2.navbar-v2 .nav-link:hover {
    background-position: 0% 0;
}

#mainNavbar-v2.navbar-v2 .btn-apply-nav {
    --nav-streak: var(--dps-blue);
    background-color: transparent !important;
    border: none !important;
    font-family: var(--font-heading) !important;
    font-weight: var(--font-bold) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.07em !important;
    padding: 8px 24px;

    background-image: linear-gradient(
        90deg,
        #ffffff 0%,
        #ffffff 20%,
        var(--nav-streak) 50%,
        #ffffff 80%,
        #ffffff 100%
    );
    background-size: 300% 100%;
    background-position: 100% 0;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;

    transition: background-position 0.85s ease, transform 0.2s ease !important;
}

#mainNavbar-v2.navbar-v2 .btn-apply-nav:hover {
    color: var(--text-white) !important;
    background-position: 0% 0 !important;
    border-bottom: 2px solid var(--dps-blue) !important;
    transform: translateY(-2px);
}

/* Dropdown — semi-transparent dark with blur */
#mainNavbar-v2.navbar-v2 .dropdown-menu {
    background-color: rgba(0, 0, 0, 0.75); /* 75% opacity — see-through but still dark */
    backdrop-filter: blur(20px); /* Frosted glass blur behind it */
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-blue);
    border-top: 2px solid var(--dps-blue); /* Blue top accent line */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.50);
}

#mainNavbar-v2.navbar-v2 .dropdown-item {
    color: var(--text-white);
    font-family: var(--font-heading);
    font-weight: var(--font-medium);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: background-color 0.2s ease, color 0.2s ease;
}

/* Dropdown item hover — blue fill */
#mainNavbar-v2.navbar-v2 .dropdown-item:hover {
    background-color: rgba(31, 65, 155, 0.40);
    color: var(--text-white);
}

/* Scroll behavior */
#mainNavbar-v2 {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

#mainNavbar-v2.navbar-hidden {
    transform: translateY(-110%) !important;
    box-shadow: none;
}

#mainNavbar-v2.navbar-forced-visible {
    transition: transform 200ms ease, opacity 200ms ease;
}




/* ============================================
   2. BAND SYSTEM
   ============================================ */
.band {
    position: relative;
    overflow: hidden;
}

.band-dark-alt {
    background: var(--surface-black);
    color: var(--text-white);
}

.band--light {
    background: var(--surface-raised);
    color: var(--text-white);
}

.text-muted-v2 {
    color: var(--text-muted);
}


/* ============================================
   CTA BANDS
   ============================================ */
.cta-band {
    position: relative;
    padding: clamp(3.2rem, 6vw, 4.2rem) 0;
    color: var(--text-white);
}

.cta-band__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
}

.cta-band__content {
    position: relative;
    z-index: 2;
    max-width: 780px;
}

/* .cta-band__title uses global heading rule */
.cta-band__title {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    margin: 0 0 10px 0;
}

.cta-band__text {
    margin: 0 0 18px 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* CTA button — blue */
.btn-cta-v2 {
    font-family: var(--font-heading);
    font-weight: var(--font-bold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 4px;
    padding: 0.9rem 2rem;
    border: 2px solid var(--dps-blue);
    background: var(--dps-blue);
    color: var(--text-white);
    box-shadow: 0 8px 24px rgba(31, 65, 155, 0.40);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    text-decoration: none !important; /* ADD — prevents browser default link underline */
    display: inline-block; /* ADD — ensures padding/transform work correctly on <a> tags */
}

.btn-cta-v2:hover {
    transform: translateY(-2px);
    background: var(--accent-light);
    border-color: var(--accent-light);
    box-shadow: 0 12px 32px rgba(31, 65, 155, 0.55);
    color: var(--text-white);
}

.cta-band--recruiter {
    background: linear-gradient(180deg, rgba(0,0,0,0.3), rgba(0,0,0,0.50)), url('~/images/dpsUnits/Recruiting Logo.png');
    background-size: cover;
    background-position: center;
}

.cta-band--apply {
    background: linear-gradient(180deg, rgba(0,0,0,0.3), rgba(0,0,0,0.50)), url('~/images/dpsUnits/apply-band.jpg');
    background-size: cover;
    background-position: center;
}


/* ============================================
   3. HERO V2 (Cinematic)
   ============================================ */
.hero-v2 {
    position: relative;
    min-height: 100vh;
    max-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--text-white);
    background: var(--surface-black);
}

.hero-v2__video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}

.hero-v2__fallback {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

/* Black overlay — heavier for contrast */
.hero-v2__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( to bottom, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.50) 60%, rgba(0, 0, 0, 0.60) 100% );
    z-index: 2;
}

.hero-v2__content {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 6rem 1rem 5rem;
}

/* Headline — Oswald via global rule */
.hero-v2__headline {
    display: none;
    line-height: 1.0;
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.80);
    margin-bottom: 1rem;
}

/* Subtext */
.hero-v2__subtext {
    display: none;
    max-width: 52rem;
    margin: 0 auto 2rem;
    font-size: clamp(0.9rem, 2vw, 1.15rem);
    line-height: 1.6;
    color: var(--text-grey);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.60);
}

/* Hero CTA */
.hero-v2__cta {
    display: none;
    font-family: var(--font-heading);
    font-weight: var(--font-bold);
    text-transform: uppercase;
    letter-spacing: 0.10em;
    border-radius: 4px;
    padding: 1rem 2.5rem;
    border: 2px solid var(--dps-blue);
    background: var(--dps-blue);
    color: var(--text-white);
    box-shadow: 0 8px 24px rgba(31, 65, 155, 0.40);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.hero-v2__cta:hover {
    display: none;
    transform: translateY(-2px);
    background: var(--accent-light);
    border-color: var(--accent-light);
    color: var(--text-white);
}

.hero-v2__cta:focus-visible {
    display: none;
    outline: 3px solid var(--text-grey);
    outline-offset: 4px;
}

/* Video controls */
.hero-v2__controls {
    position: absolute;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 4;
    display: flex;
    gap: 0.5rem;
}

.hero-v2__control-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.30);
    background: rgba(0, 0, 0, 0.45);
    color: var(--text-white);
    backdrop-filter: blur(10px);
    font-size: 1.15rem;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.hero-v2__control-btn:hover {
    background: rgba(0, 0, 0, 0.65);
    border-color: rgba(255, 255, 255, 0.55);
    transform: scale(1.08);
}

.hero-v2__control-btn:focus-visible {
    outline: 3px solid var(--text-grey);
    outline-offset: 3px;
}

/* Scroll indicator */
.hero-v2__scroll {
    position: absolute;
    left: 50%;
    bottom: 1.2rem;
    transform: translateX(-50%);
    z-index: 4;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: var(--font-semibold);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.hero-v2__scroll i {
    display: block;
    font-size: 1.4rem;
    margin-top: 0.25rem;
}

.hero-v2__brand {
    position: absolute;
    left: 1.5rem;
    bottom: 1.5rem;
    z-index: 4;
}

.hero-v2__wordmark {
	width: clamp(320px, 38vw, 800px);
	height: auto;
	filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.75));
}



/* ============================================
   4. SECTION TITLES (global homepage sections)
   ============================================ */
.v2-section-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.0;
    margin: 0;
    color: var(--text-white);
    /* font-family, weight, uppercase, tracking set by global heading rule */
}

.v2-section-title--dark {
    color: var(--text-white);
}

.v2-section-subtitle {
    max-width: 52rem;
    margin: 0.75rem auto 0;
    font-size: clamp(0.85rem, 1.6vw, 1rem);
    color: var(--text-grey);
    /* Oswald uppercase set by global heading rule */
}


/* ============================================
   5. CAREER PATHWAY TILES
   ============================================ */
.pathway-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px; /* Near-seamless seams between tiles */
    max-width: 1400px;
    margin: 0 auto;
}

.pathway-tile {
    grid-column: span 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none !important;
    padding: 60px 40px;
    color: var(--text-white);
    /* Black tile with subtle blue tint on hover */
    background: #5A6070;
    border: 1px solid var(--border-subtle);
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.25s ease;
    cursor: pointer;
    min-height: 360px;
}

button.pathway-tile {
    width: 100%;
}

.pathway-tile:hover,
.pathway-tile:focus,
.pathway-tile:active {
    text-decoration: none !important;
}

/* Base hover — fallback if no data-division set */
.pathway-tile:hover {
    transform: translateY(-6px);
    background: rgba(31, 65, 155, 0.30);
    border-color: rgba(31, 65, 155, 0.90);
    box-shadow: 0 8px 32px rgba(31, 65, 155, 0.25);
}

/* GSP — --gsp-orange: #DB4F30 → 219, 79, 48 */
.pathway-tile[data-division="gsp"]:hover {
    transform: translateY(-6px);
    background: rgba(219, 79, 48, 0.30);
    border-color: rgba(219, 79, 48, 0.90);
    box-shadow: 0 8px 32px rgba(219, 79, 48, 0.25);
}

/* CVE — --cve-yellow: #EADC75 → 234, 220, 117 */
.pathway-tile[data-division="cve"]:hover {
    transform: translateY(-6px);
    background: rgba(234, 220, 117, 0.20); /* yellow reads stronger, pulled back slightly */
    border-color: rgba(234, 220, 117, 0.90);
    box-shadow: 0 8px 32px rgba(234, 220, 117, 0.20);
}

/* Capitol — --dps-navy: #11294B → 17, 41, 75 */
.pathway-tile[data-division="capitol"]:hover {
    transform: translateY(-6px);
    background: rgba(17, 41, 75, 0.30);
    border-color: rgba(17, 41, 75, 0.90);
    box-shadow: 0 8px 32px rgba(17, 41, 75, 0.25);
}

/* Dispatcher — --dps-red: #A22237 → 162, 34, 55 */
.pathway-tile[data-division="dispatcher"]:hover {
    transform: translateY(-6px);
    background: rgba(162, 34, 55, 0.30);
    border-color: rgba(162, 34, 55, 0.90);
    box-shadow: 0 8px 32px rgba(162, 34, 55, 0.25);
}

.pathway-tile:focus-visible {
    outline: 3px solid var(--text-grey);
    outline-offset: 3px;
}

.pathway-tile__icon {
    position: relative;
    width: 150px;
    height: 150px;
    display: grid;
    place-items: center;
    margin-bottom: 24px;
    overflow: hidden;
}


/* Both images sit on top of each other */
.pathway-tile__icon-default,
.pathway-tile__icon-hover {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 15px;
    transition: opacity 0.35s ease;
}

/* Default: grey visible, color hidden */
.pathway-tile__icon-default {
    opacity: 1;
}

.pathway-tile__icon-hover {
    opacity: 0;
}

/* On hover: swap them */
.pathway-tile:hover .pathway-tile__icon-default {
    opacity: 0;
}

.pathway-tile:hover .pathway-tile__icon-hover {
    opacity: 1;
}

.pathway-tile__icon--glyph i {
    font-size: 1.6rem;
    color: var(--text-grey);
}

.pathway-tile__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* .pathway-tile__title gets Oswald from global heading rule */
.pathway-tile__title {
    font-size: 1.15rem;
    margin: 0 0 14px 0;
    color: var(--text-white);
    line-height: 1.2;
}

.pathway-tile__desc {
    font-family: var(--font-modern);
    margin: 0;
    color: #E8E6E1;
    font-size: 0.9rem;
    line-height: 1.5;
    text-transform: none !important;
    letter-spacing: normal !important;
}

.pathway-tile__chev {
    margin-left: auto;
    opacity: 0.75;
    font-weight: 900;
    display: none;
}

/* ============================================
   6. DEADLINE BAND
   ============================================ */
.deadline-band {
    background: var(--surface-dark, #0F1724);
    /* Blend into sections above and below — no hard chop */
    border-top: none;
    border-bottom: none;
    padding: 22px 32px;
    display: flex;
    align-items: center;
    gap: 24px;
    position: relative;
    overflow: hidden;
}

/* Cinematic left accent line */
.deadline-band::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(31, 65, 155, 0.6) 20%,
        rgba(31, 65, 155, 0.6) 80%,
        transparent 100%
    );
}
 
/* Subtle radial glow from left */
.deadline-band::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(31, 65, 155, 0.3) 20%,
        rgba(31, 65, 155, 0.3) 80%,
        transparent 100%
    );
}

/* Ambient glow — gives the band depth without hard edges */
.deadline-band__glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(31, 65, 155, 0.10), transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.deadline-band__left {
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.deadline-band__eyebrow {
    font-family: var(--font-heading, 'Oswald', sans-serif);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.22em !important;
    text-transform: uppercase !important;
    color: #6482C8;
    margin: 0 0 4px;
}

.deadline-band__title {
    font-family: var(--font-heading, 'Oswald', sans-serif);
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    color: var(--text-white, #fff);
    margin: 0 0 3px;
    line-height: 1;
}

.deadline-band__sub {
    font-family: var(--font-heading, 'Oswald', sans-serif);
    font-size: 0.7rem;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    color: #96989A;
    margin: 0;
}

.deadline-band__center {
    flex: 1;
    display: flex;
    align-items: stretch;
    justify-content: center;
    position: relative;
    z-index: 1;
}
 
.deadline-band__num-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 22px;
    border-right: 0.5px solid rgba(255, 255, 255, 0.06);
}
 
.deadline-band__num-block:last-child {
    border-right: none;
}
 
.deadline-band__num {
    display: block;
    font-family: var(--font-heading, 'Oswald', sans-serif);
    font-size: 4rem;
    font-weight: 700;
    color: var(--text-white, #fff);
    line-height: 1;
    letter-spacing: -0.02em;
}

.deadline-band__lbl {
    display: block;
    font-family: var(--font-heading, 'Oswald', sans-serif);
    font-size: 0.6rem;
    letter-spacing: 0.2em !important;
    text-transform: uppercase !important;
    color: #808080;
    margin-top: 4px;
}
 
/* Right: controls */
.deadline-band__right {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    position: relative;
    z-index: 1;
}
 
.deadline-band__toggle-row {
    display: flex;
    align-items: center;
    gap: 8px;
}
 
/* Status dot */
.deadline-band__status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-heading, 'Oswald', sans-serif);
    font-size: 0.65rem;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    color: #888B8E;
}
 
.deadline-band__status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4CAF50; /* active green — from tactical version */
    box-shadow: 0 0 6px rgba(76, 175, 80, 0.55);
    flex-shrink: 0;
    animation: db-pulse 2.5s ease-in-out infinite;
}
 
@keyframes db-pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 6px rgba(76, 175, 80, 0.6); }
    50%       { opacity: 0.65; box-shadow: 0 0 2px rgba(76, 175, 80, 0.25); }
}
 
/* Apply button — solid, visible, important */
.deadline-band__apply {
    display: inline-flex;
    align-items: center;
    background: var(--dps-blue, #1F419B);
    border: 1px solid var(--dps-blue, #1F419B);
    border-radius: 3px;
    color: #fff;
    font-family: var(--font-heading, 'Oswald', sans-serif);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    padding: 7px 18px;
    text-decoration: none;
    transition: background 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

.deadline-band__apply:hover {
    background: rgba(31, 65, 155, 0.8);
    box-shadow: 0 4px 16px rgba(31, 65, 155, 0.45);
    color: #fff;
}


/* ============================================
   7. EVENTS SECTION
   ============================================ */
.ev-card {
    background: var(--surface-dark, #0F1724);
    border: 0.5px solid rgba(31, 65, 155, 0.30);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: border-color 0.3s ease;
}
 
/* 2px blue top accent line — replaces bg-primary header block */
.ev-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--dps-blue, #1F419B), rgba(31, 65, 155, 0.25));
    z-index: 2;
}
 
.ev-card:hover {
    border-color: rgba(31, 65, 155, 0.55);
}
 
/* Card header */
.ev-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 14px 20px 12px;
    border-bottom: 0.5px solid rgba(255, 255, 255, 0.06);
    flex-shrink: 0;
}

.ev-card__eyebrow {
    font-family: var(--font-heading, 'Oswald', sans-serif);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.18em !important;
    text-transform: uppercase !important;
    color: #6482C8;
    margin: 0 0 3px;
}

.ev-card__title {
    font-family: var(--font-heading, 'Oswald', sans-serif);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    color: var(--text-white, #fff);
    margin: 0;
}
 
/* Card body */
.ev-card__body {
    padding: 14px 20px;
    flex: 1;
    overflow-y: auto;
}

/* Card footer — visible CTA */
.ev-card__footer {
    padding: 10px 20px;
    border-top: 0.5px solid rgba(255, 255, 255, 0.06);
    display: flex;
    justify-content: flex-end;
    flex-shrink: 0;
    margin-top: auto;
}

.ev-card__footer-link {
    font-family: var(--font-heading, 'Oswald', sans-serif);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    color: rgba(215, 213, 207, 0.65);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s ease;
}

 
.ev-card__footer-link:hover {
    color: #fff;
}

/* ── MAP CARD ── */
.ev-card__map-body {
    position: relative;
    flex: 1;
    min-height: 350px;
    overflow: hidden;
}

.ev-map__zone {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    transition: opacity 0.25s ease;
    z-index: 1;
}

/* Panel open — fade map out behind panel */
.ev-map__zone--panel-open {
    opacity: 0;
    pointer-events: none;
}

/* Panel overlays the full card body */
.ev-map__panel {
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    overflow-y: auto;
    padding: 16px 14px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.ev-map__panel--active {
    opacity: 1;
    pointer-events: all;
}

/* Hint pill — moved to bottom so it doesn't obscure Georgia */
.ev-map__hint {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-family: var(--font-heading, 'Oswald', sans-serif);
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    color: rgba(255, 255, 255, 0.80);
    background: rgba(0, 0, 0, 0.60);
    padding: 3px 12px;
    border-radius: 20px;
    z-index: 2;
    pointer-events: none;
    border: 0.5px solid rgba(255, 255, 255, 0.35);
}

.ev-map__svg-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ev-map__svg-wrap--hidden {
    display: none;
}

/* ── Inline SVG map polygon styles (homepage mini-map) ── */
.ev-map__svg {
    padding-top: 20px;
    width: 100%;
    height: 100%;
    max-height: 320px;
    display: block;
}

/* All troop images — slightly dimmed by default */
.ev-map__svg .troop-img {
    opacity: 1;
    transition: opacity 0.25s ease, filter 0.25s ease;
    pointer-events: none;
}

/* Dim ALL images when any zone is active — mirrors recruiter.css has-active */
.ev-map__svg.has-active .troop-img {
    opacity: 0.35;
    filter: brightness(0.55) saturate(0.45);
}

/* Hover — brighten + glow the hovered troop image */
.ev-map__svg[data-hover="A"] image[data-troop="A"],
.ev-map__svg[data-hover="B"] image[data-troop="B"],
.ev-map__svg[data-hover="C"] image[data-troop="C"],
.ev-map__svg[data-hover="D"] image[data-troop="D"],
.ev-map__svg[data-hover="E"] image[data-troop="E"],
.ev-map__svg[data-hover="F"] image[data-troop="F"],
.ev-map__svg[data-hover="G"] image[data-troop="G"],
.ev-map__svg[data-hover="H"] image[data-troop="H"],
.ev-map__svg[data-hover="I"] image[data-troop="I"] {
    opacity: 1;
    filter: brightness(1.3) saturate(1.2)
            drop-shadow(0 0 6px rgba(255, 255, 255, 0.55))
            drop-shadow(0 0 14px rgba(255, 255, 255, 0.25));
    transition: opacity 0.15s ease, filter 0.15s ease;
}

/* Active — full brightness + DPS blue glow */
.ev-map__svg[data-active="A"] image[data-troop="A"],
.ev-map__svg[data-active="B"] image[data-troop="B"],
.ev-map__svg[data-active="C"] image[data-troop="C"],
.ev-map__svg[data-active="D"] image[data-troop="D"],
.ev-map__svg[data-active="E"] image[data-troop="E"],
.ev-map__svg[data-active="F"] image[data-troop="F"],
.ev-map__svg[data-active="G"] image[data-troop="G"],
.ev-map__svg[data-active="H"] image[data-troop="H"],
.ev-map__svg[data-active="I"] image[data-troop="I"] {
    opacity: 1;
    filter: brightness(1.4) saturate(1.3)
            drop-shadow(0 0 8px var(--dps-blue, #1F419B))
            drop-shadow(0 0 22px rgba(31, 65, 155, 0.55));
}

/* Active zone — stays bright */
.ev-map__svg .troop-img.troop-img--active { opacity: 1; }

/* Hit polygons — invisible by default, cursor pointer */
.ev-map__svg .troop-hit {
    fill: transparent;
    stroke: transparent;
    cursor: pointer;
    outline: none;
}

.ev-map__svg .troop-hit:hover,
.ev-map__svg .troop-hit:focus-visible {
    fill: rgba(255, 255, 255, 0.10);
    stroke: rgba(255, 255, 255, 0.30);
    stroke-width: 1.5;
}

.ev-map__svg .troop-hit.is-active {
    fill: rgba(31, 65, 155, 0.30);
    stroke: rgba(31, 65, 155, 0.90);
    stroke-width: 2;
}

/* Troop letter labels */
.ev-map__svg .troop-label {
    fill: rgba(255, 255, 255, 0.55);
    font-family: 'Oswald', 'Arial Narrow', sans-serif;
    font-size: 28px;
    font-weight: 700;
    pointer-events: none;
    user-select: none;
}
 
.ev-map__img {
    max-width: 100%;
    max-height: 280px;
    object-fit: contain;
    display: block;
    user-select: none;
    pointer-events: none;
}
 
/* Hit layer — transparent buttons over map image */
.ev-map__hit-layer {
    position: absolute;
    inset: 0;
    z-index: 3;
}
 
.ev-map__zone-btn {
    position: absolute;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 3px;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}
 
.ev-map__zone-btn:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.20);
}
 
.ev-map__zone-btn.is-active {
    background: rgba(31, 65, 155, 0.22);
    border-color: rgba(31, 65, 155, 0.70);
}
 
.ev-map__zone-btn:focus-visible {
    outline: 2px solid var(--dps-grey, #D7D5CF);
    outline-offset: 2px;
}

/* ============================================================
   5. EV-MAP PANEL — right half of map card
   ============================================================ */
/* ── PANEL (right half of map card) ── */

.ev-map__panel-empty {
    text-align: center;
    margin: auto;
}

.ev-map__empty-ring {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 0.5px solid rgba(31, 65, 155, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.ev-map__empty-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(31, 65, 155, 0.45);
}

.ev-map__empty-text {
    font-family: var(--font-heading, 'Oswald', sans-serif);
    font-size: 0.65rem;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    color: rgba(255, 255, 255, 0.50);
    line-height: 1.8;
    margin: 0;
}

.ev-map__panel-content {
    width: 100%;
    align-self: flex-start;
}
 
 
/* ============================================================
   6. EV-PANEL — recruiter info inside map card
   ============================================================ */

.ev-panel__back {
    display: inline-flex;
    align-items: center;
    background: transparent;
    border: none;
    color: #838587;
    font-family: var(--font-heading, 'Oswald', sans-serif);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    padding: 0 0 12px;
    transition: color 0.15s ease;
}

.ev-panel__back:hover {
    color: var(--text-white, #fff);
}

.ev-panel__zone-header {
    display: flex;
    align-items: center;
    gap: 10px;
    border-left: 3px solid var(--dps-blue, #1F419B);
    padding-left: 10px;
    margin-bottom: 14px;
}

.ev-panel__zone-letter {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--dps-blue, #1F419B);
    color: #fff;
    font-family: var(--font-heading, 'Oswald', sans-serif);
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* CVE panel — dark letter on yellow circle */
.ev-panel__zone-letter--cve {
    color: #0a0f1a;
}

.ev-panel__zone-label {
    display: block;
    font-family: var(--font-heading, 'Oswald', sans-serif);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--text-white, #fff);
}

.ev-panel__zone-region {
    display: block;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #96989A;
}

.ev-panel__recruiters {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
}

.ev-panel__recruiter {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 0.5px solid rgba(255, 255, 255, 0.07);
    border-radius: 4px;
    padding: 9px 11px;
}

.ev-panel__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.ev-panel__avatar--initials {
    background: var(--dps-blue, #1F419B);
    color: #fff;
    font-family: var(--font-heading, 'Oswald', sans-serif);
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ev-panel__recruiter-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.ev-panel__name {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-white, #fff);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ev-panel__contact {
    font-size: 0.68rem;
    color: #838587;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.15s ease;
}

.ev-panel__contact:hover {
    color: #fff;
}
 
/* Directory link */
.ev-panel__dir-link {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading, 'Oswald', sans-serif);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(215, 213, 207, 0.6);
    text-decoration: none;
    padding: 6px;
    border: 0.5px solid rgba(255, 255, 255, 0.12);
    border-radius: 3px;
    transition: all 0.15s ease;
}

.ev-panel__dir-link:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.04);
}

 
 
/* ============================================================
   7. EV-PT-ROW — PT date rows (right card)
   ============================================================ */
.ev-pt-row {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 11px 0;
    border-bottom: 0.5px solid rgba(255, 255, 255, 0.05);
}

.ev-pt-row:last-child {
    border-bottom: none;
}

.ev-pt-row--next {
    border-left: 2px solid rgba(31, 65, 155, 0.7);
    padding-left: 10px;
    margin-left: -10px;
}

.ev-pt-row__cal {
    flex-shrink: 0;
    width: 32px;
    text-align: center;
}

.ev-pt-row__month {
    display: block;
    font-family: var(--font-heading, 'Oswald', sans-serif);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    color: #6482C8;
}

.ev-pt-row__day {
    display: block;
    font-family: var(--font-heading, 'Oswald', sans-serif);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-white, #fff);
    line-height: 1;
}

.ev-pt-row__info {
    flex: 1;
    min-width: 0;
}

.ev-pt-row__badges {
    margin-bottom: 4px;
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
}

.ev-badge {
    display: inline-block;
    font-family: var(--font-heading, 'Oswald', sans-serif);
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    color: #6482C8;
    background: rgba(31, 65, 155, 0.12);
    border: 0.5px solid rgba(31, 65, 155, 0.35);
    border-radius: 2px;
    padding: 2px 6px;
}

.ev-badge--next {
    color: rgba(220, 170, 40, 0.95);
    background: rgba(220, 170, 40, 0.10);
    border-color: rgba(220, 170, 40, 0.35);
}

.ev-pt-row__loc {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-white, #fff);
    line-height: 1.3;
    margin: 0 0 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ev-pt-row__recruiter {
    font-size: 0.7rem;
    color: var(--dps-grey);
    margin: 0;
    line-height: 1.5;
}

.ev-pt-row__phone {
    color: #6496FF;
    text-decoration: none;
    transition: color 0.15s ease;
}

.ev-pt-row__phone:hover {
    color: #fff;
}

/* =======================================
   TOGGLE BUTTONS
   ======================================= */

.ev-toggle {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border: 0.5px solid rgba(255, 255, 255, 0.10);
    border-radius: 3px;
    overflow: hidden;
    flex-shrink: 0;
}
 
.deadline-band__toggle {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border: 0.5px solid rgba(255, 255, 255, 0.10);
    border-radius: 3px;
    overflow: hidden;
}

.ev-toggle__pill,
.deadline-band__pill {
    padding: 4px 12px;
    font-family: var(--font-heading, 'Oswald', sans-serif);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #828282;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
    line-height: 1;
}
 
.ev-toggle__pill.active,
.deadline-band__pill.active {
    background: var(--dps-blue, #1F419B);
    color: #fff;
}
 
.ev-toggle__pill:focus-visible,
.deadline-band__pill:focus-visible {
    outline: 2px solid var(--dps-grey, #D7D5CF);
    outline-offset: 2px;
}

/* =======================================
   SCROLLBAR (PT dates overflow)
   ======================================= */
/* ev-card body scrollbar — PT dates */
.ev-card__body::-webkit-scrollbar       { width: 4px; }
.ev-card__body::-webkit-scrollbar-track { background: transparent; }
.ev-card__body::-webkit-scrollbar-thumb {
    background: rgba(31, 65, 155, 0.45);
    border-radius: 4px;
}
.ev-card__body::-webkit-scrollbar-thumb:hover { background: var(--dps-blue); }

/* ============================================
   7. INSTAGRAM CAROUSEL SECTION
   ============================================ */
.instagram-section {
    background: var(--surface-black);
    color: var(--text-white);
    border-top: 1px solid rgba(31, 65, 155, 0.40);
}

.instagram-section .section-title {
    color: var(--text-white) !important;
}

/* Subtitle text */
.instagram-section-sub {
    font-family: 'Oswald', 'Arial Narrow', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(215, 213, 207, 0.65);
}

/* Instagram handle links */
.instagram-handle-link {
    color: var(--dps-grey);
    text-decoration: none;
    transition: color 0.2s ease;
}

.instagram-handle-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Carousel container — no hard border, fades into page */
.instagram-carousel {
    position: relative;
    border: none; /* Remove the hard border */
    border-radius: 0;
    overflow: hidden;
}

/* Left + right vignette fade — bleeds image into black bg */
.instagram-carousel::before,
.instagram-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 30px; /* How far the fade extends inward */
    z-index: 10; /* Above the slides, below the controls */
    pointer-events: none; /* Don't block clicks on prev/next arrows */
}

/* Left fade — black bleeds in from left edge */
.instagram-carousel::before {
    left: 0;
    background: linear-gradient( to right, rgba(0, 0, 0, 1.00) 0%, rgba(0, 0, 0, 0.60) 40%, transparent 100% );
}

/* Right fade — black bleeds in from right edge */
.instagram-carousel::after {
    right: 0;
    background: linear-gradient( to left, rgba(0, 0, 0, 1.00) 0%, rgba(0, 0, 0, 0.60) 40%, transparent 100% );
}

.instagram-slide-img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    object-position: center;
    display: flex;
}

/* Placeholder slide — shown until real photos arrive */
.instagram-slide-placeholder {
    width: 100%;
    height: 520px;
    background: linear-gradient(135deg, #0A0A0A 0%, #0D1220 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: rgba(215, 213, 207, 0.20);
}

.instagram-slide-placeholder i {
    font-size: 4rem;
}

.instagram-slide-placeholder-label {
    font-family: 'Oswald', 'Arial Narrow', sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(215, 213, 207, 0.25);
}

/* Caption overlay at bottom of each slide */
.carousel-caption {
    background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, transparent 100%);
    left: 0;
    right: 0;
    bottom: 0;
    padding: 2rem 2rem 1.5rem;
    text-align: left;
}

.carousel-caption-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.90);
    margin-bottom: 0.25rem;
    text-transform: none;
    letter-spacing: normal;
}

.carousel-caption-handle {
    font-family: 'Oswald', 'Arial Narrow', sans-serif;
    font-size: 0.70rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--dps-grey);
}

/* Indicators — blue dots */
.instagram-carousel .carousel-indicators [data-bs-target] {
    background-color: rgba(31, 65, 155, 0.50);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
}

.instagram-carousel .carousel-indicators .active {
    background-color: var(--dps-blue);
}

/* Prev/Next arrow buttons */
.instagram-carousel .carousel-control-prev,
.instagram-carousel .carousel-control-next {
    width: 10%;
    opacity: 0.7;
    z-index: 20; /* Above the vignette overlays */
    transition: opacity 0.2s ease;
}

.instagram-carousel .carousel-control-prev:hover,
.instagram-carousel .carousel-control-next:hover {
    opacity: 1;
}

/* Follow button */
.btn-instagram-follow {
    font-family: 'Oswald', 'Arial Narrow', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: transparent;
    border: 2px solid var(--dps-blue);
    color: var(--text-white);
    padding: 0.75rem 2rem;
    border-radius: 0;
    transition: all 0.25s ease;
}

.btn-instagram-follow:hover {
    background: var(--dps-blue);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(31, 65, 155, 0.40);
}



/* ============================================
   8. STATS SECTION
   ============================================ */
.stats-section {
    background: var(--surface-dark);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

/* Stat numbers — white + subtle blue glow */
.stat-number {
    font-family: var(--font-heading) !important;
    font-weight: var(--font-weight-black) !important;
    text-transform: uppercase !important;
    color: #FFFFFF;
    text-shadow: 0 0 24px rgba(31, 65, 155, 0.45);
}

.stat-label {
    font-family: var(--font-heading) !important;
    font-weight: var(--font-semibold) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    color: var(--text-grey);
}

.stat-divider {
    border-color: var(--border-subtle);
}


/* ============================================
   9. FOOTER ACCENTS
   ============================================ */
.footer-section h2 {
    font-family: var(--font-heading) !important;
    font-weight: var(--font-bold) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    color: var(--text-grey) !important;
}

.social-icon:hover {
    background: var(--dps-blue) !important;
    color: #FFFFFF !important;
}

.social-icon:active {
    background: var(--accent-light) !important;
}

.footer-phone-link:active,
.footer-email-link:active,
.footer-section ul a:active,
.footer-section p > a:active,
.footer-bottom a:active {
    color: var(--text-grey) !important;
    transition: none !important;
}

/* ============================================================================
   E. REDUCED MOTION — WCAG 2.3.3 Animation from Interactions
   
   Some users have vestibular disorders — spinning/sliding animations
   can cause physical nausea. prefers-reduced-motion disables them.
   ============================================================================ */
@media (prefers-reduced-motion: reduce) {

    /* CTA buttons — remove hover lift, keep color change */
    .btn-cta-v2,
    .hero-v2__cta,
    .hero-v2__control-btn {
        transition: background 0.2s ease, border-color 0.2s ease !important;
    }

    .btn-cta-v2:hover,
    .hero-v2__cta:hover,
    .hero-v2__control-btn:hover {
        transform: none;
    }

    /* Pathway tiles — no hover lift */
    .pathway-tile {
        transition: background 0.2s ease, border-color 0.2s ease !important;
    }

    .pathway-tile:hover {
        transform: none;
    }

    /* Pathway icon swap — instant, no fade */
    .pathway-tile__icon-default,
    .pathway-tile__icon-hover {
        transition: none;
    }

    .deadline-band__status-dot {
        animation: none;
    }

    .ev-map__zone-btn,
    .ev-card,
    .ev-panel__back,
    .ev-panel__contact,
    .ev-card__footer-link,
    .deadline-band__apply {
        transition: none !important;
    }

    /* Instagram follow button — no lift */
    .btn-instagram-follow:hover {
        transform: none;
    }
}


/* ============================================================================
   RESPONSIVE — MOBILE FIRST
   Organized by breakpoint (small to large).
   Only design-v2.css classes live here — no careers or dps classes.
   
   Breakpoints:
   xs  <  480px  (small phones)
   sm  <  576px  (standard phones)
   md  <  768px  (large phones / small tablets)
   lg  <  992px  (tablets)
   xl  < 1200px  (small laptops)
   xxl  1200px+  (desktops)
   ============================================================================ */
/* ── xxs: max-width 393.98px (narrow phones — iPhone 14/15, Galaxy S8+, iPhone SE, etc.) ── */
@media (max-width: 393.98px) {

    /* Navbar — tighten offset for narrow phones */
    .navbar-brand .header-text-block {
        max-width: calc(100vw - 110px); /* logo 36px + margin 8px + hamburger 44px + padding 22px */
        overflow: hidden;
    }

    /* Show short title, hide full title */
    .navbar-title--full {
        display: none;
    }

    .navbar-title--short {
        display: block;
    }

    .header-subtitle-v2 {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 0.58rem;
        letter-spacing: 0.01em;
    }

    .hero-v2__wordmark {
        width: clamp(120px, 44vw, 220px);
    }

    .pathway-grid {
        grid-template-columns: 1fr !important;
        gap: 1px !important;
    }

    .pathway-tile {
        min-height: 220px !important;
        padding: 24px 20px;
    }

    .pathway-tile__icon {
        width: 90px;
        height: 90px;
        margin-bottom: 12px;
    }

    .pathway-tile__title {
        font-size: 1rem;
    }

    .pathway-tile__desc {
        font-size: 0.85rem;
    }
}

/* ── xs: max-width 479px ── */
@media (max-width: 479px) {

    /* Homepage hero */
    .hero-v2__content {
        padding: 5.5rem 1rem 4rem;
    }

    .hero-v2__headline {
        font-size: clamp(1.75rem, 11vw, 2.5rem) !important;
    }

    /* Video controls — tuck tighter */
    .hero-v2__controls {
        right: 0.5rem;
        bottom: 0.5rem;
        gap: 0.3rem;
    }

    .hero-v2__control-btn {
        width: 38px;
        height: 38px;
        padding: 0.4rem 0.55rem;
        font-size: 0.75rem;
    }

    .hero-v2__wordmark {
        width: clamp(140px, 40vw, 260px);
    }

    /* Pathway tiles — single column */
    .pathway-grid {
        grid-template-columns: 1fr;
        gap: 3px !important;
    }

    .pathway-tile {
        min-height: 240px;
        padding: 28px 20px;
    }

    .pathway-tile__title {
        font-size: 1.1rem;
    }

    .pathway-tile__icon {
        width: 100px;
        height: 100px;
        margin-bottom: 16px;
    }

    .deadline-band__num {
        font-size: 1.7rem;
    }

    .deadline-band__num-block {
        padding: 0 8px;
    }

    /* xs: keep toggle top-right, don't stack below title */
    .ev-card__header {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        gap: 6px;
        flex-wrap: nowrap;
    }

    .ev-card__header > div:first-child {
        flex: 1;
        min-width: 0;
    }

    .ev-toggle {
        flex-shrink: 0;
    }

}

/* ── sm: max-width 575px ── */
@media (max-width: 575.98px) {

    .header-title-v2 {
        font-size: 0.75rem;
        letter-spacing: 0.03em;
    }

    .header-subtitle-v2 {
        font-size: 0.62rem;
        letter-spacing: 0.04em;
    }

    .header-logo {
        height: 36px !important;
        max-height: 36px !important;
    }

    .navbar-brand .header-text-block {
        max-width: calc(100vw - 130px);
        overflow: hidden;
    }

    /* Homepage hero */
    .hero-v2__content {
        padding: 6rem 1rem 4.5rem;
    }

    .hero-v2__headline {
        font-size: clamp(2rem, 12vw, 3rem) !important;
    }

    .hero-v2__wordmark {
        width: clamp(150px, 36vw, 300px);
    }

    /* Pathway tiles — single column */
    .pathway-grid {
        grid-template-columns: 1fr;
        gap: 3px !important;
    }

    .pathway-tile {
        min-height: 260px;
        padding: 32px 24px;
    }

    .pathway-tile__icon {
        width: 100px;
        height: 100px;
        margin-bottom: 16px;
    }

    .pathway-tile__title {
        font-size: 1.1rem;
    }

    .pathway-tile__desc {
        font-size: 0.88rem;
    }

    /* CTA bands */
    .cta-band {
        padding: 2.5rem 1rem;
    }

    .cta-band__title {
        font-size: clamp(1.4rem, 6vw, 1.8rem);
    }

    /* Instagram */
    .instagram-carousel::before,
    .instagram-carousel::after {
        width: 16px;
    }

    .instagram-slide-placeholder {
        height: 260px;
    }

    .carousel-caption {
        padding: 1rem 0.75rem 0.75rem;
    }

    .carousel-caption-text {
        font-size: 0.8rem;
    }

    /* Section titles */
    .v2-section-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem) !important;
    }
}

/* ── md: max-width 767px ── */
@media (max-width: 767.98px) {
    .navbar-v2 {
        background: rgba(0, 0, 0, 0.98) !important;
        backdrop-filter: blur(15px);
    }

    .navbar-v2 .navbar-collapse.show,
    .navbar-v2 .navbar-collapse.collapsing {
        background-color: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(20px);
        padding: 1rem;
        margin-top: 0.5rem;
        border-radius: 8px;
        border: 1px solid var(--border-blue);
    }

    /* Apply Now CTA — centered in mobile menu, visually separated from nav links */
    #mainNavbar-v2.navbar-v2 .btn-apply-nav {
        display: block;
        text-align: center;
        margin: 0.75rem auto 0.25rem;
        padding: 0.6rem 2rem;
        border-top: 1px solid var(--border-blue);
        width: fit-content;
    }

    /* Border lives on the li, not the button — avoids gradient-clip conflict */
    #mainNavbar-v2.navbar-v2 .navbar-nav li:has(.btn-apply-nav) {
        border-top: 1px solid var(--border-blue);
        padding-top: 0.75rem;
        margin-top: 0.25rem;
    }

    /* Homepage hero */
    .hero-v2__content {
        padding-top: 5rem;
    }

    .hero-v2__controls {
        right: 0.75rem;
        bottom: 0.75rem;
    }

    .hero-v2__scroll {
        display: none !important;
    }

    .hero-v2__wordmark {
        width: clamp(160px, 32vw, 340px);
    }

    /* Pathway tiles — 2 columns on larger phones */
    .pathway-grid {
        grid-template-columns: 1fr;
        gap: 3px !important;
    }

    .pathway-tile {
        min-height: 280px;
        padding: 32px 24px;
    }

    /* Deadline band: status label moves left, toggle goes top-right */
    .deadline-band {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding: 16px;
        position: relative; /* needed for absolute toggle */
    }

    .deadline-band__status {
        order: -1; /* moves the dot + label to the LEFT */
        flex: 1;
    }

    .deadline-band__left {
        padding-left: 12px;
        padding-right: 80px; /* prevent title overlapping the toggle */
    }

    .deadline-band__center {
        width: 100%;
        justify-content: flex-start;
    }

    .deadline-band__num-block {
        padding: 0 12px;
    }

    .deadline-band__num-block:first-child {
        padding-left: 0;
    }

    .deadline-band__num {
        font-size: 2rem;
    }

    /* Toggle pins to top-right corner of the band */
    .deadline-band__toggle-row {
        position: absolute;
        top: 16px;
        right: 16px;
    }

    /* Right row: status dot + apply button, full width, stacked */
    .deadline-band__right {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        position: static; /* let toggle escape to band's position:relative anchor */
    }

    .deadline-band__apply {
        width: 100%;
        justify-content: center;
    }
 
    /* Map card — stack map above panel on mobile */
    .ev-card__map-body {
        display: flex;
        flex-direction: column;
        flex: 1;
        min-height: 360px;
        position: relative;
        overflow: hidden;
    }

    .ev-map__zone {
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.4);
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 12px;
        overflow: hidden;
        border-right: none;
        flex: unset;
        transition: opacity 0.25s ease;
    }

    /* Panel open state — hide map, reveal full-width panel */
    .ev-map__zone--panel-open {
        opacity: 0;
        pointer-events: none;
        display: flex; /* override any display:none from prior rule */
    }

    /* When panel is active, expand it to fill the full card width */
    .ev-map__panel--active {
        flex: 0 0 100% !important;
        align-items: flex-start;
    }

    /* Instagram */
    .instagram-slide-placeholder {
        height: 320px;
    }

    .carousel-caption {
        padding: 1.5rem 1rem 1rem;
    }

    .carousel-caption-text {
        font-size: 0.85rem;
    }

    /* Section titles */
    .v2-section-title {
        font-size: clamp(1.8rem, 5vw, 2.5rem) !important;
    }
}

/* Tablets 576px–991px — 2 columns */
@media (min-width: 576px) and (max-width: 991.98px) {
    .pathway-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3px !important;
    }

    .pathway-tile {
        min-height: 320px;
    }
}

/* ── lg: max-width 991px (tablets) ── */
@media (min-width: 991.98px) {

    .pathway-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 3px !important;
    }

    .pathway-tile {
        min-height: 360px;
    }
}

/* ── xl: min-width 1200px (desktops) ── */
@media (min-width: 1200px) {

    /* Pathway tiles — 4 columns */
    .pathway-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 3px !important;
    }
    
    .pathway-tile {
        min-height: 360px;
    }

}
