/* ========================================
   IBF — Apple-inspired Minimal Stylesheet
   Modern, elegant, refined. Powered by Inter.
   ======================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11', 'ss01';
}

img { max-width: 100%; height: auto; display: block; }
a {
  color: var(--primary-light);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--primary); }
ul, ol { list-style: none; }

::selection { background: var(--primary-lighter); color: var(--primary); }

/* ===== VARIABLES — Apple-inspired palette ===== */
:root {
  /* Primary — refined institutional blue */
  --primary: #1d3a5f;
  --primary-light: #4a6fa5;
  --primary-lighter: #eef2f8;
  --primary-dark: #0f2540;

  /* Accent — refined gold */
  --accent: #c9a961;
  --accent-light: #f7f3e8;
  --accent-hover: #b89548;

  /* Surfaces — Apple's signature grays */
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --bg-card: #ffffff;
  --bg-elevated: #fbfbfd;
  --bg-glass: rgba(255, 255, 255, 0.72);

  /* Text — Apple's text hierarchy */
  --text: #1d1d1f;
  --text-secondary: #424245;
  --text-light: #6e6e73;
  --text-muted: #86868b;

  /* Borders — subtle dividers */
  --border: #d2d2d7;
  --border-medium: #d2d2d7;
  --border-light: #e8e8ed;
  --border-subtle: #f5f5f7;

  /* Shadows — refined, layered */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 24px 60px rgba(0, 0, 0, 0.12);

  /* Radius — Apple uses bigger curves */
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 980px;

  /* Layout */
  --container: 1400px;
  --container-narrow: 1100px;
  --container-text: 1400px;
  --header-h: 64px;

  /* Typography — Inter font system */
  --font-body-size: 1.0625rem;
  --font-body-leading: 1.75;
  --font-h1-size: clamp(2.25rem, 5vw, 3.25rem);
  --font-h2-size: clamp(1.75rem, 3.5vw, 2.5rem);
  --font-h3-size: 1.375rem;
  --font-small: 0.875rem;
  --font-xs: 0.8125rem;

  /* Motion */
  --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: inherit;
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
  letter-spacing: -0.022em;
}
h1 {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  margin-bottom: 0.4em;
}
h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.028em;
  margin-bottom: 0.5em;
}
h3 {
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.018em;
  margin-bottom: 0.5em;
}
h4 {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.012em;
  margin-bottom: 0.5em;
}
p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.65;
}
small { font-size: 0.8125rem; color: var(--text-light); }

/* ===== CONTAINER ===== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 768px) {
  .container { padding: 0 32px; }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition);
  border: 1.5px solid transparent;
  text-align: center;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}
.btn-primary:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-outline:hover {
  border-color: var(--text);
  color: var(--text);
  background: var(--bg-alt);
}

.btn-light {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
}
.btn-light:hover {
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
  border-color: transparent;
}

.btn-sm { padding: 8px 18px; font-size: 0.8125rem; }
.btn-lg { padding: 16px 36px; font-size: 1.0625rem; font-weight: 600; }

/* ===== HEADER — frosted glass ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.08);
  z-index: 1000;
  transition: background var(--transition), border-color var(--transition);
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.85);
  border-bottom-color: rgba(0, 0, 0, 0.12);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  height: var(--header-h);
}
@media (min-width: 992px) {
  .header-inner {
    grid-template-columns: 1fr auto 1fr;
  }
}

/* ===== LOGO ===== */
.logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  flex-shrink: 0;
  grid-column: 1;
  justify-self: start;
}

.logo-main {
  font-size: 1.625rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.logo-fullname {
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  line-height: 1.3;
}

@media (max-width: 767px) {
  .logo-fullname {
    display: none;
  }
}

/* ===== NAV ===== */
.main-nav {
  display: block;
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 0.5px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;

  opacity: 0;
  visibility: hidden;
  transform: translateY(-16px);
  pointer-events: none;
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.45s ease;
}
.main-nav.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

@media (min-width: 992px) {
  .main-nav,
  .main-nav.active {
    display: flex;
    justify-content: center;
    flex: 1;
    position: static;
    background: none;
    box-shadow: none;
    border: none;
    overflow: visible;
    max-height: none;
    backdrop-filter: none;
    grid-column: 2;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }
}

/* ===== NAV OVERLAY ===== */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.25);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s ease 0.05s,
              visibility 0.4s ease 0.05s;
  -webkit-tap-highlight-color: transparent;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
