/* ==========================================================================
   THE DESIGNERS HUB — Events
   Source of truth: Figma frame "events" #2129:3524 (1440 x 2291).
   Section tops (frame y): hero 0 | dark band 487 | results 1338 | cta 1776.
   The three client cards are the same component Home uses (#2268:982).
   ========================================================================== */

.ev-hero { position: relative; overflow: hidden; }
.ev-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ev-hero__card {
  position: relative;
  z-index: 2;
  background: var(--white);
  border: 7px solid var(--color-surface-dark);
  padding: var(--space-32) var(--space-24);
}
.ev-hero__title { color: var(--ink); }
.ev-hero__lead  { margin-top: var(--space-16); }
.ev-hero__lead + .ev-hero__lead { margin-top: var(--space-8); }

.ev-band { position: relative; background: var(--color-surface-dark); color: var(--bg); padding-block: var(--space-48); }
.ev-band__title { color: var(--bg); }
.ev-band__lead  { margin-top: var(--space-16); color: var(--bg); }
.ev-band__lead + .ev-band__lead { margin-top: var(--space-8); }

/* ---- "No upcoming events" empty state (Figma #2129:3602) -----------------
   Toggled by "ev-empty" on <main>: the heading, leads, cards and both
   "Learn more" links are hidden and a single centred line takes their place
   in a shorter dark band. Each breakpoint shrinks the band and (mobile/tablet
   only, where sections are absolutely positioned) shifts the sections below. */
.ev-band__empty { display: none; }
/* .page-events prefix (0,3,0) so these beat the tablet/mobile resets that
   scope .ev-cards etc. with .page-events (0,2,0). */
.page-events .ev-empty .ev-band__title,
.page-events .ev-empty .ev-band__lead,
.page-events .ev-empty .ev-cards,
.page-events .ev-empty .ev-band__cta { display: none; }
.ev-empty .ev-band__empty {
  display: flex;
  position: absolute;
  inset: 0;
  z-index: 1;
  align-items: center;
  justify-content: center;
  margin: 0;
  text-align: center;
  text-transform: uppercase;
  font-weight: var(--fw-semi);
  color: var(--bg);
}

.ev-cards { display: grid; gap: var(--space-32); margin-top: var(--space-48); }

.ev-card { position: relative; background: var(--white); overflow: hidden; }
.ev-card__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ev-card__photo { position: absolute; object-fit: cover; }
.ev-card__title {
  position: relative;
  z-index: 2;
  color: var(--ink);
  font-weight: var(--fw-semi);
  font-size: 26px;
  line-height: 1.19;
  text-transform: uppercase;
}
.ev-card__desc {
  position: relative;
  z-index: 2;
  margin-top: var(--space-16);
  color: var(--ink);
  font-weight: var(--fw-reg);
  font-size: 17px;
  line-height: 1.24;
}
.ev-card__tags { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: var(--space-8); margin-top: var(--space-24); }
.ev-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 29.82px;
  padding: 7.16px 17.89px 5.96px 19.09px;
  border: 1.19px solid var(--color-surface-dark);
  color: var(--ink);
  font-size: var(--fs-eyebrow);
  font-weight: var(--fw-reg);
  white-space: nowrap;
}
.ev-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 40px;
  padding: 11px 44px 12px;
  background: var(--gold);
  color: var(--white);
  font-weight: var(--fw-bold);
  font-size: var(--fs-eyebrow);
  white-space: nowrap;
  transition: background-color var(--dur) var(--ease);
}
.ev-card__cta:hover { background: var(--gold-deep); }

.ev-results { padding-block: var(--space-64); }
.ev-results__title { text-align: center; }
.ev-results__grid { display: grid; gap: var(--space-32); margin-top: var(--space-48); }

.ev-cta { position: relative; padding-block: var(--space-48); }
.ev-cta__outline { display: none; }
.ev-cta__panel {
  position: relative;
  z-index: 2;
  background: var(--color-surface-dark);
  color: var(--bg);
  text-align: center;
  padding: var(--space-48) var(--space-24);
}
.ev-cta__title { color: var(--bg); }
.ev-cta__text  { margin-top: var(--space-16); font-weight: var(--fw-light); font-size: var(--fs-body); color: var(--white); }
.ev-cta__btn   { margin-top: var(--space-24); }

@media (min-width: 768px) {
  .ev-cards { grid-template-columns: repeat(2, 1fr); }
  .ev-results__grid { grid-template-columns: repeat(3, 1fr); }
}

/* ==========================================================================
   DESKTOP — literal Figma geometry
   ========================================================================== */
