.editorial-home-hero {
  padding-block: clamp(34px, 5.2vw, 76px);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(120deg, #f8eee3, var(--paper) 72%);
}

.editorial-hero-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.editorial-hero-intro h1,
.editorial-about-hero h1 {
  margin: 8px 0 0;
  color: var(--ink);
  font-size: clamp(2.45rem, 6vw, 5.25rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.065em;
  word-break: keep-all;
}

.editorial-hero-action {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 20px;
  padding: 13px 18px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
}

.editorial-hero-action:hover,
.editorial-hero-action:focus-visible {
  background: var(--accent-hover);
}

.editorial-courses {
  gap: 12px;
  margin-top: 0;
}

.editorial-courses a {
  --course-bg: var(--warm-surface);
  --course-fg: var(--ink);
  --course-soft: var(--warm-ink);
  --course-arrow: var(--warm-ink);
  position: relative;
  align-content: end;
  gap: 5px;
  min-height: clamp(158px, 22vw, 258px);
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid transparent;
  border-radius: 18px;
  background: var(--course-bg);
  color: var(--course-fg);
  box-shadow: none;
  transition: border-color 220ms, transform 220ms, box-shadow 220ms;
}

.editorial-courses a:nth-child(2) {
  --course-bg: var(--tint);
  --course-soft: var(--cool-ink);
  --course-arrow: var(--cool-ink);
}

.editorial-courses a:nth-child(3) {
  --course-bg: var(--ink);
  --course-fg: #fff;
  --course-soft: #f0dfc9;
  --course-arrow: #ffba79;
}

.editorial-courses a:is(:hover, :focus-visible) {
  border-color: var(--course-arrow);
  background: var(--course-bg);
  box-shadow: 0 12px 25px rgb(69 26 14 / 10%);
}

.editorial-courses a > span:not(.course-arrow) {
  color: var(--course-soft);
}

.editorial-courses .editorial-course-campus {
  position: absolute;
  top: 25px;
  left: clamp(20px, 3vw, 32px);
  padding: 4px 9px;
  border: 1px solid currentColor;
  border-radius: 20px;
  font-size: .75rem;
  line-height: 1.15;
}

.editorial-courses .course-arrow {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  top: 20px;
  right: 22px;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: var(--course-arrow);
  font-size: 1.25rem;
  line-height: 1;
}

.editorial-courses strong {
  font-size: clamp(1.4rem, 3.2vw, 2.4rem);
}

.editorial-title {
  color: var(--accent);
  line-height: 1.2;
  word-break: keep-all;
}

.editorial-program-grid,
.editorial-evidence-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.editorial-program-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: clamp(18px, 2.4vw, 26px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fffdfa;
  line-height: 1.55;
}

.editorial-program-card h3 {
  margin: 0;
  font-size: 1.22rem;
  word-break: keep-all;
}

.editorial-program-card h3 span {
  margin-right: 5px;
  color: var(--accent);
}

.editorial-program-card ul {
  flex: 1;
  margin: 16px 0 22px;
  padding: 0;
  list-style: none;
}
.editorial-program-card li {
  position: relative;
  padding: .38em 0 .38em 1.05em;
  border-bottom: 1px solid var(--line);
  font-size: clamp(1rem, 1.35vw, 1.13rem);
  line-height: 1.48;
  word-break: keep-all;
}
.editorial-program-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.02em;
  width: .48em;
  height: 2px;
  background: var(--course-ink, var(--accent));
}
.editorial-program-card:nth-child(1) { --course-ink: #764719; }
.editorial-program-card:nth-child(2) { --course-ink: #305969; }
.editorial-program-card strong { color: var(--course-ink, var(--accent)); font-weight: 750; }
.editorial-program-card li:last-child { border: 0; }
.editorial-program-card li.editorial-program-feature {
  margin-bottom: .38em;
  padding: .45em .7em;
  border: 0;
  border-left: 3px solid var(--accent);
  background: #f7e8df;
}
.editorial-program-feature::before { display: none; }

.editorial-program-card > p {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: .875rem;
}

.editorial-section-action {
  display: flex;
  justify-content: end;
  margin-top: 16px;
}

.editorial-updates .updates-card li {
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 12px;
  padding-block: 10px;
}

.editorial-updates .updates-card li a:hover {
  color: var(--accent);
}

.editorial-updates time {
  color: var(--muted);
  font: .8rem var(--latin);
  white-space: nowrap;
}

.editorial-blog {
  background: #f5e9df;
}

.editorial-blog .blog-card-header {
  display: grid;
  min-height: 165px;
  align-content: space-between;
  gap: 12px;
  padding: 22px 24px;
  border-top: 4px solid var(--accent);
  background: #fffdfa;
}

.editorial-blog .blog-card-header time {
  margin: 0;
  font-family: var(--latin);
}

.editorial-post-category {
  margin: 0;
  color: var(--accent);
  font-size: .82rem;
  font-weight: 750;
}

.review-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
}

.review-tags span {
  padding: 4px 8px;
  border-radius: 5px;
  background: #f4e3df;
  color: var(--accent);
  font-size: .75rem;
  font-weight: 700;
}

.editorial-about-hero {
  padding-block: clamp(36px, 6vw, 84px);
  background: linear-gradient(118deg, #fae9dd, var(--paper) 72%);
}

.editorial-about-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  align-items: center;
  gap: clamp(24px, 5vw, 68px);
}

.editorial-about-feature .intro {
  margin-bottom: 22px;
  line-height: 1.65;
  word-break: keep-all;
  white-space: pre-line;
}

.editorial-seminar {
  margin: 0;
}

.editorial-seminar img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 350px;
  border-radius: 14px;
  object-fit: cover;
}

.editorial-seminar figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: .85rem;
}

