/* ─────────────────────────────────────────────────────────────────────────
   Section: Feature: Role Management — Why It Matters (Figma 2225:3817 / 2225:3687-3692 / 2225:3721)

   Photo band: Frame 217, 1440x752, its image fill drawn at w100% h125.95%,
   top -22.02%, left 0 (stretched, as Figma does). Below lg (no Role
   Management mobile frame) the band is 360x250 with the image covering it.

   Highlight stroke is a vertical export (preserveAspectRatio="none"). It is
   drawn at its export size (W x H) and rotated -90deg about its centre:
   left = figmaLeft - (W-H)/2, top = figmaTop - (H-W)/2.

   #cacaca (Line 2 stroke) is not an @theme token; scoped here as
   --color-rm-rule and flagged as a token candidate.
   ───────────────────────────────────────────────────────────────────────── */

.section-rm-why {
  --color-rm-rule: #cacaca;
}

.section-rm-why__photo {
  position: relative;
  aspect-ratio: 360 / 250;
  overflow: hidden;
}

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

.section-rm-why__blob {
  position: absolute;
  max-width: none;
  pointer-events: none;
  transform: rotate(-90deg);
}

.section-rm-why__rule {
  height: 0.0625rem; /* 1 */
  background-color: var(--color-rm-rule);
}

@media (width >= 64rem) {
  .section-rm-why__photo {
    aspect-ratio: 1440 / 752;
  }

  .section-rm-why__photo img {
    inset: auto;
    top: -22.02%;
    left: 0;
    width: 100%;
    height: 125.95%;
    object-fit: fill;
  }

  /* Blob 6: export 35.57x491, Figma box 491x35.57 at heading x-31 / y86.16 */
  .section-rm-why__blob {
    width: 2.2231rem;
    height: 30.6875rem;
    left: 12.295rem; /* -31 + 227.72 */
    top: -8.8475rem; /* 86.16 - 227.72 */
  }
}
