.guide-section-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:12px 28px;margin-bottom:30px}
.guide-section-head h2{margin:0}
.guides-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(14px,2vw,28px)}
.guide-card{border:1px solid var(--line);border-radius:14px;min-width:0;background:var(--white)}
.guide-card>a{display:flex;flex-direction:column;height:100%;color:var(--blue);text-decoration:none;border-radius:inherit}
.guide-card>a:focus-visible,.guide-article a:focus-visible,.guide-section-head a:focus-visible{outline:2px solid var(--blue);outline-offset:4px}
.guide-cover{overflow:hidden;aspect-ratio:3/2;background:var(--soft)}
.guide-card .guide-cover{border-radius:13px 13px 0 0}
.guide-cover img{width:100%;height:100%;display:block;object-fit:cover}
.guide-card-copy{padding:clamp(18px,2.2vw,28px);display:flex;flex-direction:column;flex:1;gap:12px}
.guide-card h3{font-size:clamp(21px,2vw,28px);line-height:1.2;letter-spacing:-.02em;margin:0;font-weight:550;overflow-wrap:break-word}
.guide-card p{font-size:16px;color:var(--muted);line-height:1.55;margin:0}
.guide-read{font-size:16px;font-weight:650;margin-top:auto;padding-top:8px}
.guide-read span{padding-inline-start:4px}
.guide-card>a:hover .guide-read{text-decoration:underline;text-underline-offset:4px}
.guide-index-grid{padding-top:12px}
.guide-hero-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:clamp(24px,4vw,70px);align-items:center}
.guide-hero-grid .guide-cover{border-radius:14px}
.guide-hero-grid figcaption{font-size:14px;color:var(--muted);margin-top:6px}
.guide-layout{display:grid;grid-template-columns:minmax(0,250px) minmax(0,780px);gap:clamp(28px,5vw,78px);align-items:start;padding-block:clamp(18px,4vw,56px)}
.guide-contents{background:var(--soft);padding:20px;border-radius:12px}
.guide-contents p{font-size:18px;font-weight:650;margin:0 0 12px}
.guide-contents ul,.guide-references ul{margin:0;padding-inline-start:20px}
.guide-contents li{font-size:16px;line-height:1.45}
.guide-contents li+li,.guide-references li+li{margin-top:8px}
.guide-contents a,.guide-references a{color:var(--blue);text-decoration:underline;text-underline-offset:3px}
.guide-prose{min-width:0;color:var(--muted);font-size:19px;line-height:1.68}
.guide-prose section{scroll-margin-top:120px;margin-top:32px}
.guide-prose h2{font-size:clamp(23px,2.7vw,32px);line-height:1.24;color:var(--blue);margin:0 0 14px}
.guide-prose p{margin:0 0 14px}
.guide-intro{font-size:1.08em}
.guide-next{margin-top:36px;padding:clamp(18px,4vw,32px);background:var(--soft);border-inline-start:3px solid var(--yellow);border-radius:10px}
.guide-next .in-actions{margin-top:16px}
.guide-references{border-top:1px solid var(--line);padding-top:24px}
.guide-references p{font-size:16px;margin-top:14px}
.guide-related .guides-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:1000px){.guides-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.guide-layout{grid-template-columns:minmax(0,195px) minmax(0,1fr)}}
@media(max-width:760px){.guide-layout,.guide-hero-grid{grid-template-columns:minmax(0,1fr)}.guide-prose{font-size:18px}.guide-prose section{scroll-margin-top:30px}.guide-hero-grid h1{overflow-wrap:break-word}}
@media(max-width:540px){.guides-grid,.guide-related .guides-grid{grid-template-columns:minmax(0,1fr)}.guide-article .in-actions .button{white-space:normal;max-width:100%;width:100%}}
@media(min-width:1100px){
 .guides-grid-compact{grid-template-columns:repeat(6,minmax(0,1fr));gap:clamp(12px,1.15vw,18px)}
 .guides-grid-compact .guide-card-copy{padding:14px;gap:9px}
 .guides-grid-compact .guide-card h3{font-size:clamp(16px,1.32vw,20px);line-height:1.28}
 .guides-grid-compact .guide-card p{display:none}
 .guides-grid-compact .guide-read{font-size:14px}
}
