.news-page {
  --news-fluid-width: min(100vw, var(--page-max-width));

  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  background: #050607;
}

.news-hero {
  position: relative;
  width: 100%;
  max-width: var(--page-max-width);
  margin-inline: auto;
  overflow: hidden;
}

.news-hero__image {
  width: 100%;
  height: auto;
}

.news-panel {
  position: relative;
  width: 100%;
  max-width: var(--page-max-width);
  min-height: calc(807 / var(--design-width) * var(--news-fluid-width));
  padding-top: calc(58 / var(--design-width) * var(--news-fluid-width));
  padding-bottom: calc(120 / var(--design-width) * var(--news-fluid-width));
  margin: calc(-207 / var(--design-width) * var(--news-fluid-width)) auto 0;
  color: #ffffff;
  background: var(--glass-panel-bg, rgb(5 6 7 / 58%));
  border: 1px solid var(--glass-panel-border-color, rgb(255 255 255 / 22%));
  border-bottom: 0;
  border-radius: calc(64 / var(--design-width) * var(--news-fluid-width))
    calc(64 / var(--design-width) * var(--news-fluid-width)) 0 0;
}

.news-panel::before {
  position: absolute;
  inset: 1px;
  border: 1px solid var(--glass-panel-inner-border-color, rgb(255 255 255 / 7%));
  border-bottom: 0;
  border-radius: calc(63 / var(--design-width) * var(--news-fluid-width))
    calc(63 / var(--design-width) * var(--news-fluid-width)) 0 0;
  pointer-events: none;
  content: "";
}

.news-list {
  position: relative;
  z-index: 1;
  width: calc(992 / var(--design-width) * var(--news-fluid-width));
  margin-inline: auto;
}

.news-item {
  position: relative;
  display: grid;
  grid-template-columns:
    calc(48 / var(--design-width) * var(--news-fluid-width))
    calc(216 / var(--design-width) * var(--news-fluid-width))
    minmax(0, 1fr);
  column-gap: calc(27 / var(--design-width) * var(--news-fluid-width));
  align-items: start;
  min-height: calc(200 / var(--design-width) * var(--news-fluid-width));
  padding-top: calc(1 / var(--design-width) * var(--news-fluid-width));
  padding-bottom: calc(30 / var(--design-width) * var(--news-fluid-width));
  border-bottom: 1px solid rgb(255 255 255 / 10%);
  cursor: pointer;
  transition:
    border-color 0.24s ease,
    transform 0.24s ease;
}

.news-item + .news-item {
  padding-top: calc(31 / var(--design-width) * var(--news-fluid-width));
}

.news-item__date {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-top: calc(1 / var(--design-width) * var(--news-fluid-width));
  color: #ffffff;
  line-height: 1;
  transition:
    color 0.24s ease,
    opacity 0.24s ease;
}

.news-item__day {
  font-size: calc(30 / var(--design-width) * var(--news-fluid-width));
  font-weight: 400;
  letter-spacing: 0;
}

.news-item__month {
  margin-top: calc(5 / var(--design-width) * var(--news-fluid-width));
  font-size: calc(15 / var(--design-width) * var(--news-fluid-width));
  font-weight: 400;
  letter-spacing: 0;
}

.news-item__image-wrap {
  width: calc(216 / var(--design-width) * var(--news-fluid-width));
  height: calc(140 / var(--design-width) * var(--news-fluid-width));
  overflow: hidden;
  border-radius: calc(8 / var(--design-width) * var(--news-fluid-width));
}

.news-item__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.32s ease;
}

.news-item__content {
  min-width: 0;
  padding-top: calc(1 / var(--design-width) * var(--news-fluid-width));
}

.news-item__title {
  margin: 0;
  color: #ffffff;
  font-size: calc(20 / var(--design-width) * var(--news-fluid-width));
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
  transition: color 0.24s ease;
}

