.aayda-main-page-root,
.aayda-main-page {
  overflow-x: clip;
}

/*
 * Outer/surrounding color only (not Hero video/gradient).
 * Figma Desktop 4979:22430 + Mobile 5257:19319 home fill: #F3F4F6.
 */
.aayda-main-page {
  background-color: var(--aayda-colors-surface-disabled);
}

.aayda-main-page-root {
  scrollbar-width: none;
}

.aayda-main-page-root::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.aayda-main-page .aayda-header {
  position: absolute;
  top: 8px;
  left: 8px;
  width: calc(100vw - 16px);
}

.aayda-main-page .aayda-header[data-menu-open="true"] {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
}

.aayda-main {
  width: 100%;
}

.aayda-hero {
  position: relative;
  width: calc(100vw - 16px);
  height: 573px;
  margin: 8px 0 0 8px;
  overflow: hidden;
  color: var(--aayda-colors-text-on-brand);
  border-radius: 12px;
}

.aayda-hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
}

/*
 * The Figma background (4979:22464) is a VIDEO fill. The editor supplies it, and may supply a still
 * image instead; both fill the same layer identically.
 */
.aayda-hero__video,
.aayda-hero__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/*
 * The poster, held over the video until it can actually play. A blocked, failed or reduced-motion
 * video therefore leaves a still frame rather than an empty band.
 */
.aayda-hero__media-fallback {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/*
 * hero.js retires the still frame by setting the hidden attribute once the clip can play. That
 * attribute hides through the user-agent stylesheet, and the display: block above is an author
 * declaration, which outranks it whatever the specificity — so without this rule the poster stays
 * painted over the video at z-index 1 for good, and the hero reads as a frozen first frame.
 *
 * The same pairing is already made for .aayda-faq__panel and the header's search suggestions.
 */
.aayda-hero__media-fallback[hidden] {
  display: none;
}

/*
 * Carousel position, for assistive technology only. The list is not a live region: moving the track
 * is a transform, which changes nothing in the DOM for a live region to report.
 */
.aayda-hero__status {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.aayda-hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: calc(100% - 40px);
  max-width: 346px;
  margin: 0 20px;
  padding-top: 133px;
}

.aayda-hero__intro {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

.aayda-hero__heading,
.aayda-hero__subtitle,
.aayda-hero-card__title {
  margin: 0;
}

.aayda-hero__heading {
  color: var(--aayda-colors-text-on-brand);
  font-size: 28px;
  font-weight: var(--aayda-typography-weight-medium);
  line-height: 31.2px;
  letter-spacing: -0.48px;
}

.aayda-hero__subtitle {
  color: var(--aayda-colors-accent);
  font-size: var(--aayda-typography-size-16);
  font-weight: var(--aayda-typography-weight-light);
  line-height: var(--aayda-typography-line-height-16);
  letter-spacing: var(--aayda-typography-letter-spacing-16);
}

.aayda-hero__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 223px;
  height: 52px;
  margin-top: 53px;
  padding: 4px 4px 4px 44px;
  color: var(--aayda-colors-base-white);
  font-size: var(--aayda-typography-size-16);
  font-weight: var(--aayda-typography-weight-bold);
  line-height: var(--aayda-typography-line-height-16);
  letter-spacing: var(--aayda-typography-letter-spacing-16);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.12);
  border: 0.5px solid var(--aayda-colors-base-white);
  border-radius: var(--aayda-radius-cta);
  -webkit-backdrop-filter: blur(5.6px);
  backdrop-filter: blur(5.6px);
  transition:
    background-color 1.0221s cubic-bezier(0.33, 1, 0.68, 1),
    border-color 1.0221s cubic-bezier(0.33, 1, 0.68, 1);
}

.aayda-hero__cta-icon {
  position: relative;
  display: grid;
  flex: 0 0 auto;
  width: 45px;
  height: 44px;
  overflow: hidden;
  border: 0.5px solid var(--aayda-colors-base-white);
  border-radius: var(--aayda-radius-cta-icon);
  place-items: center;
  transition: background-color 1.0221s cubic-bezier(0.33, 1, 0.68, 1);
}

/*
 * Button/Main action arrow (stash:arrow-up-light) — same as Projects/FAQ CTA:
 * baked ↗; Figma Vector −45° → −90° ⇒ CSS rotate(0deg) → rotate(45deg).
 * Always opacity 1 — no mask/opacity crossfade.
 */
