/* Guide selection: distinct typography, clickable cards and topic filters. */
.guide-index-page .guide-library{padding-top:30px;padding-bottom:32px}
.guide-library .section-head{margin-bottom:23px;display:grid;grid-template-columns:1.6fr 1fr;gap:9px 40px;align-items:end}
.guide-library .section-head>.eyebrow{grid-column:1/-1;margin:0;font-size:10px}
.guide-library .section-head h2{max-width:25ch;font-size:clamp(27px,2.8vw,36px);line-height:1.18;margin:0}
.guide-library .section-head>p:not(.eyebrow){max-width:35ch;font-size:13px;line-height:1.7;margin:0;justify-self:end}
.guide-library .guide-tools{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 0;margin-bottom:23px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.guide-library .guide-filters{display:flex;flex-wrap:wrap;gap:7px}
.guide-library .guide-filters button{padding:8px 14px;min-height:39px;background:#f1eee8;border:1px solid #dfdbd3;border-radius:24px;font-size:12px;font-weight:600;color:var(--muted);transition:background 160ms,color 160ms,border-color 160ms}
.guide-library .guide-filters button:hover{background:#e7e2d9;color:var(--navy);border-color:#c7c0b5}
.guide-library .guide-filters button.is-active{background:var(--navy);color:white;border-color:var(--navy)}
.guide-library .guide-results{font-size:11px;line-height:1.5;color:var(--muted);white-space:nowrap;margin:0}
.guide-library .guide-topic-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}
.guide-library .guide-card{display:flex;flex-direction:column;align-items:start;padding:23px 24px 21px;background:#fffefb;border:1px solid #dedad2;border-radius:9px;min-width:0;text-decoration:none;transition:background 160ms,border-color 160ms,box-shadow 160ms}
.guide-library .guide-card:hover{background:#f8f4ed;border-color:#c6b7a5;box-shadow:0 5px 18px #2029340a;text-decoration:none}
.guide-library .guide-card:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
.guide-card-top{display:flex;align-items:center;gap:11px;width:100%;margin-bottom:17px}
.guide-card-icon{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:8px;background:#eee9e0;color:var(--navy)}
.guide-card-icon svg{display:block;width:22px;height:22px}
.guide-card-category{display:block;font-size:10px;font-weight:600;color:var(--accent);letter-spacing:.025em}
.guide-library .guide-card h3{display:block;font-size:21px;line-height:1.28;letter-spacing:-.03em;margin:0 0 11px;color:var(--ink);font-weight:600}
.guide-library .guide-card p{display:block;font-size:12.5px;line-height:1.75;margin:0 0 20px;color:var(--muted)}
.guide-card-action{display:inline-flex;align-items:center;gap:19px;border:1px solid #d5d2ca;border-radius:5px;padding:7px 11px;font-size:11px;line-height:1.4;font-weight:600;color:var(--navy);margin-top:auto;background:var(--paper)}
.guide-card:hover .guide-card-action{background:var(--navy);border-color:var(--navy);color:white}
.guide-index-page .guide-orientation{padding-top:0;padding-bottom:36px}
.guide-orientation>details{border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.guide-orientation summary{display:flex;justify-content:space-between;gap:20px;align-items:center;list-style:none;font-size:14px;font-weight:600;padding:18px 0}
.guide-orientation summary::-webkit-details-marker{display:none}
.guide-orientation summary>span{font-size:23px;font-weight:400;color:var(--accent)}
.guide-orientation details[open] summary>span{transform:rotate(45deg)}
.guide-orientation .editorial-body{max-width:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:23px;padding:10px 0 22px}
.guide-orientation .editorial-part{padding:0;margin:0;border:0}
.guide-orientation .editorial-part h2{font-size:19px;line-height:1.3;margin-bottom:10px}
.guide-orientation .editorial-part p{font-size:12px;line-height:1.75;margin:0;color:var(--muted)}
.guide-orientation .page-nav-list{grid-column:1/-1;margin:0;gap:8px}
.guide-orientation .page-nav-list a{padding:7px 11px;font-size:11px;border-radius:5px}
@media(max-width:1000px){.guide-library .guide-topic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.guide-library .guide-tools{align-items:start;flex-direction:column;gap:10px}}
@media(max-width:760px){
 .guide-index-page .guide-library{padding-top:23px;padding-bottom:26px}
 .guide-library .section-head{display:block;margin-bottom:18px}
 .guide-library .section-head>.eyebrow{margin:0 0 8px}
 .guide-library .section-head h2{font-size:28px;max-width:24ch;margin:0 0 10px}
 .guide-library .section-head>p:not(.eyebrow){font-size:12px;max-width:none}
 .guide-library .guide-tools{padding:14px 0;margin-bottom:18px}
 .guide-library .guide-filters{gap:7px}
 .guide-library .guide-filters button{min-height:40px;padding:9px 13px;font-size:11px}
 .guide-library .guide-card{padding:21px 20px}
 .guide-card-top{margin-bottom:14px}
 .guide-library .guide-card h3{font-size:20px}
 .guide-library .guide-card p{font-size:13px;margin-bottom:17px}
 .guide-card-action{padding:9px 12px;font-size:12px;min-height:38px}
 .guide-orientation .editorial-body{grid-template-columns:1fr;gap:20px}
 .guide-index-page .guide-orientation{padding-bottom:28px}
 .guide-orientation summary{font-size:13px;padding:15px 0}
}
@media(max-width:560px){.guide-library .guide-topic-grid{grid-template-columns:1fr;gap:13px}}