@media (min-width: 1200px) {

  .ev-hero__lead,
  .ev-band__lead,
  .ev-band__title,
  .ev-results__title,
  .ev-cta__title,
  .ev-cta__text,
  .ev-tag { white-space: nowrap; }

  /* ---- 1. HERO : bg -9,-207 1460x694 | card 306,144 829x264 (7px border) ---- */
  .ev-hero { height: 487px; }
  .ev-hero__bg { height: 694px; top: -207px; bottom: auto; }
  .ev-hero__card {
    position: absolute;
    left: 306px;
    top: 144px;
    width: 829px;
    height: 264px;
    padding: 50px 40px 0 49px; /* text lands on x:362, y:201 */
  }
  .ev-hero__title { width: 716px; white-space: nowrap; }
  .ev-hero__lead  { width: 707px; line-height: 22px; white-space: normal; }
  .ev-hero__lead--2 { width: 702px; line-height: 22px; }

  /* ---- 2. DARK BAND : -21,487 1472x769 ---- */
  .ev-band { height: 769px; padding: 0; margin-left: -21px; width: 1472px; }
  .ev-band__title { position: absolute; left: 101px; top: 72px;  width: 314px; margin: 0; }
  .ev-band__lead--1 { position: absolute; left: 100px; top: 127px; width: 581px; margin: 0; font-size: var(--fs-lead); }
  .ev-band__lead--2 { position: absolute; left: 100px; top: 153px; width: 656px; margin: 0; font-size: var(--fs-lead); }

  .ev-cards { display: block; margin: 0; }
  .ev-card { position: absolute; width: 544px; height: 366.25px; }
  .ev-card--1 { left: 124px; top: 223.38px; }  /* Figma x:103 y:710.38, band at -21 */
  .ev-card--2 { left: 814px; top: 224px; }
  /* max-width: none is required, not cosmetic. base.css clamps every image
     to 100% of its containing block, which here is the 544-wide card — so
     the declared 560.7 rendered at 544 and the photo was squeezed rather
     than clipped, re-framing it against the file. */
  .ev-card__bg { inset: auto; left: -8.35px; top: -7.16px; width: 560.7px; height: 373.4px; max-width: none; }
  .ev-card--1 .ev-card__photo { left: 320px; top: 99.62px; width: 186px; height: 224px; }
  .ev-card--2 .ev-card__photo { left: 323px; top: 106px;   width: 181px; height: 217px; }
  .ev-card--1 .ev-card__title { position: absolute; left: 28.63px; top: 28.63px; width: 385.33px; margin: 0; }
  .ev-card--2 .ev-card__title { position: absolute; left: 29px;    top: 29px;    width: 284px;    margin: 0; }
  .ev-card--1 .ev-card__desc  { position: absolute; left: 28.63px; top: 134.81px; width: 283.93px; margin: 0; }
  .ev-card--2 .ev-card__desc  { position: absolute; left: 28.63px; top: 99px;     width: 283.93px; margin: 0; }
  .ev-card__tags { display: block; margin: 0; }
  .ev-card .ev-tag { position: absolute; }
  .ev-card--1 .ev-tag--a { left: 28.63px;  top: 295.25px; }
  .ev-card--1 .ev-tag--b { left: 178.95px; top: 295.25px; }
  .ev-card--2 .ev-tag--a { left: 28.63px;  top: 298px; }
  .ev-card--2 .ev-tag--b { left: 178.95px; top: 298px; }
  .ev-card--2 .ev-tag--c { left: 28.63px;  top: 260px; }

  /* LEARN MORE sit on the band, below each card (Figma y:1100.62) */
  .ev-band__cta { position: absolute; top: 613.62px; }
  .ev-band__cta--1 { left: 123px; }
  .ev-band__cta--2 { left: 814px; }

  /* Hero + band headings are UPPER in Figma (h1 Bold 36, band Semi Bold 32);
     desktop was rendering them mixed-case. */
  .ev-hero__title { text-transform: uppercase; font-weight: var(--fw-bold); }
  .ev-band__title { text-transform: uppercase; font-weight: var(--fw-semi); font-size: 32px; }

  /* ---- 3. RESULTS : H2 y:1338, cards y:1441 ---- */
  .ev-results { padding-block: 0; margin-top: 82px; }
  .ev-results__title { margin: 0 0 0 487px; width: 464px; }
  .ev-results__grid {
    display: grid;
    grid-template-columns: repeat(3, 389px);
    gap: 45px;
    margin: 64px 0 0 91px;
  }
  .ev-results__grid .case { width: 389px; height: 271px; padding: 28px 23px 0; }

  /* ---- 4. CTA : outline 20,1776 1400x371 | panel 82,1817 1280x283 ---- */
  .ev-cta { height: 371px; margin-top: 64px; margin-bottom: 191px; padding-block: 0; }
  .ev-cta__outline {
    display: block;
    position: absolute;
    left: 20px; top: 0;
    width: 1400px; height: 371px;
    border: var(--stroke-1) solid var(--color-surface-dark);
  }
  .ev-cta__panel { position: absolute; left: 82px; top: 41px; width: 1280px; height: 283px; padding: 0; text-align: left; }
  .ev-cta__title { position: absolute; left: 309px; top: 41px; width: 659px; margin: 0; text-align: center; }
  .ev-cta__text--1 { position: absolute; left: 208px; top: 96px;  width: 860px; margin: 0; text-align: center; }
  .ev-cta__text--2 { position: absolute; left: 367px; top: 121px; width: 543px; margin: 0; text-align: center; }
  .ev-cta__btn   { position: absolute; left: 519px; top: 188px; margin: 0; }

  /* ---- empty state — Figma #2129:3602: a 409-tall dark band with the line
     centred (Inter Semi Bold 32, UPPER). Desktop stacks in normal flow, so
     shrinking the band lifts Results + CTA automatically; no offsets needed. */
  .ev-empty .ev-band { height: 409px; margin-left: 0; width: 1440px; }
  .ev-empty .ev-band__empty { font-size: 32px; line-height: 39px; white-space: nowrap; }
}

/* ==========================================================================
   MOBILE — literal Figma geometry, 390 canvas
   Source of truth: frame "events mob" #2129:4789 (390 x 2028).

   Appended last so it wins on source order over the min-width blocks above.

   Origin as everywhere else in the mobile phase: the frame draws no
   header/footer, its y:0 is the page top, the header is 81, so every
   coordinate is THE FIGMA VALUE MINUS 81. main is 2028 - 81 = 1947, and the
   offset is noted per section.

   Stroke alignment was read off the frame render, per box, not assumed.
   Every bordered box on this frame is INSIDE-aligned, so the widths and
   heights below are the literal Figma numbers:
     hero plate  #2129:4793  4px  -> border rows land at 140-143 / 352-355
     tag pill    #2129:4827  1px  -> border rows at 588 and 608 of a 21 box
     CTA outline #2129:4810  1px  -> border rows at 1484 and 1740
   The dark band #2129:4790 carries a 15px stroke in its own fill colour, so
   it is drawn as a plain background: the render puts its edges at 413 and
   1048, exactly the declared box.

   NOT PORTED — the two decorative ring overlays #2129:4799 (white 9%) and
   #2268:1489 (grey 22%), both 0.36px stroke. For these two nodes ALONE the
   API's declared box and Figma's own node render disagree — 856.93x579.58 vs
   807x447, and 1452.44x1272.12 vs 1219x833 — so neither their scale nor
   their origin can be read from the file. Every other node on this frame
   renders at exactly its declared size. Rather than place them at a
   plausible-looking offset they are left out and FLAGGED; the SVGs are
   exported and waiting at assets/img/vec/m-ev-ring-{dark,light}.svg.

   Reused rather than duplicated: the case-study card. home.css already
   carries the whole 333x271 mobile `.case` block from #2129:3893 with bare
   selectors, and events.html loads home.css, so only the three wrapper
   rules below are needed here. The nav arrows reuse `.results__nav` for the
   same reason — the geometry is identical on both frames (155 / 202.4, and
   336 below the section title).
   ========================================================================== */