body.nav-open .nav-overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.nav-open {
  overflow: hidden;
}
@media (min-width: 992px) {
  body.nav-open {
    overflow: auto;
  }
}

/* Staggered menu items on mobile */
@media (max-width: 991px) {
  .main-nav .nav-list > li {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .main-nav.active .nav-list > li {
    opacity: 1;
    transform: translateY(0);
  }
  .main-nav.active .nav-list > li:nth-child(1) { transition-delay: 0.08s; }
  .main-nav.active .nav-list > li:nth-child(2) { transition-delay: 0.14s; }
  .main-nav.active .nav-list > li:nth-child(3) { transition-delay: 0.20s; }
  .main-nav.active .nav-list > li:nth-child(4) { transition-delay: 0.26s; }
  .main-nav.active .nav-list > li:nth-child(5) { transition-delay: 0.32s; }
  .main-nav.active .nav-list > li:nth-child(6) { transition-delay: 0.38s; }

  /* Sub-dropdown slide animation on mobile */
  .nav-dropdown.open .dropdown-menu {
    animation: dropdownSlide 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }
}

@keyframes dropdownSlide {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.nav-list {
  display: flex;
  flex-direction: column;
  padding: 12px 0;
}
@media (min-width: 992px) {
  .nav-list {
    flex-direction: row;
    align-items: center;
    gap: 0;
    padding: 0;
  }
}

.nav-list > li > a {
  display: block;
  padding: 14px 24px;
  color: var(--text-secondary);
  font-weight: 400;
  font-size: 0.9375rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition);
}
.nav-list > li > a:hover { color: var(--text); }
.nav-list > li.active > a { color: var(--text); font-weight: 500; }

@media (min-width: 992px) {
  .nav-list > li {
    display: flex;
    align-items: center;
  }

  .nav-list > li > a {
    padding: 10px 20px;
    font-size: 0.9375rem;
  }

  .nav-list > li:not(:last-child)::after {
    content: "";
    display: block;
    width: 1px;
    height: 18px;
    flex-shrink: 0;
    background: var(--border-medium);
  }
}

/* ===== DROPDOWN ===== */
.nav-dropdown { position: relative; }

.dropdown-toggle::after {
  content: "";
  display: inline-block;
  margin-left: 4px;
  vertical-align: 1px;
  width: 0;
  height: 0;
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  border-top: 4px solid currentColor;
  opacity: 0.6;
  transition: transform var(--transition);
}

.dropdown-menu {
  display: none;
  background: var(--bg);
  padding: 4px 0;
}
.nav-dropdown.open .dropdown-menu { display: block; }

@media (min-width: 992px) {
  .dropdown-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 220px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border: 0.5px solid var(--border-light);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    display: block;
  }
  .nav-dropdown:hover .dropdown-menu,
  .nav-dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }
  .nav-dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
  }
}

.dropdown-menu a {
  display: block;
  padding: 9px 14px;
  color: var(--text-secondary);
  font-size: 0.875rem;
  white-space: nowrap;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.dropdown-menu a:hover {
  background: var(--bg-alt);
  color: var(--text);
}

/* ===== HAMBURGER ===== */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1001;
  grid-column: 3;
  justify-self: end;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
@media (min-width: 992px) { .nav-toggle { display: none; } }

/* ===== HEADER ACTIONS (right column) ===== */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  grid-column: 3;
  justify-self: end;
}
@media (min-width: 992px) {
  .header-actions {
    gap: 16px;
    grid-column: 3;
  }
}

.btn-header {
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 500;
  flex-shrink: 0;
}
@media (min-width: 992px) {
  .btn-header {
    padding: 7px 18px;
    font-size: 0.9375rem;
  }
}

