:root {
  --ink: #0c1222;
  --ink-muted: #4a5568;
  --paper: #fbf9f5;
  --paper-2: #f0ebe3;
  --accent: #b45309;
  --accent-2: #ea580c;
  --line: #e2ddd4;
  --card: #ffffff;
  --radius: 12px;
  --shadow: 0 12px 40px rgba(12, 18, 34, 0.08);
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-serif: "Source Serif 4", Georgia, serif;
  /* Contact / grievance accent (maroon — Mundadugu app reference) */
  --contact-accent: #9f1239;
  --contact-accent-soft: #fce7f3;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: min(1120px, 100% - 2rem);
  margin-inline: auto;
}

.site-header {
  background: var(--card);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}
.brand:hover {
  text-decoration: none;
  color: var(--accent);
}

.brand:hover .brand-logo {
  box-shadow: 0 6px 20px rgba(180, 83, 9, 0.25);
}

.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 11px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 2px 12px rgba(12, 18, 34, 0.08);
  flex-shrink: 0;
}

.brand-text {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.65rem 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  color: var(--ink);
  font-weight: 500;
  font-size: 0.9rem;
}
.site-nav a:hover {
  color: var(--accent);
}

.nav-user {
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--paper-2);
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}

.nav-dropdown {
  position: relative;
}

.nav-drop-btn {
  border: none;
  background: transparent;
  font: inherit;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  padding: 0.25rem 0;
}
.nav-drop-btn:hover {
  color: var(--accent);
}

.nav-drop-panel {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.35rem;
  min-width: 220px;
  max-height: 70vh;
  overflow-y: auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0.5rem;
  z-index: 60;
}
.nav-drop-panel a {
  display: block;
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  color: var(--ink);
}
.nav-drop-panel a:hover {
  background: var(--paper-2);
  text-decoration: none;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }
  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 0.75rem;
  }
  .site-nav.is-open {
    display: flex;
  }
  .nav-drop-panel {
    position: static;
    margin-top: 0.5rem;
    box-shadow: none;
  }
}

.site-main {
  flex: 1;
  padding-bottom: 3rem;
}

.hero-brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.hero-lockup-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 4px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.hero-brand-name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: #fde68a;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.hero {
  background: linear-gradient(160deg, #1e293b 0%, #0f172a 50%, #1c1917 100%);
  color: #f8fafc;
  padding: 2.75rem 0 2.5rem;
  margin-bottom: 2rem;
}

.hero-inner {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
  }
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  line-height: 1.15;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.hero p {
  margin: 0;
  color: #cbd5e1;
  max-width: 36ch;
}

.hero-actions {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 1.25rem;
  backdrop-filter: blur(8px);
}

.section-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin: 0 0 1rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.section-title a {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
}

