.guide-image-hero{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:-18px 0 34px}
.guide-image-hero.guide-image-single{grid-template-columns:minmax(0,760px);justify-content:center}
.guide-image-hero.guide-image-single img{height:min(54vw,460px);aspect-ratio:16/9}
.guide-image-hero a{display:flex;flex-direction:column;overflow:hidden;border:1px solid #dfe4eb;border-radius:15px;background:#fff;color:#253043;text-decoration:none;box-shadow:0 14px 38px rgba(25,33,45,.08)}
.guide-image-hero img{width:100%;aspect-ratio:4/3;object-fit:contain;background:#fff;padding:12px;box-sizing:border-box}
.guide-image-hero span{padding:10px 13px;border-top:1px solid #edf0f4;font-size:11px;letter-spacing:.08em;text-transform:uppercase}
.guide-product-image{float:right;width:min(42%,320px);margin:4px 0 18px 28px;border:1px solid #e0e5eb;border-radius:13px;overflow:hidden;background:#fff}
.guide-product-image img{display:block;width:100%;height:220px;object-fit:contain;background:#fff;padding:10px;box-sizing:border-box}
.guide-product-image figcaption{padding:9px 12px;border-top:1px solid #edf0f4;color:#687386;font-size:11px;line-height:1.45}
.guide-image-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:8px 0 22px}
.guide-image-pair .guide-product-image{float:none;width:auto;margin:0}
.guide-product-wide{width:min(48%,380px)}
.guide-prose section:after{content:"";display:block;clear:both}
.guide-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:0 0 36px}
.guide-card-grid .simple-guide.guide-card{display:grid;grid-template-columns:150px minmax(0,1fr);gap:20px;align-items:center;margin:0;padding:18px;border:1px solid #dfe4eb;border-radius:16px;background:#fff;box-shadow:0 12px 34px rgba(25,33,45,.07)}
.guide-card-image{display:block;align-self:stretch;min-height:150px;border-radius:11px;overflow:hidden;background:#f7f8fa}
.guide-card-image img{display:block;width:100%;height:100%;min-height:150px;object-fit:contain;padding:10px;box-sizing:border-box;background:#fff}
.guide-card h2{font-size:clamp(22px,2.2vw,31px);line-height:1.05;margin:7px 0 9px}
.guide-card h2 a{color:inherit;text-decoration:none}
.guide-card p{margin:0 0 10px;color:#596477;font-size:14px;line-height:1.5}
.guide-index-entry{display:grid!important;grid-template-columns:180px minmax(0,1fr);gap:22px;align-items:center}
.guide-index-image{display:block;border:1px solid #e1e6ec;border-radius:12px;overflow:hidden;background:#fff}
.guide-index-image img{display:block;width:100%;height:160px;object-fit:contain;padding:10px;box-sizing:border-box}
.table-scroll{overflow-x:auto}
@media(max-width:900px){.guide-card-grid{grid-template-columns:1fr}.guide-card-grid .simple-guide.guide-card{grid-template-columns:140px minmax(0,1fr)}}
@media(max-width:700px){.guide-image-hero{grid-template-columns:1fr;margin-top:-8px}.guide-image-hero img,.guide-image-hero.guide-image-single img{height:220px;aspect-ratio:auto}.guide-product-image,.guide-product-wide{float:none;width:100%;margin:12px 0 20px}.guide-image-pair{grid-template-columns:1fr}.guide-product-image img{height:240px}.guide-card-grid .simple-guide.guide-card,.guide-index-entry{grid-template-columns:1fr}.guide-card-image{min-height:190px}.guide-card-image img{height:210px}.guide-index-image img{height:220px}}

/* Whatnot long-form guide: scoped media and accessible overflow. */
.whatnot-guide{max-width:850px}.whatnot-guide h2[id],.whatnot-guide h3[id]{scroll-margin-top:24px}.whatnot-guide .whatnot-toc{display:block;padding:24px;border:1px solid #dce3e8;border-radius:12px;background:#f5f7f7;margin-bottom:32px}.whatnot-toc ol{columns:2;column-gap:32px}.whatnot-toc li{break-inside:avoid;margin-bottom:10px}.whatnot-guide .whatnot-figure{margin:28px 0}.whatnot-figure img,.whatnot-video video{display:block;width:100%;height:auto;border-radius:12px}.whatnot-figure figcaption{font-size:14px;line-height:1.6;color:#53616e;margin-top:12px}.whatnot-video{margin:32px 0}.whatnot-video details{padding:16px;background:#f5f7f7;border-radius:8px}.whatnot-guide table{min-width:580px}.whatnot-guide .table-scroll{margin:24px 0}.whatnot-guide a{overflow-wrap:anywhere}@media(max-width:700px){.whatnot-toc ol{columns:1}.whatnot-guide .whatnot-toc{padding:18px}}
