.ed-page {
  background: #fdfbf7;
}

.ed-page .header {
  background: #fff;
}

.ed-hero {
  display: grid;
  grid-template-columns: var(--side) minmax(0, 840px) minmax(0, 600px) var(--side);
  min-height: 560px;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.ed-hero-copy {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
  padding: 80px 64px 80px 84px;
}

.ed-kicker-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.ed-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #e6007e;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 3px;
}

.ed-kicker--sm {
  font-size: 10px;
  letter-spacing: 2px;
}

.ed-rule {
  width: 32px;
  height: 1px;
  background: rgba(0, 0, 0, 0.1);
}

.ed-rule--sm {
  width: 24px;
}

.ed-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  background: #1c1c19;
  color: #fff;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 1px;
}

.ed-hero h1 {
  margin: 16px 0 0;
  font-family: var(--font-serif);
  font-size: 64px;
  font-weight: 400;
  line-height: 68px;
  color: #1c1c19;
}

.ed-hero-copy > p {
  margin: 0;
  max-width: 580px;
  font-size: 18px;
  line-height: 30px;
  color: rgba(0, 0, 0, 0.65);
}

.ed-hero-media {
  grid-column: 3 / -1;
  position: relative;
  min-height: 420px;
  background: #fdfbf7;
  overflow: hidden;
}

.ed-hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ed-section {
  padding: 120px var(--inset-x);
}

.ed-section--white {
  background: #fff;
}

.ed-section--cream {
  background: #fdfbf7;
}

.ed-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 64px;
}

.ed-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.ed-head h2 {
  margin: 0;
  max-width: 720px;
  font-family: var(--font-serif);
  font-size: 56px;
  font-weight: 400;
  line-height: 60px;
  letter-spacing: -3px;
  color: #1c1c19;
}

.ed-head p {
  margin: 0;
  max-width: 380px;
  font-size: 16px;
  line-height: 24px;
  color: rgba(0, 0, 0, 0.65);
}

.ed-courses {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.ed-course {
  display: grid;
  grid-template-columns: 400px minmax(0, 1fr);
  gap: 48px;
  padding: 32px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.ed-course + .ed-course {
  margin-top: 0;
}

.ed-course-photo {
  position: relative;
  width: 100%;
  min-height: 320px;
  overflow: hidden;
  background: #fdfbf7;
}

.ed-course-photo--lg {
  min-height: 380px;
}

.ed-course-photo--md {
  min-height: 320px;
}

.ed-course-photo--xl {
  min-height: 495px;
}

.ed-course-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ed-course-body {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.ed-course-body h3 {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.1;
  color: #1c1c19;
}

.ed-course-lead {
  margin: 0;
  font-size: 14px;
  line-height: 19px;
  color: rgba(0, 0, 0, 0.65);
}

.ed-course-label {
  margin: 0 0 12px;
  font-weight: 700;
  font-size: 14px;
  color: #1c1c19;
}

.ed-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ed-list li {
  position: relative;
  padding-left: 14px;
  font-size: 14px;
  line-height: 19px;
  color: rgba(0, 0, 0, 0.65);
}

.ed-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6.5px;
  width: 6px;
  height: 6px;
  background: #e6007e;
}

.ed-course-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: auto;
  padding-top: 8px;
}

.ed-price-label {
  margin: 0;
  font-size: 12px;
  color: rgba(0, 0, 0, 0.45);
}

.ed-price-value {
  margin: 4px 0 0;
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 30px;
  color: #1c1c19;
}

.ed-reviews {
  background: #fff;
  padding: 120px var(--inset-x);
}

.ed-reviews .ed-head {
  margin-bottom: 0;
}

.ed-reviews .ed-head h2 {
  max-width: none;
}

.ed-swiper {
  margin-top: 64px;
  overflow: hidden;
}

.ed-card {
  height: auto;
  min-height: 331px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px;
  background: #fdfbf7;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.ed-card p {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 20px;
  line-height: 28px;
  color: #1c1c19;
}

.ed-card footer {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.ed-card strong {
  display: block;
  font-size: 14px;
}

.ed-card em {
  display: block;
  margin-top: 4px;
  color: #e6007e;
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.5px;
}

.ed-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 32px;
}

.ed-pagination {
  position: static;
  width: auto;
}

.ed-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  margin: 0 4px !important;
  background: rgba(0, 0, 0, 0.15);
  opacity: 1;
}

.ed-pagination .swiper-pagination-bullet-active {
  background: #1c1c19;
}

.ed-arrows {
  display: flex;
  gap: 12px;
}

