.seo-page {
  background: var(--paper);
}

.seo-page .site-header {
  background: rgba(245, 241, 230, .95);
}

.seo-page .main-nav [aria-current="page"]::after {
  transform: scaleX(1);
}

.seo-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  max-width: calc(1240px + 16rem);
  margin: 0 auto;
  padding: 1.25rem clamp(1.25rem, 7vw, 8rem) 0;
  color: var(--ink-soft);
  font-size: .68rem;
}

.seo-breadcrumb a {
  text-decoration: underline;
  text-decoration-color: rgba(23, 44, 43, .3);
  text-underline-offset: 3px;
}

.seo-breadcrumb span::before {
  content: "/";
  margin-right: .45rem;
  color: rgba(23, 44, 43, .35);
}

.seo-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 7vw, 7rem) clamp(1.25rem, 7vw, 8rem) clamp(4rem, 7vw, 6rem);
  background:
    radial-gradient(circle at 13% 5%, rgba(255, 255, 255, .9), transparent 32%),
    linear-gradient(135deg, #f6f2e8 0%, #ebe8de 100%);
  border-bottom: 1px solid var(--line);
}

.seo-hero::after {
  content: "";
  position: absolute;
  width: 540px;
  height: 540px;
  right: -300px;
  top: -300px;
  border: 1px solid rgba(23, 44, 43, .1);
  border-radius: 50%;
  box-shadow: 0 0 0 64px rgba(255, 255, 255, .16), 0 0 0 128px rgba(255, 255, 255, .09);
}

.seo-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, .65fr);
  align-items: end;
  gap: clamp(2.5rem, 7vw, 7rem);
  max-width: 1240px;
  margin: 0 auto;
}

.seo-hero h1 {
  max-width: 880px;
  margin: 0;
  font-size: clamp(3.5rem, 7vw, 7rem);
  font-weight: 800;
  letter-spacing: -.075em;
  line-height: .9;
}

.seo-hero h1 em {
  color: var(--coral);
}

.seo-hero__lead {
  max-width: 760px;
  margin: 1.5rem 0 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.35vw, 1.17rem);
  line-height: 1.75;
}

.seo-hero__updated {
  margin: 1.1rem 0 0;
  color: var(--ink-soft);
  font-size: .68rem;
  font-weight: 700;
}

.seo-hero__summary {
  padding: clamp(1.5rem, 3vw, 2.2rem);
  color: white;
  background: var(--ink);
  border-radius: 4px;
  box-shadow: 10px 12px 0 rgba(23, 44, 43, .07);
  transform: rotate(.5deg);
}

.seo-hero__summary > span {
  color: var(--yellow);
  font-size: .62rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.seo-hero__summary strong {
  display: block;
  margin: .45rem 0 .65rem;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1;
}

.seo-hero__summary p {
  margin: 0;
  color: rgba(255, 255, 255, .65);
  font-size: .74rem;
  line-height: 1.6;
}

.seo-hero__summary .button {
  width: 100%;
  margin-top: 1.25rem;
}

.seo-answer {
  padding: 1.55rem clamp(1.25rem, 7vw, 8rem);
  color: white;
  background: var(--ink);
}

.seo-answer__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 1rem;
  max-width: 1240px;
  margin: 0 auto;
}

.seo-answer__inner > span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--yellow);
  border-radius: 50%;
  font-weight: 900;
}

.seo-answer p {
  margin: .15rem 0 0;
  color: rgba(255, 255, 255, .76);
  font-size: .84rem;
  line-height: 1.7;
}

.seo-answer strong {
  color: white;
}

.seo-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  align-items: start;
  gap: clamp(3rem, 7vw, 7rem);
  max-width: calc(1240px + 16rem);
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) clamp(1.25rem, 7vw, 8rem);
}

.seo-article {
  min-width: 0;
}

.seo-article > section + section {
  margin-top: clamp(4rem, 7vw, 6.5rem);
  padding-top: clamp(3.5rem, 6vw, 5.5rem);
  border-top: 1px solid var(--line);
}