.editorial-seminar figcaption a:hover,
.editorial-source:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.editorial-evidence-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.editorial-evidence-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  padding: clamp(20px, 4vw, 40px);
  border-radius: 14px;
  background: var(--tint);
  line-height: 1.55;
}

.editorial-evidence-card h3 {
  margin: 0;
  font-size: clamp(1.25rem, 2.8vw, 2rem);
  word-break: keep-all;
}

.editorial-evidence-card :is(ul, ol) {
  flex: 1;
  margin: 9px 0;
  padding-left: 1.2em;
  line-height: 1.9;
}

.editorial-evidence-card--red {
  background: var(--accent);
  color: #fff;
}

.editorial-evidence-card--red a {
  color: #fff;
}

.editorial-evidence-card--red a:focus-visible {
  outline-color: #fff;
}

.editorial-source {
  width: fit-content;
  font-size: .82rem;
}

.editorial-learning {
  background: var(--tint);
}

.editorial-management-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.editorial-management-list > div {
  padding: clamp(16px, 3vw, 26px);
  border: 1px solid #d7e2e6;
  border-radius: 10px;
  background: #fffdfa;
}
.editorial-management-list dt {
  font-size: clamp(1.05rem, 2.4vw, 1.4rem);
  font-weight: 720;
  color: var(--accent);
}
.editorial-management-list dd {
  margin: .65em 0 0;
  color: var(--muted);
  line-height: 1.7;
  word-break: keep-all;
}

@media (max-width: 680px) {
  .editorial-courses,
  .editorial-program-grid,
  .editorial-about-feature,
  .editorial-evidence-grid,
  .editorial-management-list {
    grid-template-columns: 1fr;
  }

  .editorial-courses a {
    min-height: 132px;
  }

  .editorial-courses .editorial-course-campus {
    top: 15px;
  }

  .editorial-courses .course-arrow {
    top: 15px;
    right: 16px;
    width: 37px;
    height: 37px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .editorial-courses a {
    transition: none;
  }

  .editorial-courses a:is(:hover, :focus-visible) {
    transform: none;
  }
}

.editorial-hero-links,
.editorial-program-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
}

