/* Inner pages: the same monochrome look as the home page.
   Header, pills, and footer rules mirror home.css. */

.editorial-page {
  --ink: #0e0e0e;
  --soft: #6b6b6b;
  --faint: #9a9a9a;
  --line: #e8e8e8;
  --wash: #f7f7f7;
  --outer: #f3f3f3;
  --pad: clamp(1.25rem, 4vw, 3.5rem);
  --ease: cubic-bezier(.2, .7, .2, 1);
  font-family: "Geist", "Inter", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  color: var(--ink);
  background: #fff;
}
.editorial-page h1, .editorial-page h2, .editorial-page h3 { margin: 0; font-weight: 400; letter-spacing: -.035em; }
.editorial-page p { margin: 0; }
.editorial-page :focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.editorial-page .brand img, .mark img { filter: grayscale(1) contrast(1.1); }


/* Pills */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 2.75rem;
  padding: .55rem 1.25rem;
  border: 1px solid var(--ink);
  border-radius: 50rem;
  font-size: 0.89rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.pill-dark { background: var(--ink); color: #fff; }
.pill-dark:hover { background: #333; border-color: #333; }
.pill-line { border-color: var(--line); background: #fff; color: var(--ink); }
.pill-line:hover { border-color: var(--ink); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .25rem .7rem .25rem .25rem;
  border: 1px solid var(--line);
  border-radius: 50rem;
  color: var(--soft);
  font-size: 0.88rem;
}
.badge span {
  padding: .15rem .55rem;
  border-radius: 50rem;
  background: var(--ink);
  color: #fff;
  font-size: 0.88rem;
}

.dots {
  background-image: radial-gradient(#dcdcdc 1px, transparent 1.2px);
  background-size: 14px 14px;
}

/* Header */
.editorial-page .site-header {
  position: sticky;
  top: 0;
  color: var(--ink);
  background: rgb(255 255 255 / 92%);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.editorial-page .header-inner { min-height: 4.25rem; padding-inline: var(--pad); }
.editorial-page .brand { gap: .55rem; font-family: inherit; font-size: 1.05rem; font-weight: 500; letter-spacing: -.02em; }
.editorial-page .brand img { width: 1.9rem; }
.editorial-page .site-header nav {
  gap: .15rem;
  padding: .25rem;
  border: 1px solid var(--line);
  border-radius: 50rem;
}
.editorial-page .site-header nav a {
  padding: .35rem .9rem;
  border-radius: 50rem;
  color: var(--soft);
  font-size: 0.93rem;
  font-weight: 400;
}
.editorial-page .site-header nav a:hover { color: var(--ink); text-decoration: none; }
.editorial-page .site-header nav [aria-current="page"] { background: var(--ink); color: #fff; text-decoration: none; }
.editorial-page .header-action { min-height: 2.5rem; padding-inline: 1.1rem; }
.editorial-page .header-action:hover { color: #fff; }

/* Footer */
.editorial-page .clean-footer { overflow: visible; border-top: 1px solid var(--line); background: #fff; color: var(--ink); }
.editorial-page .clean-footer:focus { outline: none; }
.editorial-page .clean-footer :focus-visible { outline-color: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; padding: clamp(3rem, 6vw, 4.5rem) var(--pad); }
.footer-news { display: grid; justify-items: start; align-content: start; gap: 1.1rem; }
.footer-news h2 { margin-top: .75rem; font-size: 1rem; font-weight: 500; letter-spacing: -.01em; }
.editorial-page .newsletter-form {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  width: min(100%, 22rem);
  margin: 0;
}
.editorial-page .newsletter-form input {
  min-width: 0;
  min-height: 3rem;
  padding: .5rem 8rem .5rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 50rem;
  background: #fff;
  color: var(--ink);
  font-size: 1rem;
}
.editorial-page .newsletter-form input::placeholder { color: var(--faint); }
.editorial-page .newsletter-form .pill { position: absolute; top: .25rem; right: .25rem; min-height: 2.5rem; padding-inline: 1.1rem; }
.editorial-page .newsletter-note { margin-top: .6rem; color: var(--faint); font-size: 0.89rem; }
.footer-col { display: grid; align-content: start; justify-items: start; gap: .7rem; }
.footer-col h2 { margin-bottom: .35rem; font-size: 1rem; font-weight: 500; letter-spacing: -.01em; }
.footer-col a { color: var(--soft); font-size: 1rem; text-decoration: none; }
.footer-col a:hover { color: var(--ink); }
.footer-base {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 1.1rem var(--pad);
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 0.89rem;
}
.footer-base p:nth-child(2) { text-align: center; }
.footer-base a { justify-self: end; color: var(--soft); text-decoration: none; }
.footer-base a:hover { color: var(--ink); }

@media (max-width: 64rem) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-news { grid-column: 1 / -1; }
}
@media (max-width: 50rem) {
  .editorial-page .site-header nav { flex-direction: column; align-items: stretch; padding: 0; border: 0; }
  .editorial-page .site-header nav a { font-size: 1.08rem; }
  .editorial-page .header-inner { padding-block: .55rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-base { grid-template-columns: 1fr 1fr; }
  .footer-base p:nth-child(2) { display: none; }
}

/* ---- Inner page sections ---- */
.editorial-page main { background: #fff; }
.editorial-page main :is(h1, h2, h3) { font-weight: 400; letter-spacing: -.035em; }
.editorial-page main > section + section { border-top: 1px solid var(--line); }

/* Labels */
.editorial-page main .eyebrow,
.editorial-page .section-marker .eyebrow {
  display: inline-block;
  justify-self: start;
  align-self: start;
  width: fit-content;
  padding: .3rem .75rem;
  border: 1px solid var(--line);
  border-radius: 50rem;
  background: #fff;
  color: var(--soft);
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}
.editorial-page .section-marker::after { background: var(--line); }

/* Buttons inside pages become pills */
.editorial-page main .button {
  min-height: 2.75rem;
  padding-inline: 1.25rem;
  border: 1px solid var(--ink);
  border-radius: 50rem;
  background: var(--ink);
  color: #fff;
  font-size: 0.89rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  corner-shape: round;
}
.editorial-page main .button:hover { background: #333; border-color: #333; color: #fff; }
.editorial-page main .button-outline { border-color: var(--line); background: #fff; color: var(--ink); }
.editorial-page main .button-outline:hover { border-color: var(--ink); background: #fff; color: var(--ink); }
.editorial-page main .button-icon { width: auto; height: auto; margin: 0 0 0 .1rem; background: none; color: inherit; }

/* Masthead */
.editorial-masthead { padding-top: clamp(3rem, 9vh, 6rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.editorial-masthead h1 {
  max-width: 16ch;
  font-size: clamp(2.6rem, 5.6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -.04em;
  text-transform: none;
}
.editorial-masthead h1 em { font-family: inherit; font-style: normal; color: var(--faint); }
.editorial-intro { max-width: 34rem; margin-top: 1.25rem; color: var(--soft); font-size: clamp(1rem, 1.4vw, 1.15rem); font-weight: 300; line-height: 1.6; letter-spacing: 0; }
.editorial-link { color: var(--ink); font-weight: 500; }
.editorial-cover { border-radius: 16px; }

/* Text sections */
.editorial-page .about-content h2,
.editorial-page .section-heading h2,
.editorial-page .instructor h2,
.editorial-page .page-callout h2,
.editorial-page .info-page .contact-intro h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); line-height: 1.05; }
.editorial-page .about-content p { font-size: clamp(1.05rem, 1.5vw, 1.3rem); font-weight: 300; line-height: 1.55; letter-spacing: -.01em; }
.editorial-page .about-content p span { color: var(--soft); }
.editorial-page .section-heading { border-top-color: var(--line); }
.editorial-page :is(.section-heading > p, .instructor-copy > p:not(.eyebrow), .page-callout p, .contact-intro p, .form-note, #contact-status) { color: var(--soft); font-weight: 300; }
.editorial-page .info-page .editorial-info-section, .info-page .editorial-info-section { border-top-color: var(--line); }

/* Cards and panels */
.editorial-page .about-learning-grid { gap: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.editorial-page .about-learning-grid > div { border: 0; border-radius: 0; background: #fff; corner-shape: round; transition: background-color .3s; }
.editorial-page .about-learning-grid > div + div { border-left: 1px solid var(--line); }
.editorial-page .about-learning-grid > div:hover { background: var(--wash); }
.editorial-page .about-learning-grid h3 { font-weight: 400; font-size: clamp(1.15rem, 1.6vw, 1.4rem); }
.editorial-page .about-learning-grid p { color: var(--soft); font-weight: 300; }
.editorial-page .instructor-image { border-radius: 16px; corner-shape: round; background: var(--wash); }
.editorial-page .instructor-image img { filter: none; }
.editorial-page .page-callout { border: 1px solid var(--line); border-radius: 16px; corner-shape: round; background: var(--wash); }

/* Library page */
.editorial-page .library-catalog .section-heading { border-top: 0; }
.editorial-page .filters button {
  min-height: 2.4rem;
  padding: .35rem .95rem;
  border: 1px solid var(--line);
  border-radius: 50rem;
  background: #fff;
  color: var(--soft);
  font-size: 0.93rem;
  font-weight: 400;
}
.editorial-page .filters button:hover { border-color: var(--ink); color: var(--ink); }
.editorial-page .filters button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.editorial-page .search, .editorial-page .library-catalog .search { border: 1px solid var(--line); border-radius: 50rem; background: #fff; corner-shape: round; }
.editorial-page .library-count { color: var(--faint); }
.editorial-page .library-catalog .resource-link {
  height: 100%;
  padding: .6rem .6rem 1rem;
  border: 1px solid transparent;
  border-radius: 16px;
  transition: border-color .3s, box-shadow .3s, transform .3s;
}
.editorial-page .library-catalog .resource-link:hover { border-color: var(--line); box-shadow: 0 14px 34px rgb(0 0 0 / 7%); transform: translateY(-2px); }
.editorial-page .library-catalog .resource-image { border: 0; outline: 0; border-radius: 10px; corner-shape: round; }
.editorial-page .catalog-entry-copy { padding: .9rem 1.4rem 0 .15rem; }
.editorial-page .catalog-entry-copy .resource-title { font-weight: 400; letter-spacing: -.03em; }
.editorial-page .catalog-entry-copy .resource-category { border: 1px solid var(--line); border-radius: 50rem; background: #fff; color: var(--ink); }
.editorial-page .resource-category { font-size: 0.88rem; font-weight: 400; letter-spacing: .05em; color: var(--faint); }
.editorial-page .catalog-entry-copy p { color: var(--soft); font-weight: 300; }
.editorial-page .catalog-entry-arrow { right: .9rem; bottom: 1rem; color: var(--soft); }
.editorial-page .library-feature { border: 1px solid var(--line); border-radius: 16px; background: var(--wash); }
.editorial-page .library-feature video { border-radius: 10px; corner-shape: round; }
.editorial-page .library-feature-caption .eyebrow { color: var(--soft); }
.editorial-page .library-feature h2 { font-weight: 400; }
.editorial-page .library-feature-caption a { color: var(--ink); font-weight: 500; }
.editorial-page .empty { border: 1px dashed var(--line); border-radius: 16px; background: #fff; corner-shape: round; }

/* Forms */
.editorial-page .contact-form label { font-weight: 500; }
.editorial-page .contact-form :is(input, select, textarea) { border: 1px solid var(--line); border-radius: 12px; background: #fff; corner-shape: round; }
.editorial-page .contact-form :is(input, select, textarea):focus { border-color: var(--ink); }

/* Articles */
.article-page .editorial-masthead h1 { max-width: 20ch; font-size: clamp(2.3rem, 4.4vw, 4.2rem); line-height: 1.05; }
.article-page .resource-back { color: var(--soft); }
.editorial-page .article-meta p { border-top-color: var(--line); }
.editorial-page .article-meta p + p { color: var(--soft); }
.editorial-page .resource-body p { font-weight: 300; }
.editorial-page .resource-body .resource-lead { font-weight: 400; }
.editorial-page .resource-section h2 { font-weight: 400; }
.editorial-page .resource-body video { border-radius: 16px; corner-shape: round; }
.article-main .editorial-cover[src$="emblem.webp"] { background: var(--wash); }

/* Spotlight */
.editorial-page .spotlight { border: 1px solid var(--line); border-radius: 16px; background: var(--wash); color: var(--ink); }
.editorial-page .spotlight-image { border-radius: 10px; }
.editorial-page .spotlight-copy, .editorial-page .spotlight-action { border-radius: 10px; background: #fff; }
.editorial-page .spotlight-copy h3 { font-weight: 400; letter-spacing: -.04em; }
.editorial-page .spotlight .spotlight-cta { border-radius: 50rem; background: var(--ink); color: #fff; }
.editorial-page .spotlight .spotlight-cta:hover { background: #333; }
.editorial-page .spotlight-controls :is(button, span) { border: 1px solid var(--line); border-radius: 50rem; background: #fff; color: var(--ink); }
.editorial-page .spotlight-controls button:hover { background: var(--ink); color: #fff; }

@media (max-width: 50rem) {
  .editorial-page .about-learning-grid > div + div { border-left: 0; border-top: 1px solid var(--line); }
}
@media (prefers-reduced-motion: no-preference) {
  @keyframes theme-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
  .editorial-masthead > * { animation: theme-rise .9s cubic-bezier(.2, .7, .2, 1) both; }
  .editorial-masthead > :nth-child(2) { animation-delay: .1s; }
}

/* Side rails: two hairlines framing the page, as on the home page */
.editorial-page {
  --rail: clamp(.75rem, 2.5vw, 2.25rem);
  --pad: clamp(1rem, 3vw, 2.75rem);
  --gutter: calc(var(--rail) + var(--pad));
}
body.editorial-page::before,
body.editorial-page::after {
  content: "";
  position: fixed;
  top: 0;
  bottom: 0;
  z-index: 5;
  width: 1px;
  background: var(--line);
  pointer-events: none;
}
body.editorial-page::before { left: var(--rail); }
body.editorial-page::after { right: var(--rail); }
.editorial-page .header-inner { width: auto; padding-inline: calc(var(--rail) + var(--pad)); }
.editorial-page .footer-grid, .editorial-page .footer-base { padding-inline: calc(var(--rail) + var(--pad)); }

/* ---- Photo banner masthead (About, Library, Contact, legal pages) ---- */
.editorial-page .page-banner {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: end;
  justify-items: start;
  gap: 1rem;
  width: auto;
  min-height: min(36rem, 78svh);
  margin-inline: var(--rail);
  padding: calc(4.25rem + clamp(3rem, 8vw, 5rem)) var(--pad) clamp(2.5rem, 5vw, 4rem);
  color: #fff;
  background:
    linear-gradient(90deg, rgb(6 22 20 / 72%) 0%, rgb(6 22 20 / 38%) 50%, rgb(6 22 20 / 8%) 100%),
    linear-gradient(0deg, rgb(6 22 20 / 50%) 0%, transparent 55%),
    var(--banner) center / cover no-repeat;
}
.editorial-page .page-banner > .eyebrow { margin-top: 0; border-color: rgb(255 255 255 / 35%); background: rgb(0 0 0 / 15%); color: rgb(255 255 255 / 88%); }
.editorial-page .page-banner h1 { color: #fff; }
.editorial-page .page-banner h1 em { color: rgb(255 255 255 / 65%); }
.editorial-page .page-banner .editorial-intro { color: rgb(255 255 255 / 85%); }
.editorial-page .page-banner .editorial-link { color: #fff; }
.editorial-page .page-banner .editorial-cover { display: none; }
.editorial-page .page-banner :focus-visible { outline-color: #fff; }
.editorial-page .page-banner + * { margin-top: clamp(1rem, 3vw, 2rem); }

/* Header floats over the banner, white once scrolled */
.editorial-page.has-banner .site-header { position: fixed; inset: 0 0 auto; transition: background-color .3s, color .3s, border-color .3s; }
.editorial-page.has-banner .site-header[data-scroll-state="top"] {
  color: #fff;
  background: transparent;
  border-bottom-color: rgb(255 255 255 / 18%);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.editorial-page.has-banner .site-header[data-scroll-state="top"] nav { border-color: rgb(255 255 255 / 30%); }
.editorial-page.has-banner .site-header[data-scroll-state="top"] nav a { color: rgb(255 255 255 / 80%); }
.editorial-page.has-banner .site-header[data-scroll-state="top"] nav a:hover { color: #fff; }
.editorial-page.has-banner .site-header[data-scroll-state="top"] nav [aria-current="page"] { background: #fff; color: var(--ink); }
.editorial-page.has-banner .site-header[data-scroll-state="top"] .header-action { border-color: #fff; background: #fff; color: var(--ink); }
.editorial-page.has-banner .site-header[data-scroll-state="top"] .header-action:hover { background: #e9e9e9; color: var(--ink); }
.editorial-page.has-banner .site-header[data-scroll-state="top"] :focus-visible { outline-color: #fff; }
.editorial-page.has-banner .site-header[data-scroll-state="top"] .brand img { filter: grayscale(1) brightness(1.3); }
.editorial-page.has-banner .site-header[data-menu-open="true"] { color: var(--ink); background: #fff; }
.editorial-page.has-banner .site-header[data-menu-open="true"] nav a { color: var(--soft); }
.editorial-page.has-banner .site-header[data-menu-open="true"] nav [aria-current="page"] { background: var(--ink); color: #fff; }
.editorial-page.has-banner .site-header[data-menu-open="true"] .header-action { border-color: var(--ink); background: var(--ink); color: #fff; }

/* ---- Legal pages ---- */
.legal { max-width: 48rem; padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(4rem, 8vw, 6rem); }
.legal-note { margin-bottom: 1.75rem; padding: 1rem 1.25rem; border: 1px solid var(--line); border-radius: 12px; background: var(--wash); color: var(--soft); font-size: .95rem; line-height: 1.55; }
.legal-note strong { color: var(--ink); font-weight: 500; }
.legal-meta { color: var(--faint); font-size: .92rem; }
.legal section { padding-top: 1.75rem; margin-top: 1.75rem; border-top: 1px solid var(--line); }
.legal h2 { margin: 0 0 .75rem; font-size: clamp(1.35rem, 2.2vw, 1.7rem); font-weight: 400; letter-spacing: -.025em; }
.legal p, .legal li { color: var(--soft); font-size: 1.02rem; font-weight: 300; line-height: 1.7; }
.legal p + p, .legal p + ul { margin-top: .75rem; }
.legal ul { margin: 0; padding-left: 1.2rem; }
.legal li + li { margin-top: .4rem; }
.legal strong { color: var(--ink); font-weight: 500; }
.legal a { color: var(--ink); text-underline-offset: .2em; }
.legal code { font-size: .9em; }

/* Footer legal links */
.editorial-page .legal-links, .home .legal-links { display: flex; justify-content: center; gap: 1.5rem; }
.editorial-page .legal-links a, .home .legal-links a { color: var(--soft); text-decoration: none; }
.editorial-page .legal-links a:hover, .home .legal-links a:hover { color: var(--ink); }
@media (max-width: 50rem) {
  .editorial-page .footer-base { grid-template-columns: 1fr; gap: .6rem; }
  .editorial-page .footer-base > * { justify-self: start; text-align: left; }
  .editorial-page .legal-links { justify-content: flex-start; }
}

/* ---- Custom form controls ---- */
.editorial-page .contact-form { gap: .45rem; }
.editorial-page .contact-form label { margin-top: .85rem; color: var(--ink); font-size: .95rem; font-weight: 500; }
.editorial-page .contact-form :is(input, textarea),
.editorial-page .combo-input {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  min-height: 3.25rem;
  padding: .85rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 14px;
  background: var(--wash);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
  box-shadow: none;
  transition: background-color .2s, border-color .2s, box-shadow .2s;
  corner-shape: round;
}
.editorial-page .contact-form :is(input, textarea)::placeholder,
.editorial-page .combo-input::placeholder { color: var(--faint); opacity: 1; }
.editorial-page .contact-form :is(input, textarea):hover,
.editorial-page .combo-input:hover { background: #f0f0f0; }
.editorial-page .contact-form :is(input, textarea):focus,
.editorial-page .combo-input:focus {
  outline: none;
  border-color: var(--ink);
  background: #fff;
  box-shadow: 0 0 0 4px rgb(14 14 14 / 7%);
}
.editorial-page .contact-form :is(input, textarea):user-invalid { border-color: #b3261e; box-shadow: 0 0 0 4px rgb(179 38 30 / 8%); }
.editorial-page .contact-form textarea { min-height: 8.5rem; resize: none; overflow: hidden; }
.editorial-page .contact-form .button { margin-top: 1.25rem; min-height: 3rem; padding-inline: 1.6rem; }

/* Searchable select */
.combo { position: relative; }
.editorial-page .combo-input { padding-right: 3rem; cursor: pointer; }
.editorial-page .combo-input:focus { cursor: text; }
.combo-chevron {
  position: absolute;
  top: 50%;
  right: 1.2rem;
  width: .55rem;
  height: .55rem;
  margin-top: -.4rem;
  border-right: 1.5px solid var(--soft);
  border-bottom: 1.5px solid var(--soft);
  transform: rotate(45deg);
  transition: transform .2s, margin-top .2s;
  pointer-events: none;
}
.combo.is-open .combo-chevron { margin-top: -.1rem; transform: rotate(225deg); }
.combo-list {
  position: absolute;
  z-index: 20;
  top: calc(100% + .45rem);
  left: 0;
  right: 0;
  max-height: 16rem;
  margin: 0;
  padding: .35rem;
  overflow-y: auto;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 40px rgb(0 0 0 / 10%);
}
.combo-list [role="option"] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 2.9rem;
  padding: .65rem .85rem;
  border-radius: 10px;
  color: var(--ink);
  font-size: 1rem;
  cursor: pointer;
}
.combo-list [data-active] { background: var(--wash); }
.combo-list [aria-selected="true"] { font-weight: 500; }
.combo-list svg { flex: none; width: 1rem; height: 1rem; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; visibility: hidden; }
.combo-list [aria-selected="true"] svg { visibility: visible; }
.combo-list mark { background: none; color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: .2em; }
.combo-empty { padding: .8rem .85rem; color: var(--faint); font-size: .95rem; }
@media (prefers-reduced-motion: no-preference) {
  @keyframes combo-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
  .combo-list:not([hidden]) { animation: combo-in .16s ease-out; }
}

/* Square cards */
.editorial-page .library-catalog .resource-link,
.editorial-page .library-catalog .resource-image { border-radius: 0; }

/* Square panels */
.editorial-page :is(
  .about-learning-grid, .about-learning-grid > div,
  .instructor-image, .page-callout,
  .library-feature, .library-feature video,
  .spotlight, .spotlight-image, .spotlight-copy, .spotlight-action,
  .empty, .legal-note,
  .editorial-cover, .resource-body video
) { border-radius: 0; }

/* Article meta: one tidy block instead of a pill sitting on a divider */
.editorial-page .article-meta {
  display: grid;
  justify-items: start;
  align-content: start;
  gap: .7rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.editorial-page .article-meta p { margin: 0; padding: 0; border: 0; }
.editorial-page .article-meta .eyebrow {
  padding: .3rem .75rem;
  border: 0;
  border-radius: 50rem;
  background: var(--ink);
  color: #fff;
  font-size: .82rem;
}
.editorial-page .article-meta p + p { color: var(--faint); font-size: .92rem; line-height: 1.5; }
@media (min-width: 50.01rem) {
  .editorial-page .article-meta { position: sticky; top: 6rem; }
}
@media (max-width: 50rem) {
  .editorial-page .article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; }
}
.editorial-page .resource-section h2 { margin-bottom: 1rem; line-height: 1.1; }

/* Line icons (replace text arrows, which phones render as emoji) */
svg.i { display: inline-block; flex: none; width: 1em; height: 1em; vertical-align: -.14em; overflow: visible; }
