/* Xəbərlər listing — Desktop 4921:35671 / 4921:35773, Mobile 5326:20514 / 5334:23254. */

.aayda-news-page {
  background-color: var(--aayda-colors-surface-disabled);
}

.aayda-news-page .aayda-top-block {
  padding-right: 0;
  padding-left: calc(var(--aayda-numbers-spacing-32) - var(--aayda-border-width-card));
}

.aayda-news-page .aayda-top-block__inner {
  gap: 96px;
  width: calc(100% + var(--aayda-border-width-card));
}

.aayda-news-page .aayda-top-block__title {
  font-size: var(--aayda-typography-size-32);
  line-height: var(--aayda-typography-line-height-heading-32);
  letter-spacing: var(--aayda-typography-letter-spacing-32);
}

.aayda-news-page .aayda-top-block__description {
  line-height: var(--aayda-typography-line-height-10);
}

.aayda-news-page__content {
  display: flex;
  flex-direction: column;
  gap: var(--aayda-numbers-spacing-40);
  width: 100%;
  min-width: 0;
  padding: var(--aayda-numbers-spacing-40) 0 var(--aayda-numbers-spacing-48);
}

.aayda-news-page__inner {
  display: flex;
  flex-direction: column;
  gap: var(--aayda-numbers-spacing-40);
  width: 100%;
  min-width: 0;
}

.aayda-news-page__tabs-wrap {
  width: 100%;
  min-width: 0;
  padding-left: var(--aayda-numbers-spacing-16);
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

.aayda-news-page__tabs-wrap::-webkit-scrollbar {
  display: none;
}

.aayda-news-page__tabs {
  display: flex;
  align-items: center;
  gap: var(--aayda-numbers-spacing-8);
  width: max-content;
  margin: 0;
  padding: 0;
}

.aayda-news-page__tab {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 151px;
  height: 44px;
  padding: 0;
  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;
}

/*
  Migration note: the category strip is navigated server-side now, so the active entry is a link
  marked with aria-current="page" instead of a tab button carrying aria-selected. The original
  selectors are kept alongside the new ones, so the appearance is unchanged either way. The other
  edits to this file are the panel's hidden heading, the designed empty panel and the focus rings.
*/
.aayda-news-page__tab[aria-selected="true"],
.aayda-news-page__tab[aria-current="page"] {
  padding: var(--aayda-numbers-spacing-8) var(--aayda-numbers-spacing-36);
  color: var(--aayda-colors-navy-700);
  background: var(--aayda-colors-news-tab-active-fill);
  border-width: 1px;
  border-color: var(--aayda-colors-blue-400);
}

.aayda-news-page__panel {
  width: 100%;
  min-width: 0;
}

.aayda-news-page__panel[hidden] {
  display: none;
}

/*
  The region a category switch replaces (js/pages/news.js). It draws no box of its own, so the
  panel and the pager keep the flex gaps and margins of __inner exactly as before.
*/
.aayda-news-page__list {
  display: contents;
}

/*
  While a switch is in flight the current list stays in place, dimmed and inert, so nothing jumps
  and a second click cannot land on a list that is about to go. The design has no loading state;
  this is the least that shows one.
*/
.aayda-news-page__list[aria-busy="true"] > * {
  opacity: 0.6;
  pointer-events: none;
}

/*
  The panel's heading: the category name, between the page's H1 and the cards' H3. The design
  names the category only in its tab, so it is read but not drawn. Scoped here, as footer.css and
  useful-links.css scope theirs — the site has no shared visually-hidden utility.
*/
.aayda-news-page__panel-title,
.aayda-news-page__status {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/*
  Empty category — Figma 7230:31119 (instance 7341:55132). The design draws it at desktop only;
  below 1416px it takes the card grid's own width, and the side padding drops to the gutter so the
  sentence can wrap rather than overflow a phone.
*/
.aayda-news-page__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--aayda-numbers-spacing-12);
  box-sizing: border-box;
  width: calc(100% - 32px);
  max-width: 370px;
  margin-inline: auto;
  padding: 200px var(--aayda-numbers-spacing-16);
  text-align: center;
  background: var(--aayda-colors-neutral-surface-subtle);
  border: 2px solid var(--aayda-colors-base-white);
  border-radius: 12px;
}

