:root {
  --jpscs-navy: #062d73;
  --jpscs-navy-deep: #001f58;
  --jpscs-blue: #0c4a94;
  --jpscs-teal: #168fa2;
  --jpscs-orange: #e9530d;
  --jpscs-ink: #111827;
  --jpscs-muted: #536277;
  --jpscs-line: #dbe3ef;
  --jpscs-pale: #f4f8fc;
  --jpscs-white: #fff;
  --jpscs-shadow: 0 12px 30px rgba(0, 35, 88, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--jpscs-white);
  color: var(--jpscs-ink);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGothic, Meiryo, sans-serif;
  line-height: 1.7;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}
.screen-reader-text:focus {
  z-index: 100000;
  top: 8px; left: 8px;
  width: auto; height: auto;
  padding: 12px 18px;
  clip: auto;
  background: #fff;
  color: var(--jpscs-navy);
  box-shadow: var(--jpscs-shadow);
}
:focus-visible { outline: 3px solid #f2a900; outline-offset: 3px; }

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid rgba(0, 45, 115, .08);
  backdrop-filter: blur(12px);
}
.admin-bar .site-header { top: 32px; }
.header-inner {
  width: min(1440px, calc(100% - 56px));
  min-height: 112px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 42px;
}
.brand-wrap { flex: 0 0 244px; }
.site-brand, .custom-logo-link { display: block; }
.site-brand img, .custom-logo { display: block; width: 244px; height: auto; }
.header-navigation { min-width: 0; flex: 1 1 auto; align-self: stretch; display: flex; flex-direction: column; justify-content: center; gap: 17px; }
.utility-menu, .primary-menu, .mobile-primary-menu, .footer-menu { margin: 0; padding: 0; list-style: none; }
.utility-menu { display: flex; justify-content: flex-end; gap: 10px; }
.utility-menu a {
  display: block;
  padding: 7px 17px;
  color: #fff;
  background: var(--jpscs-navy);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0,45,115,.18);
}
.primary-nav { min-width: 0; display: flex; align-items: center; justify-content: flex-end; gap: clamp(12px, 2vw, 30px); }
.primary-menu { min-width: 0; max-width: 100%; flex: 1 1 auto; display: flex; align-items: center; justify-content: flex-end; gap: clamp(12px, 2vw, 30px); }
.primary-menu > li { min-width: 0; position: relative; }
.primary-menu > li > a { display: block; padding: 10px 0; font-size: 14px; font-weight: 700; white-space: nowrap; }
.primary-menu > .menu-item-has-children > a::after { content: "⌄"; margin-left: 7px; color: var(--jpscs-blue); }
.primary-menu .sub-menu {
  position: absolute;
  top: 100%; left: 50%;
  min-width: 230px;
  margin: 0; padding: 9px;
  visibility: hidden;
  opacity: 0;
  transform: translate(-50%, 8px);
  list-style: none;
  background: #fff;
  border-top: 3px solid var(--jpscs-navy);
  box-shadow: var(--jpscs-shadow);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.primary-menu li:hover > .sub-menu,
.primary-menu li:focus-within > .sub-menu { visibility: visible; opacity: 1; transform: translate(-50%, 0); }
.primary-menu .sub-menu a { display: block; padding: 9px 11px; color: var(--jpscs-navy); font-size: 13px; font-weight: 700; }
.primary-menu .sub-menu a:hover { background: var(--jpscs-pale); }
.primary-menu.is-fallback-menu { gap: clamp(10px, 1.3vw, 22px); }
.primary-menu.is-fallback-menu > li > a { max-width: 150px; overflow: hidden; text-overflow: ellipsis; }
.primary-menu .menu-setup-link > a { padding: 6px 10px; color: var(--jpscs-navy); border: 1px dashed var(--jpscs-navy); border-radius: 4px; font-size: 12px; }
.login-link {
  flex: 0 0 auto;
  padding: 9px 17px;
  border-radius: 4px;
  background: var(--jpscs-orange);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 5px 15px rgba(233,83,13,.24);
}
.menu-toggle, .mobile-menu { display: none; }

.home-hero { width: min(1440px, calc(100% - 56px)); min-height: 590px; margin: 0 auto; display: grid; grid-template-columns: 43% 57%; }
.hero-copy { padding: 76px 28px 58px; }
.eyebrow { margin: 0 0 12px; color: var(--jpscs-teal); font-size: 12px; font-weight: 800; letter-spacing: .15em; }
.hero-copy h1 { margin: 0 0 28px; color: var(--jpscs-navy); font-size: clamp(36px, 3.15vw, 50px); line-height: 1.45; letter-spacing: .02em; }
.hero-copy h1 span { display: block; }
.hero-copy > p:not(.eyebrow) { max-width: 620px; margin: 0 0 22px; font-size: 14px; font-weight: 600; }
.button {
  width: 230px;
  min-height: 58px;
  margin-top: 18px;
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 5px;
  font-weight: 800;
  transition: background .18s ease, transform .18s ease;
}
.button--primary { color: #fff; background: var(--jpscs-navy); box-shadow: var(--jpscs-shadow); }
.button--primary:hover { background: var(--jpscs-blue); transform: translateY(-1px); }
.button--secondary { color: var(--jpscs-navy); background: #fff; border: 1px solid var(--jpscs-navy); }
.hero-visual {
  position: relative;
  overflow: hidden;
  min-height: 590px;
  background: linear-gradient(90deg, rgba(238,246,251,.12), rgba(0,34,88,.14)), var(--hero-image) center / cover no-repeat;
}
.pillar-list { position: absolute; left: 7%; top: 68px; width: min(330px, 45%); display: grid; gap: 18px; }
.pillar {
  min-height: 120px;
  padding: 21px 24px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  color: var(--jpscs-navy);
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 22px;
  box-shadow: 0 15px 35px rgba(0,28,73,.15);
}
.pillar img { width: 58px; height: 58px; display: block; }
.pillar > div { min-width: 0; }
.pillar strong { font-size: 18px; line-height: 1.45; }
.pillar span { margin-top: 4px; display: block; color: var(--jpscs-blue); font-size: 11px; font-weight: 700; }
.hero-mark { position: absolute; right: 28px; bottom: 26px; margin: 0; color: #fff; font-size: 38px; font-weight: 800; line-height: 1; text-align: right; text-shadow: 0 2px 10px rgba(0,0,0,.3); }
.hero-mark small { margin-top: 9px; display: block; font-size: 17px; }

.promotions { width: min(1440px, calc(100% - 56px)); min-height: 190px; margin: 18px auto 34px; display: grid; grid-template-columns: 1.15fr repeat(2, .88fr); gap: 16px; }
.promotion-card { position: relative; overflow: hidden; min-height: 218px; border-radius: 8px; background: var(--jpscs-pale); box-shadow: 0 5px 20px rgba(0,35,88,.08); }
.promotion-card picture, .promotion-card img { width: 100%; height: 100%; display: block; }
.promotion-card img { object-fit: cover; transition: transform .3s ease; }
.promotion-card:hover img { transform: scale(1.025); }
.editor-empty-state { grid-column: 1 / -1; min-height: 180px; display: grid; place-content: center; gap: 4px; color: var(--jpscs-navy); text-align: center; background: var(--jpscs-pale); border: 2px dashed #aac0dc; border-radius: 8px; }

.news-grid { width: min(1440px, calc(100% - 56px)); margin: 0 auto 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.news-panel { padding: 25px 30px 12px; border: 1px solid var(--jpscs-line); border-radius: 9px; box-shadow: 0 4px 18px rgba(0,35,88,.04); }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--jpscs-line); }
.section-heading h2 { margin: 0 0 13px; color: var(--jpscs-navy); font-size: 20px; }
.section-heading a { color: var(--jpscs-navy); font-size: 13px; font-weight: 800; }
.news-row { min-height: 68px; display: grid; grid-template-columns: 86px 92px 1fr 20px; align-items: center; gap: 12px; border-bottom: 1px solid var(--jpscs-line); }
.news-row:last-child { border: 0; }
.news-row:hover strong { color: var(--jpscs-blue); }
.news-type { padding: 4px 7px; color: #fff; background: var(--jpscs-navy); border-radius: 3px; font-size: 11px; font-weight: 800; text-align: center; }
.news-row time { font-size: 12px; font-weight: 700; }
.news-row strong { font-size: 13px; line-height: 1.45; }
.news-row .ui-arrow { color: var(--jpscs-navy); font-size: 20px; }
.empty-message { padding: 20px 0; color: var(--jpscs-muted); font-size: 13px; }

.benefits-section { width: min(1440px, calc(100% - 56px)); margin: 0 auto 26px; padding: 0 30px 28px; border: 1px solid var(--jpscs-line); border-radius: 9px; }
.ornament-heading { margin-top: -15px; display: flex; align-items: center; justify-content: center; gap: 18px; }
.ornament-heading span { width: 55px; height: 1px; background: var(--jpscs-navy); }
.ornament-heading h2 { margin: 0; padding: 0 10px; color: var(--jpscs-navy); background: #fff; font-size: 21px; }
.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.benefit { padding: 26px 30px 8px; text-align: center; border-right: 1px solid var(--jpscs-line); }
.benefit:last-child { border: 0; }
.benefit-icon { width: 64px; height: 64px; margin: 0 auto 13px; display: grid; place-items: center; }
.benefit-icon img { width: 64px; height: 64px; display: block; }
.benefit h3 { margin: 0 0 7px; color: var(--jpscs-navy); font-size: 16px; }
.benefit p { margin: 0 auto; max-width: 220px; font-size: 12px; line-height: 1.65; }

.closing-cta { padding: 22px max(40px, calc((100vw - 1400px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 34px; background: #eef5fc; }
.closing-cta > p { margin: 0; color: var(--jpscs-navy); font-size: 17px; font-weight: 800; line-height: 1.6; }
.closing-actions { display: flex; gap: 28px; }
.closing-actions .button { margin: 0; }

.site-footer { position: relative; padding: 30px max(32px, calc((100vw - 1440px) / 2)) 18px; color: #fff; background: linear-gradient(120deg, #062d73, #001b50); }
.footer-grid { display: grid; grid-template-columns: 1.65fr repeat(5, 1fr); gap: 34px; }
.footer-identity .site-brand img, .footer-identity .custom-logo { width: 190px; padding: 7px; background: #fff; border-radius: 3px; }
.footer-identity p { margin: 12px 0 0; font-size: 11px; line-height: 1.65; }
.footer-menu { display: flex; flex-direction: column; }
.footer-menu a { font-size: 12px; opacity: .92; }
.footer-menu li:first-child a { font-size: 14px; font-weight: 800; opacity: 1; }
.footer-menu a:hover, .footer-legal a:hover { text-decoration: underline; opacity: 1; }
.copyright { margin: 18px 0 0; font-size: 11px; text-align: right; opacity: .8; }

.site-main { min-height: 60vh; padding-bottom: 80px; }
.content-shell { width: min(1080px, calc(100% - 40px)); margin: 0 auto; }
.page-header { padding: 48px 0; color: var(--jpscs-navy); background: linear-gradient(100deg, #f3f7fb, #fff); border-bottom: 1px solid var(--jpscs-line); }
.page-header h1 { margin: 0; font-size: clamp(28px, 4vw, 44px); }
.page-kicker { margin: 0 0 7px; color: var(--jpscs-teal); font-weight: 800; }
.breadcrumbs { margin: 24px 0 42px; display: flex; flex-wrap: wrap; gap: 9px; color: var(--jpscs-muted); font-size: 12px; }
.breadcrumbs a { color: var(--jpscs-blue); }
.entry-content { font-size: 16px; }
.entry-content::after { content: ""; display: table; clear: both; }
.archive-list { display: grid; gap: 14px; }
.archive-card { padding: 24px 26px; border: 1px solid var(--jpscs-line); border-radius: 7px; }
.archive-card time { color: var(--jpscs-teal); font-size: 12px; font-weight: 800; }
.archive-card h2 { margin: 4px 0 10px; color: var(--jpscs-navy); font-size: 20px; }
.archive-card p { margin: 0; }

.entry-content > * { max-width: 100%; }
.entry-content h2 { margin-top: 2.2em; padding: .65em .8em; color: #fff; background: var(--jpscs-navy); border-radius: 4px; font-size: 1.45em; }
.entry-content h3 { margin-top: 1.8em; color: var(--jpscs-navy); font-size: 1.25em; }
.entry-content a { color: var(--jpscs-blue); overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: 3px; }
.entry-content .wp-block-button__link { color: #fff; background: var(--jpscs-navy); text-decoration: none; }
.jpscs-introduction { margin-bottom: 54px; padding: 28px 32px; background: var(--jpscs-pale); border-left: 5px solid var(--jpscs-teal); }
.page-id-201 .entry-content > .jpscs-introduction:first-child,
.page-id-292 .entry-content > .jpscs-introduction:first-child,
.page-id-575 .entry-content > .jpscs-introduction:first-child { display: none; }
.jpscs-card-grid { gap: 22px; }
.jpscs-link-card { height: 100%; padding: 26px; border: 1px solid var(--jpscs-line); border-radius: 8px; box-shadow: 0 8px 22px rgba(0,35,88,.06); }
.jpscs-link-card h3 { margin-top: 0; }
.jpscs-document-list ul { margin: 0; padding: 0; list-style: none; }
.jpscs-document-list li { border-bottom: 1px solid var(--jpscs-line); }
.jpscs-document-list li a { padding: 16px 14px; display: flex; align-items: center; justify-content: space-between; }
.jpscs-document-list li a::after { content: "PDF"; padding: 3px 8px; color: #fff; background: var(--jpscs-orange); border-radius: 3px; font-size: 11px; font-weight: 800; }
.jpscs-faq details { margin-bottom: 12px; padding: 0; border: 1px solid var(--jpscs-line); border-radius: 6px; }
.jpscs-faq summary { padding: 16px 20px; color: var(--jpscs-navy); background: var(--jpscs-pale); cursor: pointer; font-weight: 800; }
.jpscs-faq details > p { padding: 0 20px 16px; }

.jpscs-dynamic-list { border-top: 1px solid var(--jpscs-line); }
.jpscs-dynamic-list .news-row { grid-template-columns: 110px 1fr 20px; padding-inline: 12px; }
.jpscs-dynamic-list .news-row time { color: var(--jpscs-teal); }
.jpscs-post-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.jpscs-post-card { overflow: hidden; border: 1px solid var(--jpscs-line); border-radius: 8px; background: #fff; box-shadow: 0 7px 22px rgba(0,35,88,.06); }
.jpscs-post-card__image { display: block; aspect-ratio: 16 / 9; }
.jpscs-post-card__image img { width: 100%; height: 100%; object-fit: cover; }
.jpscs-post-card > div { padding: 22px; }
.jpscs-post-card time { color: var(--jpscs-teal); font-size: 12px; font-weight: 800; }
.jpscs-post-card h2 { margin: 6px 0 12px; padding: 0; color: var(--jpscs-navy); background: none; font-size: 20px; }
.jpscs-post-card h2 a { color: inherit; text-decoration: none; }
.jpscs-post-card p { margin-bottom: 0; font-size: 14px; }

.qualification-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.qualification-card { overflow: hidden; display: grid; grid-template-columns: 180px 1fr; border: 1px solid var(--jpscs-line); border-radius: 8px; background: #fff; box-shadow: 0 7px 22px rgba(0,35,88,.06); }
.qualification-card > div { padding: 22px; }
.qualification-card h2 { margin: 0 0 10px; color: var(--jpscs-navy); font-size: 19px; }
.qualification-image img { width: 100%; height: 100%; object-fit: cover; }
.qualification-card p { font-size: 13px; }
.text-link { color: var(--jpscs-blue); font-size: 13px; font-weight: 800; }

.glossary-filter { margin: 0 0 36px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 9px; }
.glossary-filter a { padding: 12px 8px; color: var(--jpscs-navy); background: var(--jpscs-pale); border: 1px solid var(--jpscs-line); border-radius: 5px; font-size: 13px; font-weight: 800; text-align: center; }
.glossary-filter a.is-current, .glossary-filter a:hover { color: #fff; background: var(--jpscs-navy); }
.glossary-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.glossary-card { min-height: 92px; padding: 16px 18px; display: grid; grid-template-columns: 1fr auto; align-items: center; color: var(--jpscs-navy); border: 1px solid var(--jpscs-line); border-radius: 6px; }
.glossary-card span:first-child { grid-column: 1 / -1; color: var(--jpscs-teal); font-size: 11px; }
.glossary-card:hover { background: var(--jpscs-pale); border-color: #aac0dc; }
.glossary-english { margin: 0 0 26px; padding: 13px 16px; color: var(--jpscs-navy); background: var(--jpscs-pale); border-radius: 5px; }

@media (max-width: 1180px) {
  .admin-bar .site-header { top: 32px; }
  .header-inner { width: min(100% - 32px, 1000px); min-height: 84px; }
  .brand-wrap { flex-basis: 205px; }
  .site-brand img, .custom-logo { width: 205px; }
  .header-navigation { display: none; }
  .menu-toggle { width: 52px; height: 52px; margin-left: auto; padding: 12px; display: grid; align-content: center; gap: 6px; border: 0; background: var(--jpscs-navy); cursor: pointer; }
  .menu-toggle > span:not(.screen-reader-text) { height: 2px; display: block; background: #fff; transition: transform .2s ease, opacity .2s ease; }
  .menu-toggle.is-active > span:nth-of-type(2) { transform: translateY(8px) rotate(45deg); }
  .menu-toggle.is-active > span:nth-of-type(3) { opacity: 0; }
  .menu-toggle.is-active > span:nth-of-type(4) { transform: translateY(-8px) rotate(-45deg); }
  .mobile-menu { display: block; position: absolute; left: 0; right: 0; top: 84px; padding: 12px 22px 24px; background: #fff; border-bottom: 3px solid var(--jpscs-navy); box-shadow: var(--jpscs-shadow); }
  .mobile-menu[hidden] { display: none; }
  .mobile-primary-menu a { padding: 13px 8px; display: flex; justify-content: space-between; border-bottom: 1px solid var(--jpscs-line); color: var(--jpscs-navy); font-weight: 700; }
  .mobile-primary-menu .sub-menu { margin: 0; padding: 0 0 0 18px; list-style: none; background: var(--jpscs-pale); }
  .mobile-menu .login-link { margin-top: 12px; display: flex; justify-content: center; color: #fff; }
  .home-hero { grid-template-columns: 47% 53%; }
  .hero-copy { padding-left: 28px; padding-right: 28px; }
  .footer-grid { grid-template-columns: 1.6fr repeat(3, 1fr); }
}

@media (max-width: 840px) {
  .admin-bar .site-header { top: 46px; }
  .home-hero { width: 100%; display: flex; flex-direction: column; }
  .hero-copy { padding: 52px 28px 44px; }
  .hero-copy h1 { font-size: clamp(35px, 10vw, 52px); }
  .hero-visual { min-height: 520px; }
  .pillar-list { width: 58%; top: 45px; }
  .promotions { width: calc(100% - 32px); grid-template-columns: 1fr 1fr; }
  .promotion-card { min-height: 200px; }
  .promotion-card--wide { grid-column: 1 / -1; min-height: 230px; }
  .news-grid { width: calc(100% - 32px); grid-template-columns: 1fr; }
  .benefits-section { width: calc(100% - 32px); }
  .benefits-grid { grid-template-columns: 1fr 1fr; }
  .benefit:nth-child(2) { border-right: 0; }
  .benefit:nth-child(-n+2) { border-bottom: 1px solid var(--jpscs-line); }
  .closing-cta { padding: 28px 24px; flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .qualification-grid { grid-template-columns: 1fr; }
  .jpscs-post-card-grid { grid-template-columns: 1fr; }
  .glossary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 841px) {
  .hero-copy h1 span { white-space: nowrap; }
}

@media (max-width: 600px) {
  .header-inner { width: calc(100% - 24px); }
  .brand-wrap, .site-brand img, .custom-logo { width: 180px; flex-basis: 180px; }
  .hero-copy { padding-left: 24px; padding-right: 24px; }
  .hero-copy h1 { font-size: clamp(26px, 8.4vw, 46px); letter-spacing: 0; }
  .hero-copy h1 span { white-space: nowrap; }
  .hero-copy > p:not(.eyebrow) { font-size: 13px; }
  .button { width: 100%; }
  .hero-visual { min-height: 470px; }
  .pillar-list { left: 20px; right: 20px; width: auto; top: 30px; gap: 10px; }
  .pillar { min-height: 92px; padding: 14px 18px; border-radius: 14px; }
  .pillar { grid-template-columns: 48px minmax(0, 1fr); gap: 13px; }
  .pillar img { width: 48px; height: 48px; }
  .pillar strong { font-size: 15px; }
  .hero-mark { font-size: 28px; }
  .hero-mark small { font-size: 13px; }
  .promotions { display: flex; min-height: 0; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; }
  .promotion-card, .promotion-card--wide { flex: 0 0 86vw; min-height: 190px; scroll-snap-align: start; }
  .news-panel { padding: 20px 18px 8px; }
  .section-heading h2 { font-size: 17px; }
  .news-row { grid-template-columns: 72px 1fr 18px; gap: 8px; padding: 14px 0; }
  .news-row time { grid-column: 2; grid-row: 1; }
  .news-row strong { grid-column: 1 / 3; grid-row: 2; font-size: 13px; }
  .news-row .ui-arrow { grid-column: 3; grid-row: 1 / 3; }
  .benefits-section { padding-inline: 14px; }
  .benefits-grid { grid-template-columns: 1fr; }
  .benefit { border-right: 0; border-bottom: 1px solid var(--jpscs-line); }
  .benefit:nth-child(3) { border-bottom: 1px solid var(--jpscs-line); }
  .closing-actions { width: 100%; flex-direction: column; gap: 10px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-identity { grid-column: 1 / -1; }
  .copyright { text-align: left; }
  .page-header { padding: 34px 0; }
  .jpscs-card-grid { display: block; }
  .jpscs-link-card { margin-bottom: 16px; }
  .jpscs-dynamic-list .news-row { grid-template-columns: 88px 1fr 18px; }
  .jpscs-dynamic-list .news-row time { grid-column: 1; grid-row: 1; }
  .jpscs-dynamic-list .news-row strong { grid-column: 1 / 3; grid-row: 2; }
  .qualification-card { grid-template-columns: 1fr; }
  .qualification-image img { max-height: 220px; }
  .glossary-filter { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .glossary-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
