/* Shared public header and shorter image banners based on the Pack template. */
.nav-categories.active > summary { color: var(--blue); }

.site-banner {
  height: 260px;
  color: #fff;
  background-image: linear-gradient(90deg, rgba(7, 20, 39, .22), rgba(7, 20, 39, .05) 65%, rgba(7, 20, 39, 0)), url("vtcbatt-battery-information-banner-1024x350-1.jpg");
  background-position: center;
  background-size: cover;
}

.site-banner-home { height: 290px; }

.site-banner-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 14px;
}

.site-banner h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.15rem, 4vw, 3.55rem);
  line-height: 1.08;
  text-shadow: 0 2px 16px rgba(3, 12, 28, .58);
}

.site-banner-inner-page h1 { font-size: clamp(2.1rem, 3.5vw, 3.3rem); }

.site-banner p {
  max-width: 640px;
  margin: 0;
  color: #e9f1fb;
  font-size: 1.03rem;
  font-weight: 600;
  text-shadow: 0 2px 10px rgba(3, 12, 28, .7);
}

.article-lead .section-intro { max-width: 780px; }

@media (max-width: 730px) {
  .site-banner,
  .site-banner-home { height: 240px; }

  .site-banner {
    background-image: linear-gradient(90deg, rgba(7, 20, 39, .44), rgba(7, 20, 39, .17)), url("vtcbatt-battery-information-banner-1024x350-1.jpg");
    background-position: 46% center;
  }

  .site-banner-inner { gap: 11px; }
  .site-banner p { font-size: .9rem; }
}
