/* =========================================================
   FULL-WIDTH BREAKOUT
   Makes section backgrounds span the full viewport
   while keeping inner content constrained
   ========================================================= */

#bloomerang-form-placeholder p {
	color: black !important;
}

.school-cpt-content .school-video-section,
.school-cpt-content .school-why-meals-row,
.school-cpt-content .school-why-thrive-section,
.school-cpt-content .school-blog-section,
.school-cpt-content .school-blog-alt-section,
.school-cpt-content .school-rollover-section,
.school-cpt-content .school-stats-row,
.school-cpt-content .school-about-map-row,
.school-cpt-content .school-partners-section,
.school-cpt-content .school-section-heading-row,
.school-cpt-content .school-unique-heading-row {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  box-sizing: border-box;
}

/* Keep the actual content readable */
.school-cpt-content .school-video-inner,
.school-cpt-content .school-why-thrive-inner,
.school-cpt-content .school-blog-inner,
.school-cpt-content .school-blog-alt-inner,
.school-cpt-content .school-rollover-inner,
.school-cpt-content .school-stats-inner,
.school-cpt-content .school-about-map-inner,
.school-cpt-content .school-partners-inner,
.school-cpt-content .school-section-heading-inner,
.school-cpt-content .school-unique-heading-inner {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

/* =========================================================
   SCHOOL CPT ONLY – scoped under .school-cpt-content
   ========================================================= */

.school-cpt-content {
  --dark-green: #3f5839;
  --light-green: #799810;
  --yellow: #e1aa2c;
  --yellow-hover: #c9951f;
  --text-box-bg: #f9f3eb;
}

/* Quote text */
.school-cpt-content .quote-text p {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 44px;
/*  line-height: 1.15em; */
  line-height: 1em;
  color: var(--dark-green);
  margin: 0 0 12px;
  padding-bottom: unset;
}

.school-cpt-content .eyebrow {
  text-transform: uppercase;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 20px;
  letter-spacing: 0.5px;
}

.school-cpt-content .dark-text {
  color: var(--dark-green);
}

/* Make the row a positioning context and limit its height to the image */
.school-cpt-content .image-left-donate-box-row {
  position: relative;
  overflow: visible !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* Image takes the full width of the row */
.school-cpt-content .image-left-donate-box-row img {
  width: 100%;
  display: block;
  vertical-align: top;
}

/* ===== Text box – absolute so it does not create extra height ===== */
.school-cpt-content .image-left-donate-box-row .text-donate-box {
  background-color: var(--text-box-bg);
  padding: 28px 30px;
  border-radius: 10px;
  box-sizing: border-box;
  z-index: 10;
}

.school-cpt-content .image-left-donate-box-row p {
  color: var(--dark-green);
}

/* Desktop – absolute overlay */
/* Row 1 – image + overlay text box */
.school-cpt-content .image-left-donate-box-row {
  position: relative;
  overflow: visible !important;
}

.school-cpt-content .image-left-donate-box-row img {
  width: 100%;
  display: block;
}


/* Text box – centered vertically on desktop */
@media (min-width: 1000px) {
  .school-cpt-content .image-left-donate-box-row .text-donate-box {
    position: absolute;
    left: 8%;
    top: 50%;
    transform: translateY(-50%);
    width: 480px;
    max-width: 42%;
    margin: 0;
    z-index: 10;
    background-color: #f9f3eb;
    padding: 28px 30px;
    border-radius: 10px;
    box-sizing: border-box;
    text-align: center;
  }
}

@media (max-width: 999px) {
  .school-cpt-content .image-left-donate-box-row .text-donate-box {
    position: relative;
    left: 0;
    top: 0;
    transform: none;
    width: 100%;
    margin: 25px 0 40px;
    text-align: center;
  }
}

/* Mobile – stack normally under the image */
@media (max-width: 999px) {
  .school-cpt-content .image-left-donate-box-row .text-donate-box {
    position: relative;
    width: 100%;
    left: 0;
    bottom: auto;
    top: 0;
    margin: 25px 0 40px;
    text-align: center;
  }

  .school-cpt-content .image-left-donate-box-row .nectar-button {
    margin: 15px auto 0;
    display: table;
  }
}

/* Yellow button */
.school-cpt-content a.nectar-button.donate-btn-yellow,
.school-cpt-content .donate-btn-yellow.nectar-button {
  font-size: 22px !important;
  padding: 14px 40px !important;
  line-height: 1.2 !important;
  background-color: var(--light-green) !important;
border:none;
  color: #ffffff !important;
	text-transform:uppercase;
	font-family:'Dessau Pro', sans-serif;
	font-weight:400;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.school-cpt-content a.nectar-button.donate-btn-yellow:hover,
.school-cpt-content .donate-btn-yellow.nectar-button:hover {
  background-color: #618303 !important;
  border-color: #618303 !important;
  color: #ffffff !important;
  cursor:pointer;
}
	
	
/* =========================================================
   ROW 2 – 4-Column Icon Stats
   ========================================================= */

.school-cpt-content .school-stats-row {
  background-color: #f9f3eb;
  padding: 40px 20px;
  border-top: 1px solid #e5d9c5;
  border-bottom: 1px solid #e5d9c5;
}

.school-cpt-content .school-stats-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch;
  max-width: 1100px;
  margin: 0 auto;
  gap: 0;
}

.school-stats-row h3.school-name {
	text-align: center;
}

.school-cpt-content .school-stat-item {
  flex: 1 1 20%;
  min-width: 160px;
  text-align: center;
  padding: 15px 20px;
  position: relative;
  align-content:center;

}

.school-cpt-content .school-stat-item:first-of-type {
  text-align: left;
}

.school-cpt-content .school-stat-item:first-of-type h3 {
  color: var(--dark-green);
}

/* Vertical separators (pipe style) */
.school-cpt-content .school-stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 20%;
  right: 0;
  height: 60%;
  width: 1px;
  background-color: #799810;
  opacity: 0.45;
}

/* Column 1 – stacked icon + label + value */
.school-cpt-content .school-stat-item-first .school-stat-icon {
  margin-bottom: 10px;
}

.school-cpt-content .school-stat-item-first .school-stat-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.school-cpt-content .school-stat-item-first .school-stat-label {
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #799810;
  margin-bottom: 4px;
}

.school-cpt-content .school-stat-item-first .school-stat-value {
  display: block;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: #3f5839;
  line-height: 1.25;
}

/* Columns 2–4 – icon + number on one line */
.school-cpt-content .school-stat-inline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 6px;
}

