/* The original palette is preserved. Change these variables to test colors. */
:root {
  --primary: #37ca37;
  --color-mamcqqd2: #01985c;
  --color-mamwqck8: #e9fef0;
  --color-mamwqqm6: #022a01;
}

/* Static replacements for the original page's hydrated controls. */
.carousel { overflow: hidden; }
.carousel__slides { display: flex !important; will-change: transform; }
.carousel__slide { flex: 0 0 100%; }
.carousel__arrow { display: flex; justify-content: space-between; }
.carousel__arrow svg, .carousel__pagination { cursor: pointer; }
.carousel__arrow svg:focus-visible, .carousel__pagination:focus-visible,
.hl-faq-child-heading:focus-visible { outline: 3px solid #245fd0; outline-offset: 3px; }
.hl-faq-child-heading { cursor: pointer; }
.hl-faq-child-panel[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) {
  .carousel__slides { transition: none !important; }
}

/* Keep the opening story readable without editor-inserted blank heading rows. */
#heading-oMQFAYvybw h1:empty,
#heading-jfbebshQkP h1:empty { display: none; }
#heading-oMQFAYvybw h1,
#heading-jfbebshQkP h1 { line-height: 1.5; }
#heading-oMQFAYvybw h1:nth-child(3),
#heading-oMQFAYvybw h1:nth-child(6),
#heading-oMQFAYvybw h1:nth-child(9),
#heading-oMQFAYvybw h1:nth-child(11),
#heading-jfbebshQkP h1:nth-child(3),
#heading-jfbebshQkP h1:nth-child(4) { margin-top: 1em; }

/* These proof graphics include price text at their top and bottom. Never crop it. */
#section-zOWo_1arpU .c-image-slider {
  width: min(100%, 620px) !important;
  margin-inline: auto !important;
}
#section-zOWo_1arpU .c-image-slider .carousel {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 850 / 600;
  background: #f7faf7;
}
#section-zOWo_1arpU .c-image-slider.mobile-only .carousel {
  aspect-ratio: 1;
}
#section-zOWo_1arpU .c-image-slider .carousel__slides,
#section-zOWo_1arpU .c-image-slider .carousel__slide {
  height: 100% !important;
}
#section-zOWo_1arpU .c-image-slider .carousel__slide-image {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

/* Mobile sales-letter rhythm: the source editor used headings as paragraphs. */
@media (max-width: 640px) {
  #heading-oMQFAYvybw h1:first-child { margin-bottom: .7em; }
  #heading-oMQFAYvybw h1:nth-of-type(4),
  #heading-oMQFAYvybw h1:nth-of-type(7) { margin-top: .65em; }
  .mobile-story-break { display: block; height: .8em; }

  #heading-SVxGiNBxTh h1:empty,
  #sub-heading-ElF_UcHYam h2:empty,
  #sub-heading-FZyslGFcTF h1:empty { display: none; }

  #heading-SVxGiNBxTh h1,
  #sub-heading-3t9ydsxF-i h1,
  #sub-heading-3t9ydsxF-i p,
  #sub-heading-ElF_UcHYam h1,
  #sub-heading-ElF_UcHYam h2,
  #sub-heading-FZyslGFcTF h1 { line-height: 1.42; }

  #heading-SVxGiNBxTh h1:nth-of-type(3),
  #heading-SVxGiNBxTh h1:nth-of-type(4),
  #heading-SVxGiNBxTh h1:nth-of-type(6) { margin-top: 1em; }
  #heading-SVxGiNBxTh h1:nth-of-type(n+8):nth-of-type(-n+11),
  #sub-heading-ElF_UcHYam h1:nth-of-type(n+2):nth-of-type(-n+5) {
    margin: .65em 0 0 !important;
    padding-left: 1.5em;
    text-indent: -1.5em;
  }
  #heading-SVxGiNBxTh h1:nth-of-type(8),
  #sub-heading-ElF_UcHYam h1:nth-of-type(2) { margin-top: 1.1em !important; }

  #sub-heading-3t9ydsxF-i h1 { margin-top: 1em; }
  #sub-heading-ElF_UcHYam h1:nth-of-type(6),
  #sub-heading-ElF_UcHYam h2:not(:empty) { margin-top: 1.25em; }
  #sub-heading-FZyslGFcTF h1:nth-of-type(2) { margin-top: .45em; }
  #sub-heading-FZyslGFcTF h1:nth-of-type(4) { margin-top: 1em; }

  /* Four examples stay readable without becoming a very long single column. */
  #row-Jjxr4l472r > .inner,
  #row-s2358jW0vN > .inner,
  #row-Cc7MfNjQyO > .inner,
  #row-HLkREzKt1Z > .inner,
  #row-MBbZFrKkF1 > .inner {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
    align-items: stretch;
  }
  #row-Jjxr4l472r > .inner > .c-column,
  #row-s2358jW0vN > .inner > .c-column {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 12px 8px !important;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,.08);
  }
  #row-Jjxr4l472r > .inner > .c-column > .inner,
  #row-s2358jW0vN > .inner > .c-column > .inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: center;
    gap: 10px;
  }
  #row-Jjxr4l472r .c-heading,
  #row-Jjxr4l472r .c-image,
  #row-s2358jW0vN .c-heading,
  #row-s2358jW0vN .c-image { margin: 0 !important; padding: 0 !important; width: 100% !important; }
  #row-Jjxr4l472r .c-heading h1,
  #row-Jjxr4l472r .c-heading h4,
  #row-s2358jW0vN .c-heading h1,
  #row-s2358jW0vN .c-heading h4 { font-size: 18px !important; line-height: 1.2 !important; margin: 0 !important; }
  #row-Jjxr4l472r .c-image img,
  #row-s2358jW0vN .c-image img {
    display: block;
    width: 100% !important;
    max-width: 135px !important;
    height: 105px !important;
    object-fit: cover;
    margin-inline: auto;
    border-radius: 5px;
  }
  #row-Cc7MfNjQyO > .inner > .c-column,
  #row-HLkREzKt1Z > .inner > .c-column,
  #row-MBbZFrKkF1 > .inner > .c-column {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 5px !important;
  }
  #row-Cc7MfNjQyO img,
  #row-HLkREzKt1Z img,
  #row-MBbZFrKkF1 img {
    display: block;
    width: 100% !important;
    max-width: 150px !important;
    height: 135px !important;
    object-fit: contain;
    margin-inline: auto;
  }
}
