/* =========================
   Design Tokens
   ========================= */
:root {
  --npc-navy: #0b2747;
  --npc-navy-dark: #041529;
  --npc-gold: #f3b041;
  --npc-blue-light: #e8f0ff;
  --npc-border: #e3e3ea;
  --npc-text: #222222;

  --page-bg: #f5f5f7;
  --card-bg: #ffffff;
}

/* =========================
   Base / Layout
   ========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  color: var(--npc-text);
  background-color: var(--page-bg);

  /* sticky footer layout */
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

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

a:focus-visible {
  outline: 2px solid var(--npc-gold);
  outline-offset: 2px;
}

img,
iframe {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* =========================
   Header / Nav
   ========================= */
.site-header {
  background: var(--npc-navy);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
}

.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.75rem 0;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  white-space: nowrap;
}

.logo-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #ffffff55;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.logo-text {
  font-weight: 600;
  font-size: 0.95rem;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
}

nav a {
  opacity: 0.9;
  padding-bottom: 0.2rem;
  border-bottom: 2px solid transparent;
}

nav a:hover,
nav a:focus-visible {
  opacity: 1;
  border-bottom-color: var(--npc-gold);
}

/* =========================
   Social Icons
   ========================= */
.social-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.social-link {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #ffffff66;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  opacity: 0.9;
  transition:
    background 0.15s ease,
    opacity 0.15s ease,
    transform 0.08s ease-out;
}

.social-link:hover,
.social-link:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  opacity: 1;
  transform: translateY(-1px);
}

.social-link--yt {
  font-size: 0.9rem;
}

/* =========================
   Announcement Bar
   ========================= */
.announcement-bar {
  background: #eceff4;
  text-align: center;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  border-bottom: 1px solid #d8dde7;
}

.announcement-bar a {
  color: #0b2765;
  transition: color 0.15s ease;
}

.announcement-bar a:hover {
  color: #1b4bb8;
  text-decoration: underline;
}

/* =========================
   Buttons
   ========================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.4rem;
  font-size: 0.95rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 0.08s ease-out,
    box-shadow 0.08s ease-out,
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
}

.btn-primary {
  background: var(--npc-gold);
  color: #432202;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.22);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #f7bc5c;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.26);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid #ffffff55;
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: #ffffff22;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--npc-navy);
  border: 1px solid var(--npc-navy);
  padding-inline: 1.6rem;
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background: var(--npc-navy);
  color: #fff;
  transform: translateY(-1px);
}

/* =========================
   Hero (Home + small variants)
   ========================= */
.hero {
  background: linear-gradient(135deg, var(--npc-navy), #163b66);
  color: #fff;
  padding: 2.5rem 0 2rem;
}

.hero-inner {
  display: grid;
  gap: 2rem;
}

.hero-left h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
}

.hero-left p {
  margin: 0 0 1.5rem;
  max-width: 36rem;
  font-size: 0.98rem;
  opacity: 0.95;
}

.hero-meta {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-right {
  border-radius: 12px;
  padding: 1.25rem 1.4rem;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.9rem;
}

.hero-right h2 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  font-weight: 500;
}

.hero-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.hero-list li {
  position: relative;
  padding-left: 1.25rem;
  line-height: 1.4;
}

.hero-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--npc-gold);
  font-size: 1.1em;
}

/* smaller hero band used on about/contact/legal pages */
.hero.hero--small {
  padding: 1.75rem 0 1.5rem;
}

.hero.hero--small h1 {
  font-size: 1.8rem;
}

/* =========================
   Generic Section Headers
   ========================= */
.section-header {
  margin-bottom: 1.75rem;
}

.section-header h2 {
  margin: 0 0 0.4rem;
  font-size: 1.6rem;
  font-weight: 600;
  color: #1f2933;
  letter-spacing: 0.01em;
}

.section-header p {
  margin: 0;
  font-size: 0.95rem;
  color: #555;
  max-width: 40rem;
}

/* =========================
   Info / Card Section (Home)
   ========================= */
.info-section {
  padding: 2.5rem 0 2.75rem;
}

/* Responsive grid that adapts to 1–3 cards cleanly */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--card-bg);
  border-radius: 10px;
  padding: 1.25rem 1.3rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
  border: 1px solid var(--npc-border);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.card h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.card p {
  margin: 0;
  font-size: 0.94rem;
  color: #555;
}

.card a.more-link {
  margin-top: 0.4rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--npc-navy);
}

.card a.more-link span {
  font-size: 0.95em;
  opacity: 0.8;
}

/* =========================
   NPC News (Home) – unified
   ========================= */
