/*
 * ISOLATED RECOVERY HOMEPAGE PREMIUM PASS 1 — NOT LIVE
 *
 * Visual thesis: a forged sanctuary. Monochrome symbols physically break
 * through a tactile ivory plane; a short violet enamel seam is the only
 * saturated colour. All wording, state, icons and controls remain live HTML.
 *
 * The historical inline Recovery homepage rules (v377, v378 and v384),
 * card-image-blend-cohesion.css, page-hero-sizing.css and
 * page-bottom-spacing.css use !important. The declarations below repeat
 * !important only where those locked rules otherwise win the cascade.
 */

#recovery.page {
  --recovery-home-cream: #e5dad1;
  --recovery-home-surface: #eee6de;
  --recovery-home-bevel: #ddd0c5;
  --recovery-home-navy: #193a48;
  --recovery-home-midnight: #102a37;
  --recovery-home-charcoal: #253b47;
  --recovery-home-purple: #985cff;
  --recovery-home-purple-deep: #7045b8;
  --recovery-home-purple-pale: #d8c9ff;
  --recovery-home-edge: #aebfc6;
  padding-bottom: calc(
    var(--rebuild-deck-visible-height)
    + var(--rebuild-deck-safe-bottom)
    + 12px
  ) !important;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.2), transparent 31%),
    radial-gradient(circle at 82% 58%, rgba(122, 94, 75, 0.055), transparent 38%),
    linear-gradient(180deg, #e5dad1 0%, #eee6de 18%, #e8ddd3 58%, #ddd0c5 100%);
  color: var(--recovery-home-charcoal);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

/* Signature lighthouse hero. */
#recovery .recoveryTop {
  position: relative !important;
  width: min(90vw, 860px) !important;
  height: 202px !important;
  min-height: 202px;
  margin: 18px auto 26px !important;
  border: 3px solid var(--recovery-home-surface) !important;
  border-radius: 24px !important;
  padding: 0 !important;
  overflow: hidden !important;
  isolation: isolate;
  background: var(--recovery-home-surface) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    inset 0 -2px 0 rgba(141, 113, 93, 0.13),
    0 2px 0 rgba(255, 255, 255, 0.82),
    0 8px 14px rgba(37, 59, 71, 0.15),
    0 18px 34px rgba(37, 59, 71, 0.12) !important;
  color: var(--recovery-home-navy) !important;
}

#recovery .recovery-premium-hero-plate,
#recovery .recovery-premium-hero-plate > img {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  user-select: none;
}

#recovery .recoveryTop > .k {
  position: absolute !important;
  z-index: 3 !important;
  top: 20px !important;
  right: 47% !important;
  bottom: auto !important;
  left: 18px !important;
  margin: 0 !important;
  color: var(--recovery-home-purple-deep) !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  letter-spacing: 0.14em !important;
  line-height: 1.2;
  text-shadow: none !important;
}

#recovery .recoveryTop > h1 {
  position: absolute !important;
  z-index: 3 !important;
  top: 43px !important;
  right: 46% !important;
  bottom: auto !important;
  left: 18px !important;
  margin: 0 !important;
  color: var(--recovery-home-navy) !important;
  font-size: clamp(28px, 7.8vw, 34px) !important;
  font-weight: 900 !important;
  letter-spacing: -0.055em !important;
  line-height: 0.91 !important;
  text-shadow: none !important;
}

#recovery .recoveryTop > h1::before,
#recovery .recoveryTop > h1::after {
  content: none !important;
  display: none !important;
}

#recovery .recovery-page-intro {
  position: absolute !important;
  z-index: 3 !important;
  top: 109px !important;
  right: 46% !important;
  bottom: auto !important;
  left: 18px !important;
  margin: 0 !important;
  color: var(--recovery-home-charcoal) !important;
  font-size: 11px !important;
  font-weight: 650 !important;
  line-height: 1.35 !important;
  text-shadow: none !important;
}