.nav-separator {
  display: none;
  width: 1px;
  height: 20px;
  flex-shrink: 0;
  background: var(--border-medium);
}
@media (min-width: 992px) {
  .nav-separator {
    display: block;
  }
}

/* ===== HERO — large, dramatic, Apple-style ===== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0.35) 50%,
    rgba(0, 0, 0, 0.7) 100%);
  pointer-events: none;
  z-index: 1;
}
.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: url('../img/hero-bg.svg');
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  pointer-events: none;
  z-index: 2;
}
.hero-badge {
  position: absolute;
  top: 88px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.9);
  padding: 6px 16px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 3;
  max-width: 820px;
  padding: 0 24px;
  animation: heroUp 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes heroUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero h1 {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.3em;
  letter-spacing: -0.04em;
  line-height: 1.05;
}
.hero-subtitle {
  font-size: clamp(1.0625rem, 1.8vw, 1.25rem);
  margin-bottom: 2.5rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 400;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: -0.005em;
}
.hero .btn {
  font-size: 0.9375rem;
  padding: 14px 28px;
}
.hero .btn-lg { padding: 16px 36px; font-size: 1rem; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  padding: 8px;
  z-index: 3;
  transition: color var(--transition);
}
.hero-scroll:hover { color: rgba(255, 255, 255, 0.95); }
.hero-scroll svg {
  animation: heroBounce 2.4s ease-in-out infinite;
}
@keyframes heroBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ===== PAGE HEADER ===== */
.page-header {
  background: linear-gradient(180deg, var(--bg-alt) 0%, #ffffff 100%);
  border-bottom: 1px solid var(--border-light);
  padding: 60px 0 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header h1 {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  position: relative;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 60%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
@media (min-width: 768px) {
  .page-header { padding: 80px 0 40px; }
}
.breadcrumb {
  font-size: 0.8125rem;
  margin-top: 14px;
  position: relative;
  color: var(--text-light);
  font-weight: 400;
  letter-spacing: 0.01em;
}
.breadcrumb a {
  color: var(--text-light);
  transition: color var(--transition);
}
.breadcrumb a:hover { color: var(--text); }
.breadcrumb span { color: var(--text-muted); margin: 0 6px; }

/* ===== MAIN ===== */
.main-content {
  min-height: 60vh;
  padding-top: var(--header-h);
}
.page-section {
  padding: 80px 0;
}
@media (min-width: 768px) {
  .page-section { padding: 100px 0; }
}
.page-section:last-of-type { padding-bottom: 120px; }

#latest-news {
  border-top: 1px solid var(--border-light);
}

.page-content { max-width: var(--container-text); margin: 0 auto; }

/* ----- Unified content typography (pages + news) ----- */
.page-content,
.post-content {
  line-height: var(--font-body-leading);
  font-size: var(--font-body-size);
  color: var(--text-secondary);
}

.page-content p,
.post-content p {
  margin-bottom: 1.25rem;
}

.page-content h2,
.post-content h2 {
  margin-top: 3rem;
}

.page-content h3,
.post-content h3 {
  margin-top: 2rem;
  color: var(--text);
}

.page-content ul, .page-content ol,
.post-content ul, .post-content ol {
  margin: 1.25rem 0 1.5rem 1.5rem;
  color: var(--text-secondary);
}

.page-content ul,
.post-content ul { list-style: disc; }

.page-content ol,
.post-content ol { list-style: decimal; }

.page-content li,
.post-content li {
  margin-bottom: 0.5rem;
  line-height: 1.65;
}

.page-content a,
.post-content a {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  font-weight: 500;
}

.page-content blockquote,
.post-content blockquote {
  border-left: 3px solid var(--accent);
  padding: 0.25rem 0 0.25rem 24px;
  margin: 2rem 0;
  color: var(--text);
  font-style: normal;
  font-size: 1.1875rem;
  line-height: 1.55;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.page-content-wide { max-width: var(--container); margin: 0 auto; }


/* ===== SECTION TITLE ===== */
.section-title {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-title h2 {
  margin-bottom: 0.75rem;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--text) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-title p {
  color: var(--text-light);
  max-width: 580px;
  margin: 0 auto;
  font-size: 1.0625rem;
  line-height: 1.55;
}

/* ===== CARDS GRID ===== */
.cards-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px) {
  .cards-grid.posts-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ===== CARD — Apple soft rounded ===== */
.card {
  background: var(--bg-card);
  border: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
  box-shadow: var(--shadow-xs);
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.card-image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg-alt);
}
.card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 50%,
    rgba(0,0,0,0.03) 80%,
    rgba(0,0,0,0.06) 100%
  );
  pointer-events: none;
  z-index: 1;
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.card:hover .card-image img { transform: scale(1.06); }
.card-body { padding: 24px 26px 28px; }
.card-category {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary-light);
  margin-bottom: 10px;
}
.card-date {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-light);
  margin-bottom: 10px;
  font-weight: 400;
}
.card h3 {
  font-size: 1.1875rem;
  margin-bottom: 10px;
  letter-spacing: -0.018em;
  line-height: 1.3;
}
.card h3 a { color: var(--text); }
.card h3 a:hover { color: var(--primary); }
.card p {
  font-size: 0.9375rem;
  color: var(--text-light);
  margin-bottom: 0;
  line-height: 1.55;
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 16px;
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--primary);
  transition: gap var(--transition), color var(--transition);
}
.card-link:hover {
  color: var(--primary-light);
  gap: 8px;
}

