.overview-with-stats {
  padding: 0 0 40px 0;
  position: relative;
}

.overview-with-stats .ows-inner {
  max-width: 90%;
  margin: 0 auto;
}

/* =========================
   TOP ROW
   ========================= */
.overview-with-stats .ows-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 80px;
  align-items: stretch;
}

.overview-with-stats .ows-stats-wrap,
.overview-with-stats .ows-audience-wrap {
  min-width: 0;
}

/* =========================
   STATS
   ========================= */
.overview-with-stats .ows-stats {
  border: 2px solid #6b3aa9;
  border-radius: 24px;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #fff;
  height: 100%;
}

.overview-with-stats .ows-stat {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 220px;
  background: #fff;
}

.overview-with-stats .ows-stat:nth-child(1),
.overview-with-stats .ows-stat:nth-child(3) {
  background: rgba(82, 40, 126, 0.10);
}

.overview-with-stats .ows-stat__icon {
  width: auto;
  height: 64px;
  object-fit: contain;
  display: block;
  margin-bottom: 22px;
}

.overview-with-stats .ows-stat__value {
  margin: 0 0 12px;
  font-weight: 900;
  color: #000;
  font-family: 'Niveau-Grotesk', niveau-grotesk, sans-serif !important;
}

.overview-with-stats .ows-stat__desc {
  color: #111;
}

/* =========================
   AUDIENCE BOX
   ========================= */
.overview-with-stats .ows-audience {
  border: 2px solid #6b3aa9;
  border-radius: 24px;
  background: #f8f8f8;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 1fr;
  align-items: center;
  height: 100%;
  padding: 26px 20px;
  column-gap: 26px;
}

.overview-with-stats .ows-audience__copy {
  margin: 0;
  line-height: 1.1;
  font-weight: 900;
  color: #000;
  font-family: 'Niveau-Grotesk', niveau-grotesk, sans-serif !important;
}

.overview-with-stats .ows-audience__list {
  margin: 0;
  padding-left: 22px;
  column-count: 2;
}

.overview-with-stats .ows-audience__list li {
  break-inside: avoid;
  margin-bottom: 8px;
  color: #111;
}

/* =========================
   SPONSORS
   ========================= */
.overview-with-stats .ows-sponsors {
  margin: 0 0 60px;
}

.overview-with-stats .ows-sponsors__heading {
  margin: 0 0 40px;
  font-weight: 900;
  color: #000;
  font-family: 'Niveau-Grotesk', niveau-grotesk, sans-serif !important;
}

.overview-with-stats .ows-sponsors__grid {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vw, 40px);
}

/* render.php builds two separate row sets: a desktop set (wider rows) and
   a mobile set (narrower rows, sized for a phone-width line, and honoring
   "Show all on mobile?"). Only one set is shown at a time. */
.overview-with-stats .ows-sponsors__grid--mobile {
  display: none;
}

/* Each row is built server-side (see render.php) with an even share of its
   set's logo count, then flexed edge-to-edge here -- so every row, including
   the last, fills the full width with no leftover gap. flex-wrap is a safety
   net only; it shouldn't need to trigger. */
.overview-with-stats .ows-sponsors__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.overview-with-stats .ows-sponsors__logo img {
  display: block;
  width: clamp(60px, 8vw, 120px);
  height: clamp(28px, 4vw, 48px);
  object-fit: contain;
}

/* =========================
   BOTTOM ROW
   ========================= */
.overview-with-stats .ows-bottom {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(320px, 1fr);
  gap: 28px;
  align-items: stretch;
}

.overview-with-stats .ows-left {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(0,0,0,.12);
}

.overview-with-stats .ows-hero-img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  display: block;
  object-fit: cover;
}

.overview-with-stats .ows-content {
  width: 100%;
}

.overview-with-stats .ows-content__wysiwyg {
  color: #111;
}

.overview-with-stats .ows-content__wysiwyg h2,
.overview-with-stats .ows-content__wysiwyg h3,
.overview-with-stats .ows-content__wysiwyg h4 {
  margin: 0 0 18px;
  color: #000;
  font-weight: 900;
  line-height: 1.1;
  font-family: 'Niveau-Grotesk', niveau-grotesk, sans-serif !important;
}

.overview-with-stats .ows-content__wysiwyg p {
  margin: 0 0 26px;
  line-height: 1.65;
  color: #111;
}

.overview-with-stats .ows-content__wysiwyg a {
  color: #52287e;
  font-weight: 800;
  text-decoration: none;
}

.overview-with-stats .ows-content__wysiwyg a:hover {
  text-decoration: underline;
}

.overview-with-stats .ows-placeholder {
  padding: 18px;
  background: #fafafa;
  border: 1px dashed #bbb;
  border-radius: 18px;
}

/* =========================
   RESPONSIVE
   ========================= */


@media (max-width: 1380px) {
  .overview-with-stats .ows-audience__list {
    column-count: 1;
  }
}

@media (max-width: 1100px) {
  .overview-with-stats .ows-audience__list {
    column-count: 3;
  }
  .overview-with-stats .ows-top,
  .overview-with-stats .ows-bottom {
    grid-template-columns: 1fr;
  }

  .overview-with-stats .ows-audience {
    grid-template-columns: 1fr;
    row-gap: 18px;
  }

  .overview-with-stats .ows-hero-img {
    max-height: 400px;
  }
}

@media (max-width: 768px) {
  .overview-with-stats {
    padding: 40px 0;
  }

  .overview-with-stats .ows-inner {
    width: min(680px, 92%);
  }

  .overview-with-stats .ows-top {
    gap: 16px;
    margin-bottom: 32px;
  }

  .overview-with-stats .ows-bottom {
    gap: 20px;
  }

  .overview-with-stats .ows-stats {
    grid-template-columns: 1fr;
  }

  .overview-with-stats .ows-stat {
    min-height: auto;
    padding: 18px 18px 20px;
  }

  .overview-with-stats .ows-stat__icon {
    height: 52px;
    margin-bottom: 14px;
  }

  .overview-with-stats .ows-audience {
    padding: 20px 18px;
  }

  .overview-with-stats .ows-audience__list {
    column-count: 2;
    padding-left: 20px;
  }

  .overview-with-stats .ows-hero-img {
    min-height: 240px;
    max-height: 240px;
  }

  .overview-with-stats .ows-sponsors {
    margin-bottom: 32px;
  }

  /* Swap to the mobile row set (render.php limits and groups it into
     phone-width rows); rows lay out the same as desktop. */
  .overview-with-stats .ows-sponsors__grid--desktop {
    display: none;
  }

  .overview-with-stats .ows-sponsors__grid--mobile {
    display: flex;
    flex-direction: column;
    row-gap: clamp(10px, 2.5vw, 32px);
  }

  .overview-with-stats .ows-sponsors__logo img {
    width: clamp(60px, 20vw, 100px);
    height: clamp(26px, 3.2vw, 48px);
  }
}

/* == Overrides from Additional CSS == */
.overview-with-stats .ows-stat { align-items: flex-start !important; justify-content: center !important; }
.overview-with-stats .ows-audience { display: inherit !important; }
.overview-with-stats .ows-audience__list { column-count: 3 !important; }
.overview-with-stats .ows-audience__copy { margin-bottom: 20px !important; }
@media (max-width: 768px) {
  .overview-with-stats .ows-audience__list { column-count: 2 !important; }
}
