/* Volvo V3 component card preview — 2x2 category matrix */
.v3-components .v3-component-layout{grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:32px;align-items:stretch}
.v3-components .v3-component-media{display:flex;flex-direction:column;justify-content:center;height:100%}
.v3-components .v3-component-media img{width:100%;height:100%;max-height:100%;object-fit:contain;border-radius:12px;background:#fff}
.v3c-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;grid-auto-rows:1fr;min-width:0}
.v3c-card{border:1px solid #dfe7ef;border-radius:10px;background:#fff;overflow:hidden;display:flex;flex-direction:column;min-width:0;transition:transform .22s ease,box-shadow .22s ease}
.v3c-card:hover{transform:translateY(-3px);box-shadow:0 10px 24px rgba(15,45,78,.1)}
.v3c-media{margin:0;aspect-ratio:4/3;background:#fff;display:flex;align-items:center;justify-content:center;padding:10px;cursor:zoom-in;overflow:hidden;border-bottom:1px solid #eef2f6}
.v3c-media img{width:100%;height:100%;object-fit:contain;display:block}
.v3c-media:focus-visible{outline:2px solid #f0b81a;outline-offset:-2px}
.v3c-body{padding:12px 14px 14px;display:flex;flex-direction:column;gap:4px;flex:1}
.v3c-title{font-size:13.5px;font-weight:800;color:#0f2d4e;text-decoration:none;line-height:1.3}
.v3c-title:hover{text-decoration:underline}
.v3c-title:focus-visible{outline:2px solid #f0b81a;outline-offset:2px;border-radius:2px}
.v3c-count{font-size:11.5px;color:#6b7c8d}
@media(max-width:900px){
  .v3-components .v3-component-layout{grid-template-columns:1fr;gap:22px}
  .v3-components .v3-component-media{max-width:720px;margin:0 auto}
}
@media(max-width:700px){
  .v3c-grid{grid-template-columns:1fr}
}

/* Alignment fix: remove media padding/border and let source images fill the media box */
.v3-components .v3c-media{aspect-ratio:4/3;padding:0;border-bottom:0;box-sizing:border-box;line-height:0;background:#fff;overflow:hidden}
.v3-components .v3c-media img{display:block;width:100%;height:100%;object-fit:contain}
.v3-components .v3c-body{padding:12px 14px 14px;border-top:0}
.v3-components .v3-component-media{height:auto;align-self:center;justify-content:center}
.v3-components .v3-component-media img{height:auto;max-height:none;object-fit:contain}
