.home-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  width: 100%;
  box-sizing: border-box;
}

.content-section {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.content-block {
  flex: 1 1 calc(50% - 1rem);
  max-width: 585px;
  padding: 2rem;
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .home-container {
    padding: 1rem;
  }

  .content-section {
    flex-direction: column;
    gap: 1rem;
  }

  .content-block {
    flex: 1 1 100%;
    max-width: 100%;
    padding: 1.5rem;
  }

  .content-block-left {
    padding: 1.5rem;
  }
}
.content-title {
  text-align: center;
}

.content-block h2 {
  font-size: 1.75rem;
  font-weight: 600;
  color: #333;
}

.content-block p {
  color: #666;
  line-height: 1.6;
}

.content-block-left {
  padding: 2rem;
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  text-align: left;
  display: inline;
  max-width: 100%;
  box-sizing: border-box;
}

.content-block:hover,
.content-block-left:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Four equal boxes for 'The Freedoms We Defend' */
.freedoms-section {
  max-width: 1100px;
  margin: 0 auto 2rem;
  padding: 0 1rem;
  box-sizing: border-box;
}
.freedoms-header {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
}
.freedoms-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  width: 100%;
}
.freedom-box {
  padding: 1.25rem;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-sizing: border-box;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.freedom-box h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
  color: #333;
}

/* Freedom box image sizing */
.freedom-image {
  display: block;
  margin: 0 0 0.5rem 0;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 4/3;
  height: auto;
  object-fit: contain;
}

