/* “Xəbərlər”
 * Desktop: News Section 4979:22493.
 * Mobile: 5257:19364 (layer name “Services”).
 */

.aayda-news {
  display: none;
}

.aayda-news__panel[hidden] {
  display: none;
}

/*
 * A category with nothing published. The panel keeps its height so selecting an empty tab does not
 * collapse the section and jump the page; the sentence is the one the /news page already shows for
 * the same situation.
 */
.aayda-news__empty {
  margin: 0;
  padding: var(--aayda-numbers-spacing-24) 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);
  color: var(--aayda-colors-text-muted, #888d96);
}

@media (min-width: 1416px) {
  /* Matches the height the three cards occupy, so the row does not resize between tabs. */
  .aayda-news__empty {
    height: 397px;
    padding: 0;
    line-height: 397px;
  }
}

@media (min-width: 1416px) {
  .aayda-news {
    display: block;
    width: 100%;
    max-width: var(--aayda-container-desktop);
    margin-inline: auto;
    /* Service Areas already provides the 97px gap above. */
    padding-top: 0;
    /* News bottom 2161 → Large Background 2293 = 132px. */
    padding-bottom: 132px;
    background: var(--aayda-colors-surface-disabled);
    font-family: var(--aayda-typography-font-primary);
    color: var(--aayda-colors-text);
  }

  .aayda-news__inner {
    display: flex;
    flex-direction: column;
    gap: 34px;
    width: 1272px;
    margin-left: 84px;
  }

  .aayda-news__title-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--aayda-numbers-spacing-16);
    width: 383px;
    height: 92px;
    overflow: visible;
  }

  .aayda-news__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-news__badge-icon {
    display: block;
    flex-shrink: 0;
    width: 15px;
    height: 14px;
  }

  .aayda-news__badge-icon img {
    display: block;
    width: 11px;
    height: 11px;
    margin: 2px 0 0 2px;
    max-width: none;
  }

  .aayda-news__title {
    margin: 0;
    width: 383px;
    height: 48px;
    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);
  }

  .aayda-news__list {
    display: flex;
    flex-direction: column;
    gap: var(--aayda-numbers-spacing-20);
    width: 1272px;
  }

  .aayda-news__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 1272px;
    height: 56px;
  }

  .aayda-news__tabs {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: var(--aayda-numbers-spacing-8);
    box-sizing: border-box;
    width: 898px;
    height: 56px;
    padding: var(--aayda-numbers-spacing-6);
    margin: 0;
    border-radius: 12px;
  }

  .aayda-news__tab {
    display: flex;
    flex-grow: 0;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    height: 44px;
    min-height: 44px;
    max-height: 44px;
    padding: 0;
    margin: 0;
    overflow: hidden;
    font-family: inherit;
    font-size: var(--aayda-typography-size-16);
    font-weight: var(--aayda-typography-weight-semi-bold);
    line-height: var(--aayda-typography-line-height-16);
    letter-spacing: var(--aayda-typography-letter-spacing-16);
    color: var(--aayda-colors-text);
    white-space: nowrap;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.56);
    border: 2px solid var(--aayda-colors-base-white);
    border-radius: 100px;
    box-shadow: none;
    outline: none;
    transform: none;
    /* News/Tab 3531:37175: Default → Hover is SMART_ANIMATE 0.3s EASE_OUT. */
    transition:
      background-color 300ms ease-out,
      border-color 300ms ease-out,
      border-width 300ms ease-out,
      box-shadow 300ms ease-out,
      color 300ms ease-out;
  }

  .aayda-news__tab[data-news-tab="yeni"] {
    flex: 0 0 167px;
    width: 167px;
    min-width: 167px;
    max-width: 167px;
  }

  .aayda-news__tab[data-news-tab="elanlar"] {
    flex: 0 0 168px;
    width: 168px;
    min-width: 168px;
    max-width: 168px;
  }

  .aayda-news__tab[data-news-tab="layiheler"],
  .aayda-news__tab[data-news-tab="acilislar"],
  .aayda-news__tab[data-news-tab="serencamlar"] {
    flex: 0 0 173px;
    width: 173px;
    min-width: 173px;
    max-width: 173px;
  }

  .aayda-news__tab[aria-selected="true"],
  .aayda-news__tab[aria-selected="true"]:hover,
  .aayda-news__tab[aria-selected="true"]:focus,
  .aayda-news__tab[aria-selected="true"]:focus-visible {
    color: var(--aayda-colors-navy-700);
    background: var(--aayda-colors-news-tab-active-fill);
    border-width: 1px;
    border-style: solid;
    border-color: var(--aayda-colors-blue-400);
    box-shadow: none;
    outline: none;
  }

  /* News/Tab Hover (3531:37172): a 1px rgba(51, 99, 255, 0.66) stroke, as thin as the Active one.
     The default's 2px white border used to keep its width here and turn blue, under an extra white
     ring, so the hover read twice as thick as the design. The tab is a fixed-size border box with its
     label centred, so the thinner border moves nothing. */
  .aayda-news__tab[aria-selected="false"]:hover,
  .aayda-news__tab[aria-selected="false"]:focus-visible {
    color: var(--aayda-colors-news-tab-hover-text);
    background: var(--aayda-colors-base-white);
    border-width: 1px;
    border-color: rgba(51, 99, 255, 0.66);
    box-shadow: none;
    outline: none;
  }

  .aayda-news__all {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    gap: 3px;
    width: 182px;
    height: 30px;
    color: var(--aayda-colors-blue-400);
    transition: gap 300ms ease-out, color 300ms ease-out;
  }

  .aayda-news__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-news__all-arrow {
    position: relative;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    overflow: hidden;
  }

  .aayda-news__all-arrow img {
    position: absolute;
    inset: 0;
    display: block;
    width: 30px;
    height: 30px;
    max-width: none;
    transition: opacity 300ms ease-out;
  }

  .aayda-news__all-arrow-hover {
    opacity: 0;
  }

  .aayda-news__all:hover,
  .aayda-news__all:focus-visible {
    gap: 8px;
    color: var(--aayda-colors-news-link-hover);
  }

  .aayda-news__all:hover .aayda-news__all-arrow-hover,
  .aayda-news__all:focus-visible .aayda-news__all-arrow-hover {
    opacity: 1;
  }

  .aayda-news__all:hover .aayda-news__all-arrow-default,
  .aayda-news__all:focus-visible .aayda-news__all-arrow-default {
    opacity: 0;
  }

  .aayda-news__items {
    display: flex;
    align-items: center;
    gap: var(--aayda-numbers-spacing-24);
    width: 1272px;
    height: 397px;
    margin: 0;
  }

  .aayda-news__items > li {
    flex: 0 0 408px;
    width: 408px;
    height: 397px;
  }

  .aayda-news__card {
    position: relative;
    display: block;
    box-sizing: border-box;
    width: 408px;
    height: 397px;
    padding: 4px 4px 112px;
    overflow: hidden;
    color: inherit;
    background: var(--aayda-colors-neutral-surface-subtle);
    border-radius: var(--aayda-radius-card);
    box-shadow: inset 0 0 0 2px var(--aayda-colors-base-white);
    transition: background-color 300ms ease-out;
  }

  /* bug-fix-5 BUG 8: the whole hovered card turns white (#FFFFFF), at the pace of its "more" link; the
     image zoom, title, date and link keep their own states. Homepage desktop only: this sheet is the
     homepage's, and below 1416px the cards have no hover (see the mobile and tablet blocks). */
  .aayda-news__card:hover,
  .aayda-news__card:focus-visible {
    background: var(--aayda-colors-base-white);
  }

  .aayda-news__card-media {
    position: relative;
    width: 400px;
    height: 245px;
    overflow: hidden;
    border-radius: var(--aayda-radius-image);
  }

  .aayda-news__card-media img {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
    /* Default FILL identity → Hover CROP [[0.836431,0,0.081784],[0,0.910781,0.044610]] */
    transition:
      width 300ms ease-in,
      height 300ms ease-in,
      top 300ms ease-in,
      left 300ms ease-in;
  }

  .aayda-news__card:hover .aayda-news__card-media img,
  .aayda-news__card:focus-visible .aayda-news__card-media img {
    top: -4.9%;
    left: -9.78%;
    width: 119.56%;
    height: 109.8%;
  }

  /* Figma News Item 4925:54576 (408 × 397): the title starts at 259 and the date/link row at 351, so
     the title has room for three 26px lines (78px, the longest title in the design's cards). A longer
     title ends in an ellipsis on its third line instead of running over the date and the link; the
     full title stays in the heading's title attribute. */
  .aayda-news__card-title {
    position: absolute;
    top: 259px;
    left: 20px;
    display: -webkit-box;
    width: 368px;
    margin: 0;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    font-size: var(--aayda-typography-size-16);
    font-weight: var(--aayda-typography-weight-semi-bold);
    line-height: var(--aayda-typography-line-height-16);
    letter-spacing: var(--aayda-typography-letter-spacing-16);
    color: var(--aayda-colors-text);
  }

  .aayda-news__card-date {
    position: absolute;
    top: 356px;
    left: 20px;
    width: 84px;
    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-neutral-500);
  }

  .aayda-news__card-more {
    position: absolute;
    top: 351px;
    left: 252px;
    display: flex;
    align-items: center;
    gap: 0;
    width: 136px;
    height: 30px;
    color: var(--aayda-colors-blue-400);
    pointer-events: none;
    transition: gap 300ms ease-out, width 300ms ease-out;
  }

  .aayda-news__card:hover .aayda-news__card-more,
  .aayda-news__card:focus-visible .aayda-news__card-more {
    width: 140px;
    gap: 4px;
  }

  .aayda-news__card-more-label {
    width: 106px;
    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);
    white-space: nowrap;
  }

  .aayda-news__card-more-arrow {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    overflow: hidden;
  }

  .aayda-news__card-more-arrow img {
    display: block;
    width: 30px;
    height: 30px;
    max-width: none;
  }

  .aayda-news__all--footer,
  .aayda-news__items--mobile {
    display: none;
  }
}

