/* ==========================================================================
   RDC WEBSITE - MCNP & ISAP
   Research & Development Center Stylesheet
   Standard HTML5 / CSS3 / Vanilla JS
   ========================================================================== */

:root {
  --mcnp-green: #1e5ea8;
  --mcnp-green-light: #3a75bd;
  --mcnp-green-dark: #0d3b73;
  --isap-blue: #7a1f2d;
  --isap-blue-light: #8b2a39;
  --isap-blue-dark: #4b0d1b;
  --gold: #d4af37;
  --gold-hover: #b89726;
  --gold-light: #fdf8e7;
  
  --dark-text: #1a202c;
  --muted-text: #596780;
  --light-bg: #f8fafc;
  --white: #ffffff;
  --border-color: #e2e8f0;
  --card-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --hover-shadow: 0 20px 30px -10px rgba(13, 92, 58, 0.12);
  
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --border-radius: 10px;
  --max-width: 1240px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  color: var(--dark-text);
  background-color: var(--light-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 2000;
  padding: 0.75rem 1rem;
  color: #fff;
  background: #111;
  border: 2px solid var(--gold);
  border-radius: 6px;
  font-weight: 700;
  transform: translateY(calc(-100% - 1rem));
  transition: transform 0.2s ease;
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  outline: 3px solid #fff;
  outline-offset: 3px;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   TOP BAR
   ========================================================================== */
.topbar {
  background: linear-gradient(90deg, var(--mcnp-green-dark) 0%, var(--isap-blue-dark) 100%);
  color: #e2e8f0;
  font-size: 0.84rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.topbar-info {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.topbar-info span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.topbar-right {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.badge-pill {
  background: rgba(212, 175, 55, 0.2);
  color: #ffdf70;
  padding: 0.2rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid rgba(212, 175, 55, 0.35);
}

.badge-pill-inline {
  margin-bottom: 1rem;
  display: inline-block;
}

.topbar-link {
  color: inherit;
}

.topbar-link-highlight {
  color: #ffdf70;
  margin-right: 1.25rem;
  font-weight: 700;
  font-size: 0.78rem;
}

.topbar-link-soft {
  color: #ffffff;
  margin-right: 1.25rem;
  font-weight: 500;
  font-size: 0.78rem;
}

.topbar-link-underline {
  text-decoration: underline;
}

.dropdown-logo-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.dropdown-logo-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
}

.dropdown-link-flip {
  border-top: 1px dashed var(--border-color);
  color: #b89726;
  font-size: 0.82rem;
}

.news-section {
  background: #f8fafc;
}

.news-view-all {
  text-align: center;
  margin-top: 2.5rem;
}

.section-desc-centered {
  text-align: justify;
  text-justify: inter-word;
  text-align-last: center;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.inst-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.inst-logo {
  width: 78px;
  height: 78px;
  object-fit: contain;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,0.4));
  flex-shrink: 0;
}

.inst-action-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.inst-link-dark {
  color: #000000;
  border-color: #000000;
}

.footer-badges {
  display: flex;
  gap: 0.5rem;
}

.footer-contact-link {
  color: inherit;
}

.footer-facebook-link {
  color: #ffdf70;
  text-decoration: underline;
}

.footer-btn-row {
  margin-top: 1rem;
}

/* ==========================================================================
   HEADER & BRANDING
   ========================================================================== */
.main-header {
  background: #111;
  box-shadow: 0 2px 5px rgba(15, 23, 42, 0.2);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #000;
}

.main-header .container {
  max-width: 1440px;
  padding: 0 1rem;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 0.5rem;
  padding: 0;
  min-height: 56px;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  padding: 0.38rem 0;
  flex-shrink: 0;
}

.brand-logos {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.brand-header-image {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
  border: 2px solid var(--white);
}

.logo-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--white);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
  border: 2px solid var(--white);
}

.logo-mcnp {
  background: linear-gradient(135deg, var(--mcnp-green), #108e58);
}

.logo-isap {
  background: linear-gradient(135deg, var(--isap-blue), #2378b3);
}

.brand-text h1 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1.15;
  white-space: nowrap;
}

.brand-text h1 span {
  color: #fff;
}

.brand-text p {
  font-size: 0.68rem;
  color: #fff;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 auto;
  min-width: 0;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  width: 100%;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
  flex-shrink: 0;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.72rem 0.44rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  border-right: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 0;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.015em;
  white-space: nowrap;
}

.nav-item:last-child .nav-link {
  border-right: none;
}

@media (max-width: 1400px) and (min-width: 1151px) {
  .brand-text p {
    display: none;
  }
  .brand-wrapper {
    gap: 0.45rem;
  }
  .nav-link {
    padding: 0.72rem 0.3rem;
    font-size: 0.67rem;
    gap: 0.12rem;
    letter-spacing: 0.01em;
  }
  .nav-link .arrow {
    font-size: 0.55rem;
  }
}

.nav-link:hover,
.nav-link.active {
  color: #111;
  background: #fff;
}

.nav-link::after {
  display: none;
}

.nav-link:focus-visible,
.dropdown-link:focus-visible,
.mobile-toggle:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.nav-link .arrow {
  font-size: 0.65rem;
  transition: transform 0.2s ease;
}

.nav-item:hover .arrow {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 230px;
  border-radius: 12px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12), 0 4px 8px rgba(0, 0, 0, 0.06);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease;
  border: 1px solid var(--border-color);
  z-index: 100;
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 1.35rem;
  width: 10px;
  height: 10px;
  background: var(--white);
  border-top: 1px solid var(--border-color);
  border-left: 1px solid var(--border-color);
  transform: rotate(45deg);
}

.nav-item:hover .dropdown-menu,
.nav-item:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1.15rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: #334155;
  transition: var(--transition);
}

.dropdown-link:hover {
  background: #111;
  color: #fff;
  padding-left: 1.4rem;
}

.dropdown-badge {
  font-size: 0.68rem;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  font-weight: 700;
  background: #e2e8f0;
  color: #475569;
}

.badge-mcnp {
  background: rgba(30, 94, 168, 0.12);
  color: #1e5ea8;
}

.badge-isap {
  background: rgba(122, 31, 45, 0.12);
  color: #7a1f2d;
}

.badge-admin {
  background: rgba(212, 175, 55, 0.2);
  color: #926f0d;
}

.quick-access-section {
  background: linear-gradient(135deg, #0b2545 0%, #1e5ea8 50%, #0d3b73 100%);
  color: #fff;
  padding: 3.5rem 0;
}

.quick-access-intro {
  max-width: 720px;
  margin: 0 auto 2rem;
  text-align: center;
}

.quick-access-intro h2 {
  color: #fff;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  line-height: 1.2;
}

.quick-access-intro p {
  color: #e2e8f0;
  margin-top: 0.65rem;
}

.quick-access-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.quick-access-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  padding: 2rem;
  backdrop-filter: blur(8px);
  min-height: 260px;
}

.quick-access-card-primary {
  background: rgba(255, 255, 255, 0.1);
}

.quick-access-card-secondary {
  background: rgba(10, 18, 34, 0.18);
}

.quick-access-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.quick-access-icon {
  font-size: 2.2rem;
  line-height: 1;
}

.quick-access-tag {
  background: #ffdf70;
  color: #0f172a;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 0.35rem;
}

.quick-access-card h3 {
  color: #fff;
  font-size: 1.35rem;
  margin: 0;
}

.quick-access-card p {
  color: #e2e8f0;
  font-size: 0.94rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.quick-access-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  font-weight: 700;
}

.quick-access-contact-link {
  display: block;
  margin-top: 0.75rem;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* Utilization Navbar Dropdown Box */
.dropdown-menu-utilization {
  min-width: 335px !important;
  padding: 0.65rem !important;
}

.dropdown-util-inst {
  padding: 0.45rem 0.6rem;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}

.dropdown-util-inst:last-child {
  margin-bottom: 0;
}

.dropdown-util-inst.mcnp-inst {
  background: rgba(13, 92, 58, 0.04);
  border: 1px solid rgba(13, 92, 58, 0.16);
}

.dropdown-util-inst.isap-inst {
  background: rgba(11, 60, 93, 0.04);
  border: 1px solid rgba(11, 60, 93, 0.16);
}

.dropdown-util-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  margin-bottom: 0.4rem;
  padding: 0.15rem 0.2rem;
  border-radius: 4px;
}

.dropdown-util-header:hover {
  opacity: 0.85;
}

.dropdown-util-icons {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.2rem;
  background: #ffffff;
  padding: 0.35rem 0.45rem;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}

.dropdown-util-icons img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.dropdown-util-icons img:hover {
  transform: scale(1.25);
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}

/* Utilization Course Filter Styles */
.main-course-pill:hover {
  border-color: #0b3c5d !important;
  color: #0b3c5d !important;
  transform: translateY(-1px);
}

.main-course-pill.active {
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.16) !important;
  transform: translateY(-1px);
}

.card-course-count-badge {
  pointer-events: none;
  animation: pulse-badge 1.8s infinite ease-in-out;
}

@keyframes pulse-badge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 2px;
  font-size: 1.5rem;
  color: #fff;
  cursor: pointer;
  padding: 0;
  transition: var(--transition);
}

.mobile-toggle:hover {
  color: #fff;
  background: #333;
}

body.nav-open {
  overflow: hidden;
}

body.nav-open::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(2px);
  z-index: 998;
  pointer-events: auto;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, rgba(13, 59, 115, 0.90) 0%, rgba(13, 59, 115, 0.82) 48%, rgba(122, 31, 45, 0.85) 100%),
              url('../assets/hero-campus-bg.jpg') center/cover no-repeat;
  color: var(--white);
  padding: 5.5rem 0 5rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content h2 {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-content h2 span {
  color: var(--gold);
}

.hero-lead {
  font-size: 1.12rem;
  line-height: 1.7;
  color: #e2e8f0;
  margin-bottom: 2rem;
  max-width: 95%;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero Official RDC Logo Presentation */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.hero-logo-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem;
  width: 100%;
  max-width: 440px;
}

.hero-logo-glow {
  position: absolute;
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.35) 0%, rgba(212, 175, 55, 0.12) 45%, transparent 70%);
  border-radius: 50%;
  filter: blur(24px);
  pointer-events: none;
  z-index: 1;
  animation: logo-glow-pulse 4s ease-in-out infinite alternate;
}

@keyframes logo-glow-pulse {
  0% {
    transform: translate(-50%, -50%) scale(0.92);
    opacity: 0.65;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.12);
    opacity: 1;
  }
}

.hero-rdc-logo {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 330px;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 25px rgba(212, 175, 55, 0.35));
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.4s ease;
  user-select: none;
}

.hero-rdc-logo:hover {
  transform: scale(1.05) translateY(-5px);
  filter: drop-shadow(0 25px 40px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 35px rgba(212, 175, 55, 0.6));
}

.hero-logo-tagline {
  position: relative;
  z-index: 2;
  margin-top: 1.25rem;
  text-align: center;
}

.sdg-showcase {
  background: #f8fafc;
  padding: 3.5rem 0 3rem;
  border-bottom: 1px solid var(--border-color, #e2e8f0);
}

.sdg-showcase-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.sdg-showcase-brand {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.sdg-wheel-svg {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.12));
}

.sdg-showcase-title {
  margin: 0;
  font-size: clamp(1.8rem, 3.2vw, 2.75rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.sdg-showcase-subtitle {
  margin: 0.35rem 0 0;
  font-size: 0.92rem;
  color: #64748b;
}

.sdg-filter-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.sdg-filter-btn {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  color: #334155;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04);
}

.sdg-filter-btn:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: #0f172a;
}

.sdg-filter-btn.active {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
}

.sdg-total-badge {
  font-size: 0.82rem;
  font-weight: 700;
  color: #065f46;
  background: #d1fae5;
  border: 1px solid #a7f3d0;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Balanced Grid: 6 columns on Desktop = exactly 3 rows for 18 cards! */
.sdg-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.1rem;
  align-items: stretch;
}

.sdg-goal-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 190px;
  padding: 0.9rem 0.85rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  text-decoration: none;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
  transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.22s ease, opacity 0.2s ease;
  cursor: pointer;
}

.sdg-goal-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 38%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

.sdg-goal-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.18);
}

.sdg-goal-card.dimmed {
  opacity: 0.22;
  transform: scale(0.96);
  filter: grayscale(40%);
}

.sdg-goal-events {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.22rem 0.6rem;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(6px);
  color: #ffffff;
  letter-spacing: 0.02em;
  line-height: 1.3;
  z-index: 1;
}

.sdg-goal-events.highlight {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  font-weight: 800;
}

.sdg-goal-events.pulse {
  background: #ffffff;
  color: #b91c1c;
}

.sdg-goal-card img {
  width: 100%;
  max-width: 86px;
  height: 86px;
  object-fit: contain;
  margin: auto auto 0;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
  transition: transform 0.2s ease;
}

.sdg-goal-card:hover img {
  transform: scale(1.05);
}