@media (max-width: 767px) {

  .page-events main {
    position: relative;
    width: var(--frame-mobile);
    max-width: none;
    /* Was a fixed 1708px with every section absolutely pinned — which overlaps
       once RU/AR text (longer than EN) wraps to more lines. Now the sections
       flow vertically (below), so the page grows to fit any language. */
    height: auto;
    margin-inline: 0;
  }

  /* sections are placed against main; .container must not re-pad them */
  .page-events .container {
    width: var(--frame-mobile);
    max-width: none;
    padding-inline: 0;
    margin-inline: 0;
  }

  /* width is load-bearing: every child is absolute, so without it a section
     shrink-wraps to 0 and clips itself away. Every section on this frame has
     something that bleeds past 390, so all four clip. */
  .page-events main > section {
    position: relative;         /* flow, not absolute — sections stack + grow */
    left: 0;
    width: var(--frame-mobile);
    padding: 0;
    overflow: hidden;
  }

  /* the min-width blocks clamp these to their box */
  .page-events .ev img,
  .page-events main img { max-width: none; }

  /* ======================================================================
     1. HERO — photo #2129:4791 at Figma 81 -> main 0.
     Local coordinates are the Figma value minus 81.
     ====================================================================== */
  .ev-hero { top: 0; min-height: 335px; height: auto; }

  .ev-hero__bg {
    position: absolute;
    inset: auto;
    left: -43px;
    top: 0;
    width: 526px;
    height: 335px;
    object-fit: fill;
  }

  /* #2129:4793 — 461x216, 4px INSIDE stroke, bleeding both edges */
  /* The card and its text now FLOW (were absolutely pinned). The 39px/26px
     child offsets become the card's padding, and the content stacks with
     margins so the title can never run under the leads — it just makes the
     card (and the hero) taller, which is what longer languages need. */
  .ev-hero__card {
    position: relative;
    left: auto;
    top: auto;
    width: 461px;
    min-height: 216px;
    height: auto;
    box-sizing: border-box;
    margin: 59px 0 0 -35px;      /* sit over the photo; bleed the left edge */
    padding: 26px 39px 22px;
    background: var(--bg);
    border: 4px solid var(--color-surface-dark);
    text-align: left;
  }

  .ev-hero__title {
    position: static;
    width: auto;
    max-width: none;
    margin: 0;
    font-size: 24px;
    font-weight: var(--fw-bold);
    line-height: 1.06;
    text-transform: uppercase;
    color: var(--color-surface-dark);
  }

  .ev-hero__lead,
  .ev-hero__lead + .ev-hero__lead {
    position: static;
    width: auto;
    margin: 0;
    font-size: 15px;
    font-weight: var(--fw-reg);
    line-height: 18px;
    color: var(--color-surface-dark);
  }

  .ev-hero__lead   { margin-top: 14px; }
  .ev-hero__lead--2 { margin-top: 8px; }

  /* ======================================================================
     2. UPCOMING EVENTS BAND — #2129:4790 at Figma 413 -> main 332.
     Local coordinates are the Figma value minus 413.
     ====================================================================== */
  .ev-band {
    top: 0;
    margin-top: -3px;           /* 3px stroke overlap with the hero, as in Figma */
    height: 635px;
    background: var(--color-surface-dark);
  }

  .ev-band__title {
    position: absolute;
    left: 8px;
    top: 32px;
    width: 196px;
    margin: 0;
    font-size: 20px;
    font-weight: var(--fw-med);
    line-height: 1.06;
    text-transform: uppercase;
    color: var(--white);
    white-space: nowrap;
  }

  .ev-band__lead,
  .ev-band__lead + .ev-band__lead {
    position: absolute;
    left: 8px;
    margin: 0;
    font-size: 14px;
    font-weight: var(--fw-reg);
    line-height: 17px;
    color: var(--bg);
  }

  .ev-band__lead--1 { top: 60.5px; width: 346px; }
  .ev-band__lead--2 { top: 97.5px; width: 338px; }

  /* --- the two event cards ------------------------------------------- */
  /* .ev-cards is a wrapper the frame has no equivalent for; neutralised so
     the cards position against the band itself */
  .ev-cards { position: static; display: block; margin: 0; }

  .ev-card {
    position: absolute;
    left: 8px;
    width: 374px;
    height: 199px;
    padding: 0;
    background: var(--white);
    overflow: hidden;            /* the frame clips: the photo starts at 8, not -15 */
  }

  .ev-card--1 { top: 164px; }
  .ev-card--2 { top: 387px; }

  .ev-card__bg {
    position: absolute;
    inset: auto;
    left: -8px;
    top: 0;
    width: 383px;
    height: 217px;
    object-fit: fill;
  }

  .page-events .ev-card__photo {
    position: absolute;
    left: -23px;
    top: 0;
    width: 138px;
    height: 199px;
    object-fit: fill;
  }

  .ev-card__title {
    position: absolute;
    left: 122px;
    top: 40px;
    margin: 0;
    font-size: 14px;
    font-weight: var(--fw-semi);
    line-height: 17px;
    text-transform: uppercase;
    color: var(--color-surface-dark);
  }

  .ev-card--1 .ev-card__title { width: 236px; }
  .ev-card--2 .ev-card__title { width: 152px; }

  .ev-card__desc {
    position: absolute;
    left: 122px;
    width: 212px;
    margin: 0;
    font-size: 12px;
    font-weight: var(--fw-reg);
    line-height: 15px;
    color: var(--color-surface-dark);
  }

  .ev-card--1 .ev-card__desc { top: 97px; }
  .ev-card--2 .ev-card__desc { top: 82px; }

  .ev-card__tags {
    position: absolute;
    left: 122px;
    top: 11px;
    z-index: 2;
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    margin: 0;
  }

  /* The pills are hug-width in Figma, so their widths are whatever the file's
     own text measurement produced — and every pill after the first is placed
     by that width. Pinned to the widths the frame render draws (the gold
     border runs measure 80 / 49 / 81 px) so the row cannot drift on a
     browser that measures the same string 1px wider. */
  .ev-tag {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    height: 21px;
    min-height: 0;
    margin: 0;
    padding: 0;
    background: none;
    border: var(--stroke-1) solid var(--gold);
    border-radius: 0;
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: var(--fw-reg);
    line-height: 12px;
    letter-spacing: normal;
    text-transform: none;
    white-space: nowrap;
    color: var(--color-surface-dark);
  }

  .ev-tag--a { width: 80px; }
  .ev-tag--b { width: 49px; }
  .ev-tag--c { width: 81px; }

  /* #2129:4831 / 4866 — the gold "learn more" bar. In Figma it is a CHILD of
     the card and therefore clipped by it: declared 260 wide from x:123, the
     render stops at the card's own right edge, 382. It is a sibling in this
     DOM, so the clipped width is written directly. */
  .page-events .ev-band__cta {
    position: absolute;
    left: 123px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 259px;
    height: 30px;
    min-height: 0;
    max-width: none;
    margin: 0;
    padding: 0;
    background: var(--gold);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: var(--fw-semi);
    line-height: 13px;
    letter-spacing: normal;
    text-transform: lowercase;   /* #2129:4832 carries textCase LOWER */
  }

  .ev-band__cta--1 { top: 333px; }
  .ev-band__cta--2 { top: 556px; }

  /* ======================================================================
     3. RESULTS — title #2129:4798 at Figma 1096 -> main 1015.
     Local coordinates are the Figma value minus 1096.
     One card plus a prev/next pair, exactly as the home frame; the three
     cards are stacked and stepped through by assets/js/cases.js.
     ====================================================================== */
  .ev-results { top: 0; margin: 48px 0 0; height: 367.6px; padding-block: 0; }

  .ev-results__title {
    position: absolute;
    left: 50px;
    top: 0;
    width: 290px;
    margin: 0;
    font-size: 20px;
    font-weight: var(--fw-semi);
    line-height: 1.06;
    text-align: left;
    white-space: nowrap;
  }

  .ev-results__grid {
    display: block;
    position: absolute;
    left: 29px;
    top: 45px;
    width: 333px;
    height: 271px;
    margin: 0;
  }

  /* ======================================================================
     4. FINAL CTA — outline #2129:4810 at Figma 1484 -> main 1403.
     Local coordinates are the Figma value minus 1484.
     ====================================================================== */
  .ev-cta { top: 0; margin: 20px 0 48px; height: 257px; padding-block: 0; }

  .ev-cta__outline {
    display: block;
    position: absolute;
    left: -10px;
    top: 0;
    width: 425px;
    height: 257px;
    background: var(--bg);
    border: var(--stroke-1) solid var(--color-surface-dark);
  }

  /* Contents FLOW (were pinned at fixed tops, which overran each other once RU/
     AR text wrapped to more lines). A centred flex column stacks title → texts →
     button with fixed gaps, so they can never overlap; it fits the 228 panel and
     this is the last section, so any growth is safe. */
  .ev-cta__panel {
    position: absolute;
    left: -2px;
    top: 13px;
    width: 408px;
    min-height: 228px;
    height: auto;
    margin: 0;
    padding: 33px 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--color-surface-dark);
    text-align: center;
  }

  /* offsets are from the panel, which starts at x:-2 */
  /* nowrap: Figma draws this on one line in a 371 box, the browser measures
     the same string at 372. Held rather than widened so the centred box
     keeps Figma's own x. */
  .ev-cta__title {
    position: static;
    width: 371px;
    max-width: none;
    margin: 0;
    font-size: 18px;
    font-weight: var(--fw-med);
    line-height: 1.06;
    text-transform: uppercase;
    text-align: center;
    white-space: nowrap;
    color: var(--white);
  }

  .ev-cta__text {
    position: static;
    margin: 0;
    font-size: 13px;
    font-weight: var(--fw-light);
    line-height: 16px;
    text-align: center;
    color: var(--white);
  }

  .ev-cta__text--1 { width: 390px; margin-top: 8px; }
  .ev-cta__text--2 { width: 352px; margin-top: 12px; }

  .ev-cta__btn {
    position: static;
    display: flex;
    width: 373px;
    height: 48px;
    min-height: 0;
    max-width: none;
    margin: 16px 0 0;
    padding: 0;
    font-family: var(--font-button);
    font-size: 14px;
    font-weight: var(--fw-bold);
    letter-spacing: normal;
    text-transform: none;
  }

  /* ---- empty state — no Figma frame at 390, so the desktop treatment is
     mirrored: a 200-tall dark band with the line centred, and the two
     absolutely-positioned sections below lifted by the same amount (the
     band→results gap of 48 and results→cta gap of 20 are preserved). */
  .ev-empty .ev-band     { height: 200px; }
  /* Sections now FLOW (see the section rules above), so the empty state just
     needs the shorter band height — results/cta follow in flow and main grows
     to contain them. The old absolute top:580/968 + fixed main height:1273px
     turned into offsets under position:relative, which pushed the CTA + footer
     below the scrollable area (page could not scroll). */
  .ev-empty .ev-results  { top: 0; }
  .ev-empty .ev-cta      { top: 0; }
  .ev-empty .ev-band__empty { font-size: 20px; line-height: 24px; }
}

