/* “Layihələrimiz / Böyük qayıdış”
 * Desktop visual: Böyük qayıdış / Interactive 10355:35778 (re-measured 2026-10-05; the panel,
 * the card row, the 1272×531 preview, the 391-wide info card and the arrows follow it).
 * Desktop slider: Böyük qayıdış / Interactive (10331:36482).
 * Mobile: Frame 1618873946 / 5301:23495 (no arrows).
 */

.aayda-projects {
  display: none;
}

.aayda-projects__inner--mobile {
  display: none;
}

/*
 * The live region that names the selected project, for assistive technology only — the hero's
 * own visually-hidden pattern. Nothing in the design changes.
 */
.aayda-projects__status {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 1416px) {
  .aayda-projects {
    display: block;
    width: 100%;
    max-width: var(--aayda-container-desktop);
    margin-inline: auto;
    /* Cards bottom y=3513 → Contact Section y=3637 = 124px of page fill
     * #F3F4F6 (not body #FFFFFF). Use padding, not margin, so the gap is
     * painted. Same fill on the 20px gutters around the 1400px panel. */
    padding-top: 124px;
    background: var(--aayda-colors-surface-disabled);
    font-family: var(--aayda-typography-font-primary);
    color: var(--aayda-colors-text);
  }

  .aayda-projects__panel {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-sizing: border-box;
    width: 1400px;
    /* The design's 927px is a floor, not a ceiling. Real titles wrap to three or four lines, the
     * cards grow with them, and the panel grows with the cards rather than letting the preview run
     * out of its bottom edge. The bottom padding is the 72px the homepage frame (Contact Section
     * 4979:22444: 959 tall, preview 368 + 519 = 887) leaves under the preview (2026-11-28; it was
     * 25px, from the 927px Interactive frame 10355:35778). */
    min-height: 927px;
    margin-left: 20px;
    padding: 64px 64px 72px;
    overflow: visible;
    background: #e8ebed;
    border-radius: 16px;
    gap: var(--aayda-numbers-spacing-20);
  }

  /* 10313:35539: title block 92 + gap 36 + the 159px card row = 287, which puts the preview at
   * y=371 of the panel as the design has it. */
  .aayda-projects__container {
    position: relative;
    width: var(--aayda-container-content);
    min-height: 287px;
  }

  .aayda-projects__title-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--aayda-numbers-spacing-16);
    width: 383px;
    height: 92px;
    overflow: visible;
  }

  .aayda-projects__badge {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    gap: var(--aayda-numbers-spacing-4);
    box-sizing: border-box;
    width: max-content;
    max-width: 100%;
    height: 28px;
    padding: 3px 15px 3px 11px;
    margin: 0;
    font-size: var(--aayda-typography-size-12);
    font-weight: var(--aayda-typography-weight-medium);
    line-height: var(--aayda-typography-line-height-12);
    letter-spacing: var(--aayda-typography-letter-spacing-12);
    color: var(--aayda-colors-text);
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.46);
    border: 1px solid var(--aayda-colors-base-white);
    border-radius: 28px;
  }

  .aayda-projects__badge-icon {
    display: block;
    flex-shrink: 0;
    width: 15px;
    height: 14px;
  }

  .aayda-projects__badge-icon img {
    display: block;
    width: 11px;
    height: 11px;
    margin: 2px 0 0 2px;
    max-width: none;
  }

  .aayda-projects__title {
    box-sizing: border-box;
    width: 383px;
    height: 48px;
    margin: 0;
    overflow: visible;
    font-size: var(--aayda-typography-size-40);
    font-weight: var(--aayda-typography-weight-semi-bold);
    line-height: var(--aayda-typography-line-height-40);
    letter-spacing: var(--aayda-typography-letter-spacing-40);
    color: var(--aayda-colors-text);
    white-space: nowrap;
  }

  .aayda-projects__all {
    position: absolute;
    top: 58px;
    left: 1100px;
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    gap: 3px;
    box-sizing: border-box;
    width: 168px;
    height: 30px;
    padding: 0;
    color: var(--aayda-colors-blue-400);
    background: transparent;
    border: 0;
    cursor: default;
    transition:
      gap 300ms ease-out,
      color 300ms ease-out,
      width 300ms ease-out;
  }

  .aayda-projects__all-label {
    font-size: var(--aayda-typography-size-20);
    font-weight: var(--aayda-typography-weight-semi-bold);
    line-height: var(--aayda-typography-line-height-20);
    letter-spacing: var(--aayda-typography-letter-spacing-20);
    white-space: nowrap;
  }

  .aayda-projects__all-arrow {
    position: relative;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    overflow: hidden;
  }

  .aayda-projects__all-arrow img {
    position: absolute;
    inset: 0;
    display: block;
    width: 30px;
    height: 30px;
    max-width: none;
    transition: opacity 300ms ease-out;
  }

  .aayda-projects__all-arrow-hover {
    opacity: 0;
  }

  .aayda-projects__all:hover,
  .aayda-projects__all:focus-visible {
    gap: 8px;
    width: 173px;
    color: var(--aayda-colors-news-link-hover);
  }

  .aayda-projects__all:hover .aayda-projects__all-arrow-hover,
  .aayda-projects__all:focus-visible .aayda-projects__all-arrow-hover {
    opacity: 1;
  }

  .aayda-projects__all:hover .aayda-projects__all-arrow-default,
  .aayda-projects__all:focus-visible .aayda-projects__all-arrow-default {
    opacity: 0;
  }

  .aayda-projects__all:focus-visible {
    outline: 2px solid var(--aayda-colors-blue-400);
    outline-offset: 3px;
  }

  /* Böyük qayıdış / Carousel 10313:35542: four equal, fixed-height boxes. The row is the cards'
   * own 156px, so no title — and no tab change — moves what sits below it. */
  .aayda-projects__list {
    display: flex;
    align-items: stretch;
    /* 10313:35542 lays the four tabs out with a 10px gap. The selected card's 2px ring is drawn
     * outside its box, so the gap either side of it reads as 8px rather than the design's 10 —
     * accepted over a box that changes size with the selection, which would shift the row by 2px
     * on every autoplay step. */
    gap: var(--aayda-numbers-spacing-10);
    width: 1272px;
    height: 156px;
    margin-top: 36px;
    overflow: visible;
  }

  .aayda-projects__teaser {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    gap: 20px;
    box-sizing: border-box;
    width: 309px;
    /* Road/Project teaser (component of 10331:36482): FIXED 156px tall, in every one of the 32
     * variants. 24 + 4 (track) + 20 + 31 (title row) + 30 + 22 (region line) + 24 = 155 of it is
     * content; the title and the region line are clamped to the one line each the design gives
     * them, so a long title ends in an ellipsis instead of growing the card (decision 2026-10-16,
     * replacing the 2026-10-05 "height is a floor"). The full text stays in the DOM for assistive
     * technology. */
    height: 156px;
    padding: 24px 22px;
    overflow: visible;
    font: inherit;
    text-align: left;
    color: inherit;
    background: #d9dddf;
    border: 0;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 0 0 0 transparent;
    transition:
      background-color 300ms cubic-bezier(0, 0, 0.58, 1),
      box-shadow 300ms cubic-bezier(0, 0, 0.58, 1),
      color 300ms cubic-bezier(0, 0, 0.58, 1);
  }

  .aayda-projects__teaser-track {
    position: relative;
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 3px;
    width: 265px;
    height: 4px;
  }

  /* One pill per video of the card's own project (2–4), sharing the track's whole 265px equally
   * with the design's 3px gap between them (Progress/Track, 10313:35542): 64px each at four, as the
   * design draws it; (265 - 2 × 3) / 3 = 86.3px at three; (265 - 3) / 2 = 131px at two. So the
   * track always spans the card, and there is never a segment for a video that does not exist. */
  .aayda-projects__teaser-pill {
    display: block;
    flex: 1 1 0;
    min-width: 0;
    height: 4px;
    overflow: hidden;
    background: #bfc7d4;
    border-radius: 4px;
  }

  .aayda-projects__teaser-pill-fill {
    display: block;
    width: 0;
    height: 4px;
    background: #153c91;
    border-radius: 4px;
  }

  .aayda-projects__teaser-copy {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 265px;
  }

  .aayda-projects__teaser-row {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 56px;
    width: 265px;
    transition: gap 300ms cubic-bezier(0, 0, 0.58, 1);
  }

  /* Number 10313:35542 › Frame 1618874201: 181px, 15/20, one line in the 31px row. */
  .aayda-projects__teaser-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    width: 181px;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    overflow-wrap: anywhere;
    font-size: 15px;
    font-weight: var(--aayda-typography-weight-bold);
    line-height: var(--aayda-typography-line-height-14);
    letter-spacing: var(--aayda-typography-letter-spacing-14);
    color: var(--aayda-colors-gray-800);
    transition: color 300ms cubic-bezier(0, 0, 0.58, 1);
  }

  .aayda-projects__teaser-arrow {
    position: relative;
    display: block;
    flex-shrink: 0;
    width: 31px;
    height: 31px;
    overflow: hidden;
  }

  .aayda-projects__teaser-arrow-icon {
    position: absolute;
    inset: 0;
    display: block;
    width: 31px;
    height: 31px;
    max-width: none;
    opacity: 1;
    transition:
      opacity 300ms cubic-bezier(0, 0, 0.58, 1),
      transform 300ms cubic-bezier(0, 0, 0.58, 1);
  }

  .aayda-projects__teaser-arrow-icon--selected {
    opacity: 0;
  }

  /* Text 10313:35542: a FIXED 22px box holding one 20px line. Clamped to that line; the 2px the box
   * has beyond it is a bottom margin rather than height, because a clamped box taller than its
   * lines paints the top of the next one. */
  .aayda-projects__teaser-body {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    width: 265px;
    margin: 0 0 2px;
    overflow: hidden;
    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);
    color: var(--aayda-colors-navy-900);
    overflow-wrap: anywhere;
  }

  .aayda-projects__teaser:hover,
  .aayda-projects__teaser:focus-visible {
    background: rgb(251 251 251 / 35%);
    box-shadow: 0 0 0 2px var(--aayda-colors-base-white);
  }

  .aayda-projects__teaser:hover .aayda-projects__teaser-row,
  .aayda-projects__teaser:focus-visible .aayda-projects__teaser-row {
    gap: 57px;
  }

  /* Road/Project teaser 3566:37839: Default → Hover (ON_HOVER, Smart Animate, Ease Out, 300ms) turns
   * the one stash:arrow-up-light vector from -45° to -90° about the 31px frame's centre, so the arrow
   * swings 45° clockwise from ↗ to → and swings back when the pointer leaves. */
  .aayda-projects__teaser:hover .aayda-projects__teaser-arrow-icon--default,
  .aayda-projects__teaser:focus-visible .aayda-projects__teaser-arrow-icon--default {
    transform: rotate(45deg);
  }

  .aayda-projects__teaser.is-selected {
    background: rgb(255 255 255 / 77%);
    box-shadow: 0 0 0 2px var(--aayda-colors-base-white);
    cursor: default;
  }

  .aayda-projects__teaser.is-selected .aayda-projects__teaser-row,
  .aayda-projects__teaser.is-selected:hover .aayda-projects__teaser-row,
  .aayda-projects__teaser.is-selected:focus-visible .aayda-projects__teaser-row {
    gap: 58px;
  }

  .aayda-projects__teaser.is-selected .aayda-projects__teaser-title {
    color: var(--aayda-colors-navy-900);
  }

  .aayda-projects__teaser.is-selected .aayda-projects__teaser-arrow-icon--selected,
  .aayda-projects__teaser.is-selected:hover .aayda-projects__teaser-arrow-icon--selected,
  .aayda-projects__teaser.is-selected:focus-visible .aayda-projects__teaser-arrow-icon--selected {
    opacity: 1;
  }

  .aayda-projects__teaser.is-selected .aayda-projects__teaser-arrow-icon--default,
  .aayda-projects__teaser.is-selected:hover .aayda-projects__teaser-arrow-icon--default,
  .aayda-projects__teaser.is-selected:focus-visible .aayda-projects__teaser-arrow-icon--default {
    opacity: 0;
  }

  .aayda-projects__teaser.is-selected:hover,
  .aayda-projects__teaser.is-selected:focus-visible {
    background: rgb(255 255 255 / 77%);
    box-shadow: 0 0 0 2px var(--aayda-colors-base-white);
  }

  .aayda-projects__teaser:focus-visible {
    outline: 2px solid var(--aayda-colors-blue-400);
    outline-offset: 3px;
  }

  /* Video/Feature section 10313:35549: 1272×531, radius 20, and a flex row with padding 14 / 0 /
   * 10 / 28 whose only flowing child is the info card, centred in that band. The clip sits behind
   * as a cover layer. Fixed at 531: the card inside is a fixed 391×475, so no content length can
   * grow the band or move what sits below it. */
  .aayda-projects__video {
    position: relative;
    display: flex;
    flex-shrink: 0;
    align-items: center;
    box-sizing: border-box;
    width: 1272px;
    height: 531px;
    padding: 14px 0 10px 28px;
    overflow: hidden;
    border-radius: 20px;
  }

  /* An author display beats the hidden attribute's own, so the pairing the hero's poster and the
   * FAQ panel already make: a panel that is not the selected project's stays out of the flow. */
  .aayda-projects__video[hidden] {
    display: none;
  }

  /* A project with no clip: the preview box stays, in the section's own navy, so the About
   * overlay and its call to action still read and the panel keeps its shape. The same rule the
   * road and crossing cards follow for a missing picture. */
  .aayda-projects__video--empty {
    background: var(--aayda-colors-navy-900);
  }

  /* A project's clips are stacked in its panel; only the playing one is shown (hidden on the rest).
   * The display below would otherwise override the hidden attribute. */
  .aayda-projects__video-media[hidden] {
    display: none;
  }

  .aayda-projects__video-media {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
  }

  /* Frame 1618874269 (10313:35550): 391×475 at (28, 30) — padding 32/48 inside a 1px stroke, so
   * the text sits at (49, 33) of the box, a 40px gap, then the call to action. Fixed at the design's
   * size: 475 - 2 × 33 - 40 - 49 leaves the text column exactly the design's 320px (heading 26 +
   * 20 + description 182 + 20 + indicators 72), and the button lands at y=393, where the design
   * draws it. Content never resizes the card: a longer text scrolls inside its column (below). The
   * stroke is painted by the glass layer, so the padding carries its 1px here. */
  .aayda-projects__info {
    position: relative;
    z-index: 1;
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 40px;
    box-sizing: border-box;
    width: 391px;
    height: 475px;
    padding: 33px 49px;
  }

  .aayda-projects__info-glass {
    position: absolute;
    inset: 0;
    box-sizing: border-box;
    pointer-events: none;
    /* 10313:35550: #D9D9D9 @ 1%, 1px white 25% stroke, radius 16, background blur 9px. */
    background: rgb(217 217 217 / 1%);
    border: 1px solid rgb(255 255 255 / 25%);
    border-radius: 16px;
    -webkit-backdrop-filter: blur(9px);
    backdrop-filter: blur(9px);
  }

  /* Frame 1618874268 (10313:35551): the text column — heading, description and indicator lines
   * 20px apart — as wide as the card's content, which is the width the call to action hugs to
   * (293 in the design's own type). */
  .aayda-projects__info-content {
    /* Positioned so it paints above the absolutely placed glass behind it — in flow and
     * unpositioned it would sit under the glass and be blurred by its own backdrop filter. */
    position: relative;
    display: flex;

    /* The one flexible part of the fixed card: it takes what the button and the gap leave (320px)
     * and never more. Content longer than the design's — an editor's description, features, more
     * indicator lines — scrolls inside it rather than growing the card, so nothing is cut and
     * nothing reaches the button. Thin, light scrollbar only when there is something to scroll. */
    flex: 1 1 auto;
    min-height: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--aayda-numbers-spacing-20);
    overflow: hidden auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgb(255 255 255 / 40%) transparent;
    color: var(--aayda-colors-text-on-brand);
  }

  /* In a scrolling column a flex item would otherwise shrink below its text. */
  .aayda-projects__info-content > * {
    flex-shrink: 0;
  }

  .aayda-projects__info-title {
    margin: 0;
    font-size: var(--aayda-typography-size-20);
    font-weight: var(--aayda-typography-weight-bold);
    line-height: var(--aayda-typography-line-height-20);
    letter-spacing: var(--aayda-typography-letter-spacing-20);
  }

  .aayda-projects__info-body-text {
    width: 283px;
    font-size: var(--aayda-typography-size-16);
    font-weight: var(--aayda-typography-weight-regular);
    line-height: var(--aayda-typography-line-height-16);
    letter-spacing: var(--aayda-typography-letter-spacing-16);
  }

  .aayda-projects__info-body-text p + p {
    margin-top: 26px;
  }

  /* The project's main features, as lines of the block in the indicator lines' own measure (16px,
   * line-height 1.5): the specification puts them in "Haqqında", and the audited card has no slot
   * of its own for them. */
  .aayda-projects__info-features {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    margin: 0;
    padding: 0;
    font-size: var(--aayda-typography-size-16);
    font-weight: var(--aayda-typography-weight-regular);
    line-height: 1.5;
    letter-spacing: var(--aayda-typography-letter-spacing-16);
    list-style: none;
    color: var(--aayda-colors-text-on-brand);
  }

  .aayda-projects__info-feature {
    display: block;
    overflow-wrap: anywhere;
  }

  /* min-content at least as wide as the column (the design's min-w-full / w-min-content): the
   * lines fill the column and wrap inside it, and a long label never widens the card. */
  .aayda-projects__info-stats {
    display: flex;
    flex-direction: column;
    width: min-content;
    min-width: 100%;
    margin: 0;
    font-size: var(--aayda-typography-size-16);
    line-height: 1.5;
    color: var(--aayda-colors-text-on-brand);
  }

  .aayda-projects__info-stats-line {
    display: block;
  }

  .aayda-projects__info-stats-strong {
    font-weight: var(--aayda-typography-weight-extra-bold);
  }

  .aayda-projects__info-stats-regular {
    font-weight: var(--aayda-typography-weight-regular);
  }

  /* Button/Main action 3696:39048 as placed in 10313:35556: 293×49, padding 3 / 3 / 3 / 71, gap
   * 58, radius 44, white 12% over a 5.6px blur, 0.5px white stroke. It flows after the text block
   * at the card's 40px gap instead of being pinned to a fixed bottom. */
  .aayda-projects__cta {
    position: relative;
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 58px;
    box-sizing: border-box;
    width: 100%;
    height: 49px;
    padding: 0 3px 0 71px;
    color: var(--aayda-colors-text-on-brand);
    text-decoration: none;
    background: rgb(255 255 255 / 12%);
    border: 0.5px solid var(--aayda-colors-base-white);
    border-radius: 44px;
    cursor: pointer;
    -webkit-backdrop-filter: blur(5.6px);
    backdrop-filter: blur(5.6px);
  }

  .aayda-projects__cta-label {
    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);
    white-space: nowrap;
  }

  .aayda-projects__cta-icon {
    position: relative;
    display: grid;
    flex-shrink: 0;
    /* Pin the 43×43 circle to Figma padding-right 4px. Leftover flex space
     * from a shorter label must not collect on the right of the circle. */
    margin-left: auto;
    width: 43px;
    height: 43px;
    overflow: hidden;
    border: 0.5px solid var(--aayda-colors-base-white);
    border-radius: 24px;
    place-items: center;
    /* Figma GENTLE 1022ms — same cubic-bezier already used on Hero CTA. */
    transition: background-color 1.0221s cubic-bezier(0.33, 1, 0.68, 1);
  }

  .aayda-projects__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;
    transition: transform 1.0221s cubic-bezier(0.33, 1, 0.68, 1);
  }

  .aayda-projects__cta-arrow path {
    fill: var(--aayda-colors-base-white);
    opacity: 1;
    visibility: visible;
    transition: fill 1.0221s cubic-bezier(0.33, 1, 0.68, 1);
  }

  .aayda-projects__cta:hover .aayda-projects__cta-icon,
  .aayda-projects__cta:focus-visible .aayda-projects__cta-icon {
    background: var(--aayda-colors-base-white);
  }

  .aayda-projects__cta:hover .aayda-projects__cta-arrow,
  .aayda-projects__cta:focus-visible .aayda-projects__cta-arrow {
    color: var(--aayda-colors-navy-900);
    transform: rotate(45deg);
  }

  .aayda-projects__cta:hover .aayda-projects__cta-arrow path,
  .aayda-projects__cta:focus-visible .aayda-projects__cta-arrow path {
    fill: var(--aayda-colors-navy-900);
  }

  .aayda-projects__cta:focus-visible {
    outline: 2px solid var(--aayda-colors-base-white);
    outline-offset: 3px;
  }

  /* 10313:35557 / 35559: 30×30 at y=469 of the 531 preview, i.e. 32px above its bottom edge.
   * Anchored to the panel's bottom (25px padding + 32) rather than its top, so the arrows stay with
   * the preview when longer titles or a longer description push it down. */
  /* The arrows and the dots step through the selected project's videos; they are hidden while a
   * project without a complete collection (2–4) is selected. Each project has its own row of dots,
   * and only the selected project's row is shown. */
  .aayda-projects__carousel[hidden],
  .aayda-projects__pagination[hidden] {
    display: none;
  }

  /* Held 32px above the preview's bottom edge: 72px panel padding + 32. */
  .aayda-projects__carousel {
    position: absolute;
    bottom: 104px;
    z-index: 2;
    display: block;
    width: 30px;
    height: 30px;
    padding: 0;
    color: var(--aayda-colors-base-white);
    pointer-events: auto;
    background: transparent;
    border: 0;
    cursor: pointer;
    transition: color 200ms cubic-bezier(0, 0, 0.58, 1);
  }

  .aayda-projects__carousel-icon {
    display: block;
    width: 30px;
    height: 30px;
    max-width: none;
    pointer-events: none;
    fill: currentColor;
  }

  /* cil:arrow-top 4979:22455 — visual AABB after −90° is still x=1222. */
  .aayda-projects__carousel--prev {
    left: 1222px;
  }

  .aayda-projects__carousel--prev .aayda-projects__carousel-icon {
    transform: rotate(-90deg);
  }

  /* cil:arrow-top 4979:22457 — layout x=1296, visual AABB x=1266 after flip/−90°. */
  .aayda-projects__carousel--next {
    left: 1266px;
  }

  .aayda-projects__carousel--next .aayda-projects__carousel-icon {
    transform: rotate(90deg);
  }

  .aayda-projects__carousel:hover,
  .aayda-projects__carousel:focus-visible {
    color: var(--aayda-colors-accent);
  }

  .aayda-projects__carousel:focus-visible {
    outline: 2px solid var(--aayda-colors-base-white);
    outline-offset: 3px;
  }

  /* Pagination 4979:22492 — the specification's indicators. Not in 10355:35778, kept by decision.
   * Held 33px above the preview's bottom edge: 72px panel padding + 33. */
  .aayda-projects__pagination {
    position: absolute;
    bottom: 105px;
    left: 771px;
    display: flex;
    align-items: center;
    box-sizing: border-box;

    /* 82px at the design's four dots (8 + 21 + 3 × (8 + 7) + 8); it hugs a project's 2 or 3. */
    width: max-content;
    height: 23px;
    padding: var(--aayda-numbers-spacing-8);
    gap: var(--aayda-numbers-spacing-8);

    /* The row itself stays transparent to the pointer — it overlays the preview — but its dots pick
     * a project, so they take events back. */
    pointer-events: none;
    background: rgb(113 113 113 / 8%);
    border-radius: 99px;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }

  /* The dot picks a project, so it is a button. The reset keeps the 7px box the design draws — a
   * button brings padding and a border that would grow it otherwise. */
  .aayda-projects__pagination-dot {
    position: relative;
    flex-shrink: 0;
    width: 7px;
    height: 7px;
    padding: 0;
    background: #b8b8b8;
    border: 0;
    border-radius: 99px;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    pointer-events: auto;
    transition:
      width 350ms cubic-bezier(0, 0, 0.58, 1),
      background-color 350ms cubic-bezier(0, 0, 0.58, 1);
  }

  /* A 7px target is too small for a finger. The hit area is widened to the row's own height and to
   * the midpoint of the gap either side; nothing is painted, so the dot looks exactly as designed. */
  .aayda-projects__pagination-dot::after {
    content: "";
    position: absolute;
    inset: -8px -4px;
  }

  .aayda-projects__pagination-dot:focus-visible {
    outline: 2px solid var(--aayda-colors-base-white);
    outline-offset: 3px;
  }

  .aayda-projects__pagination-dot--active {
    width: 21px;
    background: #9f9c9c;
  }

  @media (prefers-reduced-motion: reduce) {
    .aayda-projects__all,
    .aayda-projects__all-arrow img,
    .aayda-projects__teaser,
    .aayda-projects__teaser-row,
    .aayda-projects__teaser-arrow-icon,
    .aayda-projects__teaser-pill-fill,
    .aayda-projects__carousel,
    .aayda-projects__pagination-dot,
    .aayda-projects__cta-icon,
    .aayda-projects__cta-arrow,
    .aayda-projects__cta-arrow path {
      transition: none;
    }
  }
}

