/* Isle of Axholme Lions — homepage styles */

:root {
  --navy: #00338D;
  --navy-dark: #00266b;
  --navy-darker: #1A2B4C;
  --sky: #58B6DD;
  --gold: #EBB700;
  --ink: #1A2B4C;
  --body-text: #445068;
  --bg-tint: #F7F9FC;
  --max-width: 1300px;
}

* { box-sizing: border-box; }

/* Page transitions: native cross-fade between full-page loads in browsers
   that support it (Chrome/Edge, Safari 18+); unsupported browsers ignore
   this and fall back to the plain fade-in below. */
@view-transition {
  navigation: auto;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.3s;
}

/* Universal fallback: fades the incoming page in on every load, including
   browsers without View Transitions support. */
@keyframes page-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: no-preference) {
  body {
    animation: page-fade-in 0.3s ease;
  }
}

body {
  margin: 0;
  font-family: 'Lato', Arial, sans-serif;
  color: var(--navy-darker);
  background: #fff;
}

h1, h2, h3 {
  font-family: 'Poppins', Arial, sans-serif;
}

a {
  color: var(--navy);
  text-decoration: none;
  transition: all 0.4s ease;
}

a:hover {
  color: var(--gold);
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Utility bar */
.topbar {
  background: var(--navy-dark);
  color: #cfe0ff;
  font-size: 13px;
  padding: 8px 5%;
}

.topbar-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.topbar-message {
  font-weight: 700;
  letter-spacing: 0.3px;
}

.topbar-social {
  display: flex;
  gap: 14px;
  align-items: center;
}

.topbar-social a {
  color: #cfe0ff;
  font-weight: 700;
}

/* Header */
.site-header {
  background: #fff;
  padding: 18px 5%;
  border-bottom: 4px solid var(--gold);
}

@media (min-width: 901px) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 100;
  }
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: contain;
  flex-shrink: 0;
}

.site-title {
  font-weight: 800;
  font-size: 22px;
  color: var(--navy);
  line-height: 1.1;
}

.site-tagline {
  font-size: 13px;
  color: var(--sky);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
}

.main-nav a:not(.btn) {
  font-weight: 700;
  color: var(--navy-darker);
  border-bottom: 3px solid transparent;
  padding-bottom: 4px;
}

.main-nav a:not(.btn):hover {
  color: var(--navy);
  border-bottom-color: var(--gold);
}

.main-nav a.is-active {
  font-weight: 800;
  color: var(--navy);
  border-bottom-color: var(--gold);
}

/* Buttons */
.btn {
  display: inline-block;
  font-weight: 800;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 16px;
  border: none;
  cursor: pointer;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy-dark);
}

.btn-gold:hover {
  color: var(--navy-dark);
}

.btn-navy {
  background: var(--navy);
  color: #fff;
}

.btn-outline {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
  padding: 12px 28px;
}

.btn-small {
  padding: 10px 22px;
  font-size: 15px;
}

/* Hero */
.hero {
  background: linear-gradient(120deg, var(--navy) 0%, #0044b8 100%);
  color: #fff;
  padding: 70px 5%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--navy-dark);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 1px;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero h1 {
  font-weight: 800;
  font-size: 48px;
  line-height: 1.12;
  margin: 0 0 20px;
}

.hero p {
  font-size: 19px;
  line-height: 1.6;
  color: #dbe7ff;
  max-width: 520px;
  margin: 0 0 30px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.placeholder-media {
  width: 100%;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 20px;
  background: linear-gradient(135deg, var(--sky), var(--navy));
}

.placeholder-media span {
  opacity: 0.9;
}

.hero-media {
  height: 380px;
}

/* Featured event */
.event-section {
  padding: 64px 5%;
  background: var(--bg-tint);
}

.event-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 30px rgba(0, 51, 141, 0.08);
  padding: 40px;
  border-top: 6px solid var(--sky);
}

.eyebrow {
  color: var(--sky);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.event-card h2 {
  font-weight: 800;
  font-size: 32px;
  margin: 0 0 14px;
  color: var(--navy);
}

.event-card p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--body-text);
  margin: 0 0 10px;
}

.event-card p:last-of-type {
  margin-bottom: 26px;
}

