/* ============================================================
   RENEWED HOPE — Supplementary CSS (main.css)
   Loaded after style.css — handles: comments, sidebar,
   widgets, search results, contact form, print.
   ============================================================ */

/* ============================================================
   COMMENTS
   ============================================================ */
.comments-area { margin-top: 16px; }

.comments-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 36px;
}

.comment-list { list-style: none; padding: 0; margin: 0; }

.comment {
  display: flex;
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.comment:last-child { border-bottom: none; }

.comment-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  flex-shrink: 0;
}

.comment-body { flex: 1; }

.comment-meta {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.comment-author-name {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.95rem;
}

.comment-date {
  font-size: 0.78rem;
  color: var(--text-light);
}

.comment-content p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 8px;
}

.reply a {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.children {
  margin-top: 16px;
  padding-left: 32px;
  list-style: none;
  border-left: 2px solid var(--gold-pale);
}

/* Comment Form */
.comment-respond { margin-top: 48px; }

.comment-reply-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 24px;
}

.comment-form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 6px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--transition);
  margin-bottom: 20px;
}

.comment-form input:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.comment-form textarea { height: 140px; resize: vertical; }

.comment-form .form-submit input[type="submit"] {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  background: var(--gold);
  color: var(--white);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(201,137,58,0.35);
}

.comment-form .form-submit input[type="submit"]:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

/* ============================================================
   SEARCH RESULTS PAGE
   ============================================================ */
.search-results-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 48px;
}

.search-result-item {
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.search-result-item:hover {
  box-shadow: var(--shadow-soft);
  border-color: var(--gold);
}

.search-result-item h3 { font-size: 1.3rem; margin-bottom: 8px; }
.search-result-item h3 a { color: var(--navy); }
.search-result-item h3 a:hover { color: var(--gold); }
.search-result-item p { font-size: 0.93rem; color: var(--text-light); margin: 0; }

/* ============================================================
   SIDEBAR & WIDGETS
   ============================================================ */
.site-sidebar { min-width: 0; }

.widget {
  margin-bottom: 40px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.widget-title {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gold-pale);
}

.widget ul { display: flex; flex-direction: column; gap: 8px; }
.widget ul li a {
  font-size: 0.9rem;
  color: var(--text-mid);
  transition: color var(--transition);
}
.widget ul li a:hover { color: var(--gold); }

.widget_search input[type="search"] {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
}
.widget_search input[type="submit"] {
  display: none;
}

/* ============================================================
   CONTACT FORM (basic — works with CF7 or native form)
   ============================================================ */
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
}

.contact-form-wrap label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 6px;
}

.contact-form-wrap input,
.contact-form-wrap textarea,
.contact-form-wrap select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--cream);
  color: var(--text-dark);
  margin-bottom: 20px;
  transition: border-color var(--transition);
}

.contact-form-wrap input:focus,
.contact-form-wrap textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
}

.contact-form-wrap textarea { height: 160px; resize: vertical; }

/* CF7 overrides */
.wpcf7-form-control-wrap { display: block; }
.wpcf7-not-valid-tip { color: var(--terracotta); font-size: 0.8rem; margin-top: -12px; display: block; }
.wpcf7-response-output {
  margin-top: 16px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  border: 1.5px solid currentColor;
}

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.breadcrumbs a,
.breadcrumbs span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}
.breadcrumbs a { text-decoration: underline; }
.breadcrumbs a:hover { color: var(--gold-light); }
.breadcrumbs .sep { opacity: 0.35; }

/* ============================================================
   PAGINATION STYLES
   ============================================================ */
.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-mid);
  border: 1.5px solid var(--border);
  margin: 0 4px;
  transition: var(--transition);
}
.page-numbers:hover { border-color: var(--gold); color: var(--gold); }
.page-numbers.current {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}
.page-numbers.prev,
.page-numbers.next {
  width: auto;
  padding: 0 16px;
}

/* ============================================================
   INITIATIVE ARCHIVE
   ============================================================ */
.initiatives-archive-hero { background: var(--navy); }

/* ============================================================
   TEAM MEMBER GRID
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.team-card {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  transition: var(--transition);
}
.team-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
}

.team-card img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  border: 3px solid var(--gold-pale);
}

.team-card h3 { font-size: 1.1rem; margin-bottom: 4px; }

.team-card .role {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ============================================================
   BACK TO TOP BUTTON
   ============================================================ */
#backToTop {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-card);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  z-index: 500;
  cursor: pointer;
  border: none;
}
#backToTop.visible {
  opacity: 1;
  pointer-events: all;
}
#backToTop:hover { transform: translateY(-3px); background: var(--gold); }