/* Official UN Colors */
.sdg-goal-1  { background: #E5243B; }
.sdg-goal-2  { background: #DDA63A; }
.sdg-goal-3  { background: #4C9F38; }
.sdg-goal-4  { background: #C5192D; }
.sdg-goal-5  { background: #FF3A21; }
.sdg-goal-6  { background: #26BDE2; }
.sdg-goal-7  { background: #FCC30B; color: #1e293b; }
.sdg-goal-7 .sdg-goal-events:not(.highlight) { background: rgba(0, 0, 0, 0.15); color: #1e293b; }
.sdg-goal-8  { background: #A21942; }
.sdg-goal-9  { background: #FD6925; }
.sdg-goal-10 { background: #DD1367; }
.sdg-goal-11 { background: #FD9D24; }
.sdg-goal-12 { background: #BF8B2E; }
.sdg-goal-13 { background: #3F7E44; }
.sdg-goal-14 { background: #0A97D9; }
.sdg-goal-15 { background: #56C02B; }
.sdg-goal-16 { background: #00689D; }
.sdg-goal-17 { background: #19486A; }

/* 18th CTA Card: Completes the 6-column grid cleanly */
.sdg-goal-cta {
  background: linear-gradient(135deg, #0d3b73 0%, #1e5ea8 100%);
  border: 2px dashed #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.25rem 1rem;
}

.sdg-cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
}

.sdg-cta-icon {
  font-size: 2.2rem;
  line-height: 1;
}

.sdg-goal-cta strong {
  font-size: 0.92rem;
  color: #ffffff;
  line-height: 1.35;
  font-weight: 800;
}

.sdg-cta-arrow {
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffdf70;
  background: rgba(212, 175, 55, 0.2);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  margin-top: 0.35rem;
  transition: all 0.2s ease;
}

.sdg-goal-cta:hover .sdg-cta-arrow {
  background: #ffdf70;
  color: #0d3b73;
}

/* Responsive Breakpoints */
@media (max-width: 1200px) {
  .sdg-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 820px) {
  .sdg-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
  }
  .sdg-goal-card {
    min-height: 175px;
  }
}

@media (max-width: 520px) {
  .sdg-showcase {
    padding: 2.25rem 0;
  }
  .sdg-showcase-title {
    font-size: 1.55rem;
  }
  .sdg-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  .sdg-goal-card {
    min-height: 160px;
    padding: 0.75rem;
  }
  .sdg-goal-card img {
    max-width: 70px;
    height: 70px;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-gold {
  background: var(--gold);
  color: #1a1a1a;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.35);
}

.btn-gold:hover {
  background: #e6bf43;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.45);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(4px);
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--mcnp-green-dark);
  transform: translateY(-2px);
}

.btn-mcnp {
  background: linear-gradient(135deg, #1e5ea8 0%, #0d3b73 100%);
  color: var(--white);
}

.btn-mcnp:hover {
  background: linear-gradient(135deg, #2b6db8 0%, #124a85 100%);
  transform: translateY(-2px);
}

.btn-isap {
  background: linear-gradient(135deg, #7a1f2d 0%, #4b0d1b 100%);
  color: var(--white);
}

.btn-isap:hover {
  background: linear-gradient(135deg, #8b2a39 0%, #5d1222 100%);
  transform: translateY(-2px);
}

/* Quick Notice Card in Hero */
.hero-card {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-card-header h3 {
  font-size: 1.15rem;
  color: var(--gold);
}

.hero-announcement {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.announcement-item {
  background: rgba(0, 0, 0, 0.2);
  padding: 1rem;
  border-radius: 10px;
  border-left: 4px solid #000000;
}

.announcement-date {
  font-size: 0.72rem;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.announcement-item h4 {
  font-size: 0.95rem;
  margin: 0.25rem 0;
  color: #ffffff;
}

.announcement-item p {
  font-size: 0.82rem;
  color: #cbd5e1;
}

/* ==========================================================================
   METRICS COUNTER BAR
   ========================================================================== */
.metrics-section {
  margin-top: -2rem;
  position: relative;
  z-index: 10;
  margin-bottom: 3.5rem;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  background: var(--white);
  padding: 1.75rem 2rem;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-color);
}

.metric-card {
  text-align: center;
  border-right: 1px solid #edf2f7;
  padding: 0.5rem 1rem;
}

.metric-card:last-child {
  border-right: none;
}

.metric-number {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--mcnp-green);
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.metric-card:nth-child(2) .metric-number {
  color: var(--isap-blue);
}

.metric-card:nth-child(3) .metric-number {
  color: #b89726;
}

.metric-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted-text);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* ==========================================================================
   SECTION HEADINGS
   ========================================================================== */
.section {
  padding: 4.5rem 0;
}

.section-title-wrap {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 3rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #1e5ea8;
  background: rgba(30, 94, 168, 0.1);
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #1e293b;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 0.85rem;
}

.section-desc {
  font-size: 1.02rem;
  color: var(--muted-text);
}

/* ==========================================================================
   TWIN INSTITUTIONS HIGHLIGHTS
   ========================================================================== */
.institutions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.inst-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.inst-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 30px -10px rgba(30, 94, 168, 0.18), 0 10px 20px -12px rgba(122, 31, 45, 0.16);
}

.inst-banner {
  padding: 2rem 2.5rem;
  color: var(--white);
  position: relative;
}

.inst-banner-mcnp {
  background: linear-gradient(135deg, #1e5ea8 0%, #0d3b73 100%);
}

.inst-banner-isap {
  background: linear-gradient(135deg, #7a1f2d 0%, #4b0d1b 100%);
}

.inst-badge-text {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  text-transform: uppercase;
  opacity: 0.85;
}

.inst-banner h3 {
  font-size: 1.7rem;
  font-weight: 800;
  margin: 0.4rem 0;
  line-height: 1.2;
}

.inst-body {
  padding: 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.inst-features {
  margin: 1.25rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.inst-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: #334155;
}

.inst-card:nth-child(1) .inst-feature-item svg {
  stroke: #1e5ea8;
}

.inst-card:nth-child(2) .inst-feature-item svg {
  stroke: #7a1f2d;
}

.inst-feature-item svg {
  flex-shrink: 0;
  margin-top: 0.2rem;
}

/* ==========================================================================
   RDC AGENDA PILLARS
   ========================================================================== */
.agenda-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.agenda-card {
  background: var(--white);
  padding: 2rem 1.75rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.agenda-card:hover {
  transform: translateY(-5px);
  border-color: #000000;
  box-shadow: var(--card-shadow);
}

.agenda-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: #edf2f7;
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  line-height: 1;
}

.agenda-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  background: rgba(13, 92, 58, 0.1);
  color: var(--mcnp-green);
}

.agenda-card:nth-child(even) .agenda-icon {
  background: rgba(11, 60, 93, 0.1);
  color: var(--isap-blue);
}

.agenda-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.75rem;
}

.agenda-card p {
  font-size: 0.88rem;
  color: var(--muted-text);
  line-height: 1.55;
}

.agenda-icon-img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  margin-bottom: 1rem;
  display: block;
}

/* INNOVATES Framework Showcase */
.innovates-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

.innovates-showcase-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem 1rem;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}

.innovates-showcase-card:hover {
  transform: translateY(-5px);
  border-color: #000000;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

.innovates-letter-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  background: #7b1113;
  color: #fff;
  margin-bottom: 0.85rem;
  text-transform: uppercase;
}

.innovates-showcase-img {
  width: 130px;
  height: auto;
  max-height: 105px;
  object-fit: contain;
  margin-bottom: 0.85rem;
  transition: transform 0.3s ease;
}

.innovates-showcase-card:hover .innovates-showcase-img {
  transform: scale(1.06);
}

.innovates-showcase-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.25rem;
}

.innovates-showcase-tag {
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.35;
}

/* Detailed Pillar Cards */
.agenda-pillar-card {
  background: var(--white);
  border-radius: 14px;
  padding: 2.25rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 2rem;
  transition: var(--transition);
  scroll-margin-top: 100px;
}

.agenda-pillar-card:hover {
  border-color: #000000;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.agenda-pillar-emblem {
  background: #ffffff;
  border-radius: 12px;
  padding: 0.85rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  align-self: start;
}

.agenda-pillar-emblem img {
  width: 100%;
  max-width: 120px;
  height: auto;
  object-fit: contain;
  display: block;
}

@media (max-width: 768px) {
  .agenda-pillar-card {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1.5rem;
  }
  .agenda-pillar-emblem {
    margin: 0 auto;
    max-width: 140px;
  }
}

.agenda-pillar-emblem {
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

.agenda-pillar-emblem:hover {
  transform: translateY(-3px) scale(1.03);
  border-color: #000000;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.16);
}

.agenda-pillar-emblem::after {
  content: "Click to View Details";
  display: block;
  font-size: 0.68rem;
  color: #7b1113;
  font-weight: 700;
  text-align: center;
  margin-top: 0.4rem;
  opacity: 0.9;
  letter-spacing: 0.02em;
}

.innovates-showcase-card {
  cursor: pointer;
}

.innovates-showcase-action {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #7b1113;
  margin-top: 0.6rem;
  padding: 0.2rem 0.6rem;
  background: rgba(123, 17, 19, 0.06);
  border-radius: 12px;
  transition: all 0.2s ease;
}

.innovates-showcase-card:hover .innovates-showcase-action {
  background: #7b1113;
  color: #ffffff;
}

/* ==========================================================================
   RESEARCH AGENDA MODAL (PRIORITY AREAS, STUDIES & ACTIVITIES)
   ========================================================================== */
.agenda-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.agenda-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.agenda-modal-container {
  background: #ffffff;
  border-radius: 18px;
  width: 100%;
  max-width: 960px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.1);
  overflow: hidden;
  transform: translateY(24px) scale(0.96);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.agenda-modal-overlay.active .agenda-modal-container {
  transform: translateY(0) scale(1);
}

.agenda-modal-header {
  padding: 1.15rem 1.5rem 0.95rem;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 1.15rem;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  position: relative;
  flex-shrink: 0;
  z-index: 10;
}

.agenda-modal-emblem-wrap {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  background: #ffffff;
  border-radius: 14px;
  padding: 6px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.agenda-modal-emblem-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.agenda-modal-title-area {
  flex: 1;
  min-width: 0;
}

.agenda-modal-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.4rem;
}

.agenda-modal-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
  margin-bottom: 0.3rem;
}

.agenda-modal-sub {
  font-size: 0.86rem;
  color: #475569;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}

.agenda-modal-close {
  background: #f1f5f9;
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 1.35rem;
  line-height: 1;
  color: #475569;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.agenda-modal-close:hover {
  background: #e2e8f0;
  color: #0f172a;
  transform: rotate(90deg);
}

.agenda-modal-nav-tabs {
  display: flex;
  background: #f1f5f9;
  border-bottom: 2px solid #e2e8f0;
  padding: 0.45rem 1.25rem;
  gap: 0.5rem;
  flex-shrink: 0;
  min-height: 52px;
  position: relative;
  z-index: 10;
  overflow-x: auto;
}

.agenda-modal-nav-tabs::-webkit-scrollbar {
  height: 4px;
}

.agenda-modal-nav-tabs::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.agenda-tab-btn {
  flex: 1 1 0;
  min-width: 140px;
  padding: 0.65rem 0.9rem;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.agenda-tab-btn:hover {
  background: #f8fafc;
  color: #0f172a;
  border-color: #94a3b8;
}

.agenda-tab-btn.active {
  background: #7b1113;
  color: #ffffff;
  border-color: #7b1113;
  box-shadow: 0 2px 8px rgba(123, 17, 19, 0.25);
}

.agenda-tab-badge {
  background: #f1f5f9;
  color: #475569;
  font-size: 0.72rem;
  padding: 0.15rem 0.5rem;
  border-radius: 12px;
  font-weight: 800;
}

.agenda-tab-btn.active .agenda-tab-badge {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.agenda-modal-body {
  padding: 1.5rem 1.75rem;
  overflow-y: auto;
  flex: 1 1 auto;
  min-height: 0;
  position: relative;
  z-index: 1;
}

.agenda-tab-pane {
  display: none;
}

.agenda-tab-pane.active {
  display: block;
  animation: agendaFadeIn 0.22s ease;
}

@keyframes agendaFadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* INNOVATES Strategic Focus, Outcomes & Subtopics */
.agenda-narrative-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #000000;
  border-radius: 0 10px 10px 0;
  padding: 1.15rem 1.4rem;
  margin-bottom: 1.25rem;
}
.agenda-narrative-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.4rem;
}
.agenda-narrative-badge {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #000000;
}
.agenda-narrative-lead {
  font-size: 0.76rem;
  font-weight: 700;
  color: #0b3c5d;
}
.agenda-narrative-p {
  font-size: 0.94rem;
  color: #334155;
  line-height: 1.65;
  margin: 0;
}

.agenda-focus-box {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: #f8fafc;
  border: 1px solid #000000;
  border-radius: 10px;
  padding: 1.2rem 1.35rem;
  margin-bottom: 1.5rem;
}
.agenda-focus-icon {
  font-size: 1.6rem;
  line-height: 1;
  flex-shrink: 0;
}
.agenda-focus-content {
  flex: 1;
}
.agenda-focus-label {
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #0d5c3a;
  margin-bottom: 0.35rem;
}
.agenda-focus-p {
  font-size: 0.96rem;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.55;
  margin: 0;
}

.agenda-subpane-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #1e293b;
  margin: 0 0 0.85rem;
}

.agenda-outcomes-wrap {
  margin-top: 1rem;
}
.agenda-outcomes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}
.agenda-outcome-card {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 1rem 1.15rem;
  transition: all 0.2s ease;
}
.agenda-outcome-card:hover {
  border-color: #000000;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}
.agenda-outcome-number {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #7b1113;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.agenda-outcome-text {
  font-size: 0.9rem;
  color: #334155;
  line-height: 1.55;
  margin: 0;
}

/* Priority Research Subtopics Grid */
.agenda-subtopics-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 1.25rem;
}
.agenda-subtopics-count-badge {
  font-size: 0.78rem;
  font-weight: 700;
  background: #f1f5f9;
  color: #0b3c5d;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  border: 1px solid #cbd5e1;
}

.agenda-subtopic-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.1rem;
}
.agenda-subtopic-cat-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 1.15rem;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}
.agenda-subtopic-cat-card:hover {
  border-color: #94a3b8;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}
.agenda-cat-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #f1f5f9;
}
.agenda-cat-name {
  font-size: 0.96rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}
.agenda-cat-count {
  font-size: 0.7rem;
  font-weight: 700;
  background: #f8fafc;
  color: #64748b;
  border: 1px solid #e2e8f0;
  padding: 0.15rem 0.45rem;
  border-radius: 10px;
}
.agenda-cat-items-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.agenda-cat-item {
  font-size: 0.86rem;
  color: #475569;
  line-height: 1.45;
  display: flex;
  gap: 0.45rem;
  align-items: flex-start;
}
.agenda-item-bullet {
  color: #7b1113;
  font-weight: bold;
  font-size: 1rem;
  line-height: 1.2;
}

/* Tab 1: Priority Areas */
.agenda-priority-intro {
  background: #f8fafc;
  border-left: 4px solid #000000;
  border-radius: 0 8px 8px 0;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  font-size: 0.92rem;
  color: #334155;
  line-height: 1.6;
}

.agenda-priority-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.agenda-priority-card {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 1.15rem;
  background: #ffffff;
  transition: all 0.2s ease;
}

.agenda-priority-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.agenda-priority-tag {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #7b1113;
  margin-bottom: 0.4rem;
}

.agenda-priority-card h5 {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.45rem;
}

.agenda-priority-card p {
  font-size: 0.86rem;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

/* Tab 2: Studies */
.agenda-study-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.agenda-study-card {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 1.25rem;
  background: #ffffff;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

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

.agenda-study-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.agenda-study-dept {
  font-size: 0.76rem;
  font-weight: 700;
  color: #0b3c5d;
  background: #f0f7ff;
  border: 1px solid #cbd5e1;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
}

.agenda-study-status {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
}

.status-proposal { background: #fef3c7; color: #92400e; }
.status-ongoing { background: #dcfce7; color: #166534; }
.status-recommended { background: #e0e7ff; color: #3730a3; }
.status-priority { background: #fee2e2; color: #991b1b; }

.agenda-study-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.4;
  margin: 0.2rem 0 0;
}

.agenda-study-desc {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.55;
  margin: 0;
}

/* Tab 3: Activities */
.agenda-activity-list {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.agenda-activity-item {
  display: flex;
  gap: 1.15rem;
  align-items: flex-start;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 1.15rem;
  background: #ffffff;
  transition: all 0.2s ease;
}

.agenda-activity-item:hover {
  border-color: #b89726;
  box-shadow: 0 4px 14px rgba(184, 151, 38, 0.1);
}

.agenda-activity-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(123, 17, 19, 0.08), rgba(184, 151, 38, 0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.agenda-activity-info {
  flex: 1;
}

.agenda-activity-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.3rem;
}

.agenda-activity-title {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.agenda-activity-cadence {
  font-size: 0.74rem;
  font-weight: 700;
  color: #7b1113;
  background: #fdf2f2;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.agenda-activity-desc {
  font-size: 0.86rem;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

/* Modal Footer Switcher */
.agenda-modal-footer {
  padding: 0.85rem 1.5rem;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  flex-shrink: 0;
  position: relative;
  z-index: 10;
}

.agenda-switcher-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #475569;
}

.agenda-pillar-switcher {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  overflow-x: auto;
  max-width: 100%;
  padding-bottom: 2px;
}

.agenda-pillar-switcher::-webkit-scrollbar {
  height: 4px;
}

.agenda-pillar-switcher::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.pillar-pill-btn {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.35rem 0.65rem;
  border-radius: 20px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.pillar-pill-btn:hover {
  border-color: #7b1113;
  color: #7b1113;
}

.pillar-pill-btn.active {
  background: #7b1113;
  color: #ffffff;
  border-color: #7b1113;
}

@media (max-width: 640px) {
  .agenda-modal-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1rem 0.85rem;
  }
  .agenda-modal-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
  }
  .agenda-modal-nav-tabs {
    padding: 0.35rem 0.75rem;
    gap: 0.35rem;
  }
  .agenda-tab-btn {
    min-width: 105px;
    padding: 0.5rem 0.6rem;
    font-size: 0.78rem;
    gap: 0.3rem;
  }
  .agenda-tab-badge {
    font-size: 0.68rem;
    padding: 0.1rem 0.4rem;
  }
  .agenda-modal-body {
    padding: 1.15rem 0.95rem;
  }
  .agenda-modal-footer {
    padding: 0.75rem 0.95rem;
  }
}

/* ==========================================================================
   INNOVATES RESEARCH AGENDA SHOWCASE
   ========================================================================== */
.iwander-showcase-wrap,
.innovates-framework-wrap {
  max-width: 980px;
  margin: 0 auto;
}

.iwander-card,
.innovates-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 2.5rem 2rem 2.25rem;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}

.iwander-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -10px rgba(11, 60, 93, 0.15);
  border-color: #cbd5e1;
}

.iwander-img-wrapper {
  max-width: 580px;
  width: 100%;
  padding: 1rem 1.5rem;
  background: #ffffff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.iwander-card:hover .iwander-img-wrapper {
  transform: scale(1.02);
}

.iwander-showcase-img {
  width: 100%;
  height: auto;
  max-height: 240px;
  object-fit: contain;
  display: block;
}

.iwander-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.iwander-card-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.iwander-card:hover .iwander-card-title {
  color: #000000;
}

.iwander-card-desc {
  max-width: 760px;
  font-size: 1rem;
  color: #475569;
  line-height: 1.7;
  margin: 0 auto 1.5rem;
}

.iwander-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #000000;
  color: #ffffff;
  padding: 0.8rem 1.9rem;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: all 0.25s ease;
  border: 1px solid #000000;
}

.iwander-card:hover .iwander-action-btn {
  background: #1e293b;
  color: #ffffff;
  border-color: #1e293b;
  transform: translateX(4px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.iwander-strip-wrap {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.iwander-strip-label {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #64748b;
}

.iwander-pillars-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  max-width: 920px;
}

.iwander-strip-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #334155;
  text-decoration: none;
  transition: all 0.2s ease;
}

.iwander-strip-pill .strip-letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: #000000;
  color: #ffffff;
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 800;
}

.iwander-strip-pill:hover {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.iwander-strip-pill:hover .strip-letter {
  background: #ffffff;
  color: #000000;
}

@media (max-width: 640px) {
  .iwander-card {
    padding: 1.5rem 1.25rem;
  }
  .iwander-card-title {
    font-size: 1.3rem;
  }
  .iwander-card-desc {
    font-size: 0.92rem;
  }
}

/* ==========================================================================
   MCNP & ISAP DEPARTMENTAL JOURNALS (MAIDEN ISSUES)
   ========================================================================== */
.mcnp-journal-item {
  display: flex;
  gap: 1.15rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1rem;
  align-items: center;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.mcnp-journal-item:hover {
  transform: translateY(-3px);
  border-color: #000000;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.mcnp-journal-cover-wrap {
  flex-shrink: 0;
  width: 76px;
  height: 104px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.14);
  display: block;
  border: 1px solid #cbd5e1;
  background: #0f172a;
  transition: transform 0.25s ease;
}

.mcnp-journal-item:hover .mcnp-journal-cover-wrap {
  transform: scale(1.05);
}

.mcnp-journal-cover-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.isap-journal-item {
  display: flex;
  gap: 1.15rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1rem;
  align-items: center;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.isap-journal-item:hover {
  transform: translateY(-3px);
  border-color: #000000;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.isap-journal-item:hover .mcnp-journal-cover-wrap,
.isap-journal-item:hover .isap-journal-cover-wrap {
  transform: scale(1.05);
}

.isap-journal-cover-wrap {
  flex-shrink: 0;
  width: 76px;
  height: 104px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.14);
  display: block;
  border: 1px solid #cbd5e1;
  background: #0f172a;
  transition: transform 0.25s ease;
}

.isap-journal-cover-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mcnp-journal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.mcnp-journal-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.mcnp-journal-card:hover {
  transform: translateY(-5px);
  border-color: #000000;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.mcnp-journal-card-top {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 1rem;
  align-items: flex-start;
}

.mcnp-journal-card-cover {
  width: 90px;
  height: 124px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  border: 1px solid #cbd5e1;
  transition: transform 0.25s ease;
}

.mcnp-journal-card:hover .mcnp-journal-card-cover {
  transform: scale(1.05);
}

.mcnp-journal-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   JOURNAL SHOWCASE CARDS
   ========================================================================== */
.journal-tabs-wrap {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.tab-btn {
  padding: 0.65rem 1.4rem;
  border-radius: 50px;
  border: 1px solid var(--border-color);
  background: var(--white);
  font-weight: 600;
  font-size: 0.88rem;
  color: #475569;
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn.active,
.tab-btn:hover {
  background: var(--mcnp-green);
  color: var(--white);
  border-color: var(--mcnp-green);
}

.tab-btn.isap-active {
  background: var(--isap-blue);
  color: var(--white);
  border-color: var(--isap-blue);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 1.75rem;
}

.article-card {
  background: var(--white);
  border-radius: 12px;
  padding: 1.75rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--hover-shadow);
}

.article-header {
  margin-bottom: 1rem;
}

.article-journal-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.article-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

.article-authors {
  font-size: 0.84rem;
  color: #64748b;
  font-style: italic;
  margin-bottom: 0.75rem;
}

.article-abstract {
  font-size: 0.86rem;
  color: #475569;
  line-height: 1.55;
  margin-bottom: 1.25rem;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid #f1f5f9;
  font-size: 0.78rem;
  color: #94a3b8;
}

/* ==========================================================================
   NEWS & EVENTS LIST
   ========================================================================== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.news-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 35px -10px rgba(13, 92, 58, 0.14);
}

.news-thumbnail {
  height: 200px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem;
  color: var(--white);
}

.news-thumb-journal {
  background: linear-gradient(135deg, #0d3b73 0%, #1e5ea8 100%);
}

.news-thumb-photo {
  background: #0f172a;
}

.news-thumb-stats {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
}

.news-thumb-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  z-index: 0;
}

.news-card:hover .news-thumb-bg {
  transform: scale(1.06);
}

.news-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.75) 100%);
  z-index: 1;
  pointer-events: none;
}

.news-date-badge {
  position: relative;
  z-index: 2;
  align-self: flex-start;
  background: var(--gold);
  color: #0f172a;
  font-weight: 800;
  font-size: 0.72rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  letter-spacing: 0.02em;
}

.news-thumb-text {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.news-thumb-pill {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e2e8f0;
  opacity: 0.9;
}

.news-thumb-topic {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  line-height: 1.25;
}

/* ===== Enhanced Event Photo Gallery Slider ===== */
.event-gallery-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  margin-top: 1rem;
  margin-bottom: 0.4rem;
  border-radius: 12px;
  overflow: hidden;
  background: #0f172a;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.16);
  border: 1px solid rgba(226, 232, 240, 0.9);
  user-select: none;
}

.event-gallery-slide {
  display: none;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  position: relative;
  background: #0b1320;
}

.event-gallery-slide.active {
  display: flex;
  animation: galleryFadeIn 0.25s ease-out;
}

@keyframes galleryFadeIn {
  from { opacity: 0.4; }
  to { opacity: 1; }
}

.event-gallery-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.35s ease;
}

.event-gallery-slide:hover img {
  transform: scale(1.025);
}

.event-gallery-counter {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  padding: 0.3rem 0.75rem;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  border-radius: 9999px;
  z-index: 4;
  pointer-events: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.event-gallery-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.35rem;
  height: 2.35rem;
  border: 0;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.event-gallery-control:hover,
.event-gallery-control:focus-visible {
  background: var(--mcnp-green, #0d5c3a);
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 6px 18px rgba(13, 92, 58, 0.45);
  outline: none;
}

.event-gallery-control.prev {
  left: 0.65rem;
}

.event-gallery-control.next {
  right: 0.65rem;
}

.event-gallery-fullscreen {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 2.1rem;
  height: 2.1rem;
  border: 0;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #fff;
  font-size: 0.95rem;
  cursor: pointer;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.22);
  transition: background 0.2s ease, transform 0.2s ease;
}

.event-gallery-fullscreen:hover,
.event-gallery-fullscreen:focus-visible {
  background: var(--mcnp-green, #0d5c3a);
  transform: scale(1.12);
  outline: none;
}

/* Horizontal mini thumbnail strip */
.event-gallery-thumbstrip {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  padding: 0.35rem 0.15rem 0.65rem;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 0.5rem;
}

.event-gallery-thumbstrip::-webkit-scrollbar {
  height: 4px;
}

.event-gallery-thumbstrip::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.event-gallery-thumb {
  flex: 0 0 54px;
  height: 38px;
  border: 2px solid transparent;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  background: #1e293b;
  opacity: 0.58;
  transition: opacity 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.event-gallery-thumb:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

.event-gallery-thumb.active {
  opacity: 1;
  border-color: var(--mcnp-green, #0d5c3a);
  transform: scale(1.06);
  box-shadow: 0 2px 8px rgba(13, 92, 58, 0.4);
}

.event-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Fullscreen native fallback */
.event-gallery-slider:fullscreen {
  display: flex;
  min-height: 100vh;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: #000;
  aspect-ratio: auto;
}

.event-gallery-slider:fullscreen .event-gallery-slide {
  width: 100%;
  height: 100vh;
}

.event-gallery-slider:fullscreen .event-gallery-slide img {
  max-width: 100vw;
  max-height: 100vh;
  object-fit: contain;
}

/* ===== Global Image Lightbox Modal ===== */
.rdc-lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 11, 20, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
  padding: 1.25rem;
}

.rdc-lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}

.rdc-lightbox-header {
  position: absolute;
  top: 1rem;
  left: 1.25rem;
  right: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10001;
  pointer-events: none;
}

.rdc-lightbox-counter {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  pointer-events: auto;
}

.rdc-lightbox-close {
  pointer-events: auto;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.rdc-lightbox-close:hover {
  background: rgba(239, 68, 68, 0.85);
  transform: scale(1.08);
}

.rdc-lightbox-content {
  position: relative;
  max-width: 92vw;
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rdc-lightbox-img {
  max-width: 90vw;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.65);
  user-select: none;
  animation: lightboxZoomIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes lightboxZoomIn {
  from { opacity: 0; transform: scale(0.93); }
  to { opacity: 1; transform: scale(1); }
}

.rdc-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
  z-index: 10001;
}

.rdc-lightbox-nav:hover {
  background: var(--mcnp-green, #0d5c3a);
  transform: translateY(-50%) scale(1.1);
}

.rdc-lightbox-nav.prev { left: 1.25rem; }
.rdc-lightbox-nav.next { right: 1.25rem; }

@media (max-width: 640px) {
  .rdc-lightbox-nav {
    width: 2.4rem;
    height: 2.4rem;
    font-size: 1.1rem;
  }
  .rdc-lightbox-nav.prev { left: 0.5rem; }
  .rdc-lightbox-nav.next { right: 0.5rem; }
}

.rdc-sop {
  margin-top: 3rem;
  padding: 2.5rem;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  box-shadow: var(--card-shadow);
}

.rdc-sop-header {
  margin-bottom: 1.75rem;
}

.rdc-sop-header h2 {
  margin-bottom: 0.5rem;
}

.rdc-sop-header p {
  color: var(--muted-text);
  line-height: 1.7;
}

.rdc-sop-phases {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.rdc-sop-phase {
  padding: 1rem;
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: 8px;
}

.rdc-sop-phase strong {
  display: block;
  color: var(--mcnp-green);
  font-size: 0.78rem;
  margin-bottom: 0.3rem;
}

.rdc-sop-phase span {
  color: #475569;
  font-size: 0.8rem;
}

.rdc-sop-stage {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.rdc-sop-stage summary {
  cursor: pointer;
  padding: 1rem 1.15rem;
  color: #1e293b;
  font-weight: 700;
}

.rdc-sop-stage summary::marker {
  color: var(--gold);
}

.rdc-sop-stage-body {
  display: block;
  padding: 0 1.15rem 1.25rem;
}

.rdc-sop-table {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.1fr;
  gap: 1rem;
  align-items: start;
}

.rdc-sop-column {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.9rem;
}

.rdc-sop-column h4 {
  margin: 0 0 0.7rem;
  color: var(--mcnp-green);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.rdc-sop-column ol,
.rdc-sop-column ul {
  margin: 0;
  padding-left: 1.2rem;
  color: #475569;
  line-height: 1.75;
  font-size: 0.9rem;
}

.rdc-sop-label {
  margin: 0 0 0.55rem;
  color: var(--mcnp-green);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.rdc-sop-forms {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.rdc-sop-forms a {
  display: inline-block;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(13, 92, 58, 0.1);
  color: var(--mcnp-green);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.rdc-sop-forms a:hover {
  background: var(--gold);
  color: #fff;
}

@media (max-width: 760px) {
  .rdc-sop {
    padding: 1.25rem;
  }

  .rdc-sop-phases {
    grid-template-columns: repeat(2, 1fr);
  }

  .rdc-sop-table {
    grid-template-columns: 1fr;
  }
}

/* ========================================================
   ENHANCED SOP MATRIX: ALIGNED STEP -> RESPONSIBLE -> REQUIREMENT
   ======================================================== */
.rdc-sop-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-color);
}

.rdc-sop-controls-text {
  font-size: 0.88rem;
  color: #475569;
}

.rdc-sop-btn-group {
  display: flex;
  gap: 0.5rem;
}

.rdc-sop-toggle-btn {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #334155;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.45rem 0.85rem;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.rdc-sop-toggle-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.rdc-sop-stage {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  margin-bottom: 1rem;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: all 0.2s ease;
}

.rdc-sop-stage[open] {
  border-color: #cbd5e1;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.rdc-sop-stage summary {
  cursor: pointer;
  padding: 1.1rem 1.35rem;
  color: #0f172a;
  font-weight: 700;
  font-size: 1.02rem;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: background 0.2s ease;
  user-select: none;
}

.rdc-sop-stage summary:hover {
  background: #f1f5f9;
}

.rdc-sop-stage[open] summary {
  background: #f0fdf4;
  border-bottom: 1px solid #bbf7d0;
  color: var(--mcnp-green);
}

.rdc-sop-stage-badge {
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(13, 92, 58, 0.12);
  color: var(--mcnp-green);
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.rdc-sop-stage-desc {
  padding: 0.95rem 1.35rem 0.5rem;
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.6;
  text-align: justify;
  text-justify: inter-word;
}

.rdc-sop-downloads-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0.75rem 1.35rem;
  background: #fafafa;
  border-top: 1px dashed var(--border-color);
  border-bottom: 1px solid var(--border-color);
  font-size: 0.82rem;
}

.rdc-sop-downloads-bar .downloads-label {
  font-weight: 700;
  color: #334155;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* Aligned Table Matrix */
.rdc-sop-matrix-container {
  overflow-x: auto;
  padding: 1rem 1.35rem 1.35rem;
}

.rdc-sop-matrix {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.88rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
}

.rdc-sop-matrix thead th {
  background: #0f172a;
  color: #f8fafc;
  padding: 0.85rem 1.1rem;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: left;
  border-bottom: 2px solid #000000;
}

.rdc-sop-matrix th.col-step {
  width: 42%;
}

.rdc-sop-matrix th.col-resp {
  width: 27%;
}

.rdc-sop-matrix th.col-req {
  width: 31%;
}

.rdc-sop-matrix tbody tr {
  transition: background 0.15s ease;
  border-bottom: 1px solid #e2e8f0;
}

.rdc-sop-matrix tbody tr:last-child {
  border-bottom: none;
}

.rdc-sop-matrix tbody tr:nth-child(even) {
  background: #f8fafc;
}

.rdc-sop-matrix tbody tr:hover {
  background: #f0fdf4;
}

.rdc-sop-matrix td {
  padding: 1rem 1.1rem;
  vertical-align: top;
  line-height: 1.55;
  border-bottom: 1px solid #e2e8f0;
}

.rdc-sop-matrix tr:last-child td {
  border-bottom: none;
}

/* Step cell */
.sop-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--mcnp-green);
  color: #ffffff;
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.76rem;
  margin-right: 0.65rem;
  flex-shrink: 0;
  box-shadow: 0 2px 5px rgba(13, 92, 58, 0.25);
}

.sop-step-content {
  display: flex;
  align-items: flex-start;
}

.sop-step-text strong {
  display: block;
  color: #0f172a;
  font-size: 0.92rem;
  margin-bottom: 0.25rem;
}

.sop-step-text span {
  color: #475569;
  font-size: 0.86rem;
}

/* Responsible Person Cell */
.sop-person-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 600;
  font-size: 0.82rem;
  line-height: 1.35;
  margin-bottom: 0.35rem;
  border: 1px solid #000000;
}

.sop-person-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

/* Requirement Cell */
.sop-req-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  background: #fefce8;
  color: #854d0e;
  font-weight: 600;
  font-size: 0.82rem;
  margin-bottom: 0.35rem;
  border: 1px solid #000000;
}

.sop-req-items {
  margin: 0;
  padding-left: 1.15rem;
  font-size: 0.85rem;
  color: #334155;
  line-height: 1.5;
}

.sop-req-items li {
  margin-bottom: 0.3rem;
}

.sop-req-items li:last-child {
  margin-bottom: 0;
}

.sop-req-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  background: #e2e8f0;
  color: #334155;
  margin-top: 0.3rem;
}

/* Mobile responsive card mode */
@media (max-width: 768px) {
  .rdc-sop-matrix thead {
    display: none;
  }

  .rdc-sop-matrix,
  .rdc-sop-matrix tbody,
  .rdc-sop-matrix tr,
  .rdc-sop-matrix td {
    display: block;
    width: 100%;
  }

  .rdc-sop-matrix tr {
    margin-bottom: 1rem;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    background: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    overflow: hidden;
  }

  .rdc-sop-matrix td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid #f1f5f9;
    position: relative;
  }

  .rdc-sop-matrix td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    margin-bottom: 0.35rem;
  }

  .rdc-sop-matrix td[data-label="Step"] {
    background: #f8fafc;
    border-bottom: 1.5px solid #e2e8f0;
  }
}

/* ISAP Portal SOP Theme Overrides */
.rdc-sop.isap-sop .rdc-sop-stage[open] summary,
.isap-sop .rdc-sop-stage[open] summary {
  background: #f0f7ff;
  border-bottom: 1px solid #bfdbfe;
  color: var(--isap-blue);
}

.rdc-sop.isap-sop .rdc-sop-stage-badge,
.isap-sop .rdc-sop-stage-badge {
  background: rgba(11, 60, 93, 0.1);
  color: var(--isap-blue);
  border: 1px solid rgba(11, 60, 93, 0.2);
}

.rdc-sop.isap-sop .sop-step-number,
.isap-sop .sop-step-number {
  background: var(--isap-blue);
  box-shadow: 0 2px 5px rgba(11, 60, 93, 0.28);
}

.rdc-sop.isap-sop .rdc-sop-matrix tbody tr:hover,
.isap-sop .rdc-sop-matrix tbody tr:hover {
  background: #f0f7ff;
}


.news-content {
  padding: 1.5rem 1.4rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
  gap: 0.9rem;
}

.news-category-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.6rem;
}

.news-title {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
  color: #0f172a;
  line-height: 1.35;
  transition: color 0.2s ease;
}

.news-card:hover .news-title {
  color: var(--mcnp-green);
}

.news-excerpt {
  font-size: 0.88rem;
  color: #64748b;
  margin-bottom: 0.5rem;
  line-height: 1.6;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.news-footer-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f1f5f9;
  padding-top: 0.9rem;
  margin-top: auto;
}

.news-link {
  color: var(--mcnp-green);
  font-weight: 700;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s ease;
}

.news-card:hover .news-link {
  color: var(--gold-hover);
  transform: translateX(4px);
}

.news-meta-type {
  font-size: 0.74rem;
  color: #94a3b8;
  font-weight: 600;
}

/* ==========================================================================
   ADVOCACY HIGHLIGHT CALLOUT
   ========================================================================== */
.advocacy-callout {
  background: linear-gradient(135deg, var(--mcnp-green-dark) 0%, var(--isap-blue-dark) 100%);
  color: var(--white);
  border-radius: 20px;
  padding: 3.5rem;
  position: relative;
  overflow: hidden;
  margin: 2rem 0 4rem;
}

.advocacy-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.advocacy-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid #000000;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.sdg-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 0.85rem;
  border: 2px solid #000000;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 1.65rem;
  line-height: 1;
}

.sdg-icon-image {
  display: block;
  width: 3.25rem;
  height: 3.25rem;
  object-fit: contain;
  margin-bottom: 0.85rem;
}

.sdg-report-page {
  background: #f2f2f2;
  padding: 0 0 4rem;
}

.sdg-landing-card {
  background: linear-gradient(135deg, #d81f33 0%, #d51b2f 100%);
  color: #fff;
  padding: 2.2rem 2.2rem 1.5rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.sdg-landing-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.04) 40%, rgba(255,255,255,0) 40%);
  pointer-events: none;
}

.sdg-landing-header {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
}

.sdg-goal-mini-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.4rem;
}

.sdg-goal-mini {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 0.35rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.65);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 800;
}

.sdg-goal-mini.small {
  width: 1.6rem;
  height: 1.6rem;
  font-size: 0.7rem;
}

.sdg-goal-name {
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  text-transform: uppercase;
}

.sdg-landing-header h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.06em;
  max-width: 820px;
}

.sdg-read-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.95rem;
  border: 1px solid rgba(255,255,255,0.8);
  border-radius: 7px;
  color: #fff;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  margin-top: 0.2rem;
}

.sdg-related-box {
  position: relative;
  z-index: 1;
  background: #f8f8f8;
  color: #1d2330;
  border: 1px solid rgba(15, 23, 42, 0.15);
  border-radius: 12px;
  padding: 1rem 1.1rem 0.9rem;
  width: min(100%, 420px);
  margin-top: 1.1rem;
}

.sdg-related-box h3 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 800;
  color: #1d2330;
}

.sdg-topic-item {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 8px;
  padding: 0.9rem 0.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.92rem;
  font-weight: 700;
}

.sdg-topic-item small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.2rem;
  height: 1.4rem;
  padding: 0 0.4rem;
  border-radius: 999px;
  background: #e91e3a;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
}

.sdg-top-nav {
  background: #1d1d1d;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 0.9rem 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.72rem;
  font-weight: 700;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sdg-top-nav span {
  opacity: 0.8;
}

.sdg-overview-panel {
  background: #f5f5f5;
  padding: 2rem 1rem 0;
  position: relative;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-top: none;
}

.sdg-overview-panel::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 260px;
  height: 180px;
  background: linear-gradient(135deg, rgba(201, 42, 67, 0.12), rgba(201, 42, 67, 0.02));
  clip-path: polygon(100% 0, 0 0, 100% 100%);
}

.sdg-overview-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.sdg-report-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 0.9rem;
  color: #1d2330;
}

.sdg-report-icon {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #f5f8f4, #e8f2db);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(15, 23, 42, 0.15);
}

.sdg-report-icon img {
  width: 1.6rem;
  height: 1.6rem;
  object-fit: contain;
}

.sdg-overview-panel h2 {
  margin: 1.2rem 0 1.6rem;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.1;
  letter-spacing: -0.06em;
  color: #1d2330;
  max-width: 980px;
  font-weight: 800;
}

.sdg-overview-panel h2 span {
  display: inline-block;
  background: #df2035;
  color: #fff;
  padding: 0.15rem 0.35rem 0.2rem;
}

.sdg-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  background: #f8f8f8;
  border: 1px solid rgba(15,23,42,0.06);
  padding: 1.7rem 1.1rem 1.25rem;
  position: relative;
  z-index: 1;
}

.sdg-stat-box {
  padding: 0.2rem 0.8rem 0.1rem;
  border-right: 1px solid rgba(15,23,42,0.08);
}

.sdg-stat-box:last-child {
  border-right: none;
}

.sdg-stat-box h3 {
  margin: 0 0 1rem;
  font-size: 0.96rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #1d2330;
}

.sdg-people-row {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
  align-items: flex-end;
  min-height: 2.5rem;
}

.person {
  width: 0.8rem;
  height: 1.9rem;
  background: #c7c7c7;
  border-radius: 0.5rem 0.5rem 0.2rem 0.2rem;
  display: inline-block;
  position: relative;
}

.person::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -0.6rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: #c7c7c7;
}

.person.active {
  background: #d51b2f;
}

.person.active::before {
  background: #d51b2f;
}

.person.muted {
  background: #d9d9d9;
}

.person.muted::before {
  background: #d9d9d9;
}

.sdg-stat-box p {
  font-size: 1.15rem;
  line-height: 1.25;
  font-weight: 800;
  color: #1d2330;
  margin: 0;
  max-width: 210px;
  text-transform: uppercase;
}

.sdg-track-visual {
  position: relative;
  width: 100%;
  height: 4rem;
  margin-bottom: 1.1rem;
}

.track-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  background: rgba(15,23,42,0.35);
  transform: translateY(-50%);
}

.track-line::before,
.track-line::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  background: #d51b2f;
  transform: translateY(-50%);
}

.track-line::before {
  left: 35%;
  right: auto;
  width: 0.7rem;
  height: 0.7rem;
  background: #d51b2f;
}

.track-pin {
  position: absolute;
  left: 35%;
  top: 50%;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: #d51b2f;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 0.4rem rgba(213, 27, 47, 0.12);
}

.sdg-alert-visual {
  position: relative;
  width: 100%;
  height: 4rem;
  margin-bottom: 1.1rem;
}

.alert-bell {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: #d51b2f;
  transform: translate(-50%, -50%);
  box-shadow: 0 10px 20px rgba(213,27,47,0.18);
}

.alert-bell::before,
.alert-bell::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
}

.alert-bell::before {
  width: 0.2rem;
  height: 1.2rem;
  top: 0.55rem;
  border-radius: 999px;
}

.alert-bell::after {
  width: 1rem;
  height: 0.2rem;
  bottom: 0.5rem;
  border-radius: 999px;
}

.sdg-footer-bar {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 1rem;
  align-items: center;
  margin-top: 1.2rem;
  background: #0d0d0d;
  color: #fff;
  padding: 1rem 1.5rem;
  position: relative;
  z-index: 1;
}

.sdg-footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sdg-united-nations {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.9rem;
  font-weight: 700;
}

.un-flag {
  width: 1.8rem;
  height: 1.2rem;
  background: linear-gradient(to right, #f2f2f2 0 25%, #f2f2f2 25% 30%, #0055b7 30% 70%, #f2f2f2 70% 100%);
  border-radius: 0.25rem;
  display: inline-block;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.2);
}

.sdg-footer-link {
  font-size: 0.8rem;
  text-align: right;
  color: rgba(255,255,255,0.8);
}

.sdg-footer-link a {
  color: #fff;
  text-decoration: underline;
}

.sdg-events-section {
  background: #f5f5f5;
  padding: 2rem 0 0;
}

.sdg-events-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.sdg-events-header h3 {
  margin: 0;
  font-size: 2rem;
  letter-spacing: -0.05em;
  color: #1d2330;
}

.sdg-events-header a {
  color: #1e5ea8;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.sdg-events-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding-bottom: 2rem;
}

.sdg-event-story {
  background: #fff;
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: 0.75rem;
  padding: 1rem 0.85rem 0.9rem;
  box-shadow: 0 4px 14px rgba(15,23,42,0.04);
}

.sdg-date {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  font-size: 2rem;
  font-weight: 800;
  color: #1d2330;
  letter-spacing: -0.06em;
  margin-bottom: 0.6rem;
}

.sdg-date span {
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  font-weight: 700;
  text-transform: uppercase;
  color: #68768a;
}

.sdg-event-story h4 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.4;
  color: #1d2330;
  min-height: 4.5rem;
}

.sdg-story-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.9rem;
}

.sdg-story-tags span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(30,94,168,0.08);
  color: #1e5ea8;
  border-radius: 0.3rem;
  padding: 0.22rem 0.45rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .sdg-stats-grid { grid-template-columns: 1fr; }
  .sdg-stat-box { border-right: none; border-bottom: 1px solid rgba(15,23,42,0.08); padding-bottom: 1rem; }
  .sdg-stat-box:last-child { border-bottom: none; }
  .sdg-events-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .sdg-landing-card { padding: 1.5rem 1rem 1rem; }
  .sdg-related-box { width: 100%; }
  .sdg-events-grid { grid-template-columns: 1fr; }
  .sdg-footer-bar { grid-template-columns: 1fr; text-align: left; }
  .sdg-footer-link { text-align: left; }
  .sdg-top-nav { gap: 0.9rem; }
}

.sdg-card-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 1.5rem 0 2.5rem;
}

.sdg-card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 0.6rem;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.04);
}

.sdg-card-static-image {
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(13, 92, 58, 0.07), rgba(11, 60, 93, 0.08));
  overflow: hidden;
}

.sdg-card-static-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.3);
}