/* ==========================================================================
   TABLET — literal Figma geometry, 768 canvas
   Source of truth: frame "events tablet" #2129:6928 (768 x 2537).

   The frame draws no header and no footer, so its y:0 is the top of the page.
   The tablet header is 81 tall, so `main` = 2537 - 81 = **2456** and every
   coordinate is THE FIGMA VALUE MINUS 81.

   STROKE ALIGNMENT: batched over 6930 / 6938 / 6946 / 6960 / 6962 — every one
   renders at its declared size, so EVERY bordered box on this frame is INSIDE.

   THE RESULTS SECTION IS THE HOME TABLET BLOCK, UNCHANGED. The three case
   cards are the same 333x271 component at the same offsets home uses
   (218,63 / 41,354 / 394,354 against the section top) and the title is the
   same 377x31 at x:196 — so `home.css`, which events.html already loads,
   supplies all of it and nothing is restated here. Same reuse the 390 build
   found.

   NOT PORTED: #2268:1426, the decorative ring — declared 1452.44x1272.12,
   which is the same node and the same declared-vs-drawn mismatch as the home
   results ring and the events mobile ring. Flagged, as on those pages.
   ========================================================================== */
@media (min-width: 768px) and (max-width: 1199px) {

  .page-events main {
    position: relative;
    width: var(--frame-tablet);
    max-width: none;
    height: 2394px;              /* frame 2537 - 81 header */
    margin-inline: auto;
    padding: 0;
  }

  .page-events main > section {
    position: absolute;
    left: 0;
    width: var(--frame-tablet);
    margin: 0;
    padding: 0;
  }

  .page-events .container,
  .page-events .ev-cards,
  .page-events .ev-results__grid {
    position: static;
    display: block;
    width: auto;
    max-width: none;
    height: auto;
    margin: 0;
    padding: 0;
    overflow: visible;
    gap: 0;
  }

  /* ======================================================================
     1. HERO — photo #2129:6929 at Figma 63, i.e. 18px ABOVE main's top.
     It is drawn from -18 and the opaque header covers that strip, which is
     what the frame composes.
     ====================================================================== */
  .ev-hero { top: 0; height: 401px; overflow: visible; }

  .ev-hero__bg {
    position: absolute;
    inset: auto;
    left: -1px;
    top: -18px;
    width: 987px;
    height: 419px;
    max-width: none;
    object-fit: fill;
  }

  /* #2129:6930 — 690x200 with a 4px INSIDE stroke */
  .ev-hero__card {
    position: absolute;
    left: 39px;
    top: 103px;
    width: 690px;
    height: 200px;
    padding: 0;
    background: var(--bg);
    border: 4px solid var(--color-surface-dark);
  }

  /* card-relative, from the padding box 4px inside the border */
  .ev-hero__title {
    position: absolute;
    left: 23px;
    top: 32px;
    width: 637px;
    max-width: none;
    margin: 0;
    font-size: 32px;
    font-weight: var(--fw-bold);
    line-height: 34px;           /* 32 * 1.06 = 33.92 -> 34 */
    text-transform: uppercase;
    color: var(--color-surface-dark);
  }

  .ev-hero__lead {
    position: absolute;
    left: 23px;
    top: 74px;
    width: 637px;
    max-width: none;
    margin: 0;
    font-size: 16px;
    font-weight: var(--fw-reg);
    line-height: 19px;           /* box 38 = 2 lines */
    color: var(--color-surface-dark);
  }

  .ev-hero__lead--2 { top: 118px; width: 624px; }

  /* ======================================================================
     2. UPCOMING EVENTS — dark band #2129:6938 at Figma 479 -> main 398.
     The band is 799 wide from x:-3, so it bleeds both edges.
     ====================================================================== */
  .ev-band { top: 398px; height: 901px; padding: 0; }

  .page-events .ev-band::before {
    content: "";
    position: absolute;
    left: -3px;
    top: 0;
    width: 799px;
    height: 901px;
    background: var(--color-surface-dark);
  }

  .ev-band__title {
    position: absolute;
    left: 40px;
    top: 48px;
    width: 254px;
    max-width: none;
    margin: 0;
    font-size: 26px;
    font-weight: var(--fw-med);
    line-height: 31px;
    text-transform: uppercase;
    color: var(--bg);
    white-space: nowrap;
  }

  .ev-band__lead {
    position: absolute;
    left: 40px;
    max-width: none;
    margin: 0;
    font-size: 16px;
    font-weight: var(--fw-reg);
    line-height: 19px;
    color: var(--bg);
    white-space: nowrap;
  }

  .ev-band__lead--1 { top: 87px;  width: 525px; }
  .ev-band__lead--2 { top: 108px; width: 583px; }

  /* the two event cards — 688x248 white, and the background image bleeds
     8px left and runs 337 tall against the card's 248, so the card clips */
  .ev-card {
    position: absolute;
    left: 40px;
    width: 688px;
    height: 248px;
    margin: 0;
    padding: 0;
    background: var(--white);
    overflow: hidden;
  }

  .ev-card--1 { top: 172px; }
  .ev-card--2 { top: 528px; }

  .page-events .ev-card__bg {
    position: absolute;
    inset: auto;
    left: -8px;
    top: 0;
    width: 696px;
    height: 337px;
    max-width: none;
    object-fit: fill;
  }

  .page-events .ev-card__photo {
    position: absolute;
    left: 17px;
    top: 23px;
    width: 168.27px;
    height: 202.38px;
    max-width: none;
    object-fit: fill;
  }

  .ev-card__title {
    position: absolute;
    left: 207px;
    width: 445px;
    margin: 0;
    font-size: 22px;
    font-weight: var(--fw-semi);
    line-height: 27px;
    text-transform: uppercase;
    color: var(--color-surface-dark);
  }

  .ev-card--1 .ev-card__title { top: 21px; }   /* 2 lines */
  .ev-card--2 .ev-card__title { top: 22px; }   /* 1 line  */

  .ev-card__desc {
    position: absolute;
    left: 207px;
    margin: 0;
    font-size: 14px;
    font-weight: var(--fw-reg);
    line-height: 17px;
    color: var(--color-surface-dark);
  }

  .ev-card--1 .ev-card__desc { top: 83px; width: 367px; }   /* 2 lines */
  .ev-card--2 .ev-card__desc { top: 57px; width: 428px; }   /* 1 line  */

  /* HUG-WIDTH PILLS DRIFT. The row is a hug-width flex row in the file, so
     every pill after the first is placed by the measured width of the one
     before it. The widths are pinned to what the frame renders (a 123, b 83,
     c 124) so a single browser overshoot cannot cascade along the row — the
     same treatment the 390 build needed. With a 14px gap these reproduce
     Figma exactly: 208+123+14 = 345 on card 1, 207+124+14 = 345 and
     345+123+14 = 482 on card 2. */
  .ev-card__tags {
    position: absolute;
    top: 195px;
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0;
    padding: 0;
  }

  .ev-card--1 .ev-card__tags { left: 208px; }
  .ev-card--2 .ev-card__tags { left: 207px; }

  .ev-tag {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    padding: 0;
    background: none;
    border: 1.193px solid var(--color-surface-dark);
    font-size: 14px;
    font-weight: var(--fw-reg);
    line-height: 17px;
    color: var(--color-surface-dark);
    white-space: nowrap;
  }

  .ev-tag--a { width: 123px; }
  .ev-tag--b { width: 83px;  }
  .ev-tag--c { width: 124px; }

  /* #2129:6976 / 6978 — 166x36 gold, Inter Bold 12 UPPER */
  .ev-band__cta {
    position: absolute;
    left: 40px;
    width: 166px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    margin: 0;
    padding: 0;
    background: var(--gold);
    border: 0;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: var(--fw-bold);
    line-height: 15px;
    letter-spacing: normal;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--white);
  }

  .ev-band__cta--1 { top: 444px; }
  .ev-band__cta--2 { top: 800px; }

  /* SINGLE poster event — the whole page reflows (see the single block at the
     end of this file). Tablet sections are absolute by default, so switch them
     to normal flow here and let the band grow to the poster. */
  .page-events main:has(.ev-band--single) { height: auto; }
  .page-events main:has(.ev-band--single) > section {
    position: relative;
    top: auto;
    left: auto;
    margin: 0 auto;
  }

  /* ======================================================================
     3. RESULTS — title #2268:1427 at Figma 1419 -> main 1338.

     Everything inside this section is home.css's tablet block: the title at
     196,0 377x31 and the three cards at 218,63 / 41,354 / 394,354 are the
     same values, so only the section box is set here.
     ====================================================================== */
  .ev-results { top: 1338px; height: 625px; padding: 0; }

  /* ======================================================================
     4. FINAL CTA — outline #2129:6946 at Figma 2082 -> main 2001
     ====================================================================== */
  .ev-cta { top: 2001px; height: 345px; padding: 0; }

  .ev-cta__outline {
    display: block;
    position: absolute;
    left: 16px;
    top: 0;
    width: 735px;
    height: 345px;
    background: var(--bg);
    border: var(--stroke-1) solid var(--color-surface-dark);
  }

  .ev-cta__panel {
    position: absolute;
    left: 39px;
    top: 26px;
    width: 689px;
    height: 292px;
    margin: 0;
    padding: 0;
    background: var(--color-surface-dark);
    text-align: left;
  }

  /* panel-relative: the Figma value minus the panel origin (39, 2108) */
  .ev-cta__title {
    position: absolute;
    left: 77px;
    top: 48px;
    width: 536px;
    max-width: none;
    margin: 0;
    font-size: 26px;
    font-weight: var(--fw-med);
    line-height: 31px;
    text-align: center;
    text-transform: uppercase;
    color: var(--bg);
  }

  .ev-cta__text {
    position: absolute;
    margin: 0;
    font-size: 18px;
    font-weight: var(--fw-light);
    line-height: 22px;
    text-align: center;
    color: var(--white);
  }

  .ev-cta__text--1 { left: 92px; top: 87px;  width: 507px; }  /* 2 lines */
  .ev-cta__text--2 { left: 40px; top: 139px; width: 611px; }  /* 1 line  */

  .ev-cta__btn {
    position: absolute;
    left: 225px;
    top: 193px;
    width: 239px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    margin: 0;
    padding: 0;
    font-family: var(--font-button);
    font-size: 14px;
    font-weight: var(--fw-bold);
    line-height: 19px;
    letter-spacing: normal;
    text-transform: uppercase;
  }

  /* --- corrections found by measuring ---------------------------------- */

  /* An absolutely positioned box still honours margin, and the base block
     leaves an 8px top margin on each second lead. Restated at the adjacent-
     sibling specificity that set it. Third page this has cost time on. */
  .page-events .ev-hero__lead + .ev-hero__lead,
  .page-events .ev-band__lead + .ev-band__lead { margin: 0; }

  /* Chrome measures both of these wider than Figma's own box — 437.15 in 428
     and 548.26 in 536 — and spilled a second line where the file draws one.
     The boxes have no border, so holding the line is what matters. */
  .page-events .ev-card--2 .ev-card__desc,
  .page-events .ev-cta__title { white-space: nowrap; }

  /* HOME.CSS SUPPLIES THE CASE CARD BUT NOT ITS PLACEMENT. Its tablet block
     sizes `.case` and positions every internal with BARE class selectors, so
     all of that reaches this page unchanged — but the grid positions and the
     section title are scoped to `.results__grid` / `.results__title`, and
     this page uses the `ev-` prefixed wrappers. Only those are restated.
     Verified: `.case` arrives here already absolute at 333x271 with its brand
     at top 30, straight from home.css. */
  .page-events .ev-results__title {
    position: absolute;
    left: 196px;
    top: 0;
    width: 377px;
    margin: 0;
    font-size: 26px;
    font-weight: var(--fw-semi);
    line-height: 31px;
    text-align: left;
    text-transform: uppercase;
    color: var(--color-surface-dark);
    white-space: nowrap;
  }

  .page-events .ev-results__grid .case:nth-child(1) { left: 218px; top: 63px;  }
  .page-events .ev-results__grid .case:nth-child(2) { left: 41px;  top: 354px; }
  .page-events .ev-results__grid .case:nth-child(3) { left: 394px; top: 354px; }

  /* ---- empty state — mirrors the desktop treatment: a 300-tall dark band
     (its background is drawn by ::before, so both are shrunk) with the line
     centred, and the two absolutely-positioned sections below lifted (the
     band→results gap 39 and results→cta gap 38 are preserved). */
  .ev-empty .ev-band { height: 300px; }
  .page-events .ev-empty .ev-band::before { height: 300px; }
  .ev-empty .ev-results { top: 737px; }
  .ev-empty .ev-cta { top: 1400px; }
  .page-events main.ev-empty { height: 1793px; }
  .ev-empty .ev-band__empty { font-size: 26px; line-height: 31px; }
}