.event-media {
  height: 280px;
  border-radius: 18px;
}

/* What we do */
.services-section {
  padding: 70px 5%;
}

.section-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-intro h2 {
  font-weight: 800;
  font-size: 34px;
  margin: 0 0 14px;
  color: var(--navy);
}

.section-intro p {
  font-size: 17px;
  color: var(--body-text);
  line-height: 1.6;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--bg-tint);
  border-radius: 18px;
  padding: 30px 24px;
  text-align: center;
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 20px;
  margin: 0 auto 18px;
}

.service-card h3 {
  font-size: 18px;
  color: var(--navy);
  margin: 0 0 10px;
}

.service-card p {
  font-size: 14px;
  color: var(--body-text);
  line-height: 1.6;
  margin: 0;
}

/* Recent impact */
.impact-section {
  padding: 64px 5%;
  background: var(--navy);
  color: #fff;
}

.impact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 56px;
  align-items: start;
}

.impact-grid h2 {
  font-weight: 800;
  font-size: 32px;
  margin: 0 0 16px;
}

.impact-grid > div:first-child p {
  font-size: 16px;
  line-height: 1.7;
  color: #cfe0ff;
}

.impact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.impact-row {
  display: flex;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px 22px;
}

.impact-row strong {
  color: var(--gold);
}

/* Gallery */
.gallery-section {
  padding: 70px 5%;
}

.gallery-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

.gallery-heading h2 {
  font-weight: 800;
  font-size: 32px;
  margin: 0;
  color: var(--navy);
}

.gallery-heading a {
  font-weight: 800;
  color: var(--navy);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.gallery-item {
  height: 180px;
  border-radius: 14px;
}

/* Membership CTA */
.cta-section {
  padding: 64px 5%;
  background: var(--bg-tint);
}

.cta-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: #fff;
  border-radius: 24px;
  padding: 44px;
  box-shadow: 0 8px 30px rgba(0, 51, 141, 0.08);
}

.cta-card h2 {
  font-weight: 800;
  font-size: 30px;
  margin: 0 0 16px;
  color: var(--navy);
}

.cta-card > div:first-child p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--body-text);
  margin: 0 0 26px;
}

.cta-quote {
  background: var(--navy);
  border-radius: 18px;
  padding: 32px;
  color: #fff;
}

.cta-quote .eyebrow {
  color: var(--gold);
}

.cta-quote p {
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}

/* Newsletter */
.newsletter {
  padding: 50px 5%;
  background: var(--sky);
}

.newsletter-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.newsletter-inner h3 {
  font-weight: 800;
  font-size: 22px;
  margin: 0 0 6px;
  color: var(--navy-dark);
}

