.ed-hub, .ed-home, .ed-related {
  --ed-ink: var(--ink, #191b1d);
  --ed-muted: var(--muted, #555b62);
  --ed-line: var(--line, #dedfe3);
  --ed-teal: #087170;
  min-width: 0;
  color: var(--ed-ink);
}
.ed-hub { padding-block: .25rem clamp(3rem, 6vw, 6rem); }
.ed-hub :is(ul, li), .ed-home :is(ul, li), .ed-related :is(ul, li) {
  list-style: none;
  padding: 0;
  margin: 0;
}
.ed-jump { margin-bottom: clamp(2rem, 4.8vw, 4.4rem); }
.ed-jump ul { display: flex; flex-wrap: wrap; gap: .5rem; }
.ed-jump a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: .52rem 1.05rem;
  border: 1px solid #cbd0d3;
  border-radius: 999px;
  color: var(--ed-ink);
  text-align: center;
  text-decoration: none;
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.35;
}
.ed-topics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2.3rem, 4vw, 4rem) clamp(2rem, 5vw, 5.3rem);
  align-items: start;
}
.ed-topic { min-width: 0; scroll-margin-block-start: 1.2rem; }
.ed-topic-head {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-bottom: .45rem;
}
.ed-icon, .ed-home-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: var(--ed-teal);
}
.ed-icon {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: .85rem;
  background: #e8f4f3;
}
.ed-topic h2 {
  margin: 0;
  font-size: clamp(1.4rem, 2.15vw, 2.05rem);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1.13;
  overflow-wrap: anywhere;
}
.ed-list li { border-bottom: 1px solid var(--ed-line); }
.ed-guide-link {
  display: block;
  min-width: 0;
  padding: .95rem .15rem 1rem;
  color: inherit;
  text-decoration: none;
  scroll-margin-block-start: 1.25rem;
}
.ed-guide-title, .ed-guide-intro { display: block; overflow-wrap: anywhere; }
.ed-guide-title { font-size: 1.075rem; font-weight: 650; letter-spacing: -.02em; line-height: 1.32; }
.ed-guide-intro { max-width: 58ch; margin-top: .22rem; color: var(--ed-muted); line-height: 1.45; }
.ed-list a:target { background: #f0f9f8; box-shadow: -.22rem 0 0 var(--ed-teal); padding-inline-start: .65rem; }
.ed-home { margin-bottom: clamp(3rem, 6vw, 6.25rem); }
.ed-home-inner {
  display: grid;
  grid-template-columns: minmax(0, .83fr) minmax(0, 1.17fr);
  align-items: center;
  gap: clamp(1.8rem, 4.2vw, 4rem);
  border-top: 1px solid var(--ed-line);
  padding-block-start: clamp(1.85rem, 3.5vw, 3.5rem);
}
.ed-home-intro h2, .ed-related h2 {
  margin: 0;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.055em;
}
.ed-home-intro h2 { max-width: 15ch; font-size: clamp(1.95rem, 3.4vw, 3.4rem); }
.ed-home-intro .quiet-button { margin-top: .95rem; }
.ed-home-list li + li { border-block-start: 1px solid var(--ed-line); }
.ed-home-list a {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: .85rem;
  min-height: 3.6rem;
  padding: .85rem .1rem;
  color: var(--ed-ink);
  font-size: clamp(1.02rem, 1.35vw, 1.22rem);
  font-weight: 650;
  line-height: 1.4;
  text-decoration: none;
}
.ed-home-list a span:last-child { overflow-wrap: anywhere; }
.ed-related { margin-block-end: clamp(2.7rem, 5.5vw, 5.6rem); }
.ed-related h2 { margin-bottom: .95rem; font-size: clamp(1.45rem, 2.3vw, 2.15rem); }
.ed-related ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: .65rem;
  max-width: 64rem;
}
.ed-related li { display: flex; min-width: 0; }
.ed-related a {
  display: flex;
  align-items: center;
  flex: 1;
  min-height: 3.7rem;
  padding: .8rem 1.1rem;
  border: 1px solid var(--ed-line);
  border-radius: .9rem;
  background: #f8f9f9;
  color: var(--ed-ink);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  overflow-wrap: anywhere;
}
:is(.prose, .content, article) .ed-related.wrap { width: 100%; margin: 2.25rem 0 0; }
:is(.ed-hub, .ed-home, .ed-related) a:focus-visible { outline: 3px solid var(--ed-teal); outline-offset: 3px; }
@media (hover: hover) {
  .ed-jump a:hover, .ed-related a:hover { background-color: #edf6f5; border-color: #7ea9a7; }
  .ed-guide-link:hover .ed-guide-title, .ed-home-list a:hover span:last-child {
    color: var(--ed-teal);
    text-decoration: underline;
    text-decoration-thickness: .085em;
    text-underline-offset: .2em;
  }
}
@media (min-width: 841px) and (max-width: 1080px) {
  .headin .nav { gap: clamp(.55rem, 1.2vw, .95rem); }
  .headin .nav a { font-size: .9rem; }
}
@media (max-width: 740px) {
  .ed-topics, .ed-home-inner { grid-template-columns: minmax(0, 1fr); }
  .ed-topics { gap: 2.25rem; }
  .ed-home-inner { gap: .9rem; }
  .ed-home-intro h2 { max-width: 21ch; }
  .ed-home-intro {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .5rem .95rem;
  }
  .ed-home-intro .quiet-button { margin-top: 0; }
}
@media (max-width: 430px) {
  .ed-jump ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .38rem; }
  .ed-jump li { display: flex; }
  .ed-jump a { flex: 1; padding: .45rem .4rem; font-size: .9rem; }
  .ed-topic-head { gap: .6rem; }
  .ed-icon { width: 2.55rem; height: 2.55rem; }
  .ed-related ul { grid-template-columns: minmax(0, 1fr); }
}

