/* Living Wright Recovery - red-forward palette override.
   Loads the original stylesheet, then replaces its color tokens. */
@import url('base.css');

:root {
  --primary:        #8E2F3A; /* garnet */
  --primary-dark:   #6E2230; /* deep garnet */
  --primary-light:  #B85A63; /* soft rosewood */
  --secondary:      #7A4038; /* warm brick */
  --secondary-dark: #5A2C27; /* dark brick */
  --accent:         #D9877E; /* dusty rose */
  --bg:             #FBF7F5; /* warm white */
  --bg-section:     #F4E9E6; /* blush */
  --bg-dark:        #3A1A20; /* deep wine */
  --border:         #E9D9D5;
}

/* Three-across photo strip (Program page) */
.gallery-grid.gallery-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 640px) {
  .gallery-grid.gallery-3 { grid-template-columns: 1fr 1fr; }
  .gallery-grid.gallery-3 .gallery-item:last-child { grid-column: span 2; }
}

/* Two-column photo mosaic used beside text (Home + About) */
.gallery-grid.gallery-mosaic { grid-template-columns: 1fr 1fr; }
.gallery-grid.gallery-mosaic .gallery-item.tall { grid-row: span 2; aspect-ratio: auto; min-height: 100%; }

/* Hero photo overlay — warm wine tint to match the garnet palette */
.hero-overlay {
  background: linear-gradient(to right,
    rgba(42, 16, 22, 0.88) 0%,
    rgba(42, 16, 22, 0.58) 60%,
    rgba(42, 16, 22, 0.28) 100%);
}

/* Four-across photo strip (Home page) */
.gallery-grid.gallery-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .gallery-grid.gallery-4 { grid-template-columns: repeat(2, 1fr); } }

/* ── Board of Directors ── */
.board-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .board-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .board-grid { grid-template-columns: repeat(4, 1fr); } }
.board-card {
  display: flex; flex-direction: column; text-align: center;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 2rem 1.5rem; color: var(--text); text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition);
}
.board-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.board-card h3 { margin: 1.25rem 0 0.25rem; font-size: 1.15rem; }
.board-card p { font-size: 0.92rem; color: var(--text-light); flex: 1; }
.board-title { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--primary); margin-bottom: 0.9rem; }
.board-more { color: var(--primary); font-weight: 600; font-size: 0.9rem; margin-top: 1rem; }
.board-photo, .board-profile-photo {
  width: 140px; height: 140px; margin: 0 auto; border-radius: 50%; overflow: hidden;
  background: var(--bg-section); display: flex; align-items: center; justify-content: center;
  border: 4px solid var(--white); box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.board-photo img, .board-profile-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.board-initials { font-family: 'Playfair Display', serif; font-size: 2.6rem; font-weight: 700; color: var(--primary); letter-spacing: 0.02em; }
.board-profile { display: grid; gap: 2.5rem; max-width: 900px; margin: 0 auto; align-items: start; }
.board-profile-photo { width: 220px; height: 220px; }
.board-profile-photo .board-initials { font-size: 4rem; }
.board-profile-text h2 { margin-bottom: 1.25rem; }
.board-profile-text p { color: var(--text-light); line-height: 1.75; margin-bottom: 1.1rem; }
@media (min-width: 768px) { .board-profile { grid-template-columns: 220px 1fr; } }

/* ── Human-friendly site map ── */
.sitemap-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; max-width: 960px; margin: 0 auto; }
@media (min-width: 768px) { .sitemap-grid { grid-template-columns: 1fr 1fr; } }
.sitemap-group h3 { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--primary); margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--border); }
.sitemap-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.sitemap-list a { display: block; padding: 0.7rem 0.9rem; border-radius: var(--radius); color: var(--text); text-decoration: none; transition: background var(--transition); }
.sitemap-list a:hover { background: var(--bg-section); }
.sitemap-list strong { display: block; font-weight: 600; }
.sitemap-list span { display: block; font-size: 0.88rem; color: var(--text-light); }

/* Hero headline: let the two phrases flow together (3 lines on desktop, not 4) */
.hero h1 { font-size: clamp(2rem, 4.2vw, 3rem); line-height: 1.15; max-width: 820px; }
.hero h1 em { display: inline; color: #F2C4C9; }

/* Anchor targets clear the sticky header */
#map { scroll-margin-top: 90px; }
