/* ---- page-specific: low dose naltrexone ---- */
.pf-ldn .pf-hero {
  background: linear-gradient(112deg, #F7FAFD 0%, #F7FAFD 54%, #EEF6FD 100%);
}

.pf-ldn-note {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin-top: 22px;
  border: 1px solid rgba(21, 59, 99, .18);
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, .78);
  color: var(--pf-deep);
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.pf-ldn-note i {
  color: var(--pf-orange);
}

.pf-ldn-hero-card,
.pf-ldn-product {
  overflow: hidden;
  border: 1px solid rgba(21, 59, 99, .16);
  border-radius: 24px;
  background: var(--pf-white);
  box-shadow: 0 24px 60px rgba(7, 24, 42, .14);
}

.pf-ldn-hero-card {
  position: relative;
  margin: 0;
  min-height: 430px;
}

.pf-ldn-hero-card img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.pf-ldn-hero-strengths {
  position: absolute;
  right: 20px;
  bottom: 76px;
  left: 20px;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.pf-ldn-hero-strengths span {
  border: 1px solid rgba(21, 59, 99, .18);
  border-radius: 999px;
  padding: 9px 10px;
  background: rgba(255, 255, 255, .94);
  color: var(--pf-deep);
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 8px 20px rgba(7, 24, 42, .1);
}

.pf-ldn-product img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

.pf-ldn-hero-card img {
  min-height: 0;
}

.pf-ldn-hero-card figcaption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 1;
  border-radius: 14px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, .9);
  color: var(--pf-deep);
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  text-align: center;
  text-transform: uppercase;
}

.pf-ldn .pf-tile i {
  background: var(--pf-lav);
  color: var(--pf-purple);
}