.prose .copy-block ul { padding-inline-start: 1.35rem; line-height: 1.6; }
.prose .copy-block li + li { margin-top: .4rem; }
.reading-table { border-collapse: collapse; width: 100%; margin-block: 1.25rem; font-size: 1rem; font-variant-numeric: tabular-nums; }
.reading-table caption { text-align: left; font-weight: 650; padding-bottom: .55rem; }
.reading-table th, .reading-table td { text-align: left; vertical-align: top; padding: .65rem .5rem; border-bottom: 1px solid var(--line); }
.reading-table th { background: var(--soft); }
@media (max-width: 420px) {
  .reading-table th, .reading-table td { padding: .5rem .25rem; overflow-wrap: anywhere; }
}
.page-map { padding-block: .75rem clamp(3rem,6vw,6rem); }
.map-groups { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.6rem clamp(1.5rem,4vw,5.5rem); }
.page-map h2, .page-map h3 { line-height: 1.15; letter-spacing: -.035em; }
.page-map h2 { font-size: clamp(1.4rem,2vw,1.8rem); }
.page-map h3 { font-size: 1.1rem; }
.page-map ul { padding: 0; list-style: none; margin: .65rem 0 0; }
.page-map li a { display: inline-flex; align-items: center; min-height: 42px; line-height: 1.35; }
.page-map a, .foot a { text-decoration-thickness: 1px; text-underline-offset: .2em; }
.map-guides { margin-block: 2rem; padding-block: 2rem; border-block: 1px solid var(--line); }
.map-guides .map-groups { grid-template-columns: repeat(4,minmax(0,1fr)); margin-top: 1.5rem; }
.foot li { padding: 0; }
.foot li a { display: inline-flex; align-items: center; min-height: 36px; }
@media(max-width:800px){ .map-groups,.map-guides .map-groups { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:680px){ .foot-top > :last-child { grid-column:1 / -1; } }
@media(max-width:480px){ .map-groups,.map-guides .map-groups { grid-template-columns:minmax(0,1fr); } }

.article-contents {
  margin: 0 0 1.6rem;
  padding-inline: 1.1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.article-contents summary { padding-block: .8rem; font-weight: 650; cursor: pointer; }
.article-contents ul { margin: 0 0 .9rem; padding-inline-start: 1.2rem; }
.article-contents a { display: inline-block; padding-block: .26rem; text-underline-offset: .18em; }