.grid-news {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 4px 20px rgba(12, 18, 34, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.card-media {
  aspect-ratio: 16 / 10;
  background: var(--paper-2);
  overflow: hidden;
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body {
  padding: 1rem 1.1rem 1.15rem;
}

.pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.card-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  margin: 0 0 0.4rem;
  line-height: 1.3;
}
.card-title a {
  color: var(--ink);
}
.card-title a:hover {
  color: var(--accent);
}

.meta {
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.muted {
  color: var(--ink-muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.65rem 1.1rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
}
.btn:hover {
  text-decoration: none;
}

.btn-sm {
  padding: 0.45rem 0.85rem;
  font-size: 0.875rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(234, 88, 12, 0.35);
}
.btn-primary:hover {
  filter: brightness(1.05);
  color: #fff;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.btn-outline {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.row-split {
  display: grid;
  gap: 2rem;
}
@media (min-width: 900px) {
  .row-split {
    grid-template-columns: 2fr 1fr;
  }
}

.list-tight {
  list-style: none;
  margin: 0;
  padding: 0;
}
.list-tight li {
  border-bottom: 1px solid var(--line);
  padding: 0.65rem 0;
}
.list-tight li:last-child {
  border-bottom: none;
}

.site-footer {
  background: #111827;
  color: #e5e7eb;
  padding: 2.5rem 0 1.5rem;
  margin-top: auto;
}
.site-footer a {
  color: #fdba74;
}

.footer-brand-block {
  min-width: 0;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
}
.footer-brand:hover {
  text-decoration: none;
  color: #fdba74;
}
.footer-brand:hover .footer-brand-name {
  color: #fdba74;
}

.footer-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

.footer-brand-name {
  display: block;
  font-size: 1.1rem;
  color: #f8fafc;
  margin-bottom: 0.25rem;
}

.footer-tagline {
  margin: 0;
  font-size: 0.9rem;
  max-width: 28ch;
}

.footer-grid {
  display: grid;
  gap: 1.5rem 2rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  margin-bottom: 1.5rem;
  align-items: start;
}

@media (min-width: 1100px) {
  .footer-grid {
    grid-template-columns: minmax(220px, 1.2fr) repeat(3, minmax(0, 1fr));
  }
}
.footer-links {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
}
.footer-links li {
  margin-bottom: 0.35rem;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  font-size: 0.875rem;
}

.alert {
  padding: 0.85rem 1rem;
  border-radius: 10px;
  margin: 1rem 0;
  font-weight: 500;
}
.alert-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}
.alert-success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.page-auth .site-main {
  background:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(180, 83, 9, 0.12), transparent 55%),
    var(--paper);
}

.auth-form-card {
  padding-top: 1.75rem;
}

.auth-brand {
  text-align: center;
  margin-bottom: 1.25rem;
}

.auth-brand-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  padding: 0.35rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.auth-brand-link:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.auth-brand-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff 0%, var(--paper-2) 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.auth-title {
  font-family: var(--font-serif);
  margin: 0 0 0.5rem;
  text-align: center;
  font-size: 1.65rem;
}

.auth-form-card > .muted {
  text-align: center;
  margin-bottom: 1.25rem;
}

.form-card {
  max-width: 440px;
  margin: 2rem auto;
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.1rem;
}
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  background: #fff;
}
.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.article-hero {
  padding: 1.5rem 0 0.5rem;
}
.article-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  line-height: 1.2;
  margin: 0 0 0.75rem;
}
.article-cover {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  margin: 1rem 0 1.5rem;
}
.article-body {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  line-height: 1.75;
  max-width: 68ch;
}
.article-body p {
  margin: 0 0 1rem;
}

.pdf-frame {
  width: 100%;
  min-height: 78vh;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #1f2937;
}

.admin-bar {
  background: #0f172a;
  color: #e2e8f0;
  padding: 0.65rem 0;
  font-size: 0.875rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.admin-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
}
.admin-bar-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #f8fafc;
  font-weight: 700;
  text-decoration: none;
  font-family: var(--font-serif);
  font-size: 1rem;
}
.admin-bar-brand:hover {
  color: #fde68a;
  text-decoration: none;
}
.admin-bar-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.admin-bar-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
}
.admin-bar-user {
  color: #94a3b8;
  font-size: 0.8125rem;
}
.admin-bar a {
  color: #fdba74;
  font-weight: 600;
}
.admin-bar a:hover {
  color: #fde68a;
}

.admin-side-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.35rem 0.5rem 0.85rem;
  margin: -0.25rem -0.25rem 0.5rem;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink);
  text-decoration: none;
}
.admin-side-brand:hover {
  color: var(--accent);
  text-decoration: none;
}
.admin-side-brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 10px;
  background: var(--paper-2);
  border: 1px solid var(--line);
}

.admin-layout {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 960px) {
  .admin-layout {
    grid-template-columns: 220px 1fr;
  }
}

.admin-side {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  height: fit-content;
}
.admin-side a {
  display: block;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  color: var(--ink);
  font-weight: 500;
}
.admin-side a:hover {
  background: var(--paper-2);
  text-decoration: none;
}
.admin-side a.is-active {
  background: var(--paper-2);
  color: var(--accent);
}