/* -------------------------------------------------------------------------- */
/* Mobile — Figma 5257:19364 (402). No card hover. Tabs switch panels in JS. */
/* -------------------------------------------------------------------------- */

@media (max-width: 1415px) {
  .aayda-news {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--aayda-numbers-spacing-20);
    box-sizing: border-box;
    width: 100%;
    max-width: 402px;
    height: auto;
    margin: 45px auto 0;
    /* 32px Figma bottom padding + 50px so Activity's -50px overlap cannot cover the footer link. */
    padding: 32px 16px 82px;
    overflow: visible;
    background: var(--aayda-colors-surface-disabled);
    font-family: var(--aayda-typography-font-primary);
    color: var(--aayda-colors-text);
  }

  .aayda-news__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--aayda-numbers-spacing-16);
    width: 358px;
    max-width: 100%;
    overflow: visible;
  }

  .aayda-news__title-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--aayda-numbers-spacing-12);
    width: 358px;
    height: 72px;
    overflow: hidden;
  }

  .aayda-news__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-news__badge-icon {
    display: block;
    flex-shrink: 0;
    width: 15px;
    height: 14px;
  }

  .aayda-news__badge-icon img {
    display: block;
    width: 11px;
    height: 11px;
    margin: 2px 0 0 2px;
    max-width: none;
  }

  .aayda-news__all--header,
  .aayda-news__items--desktop {
    display: none;
  }

  .aayda-news__title {
    margin: 0;
    width: 95px;
    height: 32px;
    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);
  }

  .aayda-news__list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--aayda-numbers-spacing-16);
    width: 358px;
    overflow: visible;
  }

  .aayda-news__header {
    width: 358px;
    height: 56px;
    overflow: visible;
  }

  .aayda-news__tabs {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: var(--aayda-numbers-spacing-8);
    box-sizing: border-box;
    width: 380px;
    height: 56px;
    padding: var(--aayda-numbers-spacing-6) 0;
    margin: 0;
    overflow-x: auto;
    overflow-y: hidden;
    border-radius: 12px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
  }

  .aayda-news__tabs::-webkit-scrollbar {
    display: none;
  }

  .aayda-news__tab {
    display: flex;
    flex-grow: 0;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    height: 44px;
    min-height: 44px;
    max-height: 44px;
    padding: 0;
    margin: 0;
    overflow: hidden;
    font-family: inherit;
    font-size: var(--aayda-typography-size-16);
    font-weight: var(--aayda-typography-weight-semi-bold);
    line-height: var(--aayda-typography-line-height-16);
    letter-spacing: var(--aayda-typography-letter-spacing-16);
    color: var(--aayda-colors-text);
    white-space: nowrap;
    cursor: pointer;
    background: var(--aayda-colors-base-white);
    border: 2px solid var(--aayda-colors-base-white);
    border-radius: 100px;
    box-shadow: none;
    transform: none;
  }

  .aayda-news__tab[data-news-tab="yeni"] {
    flex: 0 0 167px;
    width: 167px;
    min-width: 167px;
    max-width: 167px;
  }

  .aayda-news__tab[data-news-tab="elanlar"] {
    flex: 0 0 148px;
    width: 148px;
    min-width: 148px;
    max-width: 148px;
    background: rgba(255, 255, 255, 0.56);
  }

  .aayda-news__tab[data-news-tab="layiheler"] {
    flex: 0 0 139px;
    width: 139px;
    min-width: 139px;
    max-width: 139px;
  }

  .aayda-news__tab[data-news-tab="acilislar"] {
    flex: 0 0 130px;
    width: 130px;
    min-width: 130px;
    max-width: 130px;
  }

  .aayda-news__tab[data-news-tab="serencamlar"] {
    flex: 0 0 166px;
    width: 166px;
    min-width: 166px;
    max-width: 166px;
  }

  .aayda-news__tab[aria-selected="true"] {
    color: var(--aayda-colors-navy-700);
    background: var(--aayda-colors-news-tab-active-fill);
    border-color: var(--aayda-colors-blue-400);
    box-shadow: inset 0 0 0 1px var(--aayda-colors-news-tab-active-fill);
  }

  .aayda-news__items--mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--aayda-numbers-spacing-16);
    width: 358px;
    height: 1076px;
    overflow: hidden;
  }

  .aayda-news__items--mobile > li {
    flex: none;
    width: 370px;
    height: 348px;
  }

  .aayda-news__items--mobile .aayda-news__card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-sizing: border-box;
    width: 370px;
    height: 348px;
    padding: 4px 4px 0;
    overflow: hidden;
    color: inherit;
    background: var(--aayda-colors-neutral-surface-subtle);
    border-radius: var(--aayda-radius-card);
    box-shadow: inset 0 0 0 2px var(--aayda-colors-base-white);
  }

  .aayda-news__items--mobile .aayda-news__card-media {
    position: relative;
    flex-shrink: 0;
    width: 362px;
    height: 198px;
    overflow: hidden;
    border-radius: var(--aayda-radius-image);
  }

  .aayda-news__items--mobile .aayda-news__card-media img {
    position: absolute;
    top: -1.42%;
    left: 0;
    display: block;
    width: 100%;
    height: 102.84%;
    max-width: none;
    object-fit: cover;
    object-position: center;
  }

  .aayda-news__card-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--aayda-numbers-spacing-20);
    box-sizing: border-box;
    width: 362px;
    height: 146px;
    padding: 12px 14px 16px;
    overflow: hidden;
  }

  /* ML-E D5: a title longer than the 78px box (three 26px lines) ends in an ellipsis on its third
     line instead of being cut through a line; the full title stays in the title attribute. */
  .aayda-news__items--mobile .aayda-news__card-title {
    display: -webkit-box;
    width: 334px;
    height: 78px;
    margin: 0;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    font-size: var(--aayda-typography-size-16);
    font-weight: var(--aayda-typography-weight-semi-bold);
    line-height: var(--aayda-typography-line-height-16);
    letter-spacing: var(--aayda-typography-letter-spacing-16);
    color: var(--aayda-colors-news-card-title);
    overflow-wrap: anywhere;
  }

  .aayda-news__card-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 334px;
    height: 20px;
    overflow: hidden;
  }

  .aayda-news__items--mobile .aayda-news__card-date {
    width: 69px;
    height: 20px;
    margin: 0;
    font-size: var(--aayda-typography-size-12);
    font-weight: var(--aayda-typography-weight-semi-bold);
    line-height: var(--aayda-typography-line-height-12);
    letter-spacing: var(--aayda-typography-letter-spacing-12);
    color: var(--aayda-colors-neutral-500);
    white-space: nowrap;
  }

  .aayda-news__items--mobile .aayda-news__card-more {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: var(--aayda-numbers-spacing-4);
    width: 119px;
    height: 20px;
    overflow: hidden;
    color: var(--aayda-colors-blue-400);
  }

  .aayda-news__items--mobile .aayda-news__card-more-label {
    width: 101px;
    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);
    white-space: nowrap;
  }

  .aayda-news__items--mobile .aayda-news__card-more-arrow {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    overflow: hidden;
  }

  .aayda-news__items--mobile .aayda-news__card-more-arrow img {
    display: block;
    width: 14px;
    height: 14px;
    max-width: none;
  }

  .aayda-news__all--footer {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    gap: 3px;
    width: 167px;
    height: 30px;
    overflow: visible;
    color: var(--aayda-colors-blue-400);
  }

  .aayda-news__all--footer .aayda-news__all-label {
    width: 137px;
    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-news__all--footer .aayda-news__all-arrow {
    position: relative;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    overflow: hidden;
  }

  .aayda-news__all--footer .aayda-news__all-arrow img {
    display: block;
    width: 30px;
    height: 30px;
    max-width: none;
  }
}

/* Tablet: Mobile 5257:19364 chrome, fluid 2-col cards. No Desktop 408px / hover. */
@media (min-width: 768px) and (max-width: 1415px) {
  .aayda-news {
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: auto;
    margin: 45px 0 0;
    padding: 32px 16px 82px;
    overflow: visible;
  }

  .aayda-news__inner,
  .aayda-news__title-block,
  .aayda-news__list,
  .aayda-news__header,
  .aayda-news__panel {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: auto;
    overflow: visible;
  }

  .aayda-news__title {
    width: auto;
    max-width: 100%;
  }

  .aayda-news__tabs {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .aayda-news__items--mobile {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: var(--aayda-numbers-spacing-16);
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: auto;
    overflow: visible;
  }

  .aayda-news__items--mobile > li,
  .aayda-news__items--mobile .aayda-news__card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: auto;
  }

  .aayda-news__items--mobile .aayda-news__card-media {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 362 / 198;
  }

  .aayda-news__card-meta,
  .aayda-news__items--mobile .aayda-news__card-title,
  .aayda-news__card-row {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .aayda-news__card-meta {
    height: auto;
  }

  .aayda-news__all--footer {
    align-self: center;
  }
}

/* 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-news__badge-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
