.editorial { padding-block: clamp(1.5rem, 4vw, 3rem) clamp(3rem, 7vw, 6rem); }
.editorial h1 { font-size: clamp(2.3rem, 5vw, 4.5rem); line-height: 1.04; }
.editorial-index > p, .story-hero p, .story-card p { color: var(--muted); }
.story-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.story-back, .story-jumps a, .story-card span, .home-read, .home-editorial-heading a { font-weight: 650; color: var(--accent); text-underline-offset: .2em; }
.story-back { display: inline-block; margin-bottom: 1rem; }
.story-hero .story-byline { margin: .8rem 0 0; font-size: .9rem; }
.story-byline a { color: var(--accent); font-weight: 650; text-underline-offset: .2em; }
.story-byline + p { margin-top: .6rem; }
.story-jumps { display: flex; flex-wrap: wrap; gap: .5rem; }
.story-jumps a { border: 1px solid var(--line); border-radius: .4rem; background: #fffaf2; padding: .4rem .7rem; font-size: .9rem; }
.story-hero img, .story-card img { display: block; width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; }
.story-hero img { border-radius: .8rem; }
.story-overview, .story-related, .story-layout, .story-grid { margin-top: clamp(1.25rem, 3.5vw, 2.7rem); }
.story-boxes, .story-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.story-boxes { margin-top: 1rem; }
.story-boxes > div, .story-card { background: #fffaf2; border: 1px solid var(--line); border-radius: .7rem; }
.story-boxes > div { border-top: 3px solid #a97448; padding: 1rem; }
.story-boxes p { color: var(--muted); margin: 0; }
.story-layout { display: grid; grid-template-columns: minmax(0, 13rem) minmax(0, 48rem); gap: clamp(1rem, 5vw, 4rem); }
.story-toc { align-self: start; border-left: 2px solid #a97448; padding-left: 1rem; }
.story-toc ul, .story-check ul { margin: .5rem 0 0; padding-left: 1.15rem; }
.story-toc a { color: var(--muted); text-underline-offset: .18em; }
.story-text section + section { margin-top: 2rem; }
.story-text p { margin: .75rem 0 0; }
.story-text table { width: 100%; border-collapse: collapse; margin-top: .8rem; font-size: .94rem; background: #fffaf2; }
.story-text td, .story-text th { text-align: left; border: 1px solid var(--line); padding: .65rem; vertical-align: top; overflow-wrap: anywhere; }
.story-text th { background: #efe3d3; }
.story-check { background: #efe3d3; border-radius: .7rem; padding: 1rem 1.25rem; }
.story-faq details { margin-top: .65rem; padding: .65rem .85rem; border: 1px solid var(--line); border-radius: .55rem; background: #fffaf2; }
.story-faq summary { color: var(--accent); cursor: pointer; font-weight: 650; }
.story-faq details p { margin: .5rem 0 .15rem; }
.story-sockets .story-jumps { margin-top: .75rem; }
.story-sockets h3 { margin-top: 1.45rem; }
.story-card { overflow: hidden; }
.story-card a { display: block; height: 100%; text-decoration: none; }
.story-card a:hover h3 { text-decoration: underline; text-underline-offset: .2em; }
.story-card a:focus-visible { outline-offset: -4px; }
.story-card a > div { padding: 1rem; }
.story-card span { display: inline-block; }
.home-read { display: inline-block; margin-top: .6rem; }
.home-editorial-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
@media (max-width: 920px) {
  .story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .story-hero, .story-boxes, .story-layout { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-text td, .story-text th { padding: .4rem; font-size: .84rem; }
}
