/* Styles for the server-rendered /products hero + heading (views/partials/productsHero.njk).
   This markup used to live inside <products-page>'s shadow DOM, styled by :host-scoped
   rules there — moved to light DOM for SSR, so the styling moves to a real stylesheet.
   Uses its own spacing class (not the shared .x-gap/.top-gap from homepage-hero.css,
   which are tuned for the homepage layout with different values) to keep this section's
   original spacing unchanged. */
.product-hero-section {
  padding-top: 4rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.product-hero {
  position: relative;
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  background-image: var(--gradient-brand, linear-gradient(135deg, #001A54 0%, #002B89 55%, #0a4a8a 100%));
}

.product-hero-inner {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  min-height: 320px;
}

.product-hero-text {
  color: #fff;
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 4rem;
}

.product-hero-title {
  font-weight: 800;
  line-height: 1.15;
  font-size: clamp(1.6rem, 2.6vw, 2.5rem);
}

.product-hero-subtitle {
  font-size: clamp(0.9rem, 1.2vw, 1.15rem);
  letter-spacing: 0.05em;
}

.product-hero-visual {
  flex: 1 1 320px;
  max-width: 50%;
}

.product-hero-frame {
  height: 100%;
}

.product-hero-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 720px) {
  .product-hero-inner {
    flex-direction: column;
    text-align: center;
    min-height: 0;
  }
  .product-hero-visual {
    display: none;
  }
  .product-hero-text {
    max-width: 100%;
    padding: 2.5rem 1.5rem;
    align-items: center;
  }
}
