/* ==========================================================================
   THE DESIGNERS HUB — Team
   Source of truth: Figma frame "computer team" #2129:2403 (1440 x 5808).
   Every coordinate in the desktop block is the literal Figma value.

   Line steps (Inter auto line-height is 1.2102em; 1.04em where the file sets it):
     h1            Inter 700 36, 1.06em  -> 38px
     section head  Inter 500/600 32      -> 39px
     card name     Inter 700 22 UPPER    -> 27px
     cta2 head     Inter 500 20 UPPER    -> 24px
     lead          Inter 300/400/600 18  -> 22px
     body          Inter 300/500 16      -> 19px
     card text     Inter 400/700 14      -> 17px
     bullet        Inter 300 14, 1.04em  -> 15px

   Stroke alignment read off the frame render per box:
     INSIDE  : hero plate #2129:2428 (15px), both CTA frames (1px),
               expert card (1px gold, top/right/bottom only — no left edge)
     OUTSIDE : #2129:2463 the Yaser photo (10px) — same as the program
               portrait, so the node render is 433x593 with the border in it
               and sits at (79, 717).
   ========================================================================== */

.page-team main { position: relative; }

/* #2276:3894 is mobile-only: the 390 frame draws a wide photo band behind
   the Yaser portrait where the 1440 frame has the portrait alone. */
.tm-yaser__photo--wide { display: none; }

/* tablet-only forced line break — inert at every other breakpoint */
.tm-brk-t { display: none; }

.tm {
  --rule-gold: #CD9926;   /* fill_8a077c4e — hairlines */
  --card-meta: #B7B7B7;   /* fill_10042b6a — the service line on a card */
}

/* --------------------------------------------------------------------------
   Flow fallback (below 1200px) — unverified reflow, desktop is the port.
   -------------------------------------------------------------------------- */
@media (max-width: 1199px) {
  .tm section { position: relative; padding: var(--space-32) var(--page-pad-mob); }
  .tm img { width: 100%; height: auto; }
  .tm-hero__band, .tm-yaser__band, .tm-hero__plate { display: none; }
  .tm-yaser { background: var(--color-surface-dark); color: var(--white); }
  .tm-bullet { display: flex; gap: var(--space-8); margin-bottom: var(--space-8); }
  .tm-card { background: var(--white); margin-bottom: var(--space-24); border: var(--stroke-1) solid var(--gold); }
  .tm-card__plate { background: var(--color-surface-dark); padding: var(--space-16); }
  .tm-card__body { padding: var(--space-16); }
  .tm-cta1__frame, .tm-cta2__frame { display: none; }
  .tm-cta1__plate, .tm-cta2__plate { background: var(--color-surface-dark); color: var(--white); padding: var(--space-24); text-align: center; }
}

/* --- shared type -------------------------------------------------------- */
.tm h1, .tm h2 { font-family: var(--font-heading); text-transform: uppercase; }
.tm-hero__title { font-weight: var(--fw-bold); }

.tm-bullet__dot { border-radius: 50%; background: var(--gold); }

/* card "book now" — 180x40 gold, label Inter 500 14 (EL-64cc4646) */
.tm-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 40px;
  background: var(--gold);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: var(--fw-med);
  font-size: 14px;
  white-space: nowrap;
  transition: background-color var(--dur) var(--ease);
}

.tm-card__btn:hover,
.tm-card__btn:focus-visible { background: var(--gold-deep); }

/* ==========================================================================
   DESKTOP — the 1440 Figma canvas, literal coordinates
   ========================================================================== */
