:root {
  --primary: #1a5276;
  --primary-light: #2980b9;
  --primary-dark: #0e3a52;
  --accent: #e67e22;
  --accent-light: #f0b27a;
  --text: #2c3e50;
  --text-light: #5d6d7e;
  --bg: #ffffff;
  --bg-light: #f4f6f8;
  --bg-dark: #1a1a2e;
  --border: #dee2e6;
  --radius: 6px;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 4px 20px rgba(0, 0, 0, 0.12);
  --nav-height: 64px;
  --max-width: 1100px;
}

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

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
}

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

a {
  color: var(--primary-light);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1, h2, h3, h4 {
  line-height: 1.3;
  color: var(--primary-dark);
}

h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.4rem, 3vw, 1.875rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.375rem); }
h4 { font-size: 1.125rem; }

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Navigation ── */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  height: var(--nav-height);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary-dark);
  text-decoration: none;
}

.nav-logo:hover {
  text-decoration: none;
}

.nav-logo-icon {
  width: 36px;
  height: 36px;
  background: var(--primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.25rem;
}

.nav-links a {
  display: block;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius);
  color: var(--text);
  font-weight: 500;
  font-size: 0.925rem;
  transition: background 0.2s, color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--bg-light);
  color: var(--primary);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--text);
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  margin: 5px 0;
  transition: transform 0.3s;
}

/* ── Page Header ── */

.page-header {
  background: var(--primary);
  color: #fff;
  padding: 3rem 0;
}

.page-header h1 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.page-header p {
  opacity: 0.9;
  font-size: 1.075rem;
}

/* ── Hero ── */

.hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  padding: 5rem 0 4rem;
  text-align: center;
}

.hero h1 {
  color: #fff;
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.15rem;
  opacity: 0.9;
  max-width: 650px;
  margin: 0 auto 2rem;
}

.hero-cta {
  display: inline-flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  border: none;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: #d35400;
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

/* ── Sections ── */

.section {
  padding: 4rem 0;
}

.section-alt {
  background: var(--bg-light);
}

.section-title {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-title h2 {
  margin-bottom: 0.5rem;
}

.section-title p {
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* ── Cards ── */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.15s;
}

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

.card-img {
  aspect-ratio: 16 / 9;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 2rem;
}

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

.card-body {
  padding: 1.25rem;
}

.card-date {
  font-size: 0.825rem;
  color: var(--text-light);
  margin-bottom: 0.4rem;
}

.card-title {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.card-title a {
  color: inherit;
}

.card-title a:hover {
  color: var(--primary-light);
  text-decoration: none;
}

.card-excerpt {
  color: var(--text-light);
  font-size: 0.925rem;
  line-height: 1.6;
}

/* ── Quick Links ── */

.quicklinks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.quicklink {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.15s;
  color: inherit;
  text-decoration: none;
}

.quicklink:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  text-decoration: none;
}

.quicklink-icon {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
}

.quicklink h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.quicklink p {
  font-size: 0.875rem;
  color: var(--text-light);
}

/* ── Content Pages ── */

.content {
  max-width: 800px;
  margin: 0 auto;
}

.content h2 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.content p {
  margin-bottom: 1rem;
}

.content ul, .content ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.content li {
  margin-bottom: 0.35rem;
}

.prose-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}

.prose-card h3 {
  margin-top: 0;
}

/* ── Board Members ── */

.board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}

.board-member {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
}

.board-member-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--bg-light);
  margin: 0 auto 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--text-light);
}

.board-member h4 {
  margin-bottom: 0.15rem;
}

.board-member .role {
  font-size: 0.875rem;
  color: var(--accent);
  font-weight: 600;
}

/* ── Video Gallery ── */

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.video-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.video-embed {
  aspect-ratio: 16 / 9;
  background: #000;
}

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

.video-info {
  padding: 1rem;
}

.video-info h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.video-info p {
  font-size: 0.875rem;
  color: var(--text-light);
}

/* ── Forms ── */

.form-embed {
  margin: 2rem 0;
}

.form-embed iframe {
  width: 100%;
  border: 0;
  min-height: 500px;
}

.form-note {
  text-align: center;
  color: var(--text-light);
  font-size: 0.9rem;
  margin-top: 1.5rem;
}

/* ── Contact Info ── */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.contact-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}

.contact-card-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.contact-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.contact-card p {
  color: var(--text-light);
  font-size: 0.925rem;
}

/* ── Footer ── */

.footer {
  background: var(--bg-dark);
  color: #bdc3c7;
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer h4 {
  color: #fff;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.footer p, .footer li {
  font-size: 0.875rem;
  line-height: 1.7;
}

.footer ul {
  list-style: none;
}

.footer a {
  color: var(--accent-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.825rem;
}

/* ── Alerts ── */

.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  font-size: 0.925rem;
}

.alert-info {
  background: #d6eaf8;
  color: #1a5276;
  border: 1px solid #aed6f1;
}

/* ── News Page ── */

.news-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  justify-content: center;
}

.filter-btn {
  padding: 0.4rem 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ── RSS Button ── */

.rss-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  background: #f26522;
  color: #fff;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.875rem;
  transition: background 0.2s;
}

.rss-link:hover {
  background: #d4541a;
  text-decoration: none;
  color: #fff;
}

/* ── Sitemap ── */

.sitemap {
  columns: 2;
  column-gap: 2rem;
  list-style: none;
  padding: 0;
}

.sitemap li {
  margin-bottom: 0.5rem;
}

/* ── Responsive ── */

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 1rem;
    display: none;
    z-index: 99;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 0.75rem 1rem;
    font-size: 1.05rem;
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    padding: 3rem 0;
  }

  .section {
    padding: 2.5rem 0;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .board-grid {
    grid-template-columns: 1fr;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }

  .sitemap {
    columns: 1;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Print ── */

@media print {
  .nav, .footer, .hero, .nav-links { display: none; }
  body { font-size: 12pt; }
}