/* ===== FILTER BAR — Apple segmented ===== */
.filter-bar {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  margin: 0 auto 40px;
  background: var(--bg-alt);
  border-radius: var(--radius-pill);
  justify-content: center;
}
.filter-bar-wrap {
  display: flex;
  justify-content: center;
}
.filter-btn {
  padding: 8px 18px;
  border: none;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
  letter-spacing: -0.005em;
}
.filter-btn:hover { color: var(--text); }
.filter-btn.active {
  background: var(--bg);
  color: var(--text);
  box-shadow: var(--shadow-xs), 0 0 0 0.5px rgba(0, 0, 0, 0.04);
}

/* ===== POST SINGLE ===== */
.post-single {
  max-width: var(--container-text);
  margin: 0 auto;
  padding: 60px 24px 80px;
}
.post-single h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 0.3em;
  letter-spacing: -0.035em;
  font-weight: 800;
  line-height: 1.1;
}
.post-meta {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.post-meta .category {
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
}
.post-featured-image {
  margin-bottom: 2.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-height: 420px;
}
.post-featured-image img { width: 100%; height: 100%; object-fit: cover; }

/* ===== PUBLICATIONS TABLE — clean Apple table ===== */
.pub-table-wrap {
  margin: 1.5rem 0;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  background: var(--bg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}
.pub-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}
.pub-table th {
  background: var(--bg-alt);
  color: var(--text-secondary);
  padding: 14px 22px;
  text-align: left;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--border-light);
}
.pub-table td {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: middle;
  color: var(--text);
}
.pub-table tr:last-child td { border-bottom: none; }
.pub-table tr:hover td { background: var(--bg-alt); }
.pub-table tr { transition: background var(--transition); }
.pub-table td strong {
  font-weight: 600;
  letter-spacing: -0.012em;
  color: var(--text);
}
.pub-file {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px 8px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--bg);
  color: var(--text);
  font-weight: 500;
  font-size: 0.8125rem;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.pub-file:hover {
  border-color: var(--primary-light);
  background: var(--primary-lighter);
  color: var(--primary);
}
.pub-file:active {
  transform: scale(0.97);
}
.pub-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: #fef2f2;
  color: #dc2626;
  border-radius: 10px;
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
.pub-size {
  color: var(--text-muted);
  font-size: 0.8125rem;
  white-space: nowrap;
  font-weight: 400;
}
.pub-date {
  color: var(--text-light);
  white-space: nowrap;
  font-size: 0.875rem;
  font-weight: 400;
}