@media (min-width: 1200px) {

  .page-team main {
    width: var(--frame-desktop);
    height: 5148px; /* 12 experts (was 13): one 660px row removed */
    margin-inline: auto;
  }

  .tm section { position: absolute; left: 0; width: var(--frame-desktop); padding: 0; }
  /* the breakpoint image swaps are wrapped in <picture>, so the image is a
     grandchild and a bare `> *` no longer reaches it */
  .tm section > *,
  .tm section > picture > img { position: absolute; }

  /* every photo on this frame is a STRETCH / objectFit:fill image fill */
  .page-team main img { max-width: none; object-fit: fill; }

  /* nodes Figma renders on a single line */
  .tm-hero__title,
  .tm-yaser__name, .tm-yaser__role, .tm-yaser__lead,
  .tm-experts__title,
  .tm-cta1__title, .tm-cta1__text { white-space: nowrap; }

  .tm-bullet { position: absolute; }
  .tm-bullet__dot { position: absolute; left: 0; top: 0; width: 10.89px; height: 11px; }
  .tm-bullet__label {
    position: absolute;
    left: 15px; top: 1px;
    color: var(--white);
    font-weight: var(--fw-light);
    font-size: 14px;
    line-height: 15px;
  }

  /* ======================= 1. HERO — band y:94 ======================= */
  .tm-hero { top: 0; height: 700px; }

  .tm-hero__band { left: 0; top: 94px; width: 1440px; height: 578px; background: var(--color-surface-dark); }

  /* #2129:2428 — 888x354, 15px ink drawn inside */
  .tm-hero__plate {
    left: 0; top: 186px;
    width: 888px; height: 354px;
    background: var(--bg);
    border: 15px solid var(--ink);
  }

  /* #2129:2435 / #2129:2436 — zero-height nodes with a 1px gold stroke, so the
     line straddles the stated y */
  .tm-hero__rule { height: 1px; background: var(--gold); }
  .tm-hero__rule--1 { left: 16px; top: 181.5px; width: 858px; }
  .tm-hero__rule--2 { left: 16px; top: 543.5px; width: 858px; }

  .tm-hero__title {
    left: 80px; top: 288px; width: 630px;
    color: var(--color-text);
    font-size: var(--fs-h1);
    line-height: 38px;
  }

  .tm-hero__p {
    left: 80px;
    color: var(--color-text);
    font-size: var(--fs-lead);
    line-height: 22px;
  }

  .tm-hero__p--1 { top: 342px; width: 720px; }
  .tm-hero__p--2 { top: 394px; width: 680px; }

  .tm-hero__photo { left: 911px; top: 126px; width: 449px; height: 513px; }

  /* ======================= 2. YASER — band y:760 ======================= */
  .tm-yaser { top: 0; height: 1320px; }

  .tm-yaser__band { left: -31px; top: 760px; width: 1471px; height: 506px; background: var(--color-surface-dark); }

  /* node render carries the 10px outside border, so it sits at (89-10, 727-10) */
  .tm-yaser__photo { left: 79px; top: 717px; width: 433px; height: 593px; }

  .tm-yaser__name {
    left: 631px; top: 840px; width: 234px;
    color: var(--white);
    font-weight: var(--fw-semi);
    font-size: var(--fs-h2);
    line-height: 39px;
  }

  .tm-yaser__rule { height: 1px; background: var(--rule-gold); }
  .tm-yaser__rule--1 { left: 628px; top: 878.5px; width: 268.5px; }
  .tm-yaser__rule--2 { left: 628px; top: 1090.5px; width: 733.5px; }

  .tm-yaser__role {
    left: 631px; top: 887px; width: 659px;
    color: var(--white);
    font-weight: var(--fw-semi);
    font-size: var(--fs-lead);
    line-height: 22px;
  }

  .tm-yaser__p {
    left: 631px;
    color: var(--white);
    font-weight: var(--fw-light);
    font-size: var(--fs-body);
    line-height: 19px;
  }

  .tm-yaser__p--1 { top: 925px; width: 634px; }
  .tm-yaser__p--2 { top: 979px; width: 697px; }

  .tm-yaser__lead {
    left: 631px; top: 1068px; width: 673px;
    color: var(--white);
    font-weight: var(--fw-med);
    font-size: var(--fs-body);
    line-height: 19px;
  }

  .tm-yaser .tm-bullet--1 { left: 631px; top: 1107px; }
  .tm-yaser .tm-bullet--1 .tm-bullet__label { width: 300px; }
  .tm-yaser .tm-bullet--2 { left: 631px; top: 1147px; }
  .tm-yaser .tm-bullet--2 .tm-bullet__label { width: 276px; }
  .tm-yaser .tm-bullet--3 { left: 973px; top: 1107px; }
  .tm-yaser .tm-bullet--3 .tm-bullet__label { width: 292px; }
  .tm-yaser .tm-bullet--4 { left: 973px; top: 1148px; }
  .tm-yaser .tm-bullet--4 .tm-bullet__label { width: 372px; }

  /* ======================= 3. CTA 1 — frame y:1352 ======================= */
  .tm-cta1 { top: 0; height: 1700px; }

  .tm-cta1__frame {
    left: 20px; top: 1352px;
    width: 1400px; height: 264px;
    background: var(--bg);
    border: var(--stroke-1) solid var(--ink);
  }

  /* 280 tall from y:1392, so it runs 56px past the frame above — as in Figma */
  .tm-cta1__plate { left: 80px; top: 1392px; width: 1280px; height: 280px; background: var(--color-surface-dark); }

  .tm-cta1__title {
    left: 489px; top: 1450px; width: 463px;
    color: var(--bg);
    font-weight: var(--fw-med);
    font-size: var(--fs-h2);
    line-height: 39px;
    text-align: center;
  }

  .tm-cta1__text {
    left: 403px; top: 1495px; width: 635px;
    color: var(--white);
    font-weight: var(--fw-light);
    font-size: var(--fs-lead);
    line-height: 22px;
    text-align: center;
  }

  .tm-cta1__btn { left: 601px; top: 1565px; }

  /* ======================= 4. EXPERTS — heading y:1744 ================== */
  .tm-experts { top: 0; height: 5180px; }

  .tm-experts__title {
    left: 80px; top: 1744px; width: 222px;
    color: var(--color-text);
    font-weight: var(--fw-semi);
    font-size: var(--fs-h2);
    line-height: 39px;
  }

  /* --- card shell: 400x612, gold hairline on three sides ------------------
     Figma's stroke is "1px 1px 1px 0px" — there is deliberately no left edge. */
  .tm-card {
    width: 400px; height: 612px;
    background: var(--bg);
    border: var(--stroke-1) solid var(--gold);
    border-left: 0;
  }

  .tm-card > *,
  .tm-card > picture > img { position: absolute; }

  /* 389 wide in a 400 card, flush left — the 11px gap sits on the right */
  .tm-card__photo { left: 0; top: 11px; width: 389px; height: 264px; }

  /* EL-97e80bf9 — full-width ink plate, fixed 100 tall */
  .tm-card__plate { left: 0; top: 275px; width: 400px; height: 100px; background: var(--color-surface-dark); }

  .tm-card__name {
    left: 8px; top: 290px; width: 361px;
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: var(--fw-bold);
    font-size: 22px;
    line-height: 27px;
    text-transform: uppercase;
  }

  .tm-card__service {
    left: 8px; top: 321px; width: 361px;
    color: var(--card-meta);
    font-weight: var(--fw-bold);
    font-size: var(--fs-body);
    line-height: 19px;
  }

  /* EL-819d0603 — absolute at (8,113) inside a block that starts at y:275 */
  .tm-card__body {
    left: 8px; top: 388px; width: 376px;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .tm-card__role,
  .tm-card__desc { color: var(--grey-700); font-size: 14px; line-height: 17px; }
  .tm-card__role { font-weight: var(--fw-bold); }

  /* EL-64cc4646 — absolute at (8,271) from the same y:275 origin */
  .tm-card__btn { left: 8px; top: 546px; }

  /* --- the 13 cards: 3 columns at x 80 / 525 / 971, rows 678 apart -------- */
  .tm-card--1  { left: 80px;  top: 1836px; }
  .tm-card--2  { left: 525px; top: 1836px; }
  .tm-card--3  { left: 971px; top: 1836px; }
  .tm-card--4  { left: 80px;  top: 2514px; }
  .tm-card--5  { left: 525px; top: 2514px; }
  .tm-card--6  { left: 971px; top: 2514px; }
  .tm-card--7  { left: 80px;  top: 3192px; }
  .tm-card--8  { left: 525px; top: 3192px; }
  .tm-card--9  { left: 971px; top: 3192px; }
  .tm-card--10 { left: 80px;  top: 3852px; }
  .tm-card--11 { left: 525px; top: 3852px; }
  .tm-card--12 { left: 971px; top: 3852px; }
  .tm-card--13 { left: 80px;  top: 4512px; }

  /* Rehab's name box is the 180 column, not the 361 the others use */
  .tm-card--2 .tm-card__name { width: 180px; }

  /* ======================= 5. CTA 2 — frame y:5196 ======================
     Positions moved up 660px (one expert row) when Ghaith was removed and main
     shrank 5808 -> 5148; without this the CTA fell below main and the footer
     rendered over it. */
  .tm-cta2 { top: 0; height: 4960px; }

  .tm-cta2__frame {
    left: 20px; top: 4536px;
    width: 1400px; height: 264px;
    background: var(--bg);
    border: var(--stroke-1) solid var(--ink);
  }

  .tm-cta2__plate { left: 80px; top: 4576px; width: 1280px; height: 280px; background: var(--color-surface-dark); }

  .tm-cta2__title {
    left: 356px; top: 4634px; width: 728px;
    color: var(--bg);
    font-weight: var(--fw-med);
    font-size: 20px;
    line-height: 24px;
    text-align: center;
  }

  .tm-cta2__text {
    left: 439px; top: 4690px; width: 562px;
    color: var(--white);
    font-weight: var(--fw-light);
    font-size: var(--fs-lead);
    line-height: 22px;
    text-align: center;
  }

  .tm-cta2__btn { left: 601px; top: 4760px; }

  /* both page CTAs use the 239x52 component instance */
  .tm-cta1__btn, .tm-cta2__btn {
    width: 239px; height: 52px;
    min-height: 52px;
    padding: 0;
  }
}

/* ==========================================================================
   MOBILE — literal Figma geometry, 390 canvas
   Source of truth: frame "команда моб" #2276:3841 (390 x 5307).

   Appended last so it wins on source order over the max-width:1199 fallback
   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 5307 - 81 = 5226.

   Stroke alignment read per box off the node renders (declared -> rendered):
     hero photo   #2276:3844  391x255/4 -> 399x263   OUTSIDE 4
     yaser wide   #2276:3894  371x240/2 -> 375x244   OUTSIDE 2
     yaser portr. #2276:3895  205x248/2 -> 209x252   OUTSIDE 2
     hero plate   #2276:3845  429x170/3 -> 429x170   INSIDE
     yaser frame  #2276:3871  416x752/1 -> 416x752   INSIDE
     expert card  #2276:3869  400x250   -> 400x250   INSIDE
   All three photos ship as node renders, which BAKE the stroke in, so none
   of them carries a CSS border.

   Line-height in px throughout: Figma rounds it to the nearest integer, so
   21/1.06em -> 22, 20/1.06em -> 21, 14/1.06em -> 15, 14/1.04em -> 15,
   11/1.04em -> 11, and Inter auto is 17 at 14px, 16 at 13px, 13 at 11px,
   19 at 16px, 15 at 12px.

   NOT PORTED — the two decorative ring overlays #2276:3843 (9% alpha) and
   #2276:3887 (7%). Same as the two on the events frame: the API's declared
   box and Figma's own node render disagree (704.63x691.18 vs 556x465, and
   568.83x309.72 vs 541x284), so neither their scale nor their origin can be
   read from the file. Four such nodes across two frames now, all behaving
   identically, so this is treated as a settled site-wide omission rather
   than an open question — see the note in CLAUDE.md.
   ========================================================================== */
@media (max-width: 767px) {

  .page-team main {
    position: relative;
    width: var(--frame-mobile);
    max-width: none;
    height: 4970px;              /* 12 experts (was 13): one 256px row removed */
    margin-inline: 0;
  }

  .page-team main > section {
    position: absolute;
    left: 0;
    width: var(--frame-mobile);
    margin: 0;
    padding: 0;
    overflow: hidden;            /* several boxes bleed well past 390 */
  }

  .page-team main > section > * { position: absolute; }
  /* NO height here: at (0,2,1) it outranks every per-image height below and
     silently let the photos size to their natural aspect instead. */
  .page-team .tm img { max-width: none; object-fit: fill; }

  /* the <=1199 fallback hides the decorative boxes */
  .page-team .tm-hero__band, .page-team .tm-hero__plate,
  .page-team .tm-yaser__band, .page-team .tm-cta1__plate,
  .page-team .tm-cta2__plate, .page-team .tm-card__plate,
  .page-team .tm-yaser__rule, .page-team .tm-bullet__dot { display: block; }

  /* no mobile equivalent: the 1440 frame's two hero hairlines and the two
     outlined CTA frames are not drawn at 390 */
  .page-team .tm-hero__rule,
  .page-team .tm-cta1__frame,
  .page-team .tm-cta2__frame { display: none; }

  /* ======================================================================
     1. HERO — band #2276:3842 at Figma 72 -> main -9.
     The band starts 9px ABOVE main because the frame draws no header and
     puts it at 72; the section clips, so the bottom edge (Figma 464) is
     what lands, which is the edge that matters.
     ====================================================================== */
  .tm-hero { top: 0; height: 464px; }

  .tm-hero__band {
    left: -25px; top: -9px; width: 437px; height: 392px;
    background: var(--color-surface-dark);
  }

  /* z-index: the frame paints this photo BEFORE the plate and the copy
     (#2276:3844 precedes #2276:3845-3848), but the markup has it last, so
     without the drop it covered the first line of the intro. */
  .page-team .tm-hero__photo {
    position: absolute;
    z-index: 0;
    left: -4px; top: 51px; width: 399px; height: 263px;   /* OUTSIDE 4 baked in */
    border: 0;
  }

  .page-team .tm-hero__plate,
  .page-team .tm-hero__title,
  .page-team .tm-hero__p { z-index: 1; }

  .tm-hero__plate {
    left: -20px; top: 269px; width: 429px; height: 170px;
    background: var(--color-surface-dark);
    border: 3px solid var(--gold);
  }

  .tm-hero__title {
    left: 9px; top: 17px; width: 367px;
    font-size: 21px; font-weight: var(--fw-semi); line-height: 22px;
    text-transform: uppercase; color: var(--white); white-space: nowrap;
  }

  .page-team .tm-hero__p {
    left: 9px;
    font-size: 14px; font-weight: var(--fw-reg); line-height: 17px;
    color: var(--white);
  }

  .page-team .tm-hero__p--1 { top: 293px; width: 374px; }
  .page-team .tm-hero__p--2 { left: 8px; top: 352px; width: 356px; }

  /* ======================================================================
     2. YASER — frame #2276:3871 at Figma 552 -> main 471.
     ====================================================================== */
  .tm-yaser { top: 471px; height: 752px; }   /* the frame #2276:3871 is 752 tall */

  /* #2276:3871, the light 1px frame, is drawn FIRST and #2276:3872, the dark
     panel, over it. ::before is the section's first child so it paints first
     — the frame has to be the pseudo and the panel the real element, not the
     other way round, or the frame covers the panel. */
  .tm-yaser::before {
    content: "";
    position: absolute;
    left: -20px; top: 0; width: 416px; height: 752px;
    background: var(--bg);
    border: var(--stroke-1) solid var(--color-surface-dark);
  }

  .tm-yaser__band {
    left: -20px; top: 22px; width: 416px; height: 706px;
    background: var(--color-surface-dark);
    border: 0;
  }

  .tm-yaser__name {
    left: 8px; top: 51px; width: 235px;
    font-size: 20px; font-weight: var(--fw-med); line-height: 21px;
    text-transform: uppercase; color: var(--white); white-space: nowrap;
  }

  .page-team .tm-yaser__rule {
    height: 0; background: none;
    border-top: var(--stroke-1) solid var(--gold);
  }

  .tm-yaser__rule--1 { left: 7px; top: 80px;   width: 178px; }
  .tm-yaser__rule--2 { left: 7px; top: 607px;  width: 372.5px; }

  .tm-yaser__role {
    left: 8px; top: 88px; width: 336px;
    font-size: 14px; font-weight: var(--fw-med); line-height: 17px;
    color: var(--white);
  }

  .page-team .tm-yaser__p {
    left: 8px; width: 352px;
    font-size: 13px; font-weight: var(--fw-light); line-height: 16px;
    color: var(--white);
  }

  .tm-yaser__p--1 { top: 138px; }
  .tm-yaser__p--2 { top: 194px; }

  /* two photos at 390 where the 1440 frame has one: a wide band and the
     portrait over it. Both are node renders with their stroke baked in. */
  .page-team .tm-yaser__photo {
    position: absolute;
    left: 90px; top: 296px; width: 209px; height: 252px;
    border: 0; z-index: 2;
  }

  .page-team .tm-yaser__photo--wide {
    display: block;
    position: absolute;
    left: 7px; top: 304px; width: 375px; height: 244px;
    border: 0; z-index: 1;
  }

  .tm-yaser__lead {
    left: 7px; top: 571px; width: 298px;
    font-size: 14px; font-weight: var(--fw-med); line-height: 15px;
    color: var(--bg);
  }

  .page-team .tm-bullet {
    margin: 0;
    font-size: 11px; font-weight: var(--fw-light); line-height: 11px;
    color: var(--white);
  }

  .page-team .tm-bullet__dot {
    position: absolute; left: 0; top: 0; width: 9px; height: 9px;
    background: var(--gold); border-radius: 50%;
  }

  .page-team .tm-bullet__label { position: absolute; left: 8px; top: 10px; width: 167px; }

  .tm-bullet--1 { left: 8px;   top: 623px; width: 175px; height: 32px; }
  .tm-bullet--2 { left: 8px;   top: 671px; width: 175px; height: 32px; }
  .tm-bullet--3 { left: 204px; top: 623px; width: 175px; height: 32px; }
  .tm-bullet--4 { left: 204px; top: 671px; width: 178px; height: 32px; }
  .tm-bullet--4 .tm-bullet__label { width: 170px; }

  /* ======================================================================
     3. CTA 1 — panel #2276:3850 at Figma 1328 -> main 1247.
     ====================================================================== */
  .tm-cta1 { top: 1247px; height: 204px; }

  .tm-cta1__plate {
    left: 0; top: 0; width: 391px; height: 204px;
    background: var(--color-surface-dark);
  }

  .tm-cta1__title {
    left: 28px; top: 33px; width: 334px;
    font-size: 20px; font-weight: var(--fw-med); line-height: 21px;
    text-transform: uppercase; text-align: center; color: var(--white);
    white-space: nowrap;
  }

  .tm-cta1__text {
    left: 44px; top: 62px; width: 311px;
    font-size: 14px; font-weight: var(--fw-light); line-height: 17px;
    text-align: center; color: var(--white);
  }

  .page-team .tm-cta1__btn {
    left: 9px; top: 120px; display: flex;
    width: 373px; height: 48px; min-height: 0; max-width: none;
    margin: 0; padding: 0;
    font-family: var(--font-button); font-size: 14px; font-weight: var(--fw-bold);
    letter-spacing: normal; text-transform: none;
  }

  /* ======================================================================
     4. OUR EXPERTS — heading #2276:3874 at Figma 1580 -> main 1499.
     13 cards, all 400x250 at x:-18 except 10-12 which are 237 tall.
     ====================================================================== */
  .tm-experts { top: 1499px; height: 3304px; }

  .tm-experts__title {
    left: 8px; top: 0; width: 235px;
    font-size: 20px; font-weight: var(--fw-semi); line-height: 21px;
    text-transform: uppercase; color: var(--color-surface-dark);
    white-space: nowrap;
  }

  /* the card carries a 1px gold hairline on three sides only — Figma's
     stroke is "1px 1px 1px 0px", no left edge, same as the 1440 build */
  .page-team .tm-card {
    left: -18px; width: 400px; height: 250px;
    margin: 0; padding: 0;
    background: var(--bg);
    border: var(--stroke-1) solid var(--gold);
    border-left: 0;
  }

  /* the <picture> wrappers make the photo a grandchild */
  .page-team .tm-card > *,
  .page-team .tm-card > picture > img { position: absolute; }

  .tm-card--1  { top: 53px;   }
  .tm-card--2  { top: 293px;  }
  .tm-card--3  { top: 540px;  }
  .tm-card--4  { top: 796px;  }
  .tm-card--5  { top: 1060px; }
  .tm-card--6  { top: 1330px; }
  .tm-card--7  { top: 1596px; }
  .tm-card--8  { top: 1860px; }
  .tm-card--9  { top: 2127px; }
  .page-team .tm-card--10 { top: 2383px; height: 237px; }
  .page-team .tm-card--11 { top: 2639px; height: 237px; }
  .page-team .tm-card--12 { top: 2900px; height: 237px; }
  .tm-card--13 { top: 3156px; }

  /* card-relative: the padding box starts 18 in and 13 down */
  /* Every top below is Figma's card-relative value MINUS 1: the card carries
     a 1px top border and children are positioned from its padding box, while
     Figma measures from the outer edge. */
  /* The 137x107 landscape crop left the person small inside a wide frame with
     dead background either side, which read as "squished". Widened to 161 (out
     to the plate edge, shifted left into the card bleed so nothing else moves)
     and switched to object-fit:cover so the person fills the frame at true
     proportions — no stretch. object-position keeps heads in view. */
  /* `.tm-card` in the selector so this reaches (0,3,0) and beats
     `.page-team .tm img { object-fit: fill }` at (0,2,1). */
  .page-team .tm-card .tm-card__photo {
    left: 2px; top: 12px; width: 161px; height: 107px;
    object-fit: cover; object-position: center 30%;
  }

  .page-team .tm-card__plate {
    left: 163px; top: 12px; width: 231px; height: 65px;
    background: var(--color-surface-dark);
  }

  .page-team .tm-card__name {
    left: 178px; top: 20px; width: 203px;
    margin: 0;
    font-size: 16px; font-weight: var(--fw-med); line-height: 19px;
    text-transform: uppercase; color: var(--white);
  }

  .page-team .tm-card__service {
    left: 178px; top: 40px; width: 203px;
    margin: 0;
    font-size: 12px; font-weight: var(--fw-semi); line-height: 15px;
    color: #B7B7B7;
  }

  /* #I...;4948:1027 — the gold bar sits under the plate, not beside it */
  .page-team .tm-card__btn {
    left: 163px; top: 85px;
    display: flex; align-items: center; justify-content: center;
    width: 231px; height: 34px; 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-med); line-height: 13px;
    letter-spacing: normal; text-transform: none;
  }

  /* #I...;4948:1030 — a column at gap 6, so it is flex rather than three
     hand-computed y values (the middle paragraph's line count varies) */
  .page-team .tm-card__body {
    left: 26px; top: 127px; width: 368px;
    display: flex; flex-direction: column; gap: 6px;
    margin: 0; padding: 0;
  }

  .page-team .tm-card__body > * { position: static; margin: 0; }

  .page-team .tm-card__role {
    font-size: 11px; font-weight: var(--fw-bold); line-height: 13px;
    color: #333333;
  }

  .page-team .tm-card__desc {
    font-size: 11px; font-weight: var(--fw-reg); line-height: 13px;
    color: #333333;
  }

  /* ======================================================================
     5. CTA 2 — panel #2276:3849 at Figma 5024 -> main 4943.
     ====================================================================== */
  .tm-cta2 { top: 4687px; height: 236px; }  /* -256: moved up one expert row (Ghaith removed) so it stays inside main 4970 */

  .tm-cta2__plate {
    left: -307px; top: 0; width: 714px; height: 236px;
    background: var(--color-surface-dark);
  }

  .tm-cta2__title {
    left: 28px; top: 33px; width: 330px;
    font-size: 14px; font-weight: var(--fw-med); line-height: 15px;
    text-transform: uppercase; text-align: center; color: var(--white);
  }

  .tm-cta2__text {
    left: 44px; top: 86px; width: 311px;
    font-size: 14px; font-weight: var(--fw-light); line-height: 17px;
    text-align: center; color: var(--white);
  }

  .page-team .tm-cta2__btn {
    left: 9px; top: 161px; display: flex;
    width: 373px; height: 48px; min-height: 0; max-width: none;
    margin: 0; padding: 0;
    font-family: var(--font-button); font-size: 14px; font-weight: var(--fw-bold);
    letter-spacing: normal; text-transform: none;
  }
}
/* ==========================================================================
   TABLET — the 768 Figma canvas #2276:3382 ("команда планш"), 768 x 6269.

   The frame draws NO chrome (rows 0-88 are the light page background and the
   dark hero band starts at y:89), so y:0 is the page top and every coordinate
   below is the Figma value MINUS 81 — the header height in this band.
   main = 6269 - 81 = 6188.

   Stroke alignment, batched over six boxes: every bordered box renders at its
   declared size (INSIDE) except the Yaser photo #2276:3418, which is
   OUTSIDE 7 and ships as a node render with the stroke baked in.
   The card's stroke is `1px 1px 1px 0px` — no LEFT edge, confirmed off the
   render (x:40 is photo, x:370 / y:1352 / y:1949 are all gold).

   Colours read off the frame render rather than assumed:
     band / panels / card plate / frames   #2D2D2D  (45,45,45)
     hero plate + page                     #F8F8F8  (248,248,248)
     hero outline, buttons, card edge      --gold   (216,160,37)
     Yaser hairlines                       --rule-gold
     card body copy                        --grey-700 (51,51,51)

   Line steps: Figma rounds line-height to the nearest integer px, so every
   one is written in px here.
   ========================================================================== */