.table-wrap {
  overflow-x: auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
table.data th,
table.data td {
  padding: 0.65rem 0.85rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
table.data th {
  background: var(--paper-2);
  font-weight: 600;
}

.badge {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}
.badge-published {
  background: #d1fae5;
  color: #065f46;
}
.badge-draft {
  background: #fef3c7;
  color: #92400e;
}

.epaper-row {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid var(--line);
  background: var(--card);
}
.epaper-row:last-child {
  border-bottom: none;
}
.epaper-thumb {
  width: 72px;
  height: 96px;
  object-fit: cover;
  border-radius: 8px;
  background: var(--paper-2);
  border: 1px solid var(--line);
}

/* E-paper archive — date filter (Mundadugu News) */
.epapers-page-head .section-title {
  margin-bottom: 0.35rem;
}

.epapers-sub {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 52ch;
}

.epaper-date-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.15rem 1.25rem;
}

.epaper-date-toolbar.card:hover {
  transform: none;
  box-shadow: 0 4px 20px rgba(12, 18, 34, 0.05);
}

.epaper-date-form {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.75rem 1rem;
}

.epaper-date-field label {
  display: block;
  font-weight: 600;
  font-size: 0.8rem;
  margin-bottom: 0.35rem;
  color: var(--ink-muted);
}

.epaper-date-input {
  font: inherit;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  min-width: 11.5rem;
}

.epaper-date-quick {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.epaper-empty {
  padding: 2rem 1.5rem;
  text-align: center;
  color: var(--ink-muted);
}

.epaper-empty p {
  margin: 0 0 0.5rem;
}

.epaper-empty p:last-child {
  margin-bottom: 0;
}

@media (max-width: 640px) {
  .epaper-date-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .epaper-date-form {
    flex-direction: column;
    align-items: stretch;
  }
  .epaper-date-form .btn {
    width: 100%;
  }
}

/* -------------------------------------------------------------------------- */
/* Static pages — About, Contact, Privacy (news-style layout)                */
/* -------------------------------------------------------------------------- */
.page-static .site-main > .container:first-of-type {
  margin-top: 0;
}

.static-hero {
  background: linear-gradient(165deg, #1e293b 0%, #0f172a 42%, #1c1917 100%);
  color: #f1f5f9;
  padding: 2rem 0 2.25rem;
  margin-bottom: 0;
  border-bottom: 3px solid var(--accent);
}

.static-hero--compact {
  padding: 1.5rem 0 1.75rem;
}

.static-breadcrumb {
  font-size: 0.8125rem;
  margin-bottom: 0.85rem;
  color: #94a3b8;
}
.static-breadcrumb a {
  color: #fdba74;
  font-weight: 500;
}
.static-breadcrumb a:hover {
  color: #fde68a;
}
.static-breadcrumb span[aria-hidden="true"] {
  margin: 0 0.4rem;
  opacity: 0.6;
}

.static-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  line-height: 1.15;
  margin: 0 0 0.65rem;
  letter-spacing: -0.02em;
}

.static-hero-lead {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.55;
  color: #cbd5e1;
  max-width: 52ch;
}

/* Contact page — light header like mobile reference */
.static-hero--contact {
  background: #ffffff;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 24px rgba(12, 18, 34, 0.06);
}
.static-hero--contact .static-breadcrumb {
  color: var(--ink-muted);
}
.static-hero--contact .static-breadcrumb a {
  color: var(--contact-accent);
}
.static-hero--contact .static-breadcrumb a:hover {
  color: #7f1d1d;
}
.static-hero--contact .static-hero-lead {
  color: var(--ink-muted);
}

.static-body {
  padding: 2.25rem 0 3rem;
  background: linear-gradient(180deg, var(--paper-2) 0%, var(--paper) 18%);
}

.static-layout {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 960px) {
  .static-layout {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
  }
  .static-layout--single {
    grid-template-columns: 1fr;
    max-width: 760px;
    margin-inline: auto;
  }
  .static-layout--contact {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 280px);
  }
}

.static-main {
  min-width: 0;
}

.static-prose {
  font-family: var(--font-serif);
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--ink);
}

.static-prose h2 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  margin: 2rem 0 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  letter-spacing: -0.02em;
  color: var(--ink);
}

.static-prose h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.static-prose p {
  margin: 0 0 1rem;
}

.static-prose ul {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
}

.static-prose li {
  margin-bottom: 0.5rem;
}

.static-prose a {
  font-weight: 600;
}

.static-prose--legal .legal-intro {
  font-size: 1.12rem;
  margin-bottom: 1.5rem;
  padding: 1rem 1.15rem;
  background: var(--paper-2);
  border-radius: var(--radius);
  border-left: 4px solid var(--accent);
}

.static-prose--legal .legal-footer {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

.static-side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.static-side-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  box-shadow: 0 2px 12px rgba(12, 18, 34, 0.04);
}

.static-side-card h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.static-side-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.static-side-list li {
  margin-bottom: 0.45rem;
}