#recovery .sober-priority {
  position: absolute !important;
  z-index: 4 !important;
  top: auto !important;
  right: auto !important;
  bottom: 14px !important;
  left: 18px !important;
  display: flex !important;
  width: min(47%, 168px) !important;
  min-width: 0 !important;
  min-height: 44px !important;
  border: 1px solid rgba(112, 69, 184, 0.42) !important;
  border-radius: 13px !important;
  padding: 5px 7px 5px 10px !important;
  box-sizing: border-box !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 7px !important;
  background: linear-gradient(145deg, rgba(255, 252, 247, 0.97), rgba(238, 225, 214, 0.94)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    inset 0 -1px 2px rgba(80, 57, 43, 0.1),
    0 3px 7px rgba(37, 59, 71, 0.14) !important;
  color: var(--recovery-home-navy) !important;
  text-align: left !important;
  backdrop-filter: none !important;
}

#recovery .sober-priority > span:first-child {
  display: block !important;
  min-width: 0;
}

#recovery .sober-priority b {
  display: block !important;
  color: var(--recovery-home-navy);
  font-size: 18px !important;
  font-weight: 900 !important;
  letter-spacing: -0.035em !important;
  line-height: 0.95 !important;
  text-shadow: none !important;
}

#recovery .sober-priority small {
  display: block !important;
  max-width: 116px !important;
  margin-top: 3px !important;
  color: var(--recovery-home-purple-deep) !important;
  font-size: 6.5px !important;
  font-weight: 900 !important;
  letter-spacing: 0.075em !important;
  line-height: 1.1 !important;
}

#recovery .sober-priority-mark {
  display: grid !important;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--recovery-home-midnight), #241d38);
  color: var(--recovery-home-purple-pale);
  font-size: 14px;
  line-height: 1;
}

/* Deliberate one-column editorial hierarchy. */
#recovery .recovery-urgent-grid,
#recovery .recovery-hub {
  display: flex !important;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box;
  flex-direction: column;
  align-items: center;
  gap: 24px !important;
  background: transparent;
}

#recovery .recovery-support.recovery-urgent-grid,
#recovery .recovery-hub {
  background-color: transparent;
  background-image: none;
}

#recovery .recovery-hub {
  margin-top: 24px !important;
}

#recovery .recovery-support-card,
#recovery .recovery-hub-card {
  position: relative !important;
  display: block !important;
  height: auto !important;
  max-height: none !important;
  margin: 0 !important;
  border: 3px solid var(--recovery-home-surface) !important;
  border-radius: 23px !important;
  padding: 0 !important;
  box-sizing: border-box;
  overflow: hidden !important;
  isolation: isolate;
  background: var(--recovery-home-surface) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    inset 0 -2px 0 rgba(133, 106, 87, 0.13),
    0 2px 0 rgba(255, 255, 255, 0.78),
    0 7px 12px rgba(37, 59, 71, 0.14),
    0 15px 27px rgba(37, 59, 71, 0.11) !important;
  color: var(--recovery-home-charcoal) !important;
  text-align: left !important;
  transition: transform 140ms ease, box-shadow 140ms ease;
}

#recovery .recovery-support-card.craving-now,
#recovery .recovery-hub-card.journey {
  width: min(90vw, 860px) !important;
}

#recovery .recovery-support-card.struggling-now,
#recovery .recovery-hub-card.tools,
#recovery .recovery-hub-card.fellowship {
  width: min(86vw, 800px) !important;
}

#recovery .recovery-support-card.craving-now {
  min-height: 180px !important;
  padding: 56px 34vw 9px 18px !important;
}

#recovery .recovery-support-card.struggling-now {
  min-height: 164px !important;
  padding: 56px 34vw 2px 16px !important;
}

#recovery .recovery-hub-card.tools {
  min-height: 170px !important;
}

#recovery .recovery-hub-card.journey {
  min-height: 184px !important;
}

#recovery .recovery-hub-card.fellowship {
  min-height: 164px !important;
}

#recovery .recovery-support-card::after,
#recovery .recovery-hub-card::after {
  content: none !important;
  display: none !important;
  background: none !important;
}