@media (min-width: 768px) and (max-width: 1199px) {

  .page-team main {
    position: relative;
    width: var(--frame-tablet);
    max-width: none;
    height: 5370px;                /* 12 experts (was 13): one 622px row removed */
    margin-inline: auto;
  }

  .page-team main > section {
    position: absolute;
    left: 0;
    width: var(--frame-tablet);
    margin: 0;
    padding: 0;
    background: none;              /* the <=1199 fallback fills .tm-yaser */
    overflow: hidden;              /* the hero band bleeds to x:1026 */
  }

  .page-team main > section > *,
  .page-team main > section > picture > img { position: absolute; }

  /* NO `height` in this catch-all: at (0,2,1) it outranks every per-image
     height below and silently sizes the photos to their natural aspect.
     That is the trap `.tm img` sprang on the 390 port. */
  .page-team .tm img { max-width: none; object-fit: fill; }

  /* Nodes Figma renders on a single line. Chrome measures each of these
     0.54-1.95px wider than the file's own box and spills a second line,
     doubling the box; the line COUNT check is the only thing that catches
     it. Nothing is drawn to the right of any of the four. */
  .page-team .tm-hero__title,
  .page-team .tm-yaser__name,
  .page-team .tm-yaser__role,
  .page-team .tm-experts__title { white-space: nowrap; }

  /* The <=1199 fallback hides these; the 768 frame draws them all. */
  .page-team .tm-hero__band, .page-team .tm-hero__plate,
  .page-team .tm-hero__rule--1,
  .page-team .tm-yaser__band,
  .page-team .tm-cta1__frame, .page-team .tm-cta1__plate,
  .page-team .tm-cta2__frame, .page-team .tm-cta2__plate,
  .page-team .tm-card__plate,
  .page-team .tm-bullet__dot { display: block; }

  /* NOT DRAWN at 768, verified by scanning the hero band of the frame render
     for photographic content — there is none, only the plate, the gold
     outline and the copy. The 1440 frame has a group shot and the 390 frame
     a portrait, so the omission is a real content difference: FLAGGED. */
  .page-team .tm-hero__photo,
  .page-team .tm-hero__rule--2,
  .page-team .tm-yaser__photo--wide { display: none; }

  /* ======================================================================
     1. HERO — band #2276:3385 at Figma 89 -> main 8.
     ====================================================================== */
  .tm-hero { top: 0; height: 374px; }

  .tm-hero__band {
    left: -292px; top: 8px; width: 1318px; height: 366px;
    background: var(--color-surface-dark);
  }

  /* plain light fill at this breakpoint — the 15px border is a 1440 feature */
  .page-team .tm-hero__plate {
    left: 72px; top: 56px; width: 624.58px; height: 260px;
    background: var(--bg);
    border: 0;
  }

  /* #2276:3393 — the 3px gold outline, 651x271 INSIDE. The markup carries no
     dedicated element for it, so the first hero hairline is repurposed: in
     DOM order it already sits between the plate and the title, which is
     exactly where Figma paints it. */
  .page-team .tm-hero__rule--1 {
    left: 56px; top: 56px; width: 651px; height: 271px;
    background: none;
    border: 3px solid var(--gold);
  }

  .tm-hero__title {
    left: 104px; top: 100px; width: 560px;
    color: var(--ink);
    font-size: 32px; font-weight: var(--fw-bold); line-height: 34px;
    text-transform: uppercase;
  }

  .page-team .tm-hero__p {
    left: 104px;
    color: var(--ink);
    font-size: 18px; font-weight: var(--fw-reg); line-height: 22px;
  }
  .page-team .tm-hero__p--1 { top: 142px; width: 522px; }   /* 66 = 3 lines */
  .page-team .tm-hero__p--2 { top: 216px; width: 545px; }   /* 66 = 3 lines */

  /* ======================================================================
     2. YASER — frame #2276:3397 at Figma 487 -> main 406.
     The dark panel #2276:3398 OVERHANGS its own frame by 190px, so the
     section is sized to the PANEL (26 + 432 = 458), not the frame's 242.
     ====================================================================== */
  .tm-yaser { top: 406px; height: 458px; }

  /* #2276:3397 is drawn FIRST and the panel over it, so the frame has to be
     the pseudo-element (the section's first child) and the panel the real
     element — the same arrangement the 390 block uses. Its bottom edge is
     covered by the panel exactly as Figma covers it; only the 23px stubs
     either side of the panel stay visible. */
  .tm-yaser::before {
    content: "";
    position: absolute;
    left: 16px; top: 0; width: 735px; height: 242px;
    border: var(--stroke-1) solid var(--ink);
  }

  .page-team .tm-yaser__band {
    left: 39px; top: 26px; width: 689px; height: 432px;
    background: var(--color-surface-dark);
    border: 0;
  }

  .tm-yaser__name {
    left: 56px; top: 57px; width: 188px;
    color: var(--bg);
    font-size: 26px; font-weight: var(--fw-med); line-height: 31px;
    text-transform: uppercase;
  }

  .page-team .tm-yaser__rule {
    height: 1px; background: var(--rule-gold);
    border: 0;
  }
  .page-team .tm-yaser__rule--1 { left: 39.5px; top: 90px;  width: 247px; }
  .page-team .tm-yaser__rule--2 { left: 255px;  top: 306px; width: 433.5px; }

  .tm-yaser__role {
    left: 56px; top: 98px; width: 585px;
    color: var(--bg);
    font-size: 16px; font-weight: var(--fw-semi); line-height: 19px;
  }

  .page-team .tm-yaser__p {
    left: 56px;
    color: var(--bg);
    font-size: 14px; font-weight: var(--fw-reg); line-height: 17px;
  }
  .page-team .tm-yaser__p--1 { top: 133px; width: 462px; }  /* 34 = 2 lines */
  .page-team .tm-yaser__p--2 { top: 175px; width: 593px; }  /* 51 = 3 lines */

  /* OUTSIDE 7 — the node render comes back 171x175 with the stroke baked in,
     so no CSS border. (Declared 157x161 at Figma (65,737).) */
  .page-team .tm-yaser__photo {
    left: 58px; top: 243px; width: 171px; height: 175px;
    border: 0;
  }

  .tm-yaser__lead {
    left: 255px; top: 260px; width: 342px;
    color: var(--bg);
    font-size: 16px; font-weight: var(--fw-med); line-height: 19px;
  }

  /* Both parts are GRANDCHILDREN of the section, so `main > section > *`
     never reaches them and each needs `position` in its own right. Without
     it the label stays `display: inline`, which silently discards its width
     — the same shape as checkout's form fields sitting a level deeper. */

  /* Inter ExtraLight 200 — the weight is in the font request on this page for
     these four labels alone; confirmed with document.fonts.check, not by eye. */
  .page-team .tm-bullet__label {
    position: absolute;
    left: 15px; top: 1px;
    color: var(--bg);
    font-size: 14px; font-weight: 200; line-height: 15px;
  }
  .page-team .tm-bullet__dot {
    position: absolute;
    left: 0; top: 0; width: 10.89px; height: 11px;
  }

  .page-team .tm-bullet { margin: 0; display: block; }
  .tm-bullet--1 { left: 258px; top: 322px; }
  .tm-bullet--2 { left: 258px; top: 369px; }
  .tm-bullet--3 { left: 470px; top: 322px; }
  .tm-bullet--4 { left: 470px; top: 370px; }

  /* all four labels are 30 tall = 2 lines at the 15px step */
  .tm-bullet--1 .tm-bullet__label { width: 170px; }
  .tm-bullet--2 .tm-bullet__label { width: 148px; }
  .tm-bullet--3 .tm-bullet__label { width: 158px; }
  .tm-bullet--4 .tm-bullet__label { width: 203px; }

  /* ======================================================================
     3. CTA 1 — frame #2276:3386 at Figma 977 -> main 896.
     The panel overhangs the frame by 49, so the section is 26 + 231 = 257.
     ====================================================================== */
  .tm-cta1 { top: 896px; height: 257px; }

  .page-team .tm-cta1__frame {
    left: 17px; top: 0; width: 735px; height: 208px;
    background: none;
    border: var(--stroke-1) solid var(--ink);
  }

  .page-team .tm-cta1__plate {
    left: 40px; top: 26px; width: 689px; height: 231px;
    background: var(--color-surface-dark);
    padding: 0; text-align: left;
  }

  .tm-cta1__title {
    left: 181px; top: 74px; width: 408px;
    color: var(--bg);
    font-size: 26px; font-weight: var(--fw-med); line-height: 31px;
    text-transform: uppercase; text-align: center;
  }

  .tm-cta1__text {
    left: 102px; top: 113px; width: 564px;
    color: var(--bg);
    font-size: 16px; font-weight: var(--fw-light); line-height: 19px;
    text-align: center;
  }

  /* the same 239x52 component instance the 1440 frame uses, so the shared
     .btn typography carries over unchanged — only the box is restated */
  .page-team .tm-cta1__btn {
    left: 265px; top: 156px; width: 239px; height: 52px;
    min-height: 52px; max-width: none; margin: 0; padding: 0;
  }

  /* ======================================================================
     4. OUR EXPERTS — heading #2276:3419 at Figma 1282 -> main 1201.

     The 13 cards are one repeated 331x598 component on a strict grid:
     odd cards x:40, even x:398 (column step 358), row = ceil(n/2) with a
     row step of exactly 622. Section-relative the first row is at 70.
     The card -> slot mapping was VERIFIED off the frame render (all seven
     name plates cropped into one contact sheet): the frame's reading order
     is exactly the markup's DOM order 1-13, row-major.
     ====================================================================== */
  .tm-experts { top: 1201px; height: 4400px; }

  .tm-experts__title {
    left: 43px; top: 0; width: 180px;
    color: var(--ink);
    font-size: 26px; font-weight: var(--fw-semi); line-height: 31px;
    text-transform: uppercase;
  }

  .page-team .tm-card {
    width: 331px; height: 598px;
    margin: 0;
    background: var(--bg);
    border: var(--stroke-1) solid var(--gold);
    border-left: 0;              /* Figma stroke 1px 1px 1px 0px */
  }

  .page-team .tm-card > *,
  .page-team .tm-card > picture > img { position: absolute; }

  /* EVERY card-relative `top` below is Figma's value MINUS 1: the card has a
     1px TOP border, children measure from the padding box and Figma measures
     from the outer edge. Confirmed off the render — the photo's first row is
     y:1362 against a card top of 1352, i.e. outer+10, so CSS needs 9.
     `left` needs no correction because there is no left border. */

  /* the outer instance is a row with padding 10px 0 28px around a fixed
     331x588 column, so the inner frame effectively starts at y:10 */
  .page-team .tm-card__photo { left: 0; top: 9px; width: 322px; height: 256px; }

  /* 331 wide = the full card, so it paints over the gold right edge for its
     own 94px — which is exactly what the frame render shows (x:370 is dark
     through the plate and gold above and below it) */
  .page-team .tm-card__plate {
    left: 0; top: 265px; width: 331px; height: 94px;
    background: var(--color-surface-dark);
    padding: 0;
  }

  /* the plate is a FIXED 94 and does not grow for a two-line service line */
  .page-team .tm-card__name {
    left: 8px; top: 280px; width: 313px;
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 20px; font-weight: var(--fw-semi); line-height: 24px;
    text-transform: uppercase;
  }

  .page-team .tm-card__service {
    left: 8px; top: 308px; width: 313px;
    color: var(--card-meta);
    font-size: 15px; font-weight: var(--fw-semi); line-height: 18px;
  }

  /* the copy block and the button are BOTH absolute in the file, so their y
     values are fixed and do not depend on the plate's content height */
  .page-team .tm-card__body {
    left: 4px; top: 375px; width: 323px;
    display: flex; flex-direction: column; gap: 8px;
    padding: 0;
  }

  .page-team .tm-card__body > * { position: static; margin: 0; }

  .page-team .tm-card__role,
  .page-team .tm-card__desc {
    width: 312px;
    color: var(--grey-700);
    font-size: 13px; font-weight: var(--fw-reg); line-height: 16px;
  }
  .page-team .tm-card__role { font-weight: var(--fw-bold); }
  .page-team .tm-card__desc + .tm-card__desc { width: 314px; }

  /* --- two paragraphs break at a different word than Figma ---------------
     Both keep the same line COUNT, so node positions, box sizes and the
     line-count check all pass — only the per-line ink scan caught them, and
     in both cases the word Figma refuses to end a line on is "to". That is
     the short-word early break this file does everywhere.

     Card 6 takes a MEASURED width: Figma's line 2 ends "...led her" at
     292.14 and the build fits "to" at 307.72, while narrowing past 296
     re-breaks line 1 — so the window is 297-307 and 300 sits inside it. */
  .page-team .tm-card--6 .tm-card__role + .tm-card__desc { width: 300px; }

  /* Card 9's window is INVERTED by 33.21px: Figma's own line 1 measures
     305.44, wider than the 272.23 that would push "to" down, so NO box width
     reproduces it. It gets an explicit break instead — the same fix
     article's p16 and the event gain bullets needed. Preferring a forced
     break to a knife-edge width is also the more robust of the two. */
  .tm-brk-t { display: inline; }
  .tm-brk-t::before { content: "\A"; white-space: pre; }

  .page-team .tm-card__btn {
    left: 0; top: 542px; width: 180px; height: 40px;
    font-size: 14px; line-height: 17px;
  }

  /* --- the grid: odd x:40, even x:398, row step 622 --------------------- */
  .tm-card--1,  .tm-card--3,  .tm-card--5,
  .tm-card--7,  .tm-card--9,  .tm-card--11, .tm-card--13 { left: 40px; }
  .tm-card--2,  .tm-card--4,  .tm-card--6,
  .tm-card--8,  .tm-card--10, .tm-card--12 { left: 398px; }

  .page-team .tm-card--1,  .page-team .tm-card--2  { top: 70px; }
  .page-team .tm-card--3,  .page-team .tm-card--4  { top: 692px; }
  .page-team .tm-card--5,  .page-team .tm-card--6  { top: 1314px; }
  .page-team .tm-card--7,  .page-team .tm-card--8  { top: 1936px; }
  .page-team .tm-card--9,  .page-team .tm-card--10 { top: 2558px; }
  .page-team .tm-card--11, .page-team .tm-card--12 { top: 3180px; }
  .page-team .tm-card--13 { top: 3802px; }

  /* ======================================================================
     5. CLOSING CTA — frame #2276:3433 at Figma 5730 -> main 5649.
     The panel overhangs the frame by 48, so the section is 26 + 269 = 295.
     ====================================================================== */
  .tm-cta2 { top: 5027px; height: 295px; }  /* -622: moved up one expert row (Ghaith removed) so it stays inside main 5370 */

  .page-team .tm-cta2__frame {
    left: 16px; top: 0; width: 735px; height: 247px;
    background: none;
    border: var(--stroke-1) solid var(--ink);
    display: block;
  }

  .page-team .tm-cta2__plate {
    left: 39px; top: 26px; width: 689px; height: 269px;
    background: var(--color-surface-dark);
    padding: 0; text-align: left;
  }

  .tm-cta2__title {
    left: 59px; top: 74px; width: 650px;
    color: var(--bg);
    font-size: 18px; font-weight: var(--fw-med); line-height: 22px;
    text-transform: uppercase; text-align: center;
  }

  .tm-cta2__text {
    left: 154px; top: 126px; width: 460px;
    color: var(--bg);
    font-size: 16px; font-weight: var(--fw-light); line-height: 19px;
    text-align: center;
  }

  .page-team .tm-cta2__btn {
    left: 264px; top: 188px; width: 239px; height: 52px;
    min-height: 52px; max-width: none; margin: 0; padding: 0;
  }
}

