/* ==================== THEME TOKENS ==================== */
:root {
  /* ===== MAIN BRAND COLORS ===== */
  --brand: #388e3c;
  --brand-dark: #2e7d32;
  --brand-darker: #1b5e20;
  --brand-contrast: #ffffff;
  --brand-soft: #a5d6a7;

  /* ===== ACCENT / HIGHLIGHT COLORS ===== */
  --accent: #6B4C8A;
  --accent-soft: #F5EDFA;
  --accent-contrast: #341539;
  --accent-link: #9B6EC0;

  /* ===== TEXT COLORS ===== */
  --text: #333333;
  --muted: #555555;
  --faint: #777777;
  --link: #2a7d3a;

  /* ===== BACKGROUND / SURFACE COLORS ===== */
  --white: #ffffff;
  --page-bg: #f4f4f4;
  --content-bg: #e8e8e8;
  --surface: #ffffff;
  --surface-muted: #f9f9f9;

  /* ===== BORDERS ===== */
  --border: #e0e0e0;
  --border-light: #f0f0f0;

  /* ===== FOOTER ===== */
  --footer-text: #cccccc;
  --footer-divider: rgba(255, 255, 255, 0.2);

  /* ===== OPTIONAL NON-COLOR HELPERS ===== */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 2px 6px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 6px 14px rgba(0, 0, 0, 0.12);
  --radius: 4px;
}

/* ==================== RESET & BASE ==================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--page-bg);
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
}

/* ==================== BUTTONS ==================== */
.btn-primary {
  background: var(--brand-dark);
  color: var(--white);
  border: none;
  padding: 10px 24px;
  border-radius: var(--radius);
  font-size: 15px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.2s ease;
}

.btn-primary:hover {
  background: var(--brand-darker);
}

.btn-primary:focus-visible {
  outline: 3px solid var(--accent-link);
  outline-offset: 2px;
}

/* ==================== CONTAINER ==================== */
.wcontainer {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 15px;
}

.defpadding {
  padding-top: 10px;
  padding-bottom: 10px;
}

/* ==================== HEADER TITLES ==================== */
#headerwrap {
  background: var(--brand);
}

#headerwrap .wcontainer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#header-title {
  flex: 1;
}

#header-title span {
  color: var(--brand-contrast);
  background: var(--brand);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.5px;
  display: inline-block;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

#logo {
  height: 45px;
}

#headerright #social a {
  color: var(--brand-contrast);
  margin-left: 15px;
  font-size: 14px;
  opacity: 0.9;
}

#headerright #social a:hover {
  opacity: 1;
  text-decoration: none;
}

/* ==================== NAVIGATION ==================== */
#menuwrap {
  background: var(--brand);
  border-bottom: 2px solid var(--brand-dark);
}

#linklist {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
}

#linklist .menulink {
  margin: 0;
}

#linklist .menulink a {
  display: block;
  padding: 12px 18px;
  color: var(--brand-contrast);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background 0.2s;
}

#linklist .menulink a:hover,
#linklist .menulink a.active {
  background: var(--brand-darker);
  text-decoration: none;
}

/* ==================== CONTENT LAYOUT ==================== */
#content-bg {
  background: var(--content-bg);
}

#content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 0;
}

#main-wrap {
  flex: 1;
  padding: 20px 15px;
}

#main {
  background: var(--surface);
  padding: 20px 25px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

#sidebar-wrap {
  width: 280px;
  flex-shrink: 0;
  padding: 20px 0 20px 15px;
}

/* ==================== ARTICLES ==================== */
article.full h1 {
  font-size: 28px;
  color: var(--accent-contrast);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
}

article h2 {
  font-size: 20px;
  color: var(--accent-contrast);
  margin: 25px 0 15px;
}

article h3 {
  font-size: 16px;
  color: var(--muted);
  margin: 20px 0 10px;
}

article p {
  margin-bottom: 15px;
}

article ul.quick-info {
  list-style: none;
  margin: 15px 0 20px;
  padding: 15px;
  background: var(--accent-soft);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
}

article ul.quick-info li {
  margin-bottom: 6px;
  font-size: 15px;
}

article ul.quick-info li a,
#sidebar aside address a {
  color: var(--accent-link);
}

article header a {
  font-size: 17px;
  font-weight: 600;
  color: var(--accent-link);
}

article .details {
  font-size: 13px;
  color: var(--faint);
  margin: 6px 0 15px;
}

article .details a {
  color: var(--accent-link);
}

/* ==================== SIDEBAR WIDGETS ==================== */
#sidebar aside {
  background: var(--surface);
  padding: 18px;
  margin-bottom: 15px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