.school-cpt-content .school-stat-inline .school-stat-icon img {
/*  width: 40px; */
  height: 50px;
  object-fit: contain;
  display: block;
}

.school-cpt-content .school-stat-inline .school-stat-value {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 40px;
  font-weight: 600;
  color: #799810;
  line-height: 1;
}

.school-cpt-content .school-stat-item .school-stat-label {
  display: block;
  font-size: 15px;
  color: #3f5839;
  line-height: 1.35;
}

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  .school-cpt-content .school-stat-item {
    flex: 1 1 40%;
  }

  /* Only show separators between items that sit side-by-side */
  .school-cpt-content .school-stat-item:nth-child(2n)::after {
    display: none;
  }
}

@media (max-width: 550px) {
  .school-cpt-content .school-stat-item {
    flex: 1 1 100%;
    max-width: 280px;
    margin: 0 auto;
    padding: 20px 15px;
  }

  .school-cpt-content .school-stat-item::after {
    display: none; /* no separators when stacked */
  }

  .school-cpt-content .school-stats-row {
    padding: 30px 15px;
  }
}




	/* =========================================================
   ROW 3 – Map + About the School
   ========================================================= */

.school-cpt-content .school-about-map-row {
  background-color: #f9f3eb;
  padding: 60px 20px;
}

.school-cpt-content .school-about-map-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px 50px;
  max-width: 1100px;
  margin: 0 auto;
}

/* ----- Map column ----- */
.school-cpt-content .school-map-col {
  flex: 1 1 380px;
  max-width: 480px;
  text-align: center;
}

.school-cpt-content .school-map-col h2 {
	color:var(--dark-green);
}

.school-cpt-content .school-map-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1.05;          /* roughly square – adjust if needed */
  background-color: unset;       /* fallback while no image */
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 8px;
}

