*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

  :root {
    --navy: #1A5C96;
    --navy-mid: #236aad;
    --navy-light: #4a90c4;
    --gold: #2563EB;
    --gold-light: #3B82F6;
    --gold-pale: #EFF6FF;
    --white: #FFFFFF;
    --off-white: #F3F4F6;
    --text: #0D1F3C;
    --text-muted: #4A6080;
    --border: rgba(26, 92, 150, 0.18);
    --ff-display: 'Cormorant Garamond', Georgia, serif;
    --ff-body: 'DM Sans', sans-serif;
    --radius: 4px;
    --radius-lg: 12px;
    --shadow: 0 4px 32px rgba(11,42,82,0.08);
    --shadow-lg: 0 8px 56px rgba(11,42,82,0.14);
  }

  html { scroll-behavior: smooth; }
  body { font-family: var(--ff-body); color: var(--text); background: var(--off-white); font-size: 16px; line-height: 1.7; }

  /* ─── NAVBAR ─── */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: var(--navy);
    border-bottom: 1px solid var(--border);
    padding: 0 5%;
    display: flex; align-items: center; justify-content: space-between;
    height: 68px;
  }
  .nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
  .nav-logo { width: 38px; height: 38px; border-radius: 50%; background: var(--gold); display: flex; align-items: center; justify-content: center; font-family: var(--ff-display); font-size: 16px; font-weight: 700; color: var(--text); flex-shrink: 0; }
  .nav-title { font-family: var(--ff-display); font-size: 20px; font-weight: 700; color: var(--white); letter-spacing: 0.5px; line-height: 1.1; }
  .nav-title span { color: var(--white); }
  .nav-med { display: block; font-size: 9px; font-family: var(--ff-body); font-weight: 600; letter-spacing: 2px; color: rgba(255,255,255,0.5); text-transform: uppercase; }
  .nav-links { display: flex; align-items: center; gap: 24px; }
  .nav-links a { color: rgba(255,255,255,0.75); text-decoration: none; font-size: 13.5px; font-weight: 500; letter-spacing: 0.3px; transition: color 0.2s; white-space: nowrap; }
  .nav-links a:hover, .nav-links a.active { color: var(--gold); }
  .nav-dropdown { position: relative; }
  .nav-dropdown > a { display: flex; align-items: center; gap: 5px; cursor: pointer; }
  .nav-dropdown > a::after { content: '▾'; font-size: 11px; opacity: 0.7; transition: transform 0.2s; }
  .nav-dropdown.open > a::after { transform: rotate(180deg); }
  .dropdown-menu { display: none; position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%); background: #fff; border-radius: 10px; min-width: 210px; box-shadow: 0 8px 32px rgba(10,22,40,0.18); border: 1px solid rgba(10,22,40,0.08); overflow: hidden; z-index: 9999; }
  .nav-dropdown.open .dropdown-menu { display: block; }
  .dropdown-menu a { display: flex; align-items: center; gap: 10px; padding: 13px 18px; color: var(--text) !important; font-size: 13.5px; font-weight: 500; text-decoration: none; transition: background 0.15s; border-bottom: 1px solid rgba(10,22,40,0.06); }
  .dropdown-menu a:last-child { border-bottom: none; }
  .dropdown-menu a:hover { background: var(--gold-pale); }
  .dropdown-menu .dm-icon { width: 30px; height: 30px; border-radius: 50%; background: var(--navy); display: flex; align-items: center; justify-content: center; font-size: 13px; flex-shrink: 0; }
  .dropdown-menu .dm-label { line-height: 1.3; }
  .dropdown-menu .dm-label small { display: block; font-size: 11px; color: var(--text-muted); font-weight: 400; margin-top: 1px; }
  .nav-right { display: flex; align-items: center; gap: 12px; }
  .nav-admin-btn { display: flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.75); border: 1px solid rgba(255,255,255,0.2); padding: 8px 14px; border-radius: var(--radius); font-size: 13px; font-weight: 500; text-decoration: none; transition: background 0.2s, color 0.2s; white-space: nowrap; }
  .nav-admin-btn:hover { background: rgba(255,255,255,0.14); color: var(--white); }
  .nav-cta { background: var(--gold); color: #fff; padding: 9px 20px; border-radius: var(--radius); font-size: 13.5px; font-weight: 600; text-decoration: none; transition: background 0.2s; white-space: nowrap; }
  .nav-cta:hover { background: var(--gold-light); }
  .nav-emergency { display: flex; align-items: center; gap: 6px; color: #FF6B6B; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
  .emergency-dot { width: 7px; height: 7px; background: #FF6B6B; border-radius: 50%; animation: pulse 1.4s infinite; flex-shrink: 0; }
  @keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(1.3)} }
  .hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
  .hamburger span { display: block; width: 22px; height: 2px; background: rgba(255,255,255,0.75); border-radius: 2px; }
  .mobile-menu { display: none; position: fixed; top: 68px; left: 0; right: 0; background: var(--navy); padding: 20px 5%; z-index: 999; border-bottom: 1px solid var(--border); flex-direction: column; gap: 16px; }
  .mobile-menu.open { display: flex; }
  .mobile-menu a { color: rgba(255,255,255,0.8); text-decoration: none; font-size: 16px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }

  /* ─── PAGE HERO ─── */
  .page-hero {
    padding: 120px 5% 72px;
    background: linear-gradient(135deg, #1A5C96 0%, #236aad 60%, #1A5C96 100%);
    position: relative; overflow: hidden;
  }
  .page-hero::before { content: ''; position: absolute; top: -80px; right: -60px; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%); }
  .page-hero-inner { max-width: 1100px; margin: 0 auto; position: relative; z-index: 1; }
  .page-hero-label { font-size: 11px; font-weight: 700; letter-spacing: 3px; color: rgba(255,255,255,0.85); text-transform: uppercase; margin-bottom: 16px; }
  .page-hero h1 { font-family: var(--ff-display); font-size: clamp(40px, 5vw, 64px); font-weight: 700; color: #fff; line-height: 1.1; margin-bottom: 18px; }
  .page-hero h1 em { color: #ffffff; font-style: normal; }
  .page-hero p { color: rgba(255,255,255,0.65); font-size: 17px; max-width: 560px; line-height: 1.8; }

  /* ─── FILTER TABS ─── */
  .filter-bar { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 68px; z-index: 100; }
  .filter-inner { max-width: 1100px; margin: 0 auto; padding: 0 5%; display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; }
  .filter-inner::-webkit-scrollbar { display: none; }
  .filter-btn { background: none; border: none; cursor: pointer; padding: 18px 22px; font-family: var(--ff-body); font-size: 14px; font-weight: 500; color: var(--text-muted); white-space: nowrap; border-bottom: 2px solid transparent; transition: color 0.2s, border-color 0.2s; }
  .filter-btn:hover { color: var(--text); }
  .filter-btn.active { color: var(--text); border-bottom-color: var(--gold); font-weight: 600; }

  /* ─── MAIN LAYOUT ─── */
  .media-section { max-width: 1100px; margin: 0 auto; padding: 60px 5%; }
  .section-label { color: var(--gold); font-size: 11px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: 10px; }
  .section-title { font-family: var(--ff-display); font-size: clamp(28px, 3.5vw, 42px); font-weight: 700; color: var(--text); line-height: 1.15; margin-bottom: 40px; }
  .section-title em { color: var(--gold); font-style: normal; }

  /* ─── NEWS / PRESS ─── */
  .news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .news-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); transition: box-shadow 0.2s, transform 0.2s; text-decoration: none; color: inherit; display: block; }
  .news-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
  .news-thumb { height: 180px; display: flex; align-items: center; justify-content: center; font-size: 48px; position: relative; overflow: hidden; }
  .news-thumb.health { background: linear-gradient(135deg, #E8F1FB, #D0E4F7); }
  .news-thumb.award { background: linear-gradient(135deg, #D4EDDA, #B8DFCA); }
  .news-thumb.community { background: linear-gradient(135deg, #EFF6FF, #C8EDD8); }
  .news-thumb.research { background: linear-gradient(135deg, #EDE8F5, #D8C8ED); }
  .news-tag { position: absolute; top: 12px; left: 12px; font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 4px 10px; border-radius: 100px; }
  .tag-health { background: rgba(11,42,82,0.1); color: var(--text); }
  .tag-award { background: rgba(76, 175, 125,0.2); color: #8B6914; }
  .tag-community { background: rgba(27,107,74,0.12); color: #1D4ED8; }
  .tag-research { background: rgba(101,50,150,0.1); color: #6532AA; }
  .news-body { padding: 22px; }
  .news-date { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
  .news-body h3 { font-family: var(--ff-display); font-size: 19px; font-weight: 700; color: var(--text); line-height: 1.3; margin-bottom: 10px; }
  .news-body p { font-size: 13.5px; color: var(--text-muted); line-height: 1.7; }
  .news-read-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--text); }
  .news-read-more::after { content: '→'; transition: transform 0.2s; }
  .news-card:hover .news-read-more::after { transform: translateX(4px); }

  /* ─── GALLERY ─── */
  .gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .gallery-item { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; font-size: 40px; cursor: pointer; position: relative; transition: transform 0.2s; }
  .gallery-item:hover { transform: scale(1.03); }
  .gallery-item:hover .gallery-overlay { opacity: 1; }
  .gallery-item.tall { grid-row: span 2; aspect-ratio: unset; }
  .gallery-item.wide { grid-column: span 2; aspect-ratio: unset; min-height: 180px; }
  .g1 { background: linear-gradient(135deg, #1A5C96, #4a90c4); }
  .g2 { background: linear-gradient(135deg, #1D4ED8, #2E9E6E); }
  .g3 { background: linear-gradient(135deg, #2563EB, #3B82F6); }
  .g4 { background: linear-gradient(135deg, #8B3A3A, #C0605A); }
  .g5 { background: linear-gradient(135deg, #4a90c4, #1A5C96); }
  .g6 { background: linear-gradient(135deg, #4A2080, #7040C0); }
  .g7 { background: linear-gradient(135deg, #236aad, #1A5C96); }
  .g8 { background: linear-gradient(135deg, #1D4ED8, #0B3A24); }
  .gallery-overlay { position: absolute; inset: 0; background: rgba(11,42,82,0.6); display: flex; flex-direction: column; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.2s; color: #fff; }
  .gallery-overlay span { font-size: 28px; margin-bottom: 6px; }
  .gallery-overlay p { font-size: 12px; font-weight: 600; letter-spacing: 0.5px; }
  .gallery-caption { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(11,42,82,0.85)); padding: 20px 14px 14px; color: #fff; font-size: 12px; font-weight: 500; }

  /* ─── VIDEOS ─── */
  .videos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .video-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); transition: box-shadow 0.2s; cursor: pointer; }
  .video-card:hover { box-shadow: var(--shadow-lg); }
  .video-thumb { height: 180px; display: flex; align-items: center; justify-content: center; position: relative; }
  .vt1 { background: linear-gradient(135deg, #1A5C96, #236aad); }
  .vt2 { background: linear-gradient(135deg, #1D4ED8, #2E9E6E); }
  .vt3 { background: linear-gradient(135deg, #8B3A3A, #C0605A); }
  .vt4 { background: linear-gradient(135deg, #4A2080, #7040C0); }
  .vt5 { background: linear-gradient(135deg, #2563EB, #3B82F6); }
  .vt6 { background: linear-gradient(135deg, #1A5C96, #1A5C96); }
  .play-btn { width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,0.2); border: 2px solid rgba(255,255,255,0.5); display: flex; align-items: center; justify-content: center; font-size: 22px; color: #fff; transition: background 0.2s, transform 0.2s; }
  .video-card:hover .play-btn { background: var(--gold); transform: scale(1.08); }
  .video-duration { position: absolute; bottom: 10px; right: 12px; background: rgba(0,0,0,0.65); color: #fff; font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 4px; }
  .video-body { padding: 18px; }
  .video-body h3 { font-family: var(--ff-display); font-size: 17px; font-weight: 700; color: var(--text); line-height: 1.3; margin-bottom: 6px; }
  .video-body p { font-size: 12.5px; color: var(--text-muted); }
  .video-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; font-size: 12px; color: var(--text-muted); }

  /* ─── ANNOUNCEMENTS ─── */
  .announcements-list { display: flex; flex-direction: column; gap: 16px; }
  .announcement-card { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--border); padding: 24px 28px; display: flex; gap: 20px; align-items: flex-start; transition: box-shadow 0.2s; }
  .announcement-card:hover { box-shadow: var(--shadow); }
  .ann-icon { width: 48px; height: 48px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
  .ann-icon.blue { background: #E8F1FB; }
  .ann-icon.gold { background: var(--gold-pale); }
  .ann-icon.green { background: #EFF6FF; }
  .ann-icon.red { background: #FEE8E8; }
  .ann-body { flex: 1; }
  .ann-body h4 { font-family: var(--ff-display); font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 5px; line-height: 1.3; }
  .ann-body p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }
  .ann-meta { display: flex; align-items: center; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
  .ann-date { font-size: 12px; color: var(--text-muted); }
  .ann-badge { font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 3px 9px; border-radius: 100px; }
  .badge-new { background: #EFF6FF; color: #000; }
  .badge-notice { background: #E8F1FB; color: var(--text); }
  .badge-event { background: var(--gold-pale); color: #8B6914; }
  .badge-urgent { background: #FEE8E8; color: #C0392B; }

  /* ─── PRESS CONTACT BANNER ─── */
  .press-banner { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%); border-radius: var(--radius-lg); padding: 48px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin: 0 5% 80px; max-width: 1100px; margin-left: auto; margin-right: auto; }
  .press-banner-text .label { font-size: 11px; font-weight: 700; letter-spacing: 2.5px; color: rgba(255,255,255,0.85); text-transform: uppercase; margin-bottom: 10px; }
  .press-banner-text h3 { font-family: var(--ff-display); font-size: 30px; font-weight: 700; color: #fff; margin-bottom: 8px; }
  .press-banner-text p { font-size: 14.5px; color: rgba(255,255,255,0.6); }
  .press-actions { display: flex; gap: 14px; flex-wrap: wrap; }
  .btn-gold { background: var(--gold); color: #fff; padding: 12px 26px; border-radius: var(--radius); font-weight: 700; font-size: 14px; text-decoration: none; transition: background 0.2s; white-space: nowrap; }
  .btn-gold:hover { background: var(--gold-light); }
  .btn-ghost { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.8); border: 1px solid rgba(255,255,255,0.2); padding: 12px 26px; border-radius: var(--radius); font-weight: 500; font-size: 14px; text-decoration: none; transition: background 0.2s; white-space: nowrap; }
  .btn-ghost:hover { background: rgba(255,255,255,0.15); color: #fff; }

  /* ─── FOOTER ─── */
  footer { background: var(--navy); color: rgba(255,255,255,0.65); padding: 60px 5% 28px; }
  .footer-bottom { max-width: 1100px; margin: 40px auto 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 13px; }
  .footer-bottom a { color: rgba(255,255,255,0.45); text-decoration: none; }
  .footer-bottom a:hover { color: var(--gold); }
  .footer-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
  .footer-logo-row { display: flex; align-items: center; gap: 12px; }
  .footer-logo-circle { width: 38px; height: 38px; border-radius: 50%; background: var(--gold); display: flex; align-items: center; justify-content: center; font-family: var(--ff-display); font-size: 16px; font-weight: 700; color: var(--text); }
  .footer-brand-name { font-family: var(--ff-display); font-size: 18px; font-weight: 700; color: #fff; }
  .footer-brand-name span { color: var(--gold); }
  .footer-tagline { font-size: 13px; color: rgba(255,255,255,0.45); margin-top: 4px; }
  .footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
  .footer-links a { color: rgba(255,255,255,0.55); text-decoration: none; font-size: 13.5px; transition: color 0.2s; }
  .footer-links a:hover { color: var(--gold); }

  /* ─── RESPONSIVE ─── */
  @media (max-width: 900px) {
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .videos-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  }
  @media (max-width: 640px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .news-grid { grid-template-columns: 1fr; }
    .videos-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-item.tall, .gallery-item.wide { grid-row: unset; grid-column: unset; aspect-ratio: 1; }
    .press-banner { padding: 32px 24px; }
    .announcement-card { flex-direction: column; }
  }

  /* ─── TABS CONTENT ─── */
  .tab-content { display: none; }
  .tab-content.active { display: block; }

  /* ─── DYNAMIC MEDIA STATES ─── */
  .media-loading, .media-empty { grid-column: 1 / -1; text-align: center; padding: 48px 16px; color: var(--text-muted); font-size: 14px; }

  /* ─── VIDEO PLAYER MODAL ─── */
  .video-modal-overlay { display: none; position: fixed; inset: 0; background: rgba(11, 42, 82, 0.82); z-index: 9999; align-items: center; justify-content: center; padding: 24px; }
  .video-modal-overlay.open { display: flex; }
  .video-modal-box { background: #0B0F14; border-radius: 14px; overflow: hidden; max-width: 900px; width: 100%; box-shadow: 0 20px 60px rgba(0,0,0,0.5); position: relative; }
  .video-modal-close { position: absolute; top: 10px; right: 14px; z-index: 2; background: rgba(255,255,255,0.15); color: #fff; border: none; width: 34px; height: 34px; border-radius: 50%; font-size: 16px; cursor: pointer; }
  .video-modal-close:hover { background: rgba(255,255,255,0.3); }
  .video-modal-player { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; }
  .video-modal-player iframe, .video-modal-player video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
  .video-modal-info { padding: 18px 22px; background: #fff; }
  .video-modal-info h3 { font-family: var(--ff-display); font-size: 18px; margin: 0 0 6px; color: var(--text); }
  .video-modal-info p { font-size: 13px; color: var(--text-muted); margin: 0; }

  /* ─── IMAGE LIGHTBOX MODAL ─── */
  .image-modal-overlay { display: none; position: fixed; inset: 0; background: rgba(11, 42, 82, 0.9); z-index: 9999; align-items: center; justify-content: center; padding: 24px; }
  .image-modal-overlay.open { display: flex; }
  .image-modal-box { position: relative; max-width: 1000px; max-height: 88vh; width: 100%; display: flex; flex-direction: column; align-items: center; }
  .image-modal-media { width: 100%; max-height: 76vh; display: flex; align-items: center; justify-content: center; border-radius: 12px; overflow: hidden; background: #0B2A52; }
  .image-modal-media img { max-width: 100%; max-height: 76vh; object-fit: contain; display: block; }
  .image-modal-media .fallback-tile { width: 100%; aspect-ratio: 4/3; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 72px; color: #fff; }
  .image-modal-caption { margin-top: 14px; color: #fff; font-family: var(--ff-display); font-size: 16px; text-align: center; }
  .image-modal-close { position: absolute; top: -6px; right: -6px; z-index: 2; background: rgba(255,255,255,0.15); color: #fff; border: none; width: 34px; height: 34px; border-radius: 50%; font-size: 16px; cursor: pointer; }
  .image-modal-close:hover { background: rgba(255,255,255,0.3); }
  .image-modal-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.15); color: #fff; border: none; width: 42px; height: 42px; border-radius: 50%; font-size: 24px; cursor: pointer; z-index: 2; line-height: 1; }
  .image-modal-nav:hover { background: rgba(255,255,255,0.3); }
  .image-modal-nav.prev { left: -8px; }
  .image-modal-nav.next { right: -8px; }
  @media (max-width: 640px) {
    .image-modal-nav.prev { left: 4px; }
    .image-modal-nav.next { right: 4px; }
  }
