/* Detailed family pages use the same brand and site shell as the overview. */
.service-family-page .page-hero {
  padding-bottom: 64px;
}
.service-family-page .page-hero-layout {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
}
.service-family-page .page-hero-layout h1 {
  font-size: clamp(38px, 4.1vw, 61px);
}
.service-family-page .page-hero-photo img {
  height: 490px;
}
.family-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 28px;
  align-items: center;
}
.family-hero-actions .button {
  font-size: 13px;
  padding: 15px 20px;
}
.family-hero-actions .text-link {
  font-size: 12px;
}
.family-audience {
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
  margin: 22px 0 0;
}
.family-page-nav {
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.family-page-nav nav {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  padding-block: 21px;
}
.family-page-nav a {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}
.family-page-nav a:hover {
  color: var(--blue);
}
.family-section-title {
  font-size: clamp(30px, 3.4vw, 47px);
  letter-spacing: -1.5px;
  line-height: 1.18;
  max-width: 860px;
  margin: 16px 0 24px;
}
.family-section-title span {
  color: var(--blue);
}
.family-introduction {
  max-width: 850px;
  font-size: 16px;
  line-height: 1.9;
  color: var(--muted);
}
.family-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  margin-top: 42px;
}
.family-benefits article {
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
}
.family-benefits h3 {
  font-size: 20px;
  line-height: 1.4;
  margin: 16px 0 12px;
}
.family-benefits p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0;
}
.family-modules-section {
  background: #f5f7fc;
}
.family-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 50px;
  margin-bottom: 42px;
}
.family-section-heading > p {
  max-width: 390px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
  margin: 0 0 24px;
}
.family-module-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 38px 60px;
}
.family-module {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 16px;
  padding: 24px 0 0;
  border-top: 1px solid #d5deee;
  scroll-margin-top: 110px;
}
.family-module h3 {
  font-size: 21px;
  line-height: 1.4;
  margin: 0 0 14px;
  letter-spacing: -0.35px;
}
.family-module p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
  margin: 0;
}
.family-workflow-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
}
.family-editorial-photo {
  margin: 0;
  align-self: stretch;
}
.family-editorial-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 480px;
  max-height: 760px;
  object-fit: cover;
  object-position: center 45%;
  border-radius: 4px 60px 4px 4px;
}
.family-workflow-layout .family-section-title {
  font-size: clamp(30px, 3vw, 42px);
}
.family-workflow {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
}
.family-workflow li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.family-workflow li > span {
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
}
.family-workflow h3 {
  font-size: 17px;
  line-height: 1.4;
  margin: 0 0 8px;
}
.family-workflow p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0;
}
.family-related-section {
  background: #101d45;
  color: #fff;
}
.family-related-section .eyebrow {
  color: #c2d2ff;
}
.family-related-section .family-section-title span {
  color: #b7c9ff;
}
.family-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
  margin-top: 36px;
}
.family-related-grid > a {
  padding: 25px 0;
  border-top: 1px solid #ffffff38;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.family-related-grid h3 {
  font-size: 22px;
  line-height: 1.4;
  margin: 0 0 14px;
}
.family-related-grid p {
  font-size: 14px;
  color: #c9d1e6;
  line-height: 1.8;
  margin: 0 0 24px;
}
.family-related-grid a > span {
  margin-top: auto;
  display: inline-flex;
  gap: 12px;
  align-items: center;
  font-size: 12px;
  color: #dce5ff;
}
.family-related-grid a:hover > span {
  color: #fff;
  text-decoration: underline;
}
.family-questions-layout {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 70px;
}
.family-faq-list details {
  border-top: 1px solid var(--line);
  padding: 22px 0;
}
.family-faq-list details:last-child {
  border-bottom: 1px solid var(--line);
}
.family-faq-list summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  list-style: none;
  cursor: pointer;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 700;
}
.family-faq-list summary::-webkit-details-marker {
  display: none;
}
.family-faq-list summary i {
  color: var(--blue);
  font-size: 12px;
  margin-top: 7px;
  flex-shrink: 0;
}
.family-faq-list details[open] summary i {
  transform: rotate(45deg);
}
.family-faq-list p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
  margin: 18px 0 0;
}
.catalogue-page-link {
  padding: 0 24px 32px 60px;
}
.family-page-nav a:focus-visible,
.family-faq-list summary:focus-visible,
.family-related-grid a:focus-visible {
  outline: 3px solid #7296ff;
  outline-offset: 5px;
}
@media (max-width: 980px) {
  .family-workflow-layout {
    gap: 36px;
  }
  .family-section-heading {
    gap: 30px;
  }
  .family-module-grid {
    gap: 32px;
  }
  .family-questions-layout {
    gap: 35px;
  }
  .service-family-page .page-hero-photo img {
    height: 460px;
  }
  .family-benefits {
    gap: 26px;
  }
  .family-related-grid {
    gap: 24px;
  }
}
@media (max-width: 650px) {
  .service-family-page .page-hero-layout,
  .family-workflow-layout,
  .family-questions-layout {
    grid-template-columns: 1fr;
  }
  .service-family-page .page-hero-photo img {
    height: 310px;
  }
  .service-family-page .page-hero-layout h1 {
    font-size: 39px;
  }
  .family-benefits,
  .family-related-grid,
  .family-module-grid {
    grid-template-columns: 1fr;
  }
  .family-section-heading {
    display: block;
  }
  .family-section-heading > p {
    margin-bottom: 0;
    max-width: none;
  }
  .family-benefits {
    gap: 28px;
  }
  .family-page-nav nav {
    gap: 16px 24px;
    padding-block: 20px;
  }
  .family-page-nav a {
    font-size: 11px;
  }
  .family-editorial-photo img {
    min-height: 0;
    height: 300px;
    border-top-right-radius: 45px;
  }
  .family-workflow-layout {
    gap: 35px;
  }
  .family-module-grid {
    gap: 28px;
  }
  .family-module {
    gap: 12px;
  }
  .family-module h3 {
    font-size: 20px;
  }
  .family-hero-actions {
    gap: 18px;
  }
  .family-section-title {
    font-size: 32px;
  }
  .family-faq-list summary {
    font-size: 15px;
  }
  .catalogue-page-link {
    padding-left: 34px;
  }
  .family-hero-actions .text-link {
    white-space: normal;
  }
}
