:root {
  --navy: #123d68;
  --blue: #0d69a8;
  --blue-bright: #1687c9;
  --blue-pale: #eef6fa;
  --blue-pale-2: #f5f9fc;
  --ink: #1a2833;
  --muted: #607180;
  --line: #d8e3ea;
  --paper: #ffffff;
  --off-white: #fdfdfd;
  --yellow: #f6ca47;
  --shadow: 0 16px 46px rgba(18, 61, 104, 0.12);
  --content: 832px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--off-white);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGothic, Meiryo, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 16px;
  color: #fff;
  background: var(--navy);
  border-radius: 4px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 72px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(18, 61, 104, 0.09);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  width: min(100% - 32px, 1240px);
  height: 100%;
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  background: var(--blue);
  border: 3px solid var(--blue);
  border-radius: 3px;
  box-shadow: inset 0 0 0 2px #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.05;
  text-align: center;
}

.brand-copy {
  display: grid;
  line-height: 1.25;
}

.brand-copy small {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand-copy strong {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.global-nav,
.global-nav ul {
  height: 100%;
}

.global-nav ul {
  display: flex;
  align-items: stretch;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.global-nav a {
  display: grid;
  height: 100%;
  padding: 0 18px;
  place-items: center;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.global-nav a:hover,
.global-nav a:focus-visible,
.global-nav a[aria-current="page"] {
  color: var(--blue);
  background: var(--blue-pale);
}

.nav-cta {
  color: #fff !important;
  background: var(--blue) !important;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--navy) !important;
}

.menu-button {
  display: none;
  width: 58px;
  color: var(--navy);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.menu-icon {
  position: relative;
  display: block;
  width: 24px;
  height: 16px;
  margin: 0 auto 4px;
  border-top: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
}

.menu-icon::after {
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
}

.reading-progress {
  position: fixed;
  top: 72px;
  left: 0;
  z-index: 101;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), #39aada);
  transition: width 0.08s linear;
}

.article-hero {
  padding: 54px 24px 0;
  background: var(--blue-pale);
}

.article-hero-inner {
  width: min(100%, 800px);
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.09em;
}

.eyebrow::before {
  width: 24px;
  height: 2px;
  background: currentColor;
  content: "";
}

.article-title {
  max-width: 780px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.35;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 20px 0 26px;
  color: #405360;
  font-size: 13px;
}

.article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.article-meta svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.hero-visual {
  overflow: hidden;
  margin: 0;
  background: #cfe5ef;
  border-radius: 2px 2px 0 0;
  box-shadow: 0 12px 30px rgba(18, 61, 104, 0.12);
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 16 / 8.8;
  object-fit: cover;
}

.article-shell {
  position: relative;
  width: min(calc(100% - 32px), var(--content));
  margin: 0 auto;
  padding: 58px 16px 110px;
}

.article-body {
  width: 100%;
}

.article-body p {
  margin: 0 0 1.25em;
  font-size: 16px;
  line-height: 1.9;
}

.article-body .lead {
  margin-bottom: 1.1em;
  font-size: 17px;
  line-height: 1.95;
}

.article-body h2 {
  margin: 54px 0 24px;
  padding: 0 0 15px;
  border-bottom: 3px solid var(--blue);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.45;
}

.article-body h3 {
  position: relative;
  margin: 38px 0 18px;
  padding-left: 15px;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.55;
}

.article-body h3::before {
  position: absolute;
  top: 0.15em;
  bottom: 0.15em;
  left: 0;
  width: 4px;
  background: var(--blue);
  border-radius: 4px;
  content: "";
}

.article-body ul,
.article-body ol:not(.toc-list) {
  margin: 0 0 1.4em;
  padding-left: 1.6em;
}

.article-body li {
  margin: 0.48em 0;
  line-height: 1.85;
}

.article-body strong {
  font-weight: 800;
}

.article-inline-image {
  overflow: hidden;
  margin: 22px 0 30px;
  background: var(--blue-pale);
  border-radius: 4px;
  box-shadow: 0 12px 30px rgba(18, 61, 104, 0.1);
}

.article-inline-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.table-of-contents {
  margin: 42px 0 50px;
  padding: 30px 46px 32px;
  background: var(--blue-pale-2);
  border: 1px solid var(--line);
  border-radius: 3px;
}

.toc-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 19px;
  font-weight: 800;
}

.toc-heading::before {
  width: 22px;
  height: 22px;
  background: linear-gradient(var(--blue) 0 0) 3px 4px / 16px 2px no-repeat,
    linear-gradient(var(--blue) 0 0) 3px 10px / 16px 2px no-repeat,
    linear-gradient(var(--blue) 0 0) 3px 16px / 16px 2px no-repeat;
  content: "";
}

.toc-list {
  margin: 0;
  padding-left: 1.3em;
}

.toc-list li {
  margin: 0.5em 0;
  color: var(--blue);
}

.toc-sublist {
  margin: 0.35em 0 0.7em;
  padding-left: 1.35em;
  list-style: none;
}

.toc-sublist .toc-level-3 {
  position: relative;
  margin: 0.35em 0;
  font-size: 0.94em;
}

.toc-sublist .toc-level-3::before {
  position: absolute;
  top: 0;
  left: -1.15em;
  color: #7ca6bb;
  content: "└";
}

.toc-list a {
  color: var(--ink);
  text-decoration: none;
}

.toc-list a:hover,
.toc-list a:focus-visible {
  color: var(--blue);
  text-decoration: underline;
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 1.5em !important;
  padding: 0 !important;
  list-style: none;
}

.check-list li {
  position: relative;
  margin: 0;
  padding: 13px 16px 13px 46px;
  background: #f2f8fb;
  border-radius: 10px;
  line-height: 1.65;
}

.check-list li::before {
  position: absolute;
  top: 50%;
  left: 14px;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  color: var(--blue);
  background: #dceff8;
  border-radius: 50%;
  content: "✓";
  font-size: 12px;
  font-weight: 800;
  transform: translateY(-50%);
}

.point-box {
  margin: 32px 0;
  padding: 26px 28px;
  background: #fffaf0;
  border: 1px solid #efd99a;
  border-radius: 4px;
}

.point-box-title {
  display: block;
  margin-bottom: 8px;
  color: #7c5c04;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.point-box p:last-child,
.cta-panel p:last-child {
  margin-bottom: 0;
}

.article-end-note {
  position: relative;
  overflow: hidden;
  margin-top: 52px;
  padding: 34px;
  background: linear-gradient(145deg, #eef7fb 0%, #f8fbfd 100%);
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(18, 61, 104, 0.08);
}

.article-end-note h2 {
  margin: 0 0 20px;
  padding: 0;
  border: 0;
  color: var(--navy);
  font-size: 24px;
}

.article-end-note .check-list li {
  background: rgba(255, 255, 255, 0.86);
}

.school-site-directory {
  margin-top: 24px;
}

.school-site-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.school-site-links a {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #cfe2ec;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(18, 61, 104, 0.06);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.55;
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.school-site-links a::after {
  flex: 0 0 auto;
  color: var(--blue);
  content: "→";
  font-size: 18px;
}

.school-site-links a:hover,
.school-site-links a:focus-visible {
  border-color: var(--blue);
  box-shadow: 0 10px 24px rgba(18, 61, 104, 0.12);
  transform: translateY(-2px);
}

.cta-panel {
  margin-top: 50px;
  padding: 38px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border-radius: 4px;
  box-shadow: var(--shadow);
  text-align: center;
}

.cta-panel p {
  margin-top: 0;
  margin-bottom: 24px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 24px;
  color: #fff;
  background: var(--blue);
  border: 1px solid var(--blue);
  border-radius: 3px;
  font-weight: 800;
  text-decoration: none;
  transition: 0.2s ease;
}

.button::after {
  content: "→";
}

.button:hover,
.button:focus-visible {
  background: var(--navy);
  border-color: var(--navy);
  transform: translateY(-1px);
}

.button-light {
  color: var(--navy);
  background: #fff;
  border-color: #fff;
}

.button-light:hover,
.button-light:focus-visible {
  color: #fff;
  background: transparent;
}

.article-taxonomy {
  display: grid;
  gap: 14px;
  margin-top: 42px;
  padding: 22px 24px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(18, 61, 104, 0.08);
}

.taxonomy-group {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.taxonomy-label {
  flex: 0 0 68px;
  padding-top: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.category-chip,
.tag-list a {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
  text-decoration: none;
  transition: 0.2s ease;
}

.category-chip {
  color: #fff;
  background: var(--blue);
}

.article-body .tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-body .tag-list li {
  margin: 0;
  line-height: 1;
}

.tag-list a {
  color: var(--navy);
  background: var(--blue-pale-2);
}

.category-chip:hover,
.category-chip:focus-visible {
  color: #fff;
  background: var(--navy);
  transform: translateY(-1px);
}

.tag-list a:hover,
.tag-list a:focus-visible {
  color: #fff;
  background: var(--blue);
  transform: translateY(-1px);
}

.share-block {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 38px;
}

.share-label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.share-buttons {
  display: flex;
  gap: 8px;
}

.share-button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.share-button.social-icon {
  overflow: hidden;
  padding: 0;
  background: transparent;
  border: 0;
}

.share-button.social-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.share-button:hover,
.share-button:focus-visible {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.share-rail {
  position: fixed;
  top: 38%;
  left: 14px;
  z-index: 20;
  display: grid;
  gap: 7px;
}

.share-rail .share-button {
  border-radius: 2px;
  box-shadow: 0 3px 10px rgba(18, 61, 104, 0.08);
}

.related-section {
  padding: 64px 24px 76px;
  background: var(--blue-pale-2);
  border-top: 1px solid var(--line);
}

.section-inner {
  width: min(100%, 1040px);
  margin-inline: auto;
}

.section-heading {
  margin: 0 0 28px;
  color: var(--navy);
  font-size: 27px;
  font-weight: 800;
  text-align: center;
}

.section-heading::after {
  display: block;
  width: 46px;
  height: 3px;
  margin: 12px auto 0;
  background: var(--blue);
  content: "";
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.article-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(18, 61, 104, 0.07);
  transition: 0.22s ease;
}

.article-card:hover,
.article-card:focus-within {
  border-color: #a8cada;
  box-shadow: 0 14px 32px rgba(18, 61, 104, 0.12);
  transform: translateY(-4px);
}

.article-card-link,
.feature-card-link {
  display: block;
  height: 100%;
  color: inherit;
  border-radius: inherit;
  text-decoration: none;
}

.article-card-link:focus-visible,
.feature-card-link:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: -3px;
}

.article-card-link:hover h3,
.article-card-link:focus-visible h3,
.feature-card-link:hover .text-link,
.feature-card-link:focus-visible .text-link {
  color: var(--navy);
}

.article-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.card-body {
  padding: 20px 20px 22px;
}

.card-category {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.09em;
}

.article-card h3 {
  margin: 0 0 12px;
  font-size: 17px;
  line-height: 1.55;
}

.article-card h3 a {
  text-decoration: none;
}

.article-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.breadcrumb {
  padding: 18px 24px;
  background: #fff;
  border-top: 1px solid var(--line);
}

.breadcrumb ol {
  display: flex;
  width: min(100%, 1040px);
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 auto;
  padding: 0;
  color: var(--muted);
  font-size: 12px;
  list-style: none;
}

.breadcrumb li:not(:last-child)::after {
  margin-left: 7px;
  content: "/";
}

.site-footer {
  color: #fff;
  background: #112d45;
}

.footer-inner {
  display: grid;
  width: min(100% - 48px, 1040px);
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  margin-inline: auto;
  padding: 56px 0 42px;
}

.footer-brand {
  margin-bottom: 14px;
  font-size: 18px;
  font-weight: 800;
}

.footer-copy {
  max-width: 430px;
  margin: 0;
  color: #cbd8e2;
  font-size: 13px;
  line-height: 1.8;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: #e9f2f8;
  font-size: 13px;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  text-decoration: underline;
}

.copyright {
  margin: 0;
  padding: 18px 24px;
  color: #a9bdcb;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 11px;
  text-align: center;
}

.floating-cta {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  display: flex;
  overflow: hidden;
  width: min(420px, calc(100% - 44px));
  align-items: center;
  color: #fff;
  background: linear-gradient(100deg, var(--navy), var(--blue));
  border-radius: 4px;
  box-shadow: 0 14px 38px rgba(18, 61, 104, 0.32);
  transition: opacity 0.2s, transform 0.2s;
}

.floating-cta.is-hidden {
  pointer-events: none;
  opacity: 0;
  transform: translateY(16px);
}

.floating-cta a {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  text-decoration: none;
}

.floating-cta small,
.floating-cta strong {
  display: block;
}

.floating-cta small {
  color: #d8ecf8;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.floating-cta strong {
  font-size: 16px;
}

.floating-cta .arrow {
  font-size: 24px;
}

.floating-close {
  align-self: stretch;
  width: 38px;
  color: #fff;
  background: rgba(0, 0, 0, 0.16);
  border: 0;
  cursor: pointer;
}

.directory-hero {
  padding: 76px 24px 68px;
  background: linear-gradient(120deg, #eaf5fa 0%, #f8fbfd 58%, #e8f4f8 100%);
}

.directory-hero-inner {
  display: grid;
  width: min(100%, 1120px);
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: 56px;
  margin-inline: auto;
}

.directory-hero h1 {
  margin: 0 0 20px;
  color: var(--ink);
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.3;
}

.directory-hero h1 span {
  color: var(--blue);
}

.directory-hero p {
  max-width: 600px;
  margin: 0 0 28px;
  color: #445966;
  line-height: 1.95;
}

.directory-hero-visual {
  position: relative;
  padding: 22px;
}

.directory-hero-visual::before,
.directory-hero-visual::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.directory-hero-visual::before {
  top: 0;
  right: 4%;
  width: 150px;
  height: 150px;
  background: rgba(22, 135, 201, 0.13);
}

.directory-hero-visual::after {
  bottom: 0;
  left: 0;
  width: 92px;
  height: 92px;
  background: rgba(246, 202, 71, 0.45);
}

.hero-collage {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: #fff;
  border: 8px solid #fff;
  border-radius: 6px;
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
}

.hero-collage img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.directory-main {
  padding: 74px 24px 92px;
}

.directory-intro {
  max-width: 720px;
  margin: 0 auto 42px;
  color: var(--muted);
  text-align: center;
}

.directory-grid {
  display: grid;
  width: min(100%, 1120px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin-inline: auto;
}

.feature-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 5px;
  box-shadow: 0 10px 30px rgba(18, 61, 104, 0.08);
  transition: 0.22s ease;
}

.feature-card:hover,
.feature-card:focus-within {
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.feature-card img {
  width: 100%;
  aspect-ratio: 16 / 8.5;
  object-fit: cover;
}

.feature-card-body {
  padding: 28px 30px 30px;
}

.feature-card h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 23px;
  line-height: 1.5;
}

.feature-card h2 a {
  text-decoration: none;
}

.feature-card p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 14px;
}

.text-link {
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.text-link::after {
  margin-left: 7px;
  content: "→";
}

.directory-cta {
  padding: 66px 24px;
  color: #fff;
  background: linear-gradient(135deg, #143c60, #0d69a8);
  text-align: center;
}

.directory-cta h2 {
  margin: 0 0 14px;
  font-size: 28px;
}

.directory-cta p {
  margin: 0 0 26px;
  color: #d9eaf4;
}

.archive-hero {
  padding: 66px 24px 58px;
  background: linear-gradient(120deg, #eaf5fa 0%, #f8fbfd 70%, #edf6fa 100%);
}

.archive-hero-inner {
  width: min(100%, 1120px);
  margin-inline: auto;
}

.archive-kicker {
  display: block;
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.archive-hero h1 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.4;
}

.archive-hero p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.archive-content {
  padding: 56px 24px 92px;
  background: #f8fafc;
}

.archive-filters {
  display: grid;
  width: min(100%, 1120px);
  gap: 20px;
  margin: 0 auto 34px;
  padding: 26px 28px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(18, 61, 104, 0.08);
}

.archive-filter-group {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  align-items: start;
  gap: 16px;
}

.archive-filter-label {
  padding-top: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.archive-filter-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.archive-filter-links a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 7px 14px;
  color: var(--navy);
  background: var(--blue-pale-2);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: 0.2s ease;
}

.archive-filter-links a:hover,
.archive-filter-links a:focus-visible,
.archive-filter-links a[aria-current="page"] {
  color: #fff;
  background: var(--blue);
  transform: translateY(-1px);
}

.archive-tag-links a {
  color: #365568;
  background: #f0f5f8;
}

.archive-result-count {
  width: min(100%, 1120px);
  margin: 0 auto 20px;
  color: var(--muted);
  font-size: 14px;
}

.archive-result-count strong {
  margin-right: 3px;
  color: var(--blue);
  font-size: 22px;
}

.archive-grid [hidden] {
  display: none !important;
}

.archive-empty {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 40px 24px;
  color: var(--muted);
  background: #fff;
  border-radius: 14px;
  text-align: center;
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 110px;
  z-index: 24;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(18, 61, 104, 0.14);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 900px) {
  .global-nav {
    position: fixed;
    top: 72px;
    right: 0;
    bottom: 0;
    left: 0;
    overflow-y: auto;
    background: #fff;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: 0.2s ease;
  }

  .global-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .global-nav ul {
    display: block;
    width: min(100% - 40px, 560px);
    height: auto;
    margin: 24px auto;
  }

  .global-nav li {
    border-bottom: 1px solid var(--line);
  }

  .global-nav a {
    display: flex;
    min-height: 58px;
    justify-content: space-between;
    padding: 12px 10px;
  }

  .global-nav a::after {
    content: "→";
  }

  .nav-cta {
    justify-content: center !important;
    margin-top: 18px;
  }

  .menu-button {
    display: block;
  }

  .share-rail {
    display: none;
  }

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

  .directory-hero-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

  .directory-hero-copy {
    text-align: center;
  }

  .directory-hero p {
    margin-right: auto;
    margin-left: auto;
  }

  .directory-hero-visual {
    width: min(100%, 560px);
    margin-inline: auto;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15.5px;
  }

  .site-header {
    height: 64px;
  }

  .header-inner {
    width: calc(100% - 20px);
  }

  .brand {
    gap: 7px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    font-size: 8px;
  }

  .brand-copy small {
    font-size: 8px;
  }

  .brand-copy strong {
    font-size: 13px;
  }

  .global-nav {
    top: 64px;
  }

  .reading-progress {
    top: 64px;
  }

  .article-hero {
    padding: 28px 0 0;
  }

  .article-hero-inner > :not(.hero-visual) {
    margin-right: 24px;
    margin-left: 24px;
  }

  .eyebrow {
    margin-bottom: 10px;
  }

  .article-title {
    font-size: 28px;
    line-height: 1.43;
  }

  .article-meta {
    margin-top: 16px;
    margin-bottom: 18px;
  }

  .hero-visual {
    border-radius: 0;
  }

  .hero-visual img {
    aspect-ratio: 16 / 10.8;
  }

  .article-shell {
    width: calc(100% - 32px);
    padding: 38px 0 84px;
  }

  .article-body p,
  .article-body .lead {
    font-size: 15.5px;
    line-height: 1.9;
  }

  .article-body h2 {
    margin-top: 45px;
    font-size: 22px;
  }

  .article-body h3 {
    margin-top: 32px;
    font-size: 18px;
  }

  .table-of-contents {
    margin: 34px 0 42px;
    padding: 24px 24px 26px;
  }

  .check-list {
    grid-template-columns: 1fr;
  }

  .point-box,
  .article-end-note {
    padding: 22px;
  }

  .school-site-links {
    grid-template-columns: 1fr;
  }

  .school-site-links a {
    min-height: 68px;
  }

  .cta-panel {
    padding: 30px 22px;
  }

  .article-taxonomy {
    padding: 20px;
  }

  .taxonomy-group {
    flex-direction: column;
    gap: 8px;
  }

  .taxonomy-label {
    flex-basis: auto;
    padding-top: 0;
  }

  .share-block {
    flex-direction: column;
  }

  .related-section {
    padding: 52px 16px 62px;
  }

  .article-grid,
  .directory-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    font-size: 24px;
  }

  .breadcrumb {
    padding: 16px;
  }

  .footer-inner {
    width: calc(100% - 40px);
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 44px;
  }

  .floating-cta {
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    border-radius: 0;
  }

  .floating-cta a {
    padding: 12px 16px;
  }

  .floating-cta strong {
    font-size: 14px;
  }

  .back-to-top {
    right: 12px;
    bottom: 78px;
  }

  .directory-hero {
    padding: 50px 20px 52px;
  }

  .directory-hero h1 {
    font-size: 38px;
  }

  .directory-hero-visual {
    padding: 10px;
  }

  .directory-main {
    padding: 58px 16px 70px;
  }

  .archive-hero {
    padding: 44px 20px 40px;
  }

  .archive-hero h1 {
    font-size: 30px;
  }

  .archive-content {
    padding: 36px 16px 70px;
  }

  .archive-filters {
    gap: 18px;
    padding: 20px;
  }

  .archive-filter-group {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .archive-filter-label {
    padding-top: 0;
  }

  .feature-card-body {
    padding: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-header,
  .share-rail,
  .share-block,
  .floating-cta,
  .back-to-top,
  .related-section,
  .site-footer,
  .reading-progress {
    display: none !important;
  }

  .article-hero {
    padding-top: 20px;
  }

  .article-shell {
    width: 100%;
    padding: 30px 0;
  }

  body {
    color: #000;
    background: #fff;
  }
}
