/* Shared responsive layout for core product and engineering-guide pages.
   Future pages in this family must keep `core-product-page` on the body. */
.core-product-page .hero-grid {
  min-width: 0;
}

.core-product-page .hero-copy,
.core-product-page .hero-panel,
.core-product-page .hero-image-card {
  min-width: 0;
}

.core-product-page .hero-copy {
  align-self: end;
}

.core-product-page .hero-panel {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  align-self: stretch;
}

.core-product-page .hero-image-card {
  width: min(100%, 410px);
  aspect-ratio: 4 / 3;
  margin: 0;
  background: #123b5a;
}

.core-product-page .hero-image-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.core-product-page .hero-image-card figcaption {
  position: absolute;
  right: 14px;
  bottom: 12px;
  left: 14px;
  z-index: 1;
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.core-product-page .hero h1,
.core-product-page .hero-text,
.core-product-page .hero-actions .btn,
.core-product-page .hero-trustbar span {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}

.core-product-page .hero-actions,
.core-product-page .hero-trustbar {
  min-width: 0;
  flex-wrap: wrap;
}

.core-product-page .geo-answer-section {
  padding-block: clamp(30px, 4vw, 52px);
  background: #f3f7f8;
  border-block: 1px solid rgba(18, 59, 90, 0.12);
}

.core-product-page .geo-answer-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.core-product-page .geo-answer-grid h2,
.core-product-page .geo-answer-grid p {
  margin: 0;
  overflow-wrap: anywhere;
}

.core-product-page .geo-answer-grid h2 {
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.18;
}

.core-product-page .geo-answer-copy {
  display: grid;
  gap: 12px;
  color: #263746;
  line-height: 1.75;
}

.core-product-page .geo-answer-copy strong {
  color: #123b5a;
}

@media (min-width: 901px) {
  .core-product-page .hero-grid {
    grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.72fr);
    gap: clamp(32px, 4vw, 64px);
    align-items: end;
  }

  .core-product-page .hero-copy {
    max-width: 760px;
  }

  .core-product-page .hero-panel {
    min-height: 100%;
  }
}

@media (max-width: 900px) {
  .core-product-page .hero-grid,
  .core-product-page .geo-answer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .core-product-page .hero-panel {
    display: block;
  }

  .core-product-page .hero-image-card {
    width: min(100%, 680px);
  }
}

@media (max-width: 560px) {
  .core-product-page .hero {
    padding-top: 34px;
  }

  .core-product-page .hero-grid {
    gap: 18px;
  }

  .core-product-page .hero-image-card {
    aspect-ratio: 4 / 3;
  }

  .core-product-page .hero-actions .btn {
    flex: 1 1 100%;
    width: 100%;
  }

  .core-product-page .hero-trustbar span {
    flex: 1 1 calc(50% - 6px);
  }
}