.newsletter-inner > div:first-child p {
  margin: 0;
  color: var(--navy-dark);
  font-size: 15px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.newsletter-form input {
  padding: 14px 18px;
  border-radius: 999px;
  border: none;
  font-size: 15px;
  min-width: 260px;
  font-family: inherit;
}

.newsletter-form button {
  font-family: inherit;
}

/* Footer */
.site-footer {
  background: var(--navy-dark);
  color: #cfe0ff;
  padding: 50px 5% 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}

.footer-brand {
  font-weight: 800;
  font-size: 20px;
  color: #fff;
  margin-bottom: 12px;
}

.footer-grid p {
  font-size: 14px;
  line-height: 1.7;
  color: #a9c0e8;
}

.footer-col-title {
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: #a9c0e8;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: #a9c0e8;
}

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

/* Page hero (Contact / Events / What We Do) */
.page-hero {
  background: linear-gradient(120deg, var(--navy) 0%, #0044b8 100%);
  color: #fff;
  padding: 60px 5%;
}

.page-hero h1 {
  font-weight: 800;
  font-size: 42px;
  margin: 0 0 14px;
  max-width: 700px;
}

.page-hero p {
  font-size: 18px;
  line-height: 1.6;
  color: #dbe7ff;
  max-width: 640px;
  margin: 0;
}

/* Contact page */
.contact-section {
  padding: 64px 5%;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}

.contact-section h2 {
  font-weight: 800;
  font-size: 26px;
  margin: 0 0 20px;
  color: var(--navy);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form input,
.contact-form textarea {
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid #d8e0ee;
  font-size: 15px;
  font-family: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  align-self: flex-start;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.detail-card {
  background: var(--bg-tint);
  border-radius: 18px;
  padding: 28px;
  
}

.detail-label {
  font-weight: 800;
  color: var(--navy);
  font-size: 14px;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

.detail-card p {
  margin: 0;
  font-size: 15px;
  color: var(--body-text);
  line-height: 1.6;
}

.detail-card .detail-lead {
  margin: 0 0 6px;
  font-size: 16px;
  color: var(--navy-darker);
  font-weight: 700;
}

.detail-card .detail-note {
  margin: 10px 0 0;
  font-size: 14px;
  color: var(--body-text);
}

.detail-card a {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
}

.detail-card a.social-circle {
  color: #fff; 
}

.social-row {
  display: flex;
  gap: 14px;
}

.social-circle {
  background: var(--navy);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.map-section {
  padding: 0 5% 70px;
}

.map-media {
  height: 320px;
}

.cause-media {
  height: 300px;
}

/* Events page */
.featured-event-section {
  padding: 60px 5%;
}

.featured-event-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: var(--bg-tint);
  border-radius: 24px;
  padding: 40px;
  border-top: 6px solid var(--sky);
}

.featured-event-card h2 {
  font-weight: 800;
  font-size: 30px;
  margin: 0 0 14px;
  color: var(--navy);
}

.featured-event-card p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--body-text);
  margin: 0 0 10px;
}

.featured-event-card p:last-of-type {
  margin-bottom: 26px;
}

.upcoming-section {
  padding: 20px 5% 70px;
}

.upcoming-section h2 {
  font-weight: 800;
  font-size: 26px;
  margin: 0 0 28px;
  color: var(--navy);
}

.upcoming-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.upcoming-item {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 24px;
  align-items: center;
  background: #fff;
  border: 1px solid #e8edf5;
  border-radius: 16px;
  padding: 22px 26px;
}

.upcoming-date {
  text-align: center;
  background: var(--navy);
  color: #fff;
  border-radius: 12px;
  padding: 12px 0;
}

.upcoming-date .day {
  font-weight: 800;
  font-size: 22px;
}

.upcoming-date .month {
  font-size: 12px;
  letter-spacing: 1px;
}

.upcoming-info .title {
  font-weight: 800;
  font-size: 17px;
  color: var(--navy-darker);
}

.upcoming-info .meta {
  font-size: 14px;
  color: var(--body-text);
}

.upcoming-link {
  font-weight: 800;
  color: var(--navy);
  white-space: nowrap;
}

.info-banner {
  padding: 50px 5%;
  background: var(--sky);
  text-align: center;
}

.info-banner h3 {
  font-weight: 800;
  font-size: 22px;
  margin: 0 0 8px;
  color: var(--navy-dark);
}

.info-banner p {
  margin: 0 0 20px;
  color: var(--navy-dark);
  font-size: 15px;
}

/* What We Do page */
.causes-section {
  padding: 70px 5%;
}

.causes-list {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.cause-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.cause-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.cause-row h2 {
  font-weight: 800;
  font-size: 28px;
  margin: 0 0 14px;
  color: var(--navy);
}

.cause-row p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--body-text);
  margin: 0 0 10px;
}

.cause-row p:last-of-type {
  margin-bottom: 0;
}

.cause-row a:not(.btn) {
  font-weight: 800;
  color: var(--navy);
}

.stats-section {
  padding: 56px 5%;
  background: var(--navy);
  color: #fff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
}

.stat-value {
  font-weight: 800;
  font-size: 36px;
  color: var(--gold);
}

.stat-label {
  font-size: 14px;
  color: #cfe0ff;
}

.cta-simple {
  padding: 60px 5%;
  text-align: center;
}

.cta-simple h2 {
  font-weight: 800;
  font-size: 28px;
  margin: 0 0 14px;
  color: var(--navy);
}

.cta-simple p {
  font-size: 16px;
  color: var(--body-text);
  margin: 0 0 24px;
}

/* Gallery page */
.gallery-feature-section {
  padding: 60px 5% 0;
}

.gallery-label {
  color: var(--sky);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.gallery-feature {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 34px rgba(0, 51, 141, 0.12);
}

.gallery-feature-media {
  height: 420px;
  border-radius: 0;
}

.gallery-feature-info {
  background: var(--navy);
  color: #fff;
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.gallery-feature-tag {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--gold);
  margin-bottom: 12px;
}

.gallery-feature-info h2 {
  font-weight: 800;
  font-size: 28px;
  margin: 0 0 14px;
}

.gallery-feature-info p {
  font-size: 15px;
  line-height: 1.7;
  color: #dbe7ff;
  margin: 0 0 22px;
}

.gallery-feature-cta {
  font-weight: 800;
  color: var(--gold);
}

.gallery-list-section {
  padding: 56px 5% 70px;
}

.gallery-list-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.gallery-card {
  display: block;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #e8edf5;
}

.gallery-card-media {
  height: 160px;
  border-radius: 0;
}

.gallery-card-body {
  padding: 16px;
}

.gallery-card-title {
  font-weight: 800;
  color: var(--navy-darker);
  font-size: 15px;
}

.gallery-card-meta {
  font-size: 13px;
  color: #7a869c;
}

/* Single gallery (photo set) page */
.breadcrumb {
  padding: 20px 5% 0;
  font-size: 14px;
}

.breadcrumb a {
  color: var(--sky);
  font-weight: 700;
}

.gallery-hero-section {
  padding: 24px 5% 0;
}

.gallery-hero-media {
  height: 340px;
  border-radius: 22px;
}

.gallery-intro {
  padding: 36px 5% 20px;
}

.gallery-intro-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.gallery-intro-inner h1 {
  font-weight: 800;
  font-size: 34px;
  margin: 0 0 16px;
  color: var(--navy);
}

.gallery-intro-inner p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--body-text);
  margin: 0;
}

.masonry-section {
  padding: 20px 5% 70px;
}

.masonry {
  column-count: 4;
  column-gap: 18px;
}

.masonry > div {
  margin-bottom: 18px;
  break-inside: avoid;
}

.masonry-item {
  border-radius: 14px;
}

.gallery-cta {
  padding: 0 5% 70px;
  text-align: center;
}

.gallery-cta a {
  font-weight: 800;
  color: var(--navy);
}

.gallery-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  cursor: pointer;
  text-align: left;
}

