:root {
  --ink: #10233f;
  --text: #263140;
  --muted: #637083;
  --line: #dbe3ee;
  --blue: #2463d7;
  --blue-soft: #e9f2ff;
  --orange: #ff7a30;
  --paper: #ffffff;
  --canvas: #f5f8fc;
  --shadow: 0 24px 70px rgba(16, 35, 63, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--canvas);
  font-family: "Noto Sans JP", "Yu Gothic", YuGothic, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.8;
}

body * {
  box-sizing: border-box;
}

a {
  color: var(--blue);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 16px;
  color: #fff;
  background: var(--ink);
  border-radius: 8px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.preview-ribbon {
  min-height: 30px;
  padding: 4px 16px;
  color: #5b3a00;
  background: #fff0be;
  border-bottom: 1px solid #f2d56d;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-align: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 10px max(24px, calc((100vw - 1180px) / 2));
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(219, 227, 238, 0.88);
  backdrop-filter: blur(16px);
}

.site-brand,
.footer-brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
}

.site-brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.site-brand span {
  display: grid;
  line-height: 1.25;
}

.site-brand strong {
  font-size: 1.2rem;
}

.site-brand small {
  color: var(--muted);
  font-size: 0.72rem;
}

.site-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}

.site-nav a {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--blue);
}

.site-nav .site-nav__cta {
  padding: 10px 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), #ff9f3f);
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(255, 122, 48, 0.22);
}

.site-nav .site-nav__cta:hover,
.site-nav .site-nav__cta:focus-visible {
  color: #fff;
}

.nav-toggle {
  display: none;
  flex-shrink: 0;
  white-space: nowrap;
  min-height: 42px;
  padding: 0 15px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
}

.pasonco-front .pasonco-hero {
  min-height: calc(100vh - 108px);
}

.pasonco-front .pasonco-hero::before,
.pasonco-front .pasonco-hero::after {
  z-index: 0;
}

.pasonco-front .pasonco-hero__inner {
  z-index: 2;
}

.pasonco-front .pasonco-hero__logo {
  width: 170px;
  height: auto;
  object-fit: contain;
}

.migration-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.migration-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 16px 45px rgba(16, 35, 63, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.migration-card__link {
  display: flex;
  flex: 1;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.migration-card__link:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: -3px;
}

.migration-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 55px rgba(16, 35, 63, 0.13);
}

.migration-card__image {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--blue-soft);
}

.migration-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 280ms ease;
}

.migration-card:hover .migration-card__image img {
  transform: scale(1.035);
}

.migration-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.migration-card__meta {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.76rem;
}

.migration-card__meta span {
  padding: 3px 9px;
  color: var(--blue);
  background: var(--blue-soft);
  border-radius: 999px;
  font-weight: 800;
}

.migration-card h3 {
  display: -webkit-box;
  margin: 14px 0 8px;
  color: var(--ink);
  font-size: 1.1rem;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.migration-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.migration-card[hidden] {
  display: none;
}

.section-action {
  margin: 30px 0 0;
  text-align: right;
}

.article-shell,
.archive-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 52px 0 100px;
}

.archive-shell {
  width: min(1240px, calc(100% - 40px));
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 0.8rem;
  overflow-wrap: anywhere;
}

.breadcrumb a {
  flex: 0 0 auto;
  white-space: nowrap;
  color: var(--blue);
  text-decoration: none;
}