.pf-ldn-feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pf-ldn-strengths {
  background: linear-gradient(180deg, #F7FAFD 0%, #EEF6FD 100%);
}

.pf-ldn-strength-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.pf-ldn-strength-card {
  min-height: 246px;
  border: 1px solid rgba(21, 59, 99, .16);
  border-radius: 22px;
  padding: 28px;
  background: var(--pf-white);
  box-shadow: 0 20px 50px rgba(7, 24, 42, .08);
}

.pf-ldn-strength-card > span {
  display: inline-flex;
  margin-bottom: 18px;
  border-radius: 999px;
  padding: 8px 12px;
  background: #EAF5FF;
  color: var(--pf-orange);
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.pf-ldn-strength-card > strong {
  display: block;
  margin-bottom: 12px;
  color: var(--pf-deep);
  font-family: "Playfair Display", serif;
  font-size: clamp(48px, 7vw, 76px);
  font-weight: 700;
  line-height: .92;
}

.pf-ldn-strength-card > p {
  margin-bottom: 0;
  color: rgba(7, 24, 42, .76);
  font-size: 16px;
  line-height: 1.62;
}

.pf-ldn-strength-card--featured {
  background: linear-gradient(135deg, #153B63 0%, #1D78B8 58%, #3FA0E3 100%);
  color: var(--pf-white);
}

.pf-ldn-strength-card--featured > span {
  background: rgba(255, 255, 255, .16);
  color: var(--pf-white);
}

.pf-ldn-strength-card--featured > strong,
.pf-ldn-strength-card--featured > p {
  color: var(--pf-white);
}

.pf-ldn-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.pf-ldn-product-grid article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  border: 1px solid rgba(21, 59, 99, .16);
  border-radius: 18px;
  padding: 22px;
  background: rgba(255, 255, 255, .86);
}

.pf-ldn-product-grid i {
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 14px;
  background: #EAF5FF;
  color: var(--pf-purple);
  font-size: 20px;
}

.pf-ldn-product-grid h3 {
  margin: 0 0 8px;
  font-size: 21px;
}

.pf-ldn-product-grid p {
  margin: 0;
  color: rgba(7, 24, 42, .76);
  font-size: 15px;
  line-height: 1.6;
}

.pf-ldn-feature-grid .pf-tile:nth-child(even) i {
  background: #EAF5FF;
  color: var(--pf-orange);
}

.pf-ldn-conditions {
  background: linear-gradient(180deg, #F7FAFD 0%, #EEF6FD 100%);
}

.pf-ldn-condition-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.pf-ldn-condition-card {
  overflow: hidden;
  border: 1px solid rgba(21, 59, 99, .15);
  border-radius: 18px;
  background: var(--pf-white);
  box-shadow: 0 18px 44px rgba(7, 24, 42, .08);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.pf-ldn-condition-card:hover {
  border-color: rgba(63, 160, 227, .46);
  box-shadow: 0 24px 54px rgba(7, 24, 42, .13);
  transform: translateY(-4px);
}

.pf-ldn-condition-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

.pf-ldn-condition-card > div {
  min-height: 190px;
  padding: 22px;
}

.pf-ldn-condition-card h3 {
  margin: 0 0 10px;
  color: var(--pf-deep);
  font-size: 22px;
}

.pf-ldn-condition-card p {
  margin: 0;
  color: rgba(7, 24, 42, .78);
  font-size: 15px;
  line-height: 1.65;
}

.pf-ldn-condition-note {
  display: flex;
  max-width: 960px;
  gap: 12px;
  align-items: flex-start;
  margin: 28px auto 0;
  border-left: 4px solid var(--pf-orange);
  padding: 16px 18px;
  background: rgba(255, 255, 255, .82);
  color: rgba(7, 24, 42, .8);
  font-size: 14px;
  line-height: 1.62;
}

.pf-ldn-condition-note i {
  margin-top: 3px;
  color: var(--pf-orange);
}

.pf-ldn-split {
  display: grid;
  grid-template-columns: minmax(340px, .94fr) minmax(0, 1.06fr);
  gap: clamp(34px, 5vw, 70px);
  align-items: center;
}

.pf-ldn-checks {
  margin-top: 24px;
}

.pf-ldn-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.pf-ldn-flow article {
  position: relative;
  min-height: 230px;
  border: 1px solid rgba(21, 59, 99, .16);
  border-radius: 18px;
  padding: 26px 22px;
  background: var(--pf-white);
  box-shadow: 0 18px 44px rgba(7, 24, 42, .07);
}

.pf-ldn-flow article::before {
  content: attr(data-step);
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pf-purple), var(--pf-rose) 56%, var(--pf-orange));
  color: var(--pf-white);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 800;
}

.pf-ldn-flow i {
  position: absolute;
  top: 27px;
  right: 24px;
  color: rgba(21, 59, 99, .22);
  font-size: 28px;
}

.pf-ldn-flow h3 {
  margin-bottom: 9px;
  font-size: 22px;
}

.pf-ldn-flow p {
  margin-bottom: 0;
  font-size: 15px;
  line-height: 1.62;
}

@media (max-width: 1024px) {
  .pf-ldn-split,
  .pf-ldn-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pf-ldn-condition-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pf-ldn-feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .pf-ldn-split,
  .pf-ldn-flow,
  .pf-ldn-condition-grid,
  .pf-ldn-strength-grid,
  .pf-ldn-product-grid,
  .pf-ldn-feature-grid {
    grid-template-columns: 1fr;
  }

  .pf-ldn-note {
    align-items: flex-start;
    border-radius: 12px;
  }

  .pf-ldn-hero-card,
  .pf-ldn-hero-card img {
    min-height: 360px;
  }

  .pf-ldn-hero-card img {
    object-position: 52% center;
  }

  .pf-ldn-hero-strengths {
    right: 12px;
    bottom: 98px;
    left: 12px;
  }

  .pf-ldn-hero-strengths span {
    padding: 7px 4px;
    font-size: 11px;
  }

  .pf-ldn-hero-card figcaption {
    right: 12px;
    bottom: 12px;
    left: 12px;
    padding: 12px 10px;
    font-size: 12px;
    line-height: 1.3;
  }

  .pf-ldn-strength-card {
    min-height: 0;
  }

  .pf-ldn-condition-card > div {
    min-height: 0;
  }

  .pf-ldn-flow article {
    min-height: 0;
  }
}