.gallery-trigger:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 14px;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 40, 0.9);
}

.lightbox-content {
  position: relative;
  z-index: 1;
  width: min(800px, 86vw);
}

.lightbox-media {
  height: min(70vh, 600px);
  border-radius: 18px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  z-index: 2;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.24);
}

.lightbox-close {
  top: -56px;
  right: 0;
  width: 44px;
  height: 44px;
  font-size: 26px;
  line-height: 1;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  font-size: 22px;
}

.lightbox-prev {
  left: -70px;
}

.lightbox-next {
  right: -70px;
}

@media (max-width: 700px) {
  .lightbox-close {
    top: -50px;
    right: 0;
  }

  .lightbox-prev {
    left: 6px;
  }

  .lightbox-next {
    right: 6px;
  }
}

/* Get Involved page */
.involve-hero {
  text-align: center;
  padding: 64px 5% 56px;
}

.involve-hero h1 {
  margin-left: auto;
  margin-right: auto;
}

.involve-hero p {
  margin: 0 auto;
}

.quicklinks-section {
  padding: 0 5%;
  max-width: 1100px;
  margin: -38px auto 0;
}

.quicklinks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.quicklink-card {
  display: block;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 51, 141, 0.14);
  padding: 28px 24px;
  text-align: center;
}

.quicklink-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin: 0 auto 14px;
}

.quicklink-label {
  font-weight: 800;
  font-size: 18px;
  color: var(--navy);
}

.volunteer-section {
  padding: 80px 5% 60px;
}

.volunteer-section h2 {
  font-weight: 800;
  font-size: 30px;
  margin: 0 0 14px;
  color: var(--navy);
}

.volunteer-section p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--body-text);
  margin: 0 0 16px;
}

.volunteer-quote {
  border-left: 4px solid var(--gold);
  padding-left: 18px;
  margin: 0 0 24px;
  font-style: italic;
  color: var(--navy-darker);
}