.news-section {
  padding: 3rem 0 3.2rem;
  background: transparent;
}

.news-header {
  text-align: center;
  margin-bottom: 2.2rem;
}

.news-header h2 {
  margin: 0 0 0.6rem;
  font-size: 1.6rem;
  font-weight: 600;
  color: #1f2933;
  letter-spacing: 0.01em;
}

.news-header p {
  margin: 0;
  max-width: 40rem;
  margin-inline: auto;
  font-size: 0.96rem;
  color: #6b7280;
}

.news-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.4fr);
  gap: 1.75rem;
  align-items: stretch;
}

/* =========================
   CAROUSEL STYLES - FIXED
   ========================= */

/* Featured Carousel Card */
.featured-carousel.card {
  background: var(--card-bg);
  border-radius: 14px;
  padding: 2rem 1.5rem 3rem;
  border: 1px solid var(--npc-border);
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.06);
  position: relative;
  overflow: hidden;
}

/* Track that slides left/right */
.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
}

/* Each slide takes up full width of the viewport/track */
.carousel-item {
  flex: 0 0 100%;
  box-sizing: border-box;
  position: relative;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Content styles inside the carousel item */
.news-feature-tag {
  position: absolute;
  top: -1rem;
  right: 1.5rem;
  background: var(--npc-navy);
  color: #fff;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  z-index: 2;
}

.carousel-item h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #111827;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.news-feature-title {
  margin: 0.1rem 0 0;
  font-weight: 500;
  font-size: 0.95rem;
  text-transform: none;
  letter-spacing: 0.01em;
  color: #374151;
}

.news-feature-body {
  margin: 0.2rem 0 0.4rem;
  font-size: 0.92rem;
  color: #4b5563;
  line-height: 1.5;
}

/* =========================
   NAVIGATION ARROWS
   ========================= */

.carousel-controls {
  position: absolute;
  bottom: 1rem;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  padding: 0 1.5rem;
}

.carousel-controls button {
  pointer-events: auto;
}

.prev-btn,
.next-btn {
  border: none;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  transition: background 0.2s ease, transform 0.1s ease;
}

.prev-btn:hover,
.next-btn:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: scale(1.05);
}

.prev-btn:active,
.next-btn:active {
  transform: scale(0.97);
}

/* =========================
   DOT INDICATORS
   ========================= */

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  pointer-events: auto;
}

.carousel-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 2px solid var(--npc-navy);
  background: transparent;
  cursor: pointer;
  padding: 0;
  display: inline-block;
  transition: background 0.2s ease, transform 0.1s ease, border-color 0.2s ease;
}

.carousel-dots .dot.active {
  background: var(--npc-navy);
  border-color: var(--npc-navy);
  transform: scale(1.1);
}

/* Right column: video card */
.news-video-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.news-eyebrow {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #111827;
  letter-spacing: 0.01em;
}

.video-embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.18);
  background: #000;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.news-meta {
  margin: 0.1rem 0 0;
  font-size: 0.86rem;
  color: #6b7280;
}

.news-body {
  margin: 0.25rem 0 0;
  font-size: 0.94rem;
  color: #4b5563;
}

.news-cta {
  margin-top: 2rem;
  text-align: center;
  grid-column: 1 / -1;
}

/* =========================
   Recent Reports (Home)
   ========================= */
.recent-reports {
  padding: 3rem 0 3.2rem;
  background: var(--page-bg);
}

.recent-reports-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
}

.recent-report-card {
  background: var(--card-bg);
  border-radius: 14px;
  padding: 1.4rem 1.5rem 1.3rem;
  border: 1px solid var(--npc-border);
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  align-items: flex-start;
}

/* centered the cover within each card */
.recent-report-cover-wrap {
  margin-bottom: 0.6rem;
  max-width: 260px;
  margin-inline: auto;
}

.recent-report-cover {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--npc-border);
  display: block;
}

.recent-report-card h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: #111827;
}

.recent-report-body {
  margin: 0;
  font-size: 0.92rem;
  color: #4b5563;
}

/* make the pill-style "View report" link sit nicely */
.recent-report-card .btn {
  margin-top: 1rem;
  align-self: center;
  padding-inline: 1.6rem;
  border-radius: 999px;
  min-width: 220px;      /* force a nice, wide pill */
  justify-content: center;
}

/* =========================
   Members Directory – table layout
   ========================= */
.members-directory-section {
  padding: 3rem 0 4rem;
  background: #f9fafb;
}

.members-header {
  max-width: 720px;
  margin: 0 auto 2rem;
  text-align: center;
}

.members-header h1 {
  font-size: 2rem;
  color: var(--npc-navy);
  margin-bottom: 0.25rem;
}

