/* ============================================================
   Bitcoin in the Wild — Main Stylesheet
   ============================================================ */

/* -----------------------------------------------------------
   CSS Custom Properties
   ----------------------------------------------------------- */
:root {
  --orange:     #f7931a;
  --orange-dark:#d97a0e;
  --bg:         #ffffff;
  --bg-2:       #f6f4f0;
  --bg-3:       #eeebe5;
  --bg-4:       #e5e0d8;
  --text:       #333333;
  --text-muted: #777777;
  --border:     #e2ddd7;
  --white:      #111111;

  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-serif: Georgia, 'Times New Roman', serif;

  --nav-h: 72px;
  --max-w: 1200px;
  --section-py: 5rem;
  --radius: 6px;
  --radius-lg: 12px;

  --transition: 0.2s ease;
}

/* -----------------------------------------------------------
   Reset & Base
   ----------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--orange); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--orange-dark); }

ul, ol { list-style: none; }

h1, h2, h3, h4, h5 {
  line-height: 1.25;
  font-weight: 700;
  color: var(--white);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); margin-bottom: 1.25rem; }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; color: var(--text); }
p:last-child { margin-bottom: 0; }

strong { color: var(--white); font-weight: 600; }

/* -----------------------------------------------------------
   Google Fonts import
   ----------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* -----------------------------------------------------------
   Layout Utilities
   ----------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.section { padding-block: var(--section-py); }
.section--dark { background: var(--bg-2); }
.section--darker { background: var(--bg-3); }

.section__header {
  text-align: center;
  margin-bottom: 3rem;
}
.section__header .label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.75rem;
}
.section__header h2 { margin-bottom: 1rem; }
.section__header p { color: var(--text-muted); max-width: 640px; margin-inline: auto; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.split--reversed { direction: rtl; }
.split--reversed > * { direction: ltr; }

/* Orange accent underline on split-section headings */
.split h2::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--orange);
  margin-top: 0.75rem;
  border-radius: 2px;
}

/* -----------------------------------------------------------
   Buttons
   ----------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: background var(--transition), color var(--transition), transform var(--transition);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }

.btn--primary {
  background: var(--orange);
  color: var(--bg);
}
.btn--primary:hover { background: var(--orange-dark); color: var(--bg); }

.btn--outline {
  background: transparent;
  color: var(--orange);
  border: 2px solid var(--orange);
}
.btn--outline:hover { background: var(--orange); color: var(--bg); }

.btn--ghost {
  background: rgba(0,0,0,0.05);
  color: #222222;
  border: 1px solid var(--border);
}
.btn--ghost:hover { background: rgba(0,0,0,0.10); color: #111111; }

/* Ghost button on a dark hero stays white/translucent */
.hero .btn--ghost {
  background: rgba(255,255,255,0.15);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.5);
}
.hero .btn--ghost:hover {
  background: rgba(255,255,255,0.28);
  color: #ffffff;
}

.btn--lg {
  padding: 1rem 2.25rem;
  font-size: 1rem;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.75rem;
}

/* -----------------------------------------------------------
   Navigation
   ----------------------------------------------------------- */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.nav-logo img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}