.aayda-hero__cta-arrow {
  display: block;
  width: 31px;
  height: 31px;
  max-width: none;
  color: var(--aayda-colors-base-white);
  fill: currentColor;
  opacity: 1;
  visibility: visible;
  transform: rotate(0deg);
  transform-origin: center center;
  transition:
    transform 1.0221s cubic-bezier(0.33, 1, 0.68, 1),
    color 1.0221s cubic-bezier(0.33, 1, 0.68, 1);
}

.aayda-hero__cta-arrow path {
  fill: currentColor;
  opacity: 1;
  visibility: visible;
  transition: fill 1.0221s cubic-bezier(0.33, 1, 0.68, 1);
}

.aayda-hero__cta:hover .aayda-hero__cta-icon,
.aayda-hero__cta:active .aayda-hero__cta-icon {
  background: var(--aayda-colors-base-white);
}

.aayda-hero__cta:hover .aayda-hero__cta-arrow,
.aayda-hero__cta:active .aayda-hero__cta-arrow {
  color: var(--aayda-colors-navy-900);
  opacity: 1;
  visibility: visible;
  transform: rotate(45deg);
}

.aayda-hero__cta:hover .aayda-hero__cta-arrow path,
.aayda-hero__cta:active .aayda-hero__cta-arrow path {
  fill: var(--aayda-colors-navy-900);
}

.aayda-hero__cta:active {
  background: rgba(255, 255, 255, 0.2);
}

.aayda-hero__cta:focus-visible {
  outline: none;
  border-width: 2px;
}

.aayda-hero-card__read-more:focus-visible,
.aayda-hero__quick-link:focus-visible,
.aayda-hero__control:focus-visible {
  outline: 2px solid var(--aayda-colors-base-white);
  outline-offset: 3px;
}

.aayda-hero__quick-links {
  display: none;
}

/*
 * Below the desktop breakpoint the announcements are a natively scrolling strip, which is what
 * makes a touch swipe work without a single listener or a carousel library. Snapping is what makes
 * the swipe land on a card instead of stopping halfway across one: the gesture stays the browser's,
 * and the resting position becomes a card edge.
 */
.aayda-hero__cards-viewport {
  position: absolute;
  z-index: 1;
  top: 459px;
  left: 8px;
  width: calc(100% - 8px);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.aayda-hero__cards-viewport::-webkit-scrollbar {
  width: 0;
  height: 0;
}

/*
 * While hero.js is driving a drag at this width it writes scrollLeft directly, and mandatory
 * snapping would pull every one of those writes back to the nearest card instead of letting the
 * strip follow the pointer. Snapping returns the moment the pointer is lifted, which is what
 * settles the strip on a card edge.
 */
.aayda-hero__cards-viewport--dragging {
  scroll-snap-type: none;
  cursor: grabbing;
}

.aayda-hero__cards {
  display: flex;
  gap: 8px;
  width: max-content;
  margin: 0;
  padding: 0;
  list-style: none;
  transform: translateX(0);
  transition: transform 300ms ease-out;
}

/* One snap point per card, at its leading edge. */
.aayda-hero__cards > li {
  scroll-snap-align: start;
}

.aayda-hero-card {
  display: flex;
  align-items: flex-start;
  width: 260px;
  height: 106px;
  padding: 8px;
  gap: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border: 0.5px solid #7c7c7d;
  border-radius: 12px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

/*
 * The picture element wraps the image so the desktop and mobile files can be chosen by breakpoint.
 * It becomes the flex item, so it carries the item's box and the image inside it keeps the size —
 * the same arrangement the read-more arrow already uses.
 */
.aayda-hero-card > picture {
  display: block;
  flex: 0 0 auto;
}

.aayda-hero-card__image {
  display: block;
  flex: 0 0 auto;
  width: 104px;
  height: 90px;
  object-fit: cover;
  border-radius: 8px;
}

.aayda-hero-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  min-width: 0;
  height: 90px;
  overflow: hidden;
}

/*
 * Three lines, then an ellipsis — at both breakpoints, because the card's height is the design's and
 * the title is now an editor's.
 *
 * The card was drawn around fixed design copy that fit. It renders a news article's own title, which
 * NewsContentLimits allows up to 300 characters, and the body below has a fixed height, a
 * non-shrinking read-more button and overflow: hidden. Past three lines the title pushes the button
 * out of the box and it is clipped away, taking the card's only link with it. Three is not a round
 * number, it is what the design's own geometry affords:
 *
 *   desktop  116 (body) - 24 (gap) - 31 (button) = 61 available; 3 x 20 (line-height) = 60
 *   mobile    90 (body)            - 27 (button) = 63 available; 3 x 18 (line-height) = 54
 *
 * so a fourth line overflows at either width. Clamping here rather than raising the card keeps the
 * Figma heights (4979:22468) untouched.
 */
.aayda-hero-card__title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  color: var(--aayda-colors-base-white);
  font-size: var(--aayda-typography-size-12);
  font-weight: var(--aayda-typography-weight-semi-bold);
  line-height: 18px;
  letter-spacing: var(--aayda-typography-letter-spacing-12);
}

