/*
Theme Name: GiveSync
Theme URI: https://givesync.co
Author: GiveSync
Author URI: https://givesync.co
Description: GiveSync university fundraising platform marketing site.
Version: 1.0.0
License: Private
Text Domain: givesync
*/

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

:root {
  --teal: #43a843;
  --teal-dark: #398f39;
  --navy: #1d3d6b;
  --navy-mid: #162f52;
  --slate: #2a4f82;
  --text: #1a2535;
  --muted: #64748b;
  --light: #f8fafc;
  --border: #e2e8f0;
  --white: #ffffff;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

/* ── HEADER ── */
.header {
  background: var(--navy);
  padding: 0;
  position: relative;
  overflow: hidden;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 48px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
}

.header-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}

.header-logo {
  font-size: 42px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 8px;
}

.header-logo span {
  color: var(--teal);
}

.header-tagline {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  margin-bottom: 32px;
  letter-spacing: 0.02em;
}

.header-headline {
  font-size: 38px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.header-headline em {
  font-style: normal;
  color: var(--teal);
}

.header-body {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.65);
  max-width: 420px;
  margin-bottom: 36px;
}

.header-cta {
  display: inline-block;
  background: var(--teal);
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 6px;
  text-decoration: none;
  letter-spacing: 0.03em;
}

.header-visual {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 0;
}

.mock-browser {
  background: #182f58;
  border-radius: 10px 10px 0 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}

.mock-browser-bar {
  background: #12264c;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.dot { width: 8px; height: 8px; border-radius: 50%; }
.dot-r { background: #ff5f57; }
.dot-y { background: #febc2e; }
.dot-g { background: #28c841; }

.mock-url {
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
  padding: 3px 10px;
  font-size: 10px;
  color: rgba(255,255,255,0.4);
  margin-left: 8px;
  font-family: monospace;
}

.mock-screen {
  padding: 20px;
}

.mock-metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}

.mock-metric {
  background: rgba(44,221,155,0.08);
  border: 1px solid rgba(44,221,155,0.15);
  border-radius: 8px;
  padding: 12px;
}

.mock-metric-label {
  font-size: 9px;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.mock-metric-value {
  font-size: 18px;
  font-weight: 800;
  color: var(--teal);
}

.mock-metric-sub {
  font-size: 9px;
  color: rgba(255,255,255,0.3);
}

.mock-progress-block {
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  padding: 14px;
  margin-bottom: 10px;
}

.mock-prog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.mock-prog-title { font-size: 10px; color: rgba(255,255,255,0.5); }
.mock-prog-pct { font-size: 10px; font-weight: 700; color: var(--teal); }

.mock-bar-track {
  background: rgba(255,255,255,0.06);
  border-radius: 99px;
  height: 5px;
  overflow: hidden;
}

.mock-bar-fill {
  background: linear-gradient(90deg, var(--teal), var(--teal-dark));
  height: 100%;
  border-radius: 99px;
}

.mock-leaderboard {
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  padding: 10px 14px;
}

.mock-lb-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.mock-lb-row:last-child { border-bottom: none; }

.mock-lb-rank {
  font-size: 9px;
  font-weight: 800;
  color: var(--teal);
  width: 14px;
}

.mock-lb-name { font-size: 9px; color: rgba(255,255,255,0.55); flex: 1; }
.mock-lb-amt { font-size: 9px; font-weight: 700; color: rgba(255,255,255,0.7); }

/* ── SECTION WRAPPER ── */
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 48px;
}

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 12px;
}

.section-title {
  font-size: 30px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.3px;
  margin-bottom: 16px;
}

.section-body {
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 580px;
  margin-bottom: 48px;
}

/* ── DIVIDER ── */
.divider {
  height: 1px;
  background: var(--border);
  max-width: 1100px;
  margin: 0 auto;
}

/* ── STAT STRIP ── */
.stat-strip {
  background: var(--navy);
  padding: 48px;
}

.stat-strip-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stat-item { text-align: center; }

.stat-number {
  font-size: 40px;
  font-weight: 900;
  color: var(--teal);
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}

/* ── FEATURE GRID ── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  transition: box-shadow 0.2s;
}

.feature-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
}

.feature-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 18px;
}

.feature-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.feature-body {
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}

/* ── HIGHLIGHT CARD ── */
.highlight-section {
  background: var(--light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.highlight-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.highlight-visual {
  background: var(--navy);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 24px 64px rgba(11,31,58,0.3);
}

.hv-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.hv-step {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
  align-items: flex-start;
}

.hv-step-num {
  min-width: 24px;
  height: 24px;
  background: var(--teal);
  color: var(--navy);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hv-step-text {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
  padding-top: 3px;
}

.hv-step-text strong { color: var(--white); }

.hv-allocation {
  margin-top: 20px;
  background: rgba(44,221,155,0.06);
  border: 1px solid rgba(44,221,155,0.15);
  border-radius: 10px;
  padding: 16px;
}

.hv-alloc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 11px;
}

.hv-alloc-row:last-child { border-bottom: none; }

.hv-alloc-label { color: rgba(255,255,255,0.55); }
.hv-alloc-badge {
  background: rgba(44,221,155,0.15);
  color: var(--teal);
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 99px;
  font-size: 10px;
}

/* ── INTEGRATION SECTION ── */
.integration-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.int-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  background: var(--white);
}

.int-icon { font-size: 24px; margin-bottom: 8px; }

.int-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}

.int-desc { font-size: 11px; color: var(--muted); }

/* ── TESTIMONIAL ── */
.testimonial-section {
  background: var(--navy);
}

.testimonial-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 48px;
  text-align: center;
}

.quote-mark {
  font-size: 80px;
  line-height: 0.6;
  color: var(--teal);
  font-family: Georgia, serif;
  margin-bottom: 24px;
  display: block;
}

.quote-text {
  font-size: 22px;
  font-weight: 500;
  color: var(--white);
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto 28px;
  letter-spacing: -0.2px;
}

.quote-attr {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
}

.quote-attr strong { color: rgba(255,255,255,0.8); }

/* ── TESTIMONIAL SLIDER ── */

.testimonial-slides {
  display: grid;
  margin-bottom: 8px;
}

.testimonial-slide {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  pointer-events: none;
}

.testimonial-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}

