/* Direction directory */
.directions-directory .questions-head { margin:16px 0 clamp(32px,4.4vw,56px); padding:clamp(24px,4.4vw,56px) clamp(20px,4vw,48px); border:0; border-radius:26px; background:linear-gradient(115deg,#eef0fa,#e4ebfc 65%,#d8e4fc); }
.directions-directory .questions-heading h1 { font-size:clamp(2rem,3.5vw,2.85rem); }
.directions-directory .questions-heading p { max-width:64ch; font-size:1.125rem; line-height:1.6; }
.directions-directory .questions-search { border-color:#e7e9f2; }
.directions-directory .questions-search input { min-height:44px; }
#directions.ux-direction-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr))!important; grid-auto-rows:1fr; gap:16px; margin:0; }
#directions .direction { display:flex; flex-direction:column; align-items:flex-start; gap:0; min-width:0; padding:24px; background:#fff; border:1px solid #e7e9f2; border-radius:22px; color:#0e0d0d; text-decoration:none; transform:none; transition:background-color .2s,border-color .2s,box-shadow .2s; }
#directions .direction[hidden] { display:none; }
#directions .ux-icon { width:48px; height:48px; border-radius:15px; background:#eef0fa; color:#1f43c9; }
#directions .direction h2 { margin:20px 0 8px; font-size:1.08rem; line-height:1.35; letter-spacing:-.02em; }
#directions .direction p { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; height:2lh; margin:0; color:var(--muted); font-size:.9375rem; line-height:1.55; }
#directions .ux-card-more { display:inline-flex; align-items:center; gap:7px; margin:auto 0 0; padding-top:18px; color:#1f43c9; font-size:.8125rem; line-height:1.4; font-weight:600; }
#directions .direction:focus-visible { outline:3px solid var(--ux-accent); outline-offset:3px; }
#directions .direction:is(:hover,:focus-visible,:active) { background:#1f43c9; color:white; border-color:#1f43c9; box-shadow:0 10px 30px -12px rgba(31,67,201,.18); }
#directions .direction:is(:hover,:focus-visible,:active) :is(h2,h3,p,.ux-card-more) { color:inherit; }
#directions .direction:is(:hover,:focus-visible,:active) .ux-icon { background:#fff; color:#1f43c9; }
.direction-help { margin:clamp(32px,4.5vw,56px) 0 0; display:flex; gap:24px; align-items:center; justify-content:space-between; padding:clamp(24px,3.5vw,40px); border-radius:26px; background:#062e50; color:white; }
.direction-help h2,.prices-heading h2 { margin:0; font-size:clamp(1.3rem,2vw,1.6rem); line-height:1.25; }
.direction-help p { margin:8px 0 0; color:#d1deed; }
.direction-actions { display:flex; flex:none; align-items:center; flex-wrap:wrap; gap:10px; }
.direction-actions :is(a,button) { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:46px; padding:0 19px; border-radius:24px; font:inherit; font-size:.9rem; font-weight:600; text-decoration:none; cursor:pointer; transition:background .18s,color .18s,border-color .18s; }
.direction-actions .help-book { background:white; color:#092f50; border:1px solid white; }
.direction-actions button { background:transparent; color:white; border:1px solid #55728c; }
.direction-actions svg { width:17px; height:17px; }
.direction-actions .help-book:is(:hover,:focus-visible) { color:#1f43c9; background:#eef0fa; }
.direction-actions button:is(:hover,:focus-visible) { border-color:white; background:#194364; }
#direction-prices { position:fixed; inset:0; margin:auto; width:min(570px,calc(100% - 32px)); max-height:76dvh; padding:24px; border:1px solid var(--line); border-radius:22px; background:white; color:var(--ink); box-shadow:0 14px 48px #0a25363d; overflow:auto; }
#direction-prices::backdrop { background:#0a253680; }
.prices-heading { display:flex; justify-content:space-between; gap:12px; align-items:center; margin-bottom:14px; }
.prices-heading button { width:38px; height:38px; flex:none; cursor:pointer; border:0; border-radius:50%; background:#eef0fa; color:#17335b; font-size:1.5rem; }
.price-links { display:grid; grid-template-columns:1fr 1fr; gap:4px 12px; }
.price-links a { padding:8px; text-decoration:none; border-radius:8px; color:inherit; }
.price-links a:is(:hover,:focus-visible) { background:#eef0fa; color:#1f43c9; }
@media(max-width:940px){#directions.ux-direction-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.direction-help{align-items:flex-start;flex-direction:column}}
@media(max-width:650px){#directions.ux-direction-grid{grid-template-columns:minmax(0,1fr)!important}#directions .direction{padding:20px}.directions-directory .questions-heading p{font-size:1rem}.price-links{grid-template-columns:1fr}.direction-actions{flex:auto;max-width:100%}.direction-actions :is(a,button){padding-inline:14px}}
html[data-scale]:not([data-scale="100"]) #directions.ux-direction-grid{grid-template-columns:1fr!important}
html[data-scale]:not([data-scale="100"]) #directions .direction p{height:auto;-webkit-line-clamp:unset}
@media(prefers-reduced-motion:reduce){#directions .direction,.direction-actions :is(a,button){transition:none}}
