/* Features, For Business, and feature family pages. */

.ap-divi-builder-page .et_pb_section.ap-editorial-feature-section {
  padding-block: clamp(48px, 7vw, 98px);
}

.ap-divi-builder-page .ap-editorial-feature-section > .et_pb_row {
  max-width: 1280px;
  width: min(90%, 1280px);
}

.ap-divi-builder-page .et_pb_section.ap-editorial-feature-hero {
  background: var(--ap-blue-soft) !important;
  padding-block: clamp(36px, 5.2vw, 76px);
}

.ap-divi-builder-page .ap-editorial-feature-hero-row,
.ap-divi-builder-page .ap-editorial-feature-product-row {
  align-items: center;
  display: grid;
  gap: clamp(24px, 5vw, 76px);
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  padding-block: 0;
}

.ap-divi-builder-page .ap-editorial-feature-hero-row > .et_pb_column,
.ap-divi-builder-page .ap-editorial-feature-product-row > .et_pb_column {
  float: none;
  margin: 0 !important;
  min-width: 0;
  width: auto !important;
}

.ap-divi-builder-page .ap-editorial-feature-hero .et_pb_text h1 {
  color: var(--ap-ink) !important;
  font-size: clamp(42px, 5.15vw, 76px) !important;
  font-weight: 760;
  letter-spacing: -.064em;
  line-height: .99;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.ap-divi-builder-page .ap-editorial-feature-hero :is(.ap-db-kicker, .ap-fb-kicker) {
  color: var(--ap-teal-dark) !important;
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .1em;
  margin-bottom: 15px;
}

.ap-divi-builder-page .ap-editorial-feature-hero .et_pb_text p {
  color: var(--ap-ink-2) !important;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.6;
  max-width: 60ch;
}

.ap-divi-builder-page .ap-editorial-feature-hero .ap-db-button,
.ap-divi-builder-page .ap-editorial-feature-hero .ap-fb-primary-light {
  background: var(--ap-teal-dark) !important;
  border: 1px solid var(--ap-teal-dark) !important;
  border-radius: 7px !important;
  color: var(--ap-panel) !important;
  min-height: 46px;
  padding: 11px 19px !important;
}

.ap-divi-builder-page .ap-editorial-feature-hero .ap-db-button:hover,
.ap-divi-builder-page .ap-editorial-feature-hero .ap-fb-primary-light:hover {
  background: var(--ap-ink) !important;
  border-color: var(--ap-ink) !important;
  color: var(--ap-panel) !important;
}

.ap-divi-builder-page .ap-editorial-feature-hero .ap-db-button::after {
  display: none !important;
}

.ap-editorial-feature-photo {
  aspect-ratio: 1.22;
  background: var(--ap-paper);
  border-radius: 16px;
  overflow: hidden;
}

.ap-editorial-feature-photo img {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  width: 100%;
}

.ap-divi-builder-page .et_pb_section.ap-editorial-feature-section.ap-db-hub-tabs-section {
  border-block: 1px solid var(--ap-line);
  padding-block: 18px;
}

.ap-editorial-feature-section .ap-db-hub-tabs { gap: 8px; }

.ap-editorial-feature-section .ap-db-hub-tabs > a {
  background: var(--ap-panel);
  border-color: var(--ap-line);
  border-radius: 8px;
  min-height: 70px;
  padding: 10px 7px;
}

.ap-editorial-feature-section .ap-db-hub-tabs > a:is(:hover, :focus-visible, .is-current) {
  background: var(--ap-blue-soft);
  border-color: var(--ap-teal-dark);
  color: var(--ap-teal-dark);
}

.ap-editorial-feature-section .ap-db-hub-tabs strong {
  font-size: .83rem;
  font-weight: 680;
}

.ap-divi-builder-page .et_pb_section.ap-editorial-feature-product {
  background: var(--ap-panel);
  border-bottom: 1px solid var(--ap-line);
}

.ap-divi-builder-page .ap-editorial-feature-product-row {
  grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
}

.ap-divi-builder-page .et_pb_text.ap-editorial-feature-example h2 {
  font-size: clamp(30px, 3.55vw, 53px);
  letter-spacing: -.055em;
  line-height: 1.07;
  max-width: 16ch;
  text-wrap: balance;
}

.ap-divi-builder-page .et_pb_text.ap-editorial-feature-example p {
  font-size: 1.05rem;
  line-height: 1.65;
  margin-top: 16px;
  max-width: 48ch;
}

.ap-editorial-feature-product .ap-db-shot {
  background: var(--ap-paper);
  border: 1px solid var(--ap-line);
  border-radius: 14px;
  box-shadow: none;
}

.ap-editorial-feature-product .ap-db-shot img {
  border-radius: 8px;
}

.ap-editorial-feature-section.ap-db-hub-index-section {
  border-block: 1px solid var(--ap-line);
}

.ap-editorial-feature-section .ap-db-module-jumps > a {
  border-radius: 7px;
  min-height: 42px;
}

.ap-editorial-feature-section .ap-db-hub-module-copy {
  padding-inline: 0;
}

.ap-editorial-feature-section .ap-db-hub-module-copy h2 {
  font-size: clamp(34px, 4.1vw, 60px);
  letter-spacing: -.055em;
}

.ap-editorial-feature-section .ap-db-hub-module-copy .ap-db-hub-module-lead {
  font-size: 1.08rem !important;
}

.ap-editorial-feature-section .ap-db-hub-detail-grid > section {
  background: var(--ap-panel);
  border: 1px solid var(--ap-line);
  border-radius: 12px;
  box-shadow: none;
}

.ap-editorial-feature-section .ap-db-feature-hub-card {
  border-radius: 12px;
  box-shadow: none;
  min-height: 100%;
  padding: clamp(19px, 2.4vw, 32px);
}

.ap-editorial-feature-section .ap-db-feature-hub-card h3 {
  font-size: clamp(22px, 2.05vw, 29px);
}

.ap-divi-builder-page .et_pb_section.ap-editorial-feature-section.ap-db-card-band {
  padding-block: 0 clamp(24px, 4vw, 44px);
}

.ap-divi-builder-page .ap-editorial-feature-section.ap-db-hub-module-section .ap-db-hub-module-anchor {
  scroll-margin-top: 105px;
}

@media (max-width: 980px) {
  .ap-divi-builder-page .ap-editorial-feature-hero-row,
  .ap-divi-builder-page .ap-editorial-feature-product-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .ap-divi-builder-page .ap-editorial-feature-hero-row,
  .ap-divi-builder-page .ap-editorial-feature-product-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .ap-divi-builder-page .ap-editorial-feature-hero .et_pb_text h1 {
    font-size: clamp(36px, 9vw, 56px) !important;
  }

  .ap-editorial-feature-photo {
    aspect-ratio: 1.5;
    border-radius: 12px;
  }

  .ap-divi-builder-page .et_pb_section.ap-editorial-feature-section.ap-db-hub-tabs-section {
    padding-block: 12px;
  }

  .ap-editorial-feature-section .ap-db-hub-tabs {
    display: flex;
    overflow-x: auto;
    padding: 3px;
    scroll-snap-type: x proximity;
  }

  .ap-editorial-feature-section .ap-db-hub-tabs > a {
    flex: 0 0 104px;
    min-height: 68px;
    scroll-snap-align: start;
  }
}