.testimonial-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

.testimonial-dot:hover {
  background: rgba(255,255,255,0.5);
}

.testimonial-dot.is-active {
  background: var(--teal);
  transform: scale(1.3);
}

.testimonial-dot.is-active:hover {
  background: var(--teal);
}

/* ── PRICING CALLOUT ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.price-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 28px;
  background: var(--white);
  position: relative;
}

.price-card.featured {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(44,221,155,0.12);
}

.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: var(--navy);
  font-size: 10px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 99px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.price-tier {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 8px;
}

.price-amount {
  font-size: 36px;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 4px;
}

.price-period { font-size: 13px; color: var(--muted); margin-bottom: 20px; }

.price-list {
  list-style: none;
  margin-bottom: 24px;
}

.price-list li {
  font-size: 13px;
  color: var(--muted);
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
}

.price-list li:last-child { border-bottom: none; }

.check { color: var(--teal-dark); font-size: 14px; font-weight: 700; }

.price-cta {
  display: block;
  text-align: center;
  padding: 11px 20px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.price-cta-outline {
  border: 1.5px solid var(--border);
  color: var(--navy);
}

.price-cta-solid {
  background: var(--teal);
  color: var(--navy);
}

/* ── CTA FOOTER ── */
.cta-footer {
  background: linear-gradient(135deg, var(--navy) 0%, var(--slate) 100%);
  padding: 80px 48px;
  text-align: center;
}

.cta-footer-title {
  font-size: 34px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.cta-footer-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 36px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--teal);
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  padding: 15px 32px;
  border-radius: 8px;
  text-decoration: none;
}

.btn-ghost {
  border: 1.5px solid rgba(255,255,255,0.25);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  padding: 15px 32px;
  border-radius: 8px;
  text-decoration: none;
}

/* ── CLIENTS ROW ── */
.clients-row {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
  margin-top: 48px;
}

.client-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 8px 16px;
  border-radius: 99px;
}

.client-dot {
  width: 8px;
  height: 8px;
  background: var(--teal);
  border-radius: 50%;
  flex-shrink: 0;
}

.client-name { font-size: 12px; color: rgba(255,255,255,0.6); font-weight: 500; }

/* ── FOUR-ACCOUNT TABLE ── */
.account-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.account-table td {
  padding: 10px 14px;
}

.account-table tr:nth-child(odd) {
  background: var(--light);
}

.account-table tr + tr td {
  border-top: 1px solid var(--border);
}

.account-table .col-bank {
  font-weight: 700;
  color: var(--navy);
}

.account-table .col-desc {
  color: var(--muted);
}

