/* PT Corporate Services - the article page (article redesign, 17 Oct 2026).
   Skins the Acclaira article kit (assets/article-kit.css + article-kit.js, from aeo-toolchain/article-kit) in the
   site's own Mareva language: cream #f6f0e6, sea-green #0b3d37, bronze #a87e4f hairlines, ink #221f19,
   Cormorant Garamond display, Outfit text, small tracked uppercase labels, rounded pills.
   Source: aeo-package/article-design/pt-article.css. apply_article_kit.py copies it to <folder>/assets/ and links it
   from every article page; edit it HERE and re-run that script. Smallest text 12px (design_gate type floor). */

:root {
  --ak-ink: var(--fg, #221f19);
  --ak-muted: var(--mute, #6b5230);
  --ak-rule: rgba(168, 126, 79, .28);
  --ak-accent: var(--accent, #a87e4f);
  --ak-surface: #fdfaf4;
  --ak-tint: var(--sea, #0b3d37);
  --ak-zebra: rgba(168, 126, 79, .07);
  --ak-radius: 14px;
  --ak-top: 88px;            /* the fixed 64px Mareva bar + air */
  --ak-side: 280px;
  --ak-gap: 80px;
  --ak-ui-font: var(--sans, 'Outfit', ui-sans-serif, system-ui, sans-serif);
  --pt-wrap: 1068px;         /* reading column 660 + gap 80 + side 280 + 2 x 24: ~80 characters a line */
}

/* ---------------------------------------------------------------- hero */
.article-hero { padding: 132px 24px 44px; }
.article-hero-inner { max-width: 660px; }
.article-category { font-size: 12px; letter-spacing: .18em; padding: 6px 14px; margin-bottom: 18px; }
.article-hero h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); line-height: 1.08; max-width: 760px; text-wrap: balance; }
.article-meta { flex-wrap: wrap; gap: 6px 12px; font-size: 12px; letter-spacing: .16em; }
.article-hero-img figcaption {
  margin-top: 12px;
  font-family: var(--serif);
  font-size: 1.075rem;
  font-style: italic;
  line-height: 1.45;
  letter-spacing: 0;
  text-transform: none;
  text-align: left;
  color: var(--fg2, #5d5546);
}

/* ---------------------------------------------------------------- the reading column + side column */
.pt-read { max-width: var(--pt-wrap); margin: 0 auto; }
.article-hero-img { max-width: 708px; }      /* one column under 1100px: the picture spans the text column */
@media (min-width: 1100px) {
  .article-hero-inner { max-width: calc(var(--pt-wrap) - 48px); }
  .pt-read { padding: 44px 24px 0; }
  .pt-read .article-hero-img { max-width: none; margin: 0; padding: 0; }
  .pt-read .article-body { max-width: none; margin: 0; padding: 40px 0 96px; }
}

/* ---------------------------------------------------------------- body type and rhythm */
.article-body { max-width: 708px; color: var(--fg2, #5d5546); }
.article-body p, .article-body li { font-size: 1.0625rem; line-height: 1.75; }
@media (min-width: 760px) {
  .article-body p, .article-body li { font-size: 1.1875rem; }
}
.article-body p { margin-bottom: 20px; }
.article-body h2 { font-size: clamp(1.7rem, 2.7vw, 2.25rem); line-height: 1.14; }
.article-body > h2 {
  margin: 56px 0 18px;
  padding-top: 32px;
  border-top: 1px solid var(--ak-rule);
}
.article-body > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.article-body h3 { font-size: 1.45rem; line-height: 1.25; margin: 34px 0 10px; }
.article-body ul li::marker { color: var(--accent, #a87e4f); }
.article-body ol li::marker { color: var(--accent, #a87e4f); font-weight: 600; }
.article-body a {
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(11, 61, 55, .38);
  transition: text-decoration-color .15s ease;
}
.article-body a:hover { text-decoration-color: currentColor; }
.article-body a:focus-visible, .pt-aside a:focus-visible, .ak-toc-m a:focus-visible {
  outline: 2px solid var(--sea, #0b3d37);
  outline-offset: 2px;
  border-radius: 2px;
}
.article-body blockquote {
  margin: 34px 0;
  padding: 4px 0 4px 24px;
  border-left: 2px solid var(--accent, #a87e4f);
}
.article-body blockquote p {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 1.32rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--fg, #221f19);
}
.article-body blockquote p:last-child { margin-bottom: 0; }

/* ---------------------------------------------------------------- the opening answer + takeaways */
.article-body .answer .lbl,
.article-body .key-box :is(h2, h3, h4) {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--mute, #6b5230);
  margin: 0 0 10px;
  padding: 0;
  border: 0;
}
.article-body .answer p { margin: 0; font-size: 1.125rem; line-height: 1.65; }
.article-body .answer p + p { margin-top: 12px; }
@media (min-width: 760px) {
  .article-body .answer p { font-size: 1.1875rem; }
}
.article-body .key-box { padding: 26px 28px; margin: 28px 0 8px; }
.article-body .key-box :is(ul, ol) { margin-bottom: 0; }
.article-body .key-box li { font-size: 1rem; line-height: 1.6; margin-bottom: 8px; }
.article-body .key-box li:last-child { margin-bottom: 0; }

/* The answer under each section heading is a quiet lead line, not another panel: one panel at the top only. */
.article-body h2 + .answer {
  background: none;
  border: 0;
  border-left: 2px solid var(--accent, #a87e4f);
  border-radius: 0;
  padding: 2px 0 2px 20px;
  margin: 0 0 26px;
}
.article-body h2 + .answer .lbl { margin-bottom: 6px; }
.article-body h2 + .answer p { color: var(--fg, #221f19); }

/* ---------------------------------------------------------------- "On this page": side column (wide) */
.pt-aside .ak-aside__inner { padding-top: 6px; }
.pt-aside .ak-toc__label, .ak-toc-m > summary {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--mute, #6b5230);
}
.pt-aside .ak-toc__label { margin-bottom: 14px; }
.ak-toc__progress { height: 1px; margin-bottom: 14px; background: rgba(168, 126, 79, .22); }
.ak-toc__list a {
  gap: 12px;
  padding: 7px 0 7px 16px;
  font-size: .90625rem;
  line-height: 1.42;
  color: var(--fg2, #5d5546);
}
.ak-toc__list a:hover { color: var(--sea, #0b3d37); }
.ak-toc__list a[aria-current="true"] { color: var(--sea, #0b3d37); font-weight: 500; }
.ak-toc--num .ak-toc__list a::before {
  min-width: 1.35em;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--accent, #a87e4f);
  opacity: 1;
}
.pt-toc-t {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.pt-aside .ak-toc__top { font-size: 13px; color: var(--mute, #6b5230); text-decoration: underline; text-underline-offset: 3px; }
.pt-aside .ak-toc__top:hover { color: var(--sea, #0b3d37); }

.pt-card {
  padding: 22px 22px 24px;
  background: var(--panel, #fbf6ec);
  border: 1px solid var(--ak-rule);
  border-radius: 16px;
}
.pt-card__kicker {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--fg, #221f19);
}
.pt-card__text { margin: 0 0 6px; font-size: .9375rem; line-height: 1.55; color: var(--fg2, #5d5546); }
.pt-card__hours { margin: 0 0 16px; font-size: 13px; letter-spacing: .02em; color: var(--mute, #6b5230); }
.pt-card__btn {
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--sea, #0b3d37);
  color: var(--cream, #f3ecdd);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .06em;
  text-decoration: none;
  transition: background .2s ease;
}
.pt-card__btn:hover { background: #0d4a42; }
.pt-card__btn:focus-visible { outline: 2px solid var(--accent, #a87e4f); outline-offset: 3px; }

/* ---------------------------------------------------------------- "On this page": folded list (phones, tablets) */
.ak-toc-m {
  margin: 32px 0 8px;
  background: var(--panel, #fbf6ec);
  border: 1px solid var(--ak-rule);
  border-radius: 14px;
}
.ak-toc-m > summary { padding: 16px 20px; min-height: 52px; color: var(--sea, #0b3d37); }
.ak-toc-m__count {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--accent, #a87e4f);
}
.ak-toc-m .ak-toc__list { margin: 0 20px 18px; }
.ak-toc-m .ak-toc__list a { padding-top: 9px; padding-bottom: 9px; font-size: .96875rem; }

/* ---------------------------------------------------------------- tables */
.article-body .ak-table { margin: 28px 0 12px; }
.article-body .ak-table:last-child { margin-bottom: 28px; }
.ak-table > table.example-table { margin: 0; border: 0; font-size: .9375rem; }
.ak-table .example-table :is(th, td) {
  padding: 13px 16px;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: manual;
  border-top: 0;
}
.ak-table .example-table thead :is(th, td) {
  background: var(--sea, #0b3d37);
  color: var(--cream, #f3ecdd);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-bottom: 0;
}
.ak-table .example-table td { color: var(--fg2, #5d5546); border-bottom: 1px solid var(--ak-rule); }
.ak-table .example-table tbody tr:nth-child(even) > * { background: var(--ak-zebra); }
.ak-table .example-table tbody tr > :first-child { color: var(--fg, #221f19); font-weight: 500; }
.ak-table.is-scrollable .example-table tbody tr:nth-child(even) > :first-child {
  background: linear-gradient(var(--ak-zebra) 0 0), var(--ak-surface);
}
.ak-table.is-scrollable .example-table :is(th, td):first-child { min-width: 6.75rem; }
.ak-table + p.ak-table-hint { margin: 8px 0 28px; font-size: 13px; color: var(--mute, #6b5230); }
@media (max-width: 640px) {
  .ak-table .example-table thead :is(th, td) { letter-spacing: .08em; }
  .ak-table--stack > table.example-table > tbody > tr { background: var(--panel, #fbf6ec); }
  .ak-table--stack .example-table tbody tr:nth-child(even) > * { background: none; }
  .ak-table--stack .example-table tbody tr > * { border-bottom: 0; }
  .ak-table--stack .example-table tbody tr > :first-child {
    font-family: var(--serif);
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.3;
  }
}

/* ---------------------------------------------------------------- FAQ cards, sources, the guide box */
.pt-faq { display: grid; gap: 12px; margin: 8px 0 24px; }
.pt-faq__item {
  padding: 22px 24px 20px;
  background: var(--panel, #fbf6ec);
  border: 1px solid var(--ak-rule);
  border-radius: 14px;
}
.article-body .pt-faq__item > h3 { margin: 0 0 8px; font-size: 1.32rem; line-height: 1.28; }
.article-body .pt-faq__item > :last-child { margin-bottom: 0; }
.article-body .pt-faq__item p, .article-body .pt-faq__item li { font-size: 1.0625rem; }

.article-body .pt-sources { list-style: none; margin: 0 0 12px; padding: 0; counter-reset: pt-src; }
.article-body .pt-sources > li {
  position: relative;
  margin: 0;
  padding: 12px 0 12px 44px;
  border-top: 1px solid var(--ak-rule);
  font-size: .96875rem;
  line-height: 1.6;
  counter-increment: pt-src;
}
.article-body .pt-sources > li:last-child { border-bottom: 1px solid var(--ak-rule); }
.article-body .pt-sources > li::before {
  content: counter(pt-src, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 11px;
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent, #a87e4f);
}

/* the "In this guide" box the weekly uplift adds (it carries inline colours from another palette) */
.article-body .pt-cluster {
  margin: 48px 0 0 !important;
  padding: 22px 26px !important;
  background: var(--panel, #fbf6ec) !important;
  border: 1px solid var(--ak-rule) !important;
  border-left: 3px solid var(--accent, #a87e4f) !important;
  border-radius: 0 14px 14px 0 !important;
}
.article-body .pt-cluster > h2 {
  margin: 0 0 12px !important;
  font-family: var(--sans) !important;
  font-size: 12px !important;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--mute, #6b5230) !important;
}
.article-body .pt-cluster ul { margin: 0 !important; padding-left: 18px !important; color: var(--fg2, #5d5546) !important; }
.article-body .pt-cluster li { font-size: 1rem; margin: 6px 0 !important; }

/* Wide screens: the list scrolls inside itself so the contact card under it always stays in view (a 10-15 section
   article pushed the card below a laptop screen; 17 Oct 2026 review). */
@media (min-width: 1100px) {
  .pt-aside .ak-aside__inner { display: flex; flex-direction: column; overflow: visible; }
  .pt-aside .ak-toc { display: flex; flex-direction: column; flex: 0 1 auto; min-height: 0; }
  .pt-aside .ak-toc__list { min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin;
    padding-bottom: 22px; -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 26px), transparent);
    mask-image: linear-gradient(to bottom, #000 calc(100% - 26px), transparent); }
  .pt-aside .ak-toc__foot, .pt-aside .ak-aside__extra { flex: none; }
}