#recovery .recovery-card-visual {
  position: absolute !important;
  z-index: 0 !important;
  inset: 0 !important;
  display: block;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  grid-column: auto !important;
  grid-row: auto !important;
  overflow: hidden !important;
  pointer-events: none;
}

/*
 * The locked inline v377 support-card rule has greater specificity and pins
 * both support artwork wrappers to 38%. Restore the approved hourglass and
 * anchor plates to the complete inner cards without changing their crops.
 */
#recovery .recovery-support-card.craving-now .recovery-card-visual,
#recovery .recovery-support-card.struggling-now .recovery-card-visual {
  width: 100% !important;
}

#recovery .recovery-card-visual::before,
#recovery .recovery-card-visual::after {
  content: none !important;
  display: none !important;
  background: none !important;
}

#recovery .recovery-premium-card-plate,
#recovery .recovery-premium-card-plate > img {
  position: absolute;
  inset: 0;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center;
  filter: none !important;
  pointer-events: none;
  user-select: none;
}

/*
 * One removable, photo-only violet layer per approved artwork plate. Each
 * transparent radial treatment is clipped safely inside that plate's actual
 * photographic opening, so cream relief, live content and card chassis remain
 * untouched. The artwork files and their object positions are unchanged.
 */
#recovery .recoveryTop .recovery-premium-hero-plate::after,
#recovery .recovery-support-card.craving-now .recovery-premium-card-plate::after,
#recovery .recovery-support-card.struggling-now .recovery-premium-card-plate::after,
#recovery .recovery-hub-card.tools .recovery-premium-card-plate::after,
#recovery .recovery-hub-card.journey .recovery-premium-card-plate::after,
#recovery .recovery-hub-card.fellowship .recovery-premium-card-plate::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  display: block;
  mix-blend-mode: color;
  pointer-events: none;
}

#recovery .recoveryTop .recovery-premium-hero-plate::after {
  opacity: 0.11;
  clip-path: polygon(54% 0, 100% 0, 100% 100%, 56% 100%, 54% 78%, 52% 58%, 52% 34%);
  background: radial-gradient(ellipse 76% 88% at 80% 66%, #7045b8 0%, rgba(112, 69, 184, 0.72) 49%, rgba(112, 69, 184, 0) 82%);
}

#recovery .recovery-support-card.craving-now .recovery-premium-card-plate::after {
  opacity: 0.11;
  clip-path: polygon(68% 0, 100% 0, 100% 100%, 68% 100%, 66% 77%, 66% 24%);
  background:
    radial-gradient(ellipse 54% 40% at 94% 18%, #7045b8 0%, rgba(112, 69, 184, 0.7) 48%, rgba(112, 69, 184, 0) 82%),
    radial-gradient(ellipse 62% 42% at 94% 88%, #7045b8 0%, rgba(112, 69, 184, 0.68) 46%, rgba(112, 69, 184, 0) 82%);
}

#recovery .recovery-support-card.struggling-now .recovery-premium-card-plate::after {
  opacity: 0.14;
  clip-path: polygon(63% 0, 100% 0, 100% 100%, 60% 100%, 61% 72%, 62% 42%);
  background: radial-gradient(ellipse 78% 94% at 82% 48%, #7045b8 0%, rgba(112, 69, 184, 0.74) 50%, rgba(112, 69, 184, 0) 84%);
}

#recovery .recovery-hub-card.tools .recovery-premium-card-plate::after {
  opacity: 0.12;
  clip-path: polygon(64% 0, 100% 0, 100% 100%, 63% 100%, 62% 62%, 63% 28%);
  background: radial-gradient(ellipse 72% 88% at 83% 58%, #7045b8 0%, rgba(112, 69, 184, 0.7) 48%, rgba(112, 69, 184, 0) 82%);
}

#recovery .recovery-hub-card.journey .recovery-premium-card-plate::after {
  opacity: 0.12;
  clip-path: polygon(49% 0, 100% 0, 100% 72%, 68% 72%, 61% 54%, 54% 32%);
  background: radial-gradient(ellipse 86% 74% at 78% 24%, #7045b8 0%, rgba(112, 69, 184, 0.68) 48%, rgba(112, 69, 184, 0) 82%);
}

#recovery .recovery-hub-card.fellowship .recovery-premium-card-plate::after {
  opacity: 0.11;
  clip-path: polygon(56% 0, 100% 0, 100% 100%, 65% 100%, 61% 72%, 59% 38%);
  background: radial-gradient(ellipse 76% 88% at 84% 50%, #7045b8 0%, rgba(112, 69, 184, 0.7) 48%, rgba(112, 69, 184, 0) 82%);
}

/* Individual subject-aware crops; every plate remains full-card artwork. */
#recovery .recovery-support-card.struggling-now .recovery-premium-card-plate > img {
  object-position: 52% 50%;
}

