/* Shared template for all Product Family pages. Only content, imagery and data change. */
.family-hero {
  background-color: #f7faff;
  background-image: var(--family-hero-bg);
  background-position: right top;
  background-size: cover;
  background-repeat: no-repeat;
}

.family-hero .hero-grid {
  grid-template-columns: .88fr 1.12fr;
}

.family-hero .hero-copy {
  padding-bottom: 72px;
}

.family-hero h1 {
  max-width: 620px;
}

.family-hero .breadcrumbs ol {
  flex-wrap: wrap;
  row-gap: 10px;
}

.family-hero-products {
  --family-hero-primary-width: 49%;
  position: absolute;
  inset: 0;
  transform: translateY(-20px);
}

.family-hero-products::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: 8%;
  right: 5%;
  bottom: 10%;
  height: 15px;
  background: rgba(11, 30, 54, .17);
  filter: blur(18px);
  transform: skewX(-8deg);
}

.family-hero-device {
  position: absolute;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 16px rgba(10, 29, 53, .22));
}

.family-hero-device--secondary {
  z-index: 1;
  left: 8%;
  bottom: 0;
  width: 39%;
}

.family-hero-device--primary {
  z-index: 2;
  left: 43%;
  bottom: 0;
  width: var(--family-hero-primary-width);
}

.family-hero-products--single-composite {
  display: grid;
  place-items: end center;
  transform: translateY(-6px);
}

.family-hero-products--single-composite::after {
  left: 9%;
  right: 4%;
  bottom: 9%;
}

.family-hero-composite {
  position: relative;
  z-index: 2;
  width: var(--family-hero-primary-width);
  max-width: 560px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 18px rgba(10, 29, 53, .23));
}

.family-hero-products--three-boards {
  transform: translateY(-10px);
}

.family-hero-board {
  position: absolute;
  bottom: 3%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 15px 14px rgba(10, 29, 53, .2));
}

.family-hero-board--small {
  z-index: 1;
  left: 2%;
  width: 24.5%;
}

.family-hero-board--medium {
  z-index: 2;
  left: 25.5%;
  width: 32%;
}

.family-hero-board--large {
  z-index: 3;
  left: 56.5%;
  width: 42%;
}

.family-products-section {
  padding: 82px 0 96px;
}

.family-products-intro {
  max-width: 850px;
  margin: 15px 0 36px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.family-products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.family-product-card {
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.family-product-card:hover {
  border-color: #a9c7ec;
  box-shadow: 0 14px 35px rgba(22, 64, 112, .08);
  transform: translateY(-2px);
}

.family-product-inner {
  min-height: 520px;
  display: flex;
  flex-direction: column;
}

.family-product-image {
  min-height: 210px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid #edf2f7;
  background: linear-gradient(135deg, rgba(248, 251, 254, .4), rgba(237, 245, 252, .75));
}

.family-product-image img {
  width: 72%;
  max-width: 285px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 12px rgba(10, 29, 53, .17));
}

.family-product-image--wide img {
  transform: scale(1.12);
}

.family-product-image--reduced img {
  width: 58%;
  max-width: 230px;
  transform: none;
}

.family-product-copy {
  flex: 1;
  padding: 28px 28px 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.family-product-copy h3 {
  margin: 0;
  color: var(--navy);
  font-size: 23px;
  line-height: 1.25;
  letter-spacing: -.025em;
  font-weight: 600;
}

.family-product-positioning {
  min-height: 3.5em;
  margin: 14px 0 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.family-product-specs {
  width: 100%;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  border-top: 1px solid #e8eef5;
}

.family-product-specs li {
  position: relative;
  padding: 10px 0 10px 18px;
  border-bottom: 1px solid #e8eef5;
  color: #344b67;
  font-size: 13px;
  line-height: 1.5;
}

.family-product-specs li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 17px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--bright);
}

.family-product-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
}

@media (max-width: 1100px) {
  .family-hero .hero-grid {
    grid-template-columns: .94fr 1.06fr;
  }

  .family-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .family-hero {
    background-position: 62% top;
  }

  .family-hero .hero-grid {
    grid-template-columns: 1fr;
  }

  .family-hero .hero-copy {
    padding-bottom: 18px;
  }

  .family-hero-products {
    --family-hero-primary-width: 52%;
    transform: translateY(-10px);
  }

  .family-hero-device--secondary {
    left: 5%;
    width: 41%;
  }

  .family-hero-device--primary {
    left: 42%;
    width: var(--family-hero-primary-width);
  }

  .family-hero-products--single-composite {
    transform: translateY(0);
  }

  .family-hero-composite {
    width: var(--family-hero-primary-width);
    max-width: 500px;
  }

  .family-hero-products--three-boards {
    transform: translateY(0);
  }

  .family-products-section {
    padding: 66px 0 76px;
  }

  .family-products-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .family-product-card,
  .family-product-inner {
    min-height: 500px;
  }

  .family-product-image {
    min-height: 190px;
  }
}
