/* ─────────────────────────────────────────────────────────────────────────
   Section: Feature: Violations — Hero (Figma 2225:3323 / 2225:3327)

   - 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 Violations mobile frame) the image simply covers the card.
   - Bullets: 9x9 green-light square at x12 / y10, text at x46 (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).
       88 / 1300   = 6.7692cqw   (padding-left: lead at x158 = 70 + 88)
       -9 / 1300   = -0.6923cqw  (title at x149, 9 left of the lead)
       960 / 1300  = 73.8462cqw  (content column = lead width)
       466 / 1300  = 35.8462cqw  (intro + bullets column: 46 + 420)
       460 / 1300  = 35.3846cqw  (intro paragraph)
       792 / 1300  = 60.9231cqw  (mockup, flush right)
       420 / 1300  = 32.3077cqw  (mockup left, from the intro at x88)
       1439 / 1300 = 110.6923cqw (card min-height)
   ───────────────────────────────────────────────────────────────────────── */

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

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

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

.section-viol-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-viol-hero__frame {
    container-type: inline-size;
  }

  .section-viol-hero__card {
    min-height: 110.6923cqw;
    padding-left: 6.7692cqw;
  }

  .section-viol-hero__fill img {
    inset: auto;
    top: -0.04%;
    left: -55.6%;
    width: 155.6%;
    height: 154.12%;
    object-fit: fill; /* Figma's crop box, not a cover-fit */
  }

  .section-viol-hero__content {
    width: 73.8462cqw;
  }

  .section-viol-hero__title {
    margin-left: -0.6923cqw;
  }

  .section-viol-hero__intro {
    width: 35.8462cqw;
  }

  .section-viol-hero__lead {
    max-width: 35.3846cqw;
  }

  .section-viol-hero__list li {
    padding-left: 2.875rem; /* 46 */
  }

  .section-viol-hero__list li::before {
    left: 0.75rem; /* 12 */
    top: 0.625rem; /* 10 */
  }

  /* Positioned from the intro block (card x88): left 420 / 1300 of the
     card, 28 above the intro's top; it runs to the card's right edge. */
  .section-viol-hero__mockup {
    position: absolute;
    top: -1.75rem; /* -28 */
    left: 32.3077cqw;
    width: 60.9231cqw;
    max-width: none;
    height: auto;
  }
}
