.news-page {
  min-width: 0;
  background: var(--background);
}

.news-page__main {
  min-height: calc(100vh - 104px);
  margin-top: 0;
  overflow: hidden;
  background: var(--background);
}

.news-masthead {
  position: relative;
  height: 236px;
  padding: 24px 24px 8px;
  overflow: hidden;
  border-bottom: 1px solid var(--black);
}

.news-masthead__title {
  display: flex;
  height: 164px;
  align-items: center;
  justify-content: flex-end;
  margin: 0;
  color: var(--background);
  font-family: Impact, 'Arial Black', sans-serif;
  font-size: clamp(96px, 9.7222vw, 140px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  text-align: right;
  white-space: nowrap;
  -webkit-text-stroke: 4px var(--black);
  paint-order: stroke fill;
  text-shadow:
    2px 2px 0 var(--black),
    4px 4px 0 var(--black),
    6px 6px 0 var(--black),
    8px 8px 0 var(--black),
    10px 10px 0 var(--black),
    12px 12px 0 var(--black);
}

.news-masthead__meta {
  position: absolute;
  right: 24px;
  bottom: 8px;
  left: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  direction: ltr;
  color: var(--black);
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
}

.news-masthead__meta > :first-child {
  justify-self: start;
}

.news-masthead__meta > :nth-child(2) {
  justify-self: center;
}

.news-masthead__issue {
  display: flex;
  align-items: center;
  gap: 4px;
  direction: rtl;
}

.news-masthead__meta > :last-child {
  justify-self: end;
}

.news-board {
  display: grid;
  grid-template-columns: 312px minmax(0, 1fr);
  height: 660px;
  direction: ltr;
}

.news-board__visual {
  position: relative;
  min-width: 0;
  height: 660px;
  margin: 0;
  overflow: hidden;
  background: #d1d6df;
}

/*
 * The Figma frame intentionally contains an image placeholder. The supplied
 * final screenshot is kept intact and only its 329x583 news-art region is
 * displayed here. This source can later be replaced by the admin news image.
 */
.news-board__reference {
  position: absolute;
  top: -60.55%;
  left: -2.43%;
  display: block;
  width: 446.81%;
  height: 164.04%;
  max-width: none;
  object-fit: fill;
  pointer-events: none;
  user-select: none;
}

.news-list {
  min-width: 0;
  height: 660px;
  overflow-x: hidden;
  overflow-y: auto;
  border-left: 1px solid var(--black);
  direction: rtl;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.news-list::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.news-list__item {
  position: relative;
  display: flex;
  width: 100%;
  height: 80px;
  min-height: 80px;
  padding: 0 16px;
  overflow: hidden;
  align-items: flex-start;
  justify-content: flex-start;
  border: 0;
  border-bottom: 1px solid var(--black);
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--Black, #1A1A1A);
  direction: rtl;
  font-family: "Adapter Arabic Text";
  font-size: 70px;
  font-style: normal;
  font-weight: 700;
  line-height: 100%;
  text-align: right;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 160ms ease;
}

.news-list__item span {
  display: block;
  max-width: 100%;
  transform: translateY(16px);
  transition: transform 180ms ease;
}

.news-list__item:hover,
.news-list__item:focus-visible {
  background: #cfd5df;
}

.news-list__item:hover span,
.news-list__item:focus-visible span {
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .news-list__item,
  .news-list__item span {
    transition: none;
  }
}

@media (max-width: 992px) {
  .news-page__main {
    min-height: calc(100vh - 92px);
  }

  .news-masthead {
    height: 204px;
    padding-top: 20px;
  }

  .news-masthead__title {
    height: 136px;
    font-size: clamp(72px, 11vw, 108px);
    letter-spacing: 0;
    -webkit-text-stroke-width: 3px;
    text-shadow:
      2px 2px 0 var(--black),
      4px 4px 0 var(--black),
      6px 6px 0 var(--black),
      8px 8px 0 var(--black);
  }

  .news-masthead__meta {
    font-size: 16px;
  }

  .news-board {
    grid-template-columns: 28vw minmax(0, 1fr);
    height: calc(100dvh - 92px - 204px);
    min-height: 520px;
  }

  .news-board__visual,
  .news-list {
    height: 100%;
  }

  .news-list__item {
    height: 72px;
    min-height: 72px;
    font-size: clamp(42px, 6.4vw, 62px);
    line-height: 64px;
  }

  .news-list__item span {
    transform: translateY(14px);
  }

  .news-list__item:hover span,
  .news-list__item:focus-visible span {
    transform: translateY(0);
  }
}

@media (max-width: 760px) {
  .news-page__main {
    min-height: calc(100vh - 78px);
  }

  .news-masthead {
    height: 164px;
    padding: 18px 16px 8px;
  }

  .news-masthead__title {
    height: 96px;
    font-size: clamp(52px, 13.5vw, 86px);
    letter-spacing: 0;
    -webkit-text-stroke-width: 2px;
    text-shadow:
      2px 2px 0 var(--black),
      4px 4px 0 var(--black),
      6px 6px 0 var(--black);
  }

  .news-masthead__meta {
    right: 16px;
    bottom: 8px;
    left: 16px;
    font-size: clamp(10px, 2.5vw, 14px);
  }

  .news-masthead__meta > :first-child {
    max-width: 34vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .news-board {
    grid-template-columns: 30vw minmax(0, 1fr);
    height: calc(100dvh - 78px - 164px);
    min-height: 430px;
  }

  .news-list__item {
    height: 60px;
    min-height: 60px;
    padding-inline: 10px;
    font-size: clamp(31px, 7.3vw, 48px);
    line-height: 52px;
  }

  .news-list__item span {
    transform: translateY(12px);
  }

  .news-list__item:hover span,
  .news-list__item:focus-visible span {
    transform: translateY(0);
  }
}
