/* AI 교육 상세 페이지 전용 히어로 */
.page-ai-education .ai-education-hero {
  background: var(--color-canvas);
  border-bottom: 1px solid var(--color-border);
}

.page-ai-education .ai-education-hero__visual {
  --ai-education-hero-shift: 0px;
  position: relative;
  height: clamp(430px, 37vw, 540px);
  overflow: hidden;
  background: #dfe1dd;
}

.page-ai-education .ai-education-hero__photo {
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(100% + 120px);
  max-width: none;
  object-fit: cover;
  object-position: center top;
}

@media (min-width: 960px) and (prefers-reduced-motion: no-preference) {
  .page-ai-education .ai-education-hero__visual[data-scroll-motion="active"] .ai-education-hero__photo {
    transform: translate3d(0, var(--ai-education-hero-shift), 0);
    will-change: transform;
  }
}

.page-ai-education .ai-education-hero__title-wrap {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: flex;
  align-items: flex-start;
  padding-top: clamp(36px, 5vw, 72px);
  pointer-events: none;
}

.page-ai-education .ai-education-hero__title-panel {
  width: min(600px, 52vw);
  padding: 26px 104px 30px 30px;
  border-radius: var(--radius-lg);
  background: linear-gradient(90deg, rgba(0, 30, 70, .94) 0%, rgba(0, 30, 70, .86) 66%, rgba(0, 30, 70, 0) 100%);
}

.page-ai-education .ai-education-hero__title-panel .eyebrow {
  color: var(--color-primary);
}

.page-ai-education .ai-education-hero__title-panel h1 {
  max-width: 10ch;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(38px, 4.2vw, 60px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.035em;
  text-shadow: 0 2px 16px rgba(0, 20, 48, .2);
}

.page-ai-education .ai-education-hero__intro {
  display: grid;
  grid-template-columns: minmax(0, 780px) auto;
  align-items: start;
  justify-content: space-between;
  gap: var(--sp-48);
  padding-top: var(--sp-48);
  padding-bottom: var(--sp-64);
}

.page-ai-education .ai-education-hero__copy .section-sub {
  max-width: 72ch;
  margin-top: 0;
}

.page-ai-education .ai-education-hero__copy .section-sub + .section-sub {
  margin-top: var(--sp-12);
}

.page-ai-education .ai-education-hero__actions {
  padding-top: 2px;
  white-space: nowrap;
}

@media (max-width: 959px) {
  .page-ai-education .ai-education-hero__visual {
    height: 420px;
  }

  .page-ai-education .ai-education-hero__title-panel {
    width: min(560px, 76vw);
  }

  .page-ai-education .ai-education-hero__intro {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--sp-24);
  }

  .page-ai-education .ai-education-hero__actions {
    padding-top: 0;
  }
}

@media (max-width: 767px) {
  .page-ai-education .ai-education-hero__visual {
    display: flex;
    flex-direction: column;
    height: auto;
    overflow: visible;
    background: var(--color-canvas);
  }

  .page-ai-education .ai-education-hero__title-wrap {
    position: static;
    order: 1;
    display: block;
    padding-top: var(--sp-32);
    padding-bottom: var(--sp-24);
    pointer-events: auto;
  }

  .page-ai-education .ai-education-hero__title-panel {
    width: 100%;
    padding: 0;
    background: none;
  }

  .page-ai-education .ai-education-hero__title-panel .eyebrow {
    color: var(--color-primary-dark);
  }

  .page-ai-education .ai-education-hero__title-panel h1 {
    max-width: none;
    color: var(--color-foreground);
    font-size: clamp(30px, 9vw, 38px);
    line-height: 1.25;
    letter-spacing: -.03em;
    text-shadow: none;
  }

  .page-ai-education .ai-education-hero__photo {
    position: relative;
    order: 2;
    width: 100%;
    height: clamp(176px, 51vw, 205px);
    object-position: center 30%;
    transform: none !important;
  }

  .page-ai-education .ai-education-hero__intro {
    gap: var(--sp-24);
    padding-top: var(--sp-32);
    padding-bottom: var(--sp-48);
  }

  .page-ai-education .ai-education-hero__actions .btn {
    width: 100%;
  }

  .page-ai-education .offline-panel--solo .offline-cta {
    min-width: 0;
  }

  .page-ai-education .offline-panel--solo .btn {
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-ai-education .ai-education-hero__photo {
    transform: none !important;
  }
}
