/* Guide cards on the home page (added by guide-src/build.py; the rest of the page uses style.css) */
.guides{display:grid;grid-template-columns:1fr;gap:18px;padding:8px 0 18px}
.gcard{display:flex;flex-direction:column;background:var(--card);border:1px solid var(--line);border-radius:14px;overflow:hidden;color:inherit;text-decoration:none}
.gcard img{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;object-position:50% 40%}
.gcard__t{display:block;padding:18px 22px 22px}
.gcard .tag{font-size:12px;text-transform:uppercase;letter-spacing:.8px;color:var(--accent);font-weight:600}
.gcard h2{font-family:"NE Serif",Georgia,"Times New Roman",serif;font-weight:500;font-size:23px;line-height:1.25;margin:8px 0 8px;text-wrap:balance}
.gcard p{margin:0;color:#34313f;font-size:16px;text-wrap:pretty}
.gcard:hover h2,.gcard:focus-visible h2{text-decoration:underline}
@media(min-width:760px){
.guides{grid-template-columns:repeat(2,1fr)}
.gcard--lead{grid-column:1/-1;flex-direction:row;align-items:stretch}
.gcard--lead img{width:52%;aspect-ratio:16/10}
.gcard--lead .gcard__t{align-self:center;padding:26px 30px}
.gcard--lead h2{font-size:30px}
.gcard--lead p{font-size:18px}
}
.card h2{text-wrap:balance}
