/* Decorative section numerals (.snum) — alignment pass, 11 Nov 2026.
   Rule: vertically centre each outlined numeral on its .sec-head typography
   block (eyebrow + heading + paragraph). Sit in the right gutter just after
   the text column; scale the font so the glyph's right edge stays inside
   the section wrap (container) padding edge. Never overlap heading or
   paragraph text on desktop. Keep overflow visible so the glyph is not
   clipped at the top of the section. Below 960px the numeral stays a
   faint background mark (z-index: -1), still vertically centred, and
   must not sit in front of the type.

   The Elementor HTML widget around the eyebrow (.mn-eb) is position:relative
   and only as tall as the eyebrow, so un-position it and let .sec-head
   (already position:relative) be the containing block. */

.mn-ugc .sec,
.mn-ugc .sec-head{
  overflow: visible;
}

/* Let .snum position against the whole typography block, not the eyebrow widget. */
.mn-ugc .sec-head > .elementor-element,
.mn-ugc .sec-head > .elementor-widget,
.mn-ugc .sec-head .mn-eb{
  position: static !important;
}

.mn-ugc .sec-head .snum{
  position: absolute;
  top: 50%;
  left: auto;
  right: -6px;
  transform: translateY(-50%);
  font-size: clamp(80px, 22vw, 140px);
  line-height: .8;
  z-index: -1;
  pointer-events: none;
  user-select: none;
  margin: 0;
}

@media (min-width: 960px){
  .mn-ugc .sec-head .snum{
    top: 50%;
    left: auto;
    /* Right edge = section wrap content edge (same as the grid/cards below). */
    right: calc(720px - min(var(--max, 1200px), 100vw - 2 * var(--pad, 28px)));
    transform: translateY(-50%);
    /* 1.72 ≈ width of "02" in Orbitron 700 at 1em; 16px minimum gap from the text column. */
    font-size: clamp(92px, calc((min(var(--max, 1200px), 100vw - 2 * var(--pad, 28px)) - 720px - 16px) / 1.72), 200px);
    z-index: 0;
  }
  /* FAQ left column has no right gutter — keep the numeral hidden there. */
  .mn-ugc .faq-wrap .snum{
    display: none;
  }
}