.ed-arrow {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 24px;
  background: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: border-color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

.ed-arrow:hover {
  border-color: #1c1c19;
}

.ed-arrow:active {
  transform: scale(0.96);
}

.ed-arrow--next {
  background: #1c1c19;
  border-color: #1c1c19;
}

.ed-arrow img {
  width: 16px;
  height: 16px;
  display: block;
  object-fit: contain;
}

.ed-adv-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.ed-adv {
  min-height: 176px;
  padding: 32px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.ed-adv h3 {
  margin: 0 0 16px;
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  line-height: 30px;
  color: #1c1c19;
}

.ed-adv p {
  margin: 0;
  font-size: 14px;
  line-height: 22px;
  color: rgba(0, 0, 0, 0.65);
}

.ed-results {
  display: grid;
  grid-template-columns: minmax(0, 640px) minmax(0, 512px);
  gap: 48px;
  align-items: start;
}

.ed-result {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 12px;
  padding: 0 0 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  margin-bottom: 24px;
}

.ed-result:last-child {
  margin-bottom: 0;
  border-bottom: 0;
  padding-bottom: 0;
}

.ed-result-num {
  color: #e6007e;
  font-weight: 700;
  font-size: 16px;
}

.ed-result h3 {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  line-height: 27px;
}

.ed-result p {
  margin: 0;
  font-size: 14px;
  line-height: 22px;
  color: rgba(0, 0, 0, 0.65);
}

.ed-results-photo {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  background: #1c1c19;
}

.ed-results-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ed-social {
  display: grid;
  grid-template-columns: var(--side) minmax(0, 840px) minmax(0, 600px) var(--side);
  background: #fdfbf7;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.ed-social-left {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 80px 64px 80px 84px;
}

.ed-social h2,
.ed-materials h2 {
  margin: 16px 0 0;
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 400;
  line-height: 52px;
  letter-spacing: -2px;
}

.ed-ig {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.ed-ig a {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ed-ig a strong {
  transition: color 0.25s ease;
}

.ed-ig a:hover strong {
  color: #e6007e;
}

.ed-ig img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 4px;
  background: #1c1c19;
}

.ed-ig strong {
  font-size: 13px;
}

.ed-ig span {
  color: #e6007e;
  font-size: 12px;
}

.ed-note {
  margin: 0;
  font-size: 10px;
  line-height: 16px;
  color: rgba(0, 0, 0, 0.45);
}

.ed-materials {
  grid-column: 3;
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding: 80px 84px 80px 64px;
  border-left: 1px solid rgba(0, 0, 0, 0.1);
}

.ed-materials-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ed-materials-block p {
  margin: 0;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
}

.ed-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 14px 28px;
  border: 1px solid #1c1c19;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.ed-outline:hover {
  background: #1c1c19;
  color: #fff;
}

.ed-divider {
  height: 1px;
  background: rgba(0, 0, 0, 0.1);
  margin: 24px 0;
}

.ed-tg {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ed-tg-icon {
  width: 36px;
  height: 36px;
  border-radius: 18px;
  background: #1c1c19;
  display: grid;
  place-items: center;
}

.ed-tg-icon img {
  width: 18px;
  height: 18px;
  display: block;
}

.ed-tg strong {
  display: block;
  font-size: 14px;
}

.ed-tg span {
  color: #e6007e;
  font-size: 12px;
  text-decoration: underline;
}

@media (max-width: 1100px) {
  .ed-hero,
  .ed-course,
  .ed-results,
  .ed-social,
  .ed-adv-grid {
    grid-template-columns: 1fr;
  }

  .ed-hero-copy,
  .ed-hero-media,
  .ed-social-left,
  .ed-materials {
    grid-column: auto;
  }

  .ed-hero,
  .ed-course {
    min-height: 0;
  }

  .ed-hero-media,
  .ed-course-photo,
  .ed-results-photo {
    min-height: 320px;
    height: 360px;
  }

  .ed-hero-copy,
  .ed-section,
  .ed-reviews,
  .ed-social-left,
  .ed-materials {
    padding: 48px 24px;
  }

  .ed-hero h1,
  .ed-head h2 {
    font-size: clamp(32px, 8vw, 40px);
    line-height: 1.1;
  }

  .ed-course-foot {
    flex-direction: column;
    align-items: flex-start;
  }

  .ed-adv-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .ed-hero-copy,
  .ed-section,
  .ed-reviews,
  .ed-social-left,
  .ed-materials {
    padding: 40px 16px;
  }

  .ed-hero h1,
  .ed-head h2,
  .ed-social h2,
  .ed-materials h2 {
    font-size: 30px;
    line-height: 34px;
    letter-spacing: -0.5px;
  }

  .ed-hero-media,
  .ed-course-photo,
  .ed-results-photo {
    min-height: 240px;
    height: 260px;
  }

  .ed-ig {
    grid-template-columns: 1fr;
  }

  .ed-controls {
    flex-wrap: wrap;
    gap: 16px;
  }
}
