#ads-hero {
  position: relative;
  z-index: 0;
}

.ads-home-container {
  width: min(100% - 2.5rem, 72rem);
  margin-inline: auto;
}

.ads-home-section {
  padding-block: clamp(4rem, 7vw, 6.5rem);
}

.ads-home-section-heading {
  max-width: 48rem;
  margin-bottom: 2.5rem;
}

.ads-home-section-heading--center {
  margin-inline: auto;
  text-align: center;
}

.ads-home-section-heading--split {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}

.ads-home-section-heading h2,
.ads-home-impact h2 {
  margin: 0;
  color: var(--site-color-blue-primary);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 600;
  line-height: 1.2;
}

.ads-home-eyebrow,
.ads-home-card-kicker {
  display: block;
  margin: 0 0 0.75rem;
  color: var(--site-color-orange-primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ads-home-stats {
  position: relative;
  z-index: 5;
  margin-top: clamp(-10rem, -11vw, -8rem);
  padding-bottom: clamp(3.5rem, 6vw, 5rem);
}

#section-counter {
  z-index: 5;
}

.ads-home-stats .ads-home-section-heading {
  margin-bottom: 1.5rem;
}

.ads-home-stat-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  overflow: hidden;
  box-shadow: 0 1rem 2.5rem rgb(17 39 57 / 18%);
}

.ads-home-stat {
  display: flex;
  min-height: 12rem;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  color: #fff;
  background: var(--site-color-orange-primary);
}

.ads-home-stat:nth-child(2) {
  background: var(--site-color-orange-secondary);
}

.ads-home-stat:nth-child(3) {
  background: var(--site-color-orange-tertiary);
}

.ads-home-stat strong {
  display: block;
  margin-bottom: 0.4rem;
  color: #fff;
  font-size: clamp(2.8rem, 5vw, 3.8rem);
  font-weight: 600;
  line-height: 1;
}

.ads-home-stat span {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
}

.ads-home-stat p {
  margin: 0.45rem 0 0;
  color: rgb(255 255 255 / 90%);
  font-size: 0.9rem;
}

.ads-home-impact {
  background: #fff;
}

.ads-home-impact > .ads-home-container {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.ads-home-impact-copy {
  max-width: 42rem;
}

.ads-home-impact h2 {
  margin-bottom: 1.25rem;
}

.ads-home-richtext {
  color: #586575;
  font-size: 1.05rem;
  line-height: 1.8;
}

.ads-home-richtext > :last-child {
  margin-bottom: 0;
}

.ads-home-impact-image {
  position: relative;
  min-width: 0;
  margin: 0;
}

.ads-home-impact-image::before {
  position: absolute;
  z-index: 0;
  inset: 1rem -1rem -1rem 1rem;
  border: 3px solid var(--site-color-orange-tertiary);
  content: "";
}

.ads-home-impact-image img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  min-height: 18rem;
  object-fit: cover;
}

.ads-home-impact-image figcaption {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 1rem 1.25rem;
  color: #fff;
  background: linear-gradient(transparent, rgb(17 39 57 / 80%));
  font-size: 0.9rem;
}

.ads-home-text-link,
.ads-home-event-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--site-color-blue-primary);
  font-weight: 600;
  text-decoration: none;
}

.ads-home-text-link {
  margin-top: 1.25rem;
}

.ads-home-text-link:hover,
.ads-home-event-link:hover {
  color: var(--site-color-orange-primary);
}

.ads-home-mission {
  background: #f5f7f9;
}

.ads-home-mission-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
}

.ads-home-vision,
.ads-home-missions {
  min-width: 0;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-top: 4px solid var(--site-color-orange-primary);
  background: #fff;
  box-shadow: 0 0.75rem 2rem rgb(17 39 57 / 7%);
}

.ads-home-vision h3,
.ads-home-missions h3 {
  margin: 0 0 1rem;
  color: var(--site-color-blue-primary);
  font-size: 1.4rem;
  font-weight: 600;
}

.ads-home-vision .ads-home-richtext {
  color: var(--site-color-blue-primary);
  font-size: 1.2rem;
  font-weight: 500;
}

.ads-home-missions blockquote {
  margin: 0 0 0.85rem;
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--site-color-orange-tertiary);
  background: #f5f7f9;
  color: #586575;
}

.ads-home-missions blockquote:last-child {
  margin-bottom: 0;
}

.ads-home-projects {
  background: #fff;
}

.ads-home-project-list {
  display: grid;
  gap: 2rem;
}

.ads-home-project {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid #e7ebef;
  border-bottom: 4px solid var(--site-color-orange-secondary);
  background: #fff;
  box-shadow: 0 0.75rem 2rem rgb(17 39 57 / 8%);
}

.ads-home-project-image {
  min-height: 16rem;
  background: #e9eef2;
}

.ads-home-project-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 16rem;
  object-fit: cover;
}

.ads-home-project-content {
  min-width: 0;
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.ads-home-project-content h3 {
  margin: 0 0 0.75rem;
  color: var(--site-color-blue-primary);
  font-size: 1.7rem;
  font-weight: 600;
}

.ads-home-project-summary {
  max-width: 48rem;
  color: #586575;
  line-height: 1.7;
}

.ads-home-project-services {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.75rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.ads-home-project-services li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem;
  border-left: 3px solid var(--site-color-orange-tertiary);
  background: #f5f7f9;
}

.ads-home-project-service-icon {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 2.5rem;
  place-items: center;
  border-radius: 50%;
  color: var(--site-color-orange-primary);
  background: #fff;
}

.ads-home-project-service-icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.ads-home-project-service-copy {
  min-width: 0;
}

.ads-home-project-services strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--site-color-blue-primary);
}