/* Darken the orange logo so it reads as dark/black on the white nav */
.site-nav .nav-logo img,
.nav-drawer .nav-logo img {
  filter: brightness(0) saturate(100%);
}
.nav-logo span {
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  line-height: 1.2;
}
.nav-logo span em {
  color: var(--orange);
  font-style: normal;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-links a {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.4rem 0.7rem;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--white);
  background: var(--bg-3);
}
.nav-links .btn--primary {
  color: var(--bg);
  margin-left: 0.5rem;
  padding: 0.5rem 1.1rem;
  font-size: 0.875rem;
}
.nav-links .btn--primary:hover { color: var(--bg); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.nav-drawer {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.5rem 1.5rem;
  z-index: 999;
  flex-direction: column;
  gap: 0.25rem;
}
.nav-drawer.open { display: flex; }
.nav-drawer a {
  display: block;
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 500;
  padding: 0.6rem 0.5rem;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
}
.nav-drawer a:hover, .nav-drawer a.active {
  color: var(--white);
  background: var(--bg-3);
}
.nav-drawer .btn--primary {
  margin-top: 0.75rem;
  display: inline-flex;
  color: var(--bg);
  width: fit-content;
}

/* -----------------------------------------------------------
   Hero
   ----------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 70vh;
  padding-top: var(--nav-h);
  overflow: hidden;
}

.hero--short {
  min-height: 50vh;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,10,10,0.35) 0%,
    rgba(10,10,10,0.15) 40%,
    rgba(10,10,10,0.50) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin-inline: auto;
  padding: 4rem 1.5rem;
  width: 100%;
}

.hero__content .label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}

.hero__content h1 {
  max-width: 700px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}

.hero__content p {
  font-size: 1.1rem;
  max-width: 560px;
  margin-top: 1rem;
  color: rgba(240,240,240,0.88);
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}
/* Hero headings must stay white against the dark image overlay */
.hero h1, .hero h2, .hero h3, .hero h4, .hero h5 { color: #ffffff; }

/* -----------------------------------------------------------
   Cards
   ----------------------------------------------------------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
}
.card:hover {
  border-color: var(--orange);
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(247,147,26,0.12);
}
.card__img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card__label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.5rem;
}
.card__body h3 { margin-bottom: 0.75rem; }
.card__body p { color: var(--text-muted); font-size: 0.9rem; flex: 1; }
.card__body .btn, .card__body a.btn { margin-top: auto; align-self: center; }

/* Icon block used in feature/action cards */
.card-icon {
  font-size: 2rem;
  color: var(--orange);
  margin-bottom: 1rem;
}
.card__meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

/* News / blog card variant */
.news-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.news-card:hover { border-color: var(--orange); transform: translateY(-3px); box-shadow: 0 6px 24px rgba(247,147,26,0.12); }
.news-card__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.news-card__body {
  padding: 1.25rem 1.5rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.news-card__date {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.news-card__body h3 { font-size: 1.05rem; margin-bottom: 0.6rem; }
.news-card__body h3 a { color: var(--white); }
.news-card__body h3 a:hover { color: var(--orange); }
.news-card__body p { color: var(--text-muted); font-size: 0.875rem; flex: 1; }
.news-card__link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--orange);
}

/* -----------------------------------------------------------
   Partner / Logo Grid
   ----------------------------------------------------------- */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}
.logo-grid__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.5rem;
  background: var(--bg);
  border: 2px solid var(--orange);
  border-radius: var(--radius-lg);
  color: var(--orange);
  font-weight: 700;
  font-size: 0.9rem;
  text-align: center;
  text-decoration: none;
  transition: all var(--transition);
}
.logo-grid__btn:hover {
  background: var(--orange);
  color: var(--white);
  transform: translateY(-2px);
}
.logo-grid a {
  opacity: 0.7;
  transition: opacity var(--transition), transform var(--transition);
  display: flex;
  align-items: center;
}
.logo-grid a:hover { opacity: 1; transform: scale(1.05); }
.logo-grid img {
  height: 60px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: grayscale(40%);
}
.logo-grid a:hover img { filter: none; }

/* -----------------------------------------------------------
   Donate / Address Boxes
   ----------------------------------------------------------- */
.donate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.donate-box {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.donate-box h3 { color: var(--orange); }
.donate-box img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  border-radius: var(--radius);
  background: #ffffff;
  padding: 0.5rem;
}

.address-box {
  width: 100%;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.address-box code {
  font-family: 'Courier New', monospace;
  font-size: 0.75rem;
  color: var(--text-muted);
  word-break: break-all;
  flex: 1;
  text-align: left;
}
.copy-btn {
  flex-shrink: 0;
  background: var(--bg-4);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.3rem 0.6rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  font-family: inherit;
}
.copy-btn:hover { background: var(--orange); color: var(--bg); border-color: var(--orange); }

/* -----------------------------------------------------------
   Timeline (Proof of Work)
   ----------------------------------------------------------- */
.timeline {
  position: relative;
  padding-left: 2rem;
  border-left: 2px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 800px;
  margin-inline: auto;
}
.timeline__item {
  position: relative;
}
.timeline__item::before {
  content: '';
  position: absolute;
  left: -2.55rem;
  top: 0.35rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--orange);
  border: 2px solid var(--bg);
  box-shadow: 0 0 0 2px var(--orange);
}
.timeline__date {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange);
  margin-bottom: 0.35rem;
}
.timeline__item h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.timeline__item p { font-size: 0.9rem; color: var(--text-muted); }

