:root {
  color-scheme: light;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: #1f1a16;
  background: #ffffff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

html {
  background: #ffffff;
}

body {
  background: #ffffff;
  position: relative;
  isolation: isolate;
}

body.index-page::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("transparent.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.3;
  z-index: -2;
  pointer-events: none;
}

.volunteer-page::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("transparent.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 1;
  z-index: -2;
  pointer-events: none;
}

.container {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.site-header {
  background: #e69b00;
  color: #f7f5bc;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 140px;
  padding: 0 24px;
}

.brand {
  font-size: clamp(2rem, 3.2vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-right: 10px;
}

.main-nav {
  display: flex;
  gap: 40px;
}

.main-nav a {
  color: #f2ece6;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 600;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  text-decoration: underline;
}

.page-content {
  background: #ffffff;
  min-height: calc(100vh - 92px);
}

.volunteer-page .page-content {
  background: transparent;
}

.hero-block {
  padding: 0;
}

.image-section {
  padding: 0;
}

.district-image {
  width: 100%;
  max-width: none;
  display: block;
  margin: 0;
  border-radius: 0;
  object-fit: cover;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.image-caption {
  margin: 40px 0 0;
  padding: 0 12px 12px;
  color: #e69b00;
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
}

.image-description {
  margin: 6px auto 0;
  max-width: 880px;
  padding: 0 24px 0;
  color: #4d473f;
  font-size: 1.5rem;
  line-height: 1.7;
  text-align: center;
}

.support-description {
  margin: 48px 0 0;
  max-width: 100%;
  padding: 0 40px 0;
  color: #4d473f;
  font-size: 1.5rem;
  line-height: 1.7;
  text-align: left;
}

.support-description + .support-description {
  margin-top: 6px;
}
.support-link {
  color: #e69b00;
  font-weight: 700;
  text-decoration: underline;
}

.support-link:hover,
.support-link:focus-visible {
  color: #e69b00;
}
.news-section {
  margin: 0 0 10px;
  padding: 16px 24px 24px;
  background-image: url("transparent.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: transparent;
}

.rectangle-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 24px auto 0;
  padding: 0 0 10px;
  flex-wrap: wrap;
  background: transparent;
}

.rectangle {
  flex: 1 1 0;
  min-width: 420px;
  min-height: 400px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.5rem;
  background: #ffffff;
  padding: 24px 32px;
  text-align: center;
  line-height: 1.4;
  position: relative;
  overflow: hidden;
}

.news-card {
  min-height: 560px;
  align-items: stretch;
}

.news-image {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 24px;
  margin-top: 12px;
}

.index-card {
  background: #ffffff;
  box-shadow: none;
  border: none !important;
  color: #e69b00;
}

.rectangle-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.rectangle-title {
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
}

.rectangle-head {
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  color: #e69b00;
}

.rectangle-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  font-size: 1.5rem;
  font-weight: 400;
  text-align: left;
}

.rectangle-desc {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  font-size: 1.5rem;
  font-weight: 400;
  text-align: left;
  color: #e69b00;
}

.rectangle-desc > div:first-child {
  width: 100%;
  text-align: center;
}

.rectangle-desc a {
  color: inherit;
  font-weight: 700;
}

.rectangle-list a {
  color: inherit;
  font-weight: 700;
}

.rectangle-green {
  border: 2px solid #2e8b57;
  color: #2e8b57;
}

.rectangle-red {
  border: 2px solid #d9534f;
  color: #d9534f;
}


.banner-number {
  margin: 56px 0 0;
  padding: 0 24px 48px;
  color: #e69b00;
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 4.4rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
}
.circle-row {
  display: flex;
  justify-content: center;
  gap: 180px;
  margin: 12px 0 32px;
  padding: 0 24px;
}

.circle {
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: #f7f5bc;
  display: block;
  position: relative;
}

.circle-number {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e69b00;
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 7rem;
  font-weight: 700;
}

.circle-group {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.circle-label {
  margin: 16px 0 0;
  color: #e69b00;
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
}

.circle-left {
  margin-left: 0;
}

.circle-right {
  margin-right: 0;
}
.hero-note {
  margin: 0;
  max-width: 720px;
  color: #4d473f;
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.7;
}

@media (max-width: 640px) {
  .site-header .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
  }

  .main-nav {
    gap: 20px;
    flex-wrap: wrap;
  }
}

/* Gallery for volunteer page: 3x3 grid */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1200px;
  margin: 32px auto;
  padding: 0 24px 48px;
}
.gallery a {
  display: block;
  background: transparent;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  aspect-ratio: 1 / 1;
  transform: scale(0.8);
  transform-origin: center center;
  transition: transform 220ms ease, box-shadow 220ms ease, border-radius 220ms ease;
  will-change: transform;
  position: relative;
}
.gallery a:hover,
.gallery a:focus-visible,
.gallery a:active {
  transform: scale(1);
  border-radius: 70px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
  transition: transform 220ms ease, filter 220ms ease;
}
.gallery a:hover img,
.gallery a:focus-visible img,
.gallery a:active img {
  transform: scale(1.03);
  filter: brightness(0.9);
}
.gallery-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 40%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 14px 16px;
  color: #ffffff;
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(4px);
  transform: translateY(100%);
  transition: transform 220ms ease;
  pointer-events: none;
}
.gallery a:hover .gallery-caption,
.gallery a:focus-visible .gallery-caption,
.gallery a:active .gallery-caption {
  transform: translateY(0);
}

@media (max-width: 900px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .gallery {
    grid-template-columns: 1fr;
  }
}