/* -------------------------------------------------------------------------- */
/* Mobile — Figma 5301:23495 (frame 370×1113 on 402 page). Static.            */
/* Desktop rules above are locked. No hover / carousel here; swipe instead.   */
/* -------------------------------------------------------------------------- */

@media (max-width: 1415px) {
  .aayda-projects {
    display: block;
    box-sizing: border-box;
    width: 100%;
    max-width: 402px;
    margin: 0 auto;
    /* Stats 5257:19387 bottom y=4174 → panel y=4190 = 16px of page #F3F4F6.
     * Side gutters 16px (panel x=16, 370 wide on 402). Paint with padding. */
    padding: 16px 16px 0;
    background: var(--aayda-colors-surface-disabled);
    font-family: var(--aayda-typography-font-primary);
    color: var(--aayda-colors-text);
  }

  .aayda-projects__panel {
    display: none;
  }

  /* pan-y: vertical scrolling stays the browser's; a mostly horizontal finger movement is left
   * to the script, which reads it as a swipe between projects. */
  .aayda-projects__inner--mobile {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    box-sizing: border-box;
    touch-action: pan-y;
    width: 370px;
    max-width: 100%;
    /* A floor: the 2x2 card grid grows with long titles, and the block grows with it. */
    min-height: 1113px;
    margin: 0 auto;
    padding: 24px 16px;
    overflow: hidden;
    background: #e8ebed;
    border-radius: 12px;
    gap: var(--aayda-numbers-spacing-20);
  }

  .aayda-projects__top--mobile {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-shrink: 0;
    width: 338px;
    max-width: 100%;
    min-height: 384px;
    gap: var(--aayda-numbers-spacing-16);
  }

  .aayda-projects__title-block--mobile {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-shrink: 0;
    gap: var(--aayda-numbers-spacing-12);
    width: 170px;
    height: 72px;
    overflow: visible;
  }

  .aayda-projects__badge--mobile {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    gap: var(--aayda-numbers-spacing-4);
    box-sizing: border-box;
    width: max-content;
    max-width: 100%;
    height: 28px;
    padding: 3px 15px 3px 11px;
    margin: 0;
    font-size: var(--aayda-typography-size-12);
    font-weight: var(--aayda-typography-weight-medium);
    line-height: var(--aayda-typography-line-height-12);
    letter-spacing: var(--aayda-typography-letter-spacing-12);
    color: var(--aayda-colors-text);
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.46);
    border: 1px solid var(--aayda-colors-base-white);
    border-radius: 28px;
  }

  .aayda-projects__badge-icon--mobile {
    display: block;
    flex-shrink: 0;
    width: 15px;
    height: 14px;
  }

  .aayda-projects__badge-icon--mobile img {
    display: block;
    width: 11px;
    height: 11px;
    margin: 2px 0 0 2px;
    max-width: none;
  }

  .aayda-projects__title--mobile {
    box-sizing: border-box;
    width: 145px;
    height: 32px;
    margin: 0;
    overflow: visible;
    font-size: var(--aayda-typography-size-24);
    font-weight: var(--aayda-typography-weight-semi-bold);
    line-height: var(--aayda-typography-line-height-heading-24);
    letter-spacing: var(--aayda-typography-letter-spacing-24);
    color: var(--aayda-colors-text);
    white-space: nowrap;
  }

  .aayda-projects__list--mobile {
    display: grid;
    flex-shrink: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    /* Mobile 5301:23495: two rows of FIXED 163×142 cards, 12px apart. The text is clamped to the
     * card (below), so a row is always 142px and the preview under the grid never moves. */
    grid-template-rows: repeat(2, 142px);
    gap: 12px;
    width: 100%;
    max-width: 338px;
    min-height: 296px;
  }

  .aayda-projects__teaser--mobile {
    position: relative;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    width: 100%;
    /* Road/Project teaser mobile instances: FIXED 142px. 20 + 2 (track) + 16 + 36 (two title lines)
     * + 16 + 36 (two region lines) + 16 = 142, which is why both texts are clamped to two lines. */
    height: 142px;
    padding: 20px 22px 16px 12px;
    overflow: visible;
    background: #d9dddf;
    border: 0;
    border-radius: 12px;
    gap: var(--aayda-numbers-spacing-16);
  }

  /* The design's 1px white stroke, painted inside the box rather than as a border: with the card
   * heights following their content, a border made the selected card 2px taller than the same card
   * unselected, and the grid row and the preview under it moved by that much with every selection.
   * Same pixels, no movement. */
  .aayda-projects__teaser--mobile-selected {
    padding: 20px 20px 16px 8px;
    box-shadow: inset 0 0 0 1px var(--aayda-colors-base-white);
  }

  /* The card selects a project below this breakpoint too, so it says so with the cursor and shows
   * a ring when the keyboard reaches it. The Desktop card already carries both; the Mobile one had
   * neither, because nothing here was selectable before. Same token and offset as Desktop — no new
   * treatment, and the box is untouched. */
  .aayda-projects__teaser--mobile {
    cursor: pointer;
  }

  .aayda-projects__teaser--mobile:focus-visible {
    outline: 2px solid var(--aayda-colors-blue-400);
    outline-offset: 3px;
  }

  /* Progress bar 5301:23423: a 2px-tall row whose 4px segments are centred on it, so the content
   * below starts 16px under the 2px line (y=38 in the card). */
  .aayda-projects__teaser-track--mobile {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: var(--aayda-numbers-spacing-4);
    width: 142px;
    height: 2px;
    overflow: visible;
  }

  /* One segment per video of the card's own project, sharing the 142px track equally with its gap:
   * (142 - 3 × 4) / 4 = 32.5px each at four, 44.7px at three, 69px at two. */
  .aayda-projects__teaser-pill--mobile {
    display: block;
    flex: 1 1 0;
    min-width: 0;
    height: 4px;
    background: var(--aayda-colors-base-white);
    border-radius: 4px;
  }

  .aayda-projects__teaser-pill--mobile-active {
    background: #133888;
  }

  /* Content 5301:23428: a fixed 145px column — title row and region line — that runs 16px into
   * the card's right padding, which is what puts the arrow at x=141 of the 163px card. On a
   * narrower card it gives that overrun up first and keeps 6px inside the edge. */
  .aayda-projects__teaser-copy--mobile {
    display: flex;
    flex-direction: column;
    gap: var(--aayda-numbers-spacing-16);
    width: 145px;
    max-width: calc(100% + 16px);
  }

  /* Project card 5301:23429: the 121px title and the 16px arrow at the row's two ends, bottom-
   * aligned, so the arrow sits on the title's last line however many lines it runs to. */
  .aayda-projects__teaser-row--mobile {
    display: flex;
    flex-shrink: 0;
    align-items: flex-end;
    justify-content: space-between;
    width: 100%;
  }

  /* Number: 121px, 12/18, two lines (36px) in the design; clamped there. */
  .aayda-projects__teaser-title--mobile {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    width: 121px;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    overflow-wrap: anywhere;
    font-size: var(--aayda-typography-size-12);
    font-weight: var(--aayda-typography-weight-semi-bold);
    line-height: var(--aayda-typography-line-height-10);
    letter-spacing: var(--aayda-typography-letter-spacing-12);
    color: var(--aayda-colors-text);
  }

  .aayda-projects__teaser-arrow--mobile {
    display: block;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    overflow: visible;
    pointer-events: none;
    background-color: #133888;
    /* Same cil:arrow-top path as projects-teaser-arrow.svg, fill white so the
     * mask is fully opaque (dark #0E275C SVG would fail as a luminance mask). */
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M18.3105 7.06055L12 0.75L5.6895 7.06055L6.75019 8.12119L11.25 3.62128V23.2142H12.75V3.62142L17.2498 8.12119L18.3105 7.06055Z' fill='white'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M18.3105 7.06055L12 0.75L5.6895 7.06055L6.75019 8.12119L11.25 3.62128V23.2142H12.75V3.62142L17.2498 8.12119L18.3105 7.06055Z' fill='white'/%3E%3C/svg%3E");
    -webkit-mask-size: 16px 16px;
    mask-size: 16px 16px;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    mask-mode: alpha;
    -webkit-mask-mode: alpha;
    -webkit-mask-source-type: alpha;
    transform: rotate(90deg);
    transform-origin: center;
  }

  .aayda-projects__teaser-arrow-icon--mobile {
    display: block;
    width: 16px;
    height: 16px;
    max-width: none;
    opacity: 0;
  }

  /* Text: 10/18, two lines (36px) in the design; clamped there. 36 is exactly two lines, so the
   * floor never exposes a third. */
  .aayda-projects__teaser-body--mobile {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    width: 145px;
    max-width: 100%;
    min-height: 36px;
    margin: 0;
    overflow: hidden;
    overflow-wrap: anywhere;
    font-size: var(--aayda-typography-size-10);
    font-weight: var(--aayda-typography-weight-regular);
    line-height: var(--aayda-typography-line-height-10);
    letter-spacing: var(--aayda-typography-letter-spacing-10);
    color: var(--aayda-colors-navy-900);
  }

  .aayda-projects__video--mobile {
    position: relative;
    flex-shrink: 0;
    box-sizing: border-box;
    width: 100%;
    max-width: 338px;
    height: 661px;
    overflow: hidden;
    border-radius: 16px;
  }

  /* No clip: the box keeps its 661px and its navy fill, so the overlay still reads. */
  .aayda-projects__video--mobile.aayda-projects__video--empty {
    background: var(--aayda-colors-navy-900);
  }

  .aayda-projects__video--mobile::after {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    content: "";
    background: rgb(10 16 32 / 35%);
  }

  .aayda-projects__video-media--mobile[hidden] {
    display: none;
  }

  .aayda-projects__video-media--mobile {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
  }

  /* Info/Mobile 5301:23278: FIXED 322×331, clipped, its content aligned to the bottom (MAX), at
   * (8, 322) of the 338×661 clip — so anchored 8px above the bottom edge (661 - 322 - 331). Fixed at
   * 331: content never resizes it. Figma's own sample (heading 26, description 100, three facts 72,
   * button 42, gaps 14) overflows its 40px top padding by 7px at that alignment, so the design
   * draws the heading 33px from the top; the top padding is that 33, and the sample fits exactly.
   * Anything longer scrolls inside the text column (below), never past the card. */
  .aayda-projects__info--mobile {
    position: absolute;
    bottom: 8px;
    left: 8px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    box-sizing: border-box;
    width: 322px;
    max-width: calc(100% - 16px);
    height: 331px;
    padding: 33px 18px 16px;
    overflow: hidden;
    background: rgb(157 158 160 / 7%);
    border: 0;
    border-radius: 18px;
    box-shadow: inset 0 0 0 0.5px rgb(255 255 255 / 35%);
    gap: var(--aayda-numbers-spacing-14);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
  }

  /* 5301:23496 exists in the layer tree (21×21 at 158, 331 of the clip) but does not appear in the
   * frame's own render, so it stays hidden. */
  .aayda-projects__info-chevron--mobile {
    display: none;
  }

  .aayda-projects__info-chevron--mobile img {
    display: block;
    width: 10.51px;
    height: 20.01px;
    margin-left: 2.5px;
    max-width: none;
  }

  /* The flexible part of the fixed card: at most what the button and the gap leave (226px), sitting
   * on the button as the design's MAX alignment puts it, and scrolling inside itself when the
   * content is longer. */
  .aayda-projects__info-content--mobile {
    display: flex;
    flex: 0 1 auto;
    min-height: 0;
    flex-direction: column;
    align-items: flex-start;
    width: 286px;
    max-width: 100%;
    overflow: hidden auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgb(255 255 255 / 40%) transparent;
    color: var(--aayda-colors-text-on-brand);
    gap: var(--aayda-numbers-spacing-14);
  }

  .aayda-projects__info-content--mobile > * {
    flex-shrink: 0;
  }

  .aayda-projects__info-title--mobile {
    width: 92px;
    height: 26px;
    margin: 0;
    font-size: var(--aayda-typography-size-20);
    font-weight: var(--aayda-typography-weight-bold);
    line-height: var(--aayda-typography-line-height-20);
    letter-spacing: var(--aayda-typography-letter-spacing-20);
  }

  .aayda-projects__info-body--mobile {
    width: 286px;
    max-width: 100%;
    min-height: 100px;
    margin: 0;
    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);
  }

  .aayda-projects__info-features--mobile {
    display: flex;
    flex-direction: column;
    width: 286px;
    max-width: 100%;
    margin: 0;
    padding: 0;
    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);
    list-style: none;
    color: var(--aayda-colors-text-on-brand);
    gap: var(--aayda-numbers-spacing-6);
  }

  .aayda-projects__info-feature--mobile {
    display: block;
    overflow-wrap: anywhere;
  }

  .aayda-projects__info-stats--mobile {
    display: flex;
    flex-direction: column;
    width: 286px;
    max-width: 100%;
    margin: 0;
    font-size: var(--aayda-typography-size-14);
    font-weight: var(--aayda-typography-weight-semi-bold);
    line-height: var(--aayda-typography-line-height-14);
    letter-spacing: var(--aayda-typography-letter-spacing-14);
    color: var(--aayda-colors-text-on-brand);
    gap: var(--aayda-numbers-spacing-6);
  }

  .aayda-projects__info-stats-line--mobile {
    display: block;
    width: 286px;
    max-width: 100%;
    min-height: 20px;
  }

  .aayda-projects__cta--mobile {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    width: 286px;
    max-width: 100%;
    height: 42px;
    padding: 4px 4px 4px 20px;
    color: var(--aayda-colors-text-on-brand);
    text-decoration: none;
    background: rgb(255 255 255 / 17%);
    border: 0;
    border-radius: 44px;
    box-shadow: inset 0 0 0 0.5px var(--aayda-colors-base-white);
    cursor: pointer;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
  }

  .aayda-projects__cta-label--mobile {
    font-size: var(--aayda-typography-size-12);
    font-weight: var(--aayda-typography-weight-bold);
    line-height: var(--aayda-typography-line-height-12);
    letter-spacing: var(--aayda-typography-letter-spacing-12);
    white-space: nowrap;
  }

  .aayda-projects__cta-icon--mobile {
    display: grid;
    flex-shrink: 0;
    box-sizing: border-box;
    width: 34px;
    height: 34px;
    overflow: hidden;
    border: 0;
    border-radius: 24px;
    box-shadow: inset 0 0 0 0.5px var(--aayda-colors-base-white);
    place-items: center;
  }

  .aayda-projects__cta-arrow--mobile {
    display: block;
    width: 16px;
    height: 16px;
    max-width: none;
    color: var(--aayda-colors-base-white);
    fill: currentColor;
    transform: none;
  }

  .aayda-projects__cta-arrow--mobile path {
    fill: var(--aayda-colors-base-white);
  }

  /* The same keyboard ring every other control in the block carries; the browser's default was
   * the only focus state this link had. */
  .aayda-projects__cta--mobile:focus-visible {
    outline: 2px solid var(--aayda-colors-base-white);
    outline-offset: 3px;
  }

  /* "Bütün layihələr" at the foot of the block — the specification wants the listing reachable on
   * every layout, and the Figma mobile frame has no link of its own, so this is the news section's
   * mobile link (167×30, 20/26 semibold, the same arrow pair) placed where that section places it. */
  .aayda-projects__all--mobile {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    gap: 3px;
    height: 30px;
    color: var(--aayda-colors-blue-400);
    text-decoration: none;
    transition:
      gap 300ms ease-out,
      color 300ms ease-out;
  }

  .aayda-projects__all-label--mobile {
    font-size: var(--aayda-typography-size-20);
    font-weight: var(--aayda-typography-weight-semi-bold);
    line-height: var(--aayda-typography-line-height-20);
    letter-spacing: var(--aayda-typography-letter-spacing-20);
    white-space: nowrap;
  }

  .aayda-projects__all-arrow--mobile {
    position: relative;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    overflow: hidden;
  }

  .aayda-projects__all-arrow--mobile img {
    position: absolute;
    inset: 0;
    display: block;
    width: 30px;
    height: 30px;
    max-width: none;
    transition: opacity 300ms ease-out;
  }

  .aayda-projects__all-arrow--mobile .aayda-projects__all-arrow-hover {
    opacity: 0;
  }

  .aayda-projects__all--mobile:hover,
  .aayda-projects__all--mobile:focus-visible {
    gap: 8px;
    color: var(--aayda-colors-news-link-hover);
  }

  .aayda-projects__all--mobile:hover .aayda-projects__all-arrow-hover,
  .aayda-projects__all--mobile:focus-visible .aayda-projects__all-arrow-hover {
    opacity: 1;
  }

  .aayda-projects__all--mobile:hover .aayda-projects__all-arrow-default,
  .aayda-projects__all--mobile:focus-visible .aayda-projects__all-arrow-default {
    opacity: 0;
  }

  .aayda-projects__all--mobile:focus-visible {
    outline: 2px solid var(--aayda-colors-blue-400);
    outline-offset: 3px;
  }
}