/* Pin container – position controlled by CSS variables */
.school-cpt-content .school-map-pin {
  position: absolute;
  top: var(--pin-top, 50%);
  left: var(--pin-left, 50%);
  transform: translate(-50%, -100%); /* pin tip sits on the coordinate */
  text-align: center;
  z-index: 5;
}

.school-cpt-content .pin-marker {
  display: inline-block;
  line-height: 0;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,0.25));
}

.school-cpt-content .pin-label {
  margin-top: 6px;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #3f5839;
  white-space: nowrap;
  background: rgba(249, 243, 235, 0.92);
  padding: 3px 10px;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

/* ----- About column ----- */
.school-cpt-content .school-about-col {
  flex: 1 1 320px;
  max-width: 480px;
}

.school-cpt-content .school-about-heading {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 28px;
  font-weight: 600;
  color: #799810;
  margin: 0 0 18px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.school-cpt-content .school-about-text p {
  font-size: 16px;
  line-height: 1.65;
  color: #3f5839;
  margin: 0;
}

/* ---------- Mobile ---------- */
@media (max-width: 800px) {
  .school-cpt-content .school-about-map-inner {
    flex-direction: column;
    gap: 35px;
  }

  .school-cpt-content .school-map-col,
  .school-cpt-content .school-about-col {
    max-width: 100%;
    flex: 1 1 100%;
  }

  .school-cpt-content .school-map-wrapper {
    max-width: 360px;
    margin: 0 auto;
  }

  .school-cpt-content .school-about-heading {
    text-align: center;
  }

  .school-cpt-content .school-about-text {
    text-align: center;
  }
}
.school-cpt-content .school-map-wrapper {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1 / 1;           /* keep a stable box */
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  margin-left: auto;
  margin-right: auto;
}

.school-cpt-content .school-map-pin {
  position: absolute;
  top: var(--pin-top, 50%);
  left: var(--pin-left, 50%);
  transform: translate(-50%, -100%);
  text-align: center;
  z-index: 5;
  /* Prevent sub-pixel jitter on resize */
  will-change: transform;
}

/* On mobile, keep the same percentage model but tighten the box */
@media (max-width: 800px) {
  .school-cpt-content .school-map-wrapper {
    max-width: 360px;
    aspect-ratio: 1 / 1;
  }
}

.school-cpt-content .school-map-pin {
  position: absolute;
  top: var(--pin-top, 50%);
  left: var(--pin-left, 50%);
  /* Only the marker tip is anchored to the coordinate */
  transform: translate(-50%, -100%);
  z-index: 5;
  width: 0;              /* collapse the positioning box */
  height: 0;
  overflow: visible;
}

.school-cpt-content .pin-marker {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  line-height: 0;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,0.25));
}

.school-cpt-content .pin-label {
  position: absolute;
  left: 50%;
  top: 100%;             /* sits just under the marker */
  transform: translateX(-50%);
  margin-top: 6px;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #3f5839;
  white-space: nowrap;
  background: rgba(249, 243, 235, 0.92);
  padding: 3px 10px;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  pointer-events: none;  /* optional: clicks pass through */
}
	
/* =========================================================
   ROW 4 – School Video
   ========================================================= */

.school-cpt-content .school-video-section {
  background-color: #e6e5ca;          /* light green from landing page */
  padding: 70px 20px;
}

.school-cpt-content .school-video-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px 50px;
  max-width: 1100px;
  margin: 0 auto;
}

/* Text side */
.school-cpt-content .school-video-text {
  flex: 1 1 320px;
  max-width: 420px;
}

.school-cpt-content .school-video-text-inner {
  background-color: #f9f3eb;          /* cream box */
  padding: 35px 30px;
  border-radius: 12px;
}

.school-cpt-content .school-video-heading {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 22px;
	line-height:28px;
  font-weight: 600;
  color: #799810;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 16px;
}

.school-cpt-content .school-video-text-inner p {
  font-size: 16px;
  line-height: 1.6;
  color: #3f5839;
  margin: 0;
}

/* Video side */
.school-cpt-content .school-video-media {
  flex: 1 1 360px;
  max-width: 560px;
}

.school-cpt-content .school-video-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  overflow: hidden;
  background: #222;
  cursor: pointer;
}

.school-cpt-content .school-video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: filter 0.2s ease;
}