.sdg-card-title {
  display: block;
  color: #1e293b;
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  text-align: center;
}

.sdg-card-title:hover,
.sdg-card-title:focus-visible {
  color: var(--mcnp-green);
  text-decoration: underline;
  outline: none;
}

.sdg-event-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(15, 23, 42, 0.7);
}

.sdg-event-modal.active {
  display: flex;
}

.sdg-event-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(180px, 240px) 1fr;
  gap: 1.5rem;
  width: min(100%, 720px);
  padding: 1.5rem;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.28);
}

.sdg-modal-gallery {
  width: 100%;
  position: relative;
}

.sdg-modal-gallery .sdg-card-slider {
  min-height: 220px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(13, 92, 58, 0.08), rgba(11, 60, 93, 0.06));
  overflow: hidden;
}

.sdg-slider-slide {
  display: none;
  width: 100%;
  min-height: 220px;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.sdg-slider-slide.active {
  display: flex;
}

.sdg-slider-slide img {
  display: block;
  width: min(100%, 170px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(15, 23, 42, 0.12));
}

.sdg-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.1rem;
  height: 2.1rem;
  border: 0;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.65);
  color: #fff;
  font-size: 0.95rem;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.sdg-slider-arrow:hover {
  background: var(--mcnp-green);
}

.sdg-slider-prev {
  left: 0.6rem;
}