/* ==========================================================================
   SINGLE POSTER EVENT — the client runs one event, and its poster already
   carries the title/date/time/location, so the "Upcoming Events" band shows
   the poster image + a gold "Learn more" (no text card). The band reflows to
   the poster at every breakpoint (higher specificity + later source order wins
   over the pinned two-card geometry above; the tablet section-flow switch is in
   the 768 block). Results/CTA follow in normal flow, so there is no dead tail.
   ========================================================================== */
.page-events .ev-band--single {
  position: relative;
  height: auto;
  min-height: 0;
  width: 100%;
  margin: 0;
  padding: 56px 40px 64px;
  background: var(--color-surface-dark);
  overflow: hidden;
}
.page-events .ev-band--single::before { display: none; }

.page-events .ev-band--single .ev-band__title {
  position: static;
  width: auto;
  max-width: none;
  margin: 0;
  font-size: 32px;
  font-weight: var(--fw-semi);
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--white);
  white-space: normal;
}
.page-events .ev-band--single .ev-band__lead {
  position: static;
  width: auto;
  max-width: 680px;
  margin: 8px 0 0;
  font-size: var(--fs-lead);
  color: var(--bg);
  white-space: normal;
}

.page-events .ev-band--single .ev-cards {
  position: static;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 44px;
  width: auto;
  height: auto;
  margin: 36px 0 0;
  padding: 0;
  overflow: visible;
}
.page-events .ev-band--single .ev-empty-msg {
  width: 100%;
  margin: 20px 0 0;
  color: var(--bg);
  font-size: var(--fs-lead);
  text-align: center;
}
.page-events .ev-band--single .ev-card {
  position: static;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  background: none;
  overflow: visible;
}
.page-events .ev-band--single .ev-card__posterlink { display: block; }
.page-events .ev-band--single .ev-card__poster {
  display: block;
  width: 384px;
  max-width: 100%;
  height: auto;
  border-radius: 2px;
}
.page-events .ev-band--single .ev-band__cta {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 200px;
  height: 48px;
  min-height: 0;
  max-width: none;
  margin: 0;
  padding: 0 44px;
  background: var(--gold);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: var(--fw-bold);
  font-size: var(--fs-eyebrow);
  line-height: 1;
  letter-spacing: normal;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color var(--dur) var(--ease);
}
.page-events .ev-band--single .ev-band__cta:hover { background: var(--gold-deep); }