/* ============================================================
   HOMEPAGE SECTION SPACING
   ============================================================ */
.initiatives-section,
.help-section,
.newsletter-section {
  padding-top: 110px;
  padding-bottom: 110px;
}

.initiatives-grid,
.help-grid,
.newsletter-shell {
  margin-top: 24px;
}

/* ============================================================
   FOOTER MENU
   ============================================================ */
.footer-menu,
.footer-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-menu > li {
  margin-bottom: 10px;
}

.footer-menu li a {
  color: #c7cbd1;
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-menu li a:hover {
  color: #ffffff;
}

.footer-menu .sub-menu {
  margin-top: 8px;
}

.footer-menu .sub-menu li {
  margin-bottom: 8px;
}

.footer-menu .sub-menu li a {
  color: #9ea6af;
  font-size: 0.95rem;
}

/* ============================================================
   FOOTER LAYOUT & DESIGN
   ============================================================ */
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.footer-col h5 {
  margin-bottom: 18px;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: #9ea6af;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #c7cbd1;
  font-size: 15px;
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-col ul li a:hover {
  color: #ffffff;
}

.footer-brand p {
  margin-top: 18px;
  color: #aab2bb;
  line-height: 1.6;
  max-width: 320px;
}

.footer-social {
  margin-top: 20px;
}

.footer-social .social-link {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  margin-right: 10px;
  color: #c7cbd1;
  transition: all 0.25s ease;
}

.footer-social .social-link:hover {
  background: #D4A017;
  color: #111;
}

.footer-contact p {
  margin-bottom: 10px;
  color: #c7cbd1;
  font-size: 14px;
}

.footer-contact a {
  color: #c7cbd1;
  text-decoration: none;
}

.footer-contact a:hover {
  color: #ffffff;
}

.footer-give {
  margin-top: 20px;
  display: inline-block;
  padding: 10px 22px;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  transition: all 0.3s ease;
}

.footer-give:hover {
  background: #D4A017;
  color: #111;
  border-color: #D4A017;
}

.footer-bottom {
  margin-top: 60px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  color: #8f98a3;
  font-size: 13px;
}

/* ============================================================
   MOBILE FOOTER
   ============================================================ */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-brand {
    text-align: center;
  }

  .footer-brand p {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-col {
    text-align: center;
  }

  .footer-col ul li {
    margin-bottom: 14px;
  }

  .footer-col ul li a {
    font-size: 16px;
  }

  .footer-contact p {
    margin-bottom: 8px;
  }

  .footer-give {
    display: inline-block;
    margin-top: 16px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
  }

  .site-footer {
    padding-top: 60px;
    padding-bottom: 40px;
  }
}

/* ============================================================
   PRINT STYLES
   ============================================================ */
@media print {
  .site-header,
  .site-footer,
  .newsletter-section,
  .hero-scroll,
  .hero-waves,
  .menu-toggle,
  #backToTop { display: none !important; }

  body { font-size: 11pt; color: #000; background: #fff; }
  a { color: #000; text-decoration: underline; }
  .post-content { max-width: none; }
  h1, h2, h3 { page-break-after: avoid; }
  img { max-width: 100%; }
}
/* ============================================================
   BOARD MEMBERS
   ============================================================ */

.board-members-section {
  margin-top: 48px;
}

.board-members-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.board-member-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: var(--transition);
}

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

.board-member-photo img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.board-member-body h3 {
  margin: 0 0 8px;
  font-size: 1.6rem;
line height: 1.2;
  color: #1f2f3a !important;
}

.board-member-role {
  margin: 0 0 14px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.board-member-summary {
  margin-bottom: 14px;
  color: var(--text-mid);
  font-size: 0.95rem;
  line-height: 1.65;
}

.board-member-bio {
  color: var(--text-dark);
  font-size: 0.95rem;
  line-height: 1.75;
}

.board-member-bio p:last-child {
  margin-bottom: 0;
}

.board-member-email {
  margin-top: 14px;
}

.board-member-email a {
  color: var(--gold);
  text-decoration: none;
}

.board-member-email a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .board-members-grid {
    grid-template-columns: 1fr;
  }

  .board-member-card {
    grid-template-columns: 1fr;
  }

  .board-member-photo img {
    height: auto;
    max-height: 420px;
  }
}

/* ============================================================
   BOARD MEMBERS
   ============================================================ */

.board-members-section {
  margin-top: 56px;
}

.board-members-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.board-member-card {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}

.board-member-card:hover {
  box-shadow: var(--shadow-soft);
  transform: translateY(-3px);
  border-color: var(--gold-pale);
}

.board-member-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-sm);
  display: block;
}

.board-member-body h3 {
  margin: 0 0 8px;
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--navy);
}

