/* Homepage review: scoped to / and /home; shared product styles stay intact. */
.homepage-konrad section.enhancing-energy[hidden] {
  display: none !important;
}

.homepage-konrad .simple-steps-product .grid {
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.homepage-konrad .simple-steps-product .div-block-126 {
  display: grid;
  grid-template-rows: auto 58px auto 1fr;
  align-content: start;
  min-width: 0;
  padding: 32px;
  position: relative;
  overflow: visible;
}

/* The shared accessibility sheet paints a solid green strip on these labels.
   Use readable green type on the existing ivory surface at every breakpoint. */
.homepage-konrad .simple-steps-product .text-block-62 {
  background: transparent !important;
  color: #31533b;
  display: block;
  position: static;
  inset: auto;
  height: auto;
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  line-height: 18px;
}

.homepage-konrad .simple-steps-product .text-block-60 {
  min-height: 0;
  margin: 0;
}

/* Reserve space for the illustrations instead of using negative edge offsets. */
.homepage-konrad .simple-steps-product .div-block-127 {
  position: relative;
  margin: 20px 0 0;
  padding: 16px 0 32px;
  border: 0;
  outline: none;
  box-shadow: none;
  filter: none;
  overflow: visible;
}

.homepage-konrad .simple-steps-product .div-block-127 > img:first-child {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.58;
  object-fit: contain;
}

.homepage-konrad .simple-steps-product .image-8-copy {
  width: 48%;
  max-width: 157px;
  height: auto;
  inset: auto 0 0 auto;
  border: 0;
  outline: none;
  box-shadow: none;
  filter: none;
}

.homepage-konrad .simple-steps-product .image-20-tiz {
  width: 42%;
  max-width: 128px;
  max-height: none;
  height: auto;
  inset: 0 auto auto 0;
}

.homepage-konrad .simple-steps-product .image-19-tiz {
  width: 68%;
  max-width: 216px;
  max-height: none;
  height: auto;
  inset: auto 0 0 auto;
}

.homepage-konrad .simple-steps-product .text-block-61 {
  margin-top: 24px;
}

/* Size the weight-loss row from the calculator and score portrait. The animated
   SVG must fill its stretched card, rather than leave a bare strip below it. */
.homepage-konrad .lose-weight-section .div-block-19 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 20px;
}

.homepage-konrad .lose-weight-section .div-block-19 > div {
  min-width: 0;
  min-height: 0;
  border-radius: 20px;
}

.homepage-konrad .lose-weight-section .div-block-20 {
  padding: 24px;
}

.homepage-konrad .lose-weight-section .div-block-20 > div:first-child {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.homepage-konrad .lose-weight-section .div-block-27 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  padding-block: 24px;
}

.homepage-konrad .lose-weight-section .wl_track {
  width: calc(100% - 32px);
  margin-inline: auto;
}

.homepage-konrad .lose-weight-section .div-block-25 {
  gap: 12px;
}

.homepage-konrad .lose-weight-section .image-6 {
  width: 48px;
  height: 48px;
  flex: none;
}

.homepage-konrad .lose-weight-section .text-block-17 {
  font-size: 20px;
}

.homepage-konrad .lose-weight-section .text-block-18,
.homepage-konrad .lose-weight-section .text-block-21 {
  font-size: 14px;
}

.homepage-konrad .lose-weight-section .div-block-28 {
  gap: 12px;
}

.homepage-konrad .lose-weight-section .div-block-21 {
  position: relative;
  width: 100%;
  aspect-ratio: 416 / 568;
  overflow: hidden;
}