.account-table .col-type {
  color: var(--teal-dark);
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
}

/* ── PAGE FOOTER ── */
.page-footer {
  background: #0a1e3a;
  padding: 28px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-footer-logo {
  font-size: 18px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.5px;
}

.page-footer-logo span { color: var(--teal); }

.page-footer-contact {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}

.page-footer-contact a {
  color: var(--teal);
  text-decoration: none;
  font-weight: 500;
}

/* ── PRICING NOTE ── */
.pricing-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 20px;
  text-align: center;
}

/* ── FOUR-ACCOUNT LABEL ── */
.account-table-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   ════════════════════════════════════════ */

/* Tablet — ≤ 1024px */
@media (max-width: 1024px) {
  .header-inner {
    grid-template-columns: 1fr;
    padding: 48px 32px 48px;
    align-items: start;
  }

  .header-visual {
    display: none;
  }

  .header-headline {
    font-size: 32px;
  }

  .section {
    padding: 64px 32px;
  }

  .stat-strip {
    padding: 40px 32px;
  }

  .stat-strip-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

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

  .highlight-inner {
    grid-template-columns: 1fr;
    padding: 64px 32px;
    gap: 40px;
  }

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

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

  .price-card {
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
  }

  .testimonial-inner {
    padding: 64px 32px;
  }

  .cta-footer {
    padding: 64px 32px;
  }

  .page-footer {
    padding: 24px 32px;
  }
}

/* Mobile — ≤ 768px */
@media (max-width: 768px) {
  .header-inner {
    padding: 40px 20px 40px;
  }

  .header-logo {
    font-size: 34px;
  }

  .header-headline {
    font-size: 28px;
  }

  .header-body {
    font-size: 14px;
    max-width: 100%;
  }

  .clients-row {
    gap: 10px;
    margin-top: 32px;
  }

  .section {
    padding: 48px 20px;
  }

  .section-title {
    font-size: 24px;
  }

  .section-body {
    font-size: 14px;
    margin-bottom: 32px;
  }

  .stat-strip {
    padding: 36px 20px;
  }

  .stat-number {
    font-size: 32px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .highlight-inner {
    padding: 48px 20px;
    gap: 32px;
  }

  .account-table .col-type {
    display: none;
  }

  .integration-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

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

  .price-card {
    max-width: 100%;
  }

  .testimonial-inner {
    padding: 56px 20px;
  }

  .quote-text {
    font-size: 18px;
  }

  .cta-footer {
    padding: 56px 20px;
  }

  .cta-footer-title {
    font-size: 26px;
  }

  .cta-footer-sub {
    font-size: 14px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    max-width: 320px;
    margin: 0 auto;
  }

  .btn-primary,
  .btn-ghost {
    text-align: center;
  }

  .page-footer {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding: 24px 20px;
  }
}

/* Small mobile — ≤ 480px */
@media (max-width: 480px) {
  .header-logo {
    font-size: 28px;
  }

  .header-headline {
    font-size: 24px;
  }

  .header-tagline {
    font-size: 13px;
  }

  .stat-strip-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .cta-footer-title {
    font-size: 22px;
  }

  .quote-text {
    font-size: 17px;
  }

  .client-pill {
    padding: 6px 12px;
  }

  .client-name {
    font-size: 11px;
  }

  .highlight-visual {
    padding: 20px;
  }
}

/* ════════════════════════════════════════
   SITE NAV (all pages)
   ════════════════════════════════════════ */

.site-nav {
  background: #0b1f3a;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: sticky;
  top: 0;
  z-index: 200;
}

.site-nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 48px;
  height: 50px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-nav-logo {
  font-size: 20px;
  font-weight: 900;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}

.site-nav-logo span { color: var(--teal); }

/* Custom logo image — set via Appearance → Customize → Site Identity */
.custom-logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}

.custom-logo {
  height: 36px;
  width: auto;
  max-width: 180px;
  display: block;
}

/* WordPress renders a <ul> inside .site-nav-links */
.site-nav-links {
  display: flex;
  list-style: none;
  gap: 4px;
  flex: 1;
  margin: 0;
  padding: 0;
}

.site-nav-links li a {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 5px;
  transition: color 0.15s, background 0.15s;
}

.site-nav-links li a:hover,
.site-nav-links li.current-menu-item > a,
.site-nav-links li.current_page_item > a {
  color: var(--white);
  background: rgba(255,255,255,0.07);
}

