/* Shared content-rich page styles: Student Well-Being, Admissions, Careers, Book A Visit */

.contact-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  color: var(--ink);
  background: linear-gradient(135deg, #fff, rgba(255, 255, 255, 0.72));
  box-shadow: 0 10px 22px rgba(24, 43, 77, 0.08);
  flex-shrink: 0;
}
.contact-label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08rem;
  font-weight: 800;
  color: var(--muted);
  margin-bottom: 0.35rem;
}
.contact-info-card {
  display: block;
  border-radius: 24px;
  padding: 1.5rem;
  min-height: 100%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(24, 43, 77, 0.06);
  box-shadow: 0 16px 34px rgba(24, 43, 77, 0.08);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  color: inherit;
}
.contact-info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  color: inherit;
}
.contact-info-card h5 {
  margin-bottom: 0.6rem;
  font-size: 1.2rem;
  word-break: break-word;
}
.contact-info-card p {
  color: var(--muted);
  line-height: 1.6;
}

.card-coral .contact-icon {
  background: linear-gradient(135deg, #fff, #ffe1db);
}
.card-sky .contact-icon {
  background: linear-gradient(135deg, #fff, #e2f5ff);
}
.card-sage .contact-icon {
  background: linear-gradient(135deg, #fff, #e7f6ea);
}
.card-lilac .contact-icon {
  background: linear-gradient(135deg, #fff, #f0e8ff);
}
.value-card {
  border-radius: 26px;
  padding: 1.65rem;
  box-shadow: var(--shadow-soft);
  height: 100%;
  border: 1px solid rgba(24, 43, 77, 0.06);
}

.map-frame iframe {
  border: 0;
}
.content-rich-page,
.student-wellbeing-page {
  --content-page-accent: var(--coral);
}
.admissions-page {
  --content-page-accent: var(--sun);
}
.program-elementary-page,
.program-preschool-page {
  --content-page-accent: var(--sage);
}
.content-rich-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(0.9rem, 1.7vw, 1.35rem) 0 clamp(1.35rem, 2.6vw, 2rem);
  background:
    radial-gradient(circle at 8% 16%, rgba(246, 198, 75, 0.14), transparent 26%), radial-gradient(circle at 92% 78%, rgba(137, 208, 238, 0.16), transparent 28%),
    linear-gradient(180deg, var(--paper) 0%, #ffffff 100%);
}
.content-rich-hero::before {
  content: "";
  position: absolute;
  left: -90px;
  top: 18%;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: rgba(170, 143, 218, 0.11);
  pointer-events: none;
}
.content-rich-hero::after {
  content: "";
  position: absolute;
  right: -110px;
  bottom: 12%;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: rgba(239, 125, 97, 0.11);
  pointer-events: none;
}
.content-rich-hero .container,
.content-rich-hero .container-fluid {
  position: relative;
  z-index: 1;
}
.content-rich-hero-container {
  max-width: 1580px;
  margin: 0 auto;
  padding-left: clamp(0.75rem, 1.4vw, 1.15rem);
  padding-right: clamp(0.75rem, 1.4vw, 1.15rem);
}
.content-rich-hero-shell {
  padding: clamp(0.85rem, 1.25vw, 1.15rem);
  padding-bottom: clamp(1.1rem, 1.8vw, 1.55rem);
}
.content-rich-hero-copy {
  height: 100%;
  padding: clamp(0.15rem, 0.7vw, 0.5rem) 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.content-rich-hero-copy .section-tag {
  align-self: flex-start;
  width: auto;
  max-width: max-content;
}
.content-rich-hero-title {
  max-width: 780px;
  margin-bottom: 1rem;
  color: var(--ink);
  font-size: clamp(2.35rem, 4vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}
.content-rich-hero-text {
  position: relative;
  display: grid;
  gap: 1rem;
  max-width: 820px;
  padding-left: 1.15rem;
  border-left: 6px solid var(--content-page-accent);
}
.content-rich-hero-text p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}
.content-rich-hero-text p.is-emphasis {
  color: var(--ink);
  font-weight: 900;
}
.content-rich-hero-highlight {
  display: grid;
  gap: 0.85rem;
  margin-top: 0.15rem;
}
.content-rich-hero-highlight-label {
  margin: 0;
  color: var(--ink) !important;
  font-weight: 900;
}
.content-rich-hero-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.78rem;
}
.content-rich-hero-list li {
  position: relative;
  margin: 0;
  padding-left: 2.45rem;
  color: var(--muted);
  line-height: 1.62;
}
.bird-bullet-list li::before,
.bird-bullet-list li::after {
  content: "";
  position: absolute;
  pointer-events: none;
}
.bird-bullet-list li::before {
  left: 0;
  top: 0.08rem;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--content-page-accent) 18%, #ffffff);
  border: 1px solid color-mix(in srgb, var(--content-page-accent) 30%, #ffffff);
  box-shadow: 0 8px 18px rgba(24, 43, 77, 0.08);
}
.bird-bullet-list li::after {
  left: 0.4rem;
  top: 0.47rem;
  width: 0.78rem;
  height: 0.78rem;
  background: var(--content-page-accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='black' d='M2 18.2 29 3.5 21.2 29 15.1 19.5 2 18.2Zm6.8-2.5 8.8.9 6.5-8.4-15.3 7.5Zm9.5 4.8 2.5 4.1 2.4-10.3-4.9 6.2Z'/%3E%3C/svg%3E")
    center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='black' d='M2 18.2 29 3.5 21.2 29 15.1 19.5 2 18.2Zm6.8-2.5 8.8.9 6.5-8.4-15.3 7.5Zm9.5 4.8 2.5 4.1 2.4-10.3-4.9 6.2Z'/%3E%3C/svg%3E")
    center / contain no-repeat;
}
.content-rich-hero-media {
  --content-hero-ratio: 3 / 4;
  --content-hero-position: center center;
  position: relative;
  width: min(100%, clamp(440px, 31vw, 505px));
  margin: 0 0 0 auto;
  overflow: hidden;
  border-radius: 30px;
  border: 9px solid var(--white);
  background: var(--sky-soft);
  box-shadow: var(--shadow);
  aspect-ratio: var(--content-hero-ratio);
}
.content-rich-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(24, 43, 77, 0.01), rgba(24, 43, 77, 0.13));
}
.content-rich-hero-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: var(--content-hero-position);
}
.content-rich-hero-media.portrait-ratio {
  --content-hero-ratio: 3 / 4;
}
.content-rich-hero-media.image-position-center {
  --content-hero-position: center center;
}

.process-list {
  display: grid;
  gap: 1rem;
}
.process-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: clamp(1rem, 1.5vw, 1.25rem);
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff, var(--sky-soft));
  border: 1px solid rgba(24, 43, 77, 0.07);
  box-shadow: 0 12px 26px rgba(24, 43, 77, 0.05);
}
.process-step-number {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--navy);
  color: #ffffff;
  font-weight: 900;
  line-height: 1;
}
.process-item-content h3 {
  margin-bottom: 0.35rem;
  color: var(--ink);
  font-size: clamp(1.18rem, 1.7vw, 1.55rem);
  line-height: 1.15;
}
.process-item-content p {
  margin: 0;
  color: var(--text);
  line-height: 1.6;
}
.admissions-hero-with-flow .content-rich-hero-shell {
  padding: clamp(0.7rem, 1.05vw, 1rem);
  padding-bottom: clamp(0.85rem, 1.2vw, 1.15rem);
}
.admissions-hero-with-flow .content-rich-hero-title {
  margin-bottom: 0.7rem;
  font-size: clamp(2.1rem, 3.45vw, 3.45rem);
}
.admissions-hero-with-flow .content-rich-hero-text {
  gap: 0.68rem;
  max-width: 790px;
}
.admissions-hero-with-flow .content-rich-hero-text p {
  line-height: 1.52;
}
.admission-hero-flow {
  margin-top: clamp(0.8rem, 1.3vw, 1rem);
  padding: clamp(0.75rem, 1.15vw, 0.95rem) clamp(0.75rem, 1.2vw, 1rem);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(246, 198, 75, 0.12), rgba(137, 208, 238, 0.12)),
    rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(24, 43, 77, 0.08);
}
.admission-hero-flow-title {
  margin: 0 0 0.6rem;
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.07rem;
  text-transform: uppercase;
}
.admission-hero-flow-list {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.45rem;
}
.admission-hero-flow-list::before {
  content: "";
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  top: 0.8rem;
  height: 2px;
  background: linear-gradient(90deg, var(--content-page-accent), var(--sky), var(--lilac));
  opacity: 0.45;
}
.admission-hero-flow-list li {
  position: relative;
  min-width: 0;
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 0.42rem;
  padding: 0 0.35rem;
}
.admission-hero-flow-number {
  position: relative;
  z-index: 1;
  width: 1.6rem;
  height: 1.6rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--navy);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
  box-shadow:
    0 0 0 5px rgba(255, 255, 255, 0.92),
    0 8px 16px rgba(24, 43, 77, 0.12);
}
.admission-hero-flow-text {
  min-width: 0;
  color: var(--ink);
  font-size: clamp(0.78rem, 0.72vw, 0.88rem);
  font-weight: 900;
  line-height: 1.18;
  text-wrap: balance;
}
.wellbeing-pillars-section {
  position: relative;
  padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(4rem, 6vw, 6rem);
  background: linear-gradient(180deg, #ffffff 0%, var(--paper) 100%);
}
@media (min-width: 1400px) {
  .content-rich-hero-container {
    max-width: 1600px;
  }
}
@media (min-width: 1400px) {
  .content-rich-hero-media {
    width: min(100%, 500px);
  }
}
@media (max-width: 1399.98px) {
  .content-rich-hero-title {
    font-size: clamp(2.3rem, 4.05vw, 3.8rem);
  }
}
@media (max-width: 1399.98px) {
  .content-rich-hero-text {
    gap: 0.85rem;
  }
}
@media (max-width: 1399.98px) {
  .content-rich-hero-text p {
    line-height: 1.64;
  }
}
@media (max-width: 1399.98px) {
  .content-rich-hero-media {
    width: min(100%, 470px);
  }
}
@media (max-width: 1199.98px) {
  .content-rich-hero-container {
    max-width: 1320px;
  }
}
@media (max-width: 1199.98px) {
  .content-rich-hero-title {
    font-size: clamp(2.2rem, 4.2vw, 3.55rem);
  }
}
@media (max-width: 1199.98px) {
  .content-rich-hero-media {
    width: min(100%, 430px);
  }
}
@media (max-width: 1199.98px) {
  .admission-hero-flow-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem 0.55rem;
  }
}
@media (max-width: 1199.98px) {
  .admission-hero-flow-list::before {
    display: none;
  }
}
@media (max-height: 820px) and (min-width: 992px) {
  .content-rich-hero {
    padding-top: 0.75rem;
    padding-bottom: 1.25rem;
  }
}
@media (max-height: 820px) and (min-width: 992px) {
  .content-rich-hero-shell {
    padding-top: 0.85rem;
    padding-bottom: 1.15rem;
  }
}
@media (max-height: 820px) and (min-width: 992px) {
  .content-rich-hero-title {
    font-size: clamp(2.2rem, 3.75vw, 3.55rem);
  }
}
@media (max-height: 820px) and (min-width: 992px) {
  .content-rich-hero-text {
    gap: 0.75rem;
  }
}
@media (max-height: 820px) and (min-width: 992px) {
  .content-rich-hero-text p {
    line-height: 1.56;
  }
}
@media (max-height: 820px) and (min-width: 992px) {
  .admission-hero-flow {
    padding-top: 0.65rem;
    padding-bottom: 0.7rem;
  }
}
@media (max-height: 820px) and (min-width: 992px) {
  .content-rich-hero-media {
    width: min(100%, 450px);
  }
}
@media (max-height: 740px) and (min-width: 992px) {
  .content-rich-hero-media {
    width: min(100%, 400px);
  }
}
@media (max-width: 991.98px) {
  .content-rich-hero {
    padding-top: 1.25rem;
  }
}
@media (max-width: 991.98px) {
  .content-rich-hero-copy {
    padding-top: 0.25rem;
  }
}
@media (max-width: 991.98px) {
  .content-rich-hero-title,
  .content-rich-hero-text {
    max-width: 100%;
  }
}
@media (max-width: 991.98px) {
  .content-rich-hero-media {
    width: min(100%, 540px);
    margin-left: auto;
    margin-right: auto;
  }
}
@media (max-width: 991.98px) {
  .content-rich-hero-copy .section-tag {
    max-width: 100%;
  }
}
@media (max-width: 991.98px) {
  .admission-hero-flow-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }
}
@media (max-width: 991.98px) {
  .admission-hero-flow-list li {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    justify-items: start;
  }
}
@media (max-width: 575.98px) {
  .content-rich-hero {
    padding-top: 1rem;
  }
}
@media (max-width: 575.98px) {
  .content-rich-hero-container {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }
}
@media (max-width: 575.98px) {
  .content-rich-hero-title {
    font-size: clamp(1.95rem, 10vw, 2.7rem);
    line-height: 1;
  }
}
@media (max-width: 575.98px) {
  .content-rich-hero-text {
    gap: 0.85rem;
    padding-left: 0.9rem;
    border-left-width: 4px;
  }
}
@media (max-width: 575.98px) {
  .content-rich-hero-text p {
    font-size: 0.95rem;
    line-height: 1.68;
  }
}
@media (max-width: 575.98px) {
  .content-rich-hero-list li {
    padding-left: 2.15rem;
  }
}
@media (max-width: 575.98px) {
  .bird-bullet-list li::before {
    width: 1.35rem;
    height: 1.35rem;
    top: 0.12rem;
  }
}
@media (max-width: 575.98px) {
  .bird-bullet-list li::after {
    left: 0.35rem;
    top: 0.46rem;
    width: 0.66rem;
    height: 0.66rem;
  }
}
@media (max-width: 575.98px) {
  .content-rich-hero-media {
    width: 100%;
    border-width: 7px;
    border-radius: 22px;
    aspect-ratio: 4 / 5;
  }
}
@media (max-width: 575.98px) {
  .panel-title {
    font-size: clamp(2rem, 10vw, 3rem);
  }
}
@media (max-width: 575.98px) {
  .process-item {
    gap: 0.8rem;
    border-radius: 20px;
  }
}
@media (max-width: 575.98px) {
  .process-step-number {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }
}
@media (max-width: 575.98px) {
  .admission-hero-flow-list {
    grid-template-columns: 1fr;
    gap: 0;
    padding-left: 0.15rem;
  }
}
@media (max-width: 575.98px) {
  .admission-hero-flow {
    margin-top: 0.9rem;
    padding: 0.95rem 0.85rem;
    background: rgba(255, 255, 255, 0.74);
  }
}
@media (max-width: 575.98px) {
  .admission-hero-flow-list::before {
    display: block;
    left: 0.8rem;
    right: auto;
    top: 0.8rem;
    bottom: 0.85rem;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, var(--content-page-accent), var(--sky), var(--lilac));
    opacity: 0.5;
  }
}
@media (max-width: 575.98px) {
  .admission-hero-flow-list li {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 0.72rem;
    min-height: 2.25rem;
    padding: 0.22rem 0 0.22rem 0;
  }
}
@media (max-width: 575.98px) {
  .admission-hero-flow-number {
    width: 1.55rem;
    height: 1.55rem;
    font-size: 0.75rem;
    box-shadow:
      0 0 0 4px rgba(255, 255, 255, 0.96),
      0 7px 14px rgba(24, 43, 77, 0.12);
  }
}
@media (max-width: 575.98px) {
  .admission-hero-flow-text {
    font-size: 0.92rem;
    line-height: 1.16;
  }
}
.careers-page {
  --content-page-accent: var(--sage);
}