.static-side-list a {
  font-weight: 600;
  font-size: 0.95rem;
}

.static-side-text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
}

.static-side-muted {
  background: var(--paper-2);
}

/* Contact page */
.contact-cards {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  margin-bottom: 2rem;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.1rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-card:hover {
  border-color: rgba(180, 83, 9, 0.45);
  box-shadow: var(--shadow);
  text-decoration: none;
}

.contact-card--block {
  pointer-events: none;
}

.contact-card-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
}

.contact-card-value {
  font-weight: 600;
  font-size: 1rem;
  color: var(--accent);
}

.contact-card--block .contact-card-value {
  color: var(--ink);
}

.contact-card-value--multiline {
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.5;
}

.contact-form-wrap {
  padding: 1.5rem 1.35rem 1.75rem;
}

.contact-form-wrap.card:hover {
  transform: none;
  box-shadow: 0 4px 20px rgba(12, 18, 34, 0.05);
}

.contact-form-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  margin: 0 0 0.35rem;
}

.contact-form-intro {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
}

.contact-form .form-group {
  margin-bottom: 1rem;
}

.contact-form .form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.35rem;
}

.contact-form .form-group input,
.contact-form .form-group select,
.contact-form .form-group textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  background: #fff;
}

.contact-form .form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 600px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.req {
  color: var(--accent-2);
  font-weight: 700;
}

/* Contact page — info blocks (red bar + icons) */
.static-body--contact {
  max-width: 720px;
  margin-inline: auto;
}

.contact-page-shell {
  padding: 0 1.35rem 1.5rem;
  overflow: hidden;
}

.contact-page-shell.card:hover {
  transform: none;
  box-shadow: var(--shadow);
}

.contact-blocks {
  --cb-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%239f1239' d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 17.93c-3.95-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2v1.93zm6.9-2.54c-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H8v-2h2c.55 0 1-.45 1-1V7h2c1.1 0 2-.9 2-2v-.41c2.93 1.19 5 4.06 5 7.41 0 2.08-.8 3.97-2.1 5.39z'/%3E%3C/svg%3E");
  --cb-mail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%239f1239' d='M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E");
  --cb-pin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%239f1239' d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z'/%3E%3C/svg%3E");
}

.contact-block {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}

.contact-block:last-of-type {
  border-bottom: none;
}

.contact-block__accent {
  width: 4px;
  min-height: 3.5rem;
  flex-shrink: 0;
  border-radius: 2px;
  background: var(--contact-accent);
  margin-top: 0.2rem;
}

.contact-block__body {
  flex: 1;
  min-width: 0;
}

.contact-block__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.5rem;
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
}

.contact-block__icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  background: transparent center / contain no-repeat;
}

.contact-block__icon--globe {
  background-image: var(--cb-icon);
}

.contact-block__icon--mail {
  background-image: var(--cb-mail);
}

.contact-block__icon--pin {
  background-image: var(--cb-pin);
}

.contact-block__text {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink-muted);
}

.contact-block__officer {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}

.contact-block__link {
  font-weight: 600;
  font-size: 1rem;
  color: var(--contact-accent);
  text-decoration: none;
}

.contact-block__link:hover {
  text-decoration: underline;
  color: #7f1d1d;
}

.contact-block__address {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink);
}

.contact-blocks--compact .contact-block {
  padding: 0.85rem 0;
}

.contact-blocks--compact .contact-block__accent {
  min-height: 2.75rem;
  width: 3px;
}

.contact-blocks--compact .contact-block__title {
  font-size: 0.95rem;
}

.contact-blocks--compact .contact-block__text,
.contact-blocks--compact .contact-block__address,
.contact-blocks--compact .contact-block__officer {
  font-size: 0.85rem;
}

.contact-blocks--compact .contact-block__link {
  font-size: 0.9rem;
}

.contact-form-divider {
  height: 1px;
  background: var(--line);
  margin: 0.25rem 0 1.5rem;
}

.contact-form-wrap--inner {
  padding: 0 0 0.25rem;
  border: none;
  box-shadow: none;
}

.contact-page-foot {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9rem;
}

.contact-page-foot a {
  font-weight: 600;
}

.static-side-card--flush {
  padding: 0.65rem 0.85rem 0.85rem;
}

.static-side-card--flush .contact-blocks--compact .contact-block:first-of-type {
  padding-top: 0.35rem;
}
