/*
Theme Name: UNEDP Community Site
Description: Classic WordPress theme based on the supplied UNEDP community development site. The Community Job Application Flow plugin provides the application form.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: unedp-community-theme
*/

    /* ===== TOKENS ===== */
    :root {
      --un-blue:     #009EDB;
      --un-dark:     #044D6E;
      --un-navy:     #003359;
      --gold:        #C8A951;
      --white:       #FFFFFF;
      --off-white:   #F5F8FA;
      --text-dark:   #1A2B38;
      --text-mid:    #3D5A6E;
      --text-light:  #6B8AA0;
      --border:      #D3E4EE;
      --shadow:      0 2px 16px rgba(0,51,89,0.08);
    }

    /* ===== RESET ===== */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    p, h1, h2, h3, h4, li { overflow-wrap: break-word; word-break: break-word; }
    html { scroll-behavior: smooth; }
    body { overflow-x: clip; }
    body { font-family: 'Inter', sans-serif; color: var(--text-dark); background: var(--white); line-height: 1.6; -webkit-text-size-adjust: 100%; }
    a { text-decoration: none; color: inherit; }
    img { max-width: 100%; }
    ul { list-style: none; }

    /* ===== PAGES ===== */
    .page { display: none; }
    .page.active { display: block; }

    /* ===== NAV ===== */
    nav {
      position: sticky; top: 0; z-index: 1000;
      background: var(--un-navy);
      box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    }
    .nav-inner {
      max-width: 1200px; margin: 0 auto;
      display: flex; align-items: center; justify-content: space-between;
      padding: 0 24px; height: 72px;
    }
    .nav-brand {
      display: flex; align-items: center; gap: 14px; cursor: pointer;
    }
    .nav-emblem {
      width: 44px; height: 44px;
      border-radius: 50%;
      flex-shrink: 0;
      overflow: hidden;
    }
    .nav-wordmark { line-height: 1.2; }
    .nav-wordmark span:first-child {
      display: block;
      font-family: 'Merriweather', serif;
      font-weight: 700;
      font-size: 1.15rem;
      color: var(--white);
      letter-spacing: 0.04em;
    }
    .nav-wordmark span:last-child {
      display: block;
      font-size: 0.65rem;
      color: var(--un-blue);
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }
    .nav-links {
      display: flex; align-items: center; gap: 4px;
    }
    .nav-links a, .nav-links button {
      background: none; border: none;
      color: rgba(255,255,255,0.82);
      font-family: 'Inter', sans-serif;
      font-size: 0.82rem;
      font-weight: 500;
      letter-spacing: 0.04em;
      padding: 6px 14px;
      border-radius: 4px;
      cursor: pointer;
      transition: color 0.2s, background 0.2s;
      text-transform: uppercase;
    }
    .nav-links a:hover, .nav-links button:hover,
    .nav-links a.active, .nav-links button.active {
      color: var(--white);
      background: rgba(255,255,255,0.1);
    }
    .btn-donate-nav {
      background: var(--gold) !important;
      color: var(--un-navy) !important;
      font-weight: 600 !important;
      margin-left: 8px;
    }
    .btn-donate-nav:hover { background: #b8973d !important; }

    /* ===== HERO ===== */
    .hero {
      background: linear-gradient(135deg, var(--un-navy) 0%, var(--un-dark) 60%, #005f8a 100%);
      color: var(--white);
      padding: 100px 24px 80px;
      position: relative;
      overflow: hidden;
    }
    .hero::before {
      content: '';
      position: absolute; inset: 0;
      background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23009EDB' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
      pointer-events: none;
    }
    .hero-inner { max-width: 900px; margin: 0 auto; text-align: center; position: relative; }
    .hero-eyebrow {
      display: inline-block;
      border: 1px solid var(--un-blue);
      color: var(--un-blue);
      font-size: 0.72rem;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      padding: 5px 16px;
      border-radius: 2px;
      margin-bottom: 28px;
    }
    .hero h1 {
      font-family: 'Merriweather', serif;
      font-size: clamp(2rem, 5vw, 3.2rem);
      font-weight: 300;
      line-height: 1.25;
      margin-bottom: 24px;
      letter-spacing: -0.01em;
    }
    .hero h1 strong { font-weight: 700; color: var(--un-blue); }
    .hero p {
      font-size: 1.1rem;
      color: rgba(255,255,255,0.78);
      max-width: 640px;
      margin: 0 auto 40px;
      font-weight: 300;
    }
    .hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
    .btn-primary {
      background: var(--un-blue);
      color: var(--white);
      padding: 14px 32px;
      border-radius: 3px;
      font-weight: 600;
      font-size: 0.9rem;
      letter-spacing: 0.04em;
      border: none; cursor: pointer;
      transition: background 0.2s;
    }
    .btn-primary:hover { background: #007fb3; }
    .btn-outline {
      border: 1.5px solid rgba(255,255,255,0.5);
      color: var(--white);
      padding: 14px 32px;
      border-radius: 3px;
      font-weight: 500;
      font-size: 0.9rem;
      background: none;
      cursor: pointer;
      transition: border-color 0.2s, background 0.2s;
    }
    .btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.06); }

    /* STATS BAR */
    .stats-bar {
      background: var(--white);
      border-bottom: 1px solid var(--border);
      box-shadow: var(--shadow);
    }
    .stats-inner {
      max-width: 1200px; margin: 0 auto;
      display: grid; grid-template-columns: repeat(3, 1fr);
      divide: var(--border);
    }
    .stat-item {
      text-align: center;
      padding: 28px 24px;
      border-right: 1px solid var(--border);
    }
    .stat-item:last-child { border-right: none; }
    .stat-number {
      font-family: 'Merriweather', serif;
      font-size: 2.2rem;
      font-weight: 700;
      color: var(--un-dark);
      line-height: 1;
      margin-bottom: 6px;
    }
    .stat-label { font-size: 0.8rem; color: var(--text-light); letter-spacing: 0.05em; text-transform: uppercase; }

    /* ===== SECTIONS ===== */
    section { padding: 80px 24px; }
    .section-inner { max-width: 1200px; margin: 0 auto; }
    .section-eyebrow {
      display: block;
      font-size: 0.72rem;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--un-blue);
      margin-bottom: 10px;
    }
    .section-title {
      font-family: 'Merriweather', serif;
      font-size: clamp(1.6rem, 3vw, 2.2rem);
      font-weight: 300;
      color: var(--text-dark);
      line-height: 1.3;
      margin-bottom: 16px;
    }
    .section-title strong { font-weight: 700; }
    .section-lead {
      font-size: 1.05rem;
      color: var(--text-mid);
      max-width: 580px;
      margin-bottom: 48px;
    }

    /* MISSION SPLIT */
    .mission-grid {
      display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
    }
    .mission-text .values { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
    .value-chip {
      display: flex; align-items: flex-start; gap: 10px;
      padding: 14px 16px;
      border: 1px solid var(--border);
      border-radius: 4px;
      background: var(--off-white);
    }
    .value-chip .icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 2px; }
    .value-chip strong { display: block; font-size: 0.88rem; color: var(--text-dark); margin-bottom: 3px; }
    .value-chip span { font-size: 0.78rem; color: var(--text-mid); }
    .mission-visual {
      background: linear-gradient(160deg, var(--un-navy), var(--un-dark));
      border-radius: 8px;
      padding: 48px 40px;
      color: var(--white);
      position: relative;
      overflow: hidden;
    }
    .mission-visual::before {
      content: '🌍'; position: absolute; right: 20px; top: 20px; font-size: 6rem; opacity: 0.12;
    }
    .mission-visual h3 {
      font-family: 'Merriweather', serif; font-weight: 300; font-size: 1.3rem;
      line-height: 1.4; margin-bottom: 20px;
      color: rgba(255,255,255,0.92);
    }
    .mission-visual blockquote {
      border-left: 3px solid var(--un-blue);
      padding-left: 18px;
      font-style: italic;
      font-size: 1rem;
      color: rgba(255,255,255,0.78);
      margin-top: 20px;
      line-height: 1.6;
    }
    .tag-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
    .tag {
      background: rgba(0,158,219,0.2); border: 1px solid rgba(0,158,219,0.4);
      color: var(--un-blue); font-size: 0.72rem; letter-spacing: 0.07em;
      text-transform: uppercase; padding: 4px 12px; border-radius: 2px;
    }

    /* PROGRAMS */
    .programs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
    .program-card {
      border: 1px solid var(--border);
      border-radius: 6px;
      padding: 32px 28px;
      transition: box-shadow 0.2s, transform 0.2s;
      background: var(--white);
    }
    .program-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
    .program-icon { font-size: 2.2rem; margin-bottom: 16px; display: block; }
    .program-card h3 {
      font-family: 'Merriweather', serif; font-weight: 700; font-size: 1.05rem;
      margin-bottom: 10px; color: var(--un-dark);
    }
    .program-card p { font-size: 0.88rem; color: var(--text-mid); line-height: 1.65; }
    .program-card .learn-more {
      display: inline-block; margin-top: 18px;
      font-size: 0.8rem; font-weight: 600; color: var(--un-blue);
      letter-spacing: 0.05em; text-transform: uppercase;
    }

    /* IMPACT */
    .impact-bg { background: var(--off-white); }
    .impact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
    .impact-card {
      background: var(--white); border-radius: 6px; padding: 28px 24px;
      border-top: 3px solid var(--un-blue); text-align: center;
      box-shadow: var(--shadow);
    }
    .impact-card .num {
      font-family: 'Merriweather', serif; font-size: 2rem; font-weight: 700;
      color: var(--un-dark); line-height: 1; margin-bottom: 8px;
    }
    .impact-card p { font-size: 0.82rem; color: var(--text-mid); }

    /* SDG STRIP */
    .sdg-strip { background: var(--un-navy); padding: 48px 24px; }
    .sdg-inner { max-width: 1200px; margin: 0 auto; text-align: center; }
    .sdg-inner h2 {
      font-family: 'Merriweather', serif; font-weight: 300; font-size: 1.5rem;
      color: rgba(255,255,255,0.9); margin-bottom: 24px;
    }
    .sdg-goals { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
    .sdg-pill {
      padding: 6px 16px; border-radius: 2px;
      font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em;
      text-transform: uppercase;
    }

    /* TESTIMONIALS */
    .testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
    .testimonial-card {
      background: var(--off-white); border-radius: 6px; padding: 28px;
      border-left: 3px solid var(--un-blue);
    }
    .testimonial-card blockquote {
      font-style: italic; font-size: 0.92rem; color: var(--text-mid); line-height: 1.7; margin-bottom: 16px;
    }
    .testimonial-card cite { font-size: 0.78rem; font-weight: 600; color: var(--text-dark); font-style: normal; }

    /* LEADERSHIP */
    .leadership-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
    .leader-card { text-align: center; }
    .leader-avatar {
      width: 90px; height: 90px; border-radius: 50%;
      background: linear-gradient(135deg, var(--un-blue), var(--un-dark));
      margin: 0 auto 16px;
      display: flex; align-items: center; justify-content: center;
      font-size: 2rem; color: var(--white);
      border: 3px solid var(--border);
    }
    .leader-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 4px; }
    .leader-card .role { font-size: 0.8rem; color: var(--un-blue); font-weight: 500; margin-bottom: 10px; }
    .leader-card p { font-size: 0.82rem; color: var(--text-mid); line-height: 1.6; }

    /* CAREERS */
    .careers-hero {
      background: linear-gradient(135deg, var(--un-navy) 0%, var(--un-dark) 100%);
      color: var(--white); padding: 72px 24px;
    }
    .careers-hero-inner { max-width: 800px; margin: 0 auto; text-align: center; }
    .careers-hero h1 {
      font-family: 'Merriweather', serif; font-size: clamp(1.8rem, 4vw, 2.6rem);
      font-weight: 300; margin-bottom: 16px;
    }
    .careers-hero h1 strong { font-weight: 700; }
    .careers-hero p { color: rgba(255,255,255,0.78); font-size: 1rem; }

    .job-list { display: flex; flex-direction: column; gap: 20px; }
    .job-card {
      border: 1px solid var(--border); border-radius: 6px; padding: 28px 32px;
      background: var(--white); transition: box-shadow 0.2s;
    }
    .job-card:hover { box-shadow: var(--shadow); }
    .job-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; }
    .job-title { font-family: 'Merriweather', serif; font-size: 1.1rem; font-weight: 700; color: var(--un-dark); }
    .job-badge {
      font-size: 0.72rem; font-weight: 600; letter-spacing: 0.07em;
      text-transform: uppercase; padding: 4px 10px; border-radius: 2px;
      background: rgba(0,158,219,0.1); color: var(--un-blue); border: 1px solid var(--un-blue);
      white-space: nowrap;
    }
    .job-meta { display: flex; gap: 20px; margin-bottom: 14px; }
    .job-meta span { font-size: 0.8rem; color: var(--text-light); }
    .job-meta span::before { margin-right: 4px; }
    .job-summary { font-size: 0.9rem; color: var(--text-mid); line-height: 1.65; margin-bottom: 16px; }
    .job-requirements { font-size: 0.85rem; color: var(--text-mid); }
    .job-requirements li { padding: 3px 0 3px 18px; position: relative; }
    .job-requirements li::before { content: '—'; position: absolute; left: 0; color: var(--un-blue); }
    .job-apply {
      margin-top: 18px; display: flex; align-items: center; justify-content: space-between; flex-wrap: gap;
      gap: 12px;
    }
    .apply-btn {
      background: var(--un-blue); color: var(--white);
      padding: 10px 24px; border-radius: 3px; font-size: 0.85rem;
      font-weight: 600; letter-spacing: 0.04em; border: none; cursor: pointer;
      transition: background 0.2s;
    }
    .apply-btn:hover { background: #007fb3; }
    .apply-note { font-size: 0.78rem; color: var(--text-light); font-style: italic; }

    /* ABOUT */
    .about-grid { display: grid; grid-template-columns: 3fr 2fr; gap: 60px; }
    .about-sidebar { padding-top: 8px; }
    .sidebar-card {
      background: var(--off-white); border: 1px solid var(--border); border-radius: 6px;
      padding: 28px; margin-bottom: 24px;
    }
    .sidebar-card h3 { font-size: 0.88rem; font-weight: 600; text-transform: uppercase;
      letter-spacing: 0.08em; color: var(--text-light); margin-bottom: 16px; }
    .sidebar-card p, .sidebar-card li { font-size: 0.88rem; color: var(--text-mid); line-height: 1.7; }
    .sidebar-card li { padding: 4px 0 4px 16px; position: relative; }
    .sidebar-card li::before { content: '•'; position: absolute; left: 0; color: var(--un-blue); }
    .history-timeline { margin-top: 36px; }
    .timeline-item { display: flex; gap: 20px; margin-bottom: 28px; }
    .timeline-year {
      font-family: 'Merriweather', serif; font-size: 1.1rem; font-weight: 700;
      color: var(--un-blue); min-width: 52px; padding-top: 3px;
    }
    .timeline-content h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 4px; }
    .timeline-content p { font-size: 0.85rem; color: var(--text-mid); }

    /* CONTACT / FOOTER */
    .contact-section { background: var(--off-white); }
    .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
    .contact-details h2 {
      font-family: 'Merriweather', serif; font-size: 1.6rem; font-weight: 300;
      margin-bottom: 24px;
    }
    .contact-details h2 strong { font-weight: 700; }
    .contact-item { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
    .contact-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 2px; }
    .contact-item strong { display: block; font-size: 0.85rem; text-transform: uppercase;
      letter-spacing: 0.06em; color: var(--text-light); margin-bottom: 3px; }
    .contact-item p, .contact-item a { font-size: 0.95rem; color: var(--text-dark); }

    footer {
      background: var(--un-navy); color: rgba(255,255,255,0.65);
      padding: 48px 24px 28px;
    }
    .footer-inner { max-width: 1200px; margin: 0 auto; }
    .footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
    .footer-brand .tagline { font-size: 0.82rem; margin-top: 14px; line-height: 1.6; max-width: 240px; }
    .footer-col h4 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em;
      color: var(--un-blue); margin-bottom: 14px; }
    .footer-col a, .footer-col button {
      display: block; font-size: 0.82rem; color: rgba(255,255,255,0.6);
      margin-bottom: 8px; cursor: pointer; background: none; border: none;
      font-family: 'Inter', sans-serif; text-align: left;
      transition: color 0.15s;
    }
    .footer-col a:hover, .footer-col button:hover { color: var(--white); }
    .footer-bottom {
      border-top: 1px solid rgba(255,255,255,0.1);
      padding-top: 20px;
      display: flex; justify-content: space-between; align-items: center;
      font-size: 0.78rem; flex-wrap: wrap; gap: 10px;
    }

    /* DONATE CTA STRIP */
    .donate-strip {
      background: var(--gold); padding: 56px 24px; text-align: center;
    }
    .donate-strip h2 {
      font-family: 'Merriweather', serif; font-size: 1.8rem; font-weight: 700;
      color: var(--un-navy); margin-bottom: 10px;
    }
    .donate-strip p { color: rgba(0,51,89,0.72); margin-bottom: 28px; font-size: 1rem; }
    .btn-donate-lg {
      background: var(--un-navy); color: var(--white);
      padding: 15px 40px; border-radius: 3px; font-size: 1rem;
      font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
      border: none; cursor: pointer; transition: background 0.2s;
    }
    .btn-donate-lg:hover { background: var(--un-dark); }

    /* Prevent double-tap zoom on all interactive elements */
    a, button, [onclick] { touch-action: manipulation; }

    /* Prevent iOS from zooming on input focus (must be ≥16px) */
    input, select, textarea { font-size: 16px !important; }

    /* ===== RESPONSIVE ===== */
    @media (max-width: 900px) {
      .mission-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
      .programs-grid { grid-template-columns: 1fr 1fr; }
      .impact-grid { grid-template-columns: 1fr 1fr; }
      .footer-top { grid-template-columns: 1fr 1fr; }
      .leadership-grid { grid-template-columns: 1fr 1fr; }
      .testimonial-grid { grid-template-columns: 1fr; }
      section { padding: 56px 20px; }
      .sdg-strip { padding: 36px 20px; }
      .donate-strip { padding: 40px 20px; }
    }

    @media (max-width: 600px) {

      /* ── NAV ── */
      .nav-links { display: none; }
      .nav-wordmark span:last-child { display: none; }
      .nav-inner { height: 60px; padding: 0 16px; }

      /* ── HOME HERO ── */
      .hero { padding: 60px 16px 48px; }
      .hero p { font-size: 0.95rem; }
      .hero-ctas { flex-direction: column; align-items: stretch; }
      .hero-ctas .btn-primary,
      .hero-ctas .btn-outline { width: 100%; text-align: center; }
      .home-hero { min-height: 360px; }
      .home-hero-inner { padding: 36px 16px 44px !important; }

      /* ── STATS BAR ── */
      .stats-inner { grid-template-columns: 1fr; }
      .stat-item { border-right: none; border-bottom: 1px solid var(--border); padding: 20px 16px; }
      .stat-item:last-child { border-bottom: none; }

      /* ── SECTIONS ── */
      section { padding: 40px 16px; }
      .sdg-strip { padding: 28px 16px; }
      .donate-strip { padding: 36px 16px; }
      .donate-strip h2 { font-size: 1.4rem; }
      .careers-hero { padding: 44px 16px; }

      /* ── GRIDS ── */
      .programs-grid { grid-template-columns: 1fr; }
      .impact-grid { grid-template-columns: 1fr 1fr; }
      .leadership-grid { grid-template-columns: 1fr; }
      .mission-text .values { grid-template-columns: 1fr; }
      .testimonial-grid { grid-template-columns: 1fr; }

      /* ── FOOTER ── */
      .footer-top { grid-template-columns: 1fr; }
      footer { padding: 36px 16px 24px; }
      .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; font-size: 0.72rem; }

      /* ── MISC ── */
      .btn-donate-lg { width: 100%; }
      .mission-visual { padding: 32px 24px; }
      .job-card { padding: 20px 16px; }

      /* ── CAREERS HERO (photo hero) ── */
      .careers-overlay { padding: 24px 16px 28px !important; }
      .careers-cta-flex { flex-direction: column !important; align-items: flex-start !important; gap: 14px !important; }
      .careers-divider { display: none !important; }
      .careers-stats-row { gap: 16px !important; }

      /* ── WHY WORK WITH UNEDP ── */
      .why-work-section { padding: 44px 16px !important; }
      .why-work-inner { padding: 0 !important; }
      .why-work-grid { grid-template-columns: 1fr !important; gap: 16px !important; }

      /* ── CURRENT OPENINGS ── */
      .careers-openings-section { padding: 44px 16px 52px !important; }
      .job-location-bar { padding: 8px 16px !important; }

      /* Job card header: stack title row and apply button */
      .job-header-row { flex-direction: column !important; align-items: flex-start !important; gap: 10px !important; }
      .job-apply-actions { width: 100%; }
      .job-apply-actions a { display: block; text-align: center; white-space: normal !important; }

      /* Job expand body: single column */
      .career-body-grid { grid-template-columns: 1fr !important; }
      .career-body-grid > div { padding-bottom: 20px; border-bottom: 1px solid var(--border); }
      .career-body-grid > div:last-child { border-bottom: none; padding-bottom: 0; }

      /* ── ABOUT PAGE ── */
      .about-hero-wrapper { min-height: 240px !important; }
      .about-hero-inner { padding: 24px 16px 32px !important; }

      /* ── PRIVACY NOTICE ── */
      .privacy-flex { flex-direction: column !important; gap: 10px !important; }

      /* ── CONTACT ── */
      .contact-form-box { padding: 24px 16px !important; }

      /* ── DONATE ── */
      .donate-amounts { grid-template-columns: 1fr !important; }
    }

    @media (max-width: 400px) {
      .impact-grid { grid-template-columns: 1fr; }
      .stat-number { font-size: 1.8rem; }
      .sdg-goals .sdg-pill { font-size: 0.68rem; padding: 5px 10px; }
      .job-location-bar { padding: 6px 12px !important; }
      .careers-stats-row { flex-wrap: wrap; }
    }

    /* ===== MOBILE NAV ===== */
    .hamburger {
      display: none; flex-direction: column; gap: 5px;
      background: none; border: none; cursor: pointer; padding: 6px; z-index: 1100;
    }
    .hamburger span {
      display: block; width: 24px; height: 2px;
      background: var(--white); border-radius: 2px;
      transition: transform 0.3s, opacity 0.3s;
    }
    .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .hamburger.open span:nth-child(2) { opacity: 0; }
    .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .mobile-menu {
      position: fixed; inset: 0;
      background: var(--un-navy); z-index: 1050;
      flex-direction: column; align-items: center; justify-content: center; gap: 4px;
      opacity: 0; pointer-events: none;
      transform: translateY(-8px);
      transition: opacity 0.25s ease, transform 0.25s ease;
      display: flex;
    }
    .mobile-menu.open { opacity: 1; pointer-events: all; transform: translateY(0); }
    .mobile-menu a {
      background: none; border: none; color: rgba(255,255,255,0.85);
      font-family: 'Merriweather', serif; font-size: 1.6rem; font-weight: 300;
      padding: 12px 32px; cursor: pointer; width: 100%; text-align: center;
      letter-spacing: 0.02em; transition: color 0.2s; text-decoration: none; display: block;
    }
    .mobile-menu a:hover, .mobile-menu a.mob-active { color: var(--white); }
    .mobile-menu .mob-donate {
      margin-top: 20px; background: var(--gold); color: var(--un-navy) !important;
      font-family: 'Inter', sans-serif !important; font-size: 0.9rem !important;
      font-weight: 700 !important; letter-spacing: 0.08em; text-transform: uppercase;
      border-radius: 3px; width: auto !important; padding: 14px 48px !important;
    }
    .mobile-menu .mob-close {
      position: absolute; top: 18px; right: 18px;
      background: none; border: none; color: rgba(255,255,255,0.55);
      font-size: 2rem; cursor: pointer; line-height: 1; padding: 8px;
    }
    .mobile-menu .mob-brand {
      position: absolute; top: 20px; left: 18px;
      display: flex; flex-direction: column; gap: 2px;
    }
    .mobile-menu .mob-brand b {
      font-family: 'Merriweather', serif; font-size: 1rem;
      font-weight: 700; color: var(--white);
    }
    .mobile-menu .mob-brand small {
      font-size: 0.6rem; color: var(--un-blue);
      letter-spacing: 0.08em; text-transform: uppercase;
    }
    .mobile-menu hr {
      width: 40px; border: none;
      border-top: 2px solid var(--un-blue); margin: 6px 0;
    }
    @media (max-width: 600px) { .hamburger { display: flex; } }

    .application-grid { display:grid;grid-template-columns:1fr 1fr;gap:18px; }
    .application-grid label { display:flex;flex-direction:column;gap:7px;font-size:.85rem;font-weight:600;color:var(--text-dark); }
    .application-grid input { width:100%;min-height:44px;padding:10px 12px;border:1px solid var(--border);border-radius:4px;font:inherit;background:#fff; }
    .application-grid input[type=file] { font-size:.78rem; }
    .application-step-label { padding:8px 12px;border-radius:4px;background:#e8eef2;color:var(--text-mid);font-size:.8rem;font-weight:600; }
    .application-step-label.active { background:var(--un-navy);color:#fff; }
    @media(max-width:600px) { .application-grid { grid-template-columns:1fr; } }

    .site-hero-image { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center; }

    /* Smooth mobile menu link tap highlight */
    .mobile-menu a:active { background: rgba(255,255,255,0.08); border-radius: 4px; }
  
.mobile-menu a.active { color:var(--white); background:rgba(255,255,255,0.1); border-radius:4px; }