.school-cpt-content .school-video-thumb:hover img {
  filter: brightness(0.85);
}

/* Play button */
.school-cpt-content .school-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: none;
  background-color: #799810;
  color: #f9f3eb;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.15s ease;
  padding: 0;
}

.school-cpt-content .school-video-play svg {
  margin-left: 3px;                  /* optical centering of the triangle */
}

.school-cpt-content .school-video-thumb:hover .school-video-play {
  background-color: #8aa437;
  transform: translate(-50%, -50%) scale(1.06);
}

/* ---------- Mobile ---------- */
@media (max-width: 800px) {
  .school-cpt-content .school-video-inner {
    flex-direction: column;
    gap: 30px;
  }

  .school-cpt-content .school-video-text,
  .school-cpt-content .school-video-media {
    max-width: 100%;
    flex: 1 1 100%;
  }

  .school-cpt-content .school-video-text-inner {
    text-align: center;
  }
}

.school-cpt-content .school-video-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  overflow: hidden;
  background: #222;
  cursor: pointer;
}

.school-cpt-content .school-video-thumb img {
  width: 100% !important;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: filter 0.2s ease;
}

.school-cpt-content .school-video-thumb:hover img {
  filter: brightness(0.85);
}

.school-cpt-content .school-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: none;
  background-color: #799810;
  color: #f9f3eb;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.15s ease;
  padding: 0;
}

.school-cpt-content .school-video-play svg {
  margin-left: 3px;
}

.school-cpt-content .school-video-thumb:hover .school-video-play {
  background-color: #8aa437;
  transform: translate(-50%, -50%) scale(1.06);
}

.school-cpt-content .school-video-thumb.is-playing {
  cursor: default;
}

.school-cpt-content .school-video-placeholder {
  aspect-ratio: 16 / 10;
  background: #e6e5ca;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3f5839;
}

.school-cpt-content .school-video-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  overflow: hidden;
  background: #222;
}

.school-cpt-content .school-video-thumb.is-playing {
  cursor: default;
}

/* =========================================================
   ROW 5 – Community Partners
   ========================================================= */

.school-cpt-content .school-partners-section {
  background-color: #f9f3eb;
  padding: 70px 20px 80px;
}

.school-cpt-content .school-partners-inner {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.school-cpt-content .school-partners-heading {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 28px;
  font-weight: 600;
  color: #799810;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 45px;
}

/* Flexible grid – max 4 across, then wraps */
.school-cpt-content .school-partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px 20px;
}

.school-cpt-content .school-partner-item {
  flex: 0 1 200px;          /* ideal width, allows wrapping */
  max-width: 220px;
  text-align: center;
  padding: 10px;
}

/* Partner icon wrapper – fixed square, flexible width */
.school-cpt-content .school-partner-icon {
  width: 100%;
  max-width: 180px;          /* caps size on large screens */
  aspect-ratio: 1 / 1;
  margin: 0 auto 14px;       /* center the square itself */
  display: flex;
  align-items: center;       /* vertical center */
  justify-content: center;   /* horizontal center */
  overflow: hidden;
}

.school-cpt-content .school-partner-icon img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;       /* scale to fit, keep aspect ratio */
  margin: 0;
  display: block;
}

.school-cpt-content .school-partner-name {
  font-size: 15px;
  color: #3f5839;
  line-height: 1.35;
  font-weight: 500;
}

/* Optional: make the whole item a link later */
.school-cpt-content .school-partner-item a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.school-cpt-content .school-partner-item a:hover .school-partner-name {
  color: #799810;
}

/* ---------- Tablet ---------- */
@media (max-width: 800px) {
  .school-cpt-content .school-partner-item {
    flex: 0 1 160px;
  }
}

/* ---------- Mobile ---------- */
@media (max-width: 520px) {
  .school-cpt-content .school-partners-grid {
    gap: 28px 12px;
  }

  .school-cpt-content .school-partner-item {
    flex: 0 1 140px;
  }

  .school-cpt-content .school-partner-icon img {
    height: 100px;
  }

  .school-cpt-content .school-partners-heading {
    font-size: 24px;
    margin-bottom: 35px;
  }
}
/* =========================================================
   ROW 6 – Section Heading
   ========================================================= */

