/* Editorial layouts share the site's theme, type and spacing. */
.guide-index,.guide-detail{padding-top:2.5rem}
.guide-breadcrumbs{display:flex;flex-wrap:wrap;gap:.6rem;color:var(--muted);font-size:.85rem;line-height:1.6}
.guide-breadcrumbs a:hover{text-decoration:underline}
.guide-eyebrow{font-size:.7rem;letter-spacing:.12em;text-transform:uppercase;font-weight:650;color:var(--muted);margin:0 0 1rem}
.guide-eyebrow span{margin:0 .5rem;opacity:.5}
.guide-index-header{display:grid;grid-template-columns:minmax(0,1fr) 16rem;gap:4rem;align-items:end;padding:4rem 0;border-bottom:1px solid var(--color-base-300)}
.guide-index-header h1{font-size:clamp(2.6rem,5.5vw,5rem);font-weight:700;line-height:1.07;letter-spacing:-.045em;font-stretch:expanded}
.guide-intro{max-width:58ch;color:var(--muted);font-size:1.15rem;line-height:1.8;margin-top:1.3rem}
.guide-index-note{border-left:2px solid var(--color-primary);padding-left:1.5rem}
.guide-note-number{color:var(--muted);font-size:.75rem;letter-spacing:.15em}
.guide-index-note p{font-size:1.25rem;font-weight:600;line-height:1.6;margin:1rem 0}
.guide-index-note a{font-size:.85rem;text-decoration:underline;text-underline-offset:4px}
.guide-library{margin-top:3rem}
.guide-section-heading{display:flex;justify-content:space-between;align-items:end;gap:1.5rem;margin-bottom:1.5rem}
.guide-section-heading .guide-eyebrow{margin-bottom:.6rem}
.guide-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.25rem}
.guide-card{border:1px solid var(--color-base-300);border-radius:var(--r-md,1rem);background:var(--color-base-100);overflow:hidden;display:flex;flex-direction:column;min-width:0}
.guide-card-content{padding:1.75rem;display:flex;flex-direction:column;flex:1}
.guide-card h3{font-size:1.35rem;line-height:1.35;font-weight:650;letter-spacing:-.025em;margin:0 0 1rem}
.guide-card h3 a:hover{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}
.guide-card-summary{font-size:.94rem;color:var(--muted);line-height:1.75;margin-bottom:1.75rem}
.guide-card-bottom{margin-top:auto;padding-top:1.1rem;border-top:1px solid var(--color-base-300);display:flex;flex-wrap:wrap;gap:.75rem;justify-content:space-between;font-size:.75rem;color:var(--muted)}
.guide-card-bottom a{font-weight:650;color:var(--color-base-content)}
.guide-card-image{width:100%;aspect-ratio:16/9;object-fit:cover}
.guide-article-header{max-width:55rem;padding:3.5rem 0 2.5rem}
.guide-article-header h1{font-size:clamp(2.2rem,4.5vw,4rem);line-height:1.12;font-weight:700;font-stretch:expanded;letter-spacing:-.035em}
.guide-byline{display:flex;flex-wrap:wrap;gap:.6rem 1.4rem;color:var(--muted);font-size:.8rem;margin-top:1.5rem}
.guide-byline a{text-decoration:underline;text-underline-offset:3px}
.guide-cover{margin-bottom:3rem;max-width:60rem}
.guide-cover img{width:100%;height:auto;border-radius:var(--r-md,1rem)}
.guide-reading-layout{display:grid;grid-template-columns:15rem minmax(0,46rem);gap:4rem;border-top:1px solid var(--color-base-300);padding-top:2.5rem;align-items:start}
.guide-sidebar{position:sticky;top:6rem;max-height:calc(100dvh - 7rem);overflow:auto}
.guide-toc summary{font-weight:650;font-size:.9rem;cursor:pointer;margin-bottom:1rem}
.guide-toc ul{list-style:none;padding:0;margin:0}
.guide-toc li{margin:.6rem 0;font-size:.85rem;line-height:1.6;color:var(--muted)}
.guide-toc li ul{padding-left:1rem}
.guide-toc a:hover{color:var(--color-base-content);text-decoration:underline}
.guide-toolbox{margin-top:2rem;border-top:1px solid var(--color-base-300);padding-top:1.5rem}
.guide-toolbox h2{font-size:1rem;font-weight:650;margin-bottom:.75rem}
.guide-toolbox a{display:flex;justify-content:space-between;gap:1rem;padding:.7rem 0;font-size:.9rem;text-decoration:underline;text-underline-offset:4px}
.guide-prose{min-width:0;font-size:1.05rem;line-height:1.9;overflow-wrap:anywhere}
.guide-prose>:first-child{margin-top:0}
.guide-prose h2{font-size:1.7rem;line-height:1.3;letter-spacing:-.025em;font-weight:650;margin:2.8rem 0 1rem;scroll-margin-top:7rem}
.guide-prose h3{font-size:1.2rem;font-weight:650;line-height:1.4;margin:2rem 0 .75rem;scroll-margin-top:7rem}
.guide-prose p,.guide-prose ul,.guide-prose ol{margin:1rem 0}
.guide-prose ul,.guide-prose ol{padding-left:1.5rem;list-style:revert}
.guide-prose li{padding-left:.3rem;margin:.6rem 0}
.guide-prose a{text-decoration:underline;text-underline-offset:4px;font-weight:550}
.guide-prose blockquote{margin:1.5rem 0;padding:.25rem 1.4rem;border-left:3px solid var(--color-primary);background:var(--color-base-100);border-radius:0 .5rem .5rem 0}
.guide-prose pre{overflow:auto;padding:1rem;border:1px solid var(--color-base-300);border-radius:.5rem;font-size:.85rem}
.guide-prose code{font-size:.9em}.guide-prose img{max-width:100%;height:auto}
.guide-prose table{display:block;overflow:auto;border-collapse:collapse;max-width:100%}
.guide-prose th,.guide-prose td{padding:.7rem 1rem;border:1px solid var(--color-base-300);text-align:left}
.guide-endnote{display:flex;flex-wrap:wrap;gap:1rem 2rem;border-top:1px solid var(--color-base-300);margin-top:4rem;padding-top:2rem;font-size:.9rem}
.guide-endnote p{font-weight:650}.guide-endnote a{text-decoration:underline;text-underline-offset:4px}
.guide-preview{padding:1rem 1.3rem;border:1px solid var(--color-primary);border-radius:.5rem;margin-bottom:2rem;background:var(--color-base-100)}
.guide-preview a{text-decoration:underline}
.guide-empty{padding:3rem;border:1px dashed var(--color-base-300);border-radius:1rem;max-width:45rem}
.guide-empty h3{font-size:1.3rem;font-weight:650}.guide-empty p{margin-top:1rem;color:var(--muted);line-height:1.8}
@media(max-width:1000px){.guide-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.guide-index-header{gap:2rem;grid-template-columns:minmax(0,1fr) 12rem}.guide-reading-layout{grid-template-columns:12rem minmax(0,1fr);gap:2rem}}
@media(max-width:680px){.guide-index-header{grid-template-columns:1fr;padding:2.5rem 0}.guide-index-note{display:none}.guide-grid{grid-template-columns:1fr}.guide-reading-layout{grid-template-columns:1fr;gap:2rem}.guide-sidebar{position:static;max-height:none}.guide-toc{padding:1rem 1.2rem;background:var(--color-base-100);border:1px solid var(--color-base-300);border-radius:.6rem}.guide-toc summary{margin:0}.guide-toc[open] summary{margin-bottom:1rem}.guide-toolbox{margin-top:1rem}.guide-article-header{padding-top:2.5rem}.guide-section-heading{align-items:start}.guide-card-content{padding:1.5rem}.guide-empty{padding:1.5rem}}