#recovery .recovery-hub-card.tools .recovery-premium-card-plate > img {
  object-position: 50% 52%;
}

#recovery .recovery-hub-card.journey .recovery-premium-card-plate > img {
  object-position: 51% 10%;
}

#recovery .recovery-hub-card.fellowship .recovery-premium-card-plate > img {
  object-position: 53% 50%;
}

/* Restrained purple enamel medallions. */
#recovery .recovery-support-icon,
#recovery .recovery-hub-icon {
  position: absolute !important;
  z-index: 4 !important;
  top: 14px !important;
  left: 16px !important;
  display: grid !important;
  width: 44px !important;
  height: 44px !important;
  place-items: center !important;
  border: 1px solid rgba(216, 201, 255, 0.76) !important;
  border-radius: 50% !important;
  background: linear-gradient(145deg, var(--recovery-home-midnight), #241d38 68%, #382656) !important;
  color: var(--recovery-home-purple-pale) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.19),
    inset 0 -2px 4px rgba(0, 0, 0, 0.3),
    0 3px 7px rgba(37, 59, 71, 0.23) !important;
  pointer-events: none;
}

#recovery .recovery-support-icon svg,
#recovery .recovery-hub-icon svg {
  width: 22px !important;
  height: 22px !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2.2 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
  pointer-events: none;
}

#recovery .recovery-support-card .k {
  position: absolute !important;
  z-index: 4 !important;
  top: 27px !important;
  right: 40% !important;
  left: 70px !important;
  margin: 0 !important;
  color: var(--recovery-home-purple-deep) !important;
  font-size: 8px !important;
  font-weight: 900 !important;
  letter-spacing: 0.1em !important;
  line-height: 1.15;
}

#recovery .recovery-support-card.struggling-now .k {
  max-width: 68px;
  white-space: normal;
}

#recovery .recovery-support-card h2 {
  position: relative !important;
  z-index: 4 !important;
  inset: auto !important;
  margin: 0 !important;
  color: var(--recovery-home-navy) !important;
  font-size: 25px !important;
  font-weight: 900 !important;
  letter-spacing: -0.045em !important;
  line-height: 0.96 !important;
  overflow-wrap: normal;
  text-wrap: balance;
}

#recovery .recovery-support-card p {
  position: relative !important;
  z-index: 4 !important;
  inset: auto !important;
  margin: 7px 0 0 !important;
  padding: 0 !important;
  color: var(--recovery-home-charcoal) !important;
  font-size: 13.5px !important;
  font-weight: 650 !important;
  line-height: 1.32 !important;
  overflow-wrap: normal;
  text-wrap: pretty;
}

#recovery .recovery-support-card.struggling-now h2 {
  font-size: 23px !important;
}

#recovery .recovery-support-card.struggling-now p {
  margin-top: 7px !important;
  font-size: 13px !important;
  line-height: 1.22 !important;
}

@media (max-width: 799px) {
  #recovery .recovery-support-card.craving-now h2,
  #recovery .recovery-support-card.craving-now p {
    width: clamp(148px, 42vw, 180px);
    max-width: 100%;
  }

  #recovery .recovery-support-card.struggling-now h2,
  #recovery .recovery-support-card.struggling-now p {
    width: clamp(158px, 41vw, 176px);
    max-width: 100%;
  }

  #recovery .recovery-support-card.struggling-now p {
    letter-spacing: -0.012em;
    word-spacing: -0.2px;
  }
}