.school-cpt-content .school-section-heading-row {
  background-color: #f9f3eb;          /* cream */
  padding: 50px 20px 30px;
  text-align: center;
}

.school-cpt-content .school-section-heading-inner {
  max-width: 900px;
  margin: 0 auto;
}

.school-cpt-content .school-section-heading {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 32px;
  font-weight: 600;
  color: #799810;                     /* light green */
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
  line-height: 1.25;
}

/* Mobile */
@media (max-width: 600px) {
  .school-cpt-content .school-section-heading {
    font-size: 26px;
  }

  .school-cpt-content .school-section-heading-row {
    padding: 40px 15px 25px;
  }
}
/* =========================================================
   ROW 7 – Why School Meals? (Dark Green Half Image)
   ========================================================= */

/* Row 7 – force full-bleed 50/50 split */
.school-cpt-content .school-why-meals-row {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  box-sizing: border-box;
  padding: 0;                    /* no side padding on the outer row */
}

.school-cpt-content .school-why-meals-inner {
  max-width: none;               /* remove the 1200px cap */
  width: 100%;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.school-cpt-content .school-why-meals-image,
.school-cpt-content .school-why-meals-content {
  flex: 1 1 50%;
  max-width: 50%;
}




.school-cpt-content .school-why-meals-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Dark green text panel */
.school-cpt-content .school-why-meals-content {
  flex: 1 1 50%;
  background-color: #3f5839;          /* dark green */
  color: #f9f3eb;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 50px 45px;
  box-sizing: border-box;
}

.school-cpt-content .school-why-meals-heading {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 32px;
  font-weight: 600;
  color: #f9f3eb;
  margin: 0 0 20px;
  line-height: 1.2;
}

.school-cpt-content .school-why-meals-text p {
  font-size: 16px;
  line-height: 1.65;
  color: #f9f3eb;
  margin: 0;
  opacity: 0.95;
}

/* ---------- Mobile ---------- */
@media (max-width: 800px) {
  .school-cpt-content .school-why-meals-inner {
    flex-direction: column;
  }

  .school-cpt-content .school-why-meals-image {
    flex: 1 1 100%;
    min-height: 280px;
    max-height: 360px;
  }

  .school-cpt-content .school-why-meals-content {
    flex: 1 1 100%;
    padding: 40px 25px;
    text-align: center;
  }

  .school-cpt-content .school-why-meals-heading {
    font-size: 26px;
  }
}

/* Mobile – stack full width */
@media (max-width: 800px) {
  .school-cpt-content .school-why-meals-image,
  .school-cpt-content .school-why-meals-content {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

/* =========================================================
   ROW 8 – Why Thrive
   ========================================================= */

.school-cpt-content .school-why-thrive-section {
  background-color: #f3eee1;          /* slightly warmer cream */
  padding: 70px 0px 80px;
  text-align: center;
}

.school-cpt-content .school-why-thrive-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.school-cpt-content .school-why-thrive-heading {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 32px;
  font-weight: 600;
  color: #799810;
  margin: 0 0 45px;
  text-transform: none;
}

/* Stats grid */
.school-cpt-content .school-why-thrive-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px 15px;
  margin-bottom: 30px;
}

.school-cpt-content .school-why-thrive-item {
  flex: 1 1 200px;
/*  max-width: 280px; */
  padding: 10px 15px;
}

.school-cpt-content .school-why-thrive-value {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #799810;
  line-height: 1.15;
  margin-bottom: 8px;
}

.school-cpt-content .school-why-thrive-label {
  font-size: 20px;
  color: #3f5839;
  line-height: 1.4;
}

/* Optional image between the two stat rows */
.school-cpt-content .school-why-thrive-image {
  margin: 20px auto 40px;
/*  max-width: 720px; */
}

.school-cpt-content .school-why-thrive-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0px;
}

/* ---------- Mobile ---------- */
@media (max-width: 700px) {
  .school-cpt-content .school-why-thrive-value {
    font-size: 30px;
  }

  .school-cpt-content .school-why-thrive-item {
    flex: 1 1 140px;
  }

  .school-cpt-content .school-why-thrive-heading {
    font-size: 26px;
    margin-bottom: 35px;
  }
}

@media (max-width: 480px) {
  .school-cpt-content .school-why-thrive-item {
    flex: 1 1 100%;
    max-width: 260px;
  }
}

/* Row 8 – Why Thrive full-bleed */
.school-cpt-content .school-why-thrive-section {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  box-sizing: border-box;
}

.school-cpt-content .school-why-thrive-inner {
  max-width: 1100px;          /* keep content readable */
  max-width: unset;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0px;
  padding-right: 0px;
  box-sizing: border-box;
}

.school-cpt-content .school-why-thrive-label {
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}

/* =========================================================
   ROW 9 – What makes Thrive unique (placeholder heading)
   ========================================================= */

.school-cpt-content .school-unique-heading-row {
  background-color: #f9f3eb;
  padding: 50px 20px 30px;
  text-align: center;
}

.school-cpt-content .school-unique-heading-inner {
  max-width: 900px;
  margin: 0 auto;
}

.school-cpt-content .school-unique-heading {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 32px;
  font-weight: 600;
  color: #799810;
  margin: 0;
  line-height: 1.25;
}

@media (max-width: 600px) {
  .school-cpt-content .school-unique-heading {
    font-size: 26px;
  }
}

/* =========================================================
   ROW 10 – Read the Blog 
   ========================================================= */

.school-cpt-content .school-blog-section {
  position: relative;
  background-color: #799810;
  margin-top: 50px;
  padding: 70px 20px 70px;
  text-align: center;
  display: block;
}

/* Title tab – straddles top edge of section */
.school-cpt-content .school-blog-tab {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  width: min(500px, 90%);
}

.school-cpt-content .school-blog-heading {
  margin: 0;
  background-color: #799810;
  color: #ffffff;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 28px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 12px 24px 14px;
  border-radius: 10px;
  line-height: 1.2;
}

.school-cpt-content .school-blog-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.school-cpt-content .school-blog-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
}