.aayda-hero-card__read-more {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  color: var(--aayda-colors-base-white);
  font-size: 10px;
  font-weight: var(--aayda-typography-weight-regular);
  line-height: 18px;
  letter-spacing: 0;
  text-decoration: none;
  border: 0.5px solid var(--aayda-colors-base-white);
  border-radius: 100px;
}

.aayda-hero-card__read-more img {
  display: block;
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
}

.aayda-hero__controls {
  display: none;
}

/*
 * 1416px is the project's implementation breakpoint. Figma supplies separate
 * Desktop and Mobile layouts but does not define a responsive breakpoint.
 */
@media (min-width: 1416px) {
  /*
   * Figma Main Content 4979:22463 is the frame less a 12px gutter each side (1416 in 1440), with the
   * header bar on the same edges. The hero keeps that gutter at every desktop width rather than
   * stopping at 1416px and centring, so a wider screen gets a wider hero instead of grey bands; at
   * 1440 the result is the design's exactly. The header follows so the two stay flush.
   */
  .aayda-main-page .aayda-header {
    top: 14px;
    left: 12px;
    width: calc(100vw - 24px);
  }

  .aayda-main-page .aayda-header[data-menu-open="true"] {
    position: absolute;
    top: 14px;
    left: 12px;
    width: calc(100vw - 24px);
  }

  /*
   * The blur header centres its row in 1321px, which is the bar's own content box at 1440 (1416 less
   * its 44/52 padding). Past that the row would float in the middle of a wider bar, away from the
   * hero's text below it; lifting the cap keeps the logo on the bar's left padding at every width.
   */
  .aayda-main-page .aayda-header--blur .aayda-header__inner {
    max-width: none;
  }

  .aayda-hero {
    width: calc(100vw - 24px);
    height: 838px;
    margin-top: 14px;
    margin-left: 12px;
    border-radius: 16px;
  }

  /*
   * Desktop Background 4979:22464 second fill (GRADIENT_LINEAR).
   * Video fill stays on .aayda-hero__video. Mobile 5257:19339 uses a
   * different overlay and is not given this wash.
   *
   * Reproduced verbatim from AAYDA-Frontend/css/components/hero.css, including the absence of a
   * z-index: with none, the pseudo-element is the last positioned child of .aayda-hero__media and
   * paints over the video, while .aayda-hero__content and .aayda-hero__cards-viewport (z-index 1)
   * and .aayda-hero__controls (z-index 2) stay above it. Giving it a z-index would change that
   * order and is deliberately not done.
   */
  .aayda-hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(
      to top,
      rgba(102, 102, 102, 0.25) 0%,
      #102621 0.01%,
      #102621 100%
    );
    opacity: 0.47;
  }

  .aayda-hero__content {
    width: 989px;
    max-width: none;
    margin: 0;
    padding-top: 288px;
    padding-left: 73px;
  }

  .aayda-hero__intro {
    gap: 12px;
    width: 989px;
  }

  /* Figma Main Title 4979:22537 — 989×160, two lines of 80px, no tracking. */
  .aayda-hero__heading {
    width: 989px;
    font-size: 72px;
    font-weight: var(--aayda-typography-weight-regular);
    line-height: 80px;
    letter-spacing: 0;
  }

  /* Figma Subtitle 4979:22538 — 902×36, 24px at 1.5, tracking -0.264px. */
  .aayda-hero__subtitle {
    width: 902px;
    font-size: var(--aayda-typography-size-24);
    line-height: 36px;
    letter-spacing: -0.264px;
  }

  /*
   * Subtitle-to-CTA gap, taken from AAYDA-Frontend/css/components/hero.css:390 rather than from
   * Figma. Figma's Intro Section 4979:22535 puts the CTA 64px below the intro text, but the
   * reference implementation uses 34px and that is the approved result for this spacing.
   * .aayda-hero__content has no row gap, so this margin is the whole of it.
   */
  .aayda-hero__cta {
    margin-top: 34px;
  }

  .aayda-hero__cta:focus-visible .aayda-hero__cta-icon {
    background: var(--aayda-colors-base-white);
  }

  .aayda-hero__cta:focus-visible .aayda-hero__cta-arrow {
    color: var(--aayda-colors-navy-900);
    opacity: 1;
    visibility: visible;
    transform: rotate(45deg);
  }

  .aayda-hero__cta:focus-visible .aayda-hero__cta-arrow path {
    fill: var(--aayda-colors-navy-900);
  }

  .aayda-hero__cta:focus-visible {
    outline: 2px solid var(--aayda-colors-base-white);
    outline-offset: 3px;
    border-width: 0.5px;
  }

  .aayda-hero__cta:active:not(:hover) .aayda-hero__cta-icon {
    background: transparent;
  }

  .aayda-hero__cta:active:not(:hover) .aayda-hero__cta-arrow {
    color: var(--aayda-colors-base-white);
    transform: rotate(0deg);
  }

  .aayda-hero__cta:active:not(:hover) .aayda-hero__cta-arrow path {
    fill: var(--aayda-colors-base-white);
  }

  .aayda-hero__quick-links {
    position: absolute;
    z-index: 1;
    top: 720px;
    left: 72px;
    display: flex;
    align-items: center;

    /*
     * Width comes from the links now. It was 351px when the row was four fixed labels written into
     * the markup; an editor can add or retire one, so the row has to be as wide as whatever it
     * holds. With the design's four that is 349.1px — the same line, within 1.4px.
     */
    height: 20px;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .aayda-hero__quick-links li {
    display: flex;
    align-items: center;
    gap: 2px;
  }

  .aayda-hero__quick-links li:not(:last-child)::after {
    color: var(--aayda-colors-base-white);
    font-size: var(--aayda-typography-size-14);
    line-height: var(--aayda-typography-line-height-14);
    content: "·";
  }

  .aayda-hero__quick-link {
    position: relative;
    display: block;
    height: 20px;
    color: var(--aayda-colors-base-white);
    font-size: var(--aayda-typography-size-14);
    font-weight: var(--aayda-typography-weight-regular);
    line-height: var(--aayda-typography-line-height-14);
    letter-spacing: var(--aayda-typography-letter-spacing-14);
    text-decoration: none;
    white-space: nowrap;
  }

  /*
   * The resting underline, drawn rather than fetched.
   *
   * Each link used to carry its own exported hairline — Line 20/24/25/26, measured to its own label
   * — and its own fixed width to match. Neither survives a row an editor composes: a link created
   * this morning has no exported asset. So the rule is drawn here at the same 0.5px and the same
   * #E2E7EC the exports used, and the anchor takes the width of its own text, which also means the
   * clickable box is exactly the label rather than an asset's width that never quite matched it.
   *
   * The hovered rule below is the same shape in the accent colour, and the two crossfade.
   */
  .aayda-hero__quick-link::before {
    content: "";
    position: absolute;
    bottom: 1.5px;
    left: 0;
    width: 100%;
    height: 0.5px;
    background: #e2e7ec;
    pointer-events: none;
  }

  /*
   * Hover, for every quick link rather than only the first.
   *
   * The hovered colour is the one the design exported for the first link only
   * (hero-quick-link-underline-line-20-hover.svg, stroke #00F296 — the same value as
   * --aayda-colors-accent). Both rules are drawn rather than fetched, so every link in the row gets
   * the same treatment however many an editor has added, and neither depends on an exported file
   * measured to a label that may no longer exist.
   *
   * :focus-visible is on the same rule so the state is reachable from the keyboard. The focus ring
   * further up stays as it is; this only adds the colour change that a mouse user already gets.
   */
  .aayda-hero__quick-link {
    transition: color 300ms ease-out;
  }

  .aayda-hero__quick-link::before {
    transition: opacity 300ms ease-out;
  }

  .aayda-hero__quick-link::after {
    content: "";
    position: absolute;
    bottom: 1.5px;
    left: 0;
    width: 100%;
    height: 0.5px;
    background: var(--aayda-colors-accent);
    opacity: 0;
    pointer-events: none;
    transition: opacity 300ms ease-out;
  }

  .aayda-hero__quick-link:hover,
  .aayda-hero__quick-link:focus-visible {
    color: var(--aayda-colors-accent);
  }

  .aayda-hero__quick-link:hover::before,
  .aayda-hero__quick-link:focus-visible::before {
    opacity: 0;
  }

  .aayda-hero__quick-link:hover::after,
  .aayda-hero__quick-link:focus-visible::after {
    opacity: 1;
  }


  /*
   * Bug-fix 4, correction 42 — Figma's current hero (Desktop/Ana səhifə — v1 4979:22430): the card
   * strip Frame 1618873885 (5023:12925) is 427 wide at (989, 690) inside Main Content 4979:22463, so
   * it closes on the frame's right edge at 1416. Its 308px Hero cards sit 16 apart: the first whole
   * at 989…1297, the second from 1313 and cut by the frame — two cards in view, the second partly,
   * as the design draws them. (The port followed the earlier Info Container 4979:22465: 361px cards
   * at 1012, 14 apart, which left only a 29px sliver of the second card in view.) The strip takes its
   * width from the frame's edge rather than from a card count; the script measures the step from
   * the rendered slides.
   */
  .aayda-hero__cards-viewport {
    top: 690px;

    /*
     * The design's 989 from the left, or 427 from the right (1416 - 989) once the hero is wider
     * than 1416. In the design the cards close the frame on the right, so a wider hero keeps them
     * there, one card and the next one's edge, rather than widening the strip across the middle.
     */
    left: max(989px, calc(100% - 427px));
    right: 0;
    width: auto;
    overflow: hidden;

    /* Desktop moves the track with a transform and never scrolls, so the snap points below the
       breakpoint have nothing to act on here and are switched off rather than left dangling. */
    scroll-snap-type: none;

    /*
     * Because it never scrolls, a finger on a touch screen this wide has nothing to pan and the
     * cards would be reachable only by the arrows. Claiming the horizontal axis hands the sideways
     * gesture to the pointer drag in hero.js, which is the swipe at this width; pan-y leaves the
     * up-and-down gesture to the page, so scrolling past the hero with a finger on a card still
     * works.
     */
    touch-action: pan-y;
  }

  /*
   * No fixed width. The track is as wide as the cards an editor published — the base rule's
   * max-content — and the script measures the step from the rendered slides, so neither file
   * assumes a card count. Frame 1618873885: 16 between the cards (numbers/spacing-16).
   */
  .aayda-hero__cards {
    gap: var(--aayda-numbers-spacing-16);
  }

  /* Drag affordance for the pointer carousel; touch keeps the viewport's own scrolling. */
  .aayda-hero__cards-viewport--dragging {
    cursor: grabbing;
  }

  .aayda-hero__cards-viewport--dragging .aayda-hero__cards {
    transition: none;
  }

  /* Figma Hero card 5023:12906 — 308×132, padding 8; Image 138×116, then 12 to the Description. */
  .aayda-hero-card {
    width: 308px;
    height: 132px;
    gap: var(--aayda-numbers-spacing-12);
    background: rgba(217, 217, 217, 0.05);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }

  .aayda-hero-card__image {
    width: 138px;
    height: 116px;
  }

  /*
   * Description 4979:22483 — 115 tall (Hero card 5300:21175: a three-line title, 24, a 31 button),
   * so the button's bottom edge is the column's: y=92 in a 132 card, 9 above the card's own bottom.
   * Every placed card in the design carries that same three-line title, so 92 is the button's
   * position. A shorter title used to pull the button up behind it (one line put it at 52); the
   * button now takes the remaining space above it (margin-top: auto below), so it stays at 92
   * whatever the title's length, and the 24 gap is what is left between them at three lines.
   */
  .aayda-hero-card__body {
    height: 115px;
    justify-content: flex-start;
    gap: 24px;
  }

  /*
   * Only the leading changes here; the three-line clamp is inherited from the base rule. At 20px
   * that is 60px of the 61px this body leaves between the gap and the button, so the budget is
   * spent — a fourth line, or a taller leading, starts clipping the button again.
   */
  .aayda-hero-card__title {
    line-height: var(--aayda-typography-line-height-12);
  }

  /*
   * Link/Read more 5023:12896 — 31 tall, 2/12 padding, the 90px label and the 28×17 arrow with no gap:
   * 142 wide, which is the whole Description column (308 - 8 - 138 - 12 - 8). The button takes that
   * column's width instead of a fixed 152px wider than the column the card left it, so the arrow is
   * always inside the pill and the pill inside the card; a longer label gives way (ellipsis) rather
   * than pushing the arrow out.
   */
  .aayda-hero-card__read-more {
    width: 100%;
    max-width: 100%;
    height: 31px;

    /* Pinned to the foot of the 115px body, not to the end of the title. */
    margin-top: auto;
    gap: 0;
    padding: 2px 12px;
    font-size: var(--aayda-typography-size-12);
    line-height: var(--aayda-typography-line-height-12);
    letter-spacing: var(--aayda-typography-letter-spacing-12);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    transition:
      color 300ms ease-out,
      border-color 300ms ease-out;
  }

  .aayda-hero-card__read-more span {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .aayda-hero-card__read-more img {
    width: 28px;
    height: 17px;
    transition: transform 300ms ease-out;
  }

  .aayda-hero-card__read-more picture {
    display: block;
    flex: 0 0 auto;
    width: 28px;
    height: 17px;
  }

  .aayda-hero-card__read-more:hover img,
  .aayda-hero-card__read-more:focus-visible img {
    transform: translateX(3px);
  }

  .aayda-hero__controls {
    position: absolute;
    z-index: 2;
    top: 608px;
    right: 51px;
    display: flex;
    gap: 6px;
  }

  .aayda-hero__control {
    position: relative;
    display: block;
    width: 48px;
    height: 48px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 50%;
  }

  .aayda-hero__control-icon {
    display: block;
    width: 48px;
    height: 48px;
    transition: opacity 300ms ease-out;
  }

  .aayda-hero__control-icon--hover {
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
  }

  .aayda-hero__control--next .aayda-hero__control-icon--default {
    transform: rotate(180deg);
  }

  .aayda-hero__control:hover .aayda-hero__control-icon--default {
    opacity: 0;
  }

  .aayda-hero__control:hover .aayda-hero__control-icon--hover {
    opacity: 1;
  }

  .aayda-hero__control[aria-disabled="true"] {
    cursor: not-allowed;
  }

  .aayda-hero__control:disabled {
    cursor: not-allowed;
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .aayda-hero__cta,
  .aayda-hero__cta-icon,
  .aayda-hero__cta-arrow,
  .aayda-hero__cta-arrow path,
  .aayda-hero-card__read-more,
  .aayda-hero-card__read-more img,
  .aayda-hero__control,
  .aayda-hero__control-icon,
  .aayda-hero__cards,
  .aayda-hero__quick-link,
  .aayda-hero__quick-link::before,
  .aayda-hero__quick-link::after {
    transition: none;
  }

  /* A snapped strip still jumps between cards; only the animation between them is dropped. */
  .aayda-hero__cards-viewport {
    scroll-behavior: auto;
  }
}

/* ===========================================================================
 * Bug-fix 2, correction 24 (annotated screenshot) — the hero's call to action and slide arrows.
 * =========================================================================== */

/* The CTA answered the pointer too slowly ("Heroda olan buttonun sürəti aşağıdır"): Figma's GENTLE
   1.0221s, halved on the same curve, as the FAQ arrow's was at the owner's request. A user-requested
   timing, not Figma's. */
.aayda-hero__cta {
  transition:
    background-color 511ms cubic-bezier(0.33, 1, 0.68, 1),
    border-color 511ms cubic-bezier(0.33, 1, 0.68, 1);
}

.aayda-hero__cta-icon {
  transition: background-color 511ms cubic-bezier(0.33, 1, 0.68, 1);
}

.aayda-hero__cta-arrow {
  transition:
    transform 511ms cubic-bezier(0.33, 1, 0.68, 1),
    color 511ms cubic-bezier(0.33, 1, 0.68, 1);
}

.aayda-hero__cta-arrow path {
  transition: fill 511ms cubic-bezier(0.33, 1, 0.68, 1);
}

/* The slide arrows ("Hover zamanı arrow əsir"): the hover images drew their arrow 1px off the default
   ones, so the cross-fade made it jump. hero-card-previous-hover.svg and hero-card-next-hover.svg now
   draw it exactly where the default (and the default turned 180°) does; only the colour changes. */

@media (prefers-reduced-motion: reduce) {
  .aayda-hero__cta,
  .aayda-hero__cta-icon,
  .aayda-hero__cta-arrow,
  .aayda-hero__cta-arrow path {
    transition: none;
  }
}
