/* Bigger Than Sports — site styles */

:root{
  --green: #ffffff;
  --green-dark: #ffffff;
  --black: #111111;
  --orange: #c9a876;
  --orange-dark: #8a6a3f;
  --cream: #143e22;
  --white: #143e22;
}

*{ box-sizing: border-box; }
/* Same-page anchor scrolling is animated by hand in main.js instead of
   via this property, so it can't be silently overridden by a visitor's
   OS-level "Reduce Motion" setting (Safari/WebKit does this to native
   scroll-behavior, Chromium does not - this keeps it identical for both). */
body{
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  background: var(--white);
  color: var(--white);
  line-height: 1.6;
}

h1,h2,h3,h4{
  font-family: 'Montserrat', sans-serif; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
}

a{ color: inherit; text-decoration: none; }
img{ max-width: 100%; display: block; }
.container{ max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header / Nav ---------- */
.site-header{
  background: var(--green);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid var(--orange);
}
.nav-wrap{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.logo-link{ display: flex; align-items: center; gap: 10px; }
.logo-link img{ width: clamp(64px, 11vw, 88px); height: clamp(64px, 11vw, 88px); border-radius: 50%; }
.main-nav{ display: flex; align-items: center; gap: 28px; }
.main-nav ul{ display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.main-nav a{
font-family: 'Montserrat', sans-serif;
font-weight: 600;
font-size: 1.1rem;
letter-spacing: 0.03em;
text-transform: uppercase;
color: var(--white);
transition: color .15s;
}
.main-nav a:hover, .main-nav a.active{ color: var(--orange); }
.dropdown{ position: relative; }
.dropdown-menu{
  display: none;
  position: absolute;
  top: 130%;
  left: 0;
  background: var(--green-dark);
  border: 1px solid var(--orange);
  min-width: 200px;
  padding: 8px 0;
  border-radius: 6px;
}
.dropdown:hover .dropdown-menu{ display: block; }
.dropdown-menu a{
  display: block;
  padding: 10px 16px;
  font-size: 0.85rem;
  text-transform: none;
  font-weight: 500;
}
.dropdown-menu a:hover{ background: rgba(255,255,255,0.08); }
.donate-btn{
  background: var(--green);
  color: var(--white);
  font-weight: 700;
  padding: 12px 26px;
  border-radius: 4px;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  border: 2px solid var(--orange);
  transition: background .15s, color .15s;
}
.donate-btn:hover{ background: #143e22; color: #ffffff; border-color: #143e22; }
.nav-toggle{ display: none; background: none; border: none; color: var(--white); font-size: 1.8rem; cursor: pointer; }

@media (max-width: 900px){
  .main-nav{ display: none; }
  .nav-toggle{ display: block; }
  .main-nav.open{
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--green);
    padding: 20px 24px 30px;
    gap: 20px;
    border-bottom: 3px solid var(--orange);
  }
  .main-nav.open ul{ flex-direction: column; gap: 16px; }
  .dropdown-menu{ position: static; display: none; border: none; background: rgba(0,0,0,0.2); margin-top: 8px; }
  .dropdown.open .dropdown-menu{ display: block; }
}

/* Anchor-link targets: offset so the sticky header never covers the
   top of the section it scrolls to. Covers both the in-page smooth
   scroll (main.js) and the browser's own native hash-scroll on page
   load/reload, which main.js can't intercept. 120px comfortably
   clears the sticky header at every screen width (header height
   ranges ~95-119px depending on viewport). */
section[id]{
  scroll-margin-top: 120px;
}

/* ---------- Hero ---------- */
.hero{
  background: #ffffff;
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 83px);
  box-sizing: border-box;
  padding: 0;
}
.hero-split{
  display: flex;
  align-items: stretch;
  max-width: calc(720px + (100vh - 83px));
  margin: 0 auto;
  min-height: calc(100vh - 83px);
  box-sizing: border-box;
}
.hero-left{
  flex: 1 1 54%;
  max-width: 720px;
  display: flex;
  align-items: center;
  padding: 14px 48px 14px 56px;
  box-sizing: border-box;
}
.hero-left-inner{ width: 100%; container-type: inline-size; margin-top: 56px; }
.hero-right{
  position: relative;
  flex: 1 1 46%;
  background: #ffffff;
  overflow: hidden;
}
.hero-right img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom center;
}
.hero h1{ font-size: clamp(1rem, 6cqw, 3rem); line-height: 1.15; color: #143e22; text-align: left; white-space: nowrap; }
.hero .sub{ font-family: 'Montserrat', sans-serif; font-weight: 800; text-transform: uppercase; color: #143e22; font-size: clamp(1.05rem, 0.4vw + 0.95rem, 1.25rem); margin-top: 10px; text-align: left; }
.hero p.lede{ font-family: 'Montserrat', sans-serif; max-width: 700px; margin: 28px 0 0; font-size: 1.1rem; color: var(--black); text-align: left; }
@media (max-width: 900px){
  .hero{ min-height: 0; }
  .hero-split{ flex-direction: column; min-height: 0; max-width: none; }
  .hero-left{ flex: 0 0 auto; max-width: none; padding: 48px 24px 40px; order: 1; }
  .hero-left-inner{ margin-top: 0; }
  .hero-right{ flex: 0 0 auto; aspect-ratio: 1 / 1; order: 2; }
  .hero h1{ text-align: center; }
  .hero .sub{ font-size: clamp(1.1rem, 4vw, 1.5rem); margin-top: 16px; text-align: center; }
  .hero p.lede{ text-align: center; }
  .hero .zeffy-embed-card{ margin: 0 auto; }
}
.btn{
  display: inline-block;
  background: var(--orange);
  color: var(--black);
  font-weight: 700;
  padding: 14px 34px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 30px;
  transition: background .15s, transform .15s;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
}
.btn:hover{ background: var(--orange-dark); transform: translateY(-2px); }
.btn-outline{
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}
.btn-outline:hover{ background: var(--white); color: var(--green); }

/* ---------- Sections ---------- */
section{ padding: 80px 24px; position: relative; }

/* Gold seam between sections, flowing black/gold/white accent at every section boundary */
section:not(.hero)::before{
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(17,17,17,0) 0%, var(--orange-dark) 18%, var(--orange) 50%, var(--orange-dark) 82%, rgba(17,17,17,0) 100%);
  z-index: 5;
}

.section-green{ background: var(--green); color: var(--white); }
.section-dark{ background: var(--green-dark); color: var(--white); }
.section-black{ background: var(--black); color: var(--white); }
.section-cream{ background: #ffffff; color: #143e22; }
.section-white{ background: var(--white); color: var(--green-dark); }

.section-title{ font-size: clamp(2.2rem, 5vw, 3.6rem); text-align: center; margin-bottom: 28px; }

/* ---------- Board of Directors: compact, no photos ---------- */
.board-title.section-title{
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  letter-spacing: 1px;
  margin-bottom: 18px;
  color: #143e22;
}
.board-list{
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 540px;
  display: flex;
  flex-direction: column;
}
.board-list li{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px 6px;
  border-bottom: 1px solid rgba(20,62,34,0.15);
}
.board-list li:last-child{ border-bottom: none; }
.board-name{
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #143e22;
  text-transform: none;
}
.board-role{
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--black);
  opacity: 0.6;
}
.board-name-wrap{
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.board-position{
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 0.78rem;
  color: var(--black);
  opacity: 0.55;
  text-transform: none;
  letter-spacing: 0;
}
.section-body{ max-width: 760px; margin: 0 auto; text-align: center; font-size: 1.05rem; }
.section-body + .section-body{ margin-top: 20px; }

.two-col{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 800px){ .two-col{ grid-template-columns: 1fr; } }
.two-col img{ border-radius: 8px; }

/* ---------- Cards / grids ---------- */
.grid{
  display: grid;
  gap: 30px;
  max-width: 1200px;
  margin: 40px auto 0;
}
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-4{ grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px){ .grid-3, .grid-4{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .grid-3, .grid-4{ grid-template-columns: 1fr; } }

.card{
  color: #143e22;
  border: 2px solid transparent;
  border-radius: 10px;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    conic-gradient(from 0deg, #c9a876 0deg, #c9a876 20deg, #143e22 90deg, #143e22 270deg, #c9a876 340deg, #c9a876 360deg) border-box;
  padding: 19px;
  display: flex;
  flex-direction: column;
  min-height: auto;
}
.card img{ border-radius: 6px; margin-bottom: 14px; aspect-ratio: 4/5; object-fit: cover; }
.card h3{ font-size: 1.05rem; margin-bottom: 4px; font-weight: 700; }
.card .role{ font-weight: 600; margin-top: 2px; padding-top: 0; font-family: 'Montserrat',sans-serif; text-transform: none; font-size: 0.85rem; color: #143e22; opacity: 0.8; }
.card .email{ font-size: 0.75rem; opacity: 0.8; word-break: break-word; margin-top: 6px; }

.event-card, .news-card{
  border: 2px solid transparent;
  border-radius: 10px;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    conic-gradient(from 0deg, #c9a876 0deg, #c9a876 20deg, #143e22 90deg, #143e22 270deg, #c9a876 340deg, #c9a876 360deg) border-box;
  padding: 23px;
  overflow: hidden;
}
.event-card img, .news-card img{
  display: block;
  width: calc(100% + 44px);
  margin: -22px -22px 16px;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.event-card h3, .news-card h3{ font-family: 'Montserrat', sans-serif; font-weight: 800; text-transform: uppercase; font-size: 1.15rem; margin-bottom: 8px; }
.event-card .date, .news-card .date{ color: var(--orange); font-weight: 600; font-size: 0.9rem; margin-bottom: 12px; display: block; }
.event-card a.link, .news-card a.link{ color: var(--orange); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; }

.stat-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 900px;
  margin: 50px auto 0;
  text-align: center;
}
@media (max-width: 700px){ .stat-grid{ grid-template-columns: 1fr; } }
.stat-grid .num{ font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 3rem; color: var(--orange); }
.stat-grid .label{ font-size: 0.95rem; margin-top: 6px; }

.logo-strip{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
  max-width: 1000px;
  margin: 40px auto 0;
  opacity: 0.9;
}
.logo-strip img{ max-height: 60px; width: auto; filter: grayscale(100%) brightness(1.4); }

.partners-strip{ max-width: 900px; margin: 40px auto 0; text-align: center; }
.partners-strip img{ max-width: 100%; height: auto; opacity: 0.95; }

.espy-banner{ max-width: 1000px; margin: 30px auto 0; }
.espy-banner img{ width: 100%; height: auto; border-radius: 10px; display: block; }

/* ---------- ESPY Statement section ---------- */
.espy-section{
  position: relative;
  overflow: hidden;
  background-color: #191819;
  padding: 0;
}
.espy-banner-wrap{
  position: relative;
  width: 100%;
  line-height: 0;
}
.espy-banner-img{
  display: block;
  width: 100%;
  height: auto;
}
.espy-banner-btn-link{
  position: absolute;
  left: 4.1%;
  top: 76.8%;
  width: 33.1%;
  height: 11.6%;
  display: block;
}

.trust-seal{ max-width: 160px; margin: 24px auto 0; }
.trust-seal img{ width: 100%; height: auto; }

blockquote{
  font-style: italic;
  font-size: 1.3rem;
  text-align: center;
  max-width: 700px;
  margin: 40px auto;
  color: var(--cream);
}
blockquote cite{ display: block; margin-top: 14px; font-size: 0.95rem; opacity: 0.7; }

/* ---------- Contact form embed ---------- */
.contact-embed-wrap{ width: 100%; margin: 40px 0 0; }
.form-embed{ width: 100%; border: none; min-height: 700px; display: block; }
@media (max-width: 700px){ .form-embed{ min-height: 820px; } }

/* ---------- Footer ---------- */
footer.site-footer{
  background: var(--black);
  color: #ffffff;
  padding: 50px 24px 30px;
  text-align: center;
  font-size: 0.9rem;
}
footer.site-footer .foot-nav{ display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; margin-bottom: 24px; }
footer.site-footer .foot-nav a{ text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.04em; opacity: 0.85; }
footer.site-footer .foot-nav a:hover{ color: var(--orange); }
footer.site-footer .social-icons{ display: flex; justify-content: center; gap: 18px; margin-bottom: 20px; }
footer.site-footer .social-icons img{ width: 26px; height: 26px; opacity: 0.85; }
footer.site-footer .social-icons a:hover img{ opacity: 1; }
footer.site-footer .ein{ opacity: 0.6; margin-top: 10px; }

/* ---------- utility ---------- */
.mt-0{ margin-top: 0; }
.text-orange{ color: var(--orange); }
.center{ text-align: center; }

/* ================= ONE-PAGE SITE ADDITIONS ================= */

/* ---------- Image-overlay statement sections (Mission / Foundation) ---------- */
.overlay-section{
  position: relative;
  overflow: hidden;
  padding: 110px 24px;
  text-align: center;
  color: var(--white);
}
.overlay-section.foundation{ color: #ffffff; padding-top: 300px; padding-bottom: 90px; }
.overlay-section.foundation .overlay-content p.statement-body{ color: #ffffff; }
.overlay-section .overlay-bg{
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.overlay-section .overlay-bg::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17,17,17,0.55), rgba(20,62,34,0.5));
}
.overlay-section.foundation .overlay-bg{ background-position: center 18%; }
.overlay-section.foundation .overlay-bg::after{
  background: linear-gradient(180deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.40) 25%, rgba(0,0,0,0.55) 60%, rgba(0,0,0,0.88) 100%);
}
.overlay-section .overlay-content{ position: relative; z-index: 2; max-width: 820px; margin: 0 auto; }
.overlay-section .overlay-content p.statement{
  font-family: 'Montserrat', sans-serif; font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  line-height: 1.25;
  margin-bottom: 26px;
}
.overlay-section.foundation .overlay-content p.statement{ font-size: clamp(1.8rem, 5vw, 3.2rem); }
.overlay-section .overlay-content p.statement-body{
  font-family: 'Montserrat', sans-serif;
  text-transform: none;
  font-size: 1.1rem;
  color: var(--cream);
  max-width: 700px;
  margin: 0 auto 30px;
  letter-spacing: normal;
}
.donation-widget{
    margin-top: 8px;
}
.donation-widget .widget-tagline{
    font-family: 'Montserrat', sans-serif; font-weight: 800;
    text-transform: uppercase;
    color: var(--white);
    font-size: clamp(1.3rem, 3.2vw, 2rem);
    line-height: 1.25;
    margin-top: 40px;
}
.zeffy-embed-card{
    background: #ffffff;
    border: 1px solid rgba(20,62,34,0.12);
    border-radius: 14px;
    padding: 12px;
    width: 100%;
    max-width: 100%;
    margin: 0;
    box-shadow: 0 10px 28px rgba(20,62,34,0.12);
}

/* ---------- Three-column Education Program layout ---------- */
.program-cols{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1050px;
  margin: 40px auto 0;
  align-items: stretch;
}
@media (max-width: 900px){ .program-cols{ grid-template-columns: 1fr; } }
.program-col{
  border: 2px solid transparent;
  border-radius: 8px;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    conic-gradient(from 0deg, #c9a876 0deg, #c9a876 20deg, #143e22 90deg, #143e22 270deg, #c9a876 340deg, #c9a876 360deg) border-box;
  padding: 23px 23px 21px;
  display: flex;
  flex-direction: column;
}
.program-col h3{
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #143e22;
  margin-bottom: 10px;
}
.program-col p{ font-size: 0.92rem; line-height: 1.55; color: var(--cream); margin-bottom: 16px; }
.program-col img{
  margin-top: auto;
  border-radius: 6px;
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

/* ---------- Journey Timeline ("What a Program Looks Like") ---------- */
.journey-timeline{
  position: relative;
  max-width: 1100px;
  margin: 60px auto 0;
}
.journey-timeline::before{
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--orange);
  opacity: 0.25;
  transform: translateX(-50%);
}
.journey-progress-line{
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 0;
  background: var(--orange);
  transform: translateX(-50%);
  transition: height 0.1s linear;
  z-index: 1;
}
.journey-item{
  position: relative;
  display: flex;
  align-items: center;
  gap: 50px;
  margin-bottom: 70px;
  opacity: 1;
  transform: none;
}
.journey-item:last-child{ margin-bottom: 0; }
.journey-item:nth-child(even){ flex-direction: row-reverse; }
.journey-item::after{
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--orange);
  border: 3px solid var(--green-dark);
  transform: translate(-50%, -50%);
  z-index: 2;
}
.journey-media{ flex: 1 1 0; position: relative; z-index: 1; }
.journey-media img{
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 14px 34px rgba(0,0,0,0.28);
  display: block;
}
.journey-content{ flex: 1 1 0; position: relative; z-index: 1; }
.journey-item:nth-child(even) .journey-content{ text-align: right; }
.journey-step{
  display: block;
  font-family: 'Montserrat', sans-serif; font-weight: 800;
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  color: var(--orange);
  line-height: 1;
  opacity: 0.9;
}
.journey-content h4{
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  color: var(--white);
  margin-top: 6px;
  margin-bottom: 14px;
}
.journey-content p{ color: var(--cream); font-size: 1rem; margin: 0; }
@media (max-width: 900px){
  .journey-timeline::before{ left: 18px; }
  .journey-progress-line{ left: 18px; }
  .journey-item{
    flex-direction: column !important;
    align-items: flex-start;
    gap: 18px;
    padding-left: 50px;
    margin-bottom: 50px;
  }
  .journey-content, .journey-item:nth-child(even) .journey-content{ text-align: left; }
  .journey-item::after{ left: 18px; top: 8px; transform: translate(-50%, 0); }
  .journey-media img{ aspect-ratio: 16/9; }
}

/* ---------- Testimonials horizontal scroll ---------- */
#testimonials{ padding: 48px 24px 64px; }
.testimonials-scroll-wrap{
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 1200px;
  margin: 30px auto 0;
}
.testimonials-scroll{
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 6px 4px 22px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--orange) rgba(255,255,255,0.08);
}
.testimonials-scroll::-webkit-scrollbar{ height: 8px; }
.testimonials-scroll::-webkit-scrollbar-track{ background: rgba(255,255,255,0.08); border-radius: 4px; }
.testimonials-scroll::-webkit-scrollbar-thumb{ background: var(--orange); border-radius: 4px; }
.testimonial-card{
  position: relative;
  flex: 0 0 420px;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  scroll-snap-align: start;
  background: var(--black);
}
.testimonial-card img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform .3s ease;
}
.testimonial-card.shift-photo img{
  transform: scale(1.4);
  transform-origin: center bottom;
}
.testimonial-card.shift-photo-cj img{
  transform: scale(1.1);
  transform-origin: center bottom;
}
.testimonial-overlay{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 20px 16px;
  background: linear-gradient(to bottom, rgba(17,17,17,0) 0%, rgba(17,17,17,0.7) 48%, var(--black) 90%);
}
.testimonial-overlay blockquote{
  margin: 0 0 8px;
  font-size: 0.82rem;
  line-height: 1.36;
  color: var(--cream);
}
.testimonial-overlay .name{ font-weight: 700; color: var(--white); letter-spacing: 0.02em; font-size: 0.85rem; }
@media (max-width: 560px){
  .testimonial-card{ flex-basis: 85vw; }
  .testimonial-overlay{ padding: 16px 16px 12px; }
  .testimonial-overlay blockquote{ font-size: 0.7rem; line-height: 1.28; margin-bottom: 5px; }
  .testimonial-overlay .name{ font-size: 0.78rem; }
}
.testimonials-arrow{
  flex: 0 0 auto;
  background: transparent;
  border: 2px solid var(--orange);
  color: var(--orange);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.testimonials-arrow:hover{ background: var(--orange); color: var(--black); }
@media (max-width: 700px){
  .testimonials-arrow{ display: none; }
}

/* ---------- Events section subheads ---------- */
.events-subhead{
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1rem;
  color: var(--orange);
  text-align: center;
  margin: 60px 0 8px;
}
.events-subhead:first-of-type{ margin-top: 40px; }

/* ---------- Events horizontal scroll strip ---------- */
#events{ padding-top: 48px; padding-bottom: 40px; }
.events-scroll-wrap{
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 1200px;
  margin: 20px auto 0;
}
.events-scroll{
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 6px 4px 22px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--orange) rgba(255,255,255,0.08);
}
.events-scroll::-webkit-scrollbar{ height: 8px; }
.events-scroll::-webkit-scrollbar-track{ background: rgba(255,255,255,0.08); border-radius: 4px; }
.events-scroll::-webkit-scrollbar-thumb{ background: var(--orange); border-radius: 4px; }
.events-scroll .event-card{
  flex: 0 0 300px;
  scroll-snap-align: start;
}
@media (max-width: 560px){
  .events-scroll .event-card{ flex-basis: 78vw; }
}
.events-arrow{
  flex: 0 0 auto;
  background: transparent;
  border: 2px solid var(--orange);
  color: var(--orange);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.events-arrow:hover{ background: var(--orange); color: var(--black); }
@media (max-width: 700px){
  .events-arrow{ display: none; }
}

/* ---------- News & Stories horizontal scroll strip ---------- */
#news{ padding-top: 24px; padding-bottom: 20px; }
#news .section-title{ margin-bottom: 8px; }
#news .news-scroll-wrap{ margin-top: 20px; }
#news p.center{ margin-top: 0px; margin-bottom: 10px; }
.news-scroll-wrap{
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 1200px;
  margin: 20px auto 0;
}
.news-scroll{
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 6px 4px 22px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--orange) rgba(255,255,255,0.08);
}
.news-scroll::-webkit-scrollbar{ height: 8px; }
.news-scroll::-webkit-scrollbar-track{ background: rgba(255,255,255,0.08); border-radius: 4px; }
.news-scroll::-webkit-scrollbar-thumb{ background: var(--orange); border-radius: 4px; }
.news-scroll .news-card{
  flex: 0 0 300px;
  scroll-snap-align: start;
}
@media (max-width: 560px){
  .news-scroll .news-card{ flex-basis: 78vw; }
}
.news-arrow{
  flex: 0 0 auto;
  background: transparent;
  border: 2px solid var(--orange);
  color: var(--orange);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.news-arrow:hover{ background: var(--orange); color: var(--black); }
@media (max-width: 700px){
  .news-arrow{ display: none; }
}

/* ---------- News & Stories card redesign: whole-card link, hover label, clamped title ---------- */
.news-card{
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.news-img-wrap{
  position: relative;
  width: calc(100% + 44px);
  margin: -22px -22px 16px;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.news-img-wrap img{
  width: 100%;
  height: 100%;
  margin: 0;
  aspect-ratio: auto;
}
.news-hover-label{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  text-align: center;
  background: rgba(17,17,17,0.62);
  color: var(--white);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.85rem;
  opacity: 0;
  transition: opacity .2s ease;
}
.news-card:hover .news-hover-label,
.news-card:focus-visible .news-hover-label{
  opacity: 1;
}
.news-click-arrow{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(200,200,200,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
  transition: transform .2s ease, background .2s ease;
}
.news-click-arrow svg{
  width: 26px;
  height: 26px;
  margin-left: 3px;
  fill: var(--white);
}
.news-card:hover .news-click-arrow,
.news-card:focus-visible .news-click-arrow{
  transform: translate(-50%, -50%) scale(1.1);
  background: rgba(200,200,200,0.65);
}
.news-card h3{
  margin-bottom: 0;
  font-size: 0.9rem;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.badge-upcoming{
  display: inline-block;
  background: var(--orange);
  color: var(--black);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 9px;
  border-radius: 20px;
  margin-left: 8px;
  vertical-align: middle;
}


/* ---------- Get Involved image buttons ---------- */
.overlay-section.get-involved-section{ padding: 80px 24px; color: #143e22; background: #ffffff; }
.overlay-section.get-involved-section .overlay-bg{ display: none; }
.overlay-section.get-involved-section .overlay-content{ max-width: 820px; }
.involve-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 820px;
  margin: 36px auto 0;
}
@media (max-width: 800px){ .involve-grid{ grid-template-columns: 1fr; max-width: 300px; } }
.involve-btn{
  position: relative;
  display: block;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4/5;
}
.involve-btn img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}
.involve-btn:hover img{ transform: scale(1.06); }
.involve-btn::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17,17,17,0.1), rgba(17,17,17,0.85));
}
.involve-btn span{
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 18px;
  text-align: center;
  font-family: 'Montserrat', sans-serif; font-weight: 800;
  text-transform: uppercase;
  font-size: 1.1rem;
  color: #ffffff;
}

/* ---------- Board avatar (no photo) ---------- */
.avatar-initials{
  border-radius: 4px;
  aspect-ratio: 4/5;
  background: var(--green-dark);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif; font-weight: 800;
  font-size: 2.4rem;
  margin-bottom: 16px;
}

/* ---------- Final CTA ---------- */
.final-cta{
  text-align: center;
  width: 100%;
  aspect-ratio: 2576 / 838;
  min-height: 220px;
  max-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.78) 100%), url('final-cta-bg.jpg?v=20261115d') center/cover no-repeat;
  padding: 24px 24px;
}
.final-cta .tagline{
  font-family: 'Montserrat', sans-serif; font-weight: 800;
  text-transform: uppercase;
  color: #ffffff;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  margin-top: 30px;
}
/* On phones, show the headline first and the Donate button last
   (reversed from the desktop/tablet order above). Desktop/tablet
   layout above this breakpoint is untouched. */
@media (max-width: 700px){
  .final-cta .final-cta-donate{ order: 2; margin-top: 20px; }
  .final-cta .tagline{ order: 1; margin-top: 90px; font-size: 1.125rem; line-height: 1.25; }
}

/* ---------- Editorial-note tag (visible marker for placeholder copy) ---------- */
.editorial-note{
  display: block;
  font-family: 'Montserrat', sans-serif;
  text-transform: none;
  font-size: 0.78rem;
  color: var(--orange);
  opacity: 0.8;
  margin-top: 10px;
  letter-spacing: normal;
}

/* ---------- Give With Confidence ---------- */
.confidence-section{
  position: relative;
  overflow: hidden;
  color: #ffffff;
}
.confidence-bg{
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.confidence-bg::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.3), rgba(0,0,0,0.4));
}
.confidence-inner{
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}
.confidence-media img{ width: 100%; height: auto; }
.confidence-eyebrow{
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
  color: var(--orange);
  font-weight: 600;
  margin-bottom: 8px;
}
.confidence-headline{
  font-size: clamp(2rem, 4.5vw, 3rem);
  color: #ffffff;
  margin-bottom: 18px;
}
.confidence-body{
  font-family: 'Montserrat', sans-serif;
  text-transform: none;
  font-size: 1.05rem;
  color: #ffffff;
  max-width: 520px;
  margin-bottom: 10px;
  letter-spacing: normal;
}
.confidence-link{
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-bottom: 26px;
}
.confidence-link:hover{ color: var(--orange); }
.confidence-donate-btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
  padding: 14px 30px;
  border-radius: 999px;
  text-transform: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  letter-spacing: normal;
  transition: background .15s, transform .15s;
}
.confidence-donate-btn:hover{ background: var(--orange-dark); transform: translateY(-2px); }
@media (max-width: 800px){
  .confidence-inner{ grid-template-columns: 1fr; text-align: center; }
  .confidence-media{ max-width: 220px; margin: 0 auto; }
  .confidence-body{ margin-left: auto; margin-right: auto; }
}