/* Live Hub copy remains above the flattened relief plate. */
#recovery .recovery-hub-copy {
  position: absolute !important;
  z-index: 4 !important;
  display: flex !important;
  top: 0;
  right: 40%;
  bottom: 0;
  left: 0;
  width: auto;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 57px 10px 11px 16px !important;
  box-sizing: border-box;
  flex-direction: column !important;
  justify-content: flex-start !important;
}

#recovery .recovery-hub-card.tools .recovery-hub-copy {
  right: 45%;
}

#recovery .recovery-hub-card.journey .recovery-hub-copy {
  right: 44%;
  width: auto;
  padding-top: 59px !important;
}

#recovery .recovery-hub-card.fellowship .recovery-hub-copy {
  right: 45%;
  width: auto;
  padding-top: 64px !important;
  padding-bottom: 9px !important;
}

#recovery .recovery-hub-copy small {
  position: absolute;
  top: 26px;
  right: 8px;
  left: 70px;
  color: var(--recovery-home-purple-deep) !important;
  font-size: 9px !important;
  font-style: normal !important;
  font-weight: 900 !important;
  letter-spacing: 0.1em !important;
  line-height: 1.18 !important;
}

#recovery .recovery-hub-card.fellowship .recovery-hub-copy small {
  top: 40px;
  max-width: 90px;
  white-space: normal;
}

#recovery .recovery-hub-copy b {
  display: block !important;
  min-height: 0 !important;
  margin-top: 5px !important;
  color: var(--recovery-home-navy) !important;
  font-size: 23px !important;
  font-weight: 900 !important;
  letter-spacing: -0.045em !important;
  line-height: 0.98 !important;
  overflow-wrap: normal;
  text-wrap: balance;
}

#recovery .recovery-hub-card.journey .recovery-hub-copy b {
  font-size: 25px !important;
}

#recovery .recovery-hub-card.fellowship .recovery-hub-copy b {
  font-size: 22px !important;
}

#recovery .recovery-hub-copy em {
  display: block !important;
  min-height: 0 !important;
  max-height: none !important;
  margin-top: 6px !important;
  overflow: visible !important;
  color: var(--recovery-home-charcoal) !important;
  font-size: 13px !important;
  font-style: normal !important;
  font-weight: 650 !important;
  line-height: 1.3 !important;
  overflow-wrap: normal;
  text-wrap: pretty;
}

#recovery .recovery-hub-card.fellowship .recovery-hub-copy em {
  font-size: 13px !important;
  line-height: 1.28 !important;
}

/* The card is the tap target; its arrow is a restrained photo-side cue. */
#recovery .recovery-support-card .cta,
#recovery .recovery-hub-card > strong {
  position: absolute !important;
  z-index: 5 !important;
  top: auto !important;
  right: 23px !important;
  bottom: 23px !important;
  left: auto !important;
  display: grid !important;
  width: 28px !important;
  height: 28px !important;
  min-height: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  place-items: center;
  background: none !important;
  color: #fffdf8 !important;
  box-shadow: none !important;
  font-size: 28px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  text-shadow: 0 1px 3px rgba(16, 42, 55, 0.55) !important;
  pointer-events: none;
}

#recovery .recovery-support-card:focus-visible,
#recovery .recovery-hub-card:focus-visible,
#recovery .sober-priority:focus-visible {
  outline: 3px solid var(--recovery-home-purple) !important;
  outline-offset: 3px !important;
}

#recovery .recovery-support-card:active,
#recovery .recovery-hub-card:active,
#recovery .sober-priority:active {
  transform: translateY(1px);
}