@media (max-width: 640px) {
  .pub-table-wrap {
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }
  .pub-table thead { display: none; }
  .pub-table tr {
    display: block;
    margin-bottom: 12px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 18px;
    background: var(--bg);
    box-shadow: var(--shadow-xs);
  }
  .pub-table td {
    display: block;
    padding: 4px 0;
    border: none;
  }
  .pub-table td:first-child { padding-top: 0; }
  .pub-table td:last-child { padding-top: 12px; }
  .pub-table td::before {
    content: attr(data-label);
    display: block;
    font-weight: 600;
    font-size: 0.6875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
  }
  .pub-table tr:hover td { background: transparent; }
}

/* ===== CONTACT FORM ===== */
.contact-form { max-width: 580px; margin: 0 auto; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
  font-size: 0.875rem;
  color: var(--text);
  letter-spacing: -0.005em;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-family: inherit;
  transition: all var(--transition);
  background: var(--bg);
  color: var(--text);
  letter-spacing: -0.005em;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--text);
  box-shadow: 0 0 0 4px rgba(29, 29, 31, 0.08);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-success {
  display: none;
  padding: 18px 24px;
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: var(--radius);
  color: #166534;
  text-align: center;
  font-weight: 500;
}
.form-error {
  padding: 14px 20px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--radius);
  color: #991b1b;
  text-align: center;
  font-weight: 500;
  font-size: 0.875rem;
}

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-box {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 44px 36px 36px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-xl);
}

.modal-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: var(--accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--accent);
  font-weight: 700;
}

.modal-box h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}

.modal-box p {
  margin: 0 0 28px;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.modal-box .btn {
  min-width: 120px;
}

/* ===== HIGHLIGHTS ===== */
.about-highlights {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  margin: 3rem 0;
}
@media (min-width: 640px) {
  .about-highlights { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px) {
  .about-highlights { grid-template-columns: repeat(3, 1fr); }
}
.highlight-card {
  text-align: center;
  padding: 36px 24px;
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  transition: transform var(--transition);
}
.highlight-card:hover {
  transform: translateY(-2px);
}
.highlight-number {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.04em;
}
.highlight-label {
  font-size: 0.875rem;
  color: var(--text-light);
  font-weight: 500;
  letter-spacing: -0.005em;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 72px 0 0;
  box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.08);
}
.footer-grid {
  display: grid;
  gap: 0;
  grid-template-columns: 1fr;
  padding-bottom: 56px;
}
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1.2fr;
  }
  .footer-col + .footer-col {
    position: relative;
    padding-left: 48px;
  }
  .footer-col + .footer-col::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: rgba(255, 255, 255, 0.12);
  }
}
.footer-col h4 {
  color: #ffffff;
  margin-bottom: 1.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.footer-col-about {
  padding-right: 48px;
}
.footer-col p,
.footer-col address {
  font-size: 0.875rem;
  line-height: 1.7;
  font-style: normal;
  color: rgba(255, 255, 255, 0.6);
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: #ffffff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  text-align: center;
  font-size: 0.8125rem;
}
.footer-bottom p { margin: 0; color: rgba(255, 255, 255, 0.45); font-size: 0.8125rem; }
.footer-credit { margin-top: 4px; }
.footer-credit a { color: rgba(255, 255, 255, 0.45); }
.footer-credit a:hover { color: #ffffff; }

/* ===== ARCHIVE LIST ===== */
.archive-list {
  max-width: var(--container-text);
  margin: 0 auto;
}
.archive-item {
  display: flex;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--border-light);
  align-items: flex-start;
  transition: all var(--transition);
}
.archive-item:first-child { padding-top: 0; }
.archive-item:last-child { border-bottom: none; }
.archive-item:hover {
  padding-left: 16px;
  margin-left: -16px;
  padding-right: 16px;
  margin-right: -16px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  border-bottom-color: transparent;
}
.archive-date {
  flex-shrink: 0;
  width: 64px;
  text-align: center;
  line-height: 1.1;
  padding-top: 4px;
}
.archive-date .day {
  font-size: 1.625rem;
  font-weight: 700;
  display: block;
  color: var(--text);
  letter-spacing: -0.025em;
}
.archive-date .month {
  font-size: 0.6875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  display: block;
  margin-top: 2px;
  font-weight: 600;
}
.archive-info { flex: 1; }
.archive-info h3 {
  font-size: 1.125rem;
  margin-bottom: 6px;
  letter-spacing: -0.018em;
}
.archive-info h3 a { color: var(--text); }
.archive-info h3 a:hover { color: var(--primary); }
.archive-info .category {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary-light);
  font-weight: 600;
  display: inline-block;
  margin-bottom: 4px;
}
.archive-info p {
  font-size: 0.9375rem;
  color: var(--text-light);
  margin-top: 6px;
  margin-bottom: 0;
  line-height: 1.55;
}