/* Tablet: Mobile 5301:23495 chrome, fluid 2×2 teasers + 661px video. */
/* No Desktop 1400px panel / carousel / hover. */
@media (min-width: 768px) and (max-width: 1415px) {
  .aayda-projects {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: auto;
    margin: 0;
    padding: 16px;
    overflow: visible;
  }

  .aayda-projects__panel {
    display: none;
  }

  .aayda-projects__inner--mobile {
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: auto;
    overflow: visible;
  }

  .aayda-projects__top--mobile,
  .aayda-projects__title-block--mobile {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: auto;
  }

  .aayda-projects__title--mobile {
    width: auto;
    max-width: 100%;
    height: auto;
  }

  .aayda-projects__all--mobile {
    align-self: flex-end;
  }

  .aayda-projects__list--mobile {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, 142px);
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: auto;
  }

  .aayda-projects__teaser--mobile {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .aayda-projects__teaser-copy--mobile,
  .aayda-projects__teaser-row--mobile,
  .aayda-projects__teaser-body--mobile {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .aayda-projects__teaser-row--mobile {
    justify-content: space-between;
    gap: var(--aayda-numbers-spacing-8);
  }

  .aayda-projects__teaser-title--mobile {
    width: auto;
    max-width: calc(100% - 24px);
    min-width: 0;
    flex: 1 1 auto;
  }

  .aayda-projects__video--mobile {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: 661px;
  }

  .aayda-projects__info--mobile {
    left: 8px;
    right: 8px;
    width: auto;
    max-width: none;
  }

  .aayda-projects__info-content--mobile,
  .aayda-projects__info-body--mobile,
  .aayda-projects__info-stats--mobile,
  .aayda-projects__info-stats-line--mobile {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  /* Figma 5301:23495 CTA: 286×42 inside the 322px info overlay. Do not stretch. */
  .aayda-projects__cta--mobile {
    width: 286px;
    max-width: 100%;
  }

  .aayda-projects__info-title--mobile {
    width: auto;
    max-width: 100%;
  }
}

/* Section badge text (HomeSectionLabel, edited in the admin panel). The pill hugs its wording
   (width: max-content, as the about page's labels do); the 1px border now sits inside the
   padding, as Figma's stroke does, so the pill keeps the design's 28px and offsets. A label too long
   for the title block is cut with an ellipsis rather than wrapped, so the heading never moves. */
.aayda-projects__badge-text,
.aayda-projects__badge-text--mobile {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