/* -----------------------------------------------------------
   Info Sections (long-form content)
   ----------------------------------------------------------- */
.content-section {
  max-width: 820px;
  margin-inline: auto;
}

.content-section h2 {
  margin-top: 3rem;
  margin-bottom: 1.25rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}
.content-section h2:first-child { margin-top: 0; border-top: none; }
.content-section h3 {
  color: var(--orange);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.content-section p { color: var(--text-muted); margin-bottom: 1.1rem; }
.content-section a { color: var(--orange); }
.content-section a:hover { color: var(--orange-dark); }

.benefits-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-block: 1.5rem;
}
.benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.benefits-list li::before {
  content: '₿';
  color: var(--orange);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.resource-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-block: 1.5rem;
}
.resource-list li {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.resource-list li strong { color: var(--white); display: block; margin-bottom: 0.25rem; }
.resource-list li a { color: var(--orange); }

/* -----------------------------------------------------------
   CTA Banner
   ----------------------------------------------------------- */
.cta-banner {
  background: linear-gradient(135deg, #1a1000 0%, #0a0a0a 50%, #1a0a00 100%);
  border-top: 1px solid #2a2a2a;
  border-bottom: 1px solid #2a2a2a;
  text-align: center;
  padding-block: 4rem;
}
.cta-banner h2 { margin-bottom: 1rem; color: #ffffff; }
.cta-banner p { color: rgba(255,255,255,0.68); max-width: 540px; margin-inline: auto; margin-bottom: 0; text-align: center; }
.cta-banner .btn-group { justify-content: center; }

/* -----------------------------------------------------------
   Footer
   ----------------------------------------------------------- */
/* Footer: explicitly dark for contrast against the light page */
.site-footer {
  background: #111111;
  border-top: 3px solid var(--orange);
  padding-block: 3rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.footer-brand .nav-logo { margin-bottom: 1rem; }
/* Logo stays orange on dark footer; override the nav filter */
.site-footer .nav-logo img { filter: none; }
.site-footer .nav-logo span { color: #ffffff; }
.footer-brand p {
  font-size: 0.875rem;
  color: #888888;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col ul a {
  font-size: 0.875rem;
  color: #888888;
  transition: color var(--transition);
}
.footer-col ul a:hover { color: #ffffff; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid #2a2a2a;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: #666666;
  margin: 0;
}
.footer-social {
  display: flex;
  gap: 1rem;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  color: #888888;
  font-size: 0.9rem;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.footer-social a:hover {
  background: var(--orange);
  color: #111111;
  border-color: var(--orange);
}

/* SVG icons in footer social */
.footer-social svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Orange variant for social icons in content cards */
.footer-social--orange a {
  background: var(--orange);
  border-color: var(--orange);
  color: #111111;
}
.footer-social--orange a:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
}

/* -----------------------------------------------------------
   Page Header (internal pages)
   ----------------------------------------------------------- */
.page-header {
  padding-top: calc(var(--nav-h) + 4rem);
  padding-bottom: 4rem;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.page-header .label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.75rem;
}
.page-header h1 { margin-bottom: 1rem; }
.page-header p { color: var(--text-muted); max-width: 600px; margin-inline: auto; }

/* Hero with background image for inner pages */
.hero--inner {
  min-height: 45vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 3rem;
}

/* -----------------------------------------------------------
   Misc
   ----------------------------------------------------------- */
.orange { color: var(--orange); }
.muted { color: var(--text-muted); }

.divider {
  height: 1px;
  background: var(--border);
  margin-block: 2rem;
}

.tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(247,147,26,0.12);
  border: 1px solid rgba(247,147,26,0.3);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--orange);
}

.notice-bar {
  background: rgba(247,147,26,0.08);
  border: 1px solid rgba(247,147,26,0.2);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 1.5rem;
}
.notice-bar strong { color: var(--orange); }

.two-col-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

/* Project intro cards */
.project-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
}
.project-card:hover { border-color: var(--orange); }
.project-card__img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}
.project-card__body { padding: 1.75rem; display: flex; flex-direction: column; flex: 1; }
.project-card__body .tag { margin-bottom: 0.75rem; }
.project-card__body h3 { margin-bottom: 0.75rem; }
.project-card__body p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1.25rem; flex: 1; }
.project-card__body .btn { margin-top: auto; align-self: flex-start; }