.site-nav-cta {
  background: var(--teal);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 6px;
  text-decoration: none;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  transition: background 0.15s;
}

.site-nav-cta:hover { background: var(--teal-dark); }

/* ════════════════════════════════════════
   INNER PAGE HERO
   ════════════════════════════════════════ */

.page-hero {
  background: var(--navy);
  padding: 56px 48px 48px;
}

.page-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.page-hero-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}

.page-hero-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
  line-height: 1.2;
}

/* ════════════════════════════════════════
   INNER PAGE CONTENT WRAPPER
   ════════════════════════════════════════ */

.page-content-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 64px 48px;
}

/* ── WordPress editor / entry content styles ── */

.entry-content {
  max-width: 760px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text);
}

.entry-content > * + * { margin-top: 1.25em; }

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4 {
  color: var(--navy);
  font-weight: 800;
  line-height: 1.25;
  margin-top: 1.75em;
  margin-bottom: 0.4em;
  letter-spacing: -0.2px;
}

.entry-content h1 { font-size: 30px; }
.entry-content h2 { font-size: 24px; }
.entry-content h3 { font-size: 19px; }
.entry-content h4 { font-size: 16px; font-weight: 700; }

.entry-content p { color: var(--muted); }

.entry-content a { color: var(--teal-dark); text-decoration: underline; }
.entry-content a:hover { color: var(--navy); }

.entry-content ul,
.entry-content ol {
  padding-left: 1.5em;
  color: var(--muted);
}

.entry-content li + li { margin-top: 0.35em; }

.entry-content blockquote {
  border-left: 3px solid var(--teal);
  padding: 14px 20px;
  background: var(--light);
  border-radius: 0 6px 6px 0;
  font-style: italic;
  color: var(--muted);
}

.entry-content blockquote p { color: inherit; }

.entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.entry-content figure { margin: 0; }
.entry-content figcaption {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  margin-top: 8px;
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.entry-content th {
  background: var(--navy);
  color: var(--white);
  padding: 10px 14px;
  text-align: left;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.05em;
}

.entry-content td {
  padding: 10px 14px;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}

.entry-content tr:nth-child(even) td { background: var(--light); }

.entry-content hr {
  border: none;
  border-top: 1px solid var(--border);
}

/* WordPress core block: button */
.entry-content .wp-block-button__link {
  background: var(--teal);
  color: var(--navy);
  font-weight: 700;
  border-radius: 7px;
  padding: 12px 24px;
  text-decoration: none;
  display: inline-block;
}

/* ── Archive / post list (index.php) ── */

.post-list { max-width: 760px; }

.post-item {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

.post-item:last-child { border-bottom: none; }

.post-item-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  line-height: 1.3;
}

.post-item-title a { color: inherit; text-decoration: none; }
.post-item-title a:hover { color: var(--teal-dark); }

.post-item-meta {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 10px;
}

.post-excerpt { font-size: 14px; color: var(--muted); line-height: 1.65; }

.post-read-more {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--teal-dark);
  text-decoration: none;
}

.post-read-more:hover { color: var(--navy); }

.post-pagination { margin-top: 40px; }
.post-none { color: var(--muted); font-size: 15px; }
.post-none a { color: var(--teal-dark); }

/* ════════════════════════════════════════
   RESPONSIVE — Nav & Inner Pages
   ════════════════════════════════════════ */

@media (max-width: 1024px) {
  .site-nav-inner  { padding: 0 32px; }
  .page-hero       { padding: 48px 32px 40px; }
  .page-content-wrapper { padding: 48px 32px; }
}

@media (max-width: 768px) {
  .site-nav-inner  { padding: 0 20px; gap: 16px; }
  .site-nav-links  { display: none; }   /* collapse on mobile; add JS hamburger if needed */
  .page-hero       { padding: 40px 20px 32px; }
  .page-hero-title { font-size: 26px; }
  .page-content-wrapper { padding: 40px 20px; }
  .entry-content h1 { font-size: 24px; }
  .entry-content h2 { font-size: 20px; }
  .entry-content h3 { font-size: 17px; }
}

@media (max-width: 480px) {
  .page-hero-title  { font-size: 22px; }
  .site-nav-cta     { font-size: 11px; padding: 7px 14px; }
  .entry-content    { font-size: 14px; }
}

@media print {
  body { font-size: 11px; }
  .header-inner { grid-template-columns: 1fr 1fr; gap: 24px; }
  .header-visual { display: flex; }
  .header-headline { font-size: 28px; }
}