@media (max-width: 1024px) {
  .freedoms-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* Plain bedrock section (not boxed) */
.bedrock-section {
  max-width: 1100px;
  margin: 1.5rem auto;
  padding: 0 1rem;
  box-sizing: border-box;
  color: #333;
}
.bedrock-title {
  font-size: 1.75rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.75rem;
}
.bedrock-section p {
  color: #333;
  line-height: 1.6;
  margin-bottom: 1rem;
  text-align: left;
}

/* Top banners (constrained to page content width) */
.banners {
  background: transparent;
}
.banner-wrapper {
  max-width: 1100px;
  margin: 0.75rem auto;
  padding: 0 1rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: stretch;
}
.banner-cta {
  display: inline-block;
  background: #f2c94f;
  color: #000;
  text-decoration: none;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-weight: 700;
  text-align: center;
}
.banner-job {
  color: #111;
  font-size: 0.98rem;
  padding: 0.6rem 0.85rem;
  border-radius: 6px;
  background: rgba(0,0,0,0.03);
  display: none;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.5rem;
}
.banner-job a {
  color: #111;
  text-decoration: underline;
  font-weight: 600;
}
.banner-job:hover {
  background: rgba(0,0,0,0.05);
}

/* Utility class to show the secondary banner when needed */
.banner-job.show {
  display: flex;
}

/* Fundraiser banner */
.fundraiser-banner {
  max-width: 1100px;
  margin: 0.75rem auto 1rem;
  padding: 0 1rem;
  box-sizing: border-box;
}
.fundraiser-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #fff;
  color: #111;
  text-decoration: none;
  padding: 1rem 1.25rem;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  border: 1px solid #eee;
}
.fundraiser-thumb img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 6px;
  border: 3px solid rgba(242,201,79,0.08);
}
.fundraiser-copy { flex: 1; min-width: 0; }
.fundraiser-eyebrow { font-size: 0.95rem; color: #9a7a00; font-weight:700; margin-bottom:6px; }
.fundraiser-title { font-size: 1.25rem; font-weight:800; line-height:1.08; color:#111; }
.fundraiser-desc { font-size:1.02rem; color:#333; margin-top:6px; }
.fundraiser-cta { background:#f2c94f; color:#111; font-weight:800; padding:0.5rem 0.9rem; border-radius:6px; }

@media (max-width: 768px) {
  .fundraiser-link { flex-direction: row; gap: 0.75rem; padding: 0.5rem; }
  .fundraiser-thumb img { width:84px; height:84px; }
  .fundraiser-title { font-size: 1.05rem; }
  .fundraiser-desc { font-size:0.95rem; }
}

/* Stats hero: full-width image with overlay and centred text + stats strip */
.stats-hero {
  width: 100%;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  box-sizing: border-box;
}
.stats-hero-image {
  position: relative;
  background-image: url('../hero-background.png');
  background-size: cover;
  background-position: center;
  padding: 140px 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}
.stats-hero-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1;
}
.stats-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  width: 100%;
  padding: 0 1rem;
}
.stats-hero-content h2 {
  margin: 0;
  font-weight: 800;
  color: #fff;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.05;
}
.stats-hero-content p {
  margin-top: 0.9rem;
  color: rgba(255,255,255,0.9);
  font-size: clamp(15px, 2.2vw, 20px);
}

.stats-strip {
  background: #fff;
  box-shadow: none;
}
.stats-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
}
.stat-tile {
  padding: 36px 30px;
  text-align: center;
  box-sizing: border-box;
}
.stat-tile + .stat-tile {
  border-left: 1px solid #eee;
}
.stat-value {
  font-size: 40px;
  font-weight: 800;
  color: #222;
}
.stat-caption {
  margin-top: 8px;
  color: #666;
  font-size: 15px;
  line-height: 1.4;
}

@media (max-width: 1024px) {
  .stats-hero-image {
    padding: 80px 1rem;
  }
  .stats-container {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-tile + .stat-tile {
    border-left: none;
  }
  .stat-tile:nth-child(n+3) {
    border-top: 1px solid #eee;
  }
}

@media (max-width: 480px) {
  .stats-hero-image {
    padding: 56px 1rem;
  }
  .stats-container {
    grid-template-columns: 1fr;
  }
  .stat-tile {
    padding: 24px 20px;
  }
  .stat-tile + .stat-tile {
    border-left: none;
    border-top: 1px solid #eee;
  }
  .stats-hero-content h2 {
    font-size: 28px;
  }
}

/* Three-column news boxes*/
.news-section {
  padding: 2rem 0;
}
.news-header {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
  box-sizing: border-box;
}
.news-box {
  background: #fff;
  border: 1px solid #e8e8e8;
  padding: 1rem;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}
.news-box {
  display: block;
  text-decoration: none;
  color: inherit;
}
.news-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}
.news-image {
  width: 100%;
  aspect-ratio: 16/9;
  height: auto;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 0.75rem;
}
.news-box h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.125rem;
  color: #222;
}
.news-box p {
  color: #666;
  line-height: 1.5;
  flex: 1 1 auto;
  margin: 0 0 0.75rem 0;
}
.read-link {
  color: #000;
  font-style: italic;
  text-decoration: none;
  font-weight: 600;
  align-self: flex-start;
}
.read-link::after {
  content: '…';
  margin-left: 0.15rem;
}

@media (max-width: 1024px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.news-more {
  text-align: center;
  margin: 1.5rem 0 0.5rem;
}

.news-more a {
  color: #111;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
}

.news-more a:hover {
  text-decoration: underline;
}

/* Support hero (handshake background) */
.support-hero {
  width: 100%;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  box-sizing: border-box;
}
.support-hero-image {
  position: relative;
  background-image: url('../handshake.png');
  background-size: cover;
  background-position: center;
  padding: 64px 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}
.support-hero-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1;
}
.support-hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  width: 100%;
  padding: 0 1rem;
  color: #fff;
}
.support-hero-content h2 {
  margin: 0 0 0.5rem 0;
  font-weight: 800;
  color: #fff;
  font-size: clamp(26px, 4.2vw, 42px);
  line-height: 1.05;
}
.support-hero-content p {
  margin: 0.6rem 0;
  color: rgba(255,255,255,0.95);
  font-size: clamp(15px, 2.2vw, 18px);
  line-height: 1.6;
}
.support-hero-content .donate-button {
  margin-top: 1rem;
}

@media (max-width: 1024px) {
  .support-hero-image { padding: 48px 1rem; }
}

@media (max-width: 480px) {
  .support-hero-image { padding: 32px 1rem; }
  .support-hero-content h2 { font-size: 22px; }
}
