/* ─────────────────────────────────────────────────────────────────────────
   Section: Feature: Amenities and Reservations — Hero (Figma 2225:2919 / 2225:2944)

   - Card fill: Figma draws the gradient image at w155.6% h154.12%, offset
     -55.6% / -0.04% inside the card, then rotates the whole fill 180deg.
     Below lg (no Amenities mobile frame) the image simply covers the card.
   - Bullets: 9x9 apple squares at text x-34 (x11 of the column) / y+10,
     the third at y+11 (Figma).
   - At lg the card's internals scale with the card: shares of the 1300px
     design width in cqw of the frame (which is exactly as wide as the card).
       89 / 1300   = 6.8462cqw   (padding-left: title at x159 = 70 + 89)
       978 / 1300  = 75.2308cqw  (content column = title box; the title is
                                  wider than the lead)
       860 / 1300  = 66.1538cqw  (lead)
       496 / 1300  = 38.1538cqw  (intro paragraph)
       465 / 1300  = 35.7692cqw  (bullets column: 45 + 420)
       792 / 1300  = 60.9231cqw  (mockup, anchored right)
       3.6 / 1300  = 0.2769cqw   (mockup gap above the card's bottom)
       1162 / 1300 = 89.3846cqw  (card min-height)
   ───────────────────────────────────────────────────────────────────────── */

.section-amen-hero__fill {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  transform: rotate(180deg);
}

.section-amen-hero__fill img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.section-amen-hero__list li {
  padding-left: 2.1875rem; /* mobile: 9 + 26, as the Connections mobile frame */
}

.section-amen-hero__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.625rem; /* 10 */
  width: 0.5625rem; /* 9 */
  height: 0.5625rem;
  background-color: var(--color-green-light);
}

@media (width >= 64rem) {
  .section-amen-hero__frame {
    container-type: inline-size;
  }

  .section-amen-hero__card {
    min-height: 89.3846cqw;
    padding-left: 6.8462cqw;
  }

  .section-amen-hero__fill img {
    inset: auto;
    top: -0.04%;
    left: -55.6%;
    width: 155.6%;
    height: 154.12%;
  }

  .section-amen-hero__content {
    width: 75.2308cqw;
  }

  .section-amen-hero__lead {
    max-width: 66.1538cqw;
  }

  .section-amen-hero__intro {
    width: 38.1538cqw;
  }

  .section-amen-hero__list {
    max-width: 35.7692cqw;
  }

  .section-amen-hero__list li {
    padding-left: 2.8125rem; /* 45 */
  }

  .section-amen-hero__list li::before {
    left: 0.6875rem; /* 11 */
    top: 0.625rem; /* 10 */
  }

  .section-amen-hero__list li:nth-child(3)::before {
    top: 0.6875rem; /* 11 */
  }

  .section-amen-hero__mockup {
    position: absolute;
    right: 0;
    bottom: 0.2769cqw;
    width: 60.9231cqw;
    height: auto;
  }
}