#sidebar aside address a {
  color: var(--accent-link);
}

#sidebar aside header {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent-contrast);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

#sidebar aside p {
  font-size: 14px;
  margin-bottom: 10px;
  color: var(--muted);
}

#sidebar aside ul {
  list-style: none;
  padding: 0;
}

#sidebar aside ul li {
  margin-bottom: 6px;
  font-size: 15px;
}

#sidebar aside ul li a {
  color: var(--accent-link);
}

.hours-list li {
  padding: 4px 0;
  border-bottom: 1px solid var(--border-light);
}

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

#sidebar aside address {
  font-style: normal;
  font-size: 15px;
  color: var(--muted);
}

/* ==================== FOOTER ==================== */
#footer {
  background: var(--brand-dark);
  color: var(--footer-text);
  margin-top: 20px;
}

#footer-content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  padding: 25px 15px;
}

#footer-left,
#footer-right {
  width: 48%;
}

#footer-left-content {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

#footer-left-content .extra-info {
  flex: 1;
  min-width: 180px;
}

#footer-left-content .extra-info header {
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: uppercase;
}

#footer-left-content .extra-info hr {
  border: none;
  border-top: 1px solid var(--footer-divider);
  margin-bottom: 8px;
}

#footer-left-content .extra-info ul {
  list-style: none;
  padding: 0;
}

#footer-left-content .extra-info ul li {
  margin-bottom: 4px;
}

#footer-left-content .extra-info ul li a {
  color: var(--brand-soft);
  font-size: 13px;
}

#footer-left-content .extra-info ul li a:hover {
  color: var(--white);
  text-decoration: none;
}

#footer-right {
  text-align: right;
}

#footer-right .extra-info ul {
  list-style: none;
  padding: 0;
}

#footer-right .extra-info ul li {
  margin-bottom: 6px;
  font-size: 13px;
}

#footer-right .extra-info ul li a {
  color: var(--brand-soft);
}

#footer-right .extra-info ul li p {
  margin: 0;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
  #linklist {
    flex-direction: column;
  }

  #linklist .menulink a {
    padding: 10px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  #content {
    flex-direction: column;
  }

  #sidebar-wrap {
    width: 100%;
    padding: 15px 0 0 0;
  }

  #footer-content {
    flex-direction: column;
    gap: 20px;
  }

  #footer-left,
  #footer-right {
    width: 100%;
    text-align: left;
  }
}

/* ==================== SUPPORTER GRID ==================== */
.supporter-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 25px;
  margin-bottom: 35px;
}

.supporter-card {
  background: var(--surface);
  border-radius: calc(var(--radius) + 2px);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.supporter-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.supporter-img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  background: var(--surface-muted);
  padding: 20px;
  display: block;
}

.supporter-card h3 {
  font-size: 18px;
  color: var(--brand-dark);
  margin: 15px 15px 6px;
  font-weight: 700;
}

.supporter-card p {
  font-size: 14px;
  color: var(--muted);
  margin: 0 15px 15px;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .supporter-grid {
    grid-template-columns: 1fr;
  }
}

/* ==================== FEATURED PROGRAM SECTION ==================== */
.program-feature {
  margin: 30px 0;
  padding: 25px;
  background: var(--accent-soft);
  border-radius: calc(var(--radius) + 2px);
  border-left: 4px solid var(--accent);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.feature-image {
  float: left;
  width: 45%;
  margin-right: 25px;
  margin-bottom: 15px;
}

.feature-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  display: block;
}

.feature-content h2 {
  font-size: 26px;
  color: var(--accent-contrast);
  margin-bottom: 15px;
  border-bottom: 2px solid var(--border);
  padding-bottom: 8px;
}

.feature-content p {
  margin-bottom: 15px;
  line-height: 1.7;
  color: var(--text);
}

@media (max-width: 768px) {
  .feature-image {
    float: none;
    width: 100%;
    margin-right: 0;
    margin-bottom: 20px;
  }
}

/* ==================== SIDEBAR LOGO ==================== */
.sidebar-logo {
  text-align: center;
  margin-bottom: 10px;
  padding-bottom: 5px;
}

.sidebar-logo img {
  max-width: 262px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

/* ==================== MOBILE TWEAKS ==================== */
@media (max-width: 768px) {
  #header-title span {
    font-size: 18px;
  }

  .sidebar-logo img {
    max-width: 140px;
  }
}
/* ==================== IMAGE PLACEHOLDER ==================== */
.image-placeholder {
  width: 100%;
  max-width: 400px;
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-muted);
  border: 2px dashed var(--accent-link);
  color: var(--muted);
  border-radius: var(--radius);
  text-align: center;
  padding: 10px;
}