/* ----- Cards ----- */
.school-cpt-content .school-blog-card {
  flex: 1 1 280px;
  max-width: 340px;
  background-color: #f2e9ca;
  border-radius: 10px;
  overflow: hidden;
  text-align: left;
}

.school-cpt-content .school-blog-card-image {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #ddd;
}

.school-cpt-content .school-blog-card-image a {
  display: block;
  height: 100%;
}

.school-cpt-content .school-blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.school-cpt-content .school-blog-card-image a:hover img {
  transform: scale(1.06);
}

.school-cpt-content .school-blog-card {
  position: relative; /* positioning context for the pill */
}

.school-cpt-content .school-blog-card-body {
  position: relative;
  padding: 28px 18px 22px; /* extra top padding so title clears the pill */
  border-top: 5px solid #e9bf2c;
}

/* Pill sits on the image/body seam, flush to the right */
.school-cpt-content .school-blog-card-category {
  position: absolute;
  top: 0;
  right: 0;
  left: auto;
  transform: translateY(-50%); /* half on image, half on body */
  margin: 0;
  z-index: 2;
  line-height: 1;
}

.school-cpt-content .school-blog-card-category a {
  display: inline-block;
  background-color: #e9bf2c;
  color: #3f5839;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  padding: 5px 20px 5px 16px;
  border-radius: 20px 0 0 20px; /* rounded left, flat against right edge */
  transition: background-color 0.15s ease;
}

.school-cpt-content .school-blog-card-category a:hover {
  background-color: #d4a926;
  color: #3f5839;
}



.school-cpt-content .school-blog-card-title {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 600;
  color: #3f5839;
  margin: 0;
  line-height: 1.3;
}


body .school-cpt-content h3.school-blog-card-title, .school-cpt-content  .row .col h3.school-blog-card-title {
	font-size:20px;
}

.school-cpt-content .school-blog-card-title a {
  color: inherit;
  text-decoration: none;
}

.school-cpt-content .school-blog-card-title a:hover {
  color: #618303;
}