.fundraise-section {
  padding: 60px 5%;
  background: var(--bg-tint);
}

.fundraise-section h2 {
  font-weight: 800;
  font-size: 30px;
  margin: 0 0 14px;
  color: var(--navy);
}

.fundraise-section p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--body-text);
  margin: 0 0 20px;
}

.tag-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.tag-pill {
  display: inline-block;
  background: #fff;
  border: 1px solid #d8e0ee;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy-darker);
}

.donate-section {
  padding: 70px 5%;
  background: var(--navy);
  color: #fff;
  text-align: center;
}

.donate-section-inner {
  max-width: 900px;
  margin: 0 auto;
}

.donate-section .eyebrow {
  color: var(--gold);
}

.donate-section h2 {
  font-weight: 800;
  font-size: 30px;
  margin: 0 0 14px;
}

.donate-section p {
  font-size: 16px;
  line-height: 1.7;
  color: #cfe0ff;
  margin: 0 0 30px;
}

.donate-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.closer-home-section {
  padding: 70px 5%;
  text-align: center;
}

.closer-home-section h2 {
  font-weight: 800;
  font-size: 30px;
  margin: 0 0 40px;
  color: var(--navy);
}

.closer-home-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.closer-home-card {
  background: var(--bg-tint);
  border-radius: 16px;
  padding: 26px 22px;
  text-align: center;
}

.closer-home-card-icon {
  font-size: 22px;
  margin-bottom: 10px;
}

.closer-home-card-label {
  font-weight: 800;
  font-size: 15px;
  color: var(--navy-darker);
}

.schools-section {
  padding: 60px 5%;
  background: var(--bg-tint);
}

.schools-section h2 {
  font-weight: 800;
  font-size: 28px;
  margin: 0 0 14px;
  color: var(--navy);
}

.schools-section p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--body-text);
  margin: 0 0 16px;
}

.schools-section a {
  font-weight: 800;
  color: var(--navy);
}

.business-section {
  padding: 60px 5%;
}

.business-section h2 {
  font-weight: 800;
  font-size: 28px;
  margin: 0 0 14px;
  color: var(--navy);
}

.business-section p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--body-text);
  margin: 0 0 16px;
}

.legacy-section {
  padding: 56px 5%;
  background: var(--bg-tint);
  text-align: center;
}

.legacy-section-inner {
  max-width: 640px;
  margin: 0 auto;
}

.legacy-section h2 {
  font-weight: 800;
  font-size: 26px;
  margin: 0 0 14px;
  color: var(--navy);
}

.legacy-section p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--body-text);
  margin: 0 0 22px;
}

.legacy-section a {
  font-weight: 800;
  color: var(--navy);
}

.other-ways-section {
  padding: 70px 5%;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.other-ways-section h2 {
  font-weight: 800;
  font-size: 28px;
  margin: 0 0 30px;
  color: var(--navy);
}

.final-cta-section {
  padding: 70px 5%;
  background: linear-gradient(120deg, var(--navy) 0%, #0044b8 100%);
  color: #fff;
  text-align: center;
}

.final-cta-section h2 {
  font-weight: 800;
  font-size: 32px;
  margin: 0 0 14px;
}

.final-cta-section p {
  font-size: 17px;
  line-height: 1.6;
  color: #dbe7ff;
  max-width: 560px;
  margin: 0 auto 32px;
}

.final-cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid,
  .event-card,
  .cta-card,
  .impact-grid,
  .contact-grid,
  .featured-event-card,
  .cause-row,
  .gallery-feature,
  .quicklinks-grid {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .gallery-grid,
  .stats-grid,
  .gallery-list-grid,
  .closer-home-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-feature-media {
    height: 280px;
  }

  .masonry {
    column-count: 2;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero h1 {
    font-size: 36px;
  }

  .upcoming-item {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .upcoming-date {
    justify-self: center;
    width: 80px;
  }
}

@media (max-width: 560px) {
  .services-grid,
  .gallery-grid,
  .footer-grid,
  .stats-grid,
  .form-row,
  .gallery-list-grid,
  .closer-home-grid {
    grid-template-columns: 1fr;
  }

  .main-nav {
    gap: 16px;
  }

  .masonry {
    column-count: 1;
  }
}
