/* ---- page-specific: low dose naltrexone ---- */
.pf-ldn .pf-hero {
  background:
    linear-gradient(112deg, rgba(251, 249, 246, .98) 0%, rgba(251, 249, 246, .94) 54%, rgba(244, 240, 250, .82) 100%),
    url("../../images/generated/ldn-capsule-strengths-realistic.webp") center / cover no-repeat;
}

.pf-ldn-note {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  max-width: 100%;
  margin-top: 22px;
  border: 1px solid rgba(123, 63, 160, .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(123, 63, 160, .16);
  border-radius: 24px;
  background: var(--pf-white);
  box-shadow: 0 24px 60px rgba(42, 10, 62, .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;
}

.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(123, 63, 160, .18);
  border-radius: 999px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, .92);
  color: var(--pf-deep);
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
  font-weight: 850;
  text-align: center;
  box-shadow: 0 8px 20px rgba(42, 10, 62, .1);
}

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

.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-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(123, 63, 160, .16);
  border-radius: 22px;
  padding: 28px;
  background: var(--pf-white);
  box-shadow: 0 20px 50px rgba(42, 10, 62, .08);
}

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

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

.pf-ldn-strength-card p {
  margin-bottom: 0;
  color: rgba(42, 10, 62, .72);
  font-size: 16px;
  line-height: 1.62;
}

.pf-ldn-strength-card--featured {
  background:
    linear-gradient(135deg, rgba(123, 63, 160, .96), rgba(186, 74, 118, .94) 58%, rgba(220, 91, 19, .94)),
    var(--pf-deep);
  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(123, 63, 160, .16);
  border-radius: 18px;
  padding: 22px;
  background: rgba(255, 255, 255, .78);
}

.pf-ldn-product-grid i,
.pf-ldn .pf-tile i {
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 14px;
  background: var(--pf-lav);
  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(42, 10, 62, .72);
  font-size: 15px;
  line-height: 1.6;
}

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

.pf-ldn-condition-cards article {
  overflow: hidden;
  border: 1px solid rgba(123, 63, 160, .14);
  border-radius: 18px;
  background: var(--pf-white);
  box-shadow: 0 18px 42px rgba(42, 10, 62, .08);
  transition: transform .2s ease, box-shadow .2s ease;
}

.pf-ldn-condition-cards article:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 52px rgba(42, 10, 62, .13);
}

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

.pf-ldn-condition-cards article > div {
  padding: 18px 20px 20px;
}

.pf-ldn-condition-cards span {
  display: block;
  margin-bottom: 7px;
  color: var(--pf-orange);
  font-family: "Space Grotesk", sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

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

.pf-ldn-conditions__note {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin: 24px auto 0;
  color: rgba(42, 10, 62, .72);
  font-size: 14px;
  text-align: center;
}

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

.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(123, 63, 160, .16);
  border-radius: 18px;
  padding: 26px 22px;
  background: var(--pf-white);
  box-shadow: 0 18px 44px rgba(42, 10, 62, .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(123, 63, 160, .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-flow,
  .pf-ldn-strength-grid,
  .pf-ldn-condition-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pf-ldn-strength-card--featured {
    grid-column: span 2;
  }
}

@media (max-width: 720px) {
  .pf-ldn-flow,
  .pf-ldn-strength-grid,
  .pf-ldn-product-grid,
  .pf-ldn-condition-cards {
    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: 320px;
  }

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

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

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

  .pf-ldn-strength-card--featured {
    grid-column: auto;
  }
}