/* Reception photo and compact course navigation on the homepage. */
.editorial-home-hero {
  padding-block: clamp(29px, 4vw, 60px);
  background: #fdfbf7;
}
.editorial-hero-grid {
  display: grid;
  grid-template-columns: minmax(250px, 5fr) minmax(0, 8fr);
  align-items: center;
  gap: clamp(16px, 3.6vw, 56px);
}
.editorial-hero-intro {
  display: grid;
  justify-content: start;
  gap: 24px;
  margin: 0;
}
.editorial-hero-intro h1 {
  font-size: clamp(2.6rem, 5.2vw, 4.9rem);
  text-wrap: balance;
  padding-block: .08em;
}
.editorial-hero-links { display: grid; justify-content: start; gap: 10px; }
.editorial-hero-secondary { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.editorial-hero-secondary .secondary-link { font-size: .94rem; color: var(--ink); }
.editorial-hero-secondary .secondary-link:hover { color: var(--accent); }
.editorial-campus-photo { min-width: 0; margin: 0; }
.editorial-campus-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  background: #ebe2d8;
}
.editorial-campus-photo figcaption {
  color: var(--muted);
  text-align: right;
  font-size: .76rem;
  padding-top: 7px;
}
.editorial-courses {
  margin-top: clamp(16px, 2.5vw, 32px);
  gap: 8px;
}
.editorial-courses a {
  align-content: center;
  min-height: 116px;
  padding: 14px 56px 14px 18px;
  border-radius: 10px;
}
.editorial-courses .editorial-course-campus {
  position: static;
  justify-self: start;
  padding: 0;
  border: 0;
  font-weight: 700;
}
.editorial-courses strong { font-size: clamp(1.16rem, 2.1vw, 1.56rem); }
.editorial-courses .editorial-course-detail { font-size: .82rem; }
.editorial-courses .course-arrow {
  top: calc(50% - 17px);
  right: 14px;
  width: 34px;
  height: 34px;
  font-size: 1rem;
}
.editorial-blog-lead .blog-card-header { background: var(--accent); color: #fff; }
.editorial-blog-lead .blog-card-header :is(.editorial-post-category, time) { color: #ffe9df; }
#briefing { scroll-margin-top: 24px; }
@media (max-width: 680px) {
  .editorial-hero-grid { grid-template-columns: 1fr; gap: 22px; }
  .editorial-hero-intro { gap: 16px; }
  .editorial-hero-intro h1 { font-size: clamp(2.2rem, 8vw, 3rem); }
  .editorial-courses a { min-height: 88px; }
}

.editorial-program-card:nth-child(1) {
  border-top: 3px solid #b77744;
  background: color-mix(in srgb, var(--warm-surface) 50%, var(--pearl));
}
.editorial-program-card:nth-child(2) {
  border-top: 3px solid #748e9b;
  background: color-mix(in srgb, var(--tint) 75%, var(--pearl));
}
.editorial-program-card:nth-child(3) {
  border-top: 3px solid var(--accent);
  background: var(--pearl);
}
.editorial-program-card:nth-child(1) h3 span { color: var(--warm-ink); }
.editorial-program-card:nth-child(2) h3 span { color: var(--cool-ink); }
.editorial-program-card .editorial-source {
  margin-bottom: 10px;
  font-size: .82rem;
  color: var(--muted);
}

.about-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding-block: 14px;
  background: var(--paper);
}
.about-jump a {
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--ink);
  background: var(--pearl);
  font-size: .89rem;
  font-weight: 700;
}
.about-jump a:hover, .about-jump a[aria-current] { background: var(--tint); border-color: #b6c6cb; }
@media (min-width: 1024px) {
  .about-jump { position: sticky; top: 77px; z-index: 2; }
  #about-classes, #about-management { scroll-margin-top: 45px; }
}

@media (max-width: 680px) {
  .editorial-seminar img { max-height: none; }
  .editorial-seminar figcaption { margin-top: 0; }
}