@media (max-width: 370px) {
  #recovery .recoveryTop {
    width: min(90vw, 860px) !important;
    height: 196px !important;
    min-height: 196px;
    margin: 16px auto 22px !important;
  }

  #recovery .recoveryTop > .k {
    top: 18px !important;
    left: 16px !important;
  }

  #recovery .recoveryTop > h1 {
    top: 40px !important;
    right: 45% !important;
    left: 16px !important;
    font-size: 27px !important;
  }

  #recovery .recovery-page-intro {
    top: 101px !important;
    right: 45% !important;
    left: 16px !important;
    font-size: 10px !important;
  }

  #recovery .sober-priority {
    bottom: 12px !important;
    left: 16px !important;
    width: 48% !important;
  }

  #recovery .recovery-urgent-grid,
  #recovery .recovery-hub {
    gap: 22px !important;
  }

  #recovery .recovery-hub {
    margin-top: 22px !important;
  }

  #recovery .recovery-support-card.craving-now,
  #recovery .recovery-hub-card.journey {
    width: min(90vw, 860px) !important;
  }

  #recovery .recovery-support-card.struggling-now,
  #recovery .recovery-hub-card.tools,
  #recovery .recovery-hub-card.fellowship {
    width: min(86vw, 800px) !important;
  }

  #recovery .recovery-support-card.craving-now {
    min-height: 178px !important;
    padding: 56px 34vw 8px 16px !important;
  }

  #recovery .recovery-support-card.struggling-now {
    min-height: 164px !important;
    padding: 56px 32vw 0 15px !important;
  }

  #recovery .recovery-support-card.struggling-now .recovery-premium-card-plate > img {
    object-position: 25% 50%;
  }

  #recovery .recovery-hub-card.tools {
    min-height: 166px !important;
  }

  #recovery .recovery-hub-card.journey {
    min-height: 180px !important;
  }

  #recovery .recovery-hub-card.fellowship {
    min-height: 160px !important;
  }

  #recovery .recovery-support-card h2 {
    font-size: 23px !important;
  }

  #recovery .recovery-support-card p {
    font-size: 13px !important;
  }

  #recovery .recovery-hub-copy b {
    font-size: 22px !important;
  }

  #recovery .recovery-hub-card.journey .recovery-hub-copy b {
    font-size: 23px !important;
  }

  #recovery .recovery-hub-card.fellowship .recovery-hub-copy b {
    font-size: 20px !important;
  }

  #recovery .recovery-hub-copy {
    right: 38%;
    padding: 55px 7px 9px 15px !important;
  }

  #recovery .recovery-hub-card.journey .recovery-hub-copy {
    right: 44%;
    padding-top: 57px !important;
  }

  #recovery .recovery-hub-card.fellowship .recovery-hub-copy {
    right: 45%;
    padding-top: 62px !important;
  }
}

@media (min-width: 411px) and (max-width: 799px) {
  #recovery .recoveryTop {
    height: 206px !important;
    min-height: 206px;
  }

  #recovery .recovery-urgent-grid,
  #recovery .recovery-hub {
    gap: 26px !important;
  }

  #recovery .recovery-hub {
    margin-top: 26px !important;
  }

  #recovery .recovery-support-card.craving-now {
    min-height: 184px !important;
  }

  #recovery .recovery-support-card.struggling-now {
    min-height: 166px !important;
  }

  #recovery .recovery-hub-card.tools {
    min-height: 172px !important;
  }

  #recovery .recovery-hub-card.journey {
    min-height: 188px !important;
  }

  #recovery .recovery-hub-card.fellowship {
    min-height: 166px !important;
  }
}

@media (min-width: 800px) {
  #recovery .recoveryTop {
    width: min(74vw, 860px) !important;
    height: 360px !important;
    min-height: 360px;
    margin-top: 28px !important;
    margin-bottom: 34px !important;
  }

  #recovery .recoveryTop > .k {
    top: 38px !important;
    left: 34px !important;
    font-size: 12px !important;
  }

  #recovery .recoveryTop > h1 {
    top: 70px !important;
    left: 34px !important;
    font-size: 48px !important;
  }

  #recovery .recovery-page-intro {
    top: 174px !important;
    left: 34px !important;
    max-width: 330px;
    font-size: 15px !important;
  }

  #recovery .sober-priority {
    bottom: 30px !important;
    left: 34px !important;
    width: 220px !important;
    min-height: 52px !important;
  }

  #recovery .recovery-urgent-grid,
  #recovery .recovery-hub {
    gap: 32px !important;
  }

  #recovery .recovery-hub {
    margin-top: 32px !important;
  }

  #recovery .recovery-support-card.craving-now {
    min-height: 330px !important;
    padding-top: 98px !important;
  }

  #recovery .recovery-support-card.struggling-now {
    min-height: 230px !important;
    padding-top: 82px !important;
  }

  #recovery .recovery-hub-card.tools {
    min-height: 250px !important;
  }

  #recovery .recovery-hub-card.journey {
    min-height: 340px !important;
  }

  #recovery .recovery-hub-card.fellowship {
    min-height: 220px !important;
  }

  #recovery .recovery-support-card h2,
  #recovery .recovery-hub-copy b {
    font-size: 30px !important;
  }

  #recovery .recovery-support-card p,
  #recovery .recovery-hub-copy em {
    max-width: 310px;
    font-size: 15px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  #recovery .recovery-support-card,
  #recovery .recovery-hub-card,
  #recovery .sober-priority {
    transition: none;
  }
}

