/* Automotive pages share the site's listing/detail components. */
.automotive-page .automotive-hero,.automotive-page .detail-hero { background: radial-gradient(ellipse at 85% 80%,#24558b 0,transparent 55%),linear-gradient(120deg,#071e42,#0e3670); }
.automotive-page .auto-tagline { color: #ffc727 !important; font-weight: 800; font-style: italic; margin-top: 28px; font-size: 24px; }
.automotive-page .series-card { grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); gap: 60px; }
.auto-range { display: flex; min-height: 320px; padding: 38px; flex-direction: column; justify-content: center; gap: 26px; border-radius: 20px; color: white; background: linear-gradient(140deg,#0a2e63,#1b528b); }
.auto-range span { color: #ffc727; font-size: 11px; letter-spacing: 2px; }
.auto-range strong { font-size: clamp(32px,3.2vw,48px); line-height: 1.1; }
.auto-range p { font-size: 22px; line-height: 1.4; }
.automotive-page .detail-hero-copy h1 { width: auto; max-width: 850px; font-size: clamp(38px,5vw,64px); line-height: 1.1; }
.automotive-page .detail-hero-copy > p { margin-top: 25px; max-width: 700px; font-size: 22px; }
.automotive-page .detail-hero-copy { position: static; transform: none; margin-top: 65px; }
.automotive-page .detail-hero-inner { padding-bottom: 60px; }
.automotive-page .detail-breadcrumb { flex-wrap: wrap; line-height: 1.8; }
.automotive-page .summary-grid { grid-template-columns: minmax(0,1.6fr) repeat(2,minmax(0,1fr)); gap: 25px; }
.automotive-page .summary-grid h3 { margin-bottom: 16px; font-size: 20px; color: #db5b13; }
.automotive-page .summary-stat small { display: block; margin-top: 15px; font-size: 14px; font-weight: 400; line-height: 1.7; color: #56647b; }
/* Match the orange feature glyphs, white benefit glyphs, and navy application glyphs. */
.automotive-page .feature-grid .sino-feature-icon img {
 filter: brightness(0) saturate(100%) invert(38%) sepia(98%) saturate(2856%) hue-rotate(359deg) brightness(101%) contrast(104%);
}
.automotive-page .benefit-grid article > span img { filter: brightness(0) invert(1); }
.automotive-page .fit-icon {
 display: grid;
 width: 96px;
 max-width: 100%;
 aspect-ratio: 1;
 flex-shrink: 0;
 place-items: center;
 border-radius: 50%;
 background: #fff;
}
.automotive-page .fit-icon svg {
 width: 50%;
 height: 50%;
 fill: none;
 stroke: #0e3874;
 stroke-width: 1.75;
 stroke-linecap: round;
 stroke-linejoin: round;
}
.automotive-page .warranty-note { margin-top: 28px; font-size: 13px; line-height: 1.7; color: #56647b; }
.auto-support { padding: 60px 0; background: #f6f7fb; color: #0a2e63; }
.auto-support h2 { font-size: 32px; font-weight: 800; }
.auto-support p { margin: 15px 0 25px; }
.auto-support .btn { margin-right: 20px; }
@media(max-width:1100px) {
 .automotive-page .summary-grid { grid-template-columns: 1fr 1fr; }
 .automotive-page .summary-grid > div:first-child { grid-column: 1/-1; }
}
@media(max-width:767px) {
 .automotive-page .summary-grid { grid-template-columns: minmax(0,1fr); }
 .automotive-page .series-card { max-width: 560px; gap: 30px; }
 .auto-range { min-height: 240px; padding: 28px; }
 .automotive-page .detail-hero-inner { min-height: 570px; }
 .automotive-page .detail-hero-copy { margin-top: 55px; }
 .auto-support a { display: inline-block; margin-bottom: 15px; overflow-wrap: anywhere; }
}
.auto-intro { padding: 0 0 30px; background: #f2f2f5; }
.auto-intro h2 { margin: 20px 0; font-size: clamp(28px,3vw,42px); font-weight: 800; line-height: 1.2; color: #0a2e63; }
.auto-intro p { max-width: 720px; color: #56647b; line-height: 1.8; margin-bottom: 32px; }
.auto-intro img { display: block; width: 100%; height: auto; border-radius: 20px; }
.automotive-page .series-card { grid-template-columns: minmax(0,1fr) minmax(0,1.2fr); padding: 50px; gap: 40px; }
@media(max-width:1023px) {
 .automotive-page .series-card { padding: 30px 20px; gap: 30px; max-width: 680px; }
}
@media(max-width:767px) {
 .auto-intro img { border-radius: 12px; }
 .auto-breadcrumb { gap: 8px; font-size: 12px; }
}

/* Match category image frames; focus the supplied banners on the product. */
.automotive-page .automotive-product-visual {
 width: 100%; max-width: 470px; height: auto; aspect-ratio: 470 / 366;
 justify-self: center; align-self: center;
}
.automotive-page .automotive-product-visual img {
 width: 100%; height: 100%; object-fit: cover; object-position: right center;
}

/* Use the same listing hero layout as Home Inverters and LithTec Combo. */
.auto-hero-breadcrumb { display: flex; flex-wrap: wrap; gap: 12px; color: #8a9bb8; font-size: 11px; letter-spacing: .96px; }
.auto-hero-breadcrumb strong { color: #fff; }
.automotive-tagline { margin-top: 58px; color: #fff; font-size: 24px; line-height: 28px; font-weight: 800; font-style: italic; }
.automotive-tagline span { color: #db5b13; }
@media(min-width:1024px) {
 .listing-page .automotive-hero h1 { width: 650px; max-width: calc(100vw - 60px); white-space: normal; }
}
@media(max-width:1023px) {
 .listing-page .automotive-hero h1 { width: min(520px,100%); white-space: normal; font-size: 42px; line-height: 46px; }
 .automotive-tagline { margin-top: 34px; font-size: 20px; }
}

/* Automotive hero artwork; text and product stay separate. */
.automotive-page .automotive-hero { background: #0e3670 url('../images/automotive_batteries/product-header-background-compressed.webp') center/cover no-repeat; }
.automotive-page .automotive-hero::after { background: linear-gradient(90deg,rgba(10,46,99,.6),rgba(10,46,99,.28) 36%,transparent 60%),linear-gradient(180deg,transparent 84%,rgba(10,46,99,.85)); pointer-events: none; }
.listing-page .automotive-hero h1 { width: 550px; max-width: 100%; font-size: 72px; line-height: 1.18; margin: 0; font-weight: 900; }
.listing-page .automotive-hero h1 + .automotive-vehicle { width: 312px; margin-top: 30px; padding-top: 25px; border-top: 5px solid #ffdc00; color: #ffdc00; font-size: 32px; line-height: 1.2; }
.automotive-overview h1::after { content: ''; display: block; width: 312px; height: 5px; margin-top: 32px; background: #ffdc00; }
.automotive-hero-product { position: absolute; width: 40%; height: auto; right: 8%; top: 50%; transform: translateY(-20%); object-fit: contain; }
.automotive-overview .automotive-hero-product { right: 0; top: 0; transform: none; width: 76%; height: 100%; object-fit: contain; object-position: right center; mask-image: none; }
.automotive-overview .automotive-tagline { margin-top: 180px; }
.automotive-battery-hero .automotive-tagline { margin-top: 110px; }
@media(max-width:1023px) {
 .automotive-page .automotive-hero { height: 850px; background-size: auto 100%; }
 .listing-page .automotive-hero h1 { width: 100%; font-size: 44px; line-height: 1.1; }
 .listing-page .automotive-hero h1 + .automotive-vehicle { margin-top: 22px; padding-top: 18px; width: 230px; font-size: 28px; }
 .automotive-overview h1::after { width: 230px; margin-top: 24px; }
 .automotive-hero-product { top: auto; bottom: 100px; right: 7%; width: 86%; max-height: 280px; transform: none; }
 .automotive-battery-hero .automotive-tagline,.automotive-overview .automotive-tagline { margin-top: 35px; font-size: 22px; }
}

/* Same artwork, gradient layers and placement as the Sino Series detail hero. */
.automotive-page .automotive-battery-hero {
 background: linear-gradient(90deg,rgba(10,46,99,.6),rgba(10,46,99,.28) 36%,transparent 60%),linear-gradient(180deg,transparent 84%,rgba(10,46,99,.85)),url('../images/automotive_batteries/sino-header-background-compressed.webp') center -33px/1440px 646px no-repeat #0e3670;
}
.automotive-page .automotive-battery-hero::after { background: none; }
@media(min-width:1600px) {
 body.listing-page.automotive-page .automotive-battery-hero { background-size: 100% 100%,100% 100%,auto 100% !important; background-position: center,center,top center !important; }
}
@media(max-width:767px) {
 .automotive-page .automotive-battery-hero {
  background: linear-gradient(180deg,#0e3670 42%,rgba(10,46,99,.85) 55%,transparent 74%),linear-gradient(180deg,transparent 84%,rgba(10,46,99,.85)),url('../images/automotive_batteries/sino-header-background-compressed.webp') calc(50% - 184px) 352px/927px 416px no-repeat #0e3670;
 }
}

/* Fill wide/zoomed-out viewports without exposing the background image boundary. */
body.listing-page.automotive-page .automotive-overview {
 background-image: url('../images/automotive_batteries/sino-header-background-compressed.webp');
 background-size: cover !important;
 background-position: center !important;
}
@media(min-width:1024px) {
 .automotive-overview .automotive-hero-product {
  top: 0;
  bottom: 0;
  height: 100%;
  object-fit: contain;
  object-position: right bottom;
  mask-image: linear-gradient(90deg,transparent 0%,#000 12%);
  mask-composite: add;
 }
}

@media(max-width:1023px) {
 .automotive-overview .automotive-hero-product {
  inset: 65% 0 auto;
  width: 100%;
  height: min(103vw, 68%);
  max-height: none;
  transform: translateY(-50%);
  object-fit: cover;
  object-position: 55% center;
  mask-image: linear-gradient(to bottom, transparent, #000 24%, #000 80%, transparent);
 }
 .automotive-page .automotive-overview::after {
  background: linear-gradient(180deg, rgba(10,46,99,.58), transparent 56%, rgba(10,46,99,.38));
 }
}

/* Keep every desktop hero element inside the available viewport height. */
@media(min-width:1024px) {
 body.listing-page.automotive-page .automotive-hero {
  height: 100svh !important;
  min-height: 100svh !important;
  background-size: 100% 100%,100% 100%,auto 100% !important;
  background-position: center,center,top center !important;
 }
 body.listing-page.automotive-page .automotive-overview {
  background-size: cover !important;
  background-position: center !important;
 }
 .listing-page .automotive-hero .listing-hero-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding-top: 175px;
  padding-bottom: 32px;
  transform: none;
 }
 .listing-page .automotive-hero .listing-hero-content > div:last-child {
  position: static;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  width: 48%;
  margin-top: 24px;
 }
 .listing-page .automotive-hero h1 {
  width: 100%;
  font-size: clamp(32px,min(5vw,9svh),72px);
  line-height: 1.12;
 }
 .listing-page .automotive-hero h1 + .automotive-vehicle {
  margin-top: clamp(12px,3svh,30px);
  padding-top: clamp(12px,2.5svh,25px);
  font-size: clamp(22px,4svh,32px);
 }
 .listing-page .automotive-hero .category-brand-tagline {
  flex: none;
  margin-top: clamp(20px,5svh,58px);
 }
 .automotive-overview h1::after { margin-top: clamp(12px,3svh,32px); }
 .automotive-battery-hero .automotive-hero-product {
  top: calc(50% + 65px);
  transform: translateY(-50%);
  max-height: calc(100% - 230px);
 }
}
