/* Guide directory only. Article, test, login and landing screens are unchanged. */
.guide-directory{--paper:#f5f3ee;--ink:#252323;--muted:#63605d;--accent:#aa2946;--line:#d9d5cf;background:var(--paper);color:var(--ink);font-size:16px;line-height:1.65}
.guide-directory .seo-shell{width:min(1180px,calc(100% - 80px))}
.guide-directory .seo-header{border-color:var(--line);gap:30px;min-height:88px;flex-wrap:wrap}
.guide-directory .seo-brand{color:var(--ink)}.guide-directory .seo-brand span{color:var(--accent)}
.guide-directory .seo-nav{margin-left:auto;gap:28px}.guide-directory .seo-nav a[aria-current]{color:var(--accent);font-weight:750}
.guide-directory a:hover{color:var(--accent)}.guide-directory :focus-visible{outline:3px solid var(--accent);outline-offset:5px}
.guide-languages{display:flex;gap:8px;font-size:12px}.guide-languages a{min-width:44px;min-height:44px;display:grid;place-items:center;text-decoration:none;color:var(--muted)}.guide-languages a[aria-current]{color:var(--ink);font-weight:800;text-decoration:underline;text-underline-offset:6px}
.guide-hero{display:grid;grid-template-columns:1.2fr 1fr;gap:80px;align-items:center;padding:64px 0 58px}
.guide-eyebrow{font-size:12px;font-weight:750;letter-spacing:.13em;margin:0 0 20px;color:var(--accent)}
.guide-directory h1{font-size:clamp(36px,4.2vw,58px);line-height:1.23;letter-spacing:-.055em;margin:0;text-wrap:pretty;font-weight:800}.guide-directory h1 span{color:var(--accent)}
.guide-intro-text{font-size:16px;color:var(--muted);margin:22px 0 0;max-width:370px}
.guide-start{background:#eee4e3;padding:26px 30px;border-radius:6px 30px 6px 6px;position:relative;border:1px solid #e3d6d4}
.guide-start>p{font-size:12px;margin:0 0 5px;color:#85384a;font-weight:750}.guide-start h2{font-size:21px;margin:0 0 14px;letter-spacing:-.03em}
.guide-start ol{list-style:none;margin:0;padding:0}.guide-start li+li{border-top:1px solid #d8c9c8}
.guide-start a{display:grid;grid-template-columns:25px 1fr 20px;gap:14px;align-items:center;min-height:52px;font-size:14px;font-weight:650;text-decoration:none;padding:12px 0;line-height:1.45}
.guide-step{font:12px/1.5 ui-monospace,monospace;color:#85384a}.guide-start a>span:last-child{font-size:19px;transition:transform .15s}.guide-start a:hover>span:last-child{transform:translate(2px,-2px)}
.guide-library{padding:0 0 54px}.guide-library-heading{border-top:1px solid var(--line);display:flex;gap:16px;align-items:center;justify-content:space-between;padding-top:30px;margin-bottom:18px}
.guide-library-heading h2{font-size:22px;letter-spacing:-.04em;margin:0}.guide-library-heading p{font-size:13px;color:var(--muted);margin:0}
.guide-controls{display:flex;gap:20px;justify-content:space-between;align-items:center;margin-bottom:26px;flex-wrap:wrap}
.guide-filters{display:flex;gap:5px;flex-wrap:wrap}.guide-directory button,.guide-directory input{font:inherit}
.guide-filters button{border:0;border-radius:24px;background:transparent;color:var(--muted);min-height:44px;padding:10px 17px;font-size:14px;cursor:pointer;white-space:nowrap;transition:background .15s,color .15s}
.guide-filters button:hover{background:#e6e1da;color:var(--ink)}.guide-filters button[aria-pressed=true]{background:var(--ink);color:#fff}
.guide-search{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--line);border-radius:8px;padding:0 12px;min-height:46px;flex:1 1 250px;max-width:340px}
.guide-search svg{width:18px;height:18px;fill:none;stroke:var(--muted);stroke-width:1.7;flex-shrink:0}.guide-search input{border:0;background:none;color:var(--ink);min-width:0;width:100%;font-size:14px;padding:12px 0;outline:none}.guide-search:focus-within{outline:2px solid var(--accent);outline-offset:2px}.guide-search input:focus-visible{outline:none}.guide-search input::placeholder{color:#77716a}.guide-search input::-webkit-search-cancel-button{display:none}.guide-search button{border:0;background:transparent;width:44px;min-height:44px;color:var(--ink);cursor:pointer;font-size:22px;flex-shrink:0}
.guide-directory .seo-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0}
.guide-directory .guide-card{position:relative;padding:25px 25px 20px;background:#fff;border:1px solid #e0dcd6;border-radius:12px;min-height:218px;display:flex;flex-direction:column;transition:border-color .16s,box-shadow .16s,transform .16s}
.guide-card:hover,.guide-card:focus-within{border-color:#bb6578;box-shadow:0 7px 22px #432f3510;transform:translateY(-3px)}
.guide-card-symbol{display:grid;place-items:center;width:35px;height:35px;border-radius:50%;background:#f2e5e9;color:#92304c;margin-bottom:17px}.guide-card-symbol svg{width:24px;height:24px}
.guide-card[data-guide-topic=tests] .guide-card-symbol{background:#e9e9f3;color:#555381}.guide-card[data-guide-topic=safety] .guide-card-symbol{background:#e5eee7;color:#386447}.guide-card[data-guide-topic=relations] .guide-card-symbol{background:#f2e9dd;color:#78542f}
.guide-card-category{position:absolute;right:25px;top:32px;font-size:12px;font-weight:650;color:var(--muted)}
.guide-directory .guide-card h2{font-size:20px;line-height:1.45;letter-spacing:-.035em;margin:0 0 9px;font-weight:750}
.guide-card h2 a{text-decoration:none}.guide-card h2 a:after{content:'';position:absolute;inset:0;border-radius:12px}
.guide-directory .guide-card p{font-size:14px;line-height:1.7;color:var(--muted);margin:0 0 20px;overflow-wrap:anywhere}
.guide-card-action{margin-top:auto;display:flex;justify-content:space-between;align-items:center;font-size:12px;font-weight:650;color:var(--muted)}.guide-card-action>span{color:var(--accent);font-size:22px;line-height:1}
.guide-empty{text-align:center;padding:60px 20px;border:1px dashed var(--line);border-radius:12px}.guide-empty h3{font-size:21px;margin:0 0 10px}.guide-empty p{color:var(--muted)}.guide-empty button{border:1px solid var(--ink);background:var(--ink);color:#fff;padding:12px 20px;border-radius:7px;min-height:44px;cursor:pointer}
.guide-next{background:#282426;color:#fff;border-radius:12px;padding:30px 36px;display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:54px}.guide-next h2{font-size:23px;margin:0 0 7px;letter-spacing:-.04em}.guide-next p{margin:0;font-size:14px;color:#d4cdd0}.guide-next a{background:#ffc3d1;border-radius:7px;text-decoration:none;color:#422331;padding:14px 20px;display:flex;gap:30px;align-items:center;white-space:nowrap;font-size:14px;font-weight:750;min-height:48px}.guide-next a:hover{color:#422331;background:#ffd4df}
.guide-directory .seo-footer{border-color:var(--line);color:var(--muted);font-size:12px}.guide-directory .seo-footer .seo-nav{gap:20px}.guide-directory [hidden]{display:none!important}.guide-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:1020px){.guide-directory .seo-shell{width:calc(100% - 48px)}.guide-hero{gap:36px}.guide-directory .seo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.guide-languages{width:100%;justify-content:flex-end;margin-top:-24px}.guide-directory .seo-header{padding:12px 0;gap:16px}.guide-start{padding:24px}.guide-search{max-width:none}}
@media(max-width:600px){.guide-directory .seo-shell{width:calc(100% - 36px)}.guide-directory .seo-header{align-items:center;gap:8px 18px}.guide-directory .seo-brand{font-size:23px}.guide-directory .seo-header .seo-nav{gap:18px}.guide-directory .seo-header .seo-nav a{font-size:13px}.guide-languages{margin-top:-4px;justify-content:flex-start;border-top:1px solid #e4e0da;gap:12px}.guide-hero{grid-template-columns:1fr;gap:24px;padding:30px 0}.guide-directory h1{font-size:37px;line-height:1.23}.guide-eyebrow{margin-bottom:14px;font-size:11px}.guide-intro-text{margin-top:16px;font-size:15px;max-width:280px}.guide-start{padding:19px 22px;border-radius:6px 22px 6px 6px}.guide-start h2{font-size:18px;margin-bottom:6px}.guide-start a{min-height:46px;font-size:13px;padding:10px 0}.guide-library-heading{padding-top:24px}.guide-library-heading h2{font-size:20px}.guide-controls{gap:14px;margin-bottom:20px}.guide-filters{width:100%;gap:2px}.guide-filters button{font-size:12px;padding:9px 11px}.guide-search{flex-basis:100%}.guide-directory .seo-grid{grid-template-columns:1fr;gap:12px}.guide-directory .guide-card{min-height:0;padding:21px 22px 18px}.guide-card-symbol{margin-bottom:13px;width:31px;height:31px}.guide-card-category{top:26px;right:22px}.guide-directory .guide-card h2{font-size:20px;margin-bottom:7px}.guide-directory .guide-card p{margin-bottom:16px}.guide-next{padding:25px 22px;align-items:stretch;flex-direction:column;gap:20px;margin-bottom:32px}.guide-next a{justify-content:space-between}.guide-library{padding-bottom:30px}}
@media(prefers-reduced-motion:reduce){.guide-directory *{transition:none!important;transform:none!important}}