@media (max-width: 767px) {
  .page-events .ev-band--single { padding: 40px 20px 48px; }
  .page-events .ev-band--single .ev-band__title { font-size: 22px; }
  .page-events .ev-band--single .ev-band__lead { font-size: 14px; }
  .page-events .ev-band--single .ev-card__poster { width: 320px; }
  .page-events .ev-band--single .ev-cards { flex-direction: column; align-items: center; gap: 32px; }
}

/* ---- mobile event carousel: one poster at a time with arrows + dots ----
   Below 767 events-carousel.js shows a single .ev-card--poster and pages
   through the rest. The [hidden] rule must out-specify the card's display:flex
   (which would otherwise keep every card visible). Hidden above 767. */
.ev-nav { display: none; }
@media (max-width: 767px) {
  .page-events .ev-band--single .ev-card[hidden] { display: none; }
  .ev-nav {
    display: flex; justify-content: center; align-items: center;
    gap: 22px; margin-top: 28px;
  }
  .ev-nav__btn {
    padding: 0; border: 0; background: none; line-height: 0; cursor: pointer;
    -webkit-appearance: none; appearance: none;
  }
  .ev-nav__btn img { display: block; width: 40px; height: 40px; }
  .ev-nav__dots { display: flex; align-items: center; gap: 10px; }
  .ev-nav__dot {
    width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%;
    background: rgba(255, 255, 255, .3); cursor: pointer;
    -webkit-appearance: none; appearance: none;
    transition: background-color var(--dur) var(--ease);
  }
  .ev-nav__dot--active { background: var(--gold); }
}