.aayda-news-page__empty-title {
  margin: 0;
  font-family: var(--aayda-typography-font-primary);
  font-size: 22px;
  font-weight: var(--aayda-typography-weight-semi-bold);
  /* Figma's "normal" for Vela Sans at 22px: the 466px panel less its border, padding, gap and
     24px sentence leaves 26px. The browser's own "normal" for the face is 30px. */
  line-height: 26px;
  color: #21262e;
}

.aayda-news-page__empty-text {
  margin: 0;
  font-family: var(--aayda-typography-font-primary);
  font-size: var(--aayda-typography-size-16);
  font-weight: var(--aayda-typography-weight-regular);
  line-height: 1.5;
  color: var(--aayda-colors-neutral-text-secondary);
}

/*
  Keyboard focus, at every width — the site's ring (useful-links.css, faq.css). The tab ring is
  drawn inside the pill: the strip scrolls horizontally below 1416px, and its overflow would clip
  a ring drawn outside it.
*/
.aayda-news-page__tab:focus-visible {
  outline: var(--aayda-border-width-focus-ring) solid var(--aayda-colors-ring-focus);
  outline-offset: -3px;
}

.aayda-news-page__card:focus-visible {
  outline: var(--aayda-border-width-focus-ring) solid var(--aayda-colors-ring-focus);
  outline-offset: 2px;
}

.aayda-news-page__grid {
  display: flex;
  flex-direction: column;
  gap: var(--aayda-numbers-spacing-16);
  width: calc(100% - 32px);
  max-width: 370px;
  margin-inline: auto;
  padding: 0;
}

.aayda-news-page__item--desktop {
  display: none;
}

.aayda-news-page__card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-sizing: border-box;
  width: 100%;
  height: 348px;
  padding: var(--aayda-numbers-spacing-4) var(--aayda-numbers-spacing-4) 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-page__card-media {
  position: relative;
  flex-shrink: 0;
  width: 100%;
  height: 198px;
  overflow: hidden;
  border-radius: var(--aayda-radius-image);
}

.aayda-news-page__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-page__card-body {
  display: flex;
  flex: 1 0 auto;
  flex-direction: column;
  gap: var(--aayda-numbers-spacing-20);
  box-sizing: border-box;
  width: 100%;
  min-height: 0;
  padding: var(--aayda-numbers-spacing-12) var(--aayda-numbers-spacing-14) var(--aayda-numbers-spacing-16);
  overflow: hidden;
}

/* ML-E D5: below 1416px 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 heading's title
   attribute. The desktop rule below lifts the clamp, as its box grows with the title. */
.aayda-news-page__card-title {
  display: -webkit-box;
  width: 100%;
  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-page__card-title-desktop {
  display: none;
}

.aayda-news-page__card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  overflow: hidden;
}

/*
  The short description: two lines at most, cut with an ellipsis. The --with-description modifier
  grows a card by exactly those two lines and the column's gap. It is given to every card of a list
  in which any card has a description (NewsController), so a row never mixes heights; a list with no
  descriptions keeps the design's height.
*/
.aayda-news-page__card--with-description {
  height: 408px;
}

/* A taller card without a description of its own keeps its date row at the bottom, level with the
   rows of the cards beside it. */
.aayda-news-page__card--with-description .aayda-news-page__card-row {
  margin-top: auto;
}