.seo-article h1,
.seo-article h2 {
  max-width: 830px;
  margin: 0 0 1.25rem;
  font-size: clamp(2.15rem, 4vw, 3.8rem);
  letter-spacing: -.055em;
  line-height: 1;
}

.seo-article h1 em,
.seo-article h2 em {
  color: var(--coral);
}

.seo-article h3 {
  margin: 2.25rem 0 .65rem;
  font-family: var(--display);
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  line-height: 1.25;
}

.seo-article p,
.seo-article li {
  color: var(--ink-soft);
  font-size: .92rem;
  line-height: 1.8;
}

.seo-article a:not(.button):not(.guide-card) {
  color: var(--coral-dark);
  font-weight: 750;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.seo-article ul,
.seo-article ol {
  padding-left: 1.25rem;
}

.seo-article li + li {
  margin-top: .55rem;
}

.seo-toc {
  position: sticky;
  top: 100px;
  padding: 1.25rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.seo-toc strong {
  display: block;
  margin-bottom: .75rem;
  font-family: var(--display);
  font-size: 1.1rem;
}

.seo-toc ol {
  display: grid;
  gap: .65rem;
  margin: 0;
  padding-left: 1.1rem;
  color: var(--coral-dark);
}

.seo-toc a {
  color: var(--ink-soft);
  font-size: .69rem;
  font-weight: 700;
  line-height: 1.4;
}

.seo-toc a:hover {
  color: var(--coral-dark);
}

.seo-table {
  width: 100%;
  margin-top: 1.6rem;
  border-collapse: collapse;
  background: white;
  border: 1px solid var(--line);
  font-size: .78rem;
}

.seo-table caption {
  padding: .8rem 0;
  color: var(--ink-soft);
  font-size: .65rem;
  text-align: left;
}

.seo-table th,
.seo-table td {
  padding: .9rem 1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.seo-table thead th {
  color: white;
  background: var(--ink);
  font-size: .62rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.seo-table tbody th {
  color: var(--ink);
  font-size: .76rem;
}

.seo-table tbody tr:last-child th,
.seo-table tbody tr:last-child td {
  border-bottom: 0;
}

.seo-table .is-priority {
  background: #fff7de;
}

.seo-table__note {
  display: block;
  margin-top: .2rem;
  color: var(--coral-dark);
  font-size: .58rem;
  font-weight: 800;
  text-transform: uppercase;
}

.table-wrapper {
  max-width: 100%;
  overflow-x: auto;
}

.fact-grid,
.bridge-grid,
.strategy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.6rem;
}

.fact-card,
.bridge-card,
.strategy-card {
  padding: 1.35rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.fact-card > span,
.bridge-card > span,
.strategy-card > span {
  color: var(--coral-dark);
  font-size: .6rem;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.fact-card strong,
.bridge-card strong,
.strategy-card strong {
  display: block;
  margin: .35rem 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.35rem;
  line-height: 1.2;
}

.fact-card p,
.bridge-card p,
.strategy-card p {
  margin: 0;
  font-size: .74rem;
  line-height: 1.6;
}

.bridge-card--best {
  color: white;
  background: var(--ink);
}

.bridge-card--best > span {
  color: var(--yellow);
}

.bridge-card--best strong {
  color: white;
}

.bridge-card--best p {
  color: rgba(255, 255, 255, .67);
}

.leave-plan {
  margin-top: 1.5rem;
  padding: 0;
  list-style: none;
  counter-reset: leave-plan;
  border-top: 1px solid var(--line);
}

.leave-plan li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  margin: 0;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line);
  counter-increment: leave-plan;
}

.leave-plan li::before {
  content: counter(leave-plan, decimal-leading-zero);
  color: var(--coral-dark);
  font-family: var(--display);
  font-size: .8rem;
  font-weight: 800;
}

.leave-plan strong {
  display: block;
  color: var(--ink);
  font-size: .85rem;
}

.leave-plan p {
  margin: .2rem 0 0;
  font-size: .7rem;
  line-height: 1.55;
}

.leave-plan b {
  min-width: 78px;
  padding: .45rem .65rem;
  color: var(--ink);
  background: var(--yellow);
  border-radius: 3px;
  font-size: .66rem;
  text-align: center;
}

.editorial-note {
  margin: 1.6rem 0 0;
  padding: 1.2rem 1.35rem;
  background: #e9eee8;
  border-left: 4px solid var(--mint);
}

.editorial-note strong {
  color: var(--ink);
}

.editorial-note p {
  margin: 0;
  font-size: .76rem;
  line-height: 1.65;
}

.editorial-note--warning {
  background: #fff7de;
  border-left-color: var(--yellow);
}

.source-line {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: .66rem !important;
}

.seo-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2rem;
  margin-top: 2.5rem;
  padding: clamp(1.5rem, 4vw, 2.6rem);
  color: white;
  background: var(--blue);
  border-radius: 4px;
}

.seo-cta h2,
.seo-cta h3 {
  margin: 0 0 .5rem;
  color: white;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  letter-spacing: -.03em;
}

.seo-cta p {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, .72);
  font-size: .76rem;
  line-height: 1.6;
}

.seo-cta .button {
  color: var(--ink);
  background: white;
}

.related-guides {
  padding: clamp(4.5rem, 8vw, 7rem) clamp(1.25rem, 7vw, 8rem);
  background: #e9eee8;
}

.related-guides__heading {
  max-width: 1240px;
  margin: 0 auto 2rem;
}

.related-guides__heading h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  letter-spacing: -.06em;
  line-height: .96;
}