.book-visit-page {
  --content-page-accent: var(--sky);
}

.book-visit-form .form-label {
  color: var(--ink);
  font-weight: 900;
  margin-bottom: 0.45rem;
}
.book-visit-form .form-control {
  min-height: 52px;
  border-radius: 18px;
  border: 1px solid rgba(24, 43, 77, 0.1);
  background: rgba(255, 255, 255, 0.88);
  color: var(--text);
  box-shadow: 0 10px 24px rgba(24, 43, 77, 0.04);
}
.book-visit-form textarea.form-control {
  min-height: 92px;
}
.book-visit-form .form-control:focus {
  border-color: rgba(47, 112, 208, 0.35);
  box-shadow: 0 0 0 0.25rem rgba(137, 208, 238, 0.22);
}
.book-visit-alert {
  border-radius: 8px;
  font-size: 0.95rem;
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
}
.book-visit-alert.is-success {
  background: #e8f6ee;
  color: #155b34;
}
.book-visit-alert.is-error {
  background: #fff1ee;
  color: #8b2e1f;
}
@media (max-width: 575.98px) {
  .book-visit-form .form-control {
    border-radius: 16px;
  }
}
.book-visit-form-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.35rem;
}
.book-visit-form-actions .panel-note {
  margin: 0;
  flex: 1 1 420px;
}
.book-visit-captcha,
.book-visit-captcha-note {
  flex: 1 1 100%;
}
.book-visit-captcha-note {
  background: rgba(47, 112, 208, 0.08);
  border-radius: 8px;
  color: var(--text);
  font-size: 0.92rem;
  padding: 0.75rem 0.9rem;
}
.book-visit-submit {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1rem 1.7rem;
  white-space: nowrap;
}
.book-visit-submit i {
  font-size: 1rem;
  transition: transform 0.2s ease;
}
.book-visit-submit:hover i {
  transform: translateX(4px);
}
@media (max-width: 575.98px) {
  .book-visit-form-actions {
    display: grid;
    gap: 0.85rem;
  }
}
@media (max-width: 575.98px) {
  .book-visit-form-actions .panel-note,
  .book-visit-submit {
    width: 100%;
  }
}
@media (max-width: 575.98px) {
  .book-visit-submit {
    min-height: 54px;
  }
}
.book-visit-page .flatpickr-calendar {
  border: 1px solid rgba(24, 43, 77, 0.1);
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(24, 43, 77, 0.16);
  color: var(--text);
  font-family: inherit;
  overflow: hidden;
}
.book-visit-page .flatpickr-months,
.book-visit-page .flatpickr-weekdays {
  background: rgba(137, 208, 238, 0.18);
}
.book-visit-page .flatpickr-current-month,
.book-visit-page .flatpickr-weekday {
  color: var(--ink);
}
.book-visit-page .flatpickr-day {
  border-radius: 8px;
  color: var(--text);
}
.book-visit-page .flatpickr-day.today {
  border-color: var(--sky);
}
.book-visit-page .flatpickr-day.selected,
.book-visit-page .flatpickr-day.startRange,
.book-visit-page .flatpickr-day.endRange,
.book-visit-page .flatpickr-day.selected:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--white);
}
.book-visit-page .flatpickr-day.disabled,
.book-visit-page .flatpickr-day.disabled:hover {
  color: rgba(54, 70, 99, 0.28);
  cursor: not-allowed;
}
