/* Application guides — the article template (body.guide-page, on top of
   careers.css) and the index on /resources/ (.guide-index). */

/* ---------------------------------------------------------------- article */
body.guide-page .g-hero{padding:56px 0 52px}
body.guide-page .g-hero-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:52px;align-items:center}
body.guide-page .g-hero h1{max-width:20ch;font-size:clamp(2rem,4.2vw,3.1rem)}
body.guide-page .g-hero .lead{margin-top:18px;font-size:1.08rem;max-width:56ch}
body.guide-page .g-hero .eyebrow a{color:inherit}
body.guide-page .g-hero .eyebrow a:hover{text-decoration:underline}
body.guide-page .g-hero-img{margin:0;border-radius:16px;overflow:hidden;aspect-ratio:8/5;background:var(--sand)}
body.guide-page .g-hero-img img{width:100%;height:100%;object-fit:cover}
body.guide-page .g-hero-img.g-contain{background:#fff;border:1px solid var(--line)}
body.guide-page .g-hero-img.g-contain img{object-fit:contain;padding:6%}

body.guide-page .g-body{padding-top:56px}
body.guide-page .g-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:64px;align-items:start}
body.guide-page .g-aside{position:sticky;top:104px;display:flex;flex-direction:column;gap:22px}

body.guide-page .g-toc{border-top:1px solid var(--ink);padding-top:16px}
body.guide-page .g-toc-h, body.guide-page .g-cta-h{font-size:.7rem;font-weight:600;letter-spacing:.13em;text-transform:uppercase;color:var(--grey-400);margin-bottom:12px}
body.guide-page .g-toc ol{list-style:none;margin:0;padding:0;counter-reset:t}
body.guide-page .g-toc li{counter-increment:t;margin:0 0 9px;font-size:.88rem;line-height:1.4}
body.guide-page .g-toc li a{display:flex;gap:10px;color:var(--grey)}
body.guide-page .g-toc li a::before{content:counter(t,decimal-leading-zero);font-family:var(--display);font-size:.75rem;color:var(--grey-400);padding-top:1px}
body.guide-page .g-toc li a:hover{color:var(--brand)}
body.guide-page .g-cta{background:var(--ink);color:#fff;border-radius:14px;padding:22px 22px 24px}
body.guide-page .g-cta .g-cta-h{color:var(--brand-400)}
body.guide-page .g-cta p{font-size:.9rem;line-height:1.55;color:rgba(255,255,255,.78);margin-bottom:16px}
body.guide-page .g-cta .btn-primary{background:#fff;color:var(--ink);border-color:#fff}
body.guide-page .g-cta .btn-primary:hover{background:var(--brand-400);border-color:var(--brand-400)}

/* prose */
body.guide-page .g-prose{max-width:70ch;font-size:1.04rem;line-height:1.72;color:#2b2a28}
body.guide-page .g-prose > * + *{margin-top:1.05em}
body.guide-page .g-prose h2{font-size:clamp(1.45rem,2.5vw,1.85rem);margin-top:2.1em;margin-bottom:.1em;scroll-margin-top:100px;color:var(--ink)}
body.guide-page .g-prose h2:first-child{margin-top:0}
body.guide-page .g-prose h3{font-size:1.15rem;margin-top:1.7em;color:var(--ink)}
body.guide-page .g-prose p{margin:0}
body.guide-page .g-prose p + p{margin-top:1.05em}
body.guide-page .g-prose a{color:var(--brand);text-decoration:underline;text-underline-offset:3px}
body.guide-page .g-prose strong{color:var(--ink);font-weight:600}
body.guide-page .g-prose ul, body.guide-page .g-prose ol{padding-left:0;margin:1em 0 0;list-style:none}
body.guide-page .g-prose ul li{position:relative;padding-left:24px;margin:0 0 .55em}
body.guide-page .g-prose ul li::before{content:"";position:absolute;left:2px;top:.78em;width:10px;height:1px;background:var(--brand)}
body.guide-page .g-prose ol{counter-reset:n}
body.guide-page .g-prose ol li{counter-increment:n;position:relative;padding-left:34px;margin:0 0 .7em}
body.guide-page .g-prose ol li::before{content:counter(n);position:absolute;left:0;top:.15em;width:22px;height:22px;border-radius:999px;
  background:var(--brand-50);color:var(--brand);font:600 .74rem/22px var(--display);text-align:center}
body.guide-page .g-prose .wp-block-table{margin:1.5em 0 0;overflow-x:auto}
body.guide-page .g-prose table{width:100%;border-collapse:collapse;font-size:.9rem;line-height:1.5}
body.guide-page .g-prose th{text-align:left;font-weight:600;color:var(--ink);border-bottom:1px solid var(--ink);padding:10px 14px 10px 0;vertical-align:bottom}
body.guide-page .g-prose td{border-bottom:1px solid var(--line);padding:11px 14px 11px 0;vertical-align:top;color:var(--grey)}
body.guide-page .g-prose td:first-child{color:var(--ink);font-weight:500}
body.guide-page .g-prose .g-note{margin-top:1.6em;padding:18px 22px;border-left:2px solid var(--brand);background:var(--brand-50);border-radius:0 12px 12px 0;font-size:.95rem}
body.guide-page .g-prose .g-note p + p{margin-top:.6em}
body.guide-page .g-prose .g-key{margin-top:1.6em;padding:22px 24px;border:1px solid var(--line);border-radius:14px;background:#fff}
body.guide-page .g-prose .g-key h3{margin-top:0;font-size:1rem}
body.guide-page .g-prose .g-key ul{margin-top:.6em}
body.guide-page .g-prose .g-inline-cta{margin-top:2em;padding:24px 26px;border-radius:14px;background:var(--sand);border:1px solid var(--line)}
body.guide-page .g-prose .g-inline-cta p:first-child{font-family:var(--display);font-weight:600;color:var(--ink);font-size:1.1rem}
body.guide-page .g-prose code{font-size:.9em;background:var(--sand);padding:1px 5px;border-radius:4px}

/* related */
body.guide-page .g-related{background:var(--sand)}
body.guide-page .g-related h2{margin-bottom:30px}
body.guide-page .g-rel-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
body.guide-page .g-rel{display:flex;flex-direction:column}
body.guide-page .g-rel-shot{display:block;border-radius:12px;overflow:hidden;aspect-ratio:8/5;margin-bottom:14px;background:#fff}
body.guide-page .g-rel-shot img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
body.guide-page .g-rel:hover img{transform:scale(1.04)}
body.guide-page .g-rel-meta{font-size:.74rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--brand);margin-bottom:6px}
body.guide-page .g-rel-title{font-family:var(--display);font-weight:600;font-size:1.08rem;line-height:1.3;letter-spacing:-.015em}
body.guide-page .g-rel:hover .g-rel-title{color:var(--brand)}

@media(max-width:1000px){
  body.guide-page .g-hero-grid{grid-template-columns:1fr;gap:30px}
  body.guide-page .g-layout{grid-template-columns:1fr;gap:40px}
  body.guide-page .g-aside{position:static}
  body.guide-page .g-toc{display:none}
  body.guide-page .g-rel-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:620px){
  body.guide-page .g-rel-grid{grid-template-columns:1fr}
  body.guide-page .g-prose{font-size:1rem}
  body.guide-page .g-prose table{font-size:.84rem}
}

/* ------------------------------------------------------- resources index */
.guide-index{padding:88px 0;border-bottom:1px solid #e6e3dd}
.guide-index .lead{max-width:62ch;margin-top:14px}
.guide-index .gi-filter{display:flex;flex-wrap:wrap;gap:8px;margin:30px 0 0}
.guide-index .gi-chip{font:500 .84rem/1 Inter,-apple-system,sans-serif;padding:10px 16px;border-radius:999px;border:1px solid #e6e3dd;
  background:#fff;color:#56534d;cursor:pointer;transition:.18s}
.guide-index .gi-chip:hover{border-color:#899fe1;color:#121213}
.guide-index .gi-chip[aria-pressed="true"]{background:#121213;border-color:#121213;color:#fff}
.guide-index .gi-chip:focus-visible{outline:2px solid #25408f;outline-offset:2px}
.guide-index .gi-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:40px 30px;margin-top:36px}
.guide-index .gi-card{display:flex;flex-direction:column;color:#121213;text-decoration:none}
.guide-index .gi-card[hidden]{display:none}
.guide-index .gi-shot{display:block;border-radius:12px;overflow:hidden;aspect-ratio:8/5;background:#f5f4f1;margin-bottom:16px}
.guide-index .gi-shot img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.guide-index .gi-card:hover .gi-shot img{transform:scale(1.04)}
.guide-index .gi-meta{font-size:.72rem;font-weight:600;letter-spacing:.09em;text-transform:uppercase;color:#25408f;margin-bottom:8px}
.guide-index .gi-title{font-family:"Space Grotesk",Georgia,serif;font-weight:600;font-size:1.16rem;line-height:1.28;letter-spacing:-.02em}
.guide-index .gi-text{margin-top:8px;font-size:.9rem;line-height:1.6;color:#56534d}
.guide-index .gi-go{margin-top:12px;font-size:.88rem;font-weight:600;color:#121213;transition:.2s}
.guide-index .gi-card:hover .gi-title, .guide-index .gi-card:hover .gi-go{color:#25408f}
@media(max-width:1000px){.guide-index .gi-grid{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.guide-index{padding:60px 0}.guide-index .gi-grid{grid-template-columns:1fr}}