.aayda-news-page__card-description {
  display: -webkit-box;
  width: 100%;
  height: calc(2 * var(--aayda-typography-line-height-14));
  margin: 0;
  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-text-secondary);
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.aayda-news-page__card-date {
  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-page__card-more {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: var(--aayda-numbers-spacing-4);
  overflow: hidden;
  color: var(--aayda-colors-blue-400);
}

.aayda-news-page__card-more-label {
  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-page__card-more-arrow {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  overflow: hidden;
}

.aayda-news-page__card-more-arrow img {
  display: block;
  width: 14px;
  height: 14px;
  max-width: none;
}

.aayda-news-page__card-more-arrow--desktop {
  display: none;
}

.aayda-news-page__pagination {
  width: calc(100% - 32px);
  max-width: 370px;
  margin-inline: auto;
  padding: 0;
}

/* Mid-list the window is eleven slots (‹ 1 … 198 199 200 201 202 … 436 ›). On a 320px phone the
   shared shrink rule (components/pagination.css) took every slot down to 26px, narrower than a
   three-digit number, and the numbers ran together. A page number's slot now keeps its text plus
   3px either side; the arrows and ellipses, whose marks are narrower, take up the shrink. A row
   that fits is drawn as before. */
@media (max-width: 1415px) {
  .aayda-news-page__pagination .aayda-pagination__list > li:has(> .aayda-pagination__page) {
    min-width: max-content;
  }

  /* A percentage width fills the slot and, unlike the shared 40px, leaves the slot's minimum to the
     number's own text and padding. */
  .aayda-news-page__pagination .aayda-pagination__page {
    width: 100%;
    padding-inline: 3px;
  }
}

@media (min-width: 768px) and (max-width: 1415px) {
  .aayda-news-page__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    width: calc(100% - 32px);
    max-width: 100%;
    min-width: 0;
  }

  .aayda-news-page__item,
  .aayda-news-page__card,
  .aayda-news-page__card-media,
  .aayda-news-page__card-body {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .aayda-news-page__item--desktop {
    display: none;
  }

  .aayda-news-page__empty {
    max-width: 100%;
  }

  /* News cards (the listing and a news article's related strip; not the photo album's look-alike
     cards, which borrow these classes): the picture keeps the phone card's 362:198 (Figma 5326:20514)
     as its column widens, the way the homepage's news cards do at these widths, instead of a fixed
     198px stretched across a column up to twice as wide. The card then fills its grid row, whose
     height its content sets, so a row stays even — a card without a description beside ones with it
     included, its date row kept at the bottom as before. */
  :is(.aayda-news-page__grid, .aayda-news-detail .aayda-news-detail__grid) .aayda-news-page__card {
    height: 100%;
  }

  :is(.aayda-news-page__grid, .aayda-news-detail .aayda-news-detail__grid) .aayda-news-page__card-media {
    height: auto;
    aspect-ratio: 362 / 198;
  }

  /* Bug-fix-3 (2026-11-23): the listing's cards are exactly as tall as the homepage's. The homepage
     draws without a classic scrollbar, so its two columns are (100vw - 48px) / 2 wide, its pictures that
     less the card's 4px padding each side, and 198 / 362 of that tall; this page has the scrollbar, so
     the same ratio on its narrower columns made its cards 4px shorter. The picture takes the homepage's
     height instead (the cover still fills it). The panel's class matches the rule above's weight, so
     this one, later, wins. */
  .aayda-news-page__panel .aayda-news-page__grid .aayda-news-page__card-media {
    aspect-ratio: auto;
    height: calc(((100vw - 48px) / 2 - 8px) * 198 / 362);
  }
}

/* The /news listing below 768px draws Figma's mobile News Item (5220:37101, list 5326:20514): the
   picture, then the title, the date and the link, with no description. The description is hidden
   there (it stays in the markup and in the admin's data, and shows on tablet and desktop). */
@media (max-width: 767px) {
  .aayda-news-page__grid .aayda-news-page__card-description {
    display: none;
  }
}

/* With the description hidden, a phone card keeps the mobile News Item's 370 × 348 (meta 146: 12 +
   title 78 + 20 + row 20 + 16) instead of the 408px that made room for it. */
@media (max-width: 767px) {
  .aayda-news-page__grid .aayda-news-page__card--with-description {
    height: 348px;
  }
}

@media (min-width: 1416px) {
  .aayda-news-page .aayda-top-block {
    padding-right: 0;
    padding-left: calc(var(--aayda-numbers-spacing-84) - var(--aayda-border-width-card));
  }

  .aayda-news-page .aayda-top-block__inner {
    gap: var(--aayda-numbers-spacing-8);
    width: 1356px;
    max-width: none;
  }

  .aayda-news-page .aayda-top-block__heading {
    width: 1354px;
    max-width: none;
  }

  .aayda-news-page .aayda-top-block__title {
    font-size: var(--aayda-typography-size-44);
    line-height: var(--aayda-typography-line-height-44);
    letter-spacing: var(--aayda-typography-letter-spacing-44);
  }

  .aayda-news-page .aayda-top-block__description {
    line-height: var(--aayda-typography-line-height-14);
  }

  .aayda-news-page__content {
    gap: 0;
    padding: 72px 0 52px;
  }

  .aayda-news-page__inner {
    gap: 0;
    flex-shrink: 0;
    width: 1272px;
    max-width: none;
    margin-left: calc((100% - 1272px) / 2);
    margin-right: calc((100% - 1272px) / 2);
  }

  .aayda-news-page__tabs-wrap {
    padding-left: 0;
    overflow: visible;
  }

  .aayda-news-page__tab {
    transition:
      background-color 300ms ease-in,
      border-color 300ms ease-in,
      border-width 300ms ease-in,
      color 300ms ease-in,
      padding 300ms ease-in;
  }

  .aayda-news-page__tab[aria-selected="false"]:hover,
  .aayda-news-page__tab[aria-selected="false"]:focus-visible,
  .aayda-news-page__tab:not([aria-current="page"]):hover,
  .aayda-news-page__tab:not([aria-current="page"]):focus-visible {
    padding: var(--aayda-numbers-spacing-8) var(--aayda-numbers-spacing-36);
    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);
  }

  .aayda-news-page__tabs {
    margin-bottom: 26px;
  }

  .aayda-news-page__grid {
    display: grid;
    grid-template-columns: 408px 408px 408px;
    column-gap: 24px;
    row-gap: 24px;
    justify-content: start;
    justify-items: start;
    width: 1272px;
    max-width: none;
    margin: 0 0 53px;
  }

  .aayda-news-page__item,
  .aayda-news-page__item--desktop {
    display: block;
    flex: 0 0 408px;
    width: 408px;
    height: 397px;
  }

  .aayda-news-page__item--mobile {
    display: none;
  }

  .aayda-news-page__card {
    width: 408px;
    height: 397px;
    padding: 4px 4px 25px;
  }

  .aayda-news-page__card-media {
    width: 400px;
    height: 245px;
  }

  .aayda-news-page__card-media img {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition:
      width 300ms ease-in,
      height 300ms ease-in,
      top 300ms ease-in,
      left 300ms ease-in;
  }

  .aayda-news-page__card-body {
    display: contents;
  }

  .aayda-news-page__card-title {
    position: absolute;
    top: 257px;
    display: block;
    left: 18px;
    width: 368px;
    height: auto;
    overflow: visible;
    color: var(--aayda-colors-text);
    overflow-wrap: normal;
    -webkit-line-clamp: none;
    line-clamp: none;
  }

  .aayda-news-page__card-title-desktop {
    display: inline;
  }

  .aayda-news-page__card-title-mobile {
    display: none;
  }

  .aayda-news-page__card-row {
    position: absolute;
    top: 349px;
    left: 18px;
    display: block;
    width: 372px;
    height: 30px;
    overflow: visible;
  }

  /* The description takes the row's place under the title, and the row moves down by its two lines
     and an 8px gap. */
  .aayda-news-page__item--with-description,
  .aayda-news-page__card--with-description {
    height: 445px;
  }

  .aayda-news-page__card-description {
    position: absolute;
    top: 349px;
    left: 18px;
    width: 368px;
  }

  .aayda-news-page__card--with-description .aayda-news-page__card-row {
    top: 397px;
  }

  /* News cards (the listing and a news article's related strip; the photo album's look-alike cards
     keep the rules above). Figma's News Item (5058:12369 here, 4979:22516 on the homepage) has a 2px
     stroke and places its text inside it — title 18/257, row 18/349 — so from the card's outer edge
     they sit at 20/259 and 20/351, the homepage card's own offsets. This card draws its stroke as an
     inset shadow, which takes no room, so the design's inner offsets put every line 2px up and left. */
  :is(.aayda-news-page__grid, .aayda-news-detail .aayda-news-detail__grid) .aayda-news-page__card-title {
    top: 259px;
    left: 20px;
  }

  :is(.aayda-news-page__grid, .aayda-news-detail .aayda-news-detail__grid) .aayda-news-page__card-row,
  :is(.aayda-news-page__grid, .aayda-news-detail .aayda-news-detail__grid) .aayda-news-page__card-description {
    top: 351px;
    left: 20px;
  }

  :is(.aayda-news-page__grid, .aayda-news-detail .aayda-news-detail__grid) .aayda-news-page__card--with-description .aayda-news-page__card-row {
    top: 399px;
  }

  /* The /news listing (Figma 4921:35671, News Item 4925:54576): the description and the date/link
     row sit at fixed offsets (351, 399) under a title that starts at 259, 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 description, the date and the link; the
     full title stays in the heading's title attribute. */
  .aayda-news-page__grid .aayda-news-page__card-title {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
  }

  .aayda-news-page__card-date {
    position: absolute;
    top: 5px;
    left: 0;
    width: 84px;
    font-size: var(--aayda-typography-size-14);
    line-height: var(--aayda-typography-line-height-14);
    letter-spacing: var(--aayda-typography-letter-spacing-14);
  }

  .aayda-news-page__card-more {
    position: absolute;
    top: 0;
    left: 232px;
    gap: 0;
    width: 136px;
    height: 30px;
    overflow: visible;
    pointer-events: none;
    transition: gap 300ms ease-out, width 300ms ease-out, color 300ms ease-out;
  }

  .aayda-news-page__card-more-label {
    width: 106px;
  }

  .aayda-news-page__card-more-arrow {
    width: 30px;
    height: 30px;
  }

  .aayda-news-page__card-more-arrow img {
    width: 30px;
    height: 30px;
  }

  .aayda-news-page__card-more-arrow--desktop {
    display: block;
  }

  .aayda-news-page__card-more-arrow--mobile {
    display: none;
  }

  .aayda-news-page__card:hover,
  .aayda-news-page__card:focus-visible {
    background: var(--aayda-colors-base-white);
  }

  .aayda-news-page__card:hover .aayda-news-page__card-media img,
  .aayda-news-page__card:focus-visible .aayda-news-page__card-media img {
    top: -3.67%;
    left: -8.44%;
    width: 116.89%;
    height: 107.35%;
  }

  .aayda-news-page__card:hover .aayda-news-page__card-more,
  .aayda-news-page__card:focus-visible .aayda-news-page__card-more {
    width: 140px;
    gap: var(--aayda-numbers-spacing-4);
    color: var(--aayda-colors-news-link-hover);
  }

  /* Figma 7230:31119: 36px below the tab strip, 1271×466 with 200/140 padding, 100px above the
     footer (the 52px the page already leaves, plus 48). */
  .aayda-news-page__empty {
    width: 1271px;
    max-width: none;
    margin: 10px 0 48px;
    padding: 200px 140px;
  }

  /* The design's 376px control (seven 40px slots) sat 460px into the 1272px frame, centred on 648px.
     The window now runs to eleven slots mid-list (1 … 4 5 6 7 8 … 436), so the control is centred
     on that same line instead of growing to the right: a seven-slot control lands exactly where it
     did (24 + (1248 − 376) / 2 = 460). */
  .aayda-news-page__pagination {
    justify-content: center;
    width: 1248px;
    max-width: none;
    margin-left: calc((100% - 1272px) / 2 + 24px);
    margin-right: auto;
  }
}

/*
  Loading and error states of an in-place category switch (js/pages/news.js), as the specification
  requires them.

  The placeholder card is the real card's box — the same size and radius, the image area at the
  image's height — so the grid keeps its shape when the real cards replace it. A slow pulse marks it
  as loading, and stands down under reduced motion.
*/
.aayda-news-page__skeleton-card {
  display: flex;
  flex-direction: column;
  gap: var(--aayda-numbers-spacing-12);
  box-sizing: border-box;
  width: 100%;
  height: 348px;
  padding: var(--aayda-numbers-spacing-4) var(--aayda-numbers-spacing-4) 0;
  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);
  animation: aayda-news-skeleton-pulse 1.4s ease-in-out infinite;
}