/* ==== RTL OVERLAY (auto — tools/rtl-gen.js; mirrors horizontal geometry for Arabic, scoped to html[dir=rtl], changed decls only) ==== */
@media (min-width: 1200px) {
    html[dir="rtl"] .tm section {
        right: 0;
        left: auto
    }
    html[dir="rtl"] .tm-bullet__dot {
        right: 0;
        left: auto
    }
    html[dir="rtl"] .tm-bullet__label {
        right: 15px;
        left: auto
    }
    html[dir="rtl"] .tm-hero__band {
        right: 0;
        left: auto
    }
    html[dir="rtl"] .tm-hero__plate {
        right: 0;
        left: auto
    }
    html[dir="rtl"] .tm-hero__rule--1 {
        right: 16px;
        left: auto
    }
    html[dir="rtl"] .tm-hero__rule--2 {
        right: 16px;
        left: auto
    }
    html[dir="rtl"] .tm-hero__title {
        right: 80px;
        left: auto
    }
    html[dir="rtl"] .tm-hero__p {
        right: 80px;
        left: auto
    }
    html[dir="rtl"] .tm-hero__photo {
        right: 911px;
        left: auto
    }
    html[dir="rtl"] .tm-yaser__band {
        right: -31px;
        left: auto
    }
    html[dir="rtl"] .tm-yaser__photo {
        right: 79px;
        left: auto
    }
    html[dir="rtl"] .tm-yaser__name {
        right: 631px;
        left: auto
    }
    html[dir="rtl"] .tm-yaser__rule--1 {
        right: 628px;
        left: auto
    }
    html[dir="rtl"] .tm-yaser__rule--2 {
        right: 628px;
        left: auto
    }
    html[dir="rtl"] .tm-yaser__role {
        right: 631px;
        left: auto
    }
    html[dir="rtl"] .tm-yaser__p {
        right: 631px;
        left: auto
    }
    html[dir="rtl"] .tm-yaser__lead {
        right: 631px;
        left: auto
    }
    html[dir="rtl"] .tm-yaser .tm-bullet--1 {
        right: 631px;
        left: auto
    }
    html[dir="rtl"] .tm-yaser .tm-bullet--2 {
        right: 631px;
        left: auto
    }
    html[dir="rtl"] .tm-yaser .tm-bullet--3 {
        right: 973px;
        left: auto
    }
    html[dir="rtl"] .tm-yaser .tm-bullet--4 {
        right: 973px;
        left: auto
    }
    html[dir="rtl"] .tm-cta1__frame {
        right: 20px;
        left: auto
    }
    html[dir="rtl"] .tm-cta1__plate {
        right: 80px;
        left: auto
    }
    html[dir="rtl"] .tm-cta1__title {
        right: 489px;
        left: auto
    }
    html[dir="rtl"] .tm-cta1__text {
        right: 403px;
        left: auto
    }
    html[dir="rtl"] .tm-cta1__btn {
        right: 601px;
        left: auto
    }
    html[dir="rtl"] .tm-experts__title {
        right: 80px;
        left: auto
    }
    html[dir="rtl"] .tm-card {
        border-right: 0;
        border-left: initial
    }
    html[dir="rtl"] .tm-card__photo {
        right: 0;
        left: auto
    }
    html[dir="rtl"] .tm-card__plate {
        right: 0;
        left: auto
    }
    html[dir="rtl"] .tm-card__name {
        right: 8px;
        left: auto
    }
    html[dir="rtl"] .tm-card__service {
        right: 8px;
        left: auto
    }
    html[dir="rtl"] .tm-card__body {
        right: 8px;
        left: auto
    }
    html[dir="rtl"] .tm-card__btn {
        right: 8px;
        left: auto
    }
    html[dir="rtl"] .tm-card--1 {
        right: 80px;
        left: auto
    }
    html[dir="rtl"] .tm-card--2 {
        right: 525px;
        left: auto
    }
    html[dir="rtl"] .tm-card--3 {
        right: 971px;
        left: auto
    }
    html[dir="rtl"] .tm-card--4 {
        right: 80px;
        left: auto
    }
    html[dir="rtl"] .tm-card--5 {
        right: 525px;
        left: auto
    }
    html[dir="rtl"] .tm-card--6 {
        right: 971px;
        left: auto
    }
    html[dir="rtl"] .tm-card--7 {
        right: 80px;
        left: auto
    }
    html[dir="rtl"] .tm-card--8 {
        right: 525px;
        left: auto
    }
    html[dir="rtl"] .tm-card--9 {
        right: 971px;
        left: auto
    }
    html[dir="rtl"] .tm-card--10 {
        right: 80px;
        left: auto
    }
    html[dir="rtl"] .tm-card--11 {
        right: 525px;
        left: auto
    }
    html[dir="rtl"] .tm-card--12 {
        right: 971px;
        left: auto
    }
    html[dir="rtl"] .tm-card--13 {
        right: 80px;
        left: auto
    }
    html[dir="rtl"] .tm-cta2__frame {
        right: 20px;
        left: auto
    }
    html[dir="rtl"] .tm-cta2__plate {
        right: 80px;
        left: auto
    }
    html[dir="rtl"] .tm-cta2__title {
        right: 356px;
        left: auto
    }
    html[dir="rtl"] .tm-cta2__text {
        right: 439px;
        left: auto
    }
    html[dir="rtl"] .tm-cta2__btn {
        right: 601px;
        left: auto
    }
}
@media (max-width: 767px) {
    html[dir="rtl"] .page-team main > section {
        right: 0;
        left: auto
    }
    html[dir="rtl"] .tm-hero__band {
        right: -25px;
        left: auto
    }
    html[dir="rtl"] .page-team .tm-hero__photo {
        right: -4px;
        left: auto
    }
    html[dir="rtl"] .tm-hero__plate {
        right: -20px;
        left: auto
    }
    html[dir="rtl"] .tm-hero__title {
        right: 9px;
        left: auto
    }
    html[dir="rtl"] .page-team .tm-hero__p {
        right: 9px;
        left: auto
    }
    html[dir="rtl"] .page-team .tm-hero__p--2 {
        right: 8px;
        left: auto
    }
    html[dir="rtl"] .tm-yaser::before {
        right: -20px;
        left: auto
    }
    html[dir="rtl"] .tm-yaser__band {
        right: -20px;
        left: auto
    }
    html[dir="rtl"] .tm-yaser__name {
        right: 8px;
        left: auto
    }
    html[dir="rtl"] .tm-yaser__rule--1 {
        right: 7px;
        left: auto
    }
    html[dir="rtl"] .tm-yaser__rule--2 {
        right: 7px;
        left: auto
    }
    html[dir="rtl"] .tm-yaser__role {
        right: 8px;
        left: auto
    }
    html[dir="rtl"] .page-team .tm-yaser__p {
        right: 8px;
        left: auto
    }
    html[dir="rtl"] .page-team .tm-yaser__photo {
        right: 90px;
        left: auto
    }
    html[dir="rtl"] .page-team .tm-yaser__photo--wide {
        right: 7px;
        left: auto
    }
    html[dir="rtl"] .tm-yaser__lead {
        right: 7px;
        left: auto
    }
    html[dir="rtl"] .page-team .tm-bullet__dot {
        right: 0;
        left: auto
    }
    html[dir="rtl"] .page-team .tm-bullet__label {
        right: 8px;
        left: auto
    }
    html[dir="rtl"] .tm-bullet--1 {
        right: 8px;
        left: auto
    }
    html[dir="rtl"] .tm-bullet--2 {
        right: 8px;
        left: auto
    }
    html[dir="rtl"] .tm-bullet--3 {
        right: 204px;
        left: auto
    }
    html[dir="rtl"] .tm-bullet--4 {
        right: 204px;
        left: auto
    }
    html[dir="rtl"] .tm-cta1__plate {
        right: 0;
        left: auto
    }
    html[dir="rtl"] .tm-cta1__title {
        right: 28px;
        left: auto
    }
    html[dir="rtl"] .tm-cta1__text {
        right: 44px;
        left: auto
    }
    html[dir="rtl"] .page-team .tm-cta1__btn {
        right: 9px;
        left: auto
    }
    html[dir="rtl"] .tm-experts__title {
        right: 8px;
        left: auto
    }
    html[dir="rtl"] .page-team .tm-card {
        right: -18px;
        border-right: 0;
        left: auto;
        border-left: initial
    }
    html[dir="rtl"] .page-team .tm-card .tm-card__photo {
        right: 2px;
        left: auto
    }
    html[dir="rtl"] .page-team .tm-card__plate {
        right: 163px;
        left: auto
    }
    html[dir="rtl"] .page-team .tm-card__name {
        right: 178px;
        left: auto
    }
    html[dir="rtl"] .page-team .tm-card__service {
        right: 178px;
        left: auto
    }
    html[dir="rtl"] .page-team .tm-card__btn {
        right: 163px;
        left: auto
    }
    html[dir="rtl"] .page-team .tm-card__body {
        right: 26px;
        left: auto
    }
    html[dir="rtl"] .tm-cta2__plate {
        right: -307px;
        left: auto
    }
    html[dir="rtl"] .tm-cta2__title {
        right: 28px;
        left: auto
    }
    html[dir="rtl"] .tm-cta2__text {
        right: 44px;
        left: auto
    }
    html[dir="rtl"] .page-team .tm-cta2__btn {
        right: 9px;
        left: auto
    }
}
@media (min-width: 768px) and (max-width: 1199px) {
    html[dir="rtl"] .page-team main > section {
        right: 0;
        left: auto
    }
    html[dir="rtl"] .tm-hero__band {
        right: -292px;
        left: auto
    }
    html[dir="rtl"] .page-team .tm-hero__plate {
        right: 72px;
        left: auto
    }
    html[dir="rtl"] .page-team .tm-hero__rule--1 {
        right: 56px;
        left: auto
    }
    html[dir="rtl"] .tm-hero__title {
        right: 104px;
        left: auto
    }
    html[dir="rtl"] .page-team .tm-hero__p {
        right: 104px;
        left: auto
    }
    html[dir="rtl"] .tm-yaser::before {
        right: 16px;
        left: auto
    }
    html[dir="rtl"] .page-team .tm-yaser__band {
        right: 39px;
        left: auto
    }
    html[dir="rtl"] .tm-yaser__name {
        right: 56px;
        left: auto
    }
    html[dir="rtl"] .page-team .tm-yaser__rule--1 {
        right: 39.5px;
        left: auto
    }
    html[dir="rtl"] .page-team .tm-yaser__rule--2 {
        right: 255px;
        left: auto
    }
    html[dir="rtl"] .tm-yaser__role {
        right: 56px;
        left: auto
    }
    html[dir="rtl"] .page-team .tm-yaser__p {
        right: 56px;
        left: auto
    }
    html[dir="rtl"] .page-team .tm-yaser__photo {
        right: 58px;
        left: auto
    }
    html[dir="rtl"] .tm-yaser__lead {
        right: 255px;
        left: auto
    }
    html[dir="rtl"] .page-team .tm-bullet__label {
        right: 15px;
        left: auto
    }
    html[dir="rtl"] .page-team .tm-bullet__dot {
        right: 0;
        left: auto
    }
    html[dir="rtl"] .tm-bullet--1 {
        right: 258px;
        left: auto
    }
    html[dir="rtl"] .tm-bullet--2 {
        right: 258px;
        left: auto
    }
    html[dir="rtl"] .tm-bullet--3 {
        right: 470px;
        left: auto
    }
    html[dir="rtl"] .tm-bullet--4 {
        right: 470px;
        left: auto
    }
    html[dir="rtl"] .page-team .tm-cta1__frame {
        right: 17px;
        left: auto
    }
    html[dir="rtl"] .page-team .tm-cta1__plate {
        right: 40px;
        text-align: right;
        left: auto
    }
    html[dir="rtl"] .tm-cta1__title {
        right: 181px;
        left: auto
    }
    html[dir="rtl"] .tm-cta1__text {
        right: 102px;
        left: auto
    }
    html[dir="rtl"] .page-team .tm-cta1__btn {
        right: 265px;
        left: auto
    }
    html[dir="rtl"] .tm-experts__title {
        right: 43px;
        left: auto
    }
    html[dir="rtl"] .page-team .tm-card {
        border-right: 0;
        border-left: initial
    }
    html[dir="rtl"] .page-team .tm-card__photo {
        right: 0;
        left: auto
    }
    html[dir="rtl"] .page-team .tm-card__plate {
        right: 0;
        left: auto
    }
    html[dir="rtl"] .page-team .tm-card__name {
        right: 8px;
        left: auto
    }
    html[dir="rtl"] .page-team .tm-card__service {
        right: 8px;
        left: auto
    }
    html[dir="rtl"] .page-team .tm-card__body {
        right: 4px;
        left: auto
    }
    html[dir="rtl"] .page-team .tm-card__btn {
        right: 0;
        left: auto
    }
    html[dir="rtl"] .tm-card--1,
html[dir="rtl"] .tm-card--3,
html[dir="rtl"] .tm-card--5,
html[dir="rtl"] .tm-card--7,
html[dir="rtl"] .tm-card--9,
html[dir="rtl"] .tm-card--11,
html[dir="rtl"] .tm-card--13 {
        right: 40px;
        left: auto
    }
    html[dir="rtl"] .tm-card--2,
html[dir="rtl"] .tm-card--4,
html[dir="rtl"] .tm-card--6,
html[dir="rtl"] .tm-card--8,
html[dir="rtl"] .tm-card--10,
html[dir="rtl"] .tm-card--12 {
        right: 398px;
        left: auto
    }
    html[dir="rtl"] .page-team .tm-cta2__frame {
        right: 16px;
        left: auto
    }
    html[dir="rtl"] .page-team .tm-cta2__plate {
        right: 39px;
        text-align: right;
        left: auto
    }
    html[dir="rtl"] .tm-cta2__title {
        right: 59px;
        left: auto
    }
    html[dir="rtl"] .tm-cta2__text {
        right: 154px;
        left: auto
    }
    html[dir="rtl"] .page-team .tm-cta2__btn {
        right: 264px;
        left: auto
    }
}