.sdg-slider-next {
  right: 0.6rem;
}

.sdg-slider-dots {
  position: absolute;
  bottom: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.4rem;
  z-index: 2;
}

.sdg-slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  background: rgba(15, 23, 42, 0.25);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease;
}

.sdg-slider-dot.active {
  background: var(--mcnp-green);
}

.sdg-modal-copy {
  min-width: 0;
}

.sdg-event-card h3 {
  margin: 0 0 0.65rem;
  color: #1e293b;
}

.sdg-event-card h3 {
  color: #1e293b;
}

.sdg-event-card p {
  margin: 0;
  color: #475569;
  line-height: 1.65;
}

.sdg-event-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.sdg-event-item {
  padding: 0.8rem 0.9rem;
  border-left: 3px solid #000000;
  background: #f8fafc;
  border-radius: 0 6px 6px 0;
}

.sdg-event-item h4 {
  margin: 0 0 0.25rem;
  color: #1e293b;
  font-size: 0.92rem;
}

.sdg-event-item h4 a {
  color: #1e293b;
  text-decoration: none;
}

.sdg-event-item h4 a:hover,
.sdg-event-item h4 a:focus-visible {
  color: var(--mcnp-green);
  text-decoration: underline;
  outline: none;
}

.sdg-event-item p {
  font-size: 0.82rem;
}

