/* Editorial guides use the site's existing .legal reading layout. */
.guide-page { width: min(1080px, calc(100% - 32px)); max-width: 1080px; }
.guide-page h1 { max-width: 24ch; font-size: clamp(2rem, 4.5vw, 3.4rem); line-height: 1.15; text-wrap: balance; }
.guide-page p, .guide-page li { max-width: 72ch; }
.guide-page .guide-lead { font-size: 1.2rem; color: var(--wpg-text); line-height: 1.65; }
.guide-page section { padding: 0; margin-top: 3rem; scroll-margin-top: calc(var(--wpg-header-h) + 1rem); }
.guide-page h2 { margin-bottom: 1rem; }
.guide-page h3 { margin-top: 1.8rem; }
.guide-toc { display: flex; flex-wrap: wrap; gap: 0.25rem 1.4rem; padding: 1rem 0; border-block: 1px solid var(--wpg-line); }
.guide-toc a, .seo-related a { display: inline-block; padding: 0.65rem 0; }
.guide-table { overflow-x: auto; margin: 1.5rem 0; scrollbar-color: var(--wpg-gold) var(--wpg-surface); }
.guide-table table { width: 100%; min-width: 650px; border-collapse: collapse; font-size: 0.95rem; line-height: 1.55; font-variant-numeric: tabular-nums; }
.guide-table caption { text-align: left; color: var(--wpg-muted); padding-bottom: 0.8rem; }
.guide-table th, .guide-table td { padding: 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--wpg-line); }
.guide-table thead { background: var(--wpg-surface); }
.guide-table th { color: var(--wpg-text); }
.guide-table th[scope="row"] { min-width: 155px; font-weight: 600; }
.guide-table td { color: var(--wpg-text); }
.guide-page details { border-bottom: 1px solid var(--wpg-line); padding: 0.7rem 0; }
.guide-page summary { cursor: pointer; padding: 0.7rem 0; font-weight: 600; color: var(--wpg-text); }
.guide-page details p { margin-top: 0.5rem; }
.guide-page a { text-underline-offset: 0.2em; }
.guide-page :focus-visible { outline: 2px solid var(--wpg-gold); outline-offset: 4px; }
.seo-related { max-width: 1080px; margin: 2rem auto; padding: 1rem; line-height: 1.8; }

/* The global header rule is for the fixed site navigation only. */
.guide-page .guide-header { position: static; inset: auto; width: auto; z-index: auto; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; border: 0; box-shadow: none; }