/* ---------- Events: image wrapper, Gallery hover button, Sign Up button ---------- */
/* Same pattern as the News & Stories cards (.news-img-wrap). The image sits in .event-img-wrap. */
.event-img-wrap{
  position: relative;
  width: calc(100% + 44px);
  margin: -22px -22px 16px;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.event-img-wrap img{
  width: 100%;
  height: 100%;
  margin: 0;
  aspect-ratio: auto;
}
/* Dark overlay + Gallery button. Only cards that have a .event-gallery-overlay show it. */
.event-gallery-overlay{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(17,17,17,0.62);
  opacity: 0;
  transition: opacity .2s ease;
}
.event-card:hover .event-gallery-overlay,
.event-card:focus-within .event-gallery-overlay{
  opacity: 1;
}
.event-gallery-btn{
  margin-top: 0;
  padding: 12px 30px;
  font-size: 0.9rem;
}
/* Sign Up button sits under the location line */
.event-signup-btn{
  margin-top: 4px;
  padding: 11px 28px;
  font-size: 0.85rem;
}
/* Touch screens have no hover, so keep the Gallery button visible with a lighter overlay */
@media (hover: none){
  .event-gallery-overlay{
    opacity: 1;
    background: linear-gradient(180deg, rgba(17,17,17,0) 45%, rgba(17,17,17,0.72));
    align-items: flex-end;
    padding-bottom: 14px;
  }
  .event-gallery-btn{ padding: 9px 22px; font-size: 0.8rem; }
}

/* ---------- Color inversion: all CTA buttons are white background / green text ---------- */
.btn,
.confidence-donate-btn{
  background: #ffffff;
  color: #143e22;
  border: 2px solid #143e22;
}
.btn:hover{ background: #143e22; color: #ffffff; border-color: #143e22; }
.confidence-donate-btn:hover{ background: #143e22; color: #ffffff; border-color: #143e22; }

/* Buttons that sit directly on a white section background use the tan
   outline (matching the header Donate button) instead of the green one. */
.btn.btn-tan-outline,
.confidence-donate-btn.btn-tan-outline{ border-color: var(--orange); }
.btn.btn-tan-outline:hover,
.confidence-donate-btn.btn-tan-outline:hover{ background: #143e22; color: #ffffff; border-color: #143e22; }