.ads-home-project-service-copy > span {
  color: #586575;
  font-size: 0.92rem;
}

.ads-home-events {
  background: #f5f7f9;
}

.ads-home-event-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
}

.ads-home-event-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e7ebef;
  border-bottom: 3px solid var(--site-color-orange-primary);
  background: #fff;
  box-shadow: 0 0.75rem 2rem rgb(17 39 57 / 7%);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.ads-home-event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 1rem 2rem rgb(17 39 57 / 13%);
}

.ads-home-event-image {
  position: relative;
  display: grid;
  min-height: 13rem;
  place-items: center;
  overflow: hidden;
  background: var(--site-color-blue-primary);
}

.ads-home-event-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 13rem;
  object-fit: cover;
  transition: transform 250ms ease;
}

.ads-home-event-card:hover .ads-home-event-image img {
  transform: scale(1.04);
}

.ads-home-event-placeholder {
  color: #fff;
  font-size: 2.5rem;
  font-weight: 700;
}

.ads-home-event-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.4rem;
}

.ads-home-event-content time,
.ads-home-event-location {
  color: #687586;
  font-size: 0.82rem;
}

.ads-home-event-location {
  margin-top: 0.25rem;
}

.ads-home-event-content h3 {
  margin: 0.75rem 0;
  color: var(--site-color-blue-primary);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.4;
}

.ads-home-event-content h3 a {
  color: inherit;
  text-decoration: none;
}

.ads-home-event-content p {
  margin: 0 0 1.25rem;
  color: #586575;
  font-size: 0.93rem;
  line-height: 1.65;
}

.ads-home-event-link {
  margin-top: auto;
  color: var(--site-color-orange-primary);
  font-size: 0.92rem;
}

.ads-home-empty {
  padding: 2rem;
  background: #fff;
  color: #586575;
  text-align: center;
}

@media (min-width: 40rem) {
  .ads-home-stat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ads-home-mission-grid,
  .ads-home-project-services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ads-home-event-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 64rem) {
  .ads-home-impact > .ads-home-container {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  }

  .ads-home-project--with-image {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  }

  .ads-home-event-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 39.99rem) {
  .ads-home-stats {
    margin-top: -7rem;
  }

  .ads-home-section-heading--split {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ads-home-event-card,
  .ads-home-event-image img {
    transition: none;
  }
}

#ads-hero.ads-hero--carousel {
  min-height: 480px;
  isolation: isolate;
}

.ads-hero--carousel .ads-hero-slide {
  position: absolute;
  inset: 0;
  height: 100%;
  min-height: inherit;
  opacity: 0;
  visibility: hidden;
  transition: opacity 600ms ease, visibility 600ms ease;
}

.ads-hero--carousel .ads-hero-slide.is-active {
  z-index: 2;
  opacity: 1;
  visibility: visible;
}

.ads-hero--carousel .ads-hero-content-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 480px;
  align-items: center;
  justify-content: center;
  padding: 6rem clamp(3.5rem, 9vw, 8rem);
}

.ads-hero--carousel .ads-hero-content {
  width: min(100%, 56rem);
  color: #fff;
  text-align: center;
}

.ads-hero--carousel .ads-hero-button {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  padding: 0 1.75rem;
  border: 1px solid rgb(255 255 255 / 72%);
  background: rgb(255 255 255 / 12%);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.ads-hero--carousel .ads-hero-button:hover,
.ads-hero--carousel .ads-hero-button:focus-visible {
  background: #fff;
  color: #202a31;
}

.ads-hero-arrow {
  position: absolute;
  z-index: 5;
  top: 50%;
  display: grid;
  width: 2.8rem;
  height: 2.8rem;
  place-items: center;
  transform: translateY(-50%);
  border: 1px solid rgb(255 255 255 / 60%);
  border-radius: 50%;
  background: rgb(18 35 48 / 35%);
  color: #fff;
  cursor: pointer;
}

.ads-hero-arrow:hover,
.ads-hero-arrow:focus-visible {
  background: var(--site-color-orange-primary);
}

.ads-hero-arrow--prev {
  left: clamp(0.75rem, 3vw, 2rem);
}

.ads-hero-arrow--next {
  right: clamp(0.75rem, 3vw, 2rem);
}

.ads-hero-navigation {
  position: absolute;
  z-index: 5;
  right: 1rem;
  bottom: 1.5rem;
  left: 1rem;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.ads-hero-dot {
  width: 2rem;
  height: 0.25rem;
  padding: 0;
  border: 0;
  background: rgb(255 255 255 / 48%);
  cursor: pointer;
}

.ads-hero-dot.is-active {
  width: 3.25rem;
  background: #fff;
}

.ads-hero-accent {
  position: absolute;
  z-index: 6;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: var(--site-color-orange-tertiary);
}

@media (max-width: 767px) {
  #ads-hero.ads-hero--carousel {
    min-height: 620px;
  }

  .ads-hero--carousel .ads-hero-content-wrap {
    min-height: 620px;
    padding: 5rem 3.75rem;
  }

  .ads-hero-arrow {
    width: 2.4rem;
    height: 2.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ads-hero--carousel .ads-hero-slide {
    transition: none;
  }
}