.related-guides__heading h2 em {
  color: var(--coral);
}

.related-guides__heading > p:last-child {
  max-width: 700px;
  color: var(--ink-soft);
}

.related-guides__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 1240px;
  margin: 0 auto;
}

.guide-card {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  padding: 1.4rem;
  background: rgba(255, 255, 255, .65);
  border: 1px solid var(--line);
  border-radius: 4px;
  transition: transform .2s ease, border-color .2s ease, background-color .2s ease;
}

.guide-card:hover {
  background: white;
  border-color: rgba(255, 107, 74, .55);
  transform: translateY(-3px);
}

.guide-card > span {
  color: var(--coral-dark);
  font-size: .58rem;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.guide-card strong {
  display: block;
  margin: .35rem 0;
  font-family: var(--display);
  font-size: 1.25rem;
}

.guide-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: .7rem;
  line-height: 1.55;
}

.guide-card i {
  margin-top: auto;
  padding-top: 1rem;
  color: var(--ink);
  font-size: .65rem;
  font-style: normal;
  font-weight: 850;
}

.faq-compact {
  border-top: 1px solid var(--line);
}

.faq-compact details {
  border-bottom: 1px solid var(--line);
}

.faq-compact summary {
  padding: 1.1rem 2.5rem 1.1rem 0;
  color: var(--ink);
  cursor: pointer;
  font-family: var(--display);
  font-size: 1.12rem;
  font-weight: 700;
}

.faq-compact details p {
  max-width: 760px;
  margin: -.35rem 0 1.25rem;
  font-size: .78rem;
}

.zone-directory {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.zone-card {
  padding: 1.2rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-top: 4px solid var(--coral);
}

.zone-card:nth-child(2) {
  border-top-color: var(--blue);
}

.zone-card:nth-child(3) {
  border-top-color: var(--yellow);
}

.zone-card h3 {
  margin: 0 0 .5rem;
}

.zone-card p {
  margin: 0;
  font-size: .7rem;
  line-height: 1.55;
}

.zone-finder {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto;
  gap: .65rem;
  margin-top: 1.4rem;
  padding: 1rem;
  background: var(--cream);
  border: 1px solid var(--line);
}

.zone-finder label {
  display: grid;
  gap: .35rem;
  color: var(--ink);
  font-size: .68rem;
  font-weight: 800;
}

.zone-finder input {
  min-height: 45px;
  padding: .65rem .8rem;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  border-radius: 3px;
}

.zone-finder button {
  align-self: end;
  min-height: 45px;
  padding: .6rem 1rem;
  color: white;
  background: var(--ink);
  border: 0;
  border-radius: 3px;
  cursor: pointer;
  font-weight: 800;
}

.zone-result {
  grid-column: 1 / -1;
  min-height: 1.2em;
  margin: 0;
  color: var(--ink-soft);
  font-size: .7rem;
}

.school-zone {
  scroll-margin-top: 100px;
}

.calendar-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.5rem 0;
}