/*
 * page-hero-sizing.css deliberately owns a higher-specificity shared homepage
 * rule. This final Recovery-only block overrides that rule without changing
 * the shared stylesheet or any other homepage.
 */
html body main.app > #recovery.page .recoveryTop {
  display: block !important;
  width: min(90vw, 860px) !important;
  height: 202px !important;
  min-height: 202px !important;
  margin: 18px auto 26px !important;
  padding: 0 !important;
}

html body main.app > #recovery.page .recoveryTop > .k {
  position: absolute !important;
  inset: 20px 47% auto 18px !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  font-size: 10px !important;
}

html body main.app > #recovery.page .recoveryTop > h1 {
  position: absolute !important;
  inset: 43px 46% auto 18px !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  font-size: clamp(28px, 7.8vw, 34px) !important;
}

html body main.app > #recovery.page .recovery-page-intro {
  position: absolute !important;
  inset: 109px 46% auto 18px !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  font-size: 11px !important;
}

html body main.app > #recovery.page .sober-priority {
  position: absolute !important;
  inset: auto auto 14px 18px !important;
}

html.community-entry-available body > main.app:has(> #recovery.page.on) {
  padding-bottom: 0;
}

html.community-entry-available body > main.app > #recovery.page {
  padding-bottom: calc(
    var(--rebuild-deck-visible-height)
    + var(--rebuild-deck-safe-bottom)
    + 12px
  ) !important;
}

@media (max-width: 370px) {
  html body main.app > #recovery.page .recoveryTop {
    height: 196px !important;
    min-height: 196px !important;
    margin: 16px auto 22px !important;
  }

  html body main.app > #recovery.page .recoveryTop > .k {
    inset: 18px 45% auto 16px !important;
  }

  html body main.app > #recovery.page .recoveryTop > h1 {
    inset: 40px 45% auto 16px !important;
    font-size: 27px !important;
  }

  html body main.app > #recovery.page .recovery-page-intro {
    inset: 101px 45% auto 16px !important;
    font-size: 10px !important;
  }

  html body main.app > #recovery.page .sober-priority {
    inset: auto auto 12px 16px !important;
  }
}

@media (min-width: 411px) and (max-width: 799px) {
  html body main.app > #recovery.page .recoveryTop {
    height: 206px !important;
    min-height: 206px !important;
  }
}

@media (min-width: 800px) {
  html body main.app > #recovery.page .recoveryTop {
    width: min(74vw, 860px) !important;
    height: 360px !important;
    min-height: 360px !important;
    margin: 28px auto 34px !important;
  }

  html body main.app > #recovery.page .recoveryTop > .k {
    inset: 38px 47% auto 34px !important;
    font-size: 12px !important;
  }

  html body main.app > #recovery.page .recoveryTop > h1 {
    inset: 70px 46% auto 34px !important;
    font-size: 48px !important;
  }

  html body main.app > #recovery.page .recovery-page-intro {
    inset: 174px 46% auto 34px !important;
    max-width: 330px !important;
    font-size: 15px !important;
  }

  html body main.app > #recovery.page .sober-priority {
    inset: auto auto 30px 34px !important;
  }
}
