.dict-section h2 + p,
.dict-card p,
.tech-grid p,
.pillar-map p,
.process-card p {
  color: var(--color-muted);
}

h1,
h2,
h3 {
  line-break: strict;
  text-wrap: pretty;
}

.section-lead,
.dict-hero__lead,
.dict-section p,
.intro-overview__points p,
.pillar-card p,
.pathway-card p,
.learning-steps p {
  text-wrap: pretty;
}

.dict-section h3 {
  margin-bottom: 8px;
}

.dict-section--summary {
  max-width: 920px;
}

.detail-hero h1 {
  max-width: 12em;
  font-size: clamp(2.2rem, 4.8vw, 4.2rem);
  word-break: keep-all;
}

.related-video-section {
  border-top: 1px solid var(--color-line);
}

.main-video-section {
  padding-top: clamp(34px, 5vw, 64px);
  padding-bottom: clamp(44px, 6vw, 76px);
}

.main-video-section .section-lead {
  max-width: 760px;
}

.main-video {
  max-width: 980px;
  margin-top: 24px;
}

.related-video-section .section-lead {
  max-width: 760px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.video-card {
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 16px 38px rgba(82, 55, 47, 0.08);
}

.video-card__frame {
  aspect-ratio: 16 / 9;
  background: #2f2725;
}

.video-card__frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-card__body {
  display: grid;
  gap: 8px;
  padding: 16px 18px 18px;
}

.video-card__body h3 {
  margin: 0;
  color: var(--color-ink);
  font-size: 1.04rem;
  line-height: 1.65;
}

.video-card__body h3 a {
  color: inherit;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.video-card__body h3 a:focus-visible,
.video-card__body h3 a:hover {
  color: var(--color-clay);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.video-card__meta,
.video-card__note {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.8;
}

.video-card__meta {
  font-size: 0.88rem;
  font-weight: 700;
}

.video-card--main .video-card__body {
  padding: 18px 20px 20px;
}

.video-card--main .video-card__body h3 {
  font-size: clamp(1.08rem, 2vw, 1.32rem);
}

@media (max-width: 620px) {
  body {
    font-size: 15px;
    line-height: 1.78;
  }

  h1 {
    font-size: clamp(2rem, 10.8vw, 2.9rem);
    line-height: 1.32;
  }

  h2 {
    font-size: 1.58rem;
    line-height: 1.42;
  }

  .dict-hero__overlay {
    padding-bottom: 44px;
  }

  .dict-hero__lead {
    line-height: 1.75;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }

  .main-video {
    margin-top: 20px;
  }

  .video-card__body,
  .video-card--main .video-card__body {
    padding: 14px 16px 16px;
  }

  .detail-hero.dict-section {
    padding-top: 44px;
    padding-bottom: 42px;
  }

  .detail-hero h1 {
    margin-top: 14px;
    max-width: 100%;
    font-size: clamp(1.95rem, 9.4vw, 2.65rem);
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .beginner-guide.dict-section,
  .detail-photo-section.dict-section,
  .main-video-section.dict-section {
    padding-top: 42px;
    padding-bottom: 46px;
  }
}

@media (max-width: 480px) {
  .detail-hero.dict-section {
    padding-top: 38px;
    padding-bottom: 38px;
  }

  .beginner-guide.dict-section,
  .detail-photo-section.dict-section,
  .main-video-section.dict-section {
    padding-top: 38px;
    padding-bottom: 42px;
  }
}