.homepage-konrad .lose-weight-section .lottie-animation-5 {
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.homepage-konrad .lose-weight-section .lottie-animation-5 > svg {
  position: absolute;
  left: 50%;
  top: 50%;
  width: auto !important;
  height: 100% !important;
  min-width: 100%;
  transform: translate(-50%, -50%) !important;
}

/* Keep the complete portrait and a separate price panel. Blend the portrait's
   dark background into the card when desktop sizing leaves space at its sides. */
.homepage-konrad .homepage-proven-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: linear-gradient(180deg, #252523, transparent 65%),
    linear-gradient(100deg, #2c2c22, #363523);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.homepage-konrad .homepage-proven-card .image-5 {
  display: block;
  width: 100%;
  height: auto;
}

.homepage-konrad .homepage-proven-card .text-block-15 {
  top: 32px;
  left: 24px;
  right: 24px;
  font-size: clamp(24px, 2.23vw, 32px);
  line-height: 1.2;
}

.homepage-konrad .homepage-proven-card .text-block-15 > strong,
.homepage-konrad .homepage-proven-card .text-block-15 > .text-span {
  display: block;
}

.homepage-konrad .homepage-proven-card .div-block-23 {
  position: static;
  width: auto;
  max-width: calc(100% - 48px);
  margin: auto 24px 24px;
  padding: 12px 16px;
  background: #ffea81;
  border-radius: 12px;
  flex: none;
}

.homepage-konrad .homepage-proven-card .div-block-23 > img {
  display: none;
}

.homepage-konrad .homepage-proven-card .div-block-24 {
  position: static;
}

.homepage-konrad .homepage-proven-card .text-block-16 {
  font-size: 14px;
  line-height: 1.5;
  overflow-wrap: break-word;
}

.homepage-konrad .homepage-proven-card .text-block-16:last-child {
  font-weight: 600;
}

@media (min-width: 992px) {
  /* Let the accordion size the row; crop the photo inside that height instead
     of stretching the FAQ panel to the portrait's intrinsic aspect ratio. */
  .homepage-konrad .faq-card.is-width > .img-faq-bg {
    position: relative;
    min-height: 0;
    overflow: hidden;
  }
  .homepage-konrad .faq-card.is-width .faq-img.max-heigh-auto {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
  }
  .homepage-konrad .faq-card.is-width > .faq-wrap {
    padding: 64px clamp(32px, 5vw, 80px);
  }
}

@media (min-width: 1200px) {
  /* Exclude the portrait's intrinsic height from grid sizing, then fit it into
     the space above the price. The calculator can still grow for wrapped text. */
  .homepage-konrad .homepage-proven-card {
    contain: size;
  }
  .homepage-konrad .homepage-proven-card .image-5 {
    flex: 1;
    min-height: 0;
    height: 0;
    object-fit: contain;
    mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent),
      linear-gradient(#000 96%, transparent);
    mask-composite: intersect;
  }
  .homepage-konrad .homepage-proven-card .div-block-23 {
    margin-top: 0;
  }
}

@media (max-width: 1199px) {
  .homepage-konrad .lose-weight-section .div-block-19 {
    grid-template-columns: minmax(0, 1fr);
    max-width: 560px;
    margin-inline: auto;
    gap: 24px;
  }
  .homepage-konrad .lose-weight-section .div-block-27 {
    padding-block: 8px;
  }
  .homepage-konrad .homepage-proven-card .text-block-15 {
    font-size: clamp(24px, 7.2vw, 32px);
  }
}

@media (max-width: 1100px) and (min-width: 992px) {
  .homepage-konrad .simple-steps-product .div-block-126 {
    padding: 24px;
  }
  .homepage-konrad .simple-steps-product .text-block-60 {
    font-size: 22px;
  }
}

@media (max-width: 991px) {
  .homepage-konrad .simple-steps-product .grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 560px;
    margin-inline: auto;
    gap: 24px;
  }
  .homepage-konrad .simple-steps-product .div-block-126 {
    grid-template-rows: auto auto auto auto;
    padding: 24px;
  }
  .homepage-konrad .simple-steps-product .text-block-60 {
    font-size: 22px;
  }
  .homepage-konrad .simple-steps-product .div-block-127 {
    margin-top: 24px;
  }
}

@media (max-width: 479px) {
  .homepage-konrad .simple-steps-product .div-block-125 {
    margin-bottom: 40px;
  }
  .homepage-konrad .simple-steps-product .text-block-60 {
    font-size: 20px;
  }
}
