/**
 * HireTheVeterans.com — Landing Page Styles
 * 
 * Sections:
 *   1. Hero (panoramic background, search bar, caption)
 *   2. Mission banner ("Where Service and Dedication Meet Opportunity")
 *   3. Job cards (featured + latest listings)
 *   4. MOS translator banner
 *   5. Built-for / persona cards (inherited from previous build)
 *   6. Employer CTA (inherited)
 *   7. Crisis resources (inherited)
 *   8. Responsive
 *
 * IMAGE PLACEHOLDERS:
 *   Replace the gradient backgrounds with your panoramic/location images:
 *   - .hero → background-image: url('/images/landing/hero-panoramic.jpg');
 *   - .mos-banner → background-image: url('/images/landing/mos-bg.jpg');
 *   The gradients work as standalone fallbacks until images are ready.
 */


/* ═══════════════════════════════════════════════════════════════════════════
   1. HERO
   ═══════════════════════════════════════════════════════════════════════════ */

.hero {
    position: relative;
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 24px 52px;

    background: url('/images/hero/EC_01.webp') center/cover no-repeat;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 41, 0.55);
    z-index: 1;
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 780px;
    width: 100%;
    text-align: center;
}

/* ── Hero caption ─────────────────────────────────────────────────────── */

.hero-caption {
    font-family: 'Source Serif 4', 'Georgia', serif;
    font-size: clamp(26px, 4.5vw, 42px);
    font-weight: 600;
    font-style: italic;
    line-height: 1.35;
    color: #ffffff;
    margin: 0 0 16px 0;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.hero-subcaption {
    font-family: 'Source Serif 4', 'Georgia', serif;
    font-size: clamp(15px, 2vw, 18px);
    font-weight: 400;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 40px 0;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

/* ── Hero job search ──────────────────────────────────────────────────── */

.hero-search {
    margin: 0 auto 28px;
    max-width: 600px;
}

.hero-search-bar {
    display: flex;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25), 0 2px 8px rgba(0, 0, 0, 0.15);
}

.hero-search-bar input {
    flex: 1;
    padding: 16px 20px;
    border: none;
    outline: none;
    font-family: 'Source Serif 4', serif;
    font-size: 16px;
    color: var(--text-primary, #111827);
    background: transparent;
    min-width: 0;
}

.hero-search-bar input::placeholder {
    color: #9ca3af;
}

.hero-search-bar button {
    padding: 16px 28px;
    border: none;
    background: var(--brand-primary, #1d4ed8);
    color: #ffffff;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.2s ease;
    white-space: nowrap;
}

.hero-search-bar button:hover {
    background: #1e40af;
}

.hero-browse-link {
    display: inline-block;
    margin-top: 10px;
    font-family: 'Source Serif 4', serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}

.hero-browse-link:hover {
    color: #ffffff;
}

/* ── Hero markets line ────────────────────────────────────────────────── */

.hero-markets {
    font-family: 'Source Serif 4', serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
    line-height: 1.6;
}

.hero-flag-wrap {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.hero-flag-svg {
    width: 20px;
    height: 13px;
    border-radius: 2px;
    vertical-align: middle;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}


/* ═══════════════════════════════════════════════════════════════════════════
   2. MISSION BANNER
   ═══════════════════════════════════════════════════════════════════════════ */

.mission-banner {
    padding: 56px 24px;
    background: linear-gradient(135deg, #172554 0%, #1e3a5f 50%, #172554 100%);
    text-align: center;
    border-bottom: 3px solid #0f172a;
}

.mission-heading {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(24px, 4vw, 38px);
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 12px 0;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mission-heading em {
    font-style: normal;
    color: #ffffff;
}

.mission-heading span {
    color: #ffffff;
}

.mission-sub {
    font-family: 'Source Serif 4', serif;
    font-size: 17px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 24px 0;
    line-height: 1.5;
}

.mission-cta {
    margin-top: 4px;
}

.mission-cta .btn-primary {
    background: #ffffff;
    color: #172554;
    border-color: #ffffff;
}

.mission-cta .btn-primary:hover {
    background: #e2e8f0;
    color: #0f172a;
}


/* ═══════════════════════════════════════════════════════════════════════════
   3. JOB CARDS (Featured + Latest sections)
   ═══════════════════════════════════════════════════════════════════════════ */

.lp-jobs-section {
    padding: 56px 24px;
    background: #ffffff;
}

.lp-latest-section {
    background: #f9fafb;
}

.lp-section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.lp-section-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--navy, #1a2744);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

.lp-section-link {
    font-family: 'Source Serif 4', serif;
    font-size: 15px;
    color: var(--brand-primary, #1d4ed8);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.lp-section-link:hover {
    color: #1e40af;
}

/* ── Job card grid ────────────────────────────────────────────────────── */

.lp-jobs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* ── Individual job card ──────────────────────────────────────────────── */

.lp-job-card {
    display: flex;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.lp-job-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border-color: #d1d5db;
}

.lp-job-bar {
    width: 4px;
    flex-shrink: 0;
    background: var(--brand-primary, #1d4ed8);
}

.lp-job-featured .lp-job-bar {
    background: #f0d060;
}

.lp-job-vf .lp-job-bar {
    background: #16a34a;
}

.lp-job-body {
    flex: 1;
    padding: 18px 20px;
    min-width: 0;
}

/* ── Card elements ────────────────────────────────────────────────────── */

.lp-job-urgent {
    display: inline-block;
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fca5a5;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    font-family: 'Barlow Condensed', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    padding: 2px 8px;
    margin-bottom: 8px;
}

.lp-job-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 6px 0;
    line-height: 1.3;
}

.lp-job-title a {
    color: var(--navy, #1a2744);
    text-decoration: none;
    transition: color 0.15s ease;
}

.lp-job-title a:hover {
    color: var(--brand-primary, #1d4ed8);
}

.lp-featured-badge {
    display: inline-block;
    vertical-align: middle;
    background: #fef9e7;
    color: #92600a;
    border: 1px solid #f0d060;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    padding: 1px 7px;
    margin-left: 8px;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.lp-job-company {
    font-family: 'Source Serif 4', serif;
    font-size: 14px;
    margin-bottom: 10px;
}

.lp-job-gated {
    color: var(--text-muted, #6b7280);
}

.lp-job-gated a {
    color: var(--brand-primary, #1d4ed8);
    text-decoration: none;
}

.lp-job-gated a:hover {
    text-decoration: underline;
}

.lp-vf-badge {
    display: inline-block;
    color: #16a34a;
    font-size: 12px;
    font-weight: 600;
    margin-left: 6px;
    white-space: nowrap;
}

.lp-job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.lp-meta-tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted, #6b7280);
    background: #f3f4f6;
    letter-spacing: 0.2px;
    white-space: nowrap;
}

.lp-tag-clearance {
    background: #fef3c7;
    color: #92400e;
}

.lp-job-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 10px;
    border-top: 1px solid #f3f4f6;
}

.lp-job-salary {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--navy, #1a2744);
}

.lp-job-posted {
    font-family: 'Source Serif 4', serif;
    font-size: 13px;
    color: var(--text-muted, #6b7280);
    white-space: nowrap;
}

/* ── No jobs placeholder ──────────────────────────────────────────────── */

.lp-no-jobs {
    text-align: center;
    padding: 48px 24px;
}

.lp-no-jobs p {
    font-family: 'Source Serif 4', serif;
    font-size: 17px;
    color: var(--text-muted, #6b7280);
    margin: 0 0 20px 0;
    line-height: 1.6;
}


/* ═══════════════════════════════════════════════════════════════════════════
   4. MOS TRANSLATOR BANNER
   ═══════════════════════════════════════════════════════════════════════════ */

.mos-banner {
    position: relative;
    padding: 64px 24px;
    text-align: center;
    overflow: hidden;

    /* PLACEHOLDER GRADIENT — replace with a distant military base / airfield photo:
       background: url('/images/landing/mos-bg.jpg') center/cover no-repeat;  */
    background: linear-gradient(
        135deg,
        #1a2744 0%,
        #1e3a5f 40%,
        #1a2744 100%
    );
}

.mos-banner-overlay {
    position: absolute;
    inset: 0;
    /* When using a photo, set: background: rgba(26, 39, 68, 0.8); */
    background: transparent;
    z-index: 1;
}

.mos-banner .container {
    position: relative;
    z-index: 2;
}

.mos-banner-inner {
    max-width: 700px;
    margin: 0 auto;
}

.mos-count {
    display: block;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(48px, 8vw, 72px);
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -1px;
}

.mos-heading {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(20px, 3.5vw, 28px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 12px 0;
}

.mos-sub {
    font-family: 'Source Serif 4', serif;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin: 0 0 32px 0;
}

/* ── MOS search bar ───────────────────────────────────────────────────── */

.mos-banner-action {
    max-width: 520px;
    margin: 0 auto;
}

.mos-search {
    display: flex;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
}

.mos-search input {
    flex: 1;
    padding: 14px 18px;
    border: none;
    outline: none;
    font-family: 'Source Serif 4', serif;
    font-size: 15px;
    color: var(--text-primary, #111827);
    background: transparent;
    min-width: 0;
}

.mos-search input::placeholder {
    color: #9ca3af;
}

.mos-search button {
    padding: 14px 24px;
    border: none;
    background: #b91c1c;
    color: #ffffff;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.2s ease;
    white-space: nowrap;
}

.mos-search button:hover {
    background: #991b1b;
}

.mos-browse-link {
    display: inline-block;
    margin-top: 10px;
    font-family: 'Source Serif 4', serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s ease;
}

.mos-browse-link:hover {
    color: #ffffff;
}


/* ═══════════════════════════════════════════════════════════════════════════
   5. COMMUNITY
   ═══════════════════════════════════════════════════════════════════════════ */

.community-section {
    padding: 64px 24px;
    background: #ffffff;
}

.community-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.community-card {
    padding: 32px 28px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    text-align: center;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.community-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border-color: #d1d5db;
}

.community-card-icon {
    font-size: 36px;
    margin-bottom: 16px;
    line-height: 1;
}

.community-card-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--navy, #1a2744);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin: 0 0 10px 0;
}

.community-card-desc {
    font-family: 'Source Serif 4', serif;
    font-size: 14px;
    color: var(--text-muted, #6b7280);
    line-height: 1.6;
    margin: 0 0 16px 0;
}

.community-card-link {
    display: inline-block;
    font-family: 'Source Serif 4', serif;
    font-size: 14px;
    color: var(--brand-primary, #1d4ed8);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.community-card-link:hover {
    color: #1e40af;
}


/* ═══════════════════════════════════════════════════════════════════════════
   6. BUILT-FOR / PERSONA CARDS  (minimal overrides — inherits from site CSS)
   ═══════════════════════════════════════════════════════════════════════════ */

.built-for-section {
    padding: 64px 24px;
    background: #ffffff;
}

.user-types-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.user-type-card {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    transition: box-shadow 0.2s ease;
}

.user-type-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.user-type-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.user-type-name {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--navy, #1a2744);
    margin: 0 0 8px 0;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.user-type-desc {
    font-family: 'Source Serif 4', serif;
    font-size: 14px;
    color: var(--text-muted, #6b7280);
    line-height: 1.55;
    margin: 0;
}


/* ═══════════════════════════════════════════════════════════════════════════
   7. EMPLOYER CTA  (inherits from site CSS — only layout overrides)
   ═══════════════════════════════════════════════════════════════════════════ */

.employer-cta-section {
    padding: 64px 24px;
    background: #f9fafb;
}

.employer-cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 48px 52px;
    background: linear-gradient(135deg, #1a2744 0%, #1e3a5f 100%);
    border-radius: 12px;
    flex-wrap: wrap;
}

.employer-cta-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}


/* ═══════════════════════════════════════════════════════════════════════════
   8. CRISIS RESOURCES  (inherits from site CSS — only layout overrides)
   ═══════════════════════════════════════════════════════════════════════════ */

.crisis-section {
    padding: 56px 24px;
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
}

.crisis-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.crisis-card {
    padding: 20px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.crisis-name {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 15px;
    color: var(--navy, #1a2744);
}

.crisis-action {
    font-family: 'Source Serif 4', serif;
    font-size: 14px;
    color: var(--text-muted, #6b7280);
}

.crisis-link {
    font-family: 'Source Serif 4', serif;
    font-size: 13px;
    color: var(--brand-primary, #1d4ed8);
    text-decoration: none;
}

.crisis-link:hover {
    text-decoration: underline;
}


/* ═══════════════════════════════════════════════════════════════════════════
   9. SHARED / UTILITY
   ═══════════════════════════════════════════════════════════════════════════ */

.section-header {
    text-align: center;
}

.section-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--brand-primary, #1d4ed8);
    margin-bottom: 6px;
}

.section-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--navy, #1a2744);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card {
    background: #ffffff;
}

.card-body {
    padding: 24px;
}

.card-red-bar {
    height: 4px;
    background: #b91c1c;
}

.card-blue-bar {
    height: 4px;
    background: var(--brand-primary, #1d4ed8);
}

.btn-employer-outline {
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
    background: transparent;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.btn-employer-outline:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}


/* ═══════════════════════════════════════════════════════════════════════════
   10. RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 860px) {
    .hero {
        padding: 68px 20px 44px;
    }

    .hero-caption {
        font-size: 26px;
    }

    .hero-subcaption {
        font-size: 15px;
    }

    .lp-jobs-grid {
        grid-template-columns: 1fr;
    }

    .community-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .user-types-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .employer-cta-box {
        flex-direction: column;
        text-align: center;
        padding: 36px 28px;
    }

    .employer-cta-actions {
        justify-content: center;
    }

    .mos-banner {
        padding: 48px 20px;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 60px 16px 36px;
    }

    .hero-caption {
        font-size: 22px;
    }

    .hero-search-bar {
        flex-direction: column;
        border-radius: 8px;
    }

    .hero-search-bar input {
        padding: 14px 16px;
        border-bottom: 1px solid #e5e7eb;
    }

    .hero-search-bar button {
        padding: 14px 20px;
    }

    .hero-markets {
        font-size: 13px;
    }

    .mission-banner {
        padding: 40px 16px;
    }

    .mission-heading {
        font-size: 22px;
    }

    .lp-jobs-section {
        padding: 40px 16px;
    }

    .lp-job-meta {
        gap: 4px;
    }

    .lp-meta-tag {
        font-size: 11px;
        padding: 2px 8px;
    }

    .mos-count {
        font-size: 48px;
    }

    .mos-search {
        flex-direction: column;
    }

    .mos-search input {
        border-bottom: 1px solid #e5e7eb;
    }

    .user-types-grid {
        grid-template-columns: 1fr;
    }

    .community-section {
        padding: 48px 16px;
    }

    .community-grid {
        grid-template-columns: 1fr;
    }

    .community-card {
        padding: 24px 20px;
    }

    .built-for-section {
        padding: 48px 16px;
    }

    .crisis-cards {
        grid-template-columns: 1fr;
    }
}
