/* =============================================
   SHARED STYLES — TEST SITE
   Based on Example K (transparentelection.org)
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Source+Sans+3:wght@300;400;600;700&display=swap');

:root {
  --green-dark: #1a3a2e;
  --green-mid: #2d6a4f;
  --green-light: #e8f5ee;
  --orange: #e05a1c;
  --orange-light: #f47c3c;
  --cream: #f9f6f0;
  --white: #ffffff;
  --text-dark: #1a1a1a;
  --text-mid: #3a3a3a;
  --text-light: #666666;
  --border: #d0d0d0;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
}

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

body {
  font-family: 'Source Sans 3', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
}

/* =============================================
   HEADER
   ============================================= */

header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  min-height: 64px;
  padding: 0.5rem 0;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.logo-box {
  width: 36px;
  height: 36px;
  background: var(--green-dark);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--green-dark);
  font-weight: 700;
}

nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0.4rem 0;
}

nav a {
  text-decoration: none;
  color: var(--text-mid);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

nav a:hover { color: var(--green-mid); }

.btn-donate {
  background: var(--orange);
  color: white !important;
  padding: 0.45rem 1.1rem;
  border-radius: 20px;
  font-weight: 700 !important;
  transition: background 0.2s !important;
}

.btn-donate:hover { background: var(--orange-light) !important; }

/* =============================================
   FOOTER
   ============================================= */

footer {
  background: var(--green-dark);
  color: rgba(255,255,255,0.85);
  padding: 3rem 2rem 1.5rem;
  margin-top: 4rem;
}

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

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

.footer-brand p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  margin-top: 0.5rem;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: white;
  margin-bottom: 0.8rem;
}

.footer-col a {
  display: block;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
  transition: color 0.2s;
}

.footer-col a:hover { color: white; }

.footer-newsletter p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 0.8rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.5rem 0.8rem;
  border: none;
  border-radius: 4px;
  font-size: 0.85rem;
  background: rgba(255,255,255,0.15);
  color: white;
}

.newsletter-form input::placeholder { color: rgba(255,255,255,0.5); }

.newsletter-form button {
  padding: 0.5rem 1rem;
  background: var(--orange);
  color: white;
  border: none;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
}

.footer-bottom-links {
  display: flex;
  gap: 1.2rem;
}

.footer-bottom-links a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.footer-social a {
  color: rgba(255,255,255,0.65);
  font-size: 0.85rem;
  text-decoration: none;
}

/* =============================================
   SHARED PAGE ELEMENTS
   ============================================= */

.page-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.5rem;
}

h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 1rem;
}

h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 0.8rem;
}

h3 {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

p {
  color: var(--text-mid);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.btn-primary {
  display: inline-block;
  background: var(--orange);
  color: white;
  padding: 0.65rem 1.5rem;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  transition: background 0.2s;
}

.btn-primary:hover { background: var(--orange-light); }

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--green-mid);
  padding: 0.65rem 1.5rem;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  border: 2px solid var(--green-mid);
  transition: all 0.2s;
}

.btn-secondary:hover {
  background: var(--green-mid);
  color: white;
}

.dark-box {
  background: var(--green-dark);
  color: rgba(255,255,255,0.9);
  padding: 2rem;
  border-radius: 8px;
  margin: 2rem 0;
}

.dark-box p { color: rgba(255,255,255,0.85); }

.highlight-box {
  background: var(--cream);
  border-left: 4px solid var(--orange);
  padding: 1.5rem 2rem;
  border-radius: 0 8px 8px 0;
  margin: 2rem 0;
}

.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.card h3 { color: var(--green-mid); }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 1.5rem;
}

img.placeholder {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
  margin-bottom: 1rem;
}

img.placeholder-tall {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

img.placeholder-hero {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2.5rem 0;
}

ul.styled-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

ul.styled-list li {
  padding: 0.4rem 0 0.4rem 1.5rem;
  position: relative;
  color: var(--text-mid);
  font-size: 0.95rem;
}

ul.styled-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700;
}

.cta-box {
  background: var(--cream);
  border-radius: 8px;
  padding: 2.5rem;
  text-align: center;
  margin: 3rem 0;
}

.cta-box h2 { margin-bottom: 0.5rem; }
.cta-box p { margin-bottom: 1.5rem; }

/* accordion for N */
.accordion-section { margin-bottom: 2rem; }
.accordion-section h3 {
  font-size: 1rem;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.8rem;
  font-weight: 700;
}

.accordion-item {
  border-bottom: 1px solid var(--border);
}

.accordion-item summary {
  padding: 0.9rem 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-item summary::after {
  content: "↓";
  color: var(--orange);
  font-size: 0.85rem;
}

.accordion-item[open] summary::after { content: "↑"; }

.accordion-item p {
  padding: 0 0 1rem;
  font-size: 0.92rem;
}

/* person card for G */
.person-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

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

.person-card-body { padding: 1rem; }
.person-card-body h3 { margin-bottom: 0.2rem; }
.person-card-body .role {
  font-size: 0.82rem;
  color: var(--orange);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.person-card-body .meta {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 0.2rem;
}

/* document card for O */
.doc-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.2rem 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.doc-card h3 {
  color: var(--green-mid);
  font-size: 1rem;
}

.doc-card .doc-meta {
  font-size: 0.78rem;
  color: var(--text-light);
}

.doc-card p { font-size: 0.88rem; margin-bottom: 0; }

.doc-actions {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.btn-doc {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0.8rem;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid var(--border);
  color: var(--text-mid);
  transition: all 0.2s;
}

.btn-doc:hover {
  background: var(--green-dark);
  color: white;
  border-color: var(--green-dark);
}

.btn-doc-download {
  background: var(--orange);
  color: white;
  border-color: var(--orange);
}

.btn-doc-download:hover {
  background: var(--orange-light);
  border-color: var(--orange-light);
  color: white;
}

/* event gallery for E */
.event-item { margin-bottom: 3rem; }
.event-item h3 { margin-bottom: 0.2rem; }
.event-date {
  font-size: 0.82rem;
  color: var(--orange);
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.event-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.event-gallery img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 6px;
}

/* hero for C */
.hero {
  background: var(--green-dark);
  color: white;
  padding: 5rem 2rem;
  text-align: center;
  margin-bottom: 3rem;
}

.hero h1 { color: white; font-size: 3rem; margin-bottom: 1rem; }
.hero p { color: rgba(255,255,255,0.8); font-size: 1.1rem; max-width: 600px; margin: 0 auto 2rem; }

/* resource card for I */
.resource-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.resource-card h3 { color: var(--green-mid); }
.resource-card p { font-size: 0.9rem; margin-bottom: 0; flex: 1; }

/* action card for B */
.action-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

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

.action-card-body { padding: 1.5rem; }
.action-card-body h3 { margin-bottom: 0.5rem; }
.action-card-body p { font-size: 0.9rem; margin-bottom: 1rem; }

/* stat cards for A */
.stat-card {
  background: var(--green-dark);
  color: white;
  border-radius: 8px;
  padding: 1.5rem;
}

.stat-card .stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--orange-light);
  font-weight: 700;
  display: block;
  margin-bottom: 0.3rem;
}

.stat-card p {
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
  margin: 0;
}

.stat-card .source {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
  margin-top: 0.5rem;
  display: block;
}
