.school-page {
  overflow: hidden;
}

.school-hero {
  position: relative;
  min-height: min(54vw, 1063px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.school-hero::before {
  content: "";
  position: absolute;
  inset: -10px;
  background: var(--school-hero-bg, url("../images/school-detail-hero.jpg")) center 40%/cover no-repeat;
  filter: blur(5px);
  transform: scale(1.03);
}

.school-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
}

.school-hero .hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.school-hero h1 {
  margin: 0;
  color: #fff6e9;
  font-size: clamp(2rem, 3.3vw, 3rem);
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: uppercase;
}

.school-content {
  max-width: 1020px;
  padding: 5.2rem 0 2rem;
}

.school-content h2 {
  margin: 0;
  text-align: center;
  text-transform: uppercase;
  font-size: clamp(1.7rem, 2.35vw, 2rem);
  line-height: 1.12;
}

.school-content h3 {
  margin: 1.85rem 0 1rem;
  text-align: center;
  text-transform: uppercase;
  font-size: 1.25rem;
  line-height: 1.2;
}

.school-content p,
.school-content li {
  margin: 0;
  font-size: 1rem;
  line-height: 1.25;
}

.school-content > p {
  margin-top: 0.95rem;
}

.detail-block {
  margin-top: 0.55rem;
}

.detail-block h4 {
  margin: 0 0 0.45rem;
  text-transform: uppercase;
  font-size: 1rem;
  line-height: 1.2;
}

.detail-block ul {
  margin: 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.23rem;
}

.detail-note {
  margin-top: 0.9rem;
}

.school-form-shell {
  max-width: 1200px;
  padding: 0.7rem 0 0;
}

.school-form-title {
  margin: 0 0 0.45rem;
  text-align: center;
  text-transform: uppercase;
  font-size: clamp(1.15rem, 2.2vw, 2rem);
  line-height: 1.15;
}

.school-frame {
  border: 24px solid transparent;
  border-image-source: url("../images/border-texture.png");
  border-image-slice: 110 fill;
  border-image-repeat: round;
  background: #fff6e9;
  box-shadow: inset 0 0 0 0.5px rgba(17, 44, 44, 0.06);
  padding: 1.18rem 1.45rem 0.85rem;
}

.school-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem 1.15rem;
  align-items: start;
}

.school-form .tvum-field-wrap,
.school-form .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.school-form .tvum-field-wrap > p {
  margin: 0;
}

.school-form .tvum-field {
  font-size: 0.95rem;
  line-height: 1.15;
}

.school-form .tvum-field strong {
  color: #ec1c24;
}

.school-spacer {
  height: 940px;
}

@media (max-width: 900px) {
  .school-content {
    padding: 3.2rem 0 1.7rem;
  }
  .school-form-shell {
    padding-top: 0.5rem;
  }
  .school-frame {
    border-width: 14px;
    border-image-slice: 92 fill;
    padding: 1rem 0.8rem 0.75rem;
  }
  .school-form {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .school-spacer {
    height: 620px;
  }
}
@media (max-width: 768px) {
  .school-hero {
    min-height: min(74vw, 430px);
  }
  .school-hero::before {
    background-position: center;
  }
  .school-hero h1 {
    line-height: 1.25;
  }
  .school-content h2 {
    font-size: 1.5rem;
  }
  .school-content h3 {
    font-size: 1.1rem;
  }
  .school-content p,
  .school-content li,
  .school-form .tvum-field {
    font-size: 0.95rem;
  }
  .school-spacer {
    height: 460px;
  }
}
@media (max-width: 480px) {
  .school-content {
    padding-top: 2.55rem;
  }
  .school-spacer {
    height: 360px;
  }
}

/*# sourceMappingURL=school-detail.css.map */
