/* ─────────────────────────────────────────────────────────────────────────
   Section: Feature: Amenities and Reservations — Call-Out (Figma 2225:2909,
   arrow 2225:2954)

   Everything inside the group is sized from the ribbon's font size (1em):
   x positions are % of the ribbon width, y offsets and sizes are em.
   Desktop base: ribbon type 60px, ribbon w1274. Values are Figma px / 60.
   Mobile base (Connections mobile spec): ribbon type 30px, ribbon w324.
   ───────────────────────────────────────────────────────────────────────── */

.section-amen-callout__group {
  width: 20.25rem; /* 324 */
  max-width: 100%;
  font-size: 1.875rem; /* 30 */
  gap: 0.7333em; /* 22 */
}

.section-amen-callout__ribbon h2 {
  font-size: 1em;
  line-height: 1.1em; /* 33 */
}

/* ── Strike over "managed manually." ───────────────────────────────────── */
.section-amen-callout__word {
  position: relative;
  display: inline-block;
}

/* Blob 10: 523.2 x 36.7 box at ribbon x719 / y33. Placed against the word
   box (which sits 10 below the ribbon's line top), matched to Figma's
   render. */
.section-amen-callout__strike {
  position: absolute;
  left: 0;
  top: 0.3833em; /* (33 - 10) / 60 */
  width: 8.7193em; /* 523.16 / 60 */
  height: 0.611em; /* 36.66 / 60 */
  container-type: size;
  pointer-events: none;
}

/* The export is the vertical 14.46 x 523 shape; Figma rotates it
   -92.43deg and mirrors it to lie across the box. */
.section-amen-callout__strike img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 39.4072cqh; /* 14.46 */
  height: 99.99cqw; /* 523.1 */
  max-width: none;
  transform: translate(-50%, -50%) rotate(-92.43deg) scaleX(-1);
}

/* ── Note + underline (mobile: centred under the ribbon) ────────────────── */
.section-amen-callout__notes {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25em;
}

.section-amen-callout__note {
  margin: 0;
  font-size: 0.5437em; /* 16.31 — Connections mobile note size */
  line-height: 0.8069;
  text-align: center;
  transform: rotate(1.5deg);
}

.section-amen-callout__line {
  width: 35%;
  height: auto;
  transform: rotate(1.5deg);
}

/* Arrow: shown with the desktop composition only (no mobile frame to place it) */
.section-amen-callout__arrow {
  display: none;
}

/* ── Desktop ────────────────────────────────────────────────────────────── */
@media (width >= 64rem) {
  .section-amen-callout__group {
    width: max-content;
    font-size: min(3.75rem, 4.1667vw); /* 60 at 1440 */
    gap: 0;
  }

  .section-amen-callout__ribbon h2 {
    line-height: 1.25em; /* 75 */
    white-space: nowrap;
  }

  /* Notes area: from the ribbon's bottom (y95) to the underline's bottom
     (y267.1) = 172.1 */
  .section-amen-callout__notes {
    display: block;
    height: 2.8683em;
  }

  /* Box w622.4 centred 947.8 from the ribbon's left (74.4%); rotated box
     top = bbox top 137 + (69.28 - 53) / 2 = 145.1 below the ribbon top,
     minus the ribbon (95) = 50.1 */
  .section-amen-callout__note {
    position: absolute;
    left: 49.97%; /* 74.4% - 48.86% / 2 */
    top: 1.035em; /* 50.1 + 12: Chrome sets Rock Salt 12 higher in its line box than Figma — matched to the render */
    width: 48.86%; /* 622.44 / 1274 */
    font-size: 0.8333em; /* 50 */
    line-height: 0.92; /* 46 / 50 */
  }

  /* line-6: 219.67 x 20.36 at ribbon x893.76 / y243.87 (bbox 976.53 / 1633
     plus the rotation inset), minus the ribbon (95) = 148.87 */
  .section-amen-callout__line {
    position: absolute;
    left: 70.15%; /* 893.76 / 1274 */
    top: 2.4812em;
    width: 17.24%; /* 219.67 / 1274 */
    height: 0.3393em; /* 20.36 */
  }

  /* Icon-Arrow-Up: Figma box 67x63 at ribbon x987 (77.47%). The export is
     the upright 22x70 arrow; rotated 42deg and mirrored (head up and right,
     pointing at "managed manually") it fills that box. Vertical position
     matched to Figma's render, which draws it ~50px above the layer box. */
  .section-amen-callout__arrow {
    position: absolute;
    display: block;
    left: 77.47%;
    top: -0.15em;
    width: 1.1167em; /* 67 */
    height: 1.05em; /* 63 */
  }

  .section-amen-callout__arrow img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0.3667em; /* 22 */
    height: 1.1667em; /* 70 */
    max-width: none;
    transform: translate(-50%, -50%) rotate(42deg) scaleY(-1);
  }
}
