/*
  Generated editorial category scenes. These visuals explain a category; they
  are never used as evidence of a model, supplier premises, registry location,
  stock state, approval or partnership.
*/
.category-banner{position:relative;margin:38px 0 32px;height:clamp(250px,34vw,470px);overflow:hidden;border:1px solid #c8d3ce;background:#0a2830}
.category-banner img{display:block;width:100%;height:100%;object-fit:cover}
.category-banner:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 50%,#061c24d9)}
.category-banner figcaption{position:absolute;z-index:1;left:18px;bottom:17px;max-width:680px;padding:9px 11px;background:#061c24e8;color:#fff;font:800 9px/1.5 Manrope,Arial,sans-serif;letter-spacing:.1em;text-transform:uppercase}

.category-banner-oem img{object-position:center 52%}
.category-banner-china{height:clamp(230px,27vw,360px);margin:36px 0 0;border-color:#3b5960}
.category-banner-china img{object-position:center}
.category-banner-charging{border-color:#31515a}
.category-banner-garage img{object-position:center}
.category-banner-impact img{object-position:center}

/* Registry cards use one clearly labelled category backdrop, not a fake site photo. */
.charger-record{background-image:linear-gradient(180deg,#061c2440,#061c24f2),url("assets/categories/charging-hub.jpg");background-size:cover;background-position:center}
.charger-record>*{position:relative;z-index:1}
.charger-record:after{z-index:1;text-shadow:0 1px 18px #061c24}

/* Service-segment markers are category art, never individual garage images. */
.garage-types i{position:relative;overflow:hidden;background-image:linear-gradient(180deg,#071f2833,#071f28e8),url("assets/categories/ev-garage.jpg");background-size:cover;background-position:center}
.garage-types i:after{content:"Category illustration · not this garage";position:absolute;left:20px;right:20px;top:18px;color:#fff;font:800 8px/1.4 Manrope,Arial,sans-serif;letter-spacing:.08em;text-transform:uppercase}

/* Supplier and service-directory context; not used for exact product records. */
.entity-context-photo span{background:#061b22ed}
.entity-context-photo:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 52%,#061b228f);pointer-events:none}
.entity-context-photo span{z-index:1}

.oem-section,.impact-directory{position:relative}
.oem-section .oem-warning,.oem-section .oem-toolbar,.oem-section .oem-grid,.oem-section .oem-source,.impact-directory .impact-grid{position:relative;z-index:1}

@media(max-width:700px){.category-banner{height:260px;margin:28px 0 24px}.category-banner figcaption{left:10px;right:10px;bottom:10px;font-size:8px}.category-banner-china{height:240px}.garage-types i:after{left:16px;right:16px}}