.aayda-news-page__skeleton-media {
  display: block;
  flex-shrink: 0;
  width: 100%;
  height: 198px;
  background: var(--aayda-colors-base-white);
  border-radius: var(--aayda-radius-image);
}

.aayda-news-page__skeleton-line {
  display: block;
  width: calc(100% - 28px);
  height: 16px;
  margin-inline: 14px;
  background: var(--aayda-colors-base-white);
  border-radius: 8px;
}

.aayda-news-page__skeleton-line--short {
  width: 45%;
}

@keyframes aayda-news-skeleton-pulse {
  50% {
    opacity: 0.55;
  }
}

/* The error panel is the empty panel's box with a retry button under the message. */
.aayda-news-page__retry {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 151px;
  height: 44px;
  padding: 0 var(--aayda-numbers-spacing-20);
  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);
  color: var(--aayda-colors-blue-400);
  cursor: pointer;
  background: var(--aayda-colors-base-white);
  border: 2px solid var(--aayda-colors-blue-400);
  border-radius: 100px;
}

.aayda-news-page__retry:focus-visible {
  outline: 3px solid var(--aayda-colors-blue-400);
  outline-offset: 2px;
}

@media (min-width: 1416px) {
  .aayda-news-page__skeleton-card {
    width: 408px;
    height: 397px;
    padding: 4px 4px 25px;
  }

  .aayda-news-page__skeleton-media {
    height: 245px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .aayda-news-page__skeleton-card {
    animation: none;
  }
}