/* ===== FLYER SECTION ===== */
.flyer-section {
  background: var(--bg-alt);
  padding: 80px 0;
}
@media (min-width: 768px) {
  .flyer-section { padding: 120px 0; }
}
.flyer-content {
  display: grid;
  gap: 48px;
  align-items: center;
  max-width: var(--container-narrow);
  margin: 0 auto;
}
@media (min-width: 768px) {
  .flyer-content { grid-template-columns: 1fr 1fr; gap: 64px; }
}
.flyer-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--bg);
}
.flyer-text h2 {
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}
.flyer-text p {
  color: var(--text-light);
  font-size: 1.0625rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* ===== PAGINATION ===== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-top: 48px;
}
.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.875rem;
  transition: all var(--transition);
}
.pagination a {
  color: var(--text-secondary);
  text-decoration: none;
}
.pagination a:hover {
  background: var(--bg-alt);
  color: var(--text);
}
.pagination .current {
  background: var(--text);
  color: #fff;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .nav-list > li > a {
    padding: 18px 28px;
    font-size: 1.0625rem;
    border-bottom: 1px solid var(--border-subtle);
  }
  .nav-list > li:last-child > a { border-bottom: none; }
  .dropdown-menu { padding-left: 16px; background: transparent; }
  .dropdown-menu a {
    padding: 10px 24px;
    font-size: 0.875rem;
    border-bottom: 1px solid var(--border-subtle);
  }
  .btn-header {
    padding: 8px 16px;
    font-size: 0.8125rem;
  }
}

@media (max-width: 767px) {
  .hero { min-height: 85vh; }
  .page-section { padding: 56px 0; }
  .page-section:last-of-type { padding-bottom: 72px; }
  .post-single { padding: 40px 20px 64px; }
}

/* ===== UTILITIES ===== */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ===== HIGHLIGHT TEXT ===== */
.highlight-text {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--primary);
  background: var(--primary-lighter);
  padding: 1.5rem 2rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--primary);
  margin: 2rem 0 3rem;
  font-weight: 500;
}

/* ===== ABOUT / INSTITUTIONAL CARD ===== */
.about-section {
  padding: 80px 0;
  background: var(--bg);
}
@media (min-width: 768px) {
  .about-section { padding: 120px 0; }
}
.institutional-card {
  position: relative;
  max-width: var(--container-narrow);
  margin: 0 auto;
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  text-align: center;
  box-shadow: var(--shadow);
}
.institutional-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  border-radius: 0 0 4px 4px;
  background: var(--accent);
}
@media (min-width: 768px) {
  .institutional-card { padding: 80px 72px; }
}
.card-badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary-light);
  background: var(--primary-lighter);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 1.25rem;
}
.institutional-card-body h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
  font-weight: 700;
}
.institutional-card-body p {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1rem;
  letter-spacing: -0.005em;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.institutional-card-body p:last-of-type {
  margin-bottom: 1.75rem;
}
.card-text-large {
  font-size: 1.15rem !important;
  color: var(--text) !important;
  font-weight: 450;
}
.card-btn {
  margin-top: 0.25rem;
}

/* ===== SECTION DIVIDER ===== */
.section-divider {
  max-width: var(--container-narrow);
  height: 1px;
  background: var(--border-light);
  margin: 0 auto;
}

/* ===== POST GRID ON HOMEPAGE ===== */
.posts-grid-home {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .posts-grid-home { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px) {
  .posts-grid-home { grid-template-columns: repeat(3, 1fr); }
}

/* ===== CONTACT PAGE LAYOUT ===== */
.contact-layout {
  display: grid;
  gap: 56px;
  max-width: var(--container-narrow);
  margin: 0 auto;
}
@media (min-width: 768px) {
  .contact-layout { grid-template-columns: 1.4fr 1fr; gap: 80px; }
}
.contact-info h2 { margin-bottom: 1rem; letter-spacing: -0.025em; }

/* ===== CONTACT INFO CARD — institutional style ===== */
.contact-info-card {
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 28px 8px;
  transition: box-shadow var(--transition);
}
.contact-info-card:hover {
  box-shadow: var(--shadow);
}

.contact-item {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border-subtle);
}
.contact-item:first-child {
  padding-top: 0;
}
.contact-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 6px;
}