/* Involvement cards */
.involve-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  overflow: hidden;
}
.involve-card__img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}
.involve-card__video {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}
.involve-card__video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.involve-card__body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.involve-card .icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}
.involve-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.involve-card p { color: var(--text-muted); font-size: 0.9rem; flex: 1; margin-bottom: 1.25rem; }
.involve-card .btn { margin-top: auto; align-self: flex-start; }

/* Blog post body */
.post-body {
  max-width: 760px;
  margin-inline: auto;
}
.post-body h2 { margin-top: 2.5rem; margin-bottom: 1rem; }
.post-body h3 { color: var(--orange); margin-top: 2rem; margin-bottom: 0.75rem; }
.post-body p { color: var(--text-muted); margin-bottom: 1.1rem; }
.post-body img { border-radius: var(--radius); margin-block: 1.5rem; width: 100%; }
.post-body a { color: var(--orange); }
.post-body a:hover { color: var(--orange-dark); }
.post-body ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-muted);
}
.post-body ul li { margin-bottom: 0.4rem; }

.post-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.post-meta .author { color: var(--orange); font-weight: 600; }

/* Back link */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 2rem;
  transition: color var(--transition);
}
.back-link:hover { color: var(--orange); }

/* -----------------------------------------------------------
   Responsive
   ----------------------------------------------------------- */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand { grid-column: 1 / -1; }
  .split { gap: 2.5rem; }
}

@media (max-width: 768px) {
  :root {
    --section-py: 3.5rem;
  }

  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .hero { min-height: 55vh; }
  .hero--short { min-height: 32vh; }

  .split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .split--reversed { direction: ltr; }

  .two-col-text {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .footer-brand { grid-column: 1 / -1; }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .footer-social { justify-content: center; }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .donate-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .btn-group { flex-direction: column; }
  .btn-group .btn { text-align: center; justify-content: center; }
  .hero { min-height: 45vh; }
  .hero--short { min-height: 26vh; }
}

/* -----------------------------------------------------------
   News listing extras
   ----------------------------------------------------------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.news-card__img-link { display: block; overflow: hidden; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.news-card__img-link img { width: 100%; height: 220px; object-fit: cover; transition: transform 0.35s ease; }
.news-card__img-link:hover img { transform: scale(1.04); }
.news-card__meta { font-size: .8rem; color: var(--text-muted); margin-bottom: .5rem; }
.news-card__title { font-size: 1.1rem; margin-bottom: .6rem; }
.news-card__title a { color: var(--white); }
.news-card__title a:hover { color: var(--orange); }
.news-card__excerpt { font-size: .875rem; color: var(--text-muted); margin-bottom: 1rem; }

/* -----------------------------------------------------------
   Blog Post Page
   ----------------------------------------------------------- */
.post-hero {
  margin-top: var(--nav-h);
  max-height: 480px;
  overflow: hidden;
}
.post-hero img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center;
}

.post-article {
  padding: 4rem 0 5rem;
}

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

.post-header {
  margin-bottom: 2.5rem;
}

.post-meta {
  font-size: .85rem;
  color: var(--text-muted);
  margin-bottom: .75rem;
}

.post-author { color: var(--orange); font-weight: 600; }

.post-header h1 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  line-height: 1.2;
  margin-bottom: .75rem;
}

.post-tags { margin-top: .5rem; }
.post-tags a { font-size: .85rem; }

.post-body p {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.post-body h2 {
  font-size: 1.4rem;
  margin: 2rem 0 1rem;
  color: var(--white);
}

.post-body h3 {
  font-size: 1.15rem;
  margin: 1.5rem 0 .75rem;
  color: var(--white);
}

.post-body ul, .post-body ol {
  margin: 1rem 0 1.5rem 1.5rem;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.8;
}

.post-body ul { list-style: disc; }
.post-body ol { list-style: decimal; }
.post-body li { margin-bottom: .4rem; }

.post-body blockquote {
  border-left: 4px solid var(--orange);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: var(--bg-2);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text-muted);
}

.post-body img {
  width: 100%;
  border-radius: var(--radius-lg);
  margin: 1.5rem 0;
}

.post-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* card-grid--3 modifier */
.card-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

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

@media (max-width: 640px) {
  .card-grid--3 { grid-template-columns: 1fr; }
  .post-hero img { height: 260px; }
  .news-grid { grid-template-columns: 1fr; }
}