.news-item__summary {
  max-width: calc(665 / var(--design-width) * var(--news-fluid-width));
  margin: calc(16 / var(--design-width) * var(--news-fluid-width)) 0 0;
  color: rgb(255 255 255 / 56%);
  font-size: calc(14 / var(--design-width) * var(--news-fluid-width));
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0;
  transition: color 0.24s ease;
}

.news-item__link {
  display: inline-flex;
  align-items: center;
  gap: calc(8 / var(--design-width) * var(--news-fluid-width));
  min-height: calc(24 / var(--design-width) * var(--news-fluid-width));
  margin-top: calc(19 / var(--design-width) * var(--news-fluid-width));
  color: #ffffff;
  font-size: calc(14 / var(--design-width) * var(--news-fluid-width));
  font-weight: 400;
  line-height: 1.4;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.news-item__link::after {
  width: calc(17 / var(--design-width) * var(--news-fluid-width));
  height: calc(9 / var(--design-width) * var(--news-fluid-width));
  background: currentColor;
  clip-path: polygon(0 44%, 78% 44%, 61% 0, 100% 50%, 61% 100%, 78% 56%, 0 56%);
  content: "";
}

.news-item:hover,
.news-item:focus-visible {
  border-color: rgb(58 164 255 / 42%);
  transform: translateX(calc(8 / var(--design-width) * var(--news-fluid-width)));
}

.news-item:hover .news-item__date,
.news-item:focus-visible .news-item__date {
  color: var(--color-primary);
  opacity: 0.95;
}

.news-item:hover .news-item__image,
.news-item:focus-visible .news-item__image {
  transform: scale(1.055);
}

.news-item:hover .news-item__title,
.news-item:focus-visible .news-item__title,
.news-item:hover .news-item__link,
.news-item:focus-visible .news-item__link {
  color: var(--color-primary);
}

.news-item:hover .news-item__summary,
.news-item:focus-visible .news-item__summary {
  color: rgb(255 255 255 / 68%);
}

.news-item:hover .news-item__link,
.news-item:focus-visible .news-item__link {
  transform: translateX(calc(4 / var(--design-width) * var(--news-fluid-width)));
}

.news-item__link:hover,
.news-item__link:focus-visible {
  color: var(--color-primary);
  transform: translateX(calc(4 / var(--design-width) * var(--news-fluid-width)));
}

.news-item:focus-visible,
.news-item__link:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 4px;
}

.news-list__empty {
  margin: 0;
  color: rgb(255 255 255 / 56%);
  font-size: calc(16 / var(--design-width) * var(--news-fluid-width));
  line-height: 1.5;
}

@media (max-width: 1199px) {
  .news-panel {
    min-height: auto;
    padding: 36px 20px 72px;
    margin-top: -54px;
    border-radius: 36px 36px 0 0;
  }

  .news-list {
    width: 100%;
  }

  .news-item {
    grid-template-columns: 58px minmax(0, 1fr);
    column-gap: 16px;
    min-height: auto;
    padding-bottom: 28px;
  }

  .news-item + .news-item {
    padding-top: 28px;
  }

  .news-item__date {
    align-items: flex-start;
  }

  .news-item__day {
    font-size: 30px;
  }

  .news-item__month {
    margin-top: 5px;
    font-size: 14px;
  }

  .news-item__image-wrap {
    grid-column: 2;
    width: min(216px, 100%);
    height: auto;
    aspect-ratio: 216 / 140;
    margin-bottom: 16px;
    border-radius: 8px;
  }

  .news-item__content {
    grid-column: 2;
    padding-top: 0;
  }

  .news-item__title {
    font-size: 19px;
  }

  .news-item__summary {
    max-width: none;
    margin-top: 12px;
    font-size: 14px;
  }

  .news-item__link {
    gap: 8px;
    min-height: 24px;
    margin-top: 16px;
    font-size: 14px;
  }

  .news-item__link::after {
    width: 17px;
    height: 9px;
  }

  .news-list__empty {
    font-size: 14px;
  }
}