.members-header p {
  color: #6b7280;
  font-weight: 500;
}

.members-controls {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.members-controls label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7280;
  margin-bottom: 0.25rem;
}

.members-controls .filter-search {
  flex: 1 1 240px;
  min-width: 200px;
}

.members-controls .filter {
  min-width: 180px;
}

.members-controls input[type="search"],
.members-controls select {
  padding: 0.6rem 0.9rem;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  font-size: 0.95rem;
  width: 100%;
  font-family: inherit;
  background: #f9fafb;
  color: #111827;
}

.members-controls input[type="search"]:focus,
.members-controls select:focus {
  outline: none;
  border-color: var(--npc-navy);
  box-shadow: 0 0 0 1px var(--npc-navy);
}

/* Directory table */
.members-table {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid var(--npc-border);
  overflow: hidden;
}

.members-table-header,
.members-table-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #eee;
  column-gap: 1rem;
}

.members-table-header {
  background: #f3f4f6;
  font-weight: 600;
  font-size: 0.88rem;
  color: #374151;
}

.members-table-row {
  background: #fff;
  font-size: 0.9rem;
}

.members-table-row:nth-child(even) {
  background: #fafafa;
}

/* Name & title cell */
.member-name-block {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.member-name {
  font-weight: 600;
  color: #111827;
}

.member-title {
  color: #555;
  font-size: 0.85rem;
}

/* Organization cell */
.member-org-cell {
  font-size: 0.9rem;
  color: #111827;
}

/* Category cell */
.member-category-cell {
  font-size: 0.85rem;
  color: #374151;
}

/* Responsive table */
@media (max-width: 768px) {
  .members-table-header,
  .members-table-row {
    grid-template-columns: 1.5fr 1fr;
  }

  .member-category-cell {
    margin-top: 0.35rem;
    grid-column: 1 / -1;
  }
}

/* =========================
   Legal-style Pages
   (about, privacy, terms, etc.)
   ========================= */
.legal-section {
  padding: 3rem 0 3.5rem;
}

.legal-header {
  margin-bottom: 1.5rem;
}

.legal-header h1 {
  margin: 0 0 0.5rem;
  font-size: 2rem;
  font-weight: 600;
  color: #1f2933;
  letter-spacing: 0.01em;
}

.legal-header p {
  margin: 0;
  font-size: 0.95rem;
  color: #555;
}

.legal-content {
  background: var(--card-bg);
  border-radius: 14px;
  padding: 1.8rem 1.9rem;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
  border: 1px solid var(--npc-border);
  font-size: 0.95rem;
  color: #444;
}

.legal-content h2 {
  margin-top: 1.5rem;
  margin-bottom: 0.4rem;
  font-size: 1.1rem;
}

.legal-content h3 {
  margin-top: 1.2rem;
  margin-bottom: 0.4rem;
  font-size: 1rem;
}

.legal-content p {
  margin-top: 0.2rem;
  margin-bottom: 0.8rem;
}

.legal-content ul {
  margin: 0.2rem 0 0.9rem 1.2rem;
  padding: 0;
}

.legal-content blockquote {
  margin: 0.8rem 0;
  padding-left: 1rem;
  border-left: 3px solid #d1d5db;
  font-style: italic;
  color: #555;
}

/* =========================
   Members – legacy card layout
   ========================= */
.members-section {
  padding: 3rem 0 4rem;
  background: #f9fafb;
}

.members-header {
  max-width: 720px;
  margin: 0 auto 2rem;
  text-align: center;
}

.members-header h1 {
  font-size: 2rem;
  color: var(--npc-navy);
  margin-bottom: 0.25rem;
}

.members-header p {
  color: #6b7280;
  font-weight: 500;
}

.members-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.75rem;
}

.member-card {
  background: #ffffff;
  border-radius: 0.75rem;
  border: 1px solid var(--npc-border);
  padding: 1.25rem 1.5rem;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.04);
}

.member-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--npc-text);
  margin-bottom: 0.35rem;
}

.member-role {
  font-size: 0.9rem;
  color: #4b5563;
  margin-bottom: 0.2rem;
}

.member-org {
  font-size: 0.9rem;
  color: #111827;
}

.member-category-pill {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: #eef2ff;
  color: #3730a3;
  white-space: nowrap;
}

.members-last-updated {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: #6b7280;
  text-align: right;
}

/* =========================
   Reports Library
   ========================= */
.reports-section {
  padding: 3rem 0 3.5rem;
  background: var(--page-bg);
}

.reports-header {
  max-width: 720px;
  margin: 0 auto 2rem;
  text-align: center;
}