/* ----- CTA button ----- */
.school-cpt-content .school-blog-cta-button {
  display: inline-block;
  background-color: #f9f3eb;
  color: #3e5939;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 14px 40px;
  border-radius: 10px;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.school-cpt-content .school-blog-cta-button:hover {
  background-color: #e6e5ca;
  color: #3e5939;
}

.school-cpt-content .school-blog-empty {
  color: #f9f3eb;
}

/* ----- Mobile ----- */
@media (max-width: 700px) {
  .school-cpt-content .school-blog-section {
    padding-top: 60px;
    margin-top: 40px;
  }

  .school-cpt-content .school-blog-heading {
    font-size: 22px;
    padding: 10px 16px 12px;
  }

  .school-cpt-content .school-blog-card {
    flex: 1 1 100%;
    max-width: 380px;
  }
}


/* =========================================================
   ROW 11 – Image Rollover Cards (landing page style)
   ========================================================= */

.school-cpt-content .school-rollover-section {
  background-color: #e6e5ca;
  padding: 70px 20px 80px;
  text-align: center;
}

.school-cpt-content .school-rollover-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.school-cpt-content .school-rollover-eyebrow {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #3f5839;
  margin-bottom: 8px;
}

.school-cpt-content .school-rollover-heading {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 28px;
  font-weight: 600;
  color: #799810;
  margin: 0 0 40px;
}

.school-cpt-content .school-rollover-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  margin-bottom: 40px;
}

.school-cpt-content .school-rollover-item {
  flex: 1 1 280px;
  max-width: 340px;
}

/* Hover box – matches landing page */
.school-cpt-content .hover-box {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 1 / 1;
}

.school-cpt-content .hover-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: filter 0.3s ease;
}

.school-cpt-content .hover-box:hover img {
  filter: brightness(0.4);
}

.school-cpt-content .hover-label {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #799810;
  color: #fff;
  text-align: center;
  padding: 10px 0;
  letter-spacing: 0.15em;
  font-size: 16px;
  font-weight: bold;
  text-transform: uppercase;
  transition: opacity 0.3s ease;
}

.school-cpt-content .hover-box:hover .hover-label {
  opacity: 0;
}

.school-cpt-content .hover-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 85%;
  padding: 1.5rem;
  background: rgba(245, 242, 235, 0.9);
  border-radius: 12px;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.school-cpt-content .hover-box:hover .hover-text {
  opacity: 1;
}

.school-cpt-content .hover-text h4 {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 20px;
  color: #3f5839;
  margin: 0 0 8px;
}

.school-cpt-content .hover-text p {
  font-size: 14px;
  color: #3f5839;
  line-height: 1.5;
  margin: 0;
}

/* Mobile */
@media (max-width: 700px) {
  .school-cpt-content .school-rollover-item {
    flex: 1 1 100%;
    max-width: 320px;
  }
}

.school-cpt-content .hover-box-link {
  display: block;
  text-decoration: none;
  color: inherit;
}



  /* 1. Main full-screen background overlay */
  #bloomerangOverlay {
    display: none; 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100vw; 
    height: 100vh; 
    background: rgba(0, 0, 0, 0.6); 
    z-index: 99999; 
    
    /* Center the modal horizontally, push it down below navbar vertically */
    display: flex;
    justify-content: center; 
    align-items: flex-start; /* Aligns to top instead of center */
    
    /* 
       Adjust this padding-top to match your sticky navbar height.
       If your navbar is 80px tall, set this to 90px or 100px 
       to create a perfect buffer/margin area below it.
    */
    padding-top: 150px; 
    box-sizing: border-box;
  }

  /* 2. Inner Modal White Box containing the Qgiv Form */
  #bloomerangOverlay > div {
    background: #fff; 
    padding: 25px; 
    width: 100%; 
    max-width: 680px; /* Widened slightly to perfectly fit Qgiv's 630px width */
    border-radius: 8px; 
    position: relative; 
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); 
    box-sizing: border-box;
    
    /* 
       THE MATH: Viewport height (100vh) minus the navbar space/top buffer (100px) 
       minus an extra bottom safety margin (40px) 
    */
    max-height: calc(100vh - 120px - 40px);
    
    /* Enables clean scrolling inside the modal box if the form is too tall */
    overflow-y: auto; 
  }
 
#bloomerangOverlay .close_button {
	float: right;	background-color: #79980F;
	padding: 7px 20px;
	line-height: 1.2;
	font-size: 20px;
	color: #F9F3EB;
	font-weight: 500;
	font-family: 'Dessau Pro';
	border-radius: 10px;
	border: 2px solid #79980F;
}