/* ==== RTL OVERLAY (auto — tools/rtl-gen.js; mirrors horizontal geometry for Arabic, scoped to html[dir=rtl], changed decls only) ==== */
html[dir="rtl"] .ev-tag {
    padding: 7.16px 19.09px 5.96px 17.89px
}
@media (min-width: 1200px) {
    html[dir="rtl"] .ev-hero__card {
        right: 306px;
        padding: 50px 49px 0 40px;
        left: auto
    }
    html[dir="rtl"] .ev-band {
        margin-right: -21px;
        margin-left: 0
    }
    html[dir="rtl"] .ev-band__title {
        right: 101px;
        left: auto
    }
    html[dir="rtl"] .ev-band__lead--1 {
        right: 100px;
        left: auto
    }
    html[dir="rtl"] .ev-band__lead--2 {
        right: 100px;
        left: auto
    }
    html[dir="rtl"] .ev-card--1 {
        right: 124px;
        left: auto
    }
    html[dir="rtl"] .ev-card--2 {
        right: 814px;
        left: auto
    }
    html[dir="rtl"] .ev-card__bg {
        right: -8.35px;
        left: auto
    }
    html[dir="rtl"] .ev-card--1 .ev-card__photo {
        right: 320px;
        left: auto
    }
    html[dir="rtl"] .ev-card--2 .ev-card__photo {
        right: 323px;
        left: auto
    }
    html[dir="rtl"] .ev-card--1 .ev-card__title {
        right: 28.63px;
        left: auto
    }
    html[dir="rtl"] .ev-card--2 .ev-card__title {
        right: 29px;
        left: auto
    }
    html[dir="rtl"] .ev-card--1 .ev-card__desc {
        right: 28.63px;
        left: auto
    }
    html[dir="rtl"] .ev-card--2 .ev-card__desc {
        right: 28.63px;
        left: auto
    }
    html[dir="rtl"] .ev-card--1 .ev-tag--a {
        right: 28.63px;
        left: auto
    }
    html[dir="rtl"] .ev-card--1 .ev-tag--b {
        right: 178.95px;
        left: auto
    }
    html[dir="rtl"] .ev-card--2 .ev-tag--a {
        right: 28.63px;
        left: auto
    }
    html[dir="rtl"] .ev-card--2 .ev-tag--b {
        right: 178.95px;
        left: auto
    }
    html[dir="rtl"] .ev-card--2 .ev-tag--c {
        right: 28.63px;
        left: auto
    }
    html[dir="rtl"] .ev-band__cta--1 {
        right: 123px;
        left: auto
    }
    html[dir="rtl"] .ev-band__cta--2 {
        right: 814px;
        left: auto
    }
    html[dir="rtl"] .ev-results__title {
        margin: 0 487px 0 0
    }
    html[dir="rtl"] .ev-results__grid {
        margin: 64px 91px 0 0
    }
    html[dir="rtl"] .ev-cta__outline {
        right: 20px;
        left: auto
    }
    html[dir="rtl"] .ev-cta__panel {
        right: 82px;
        text-align: right;
        left: auto
    }
    html[dir="rtl"] .ev-cta__title {
        right: 309px;
        left: auto
    }
    html[dir="rtl"] .ev-cta__text--1 {
        right: 208px;
        left: auto
    }
    html[dir="rtl"] .ev-cta__text--2 {
        right: 367px;
        left: auto
    }
    html[dir="rtl"] .ev-cta__btn {
        right: 519px;
        left: auto
    }
    html[dir="rtl"] .ev-empty .ev-band {
        margin-right: 0;
        margin-left: 0
    }
}
@media (max-width: 767px) {
    html[dir="rtl"] .page-events main > section {
        right: 0;
        left: auto
    }
    html[dir="rtl"] .ev-hero__bg {
        right: -43px;
        left: auto
    }
    html[dir="rtl"] .ev-hero__card {
        right: auto;
        left: auto;
        margin-left: 0;
        margin-right: -35px;    /* flow card bleeds the right edge in RTL */
        text-align: right
    }
    html[dir="rtl"] .ev-hero__title {
        right: 39px;
        left: auto
    }
    html[dir="rtl"] .ev-hero__lead,
html[dir="rtl"] .ev-hero__lead + .ev-hero__lead {
        right: 39px;
        left: auto
    }
    html[dir="rtl"] .ev-band__title {
        right: 8px;
        left: auto
    }
    html[dir="rtl"] .ev-band__lead,
html[dir="rtl"] .ev-band__lead + .ev-band__lead {
        right: 8px;
        left: auto
    }
    html[dir="rtl"] .ev-card {
        right: 8px;
        left: auto
    }
    html[dir="rtl"] .ev-card__bg {
        right: -8px;
        left: auto
    }
    html[dir="rtl"] .page-events .ev-card__photo {
        right: -23px;
        left: auto
    }
    html[dir="rtl"] .ev-card__title {
        right: 122px;
        left: auto
    }
    html[dir="rtl"] .ev-card__desc {
        right: 122px;
        left: auto
    }
    html[dir="rtl"] .ev-card__tags {
        right: 122px;
        left: auto
    }
    html[dir="rtl"] .page-events .ev-band__cta {
        right: 123px;
        left: auto
    }
    html[dir="rtl"] .ev-results__title {
        right: 50px;
        text-align: right;
        left: auto
    }
    html[dir="rtl"] .ev-results__grid {
        right: 29px;
        left: auto
    }
    html[dir="rtl"] .ev-cta__outline {
        right: -10px;
        left: auto
    }
    /* This CTA panel is 408px — wider than the 390 viewport — with its content
       flex-centred. Anchoring it by `right` tied it to the scrollbar-reduced
       clientWidth and pushed it ~29px left of the LTR panel, clipping the
       centred Arabic line off the left edge. Anchor it by `left` exactly like
       LTR so it centres identically; the child right/left overrides below are
       inert anyway (the children are static flex items). */
    html[dir="rtl"] .ev-cta__panel {
        left: -2px;
        right: auto;
        text-align: right;
    }
    html[dir="rtl"] .ev-cta__title {
        right: 12px;
        left: auto
    }
    html[dir="rtl"] .ev-cta__text--1 {
        right: 2px;
        left: auto
    }
    html[dir="rtl"] .ev-cta__text--2 {
        right: 18px;
        left: auto
    }
    html[dir="rtl"] .ev-cta__btn {
        right: 10px;
        left: auto
    }
}
@media (min-width: 768px) and (max-width: 1199px) {
    html[dir="rtl"] .page-events main > section {
        right: 0;
        left: auto
    }
    html[dir="rtl"] .ev-hero__bg {
        right: -1px;
        left: auto
    }
    html[dir="rtl"] .ev-hero__card {
        right: 39px;
        left: auto
    }
    html[dir="rtl"] .ev-hero__title {
        right: 23px;
        left: auto
    }
    html[dir="rtl"] .ev-hero__lead {
        right: 23px;
        left: auto
    }
    html[dir="rtl"] .page-events .ev-band::before {
        right: -3px;
        left: auto
    }
    html[dir="rtl"] .ev-band__title {
        right: 40px;
        left: auto
    }
    html[dir="rtl"] .ev-band__lead {
        right: 40px;
        left: auto
    }
    html[dir="rtl"] .ev-card {
        right: 40px;
        left: auto
    }
    html[dir="rtl"] .page-events .ev-card__bg {
        right: -8px;
        left: auto
    }
    html[dir="rtl"] .page-events .ev-card__photo {
        right: 17px;
        left: auto
    }
    html[dir="rtl"] .ev-card__title {
        right: 207px;
        left: auto
    }
    html[dir="rtl"] .ev-card__desc {
        right: 207px;
        left: auto
    }
    html[dir="rtl"] .ev-card--1 .ev-card__tags {
        right: 208px;
        left: auto
    }
    html[dir="rtl"] .ev-card--2 .ev-card__tags {
        right: 207px;
        left: auto
    }
    html[dir="rtl"] .ev-band__cta {
        right: 40px;
        left: auto
    }
    html[dir="rtl"] .ev-cta__outline {
        right: 16px;
        left: auto
    }
    html[dir="rtl"] .ev-cta__panel {
        right: 39px;
        text-align: right;
        left: auto
    }
    html[dir="rtl"] .ev-cta__title {
        right: 77px;
        left: auto
    }
    html[dir="rtl"] .ev-cta__text--1 {
        right: 92px;
        left: auto
    }
    html[dir="rtl"] .ev-cta__text--2 {
        right: 40px;
        left: auto
    }
    html[dir="rtl"] .ev-cta__btn {
        right: 225px;
        left: auto
    }
    html[dir="rtl"] .page-events .ev-results__title {
        right: 196px;
        text-align: right;
        left: auto
    }
    html[dir="rtl"] .page-events .ev-results__grid .case:nth-child(1) {
        right: 218px;
        left: auto
    }
    html[dir="rtl"] .page-events .ev-results__grid .case:nth-child(2) {
        right: 41px;
        left: auto
    }
    html[dir="rtl"] .page-events .ev-results__grid .case:nth-child(3) {
        right: 394px;
        left: auto
    }
}