.board-member-role {
  margin: 0 0 16px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.board-member-summary {
  margin: 0 0 14px;
  color: var(--text-mid);
  font-size: 0.98rem;
  line-height: 1.65;
}

.board-member-bio {
  position: relative;
  color: var(--text-dark);
  font-size: 0.97rem;
  line-height: 1.75;
}

.board-member-bio p {
  margin-bottom: 14px;
}

.board-member-bio p:last-child {
  margin-bottom: 0;
}

.board-member-bio.is-collapsed .bio-content {
  max-height: 110px;
  overflow: hidden;
}

.bio-toggle {
  margin-top: 10px;
  background: none;
  border: none;
  padding: 0;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.bio-toggle:hover {
  text-decoration: underline;
}

.board-member-email {
  margin-top: 16px;
  font-size: 0.92rem;
}

.board-member-email a {
  color: var(--gold);
  text-decoration: none;
}

.board-member-email a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .board-member-card {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 22px;
  }

  .board-member-photo img {
    max-width: 320px;
  }
}

/* ============================================================
   DONATE STRIP
   ============================================================ */

.donate-strip {
  padding-top: 40px;
  padding-bottom: 40px;
}

.donate-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 32px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
}

.donate-strip-copy h2 {
  margin: 0 0 8px;
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--navy);
}

.donate-strip-copy p {
  margin: 0;
  color: var(--text-mid);
  font-size: 1rem;
  line-height: 1.65;
}

.donate-strip-action {
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .donate-strip-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
  }

  .donate-strip-copy h2 {
    font-size: 1.25rem;
  }
}

/* ============================================================
   DONATE PAGE
   ============================================================ */

body.page.page-id-280 .entry-content {
  max-width: 760px !important;
  margin: 0 auto !important;
  padding: 40px 20px 60px !important;
}

body.page.page-id-280 .entry-content h1 {
  font-size: 2.35rem !important;
  line-height: 1.15 !important;
  margin-bottom: 20px !important;
  color: var(--navy) !important;
}

body.page.page-id-280 .entry-content h2 {
  margin-top: 56px !important;
  margin-bottom: 14px !important;
  font-size: 1.45rem !important;
  line-height: 1.25 !important;
  color: var(--navy) !important;
  border-bottom: 1px solid var(--border) !important;
  padding-bottom: 8px !important;
}

body.page.page-id-280 .entry-content p {
  font-size: 1.03rem !important;
  line-height: 1.75 !important;
  color: var(--text-mid) !important;
  margin-bottom: 18px !important;
}

body.page.page-id-280 .entry-content ul {
  margin: 18px 0 22px !important;
  padding-left: 22px !important;
}

body.page.page-id-280 .entry-content ul li {
  margin-bottom: 10px !important;
  line-height: 1.7 !important;
  color: var(--text-mid) !important;
}

body.page.page-id-280 .entry-content .wp-block-button {
  margin-top: 16px !important;
  margin-bottom: 16px !important;
}

body.page.page-id-280 .entry-content .wp-block-button__link {
  background: var(--gold) !important;
  color: #111111 !important;
  border-radius: 999px !important;
  padding: 14px 28px !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
  text-decoration: none !important;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition) !important;
}

body.page.page-id-280 .entry-content .wp-block-button__link:hover {
  transform: translateY(-2px) !important;
  box-shadow: var(--shadow-soft) !important;
}

/* ============================================================
   DESIGN SYSTEM REFINEMENTS
   ============================================================ */

.section-header h2,
.mission-copy h2,
.journal-header h2 {
  line-height: 1.15;
}

.section-header p,
.mission-copy p,
.journal-feature-body p,
.journal-list-item p,
.help-card p,
.initiative-body p {
  line-height: 1.7;
}

.initiative-card,
.help-card,
.journal-feature,
.journal-list-item,
.mission-note,
.widget,
.search-result-item {
  box-shadow: var(--shadow-soft);
}

.initiative-card:hover,
.help-card:hover,
.journal-list-item:hover,
.search-result-item:hover,
.widget:hover {
  transform: translateY(-2px);
}

.btn,
.btn-primary,
.btn-outline,
.btn-outline-white,
.btn-ghost {
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
}

.btn:hover,
.btn-primary:hover,
.btn-outline:hover,
.btn-outline-white:hover {
  transform: translateY(-2px);
}

.eyebrow,
.hero-panel-kicker,
.mission-note-label,
.news-cat,
.help-index,
.initiative-index {
  letter-spacing: 0.12em;
}