.contact-address {
  font-style: normal;
  line-height: 1.7;
  color: var(--text-secondary);
  font-size: 0.9375rem;
}
.contact-address strong {
  color: var(--text);
  font-weight: 600;
}

.contact-link {
  font-size: 0.9375rem;
  color: var(--primary-light);
  font-weight: 500;
  word-break: break-all;
}
.contact-link:hover {
  color: var(--primary);
}

.contact-credit {
  margin-top: 1.5rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}
.contact-credit a {
  color: var(--text-muted);
  font-weight: 400;
}
.contact-credit a:hover {
  color: var(--text);
}

/* ===== FOCUS VISIBLE — accessibility ===== */
*:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}
.btn:focus-visible {
  outline-offset: 4px;
}

/* ===== PREFERS REDUCED MOTION ===== */
@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;
  }
}

/* ===== MEMBERS PAGE — Institutional Directory ===== */
.members-container {
  max-width: var(--container-narrow);
  margin: 0 auto;
}

.members-section {
  margin-bottom: 4rem;
}

.members-section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.028em;
  color: var(--primary);
  margin-bottom: 1.5rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--accent);
  display: flex;
  align-items: center;
  gap: 12px;
}

.members-section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-light);
}

/* Governing Body & Secretariat grids */
.governing-grid,
.secretariat-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  margin: 1.5rem 0;
}

@media (min-width: 640px) {
  .governing-grid,
  .secretariat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.officer-card {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 24px;
  transition: all var(--transition-slow);
  border: 1px solid var(--border-light);
  position: relative;
}

.officer-card:hover {
  border-color: var(--primary-lighter);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.officer-role {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 8px;
  display: block;
}

.officer-name {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
  letter-spacing: -0.015em;
}

.officer-affiliation {
  font-size: 0.8125rem;
  color: var(--text-light);
  margin-bottom: 10px;
}

.officer-email {
  font-size: 0.8125rem;
  color: var(--primary-light);
  font-weight: 500;
  word-break: break-all;
}

.officer-email:hover {
  color: var(--primary);
}

.secretariat-card {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 20px 24px;
  transition: all var(--transition-slow);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.secretariat-card:hover {
  border-color: var(--primary-lighter);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.secretariat-card .officer-name {
  font-size: 0.9375rem;
}

/* Countries grid for Standing Committee */
.countries-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  margin: 2rem 0;
}

@media (min-width: 640px) {
  .countries-grid { grid-template-columns: repeat(2, 1fr); }
}

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

.country-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-slow);
  box-shadow: var(--shadow-xs);
}

.country-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--border);
}

.country-header {
  background: var(--bg-alt);
  padding: 16px 22px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 8px;
}

.country-flag {
  font-size: 1.25rem;
  line-height: 1;
}

.country-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.015em;
  margin: 0;
}

.country-members {
  padding: 6px 22px;
}

.country-member {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.country-member:last-child {
  border-bottom: none;
}

.member-name {
  font-weight: 500;
  color: var(--text);
  font-size: 0.9375rem;
  flex-shrink: 0;
}

.member-email-link {
  font-size: 0.8125rem;
  color: var(--primary-light);
  font-weight: 400;
  white-space: nowrap;
}

.member-email-link:hover {
  color: var(--primary);
}

@media (max-width: 640px) {
  .country-member {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }

  .member-name {
    font-size: 0.875rem;
  }

  .member-email-link {
    font-size: 0.75rem;
  }
}