.reports-header h1 {
  margin: 0 0 0.5rem;
  font-size: 2rem;
  font-weight: 600;
  color: #1f2933;
  letter-spacing: 0.01em;
}

.reports-header p {
  margin: 0;
  font-size: 0.95rem;
  color: #555;
}

/* Filters */
.reports-filters {
  background: var(--card-bg);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
  border: 1px solid var(--npc-border);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: flex-end;
  margin-bottom: 2rem;
}

.filter-search {
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.filter {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 160px;
}

.reports-filters label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7280;
}

.reports-filters input[type="search"],
.reports-filters select {
  border-radius: 999px;
  border: 1px solid #d1d5db;
  padding: 0.5rem 0.9rem;
  font-size: 0.9rem;
  font-family: inherit;
  color: #111827;
  background: #f9fafb;
}

.reports-filters input[type="search"]:focus,
.reports-filters select:focus {
  outline: none;
  border-color: var(--npc-navy);
  box-shadow: 0 0 0 1px var(--npc-navy);
}

/* Report cards */
.reports-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
}

.report-card {
  background: var(--card-bg);
  border-radius: 14px;
  padding: 1.4rem 1.5rem 1.3rem;
  border: 1px solid var(--npc-border);
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.report-meta-row {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.25rem;
}

.report-year-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--npc-navy);
  color: #ffffff;
}

.report-format {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #6b7280;
}

.report-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: #111827;
}

.report-description {
  margin: 0.15rem 0 0.35rem;
  font-size: 0.92rem;
  color: #4b5563;
}

.report-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.15rem 0 0.5rem;
}

.report-tags span {
  font-size: 0.78rem;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background: #eef2ff;
  color: #3730a3;
}

.report-actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.report-actions .btn {
  font-size: 0.9rem;
  padding-inline: 1.2rem;
}

.reports-note {
  margin-top: 1.8rem;
  font-size: 0.85rem;
  color: #6b7280;
}

/* =========================
   Footer
   ========================= */
footer {
  background: var(--npc-navy);
  color: #d8dde7;
  font-size: 0.8rem;
  padding: 1.5rem 0 1.75rem;
  margin-top: 1.5rem;
  flex-shrink: 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-links a {
  opacity: 0.9;
}

.footer-links a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* =========================
   Responsive
   ========================= */
@media (min-width: 640px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    align-items: center;
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .members-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .news-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .reports-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .recent-reports-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  nav ul {
    gap: 1.75rem;
  }
}

@media (min-width: 1024px) {
  .reports-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .members-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .top-bar {
    flex-wrap: wrap;
  }

  .news-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .news-feature-tag {
    right: 1.2rem;
  }

  /* Responsive Tweaks for Carousel */
  .prev-btn,
  .next-btn {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }

  .featured-carousel {
    padding: 1.5rem 1rem 2.5rem;
  }

  .carousel-item {
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .carousel-dots .dot {
    width: 8px;
    height: 8px;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }
}

/* =========================
   Members Directory – vertical stacking for mobile
   ========================= */
@media (max-width: 768px) {
  /* Stack all fields vertically in each row */
  .members-table-row {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #eee;
    background: #fff;
    font-size: 0.95rem;
  }
  .member-name-block,
  .member-org-cell,
  .member-category-cell {
    margin: 0;
    width: 100%;
  }
  .member-name-block {
    font-weight: 600;
  }
  .member-title {
    color: #555;
    font-size: 0.85rem;
    margin-top: 0.15rem;
  }
  .member-org-cell {
    font-size: 0.9rem;
    color: #111827;
  }
  .member-category-cell {
    font-size: 0.85rem;
    color: #374151;
    margin-top: 0.15rem;
  }
  /* Optional: Stack header fields vertically too */
  .members-table-header {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem;
    padding: 1rem 1.25rem;
    background: #f3f4f6;
    font-weight: 600;
    font-size: 0.88rem;
    color: #374151;
    border-bottom: 1px solid #eee;
  }
}

/* Make links inside legal-style content visibly look like links */
/* NOTE: The existing rule below was fixed to be effective */
.legal-content a {
  color: var(--npc-navy);
  text-decoration: underline;
}

/* =========================
   Content Link Visibility Override (Fix)
   ========================= */

/* Make all links inside the main article content distinctly visible */
.legal-content a {
  color: var(--npc-navy); /* Sets the link color to your Navy blue */
  text-decoration: underline; /* Adds the underline */
}

/* Also apply the same rule to links in the general text sections (like the 'Introduction' section) */
.legal-section p a,
.legal-section blockquote a {
  color: var(--npc-navy);
  text-decoration: underline;
}