.calendar-legend--year {
  margin: 0;
}

.year-calendar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.month-card {
  min-width: 0;
  padding: 1rem;
  background: white;
  border: 1px solid var(--line);
  break-inside: avoid;
}

.month-card h3 {
  margin: 0 0 .8rem;
  font-family: var(--display);
  font-size: 1.25rem;
  text-transform: capitalize;
}

.month-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 2px;
}

.month-grid > span {
  min-width: 0;
  min-height: 29px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: .6rem;
}

.month-grid .weekday {
  min-height: 21px;
  color: var(--ink-soft);
  font-size: .5rem;
  font-weight: 850;
  text-transform: uppercase;
}

.month-grid .weekend {
  background: rgba(167, 216, 200, .3);
}

.month-grid .holiday {
  color: white;
  background: var(--coral);
  font-weight: 900;
}

.month-card__holiday {
  min-height: 1.4em;
  margin: .65rem 0 0;
  color: var(--coral-dark);
  font-size: .52rem;
  font-weight: 800;
  line-height: 1.35;
}

.print-button {
  min-height: 42px;
  padding: .65rem 1rem;
  color: white;
  background: var(--ink);
  border: 0;
  border-radius: 3px;
  cursor: pointer;
  font-size: .7rem;
  font-weight: 800;
}

@media (max-width: 1050px) {
  .seo-content {
    grid-template-columns: minmax(0, 1fr) 220px;
  }

  .related-guides__grid,
  .year-calendar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .seo-hero__inner,
  .seo-content {
    grid-template-columns: 1fr;
  }

  .seo-toc {
    position: static;
    grid-row: 1;
  }

  .seo-hero__summary {
    max-width: 560px;
    transform: none;
  }

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

@media (max-width: 580px) {
  .seo-breadcrumb {
    padding-top: .9rem;
  }

  .seo-hero h1 {
    font-size: clamp(3rem, 15vw, 4.7rem);
  }

  .fact-grid,
  .bridge-grid,
  .strategy-grid,
  .related-guides__grid,
  .zone-directory,
  .year-calendar {
    grid-template-columns: 1fr;
  }

  .seo-table {
    min-width: 670px;
  }

  .leave-plan li {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .leave-plan b {
    grid-column: 2;
    justify-self: start;
  }

  .seo-cta {
    grid-template-columns: 1fr;
  }

  .seo-cta .button {
    width: 100%;
  }

  .zone-finder {
    grid-template-columns: 1fr;
  }

  .zone-finder button {
    width: 100%;
  }
}

@media print {
  .seo-page .site-header,
  .seo-breadcrumb,
  .seo-hero__summary,
  .seo-answer,
  .seo-toc,
  .seo-cta,
  .related-guides,
  .site-footer,
  .print-button,
  .source-line {
    display: none !important;
  }

  .seo-hero,
  .seo-content {
    padding: 1rem 0;
    background: white;
  }

  .seo-hero__inner,
  .seo-content {
    display: block;
  }

  .seo-hero h1 {
    font-size: 32pt;
  }

  .year-calendar {
    grid-template-columns: repeat(3, 1fr);
    gap: 7mm;
  }

  .month-card {
    padding: 4mm;
  }

  .month-grid .holiday {
    color: #000;
    border: 1px solid #000;
  }

  .calendar-page .seo-article > section:not(#calendrier) {
    display: none;
  }
}