.sdg-event-close {
  position: absolute;
  top: 0.6rem;
  right: 0.7rem;
  border: 0;
  background: transparent;
  color: #64748b;
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 560px) {
  .sdg-event-card {
    grid-template-columns: 1fr;
    max-height: 90vh;
    overflow-y: auto;
  }

  .sdg-event-card img {
    width: min(180px, 55vw);
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .sdg-card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.advocacy-inner h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.advocacy-inner p {
  color: #e2e8f0;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.advocacy-stats-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border-radius: 14px;
  padding: 2rem;
}

.advocacy-stat-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.advocacy-stat-row:last-child {
  border-bottom: none;
}

.stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
}

.stat-text h5 {
  font-size: 0.95rem;
  color: var(--white);
}

.stat-text p {
  font-size: 0.8rem;
  color: #cbd5e1;
  margin: 0;
}

/* ==========================================================================
   PAGE HERO / SUBPAGE HEADER
   ========================================================================== */
.page-hero {
  background: linear-gradient(135deg, var(--mcnp-green-dark) 0%, var(--isap-blue-dark) 100%);
  color: var(--white);
  padding: 3.5rem 0;
  position: relative;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: #cbd5e1;
  margin-bottom: 0.75rem;
}

.breadcrumbs a {
  color: var(--gold);
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.page-hero h1 {
  font-size: 2.3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.page-hero p {
  color: #e2e8f0;
  font-size: 1.05rem;
  max-width: 750px;
}

/* ==========================================================================
   ADMIN PORTAL
   ========================================================================== */
.admin-table-wrapper {
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
  overflow-x: auto;
  margin: 2rem 0;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
}

.admin-table th {
  background: #f8fafc;
  padding: 1rem 1.25rem;
  font-weight: 700;
  color: #475569;
  border-bottom: 1px solid var(--border-color);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.admin-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #f1f5f9;
  color: #334155;
  vertical-align: middle;
}

.admin-table tr:hover {
  background: #f8fafc;
}

.status-badge {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.status-approved {
  background: #dcfce7;
  color: #15803d;
}

.status-review {
  background: #fef3c7;
  color: #b45309;
}

.status-revision {
  background: #ffedd5;
  color: #c2410c;
}

.status-submitted {
  background: #e0f2fe;
  color: #0369a1;
}

/* Action Buttons inside Admin */
.btn-sm {
  padding: 0.35rem 0.75rem;
  font-size: 0.78rem;
  border-radius: 5px;
}

/* ==========================================================================
   FORMS & INPUTS
   ========================================================================== */
.form-card {
  background: var(--white);
  border-radius: 14px;
  padding: 2.5rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
}

.form-group {
  margin-bottom: 1.35rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  font-size: 0.92rem;
  color: var(--dark-text);
  font-family: inherit;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--mcnp-green);
  box-shadow: 0 0 0 3px rgba(13, 92, 58, 0.15);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.campus-card {
  background: linear-gradient(135deg, var(--mcnp-green-dark) 0%, var(--isap-blue-dark) 100%);
  color: var(--white);
  border-radius: 14px;
  padding: 2rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.campus-card h4 {
  color: #ffffff;
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
  font-weight: 700;
}

.campus-card p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #e5e7eb;
  margin-bottom: 1rem;
}

.info-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 1rem;
  font-size: 0.84rem;
}

.info-box-item {
  padding: 0.3rem 0;
  color: #e2e8f0;
}

.info-box-item + .info-box-item {
  margin-top: 0.25rem;
}

.info-box a {
  color: #ffffff;
  text-decoration: underline;
  font-weight: 600;
  transition: var(--transition);
}

.info-box a:hover {
  color: var(--gold);
}

.map-card {
  margin-top: 1.5rem;
  background: var(--white);
  border-radius: 14px;
  padding: 1.25rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
}

.map-card-label {
  font-size: 0.85rem;
  color: #374151;
  margin-bottom: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #091a13;
  color: #cbd5e1;
  padding: 4.5rem 0 2rem;
  border-top: 4px solid var(--gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

.footer-brand h4 {
  font-size: 1.25rem;
  color: var(--white);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.footer-brand h4 span {
  color: var(--gold);
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #94a3b8;
  margin-bottom: 1.25rem;
}

.footer-col h5 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h5::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 2px;
  background: var(--gold);
}

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a {
  font-size: 0.86rem;
  color: #94a3b8;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links a:hover {
  color: var(--gold);
  transform: translateX(3px);
}

.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 0.86rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: #64748b;
}

/* ==========================================================================
   MODAL DIALOG
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-backdrop.active {
  display: flex;
}

.modal-content {
  background: var(--white);
  width: 100%;
  max-width: 650px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  animation: modalFadeIn 0.25s ease-out;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(-20px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-header {
  padding: 1.25rem 1.5rem;
  background: #f8fafc;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  font-size: 1.15rem;
  color: #1e293b;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #64748b;
}

.modal-body {
  padding: 1.5rem;
  max-height: 75vh;
  overflow-y: auto;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-visual {
    margin-top: 1rem;
  }
  .hero-logo-wrapper {
    max-width: 320px;
    padding: 1rem 0;
  }
  .hero-rdc-logo {
    max-width: 260px;
  }
  .hero-card {
    max-width: 600px;
  }
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1150px) {
  .topbar {
    display: none;
  }

  .header-inner {
    padding: 0.35rem 0;
  }
  
  .mobile-toggle {
    display: inline-flex;
  }
  
  .nav-menu {
    position: fixed;
    top: var(--main-header-height, 56px);
    left: -100%;
    width: 85%;
    max-width: 360px;
    height: calc(100vh - var(--main-header-height, 56px));
    height: calc(100dvh - var(--main-header-height, 56px));
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem;
    box-shadow: 14px 0 32px rgba(15, 23, 42, 0.18);
    transition: left 0.28s ease;
    overflow-y: auto;
    z-index: 999;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-item {
    width: 100%;
    border-bottom: 1px solid #f1f5f9;
  }
  
  .nav-link {
    width: 100%;
    justify-content: space-between;
    padding: 0.85rem 0.5rem;
    color: #2c3e50;
    border-right: 0;
    border-radius: 6px;
    font-size: 0.85rem;
    white-space: normal;
  }

  .nav-link:hover,
  .nav-link.active {
    color: var(--mcnp-green);
    background: #f1f5f9;
  }
  
  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    background: #f8fafc;
    border-radius: 6px;
    padding: 0.5rem 0 0.5rem 1rem;
    display: none;
    transform: none;
    opacity: 1;
    visibility: visible;
  }

  .dropdown-menu::before {
    display: none;
  }
  
  .nav-item.open .dropdown-menu {
    display: block;
  }
  
  .nav-item.open > .nav-link .arrow {
    transform: rotate(180deg);
  }
  
  .metrics-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .institutions-grid {
    grid-template-columns: 1fr;
  }
  
  .advocacy-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .news-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 540px) {
  .metrics-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-content h2 {
    font-size: 2.1rem;
  }
}
/* Enhanced SDG Grid Styles */
.sdg-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.sdg-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.sdg-main-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: #0f172a;
}
.sdg-subtitle {
  font-size: 0.9rem;
  color: #64748b;
}
.sdg-filter-bar {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}
.sdg-filter-btn {
  background: #fff;
  border: 1px solid #cbd5e1;
  color: #334155;
  font-weight: 700;
  font-size: 0.84rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s;
}
.sdg-filter-btn:hover, .sdg-filter-btn.active {
  background: #0f172a;
  color: #fff;
  border-color: #0f172a;
}
.sdg-total-badge {
  font-size: 0.82rem;
  font-weight: 700;
  color: #047857;
  background: #d1fae5;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
}
.sdg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
}
.sdg-tile {
  border-radius: 14px;
  padding: 1rem 0.85rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 175px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}
.sdg-tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.18);
}
.sdg-badge {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  background: rgba(0,0,0,0.25);
}
.sdg-badge.highlight {
  background: #fff;
  color: #111827;
}
.sdg-num {
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
  margin: 0.5rem 0 0.25rem;
}
.sdg-name {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.25;
}
.sdg-1  { background: #e5243b; }
.sdg-2  { background: #dda63a; }
.sdg-3  { background: #4c9f38; }
.sdg-4  { background: #c5192d; }
.sdg-5  { background: #ff3a21; }
.sdg-6  { background: #26bde2; }
.sdg-7  { background: #fcc30b; color: #1e293b; }
.sdg-7 .sdg-badge { background: rgba(0,0,0,0.15); color: #000; }
.sdg-8  { background: #a21942; }
.sdg-9  { background: #fd6925; }
.sdg-10 { background: #dd1367; }
.sdg-11 { background: #fd9d24; }
.sdg-12 { background: #bf8b2e; }
.sdg-13 { background: #3f7e44; }
.sdg-14 { background: #0a97d9; }
.sdg-15 { background: #56c02b; }
.sdg-16 { background: #00689d; }
.sdg-17 { background: #19486a; }

@media (max-width: 768px) {
  .sdg-grid { grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
  .sdg-main-title { font-size: 1.6rem; }
}
@media (max-width: 480px) {
  .sdg-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   EVENT HIGHLIGHTS: FILTER TOOLBAR, SEARCH & SDG TAGS
   ========================================================================== */
.event-filter-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 2.25rem;
  background: #ffffff;
  padding: 1rem 1.25rem;
  border-radius: 14px;
  border: 1px solid var(--border-color, #e2e8f0);
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.04);
}

.event-filter-pills {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.event-pill-btn {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #334155;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.event-pill-btn:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: #0f172a;
}

.event-pill-btn.active {
  background: #0d5c3a;
  color: #ffffff;
  border-color: #0d5c3a;
  box-shadow: 0 2px 8px rgba(13, 92, 58, 0.25);
}

.event-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 260px;
}

.event-search-icon {
  position: absolute;
  left: 0.85rem;
  font-size: 0.9rem;
  color: #94a3b8;
  pointer-events: none;
}

.event-search-input {
  width: 100%;
  padding: 0.48rem 1rem 0.48rem 2.3rem;
  border: 1.5px solid #cbd5e1;
  border-radius: 999px;
  font-size: 0.85rem;
  color: #1e293b;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background: #ffffff;
}

.event-search-input:focus {
  border-color: #0d5c3a;
  box-shadow: 0 0 0 3px rgba(13, 92, 58, 0.12);
}

/* Card SDG Tag Strip */
.card-sdg-strip {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px dashed #e2e8f0;
}

.card-sdg-label {
  font-size: 0.7rem;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-right: 0.15rem;
  display: inline-flex;
  align-items: center;
}

.card-sdg-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
  flex-shrink: 0;
  text-decoration: none;
  cursor: pointer;
  background: #f1f5f9;
}

.card-sdg-badge:hover {
  transform: translateY(-2px) scale(1.12);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.28);
}

.card-sdg-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.event-card-hidden {
  display: none !important;
}

.event-no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 1.5rem;
  background: #ffffff;
  border-radius: 12px;
  border: 1px dashed #cbd5e1;
  color: #64748b;
}

.event-no-results h4 {
  color: #0f172a;
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
}

/* Modal Prev/Next and Action Bar */
.event-modal-actions-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2.5rem;
  background: #f1f5f9;
  border-top: 1px solid #e2e8f0;
  gap: 1rem;
  flex-wrap: wrap;
}

.event-modal-nav-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.event-modal-nav-btn {
  background: #fff;
  border: 1px solid #cbd5e1;
  color: #334155;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.45rem 0.95rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.event-modal-nav-btn:hover:not(:disabled) {
  background: var(--mcnp-green, #0d5c3a);
  color: #fff;
  border-color: var(--mcnp-green, #0d5c3a);
}

.event-modal-nav-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.event-modal-copy-btn {
  background: #fff;
  border: 1px solid #cbd5e1;
  color: #334155;
  font-weight: 600;
  font-size: 0.82rem;
  padding: 0.45rem 0.95rem;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s ease;
}

.event-modal-copy-btn:hover {
  background: #0f172a;
  color: #fff;
  border-color: #0f172a;
}

/* Search Clear Button */
.event-search-clear {
  position: absolute;
  right: 0.85rem;
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 1.1rem;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
}

.event-search-clear.visible {
  display: flex;
}

.event-search-clear:hover {
  color: #ef4444;
}

/* Home Page News Impact Strip */
.news-impact-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
  padding: 1.75rem 2rem;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 14px;
  border: 1px solid #e2e8f0;
}

@media (max-width: 768px) {
  .news-impact-strip {
    grid-template-columns: repeat(2, 1fr);
    padding: 1.25rem;
    gap: 1rem;
  }
}

.news-impact-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.news-impact-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.news-impact-number {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
}

.news-impact-label {
  font-size: 0.76rem;
  color: #64748b;
  font-weight: 600;
}

/* ==========================================================================
   JOURNAL PORTAL, FILTERS & CITATION MODAL
   ========================================================================== */
.journal-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
  .journal-hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 1rem;
  }
}

.journal-stat-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.journal-stat-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.journal-stat-val {
  font-size: 1.18rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.journal-stat-lbl {
  font-size: 0.75rem;
  color: #cbd5e1;
  font-weight: 600;
}

/* Journal Switcher Tabs */
.journal-nav-tabs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  margin-bottom: 2rem;
  border-bottom: 2px solid #e2e8f0;
}

.journal-nav-tab {
  padding: 0.65rem 1.2rem;
  border-radius: 8px 8px 0 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: #64748b;
  background: transparent;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  position: relative;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.journal-nav-tab:hover {
  color: #1e293b;
  background: rgba(0, 0, 0, 0.03);
}

.journal-nav-tab.active {
  color: var(--mcnp-green);
  background: #fff;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.05);
}

.journal-nav-tab.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--mcnp-green);
}

/* Journal Directory Hub Cards */
.journal-directory-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

@media (max-width: 960px) {
  .journal-directory-grid {
    grid-template-columns: 1fr;
  }
}

.journal-hub-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.journal-hub-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(13, 92, 58, 0.12);
}

.journal-hub-header {
  margin-bottom: 1rem;
}

.journal-hub-title {
  font-size: 1.22rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0.4rem 0;
  line-height: 1.35;
}

.journal-hub-desc {
  font-size: 0.86rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  text-align: justify;
  text-justify: inter-word;
}

/* Article Card Polish & Full Abstract */
.article-abstract-content {
  display: block;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.article-metrics-bar {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  font-size: 0.76rem;
  color: #64748b;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px dashed #e2e8f0;
}

.article-actions-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid #f1f5f9;
}

.article-action-btns {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* Citation Modal */
.citation-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2050;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.citation-modal-overlay.active {
  display: flex;
}

.citation-modal {
  background: #fff;
  border-radius: 14px;
  width: 100%;
  max-width: 680px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  animation: modalFadeIn 0.2s ease-out;
}

.citation-modal-head {
  background: linear-gradient(135deg, var(--mcnp-green-dark), #0d5c3a);
  color: #fff;
  padding: 1.5rem 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.citation-modal-head h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.citation-modal-close {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.citation-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.citation-modal-body {
  padding: 1.75rem;
}

.citation-format-tabs {
  display: flex;
  gap: 0.4rem;
  border-bottom: 2px solid #e2e8f0;
  margin-bottom: 1.25rem;
}

.citation-format-btn {
  background: none;
  border: none;
  padding: 0.5rem 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.15s ease;
}

.citation-format-btn:hover {
  color: #0f172a;
}

.citation-format-btn.active {
  color: var(--mcnp-green);
  border-bottom-color: var(--mcnp-green);
}

.citation-code-block {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 1.25rem;
  font-family: 'Segoe UI', system-ui, sans-serif;
  font-size: 0.88rem;
  color: #1e293b;
  line-height: 1.6;
  position: relative;
  min-height: 100px;
  word-break: break-word;
}

.citation-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Tab Filter for Admin Journal */
.tab-btn.admin-active {
  background: var(--gold, #d97706);
  color: var(--white);
  border-color: var(--gold, #d97706);
}

/* SDG Alignment Badges for Journal Articles */
.article-sdg-strip {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin: 0.5rem 0 0.25rem;
}

.badge-sdg {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #fff;
  line-height: 1.2;
}

/* Journal Hero Quick Jump Anchors */
.journal-quick-jumps {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.journal-quick-jump-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.12);
  color: #f1f5f9;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.2s ease;
  text-decoration: none;
}

.journal-quick-jump-link:hover {
  background: #ffdf70;
  color: #0f172a;
  border-color: #ffdf70;
  transform: translateY(-2px);
}

/* FlipBook Preview Modal */
.flipbook-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 2060;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.flipbook-modal-overlay.active {
  display: flex;
}

.flipbook-modal {
  background: #0f172a;
  border-radius: 16px;
  width: 100%;
  max-width: 1060px;
  height: 86vh;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: modalFadeIn 0.2s ease-out;
}

.flipbook-modal-head {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  color: #fff;
  padding: 0.85rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #334155;
}

.flipbook-modal-head h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffdf70;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.flipbook-modal-body {
  flex: 1;
  position: relative;
  background: #000;
}

.flipbook-modal-body iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ==========================================================================
   Unified About RDC Portal Styles
   ========================================================================== */
.about-layout-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 991px) {
  .about-layout-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Justified typography for About Institution and RDC layouts */
.about-layout-grid > div:first-child p,
.about-layout-grid > div:first-child ol > li,
.about-layout-grid > div:first-child ul:not(.about-nav-tabs) > li {
  text-align: justify;
  text-justify: inter-word;
  text-align-last: left;
}

.inst-banner p,
.inst-feature-item span,
.institutions-grid .inst-card p {
  text-align: justify;
  text-justify: inter-word;
  text-align-last: left;
}

.about-nav-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.about-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 30px;
  background: #f1f5f9;
  color: #475569;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
}

.about-tab-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.about-tab-btn.active,
.about-tab-btn.active-all {
  background: linear-gradient(135deg, var(--mcnp-green), #0b3c5d);
  color: #fff;
  box-shadow: 0 4px 12px rgba(13, 92, 58, 0.25);
}

.about-tab-btn.active-mcnp {
  background: var(--mcnp-green);
  color: #fff;
}

.about-tab-btn.active-isap {
  background: var(--isap-blue);
  color: #fff;
}

.about-pillars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  margin-bottom: 3rem;
}

@media (max-width: 768px) {
  .about-pillars-grid {
    grid-template-columns: 1fr;
  }
}

.about-pillar-card {
  background: #fff;
  border-radius: 14px;
  padding: 2rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

.about-pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.about-pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #000000;
}

.about-pillar-card.pillar-mcnp::before {
  background: #000000;
}

.about-pillar-card.pillar-isap::before {
  background: #000000;
}

.about-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.about-service-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.about-service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  border-color: #000000;
}

.about-service-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.about-wing-section {
  scroll-margin-top: 5rem;
  margin-bottom: 3.5rem;
}

.about-wing-section p {
  text-align: justify;
  text-justify: inter-word;
}


/* ==========================================================================
   24. RESEARCH TRAINING CALENDAR & 43. FAQ ACCORDION STYLES
   MCNP & ISAP Research & Development Center
   ========================================================================== */

/* --- TRAINING CALENDAR STYLES --- */
.calendar-section {
  padding: 4rem 0;
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  scroll-margin-top: 4.5rem;
}

.calendar-topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.calendar-search-box {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--light-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.45rem 0.9rem;
  width: 100%;
  max-width: 340px;
  transition: var(--transition);
}

.calendar-search-box:focus-within {
  border-color: var(--mcnp-green);
  box-shadow: 0 0 0 3px rgba(30, 94, 168, 0.12);
  background: #fff;
}

.calendar-search-box input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.9rem;
  width: 100%;
  color: var(--dark-text);
}

.calendar-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.cal-filter-btn {
  background: #f1f5f9;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 0.4rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted-text);
  cursor: pointer;
  transition: var(--transition);
}

.cal-filter-btn:hover {
  background: #e2e8f0;
  color: var(--dark-text);
}

.cal-filter-btn.active {
  background: linear-gradient(135deg, var(--mcnp-green-dark), var(--mcnp-green));
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(30, 94, 168, 0.25);
}

.calendar-table-wrap {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.calendar-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.calendar-table thead {
  background: linear-gradient(90deg, #0b2545 0%, #1e5ea8 100%);
  color: #ffffff;
}

.calendar-table th {
  padding: 1rem 1.25rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 0.85rem;
  text-transform: uppercase;
}

.calendar-table tbody tr {
  border-bottom: 1px solid #edf2f7;
  transition: background 0.15s ease;
}

.calendar-table tbody tr:last-child {
  border-bottom: none;
}

.calendar-table tbody tr:hover {
  background: #f8fafc;
}

.calendar-table td {
  padding: 1.15rem 1.25rem;
  vertical-align: middle;
}

.cal-date-cell {
  white-space: nowrap;
}

.cal-date-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 0.4rem 0.75rem;
  min-width: 72px;
  text-align: center;
}

.cal-date-month {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--mcnp-green);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cal-date-day {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--dark-text);
  line-height: 1.1;
}

.cal-date-year {
  font-size: 0.68rem;
  color: #64748b;
}

.cal-title-cell h4 {
  font-size: 0.98rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.35rem;
  line-height: 1.35;
}

.cal-title-desc {
  font-size: 0.82rem;
  color: var(--muted-text);
  line-height: 1.4;
}

.cal-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.35rem;
}

.cal-pill-mcnp {
  background: #e6f0fa;
  color: #1e5ea8;
  border: 1px solid #cbd5e1;
}

.cal-pill-isap {
  background: #fdf2f4;
  color: #7a1f2d;
  border: 1px solid #cbd5e1;
}

.cal-pill-unified {
  background: #fef9e7;
  color: #947600;
  border: 1px solid #cbd5e1;
}

/* ==========================================================================
   INTERACTIVE MONTHLY DATE CALENDAR WITH EVENT INSPECTOR
   ========================================================================== */
.interactive-cal-container {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  align-items: stretch;
  width: 100%;
  box-sizing: border-box;
}

.interactive-cal-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  box-sizing: border-box;
}

.cal-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #f1f5f9;
}

.cal-nav-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cal-nav-btn {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #1e293b;
  border-radius: 8px;
  padding: 0.35rem 0.85rem;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.cal-nav-btn:hover {
  background: #0b2545;
  color: #ffffff;
  border-color: #0b2545;
}

.cal-current-month-label {
  font-size: 1.2rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  min-width: 145px;
  text-align: center;
}

.cal-month-select {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 0.45rem 0.75rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: #1e293b;
  cursor: pointer;
  outline: none;
}

.cal-month-select:focus {
  border-color: var(--mcnp-green);
  box-shadow: 0 0 0 3px rgba(30, 94, 168, 0.12);
}

.cal-weekdays-row {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  text-align: center;
  font-weight: 700;
  font-size: 0.76rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  width: 100%;
  box-sizing: border-box;
}

.cal-days-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 1rem;
  width: 100%;
  box-sizing: border-box;
}

.cal-day-cell {
  min-height: 58px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.35rem 0.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  cursor: pointer;
  transition: all 0.18s ease;
  position: relative;
  user-select: none;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.cal-day-cell:hover:not(.other-month) {
  background: #f8fafc;
  border-color: #94a3b8;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.cal-day-cell.other-month {
  background: #fafafa;
  border-color: #f1f5f9;
  opacity: 0.35;
  cursor: default;
}

.cal-day-cell .day-number {
  font-size: 0.92rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.2;
}

.cal-day-cell.has-event {
  background: rgba(30, 94, 168, 0.07);
  border-color: #cbd5e1;
  font-weight: 700;
}

.cal-day-cell.has-event .day-number {
  color: #1e5ea8;
  font-weight: 800;
}

.cal-day-cell .day-event-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1e5ea8;
  margin-top: 4px;
}

.cal-day-cell.has-event .day-event-tag {
  display: block;
  font-size: 0.62rem;
  line-height: 1.15;
  background: #1e5ea8;
  color: #ffffff;
  padding: 2px 3px;
  border-radius: 4px;
  margin-top: 4px;
  text-align: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cal-day-cell.selected {
  background: #0b2545 !important;
  border-color: #0b2545 !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(11, 37, 69, 0.3);
}

.cal-day-cell.selected .day-number {
  color: #ffffff !important;
  font-weight: 800;
}

.cal-day-cell.selected .day-event-dot {
  background: #ffdf70 !important;
}

.cal-day-cell.selected .day-event-tag {
  background: #ffdf70 !important;
  color: #0b2545 !important;
  font-weight: 700;
}

.cal-legend {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid #f1f5f9;
  font-size: 0.78rem;
  color: #64748b;
  flex-wrap: wrap;
}

.cal-legend-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.cal-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.cal-legend-dot.has-event-dot {
  background: #1e5ea8;
}

.cal-legend-dot.selected-dot {
  background: #0b2545;
}

/* Selected Date Inspector Card */
.interactive-cal-inspector {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
}

.inspector-header {
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.inspector-date-label {
  font-size: 0.8rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.inspector-date-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0.2rem 0 0;
}

.inspector-event-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex-grow: 1;
}

.inspector-event-pill {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: 12px;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  width: fit-content;
}

.inspector-event-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
  margin: 0;
}

.inspector-event-desc {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.5;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 3px solid #cbd5e1;
  padding: 0.75rem 0.95rem;
  border-radius: 8px;
}

.inspector-meta-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: #334155;
  line-height: 1.45;
}

.inspector-meta-item strong {
  color: #0f172a;
  min-width: 90px;
}

.inspector-actions {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid #f1f5f9;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Empty State */
.inspector-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.5rem 1.5rem;
  flex-grow: 1;
  color: #64748b;
}

.inspector-empty-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  opacity: 0.6;
}

.inspector-empty-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.4rem;
}

.inspector-empty-desc {
  font-size: 0.86rem;
  line-height: 1.5;
  max-width: 320px;
  margin-bottom: 1.25rem;
}

/* Responsive Layout */
@media (max-width: 1024px) {
  .interactive-cal-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 600px) {
  .interactive-cal-card,
  .interactive-cal-inspector {
    padding: 1rem;
  }
  .cal-day-cell {
    min-height: 48px;
    padding: 0.25rem 0.15rem;
  }
  .cal-day-cell .day-number {
    font-size: 0.85rem;
  }
  .cal-day-cell.has-event .day-event-tag {
    display: none;
  }
  .cal-day-cell.has-event::after {
    content: "";
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #1e5ea8;
    margin-top: 2px;
  }
  .cal-day-cell.selected::after {
    background: #ffdf70;
  }
}

/* Past Events Calendar & Two-Way Link Styling */
.cal-pill-past {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #cbd5e1;
}

.cal-day-cell.has-past-event {
  background: rgba(13, 92, 58, 0.07);
  border-color: #cbd5e1;
}

.cal-day-cell.has-past-event .day-number {
  color: #0d5c3a;
  font-weight: 800;
}

.cal-day-cell.has-past-event .day-event-tag {
  background: #0d5c3a;
  color: #ffffff;
}

.cal-day-cell.has-past-event .day-event-dot {
  background: #0d5c3a;
}

.cal-legend-dot.past-event-dot {
  background: #0d5c3a;
}

.cal-event-counter {
  font-size: 0.62rem;
  font-weight: 700;
  background: #0b2545;
  color: #ffffff;
  border-radius: 8px;
  padding: 1px 4px;
  margin-top: 2px;
}

.event-card-cal-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.5rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #1e5ea8;
  background: #f0f7ff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.event-card-cal-btn:hover {
  background: #1e5ea8;
  color: #ffffff;
  border-color: #1e5ea8;
}

.news-date-badge.clickable-cal-date {
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.news-date-badge.clickable-cal-date:hover {
  transform: scale(1.05);
  background: #0b2545 !important;
  color: #ffffff !important;
}

.inspector-multi-event-item {
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px dashed #e2e8f0;
}

.inspector-multi-event-item:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

.inspector-event-thumb {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0.75rem;
  border: 1px solid #e2e8f0;
}

.cal-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.25rem 0.7rem;
  border-radius: 20px;
  white-space: nowrap;
}

.cal-status-open {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #cbd5e1;
}

.cal-status-open::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  display: inline-block;
  animation: pulseGreen 1.8s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.cal-status-upcoming {
  background: #eff6ff;
  color: #1e40af;
  border: 1px solid #cbd5e1;
}

.cal-status-scheduled {
  background: #f8fafc;
  color: #475569;
  border: 1px solid #e2e8f0;
}

.calendar-action-cell {
  text-align: right;
  white-space: nowrap;
}

/* --- FAQ ACCORDION STYLES --- */
.faq-section {
  padding: 4.5rem 0;
  background: var(--light-bg);
  border-top: 1px solid var(--border-color);
  scroll-margin-top: 4.5rem;
}

.faq-header-wrap {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.5rem;
}

.faq-header-wrap .section-title {
  margin-bottom: 0.75rem;
}

.faq-controls-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 920px;
  margin: 0 auto 1.5rem;
}

.faq-search-input {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 30px;
  padding: 0.5rem 1.25rem;
  flex: 1;
  min-width: 260px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.faq-search-input:focus-within {
  border-color: var(--mcnp-green);
  box-shadow: 0 0 0 3px rgba(30, 94, 168, 0.15);
}

.faq-search-input input {
  border: none;
  background: transparent;
  outline: none;
  width: 100%;
  font-size: 0.9rem;
}

.faq-toggle-all-btns {
  display: flex;
  gap: 0.5rem;
}

.faq-btn-toggle {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 0.4rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted-text);
  cursor: pointer;
  transition: var(--transition);
}

.faq-btn-toggle:hover {
  background: var(--dark-text);
  color: #fff;
  border-color: var(--dark-text);
}

.faq-filter-chips {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  max-width: 920px;
  margin: 0 auto 2rem;
}

.faq-chip {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 0.4rem 1.1rem;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--muted-text);
  cursor: pointer;
  transition: var(--transition);
}

.faq-chip:hover {
  border-color: #94a3b8;
  color: var(--dark-text);
}

.faq-chip.active {
  background: linear-gradient(135deg, var(--mcnp-green-dark), var(--mcnp-green));
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(30, 94, 168, 0.22);
}

.faq-container {
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.faq-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.faq-card[open] {
  border-color: #cbd5e1;
  box-shadow: 0 8px 24px rgba(30, 94, 168, 0.08);
}

.faq-question-btn {
  list-style: none;
  cursor: pointer;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  font-weight: 700;
  font-size: 1rem;
  color: #0f172a;
  user-select: none;
  background: #ffffff;
  transition: background 0.15s ease;
}

.faq-question-btn::-webkit-details-marker {
  display: none;
}

.faq-question-btn:hover {
  background: #f8fafc;
}

.faq-card[open] .faq-question-btn {
  border-bottom: 1px solid #edf2f7;
  background: #fbfcfe;
}

.faq-q-left {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  text-align: left;
}

.faq-category-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--mcnp-green);
}

.faq-icon-indicator {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--muted-text);
  flex-shrink: 0;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.faq-card[open] .faq-icon-indicator {
  transform: rotate(45deg);
  background: var(--mcnp-green);
  color: #ffffff;
}

.faq-answer-body {
  padding: 1.4rem 1.6rem;
  color: #334155;
  font-size: 0.93rem;
  line-height: 1.7;
}

.faq-answer-body p {
  margin-bottom: 0.85rem;
}

.faq-answer-body p:last-child {
  margin-bottom: 0;
}

.faq-callout {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #cbd5e1;
  border-radius: 6px;
  padding: 0.9rem 1.15rem;
  margin: 1rem 0;
  font-size: 0.88rem;
  color: #1e293b;
}

.faq-answer-body ul, .faq-answer-body ol {
  margin: 0.75rem 0 1rem 1.5rem;
  list-style: disc;
}

.faq-answer-body ol {
  list-style: decimal;
}

.faq-answer-body li {
  margin-bottom: 0.4rem;
}

/* ==========================================================================
   MOBILE & PHONE RESPONSIVE ENHANCEMENTS
   Optimized for smartphones (360px - 860px)
   ========================================================================== */

/* --- Research Training Calendar Mobile Layout --- */
@media (max-width: 860px) {
  .calendar-section {
    padding: 2.75rem 0;
  }
  
  .calendar-topbar {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    margin-bottom: 1.25rem;
  }

  .calendar-search-box {
    max-width: 100%;
    width: 100%;
  }

  .calendar-filters {
    display: flex;
    overflow-x: auto;
    flex-wrap: nowrap;
    gap: 0.45rem;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    margin-bottom: 0.75rem;
  }

  .cal-filter-btn {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 0.42rem 0.85rem;
    font-size: 0.8rem;
  }

  .calendar-table-wrap {
    background: transparent;
    border: none;
    box-shadow: none;
    overflow: visible;
  }

  .calendar-table {
    display: block;
    width: 100%;
  }

  .calendar-table thead {
    display: none;
  }

  .calendar-table tbody {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }

  .calendar-table tbody tr {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.15rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    box-sizing: border-box;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .calendar-table tbody tr:hover {
    background: #ffffff;
  }

  .calendar-table td {
    display: block;
    width: 100%;
    padding: 0;
    border: none;
    box-sizing: border-box;
  }

  .cal-date-cell {
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }

  .cal-date-badge {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.8rem;
    border-radius: 8px;
    background: linear-gradient(135deg, #0b2545, #1e5ea8);
    color: #ffffff;
  }

  .cal-date-badge .cal-date-month {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
  }

  .cal-date-badge .cal-date-day {
    font-size: 1.05rem;
    font-weight: 800;
  }

  .cal-date-badge .cal-date-year {
    font-size: 0.75rem;
    opacity: 0.85;
  }

  .cal-title-cell h4 {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0.35rem 0;
    color: #1e293b;
  }

  .cal-title-desc {
    font-size: 0.84rem;
    line-height: 1.5;
    color: #475569;
  }

  .cal-participants-cell {
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 8px;
    padding: 0.65rem 0.85rem;
  }

  .cal-participants-cell::before {
    content: "👥 Target Participants";
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
    margin-bottom: 0.25rem;
  }

  .cal-venue-cell {
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 8px;
    padding: 0.65rem 0.85rem;
  }

  .cal-venue-cell::before {
    content: "🏛️ Venue & Resource Lead";
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
    margin-bottom: 0.25rem;
  }

  .calendar-callout-footer {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.15rem;
    gap: 0.85rem;
  }

  .calendar-callout-btns {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .calendar-callout-btns .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* --- Research Agenda Mobile Phone Layout (INNOVATES & Modal) --- */
@media (max-width: 640px) {
  .innovates-showcase {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 2rem;
  }

  .innovates-showcase-card {
    padding: 1rem 0.55rem;
    border-radius: 10px;
  }

  .innovates-letter-badge {
    font-size: 0.72rem;
    padding: 0.15rem 0.55rem;
    margin-bottom: 0.5rem;
  }

  .innovates-showcase-img {
    width: 80px;
    max-height: 70px;
    margin-bottom: 0.5rem;
  }

  .innovates-showcase-tag {
    font-size: 0.72rem;
    line-height: 1.25;
    margin-bottom: 0.45rem;
  }

  .innovates-showcase-action {
    font-size: 0.68rem;
    padding: 0.3rem 0.45rem;
    border-radius: 6px;
  }

  .agenda-pillar-card {
    padding: 1.15rem 0.95rem;
    border-radius: 12px;
    gap: 1rem;
  }

  .agenda-pillar-card h3 {
    font-size: 1.18rem !important;
    line-height: 1.35;
  }

  .agenda-pillar-card [style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }

  .agenda-pillar-card button.btn {
    width: 100% !important;
    justify-content: center !important;
    text-align: center;
  }

  .agenda-modal-overlay {
    padding: 0.35rem;
  }

  .agenda-modal-container {
    max-height: 95vh;
    border-radius: 14px;
  }

  .agenda-modal-header {
    padding: 0.85rem 0.95rem;
    gap: 0.75rem;
  }

  .agenda-modal-emblem-wrap {
    width: 50px;
    height: 50px;
    padding: 4px;
    border-radius: 10px;
  }

  .agenda-modal-title {
    font-size: 1.05rem;
    line-height: 1.3;
  }

  .agenda-modal-sub {
    font-size: 0.78rem;
    -webkit-line-clamp: 2;
  }

  .agenda-modal-nav-tabs {
    padding: 0.35rem 0.65rem;
    gap: 0.35rem;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .agenda-tab-btn {
    flex: 0 0 auto;
    min-width: unset;
    padding: 0.45rem 0.7rem;
    font-size: 0.76rem;
    white-space: nowrap;
  }

  .agenda-modal-body {
    padding: 1rem 0.85rem;
  }

  .agenda-subtopic-categories-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .agenda-subtopic-cat-card {
    padding: 0.85rem;
  }

  .agenda-outcomes-grid {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .agenda-outcome-card {
    padding: 0.75rem 0.85rem;
  }

  .agenda-narrative-box {
    padding: 0.85rem;
    border-radius: 0 8px 8px 0;
  }

  .agenda-focus-box {
    padding: 0.85rem;
    gap: 0.65rem;
    border-radius: 8px;
  }

  .agenda-focus-icon {
    font-size: 1.3rem;
  }

  .agenda-focus-p {
    font-size: 0.88rem;
  }

  .agenda-study-card {
    padding: 0.95rem;
  }

  .agenda-activity-item {
    padding: 0.85rem;
    gap: 0.75rem;
  }
}

/* --- Small Screen Phone Specifics (<= 480px) --- */
@media (max-width: 480px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .cal-date-badge {
    padding: 0.3rem 0.65rem;
    font-size: 0.82rem;
  }

  .cal-date-badge .cal-date-day {
    font-size: 0.95rem;
  }

  .cal-title-cell h4 {
    font-size: 0.98rem;
  }

  .innovates-showcase {
    gap: 0.5rem;
  }

  .innovates-showcase-card {
    padding: 0.85rem 0.45rem;
  }

  .innovates-showcase-img {
    width: 68px;
    max-height: 60px;
  }

  .innovates-showcase-tag {
    font-size: 0.68rem;
  }
}

/* SOP Form Direct Download Links */
.sop-form-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  font-size: 0.74rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  line-height: 1.3;
}
.sop-form-link.mcnp-link {
  background: #ffffff;
  color: var(--mcnp-green, #1e5ea8);
  border: 1px solid #cbd5e1;
}
.sop-form-link.mcnp-link:hover {
  background: var(--mcnp-green, #1e5ea8);
  color: #ffffff;
}
.sop-form-link.isap-link {
  background: #ffffff;
  color: var(--isap-blue, #7a1f2d);
  border: 1px solid #cbd5e1;
}
.sop-form-link.isap-link:hover {
  background: var(--isap-blue, #7a1f2d);
  color: #ffffff;
}
.sop-form-link.pdf-link {
  background: #ffffff;
  color: #b91c1c;
  border: 1px solid #cbd5e1;
}
.sop-form-link.pdf-link:hover {
  background: #b91c1c;
  color: #ffffff;
}

/* ==========================================================================
   FEATURED ARTICLE / LATEST ARTICLES SHOWCASE ON HOME
   ========================================================================== */
.btn-outline-mcnp {
  background: transparent;
  color: var(--mcnp-green-dark, #0d5c3a);
  border: 1.5px solid var(--mcnp-green, #137748);
  font-weight: 700;
  padding: 0.65rem 1.4rem;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.25s ease;
}

.btn-outline-mcnp:hover {
  background: var(--mcnp-green, #137748);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(19, 119, 72, 0.25);
}

.featured-article-card {
  display: block;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
  margin-top: 1rem;
}

.featured-article-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
  border-color: #cbd5e1;
}

.featured-article-inner {
  padding: 2.25rem 2.5rem;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 2.25rem;
}

.featured-article-thumb-wrap {
  flex-shrink: 0;
  width: 320px;
  max-width: 100%;
  height: 200px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  background: #0f172a;
}

.featured-article-thumb-link {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.featured-article-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.featured-article-card:hover .featured-article-thumb-img {
  transform: scale(1.05);
}

.featured-article-content {
  flex: 1;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  padding: 0;
}

.featured-article-header-meta {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 0.95rem;
}

.featured-article-readtime {
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 600;
  margin-left: auto;
}

.featured-article-title {
  font-size: 1.55rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
  margin-bottom: 0.85rem;
}

.featured-article-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.featured-article-title a:hover {
  color: var(--mcnp-green, #137748);
}

.featured-article-excerpt {
  color: #475569;
  font-size: 0.96rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
  text-align: justify;
  text-justify: inter-word;
}

.featured-article-alignments {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  padding: 1rem 0;
  margin-bottom: 1.35rem;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
}

.featured-align-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.featured-align-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.featured-align-icons {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.featured-align-icons img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  border-radius: 3px;
  transition: transform 0.2s ease;
  vertical-align: middle;
}

.featured-align-icons a:hover img,
.featured-align-icons img:hover {
  transform: scale(1.18);
}

.featured-article-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

@media (max-width: 991px) {
  .featured-article-inner {
    flex-direction: column;
    padding: 1.75rem 1.5rem;
    gap: 1.5rem;
  }
  .featured-article-thumb-wrap {
    width: 100%;
    height: 220px;
  }
  .featured-article-title {
    font-size: 1.3rem;
  }
  .featured-article-readtime {
    margin-left: 0;
  }
}

/* ==============================================================================
   SPEED, MOBILE RESPONSIVENESS & TOUCH TARGET OPTIMIZATIONS
   ============================================================================== */

/* 1. Global Viewport & Rendering Guardrails */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: inherit;
}

body {
  max-width: 100%;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* 2. Form Inputs on Mobile (Prevent iOS Auto-Zoom on Focus) */
@media screen and (max-width: 768px) {
  input[type="text"],
  input[type="email"],
  input[type="search"],
  input[type="tel"],
  input[type="password"],
  select,
  textarea {
    font-size: 16px !important;
  }
}

/* 3. Touch Target Sizing for Mobile & Touch Devices */
@media (pointer: coarse) {
  .nav-link,
  .mobile-toggle,
  .btn,
  .filter-btn,
  .news-view-tab-btn,
  .article-expand-toggle,
  .dropdown-item {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .nav-item.dropdown .dropdown-toggle {
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
  }

  .filter-btn,
  .course-filter-btn {
    padding: 0.55rem 0.95rem;
  }
}

/* 4. Smooth Momentum Scrolling for Wide Tables and Filter Bars */
.table-responsive,
.filter-tags,
.event-filter-bar,
.course-filters-wrapper {
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

/* 5. Reduced Motion Accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