.article-card {
  width: min(900px, 100%);
  margin: 0 auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.article-header {
  padding: clamp(28px, 6vw, 64px) clamp(24px, 7vw, 72px) 34px;
  border-bottom: 1px solid var(--line);
}

.article-eyebrow {
  display: inline-flex;
  padding: 5px 11px;
  color: var(--blue);
  background: var(--blue-soft);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.article-header h1,
.archive-hero h1,
.not-found h1 {
  margin: 18px 0;
  color: var(--ink);
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.3;
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
}

.article-dates {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 0.82rem;
}

.article-generated-cover {
  margin: 30px clamp(24px, 7vw, 72px) 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #eef4fb;
  box-shadow: 0 16px 34px rgba(15, 40, 73, 0.1);
}

.article-generated-cover img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.pasonco-audience-paths {
  padding: clamp(60px, 8vw, 96px) 0;
  background: #fff;
}

.pasonco-audience-paths__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.pasonco-audience-card {
  position: relative;
  display: flex;
  min-height: 300px;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: clamp(28px, 4vw, 46px);
  color: #fff;
  border-radius: 30px;
  box-shadow: 0 22px 54px rgba(15, 40, 73, 0.14);
  text-decoration: none;
  isolation: isolate;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.pasonco-audience-card::before,
.pasonco-audience-card::after {
  position: absolute;
  content: '';
  z-index: -1;
}

.pasonco-audience-card::before {
  inset: 0;
}

.pasonco-audience-card::after {
  top: -34px;
  right: -18px;
  width: 220px;
  height: 220px;
  border: 14px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background-position: center;
  background-size: cover;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16), 0 18px 40px rgba(7, 35, 62, 0.18);
  opacity: 0.56;
}

.pasonco-audience-card--kids::before {
  background: linear-gradient(135deg, #215faa, #4389e9);
}

.pasonco-audience-card--kids::after {
  background-image:
    linear-gradient(145deg, rgba(33, 95, 170, 0.08), rgba(33, 95, 170, 0.4)),
    url('/assets/brand/hero-slide-02-fast.jpg');
  background-position: 58% center;
}

.pasonco-audience-card--adult::before {
  background: linear-gradient(135deg, #123d50, #0c7b77 58%, #16a39b);
}

.pasonco-audience-card--adult::after {
  background-image:
    linear-gradient(145deg, rgba(18, 61, 80, 0.06), rgba(12, 123, 119, 0.42)),
    url('/assets/brand/adult/adult-hero-v1.jpg');
  background-position: 64% center;
}

.pasonco-audience-card:hover,
.pasonco-audience-card:focus-visible {
  color: #fff;
  transform: translateY(-5px);
  box-shadow: 0 28px 64px rgba(15, 40, 73, 0.2);
}

.pasonco-audience-card > span {
  margin-bottom: auto;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.pasonco-audience-card strong {
  display: block;
  margin-top: 30px;
  color: #fff;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.35;
}

.pasonco-audience-card p {
  max-width: 35rem;
  margin: 14px 0 24px;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.85;
}

.pasonco-audience-card small {
  color: #fff;
  font-weight: 900;
}

.pasonco-owned-services {
  position: relative;
  overflow: hidden;
  padding: clamp(68px, 8vw, 104px) 0;
  background:
    radial-gradient(circle at 6% 4%, rgba(63, 131, 218, 0.12), transparent 30%),
    radial-gradient(circle at 94% 92%, rgba(23, 158, 146, 0.12), transparent 32%),
    #f6f9fd;
}

.pasonco-owned-services__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.pasonco-owned-service {
  --service-accent: #2869bd;
  --service-soft: #eaf3ff;
  position: relative;
  display: flex;
  min-height: 480px;
  flex-direction: column;
  overflow: hidden;
  padding: clamp(20px, 2.4vw, 28px);
  color: var(--ink);
  border: 1px solid rgba(15, 40, 73, 0.09);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 42px rgba(15, 40, 73, 0.09);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.pasonco-owned-service::after {
  display: none;
}

.pasonco-owned-service__visual {
  position: relative;
  z-index: 1;
  display: block;
  height: 150px;
  margin: 0 0 24px;
  overflow: hidden;
  border-radius: 20px;
  background: var(--service-soft);
}

.pasonco-owned-service__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

.pasonco-owned-service:hover .pasonco-owned-service__visual img,
.pasonco-owned-service:focus-visible .pasonco-owned-service__visual img {
  transform: scale(1.035);
}

.pasonco-owned-service:hover,
.pasonco-owned-service:focus-visible {
  color: var(--ink);
  border-color: color-mix(in srgb, var(--service-accent) 35%, transparent);
  transform: translateY(-6px);
  box-shadow: 0 26px 56px rgba(15, 40, 73, 0.15);
}

.pasonco-owned-service--progkids {
  --service-accent: #2869bd;
  --service-soft: #dcecff;
}

.pasonco-owned-service--dsl {
  --service-accent: #7c4dcc;
  --service-soft: #eee5ff;
}

.pasonco-owned-service--2h {
  --service-accent: #0b8279;
  --service-soft: #dcf4f0;
}

.pasonco-owned-service__mark {
  position: relative;
  z-index: 1;
  display: grid;
  width: 62px;
  height: 62px;
  margin-bottom: 28px;
  place-items: center;
  color: #fff;
  border-radius: 19px;
  background: var(--service-accent);
  box-shadow: 0 12px 24px color-mix(in srgb, var(--service-accent) 25%, transparent);
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.pasonco-owned-service__audience {
  color: var(--service-accent);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.pasonco-owned-service h3 {
  max-width: 15rem;
  margin: 8px 0 14px;
  color: var(--ink);
  font-size: clamp(1.42rem, 2.2vw, 1.88rem);
  line-height: 1.35;
}

.pasonco-owned-service p {
  margin: 0 0 28px;
  color: var(--muted);
  line-height: 1.85;
}

.pasonco-owned-service > strong {
  margin-top: auto;
  color: var(--service-accent);
  font-size: 0.92rem;
}

.pasonco-adult-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 9vw, 128px) 0;
  background:
    radial-gradient(circle at 8% 18%, rgba(37, 171, 161, 0.18), transparent 31%),
    radial-gradient(circle at 92% 82%, rgba(255, 168, 72, 0.14), transparent 29%),
    linear-gradient(135deg, #eef9f8 0%, #f8fbff 55%, #fff8ed 100%);
}

.pasonco-adult-hero::after {
  position: absolute;
  top: -100px;
  right: -90px;
  width: 340px;
  height: 340px;
  border: 70px solid rgba(16, 130, 121, 0.07);
  border-radius: 50%;
  content: '';
}

.pasonco-adult-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: clamp(42px, 6vw, 82px);
  align-items: center;
}

.pasonco-adult-hero h1 {
  margin: 14px 0 24px;
  color: var(--ink);
  font-size: clamp(2.45rem, 5.2vw, 4.85rem);
  line-height: 1.18;
  letter-spacing: -0.045em;
}

.pasonco-adult-hero__lead {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.95;
}

.pasonco-adult-hero__topics {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.pasonco-adult-hero__topics li {
  padding: 8px 13px;
  color: #0b625d;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(12, 123, 119, 0.18);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
}

.pasonco-adult-hero__visual {
  position: relative;
  margin: 0;
}

.pasonco-adult-hero__visual::before {
  position: absolute;
  inset: -16px 18px 18px -16px;
  border: 2px solid rgba(12, 123, 119, 0.18);
  border-radius: 34px;
  content: '';
}

.pasonco-adult-hero__visual img {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 30px;
  box-shadow: 0 30px 70px rgba(15, 59, 72, 0.2);
}

.pasonco-adult-hero__visual figcaption {
  position: relative;
  width: min(88%, 480px);
  margin: -28px auto 0;
  padding: 14px 18px;
  color: #123d50;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(12, 123, 119, 0.14);
  border-radius: 15px;
  box-shadow: 0 16px 36px rgba(15, 59, 72, 0.14);
  font-size: 0.84rem;
  font-weight: 800;
  text-align: center;
}

.pasonco-adult-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.pasonco-adult-service-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 18px 48px rgba(15, 40, 73, 0.09);
}

.pasonco-adult-service-card > img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 8.8;
  object-fit: cover;
}

.pasonco-adult-service-card > div {
  padding: clamp(24px, 4vw, 36px);
}

.pasonco-adult-service-card span {
  color: #0c7b77;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pasonco-adult-service-card h3 {
  margin: 10px 0 12px;
  color: var(--ink);
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
}

.pasonco-adult-service-card p,
.pasonco-adult-service-card li {
  color: var(--muted);
  line-height: 1.85;
}

.pasonco-adult-service-card ul {
  display: grid;
  gap: 7px;
  margin: 18px 0 0;
  padding-left: 1.25em;
}

.pasonco-adult-fit {
  display: grid;
  grid-template-columns: minmax(380px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(42px, 7vw, 86px);
  align-items: center;
}

.pasonco-adult-fit__visual img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 30px;
  box-shadow: 0 24px 60px rgba(15, 59, 72, 0.15);
}

.pasonco-adult-fit__list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.pasonco-adult-fit__list article {
  padding: 18px 20px;
  background: #fff;
  border: 1px solid rgba(12, 123, 119, 0.15);
  border-radius: 17px;
}

.pasonco-adult-fit__list h3 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 1.02rem;
}

.pasonco-adult-fit__list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.75;
}

.pasonco-adult-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pasonco-adult-flow li {
  position: relative;
  min-height: 230px;
  padding: 26px 23px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 23px;
  box-shadow: 0 14px 36px rgba(15, 40, 73, 0.07);
}

.pasonco-adult-flow span {
  color: #0c7b77;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.pasonco-adult-flow h3 {
  margin: 34px 0 10px;
  color: var(--ink);
  font-size: 1.18rem;
}

.pasonco-adult-flow p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.8;
}

.pasonco-search-intent {
  padding: clamp(64px, 8vw, 104px) 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(67, 137, 233, 0.16), transparent 34%),
    linear-gradient(135deg, #eef6ff 0%, #f9fbff 50%, #fff7e7 100%);
}

.pasonco-search-intent__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: center;
}

.pasonco-search-intent__content h2 {
  margin: 12px 0 22px;
  color: var(--ink);
  font-size: clamp(2rem, 4.4vw, 3.35rem);
  line-height: 1.3;
  letter-spacing: -0.035em;
}

.pasonco-search-intent__content > p:not(.pasonco-kicker) {
  color: var(--muted);
  line-height: 1.95;
}

.pasonco-search-intent__points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.pasonco-search-intent__points article {
  min-height: 190px;
  padding: 24px;
  border: 1px solid rgba(31, 86, 155, 0.14);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 36px rgba(15, 40, 73, 0.08);
}

.pasonco-search-intent__points span {
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.pasonco-search-intent__points h3 {
  margin: 10px 0 8px;
  color: var(--ink);
  font-size: 1.12rem;
}

.pasonco-search-intent__points p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.8;
}

.wp-content {
  padding: clamp(28px, 6vw, 72px);
  font-size: 1.04rem;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.wp-content > :first-child {
  margin-top: 0;
}

.wp-content > :last-child {
  margin-bottom: 0;
}

.wp-content h2 {
  margin: 2.7em 0 1em;
  padding: 0 0 12px;
  color: var(--ink);
  border-bottom: 3px solid var(--blue);
  font-size: clamp(1.5rem, 4vw, 2rem);
  line-height: 1.4;
}

.wp-content h3 {
  margin: 2.2em 0 0.8em;
  padding-left: 15px;
  color: var(--ink);
  border-left: 5px solid var(--orange);
  font-size: 1.3rem;
  line-height: 1.5;
}

.wp-content h4 {
  margin: 1.8em 0 0.6em;
  color: var(--ink);
  font-size: 1.1rem;
}

.wp-content p,
.wp-content ul,
.wp-content ol {
  margin: 1.2em 0;
}

.wp-content img,
.wp-content video,
.wp-content .article-report-photo { margin: 28px 0; }
.article-report-photo img { display: block; width: 100%; height: auto; }
.article-report-photo figcaption { margin-top: 10px; color: var(--muted); font-size: 0.85rem; line-height: 1.7; }

.wp-content iframe {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
}

.wp-content iframe {
  width: 100%;
  min-height: 420px;
  border: 1px solid var(--line);
}

.wp-content table {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 28px 0;
  border-collapse: collapse;
  overflow-x: auto;
}

.wp-content th,
.wp-content td {
  min-width: 120px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.wp-content th {
  color: var(--ink);
  background: var(--blue-soft);
}

.wp-content blockquote {
  margin: 26px 0;
  padding: 18px 22px;
  color: #435269;
  background: #f6f8fb;
  border-left: 5px solid #91b7ff;
}

.wp-content pre,
.wp-content code {
  font-family: "Cascadia Code", Consolas, monospace;
}

.wp-content pre {
  max-width: 100%;
  padding: 18px;
  color: #e7efff;
  background: #14233a;
  border-radius: 14px;
  overflow-x: auto;
}

.wp-content a {
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.article-pagination {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: min(900px, 100%);
  margin: 24px auto 0;
}

.related-posts {
  width: min(900px, 100%);
  margin: 32px auto 0;
  padding: 30px;
  background: linear-gradient(145deg, #f4f8ff, #fff);
  border: 1px solid #dbe7f8;
  border-radius: 24px;
}

.article-discovery {
  width: min(900px, 100%);
  margin: 32px auto 0;
  overflow: hidden;
  border: 1px solid #dbe7f8;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 40, 73, 0.07);
}

.article-school-banner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  overflow: hidden;
  padding: clamp(24px, 4vw, 32px);
  color: var(--ink);
  border-radius: 0;
  background:
    radial-gradient(circle at 92% 12%, rgba(64, 139, 226, 0.12), transparent 28%),
    linear-gradient(135deg, #f5f9ff 0%, #eef6ff 60%, #f4fbff 100%);
}

.article-school-banner::after {
  position: absolute;
  top: -74px;
  right: -48px;
  width: 220px;
  height: 220px;
  border: 24px solid rgba(50, 125, 212, 0.07);
  border-radius: 50%;
  content: '';
  pointer-events: none;
}

.article-school-banner__content,
.article-school-banner__actions {
  position: relative;
  z-index: 1;
}

.article-school-banner__label {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.article-school-banner h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.42rem, 2.6vw, 1.9rem);
  line-height: 1.42;
}

.article-school-banner__content > p:last-child {
  max-width: 42rem;
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.article-school-banner__actions {
  display: grid;
  gap: 10px;
  min-width: 176px;
}

.article-school-banner__actions a {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  color: #fff;
  border-radius: 12px;
  background: var(--blue);
  font-size: 0.86rem;
  font-weight: 900;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease;
}

.article-school-banner__actions a:last-child {
  color: #174a80;
  background: #fff;
  box-shadow: inset 0 0 0 1px #b9d4f1;
}

.article-school-banner__actions a:hover,
.article-school-banner__actions a:focus-visible {
  transform: translateX(3px);
}

.article-service-banners {
  margin-top: 0;
  padding: 20px 24px 22px;
  border: 0;
  border-top: 1px solid #dbe7f8;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.article-service-banners__head {
  display: flex;
  gap: 24px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 13px;
}

.article-service-banners__head h2,
.article-service-banners__head p {
  margin: 0;
}

.article-service-banners__head h2 {
  margin-top: 3px;
  color: var(--ink);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
}

.article-service-banners__head > p {
  color: var(--muted);
  font-size: 0.84rem;
}

.article-service-banners__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.article-service-banner {
  --banner-color: #2869bd;
  --banner-soft: #edf5ff;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  min-width: 0;
  padding: 10px 12px;
  color: var(--ink);
  border: 1px solid color-mix(in srgb, var(--banner-color) 18%, transparent);
  border-radius: 15px;
  background: var(--banner-soft);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.article-service-banner:hover,
.article-service-banner:focus-visible {
  color: var(--ink);
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(15, 40, 73, 0.11);
}

.article-service-banner--progkids {
  --banner-color: #2869bd;
  --banner-soft: #edf5ff;
}

.article-service-banner--dsl {
  --banner-color: #7c4dcc;
  --banner-soft: #f5f0ff;
}

.article-service-banner--2h {
  --banner-color: #0b8279;
  --banner-soft: #eaf8f5;
}

.article-service-banner__mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #fff;
  border-radius: 12px;
  background: var(--banner-color);
  font-size: 0.68rem;
  font-weight: 900;
}

.article-service-banner > span:nth-child(2) {
  min-width: 0;
}

.article-service-banner small,
.article-service-banner strong {
  display: block;
}

.article-service-banner small {
  margin-bottom: 2px;
  color: var(--banner-color);
  font-size: 0.68rem;
  font-weight: 800;
}

.article-service-banner strong {
  color: var(--ink);
  font-size: 0.83rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.article-service-banner > b {
  color: var(--banner-color);
  font-size: 1rem;
}

.related-posts__head {
  display: flex;
  gap: 20px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 20px;
}

.related-posts__head h2,
.related-posts__head p {
  margin: 0;
}

.related-posts__head h2 {
  margin-top: 3px;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
}

.related-posts__head > a {
  flex: 0 0 auto;
  color: var(--blue);
  font-size: 0.88rem;
  font-weight: 800;
  text-underline-offset: 0.2em;
}

.related-posts__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.related-card {
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(16, 35, 63, 0.07);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.related-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(16, 35, 63, 0.12);
}

.related-card__link {
  display: block;
  height: 100%;
  color: var(--ink);
  text-decoration: none;
}

.related-card__image {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--blue-soft);
}

.related-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

.related-card:hover .related-card__image img {
  transform: scale(1.035);
}

.related-card__body {
  display: block;
  padding: 15px 16px 18px;
}

.related-card__meta {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 0.72rem;
}

.related-card__meta > span {
  max-width: 62%;
  padding: 3px 8px;
  color: var(--blue);
  background: var(--blue-soft);
  border-radius: 999px;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.related-card__body strong {
  display: -webkit-box;
  font-size: 0.98rem;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.article-pagination a {
  display: grid;
  padding: 18px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
}

.article-pagination a:last-child {
  text-align: right;
}

.article-pagination small {
  color: var(--blue);
}

.article-cta {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  width: min(900px, 100%);
  margin: 36px auto 0;
  padding: 28px 32px;
  color: #fff;
  background: linear-gradient(135deg, #10233f, #234d88);
  border-radius: 22px;
}

.article-cta h2,
.article-cta p {
  margin: 0;
}

.article-cta .pasonco-kicker {
  color: #8fb8ff;
}

.migration-form {
  margin: 30px 0;
  padding: 24px;
  background: #f8fbff;
  border: 1px solid #cfe0ff;
  border-radius: 18px;
}

.migration-notice,
.migration-service-note {
  margin-bottom: 22px;
  padding: 14px 16px;
  color: #5b3a00;
  background: #fff5d8;
  border: 1px solid #f0d987;
  border-radius: 12px;
}

.form-country-policy,
.form-country-block {
  margin-bottom: 18px;
  padding: 16px 18px;
  border-radius: 14px;
}

.form-country-policy {
  color: #173f70;
  background: #eef6ff;
  border: 1px solid #b9d5f7;
}

.form-country-block {
  color: #7a241d;
  background: #fff0ee;
  border: 1px solid #edb8b2;
}

.form-country-policy strong,
.form-country-block strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1rem;
}

.form-country-policy p,
.form-country-block p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.7;
}

.migration-notice {
  display: grid;
  gap: 3px;
}

.migration-service-note p {
  margin: 8px 0 0;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.migration-form label {
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
  color: var(--ink);
  font-weight: 800;
}

.migration-form label span {
  margin-left: 6px;
  color: #c33;
  font-size: 0.75rem;
}

.migration-form input,
.migration-form textarea {
  width: 100%;
  padding: 12px 14px;
  color: var(--text);
  background: #fff;
  border: 1px solid #bfcde0;
  border-radius: 10px;
  font: inherit;
}

.migration-form button {
  padding: 12px 20px;
  color: #fff;
  background: var(--blue);
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.form-status {
  color: #8a4d00;
  font-weight: 800;
}

.archive-hero {
  max-width: 800px;
  margin: 0 0 44px;
}

.archive-hero p {
  color: var(--muted);
}

.archive-browser {
  display: grid;
  gap: 28px;
}

.archive-toolbar {
  display: grid;
  grid-template-columns: minmax(170px, auto) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 12px 34px rgba(16, 35, 63, 0.06);
}

.archive-toolbar strong {
  color: var(--ink);
}

.archive-toolbar p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.category-filter {
  display: flex;
  gap: 8px;
  min-width: 0;
  padding: 3px 2px 8px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.category-filter button {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 7px;
  align-items: center;
  min-height: 40px;
  padding: 8px 13px;
  color: var(--text);
  background: #f4f7fb;
  border: 1px solid var(--line);
  border-radius: 999px;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
}

.category-filter button span {
  min-width: 22px;
  padding: 1px 6px;
  color: var(--muted);
  background: #fff;
  border-radius: 999px;
  font-size: 0.7rem;
  text-align: center;
}

.category-filter button[aria-pressed="true"] {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.category-filter button[aria-pressed="true"] span {
  color: var(--blue);
}

@media (min-width: 901px) {
  .category-filter {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
    padding: 0;
    overflow: visible;
  }

  .category-filter button {
    width: 100%;
    min-width: 0;
    justify-content: center;
    white-space: normal;
  }
}

.migration-card-grid--archive {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.archive-empty {
  margin: 0;
  padding: 42px 20px;
  color: var(--muted);
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: 18px;
  text-align: center;
}

.category-directory {
  display: grid;
  gap: 30px;
}

.category-directory section {
  padding: 22px;
  background: #f8fbff;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.category-directory__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.category-directory__head h2 {
  margin: 0 0 12px;
  padding: 0;
  border: 0;
}

.category-links {
  display: grid;
  gap: 9px;
  padding-top: 14px;
}

.holiday-shell {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 58px 0 110px;
}

.classroom-access-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}
.classroom-access-grid article {
  padding: 24px 0;
  border-top: 1px solid #ccd6df;
  scroll-margin-top: 100px;
}
.classroom-access-grid h3 { margin: 0 0 14px; font-size: 1.25rem; }
.classroom-access-grid address { font-style: normal; line-height: 1.9; }
.classroom-access-grid a, .classroom-access-note a, .article-publisher a {
  color: #235fa5;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.classroom-access-note { margin: 24px 0 0; font-size: 0.9rem; }
.article-publisher { margin: 12px 0 0; font-size: 0.85rem; color: #526477; }
@media (max-width: 620px) {
  .classroom-access-grid { grid-template-columns: 1fr; gap: 8px; }
}

.holiday-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: center;
  overflow: hidden;
  padding: 28px 0 36px;
  color: #22364a;
  background: transparent;
  border-bottom: 1px solid #cbd3da;
  border-radius: 0;
  box-shadow: none;
}

.holiday-hero::after {
  position: absolute;
  top: -110px;
  right: -80px;
  width: 320px;
  height: 320px;
  border: 56px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: none;
}

.holiday-hero > * {
  position: relative;
  z-index: 1;
}

.holiday-hero .pasonco-kicker {
  color: #647580;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
}

.holiday-hero h1 {
  margin: 16px 0 18px;
  color: #22364a;
  font-size: clamp(1.75rem, 3.4vw, 2.8rem);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.035em;
}

.holiday-hero p:last-child {
  max-width: 760px;
  margin: 0;
  color: #62717b;
  font-size: 0.95rem;
}

.holiday-hero__mark {
  display: grid;
  width: 148px;
  height: 148px;
  place-content: center;
  color: #8a3a00;
  background: linear-gradient(145deg, #fff6e4, #ffca75);
  border: 8px solid rgba(255, 255, 255, 0.24);
  border-radius: 38px;
  box-shadow: 0 22px 45px rgba(4, 27, 58, 0.24);
  text-align: center;
  transform: rotate(3deg);
}

.holiday-hero__mark span {
  font-size: 3.3rem;
  font-weight: 900;
  line-height: 1;
}

.holiday-hero__mark small {
  margin-top: 7px;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.holiday-year-links {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin: 28px 0;
}

.holiday-year-links a {
  min-width: 138px;
  padding: 11px 22px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(16, 35, 63, 0.07);
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}

.holiday-year-links a:hover,
.holiday-year-links a:focus-visible {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.holiday-notice {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: center;
  margin-bottom: 54px;
  padding: 18px 22px;
  background: #fff;
  border: 1px solid #ffd3a8;
  border-radius: 18px;
}

.holiday-notice strong {
  color: var(--ink);
}

.holiday-notice p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.holiday-notice p > span {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 8px;
  vertical-align: -2px;
  background: #fff0dd;
  border: 2px solid #ff8a3d;
  border-radius: 4px;
}

.holiday-year {
  scroll-margin-top: 110px;
  margin-top: 68px;
}

.holiday-year__head {
  display: flex;
  gap: 30px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 24px;
}

.holiday-year__head h2 {
  margin: 4px 0 2px;
  color: var(--ink);
  font-size: clamp(2.1rem, 4vw, 3.25rem);
  line-height: 1.2;
}

.holiday-year__head p:last-child {
  margin: 0;
  color: var(--muted);
}

.holiday-year__head > strong {
  display: flex;
  gap: 4px;
  align-items: baseline;
  color: var(--orange);
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  line-height: 1;
}

.holiday-year__head > strong span {
  color: var(--muted);
  font-size: 0.95rem;
}

.holiday-periods {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 24px;
  margin-bottom: 26px;
  padding: 22px;
  background: #fff8ef;
  border: 1px solid #ffe0be;
  border-radius: 20px;
}

.holiday-periods h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
}

.holiday-periods ul {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.holiday-periods li {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 6px 10px;
  color: #763b0a;
  background: #fff;
  border: 1px solid #ffd6ad;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.holiday-periods li span {
  color: #a14a08;
}

.holiday-calendar-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.holiday-empty {
  margin: 32px 0;
  padding: 28px;
  border: 1px solid #d7e2ef;
  border-radius: 18px;
  background: #fff;
  color: #40536a;
  text-align: center;
}

.holiday-month {
  min-width: 0;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 14px 38px rgba(16, 35, 63, 0.07);
}

.holiday-month h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 1.6rem;
  line-height: 1;
}

.holiday-month h3 span {
  margin-left: 2px;
  color: var(--muted);
  font-size: 0.75rem;
}

.holiday-month table {
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 4px;
}

.holiday-month th {
  height: 26px;
  color: #758198;
  font-size: 0.7rem;
  font-weight: 900;
  text-align: center;
}

.holiday-month td {
  position: relative;
  height: 46px;
  padding: 5px 2px;
  color: var(--ink);
  background: #f7f9fc;
  border: 1px solid transparent;
  border-radius: 10px;
  line-height: 1.1;
  text-align: center;
  vertical-align: top;
}

.holiday-month td > span {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
}

.holiday-month td small {
  display: block;
  margin-top: 4px;
  color: #8a3a00;
  font-size: 0.5rem;
  font-weight: 900;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.holiday-month .is-sunday {
  color: #cf3f4e;
}

.holiday-month .is-saturday {
  color: #2463d7;
}

.holiday-month td.is-holiday {
  color: #8a3a00;
  background: #fff0dd;
  border-color: #ff9a53;
  box-shadow: inset 0 0 0 1px rgba(255, 122, 48, 0.12);
}

.holiday-month td.is-holiday > span {
  color: #8a3a00;
}

.holiday-month td.holiday-calendar__empty {
  background: transparent;
}

.holiday-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin-top: 72px;
  padding: clamp(28px, 5vw, 48px);
  color: #fff;
  background: linear-gradient(135deg, #102e55, #2464a4);
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(16, 35, 63, 0.17);
}

.holiday-contact h2 {
  margin: 4px 0 8px;
  color: #fff;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
}

.holiday-contact p:last-child {
  margin: 0;
  color: #dcecff;
}

.holiday-contact > div:last-child {
  display: grid;
  gap: 10px;
  min-width: 190px;
}

.holiday-contact .pasonco-contact-line {
  color: #fff;
  text-align: center;
}

.not-found {
  width: min(760px, calc(100% - 40px));
  min-height: 60vh;
  margin: 0 auto;
  padding: 100px 0;
  text-align: center;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 40px;
  align-items: end;
  padding: 58px max(24px, calc((100vw - 1180px) / 2));
  color: #dbe5f3;
  background: #0d1c31;
}

.site-footer p {
  margin: 8px 0 0;
  color: #91a2b9;
}

.site-footer nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
}

.footer-brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.site-footer small {
  color: #91a2b9;
}

@media (max-width: 900px) {
  .holiday-calendar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .holiday-periods {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .article-school-banner {
    grid-template-columns: 1fr;
  }

  .article-school-banner__actions {
    display: flex;
    flex-wrap: wrap;
  }

  .article-school-banner__actions a {
    min-width: 176px;
  }

  .article-service-banners__grid {
    grid-template-columns: 1fr;
  }

  .pasonco-owned-services__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pasonco-owned-service:last-child {
    grid-column: 1 / -1;
  }

  .pasonco-adult-hero__inner,
  .pasonco-adult-fit {
    grid-template-columns: 1fr;
  }

  .pasonco-adult-hero__visual {
    width: min(720px, 100%);
  }

  .pasonco-adult-fit__visual {
    max-width: 620px;
  }

  .pasonco-adult-fit__visual img {
    aspect-ratio: 16 / 10;
  }

  .pasonco-adult-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pasonco-search-intent__inner {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 16px;
    left: 16px;
    display: none;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

  .migration-card-grid,
  .migration-card-grid--archive {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .related-posts__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .related-card:last-child {
    grid-column: 1 / -1;
  }

  .related-card:last-child .related-card__link {
    display: grid;
    grid-template-columns: minmax(180px, 0.75fr) 1fr;
  }

  .archive-toolbar {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .holiday-shell {
    width: min(100% - 24px, 1240px);
    padding: 28px 0 88px;
  }

  .holiday-hero {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 18px 4px 28px;
    border-radius: 0;
  }

  .holiday-hero h1 {
    font-size: clamp(1.65rem, 6.6vw, 2.2rem);
  }

  .holiday-hero__mark {
    width: 102px;
    height: 102px;
    border-width: 5px;
    border-radius: 27px;
  }

  .holiday-hero__mark span {
    font-size: 2.35rem;
  }

  .holiday-year-links {
    gap: 8px;
    margin: 20px 0;
  }

  .holiday-year-links a {
    min-width: 0;
    flex: 1;
    padding: 9px 12px;
  }

  .holiday-notice {
    grid-template-columns: 1fr;
    gap: 5px;
    margin-bottom: 40px;
    padding: 16px;
  }

  .holiday-year {
    margin-top: 50px;
  }

  .holiday-year__head {
    align-items: center;
  }

  .holiday-year__head > strong {
    font-size: 2.6rem;
  }

  .holiday-periods {
    padding: 17px;
  }

  .holiday-periods ul {
    display: grid;
  }

  .holiday-periods li {
    justify-content: space-between;
    border-radius: 12px;
  }

  .holiday-calendar-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .holiday-month {
    padding: 16px 12px 14px;
    border-radius: 18px;
  }

  .holiday-month td {
    height: 48px;
  }

  .holiday-month td small {
    font-size: 0.52rem;
  }

  .holiday-contact {
    grid-template-columns: 1fr;
    margin-top: 48px;
    padding: 25px 20px;
    border-radius: 22px;
  }

  .holiday-contact > div:last-child {
    min-width: 0;
  }

  .pasonco-audience-paths__grid,
  .pasonco-owned-services__grid,
  .pasonco-adult-service-grid,
  .pasonco-adult-flow {
    grid-template-columns: 1fr;
  }

  .pasonco-owned-service {
    min-height: 0;
    border-radius: 23px;
  }

  .pasonco-owned-service__visual {
    height: 138px;
  }

  .pasonco-owned-service:last-child {
    grid-column: auto;
  }

  .pasonco-audience-card {
    min-height: 280px;
    border-radius: 23px;
  }

  .pasonco-audience-card::after {
    top: -24px;
    right: -28px;
    width: 178px;
    height: 178px;
    border-width: 10px;
    opacity: 0.5;
  }

  .pasonco-adult-hero {
    padding-top: 58px;
  }

  .pasonco-adult-hero h1 {
    font-size: clamp(2.2rem, 12vw, 3.2rem);
  }

  .pasonco-adult-hero__visual::before {
    display: none;
  }

  .pasonco-adult-hero__visual img,
  .pasonco-adult-fit__visual img {
    aspect-ratio: 4 / 3;
    border-radius: 22px;
  }

  .pasonco-adult-service-card {
    border-radius: 21px;
  }

  .pasonco-adult-flow li {
    min-height: 0;
  }

  .pasonco-adult-flow h3 {
    margin-top: 18px;
  }

  .pasonco-search-intent__points {
    grid-template-columns: 1fr;
  }

  .pasonco-search-intent__points article {
    min-height: 0;
  }

  .preview-ribbon {
    font-size: 0.66rem;
  }

  .site-header {
    min-height: 66px;
    padding: 7px 16px;
  }

  .site-brand img {
    width: 44px;
    height: 44px;
  }

  .site-brand small {
    display: block;
    max-width: min(46vw, 170px);
    font-size: 0.58rem;
    line-height: 1.5;
  }

  .migration-card-grid,
  .migration-card-grid--archive {
    grid-template-columns: 1fr;
  }

  .archive-hero {
    margin-bottom: 28px;
  }

  .archive-toolbar {
    padding: 16px 14px 10px;
    border-radius: 16px;
  }

  .migration-card-grid--archive {
    gap: 16px;
  }

  .migration-card-grid--archive .migration-card {
    border-radius: 18px;
  }

  .migration-card-grid--archive .migration-card__body {
    padding: 17px;
  }

  .article-shell,
  .archive-shell {
    width: min(100% - 24px, 1120px);
    padding-top: 30px;
  }

  .article-card {
    border-radius: 18px;
  }

  .article-header,
  .wp-content {
    padding: 24px 20px;
  }

  .article-header h1 {
    font-size: 1.85rem;
  }

  .article-dates {
    display: grid;
    gap: 2px;
  }

  .wp-content iframe {
    min-height: 240px;
  }

  .article-pagination {
    grid-template-columns: 1fr;
  }

  .related-posts {
    margin-top: 28px;
    padding: 20px 16px;
    border-radius: 18px;
  }

  .article-discovery {
    margin-top: 28px;
    border-radius: 18px;
  }

  .article-school-banner {
    padding: 24px 20px;
    border-radius: 0;
  }

  .article-school-banner__actions {
    display: grid;
  }

  .article-school-banner__actions a {
    min-width: 0;
  }

  .article-service-banners {
    padding: 20px 16px;
    border-radius: 0;
  }

  .article-service-banners__head {
    display: grid;
    gap: 8px;
    align-items: start;
  }

  .related-posts__head {
    align-items: start;
  }

  .related-posts__head > a {
    margin-top: 4px;
  }

  .related-posts__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .related-card:last-child {
    grid-column: auto;
  }

  .related-card__link,
  .related-card:last-child .related-card__link {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
  }

  .related-card__image {
    height: 100%;
    min-height: 112px;
    aspect-ratio: auto;
  }

  .related-card__body {
    padding: 13px 13px 14px;
  }

  .related-card__meta {
    display: grid;
    gap: 4px;
  }

  .related-card__meta > span {
    max-width: 100%;
    width: fit-content;
  }

  .related-card__body strong {
    font-size: 0.9rem;
    -webkit-line-clamp: 3;
  }

  .article-cta {
    display: grid;
    padding: 24px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding-bottom: 100px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

.contact-honeypot { position:absolute !important; left:-10000px; width:1px; height:1px; overflow:hidden; }
.migration-form button:disabled { opacity:.55; cursor:not-allowed; }
