@font-face {
  font-family: "Roboto";
  src: url("/static/font/Roboto-Light.ttf") format("truetype");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src: url("/static/font/Roboto-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src: url("/static/font/Roboto-Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-width: 100%;
  min-height: 100%;
  margin: 0;
  background: #010102;
}

body {
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

button {
  padding: 0;
  border: 0;
  background: transparent;
}

.news-page {
  position: relative;
  width: 100%;
  height: max(100vh, calc(var(--browser-layout-width, 100vw) * 0.5625));
  min-height: 100vh;
  overflow: hidden;
  background: #010102;
}

.news-artboard {
  position: absolute;
  left: 50%;
  top: 0;
  width: 1920px;
  height: 1080px;
  overflow: hidden;
  background: #010102;
  transform: translateX(-50%) scale(calc(var(--browser-layout-width, 100vw) / 1920px));
  transform-origin: top center;
}

.news-background {
  position: absolute;
  left: -1365px;
  top: -603px;
  width: 4892px;
  height: 2613px;
  overflow: hidden;
  contain: paint;
  pointer-events: none;
}

.news-glow {
  position: absolute;
  width: 2593px;
  height: 1861px;
  background: radial-gradient(
    50% 50% at 50% 50%,
    rgba(21, 88, 222, 0.4) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  filter: blur(312.85px);
}

.news-glow-left {
  left: 0;
  top: 752px;
}

.news-glow-right {
  left: 2299px;
  top: 0;
}

.news-frame {
  position: absolute;
  left: 144px;
  top: 149px;
  width: 1632px;
  height: 870px;
  overflow: hidden;
  background: #0c0c0c;
  border-radius: 24px;
}

.news-frame-logo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: url("/static/image/logo_fon.png");
  background-repeat: repeat;
  background-position: left top;
  background-size: 280.8px 187.2px;
  opacity: 0.03;
  pointer-events: none;
}

.news-layout {
  position: absolute;
  left: 40px;
  top: 40px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 1552px;
  height: 790px;
  padding: 0;
  gap: 42px;
}

.news-heading {
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: center;
  width: 639px;
  height: 120px;
  margin: 0;
  padding: 0;
  gap: 8px;
}

.news-heading h1,
.news-heading p,
.news-card h2,
.news-card p {
  margin: 0;
  color: #ffffff;
}

.news-heading h1 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 639px;
  height: 56px;
  font-family: "Roboto", sans-serif;
  font-size: 48px;
  font-style: normal;
  font-weight: 400;
  line-height: 56px;
  text-align: center;
}

.news-heading p {
  display: flex;
  align-items: center;
  width: 639px;
  height: 56px;
  font-family: "Roboto", sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 300;
  line-height: 28px;
  text-align: center;
}

.news-content {
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: center;
  width: 1552px;
  height: 628px;
  padding: 0;
  gap: 20px;
}

.news-list-viewport {
  flex: none;
  width: 1552px;
  height: 584px;
  overflow: hidden;
}

.news-list {
  display: flex;
  flex: none;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
  width: max-content;
  height: 584px;
  padding: 0;
  gap: 48px;
  transform: translate3d(0, 0, 0);
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.news-card {
  display: flex;
  flex: 0 0 485.33px;
  flex-direction: column;
  align-items: center;
  width: 485.33px;
  min-width: 0;
  height: 584px;
  padding: 0;
  gap: 32px;
}

.news-card-image {
  flex: none;
  width: 100%;
  height: 378px;
  overflow: hidden;
  background: #18181c;
  border-radius: 24px;
}

.news-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.news-card-body {
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  min-height: 0;
  padding: 0;
  gap: 24px;
}

.news-card-copy {
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  min-height: 0;
  padding: 0;
  gap: 16px;
}

.news-card h2 {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 28px;
  font-family: "Roboto", sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: 28px;
}

.news-card p {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 23px;
  font-family: "Roboto", sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 300;
  line-height: 23px;
}

.news-card-link {
  position: relative;
  display: flex;
  flex: none;
  flex-direction: row;
  align-items: center;
  width: 108px;
  height: 24px;
  padding: 0;
  gap: 6px;
}

.news-card-link span {
  display: flex;
  align-items: center;
  width: 78px;
  height: 23px;
  font-family: "Roboto", sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 300;
  line-height: 23px;
  color: #4a83ff;
}

.news-card-link img {
  display: none;
}

.news-card-link::after {
  display: block;
  flex: none;
  width: 24px;
  height: 24px;
  background: #4a83ff;
  content: "";
  -webkit-mask: url("/static/svg/arrow_right_main.svg") center / contain no-repeat;
  mask: url("/static/svg/arrow_right_main.svg") center / contain no-repeat;
}

.news-pagination {
  display: flex;
  flex: none;
  flex-direction: row;
  align-items: center;
  width: auto;
  min-width: 0;
  height: 30px;
  padding: 0;
  gap: 26px;
}

.news-pagination[hidden] {
  display: none;
}

.news-pagination-arrow {
  display: block;
  flex: none;
  width: 30px;
  height: 30px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.news-pagination-arrow img {
  display: block;
  width: 30px;
  height: 30px;
}

.news-pagination-arrow:disabled {
  opacity: 0.28;
  cursor: default;
}

.news-pagination-dots {
  display: flex;
  flex: none;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: auto;
  height: 12px;
  padding: 0;
  gap: 8px;
}

.news-pagination-dots span {
  flex: none;
  width: 12px;
  height: 12px;
  border-radius: 100px;
  background: #ffffff;
}

.news-pagination-dots .is-active {
  background: #0051ff;
}

.news-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 420px;
  gap: 10px;
  color: #ffffff;
  text-align: center;
}

.news-empty h2,
.news-empty p {
  margin: 0;
}

.news-empty h2 {
  font-size: 32px;
  font-weight: 500;
}

.news-empty p {
  color: #a9a9ad;
  font-size: 20px;
  font-weight: 300;
}

@media (min-width: 768px) and (max-width: 1199px) {
  .news-page {
    height: auto;
    min-height: 100dvh;
    overflow-x: clip;
    overflow-y: visible;
  }

  .news-artboard {
    position: relative;
    left: 0;
    width: 100%;
    height: auto;
    min-height: 100dvh;
    overflow: visible;
    padding: 104px 32px 40px;
    transform: none;
  }

  .news-background {
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .news-glow {
    width: 1000px;
    height: 900px;
    filter: blur(180px);
  }

  .news-glow-left {
    left: -620px;
    top: 38%;
  }

  .news-glow-right {
    left: auto;
    right: -620px;
    top: -300px;
  }

  .news-frame {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 34px;
  }

  .news-layout {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: auto;
    gap: 34px;
  }

  .news-heading {
    width: min(639px, 100%);
    height: auto;
  }

  .news-heading h1,
  .news-heading p {
    width: 100%;
    height: auto;
  }

  .news-heading h1 {
    font-size: clamp(44px, 6vw, 58px);
    line-height: 1.17;
  }

  .news-content {
    width: 100%;
    height: auto;
    gap: 28px;
  }

  .news-list-viewport {
    width: 100%;
    height: auto;
    overflow: hidden;
  }

  .news-list {
    display: flex;
    width: max-content;
    height: auto;
    gap: 28px;
  }

  .news-card {
    flex: 0 0 calc((100vw - 120px) / 2);
    width: calc((100vw - 120px) / 2);
    height: auto;
    gap: 20px;
  }

  .news-card-image {
    height: auto;
    aspect-ratio: 485.33 / 378;
  }

  .news-card-body,
  .news-card-copy {
    width: 100%;
    height: auto;
  }

  .news-card-body {
    gap: 20px;
  }

  .news-card-copy {
    gap: 10px;
  }

  .news-card h2 {
    height: auto;
    min-height: 56px;
  }

  .news-card p {
    height: auto;
    min-height: 46px;
    white-space: normal;
  }

  .news-pagination {
    justify-content: space-between;
    width: 246.87px;
    height: 41.44px;
    gap: 36px;
  }

  .news-pagination-arrow,
  .news-pagination-arrow img {
    width: 41.44px;
    height: 41.44px;
  }

  .news-pagination-dots {
    width: 92px;
    height: 12px;
    gap: 8px;
  }

  .news-pagination-dots span {
    width: 12px;
    height: 12px;
  }
}

@media (min-width: 900px) and (max-width: 1199px) and (orientation: landscape) {
  .news-artboard {
    padding-top: 136px;
  }
}

@media (max-width: 767px) {
  .news-page {
    height: auto;
    min-height: 100dvh;
    overflow-x: clip;
    overflow-y: visible;
  }

  .news-artboard {
    position: relative;
    left: 0;
    width: 100%;
    height: auto;
    min-height: 100dvh;
    overflow: visible;
    padding: 82px 12px 24px;
    background: #010102;
    transform: none;
  }

  .news-background {
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .news-glow {
    width: 900px;
    height: 900px;
    opacity: 0.58;
    filter: blur(170px);
  }

  .news-glow-left {
    left: -620px;
    top: 46%;
  }

  .news-glow-right {
    left: auto;
    right: -620px;
    top: -300px;
  }

  .news-frame {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 28px 16px;
    border-radius: 18px;
  }

  .news-frame-logo {
    background-size: 140.4px 93.6px;
  }

  .news-layout {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: auto;
    gap: 28px;
  }

  .news-heading {
    align-items: flex-start;
    width: 100%;
    height: auto;
    gap: 8px;
  }

  .news-heading h1,
  .news-heading p {
    width: 100%;
    height: auto;
  }

  .news-heading h1 {
    justify-content: flex-start;
    font-size: clamp(30px, 9vw, 38px);
    line-height: 1.2;
    text-align: left;
  }

  .news-heading p {
    font-size: 17px;
    line-height: 22px;
    text-align: left;
  }

  .news-content {
    width: 100%;
    height: auto;
    gap: 28px;
  }

  .news-list-viewport {
    width: 100%;
    height: auto;
    overflow: hidden;
  }

  .news-list {
    display: flex;
    width: max-content;
    height: auto;
    gap: 32px;
  }

  .news-card {
    flex: 0 0 calc(100vw - 56px);
    width: calc(100vw - 56px);
    height: auto;
    gap: 16px;
  }

  .news-card-image {
    height: auto;
    aspect-ratio: 485.33 / 378;
  }

  .news-card-body,
  .news-card-copy {
    width: 100%;
    height: auto;
  }

  .news-card-body {
    gap: 16px;
  }

  .news-card-copy {
    gap: 8px;
  }

  .news-card h2 {
    height: auto;
    min-height: 0;
    font-size: 21px;
    line-height: 26px;
  }

  .news-card p {
    height: auto;
    min-height: 0;
    font-size: 17px;
    line-height: 22px;
    white-space: normal;
  }

  .news-card-link span {
    font-size: 18px;
    line-height: 22px;
  }

  .news-pagination {
    justify-content: space-between;
    width: 246.87px;
    height: 41.44px;
    gap: 36px;
  }

  .news-pagination-arrow,
  .news-pagination-arrow img {
    width: 41.44px;
    height: 41.44px;
  }

  .news-pagination-dots {
    width: 92px;
    height: 12px;
    gap: 8px;
  }

  .news-pagination-dots span {
    width: 12px;
    height: 12px;
    border-radius: 100px;
  }
}

@media (min-width: 1200px) and (max-width: 1199px) {
  .news-page {
    height: auto;
    min-height: 0;
    overflow-x: clip;
    overflow-y: visible;
  }

  .news-artboard {
    position: relative;
    left: 0;
    width: 100%;
    height: auto;
    min-height: 0;
    overflow: visible;
    padding: 112px clamp(44px, 6.2vw, 120px) 80px;
    background: #010102;
    transform: none;
  }

  .news-background {
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .news-glow {
    width: 1500px;
    height: 1300px;
    filter: blur(220px);
  }

  .news-glow-left {
    left: -900px;
    top: 40%;
  }

  .news-glow-right {
    left: auto;
    right: -900px;
    top: -520px;
  }

  .news-frame {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: auto;
    min-height: 0;
    padding: clamp(32px, 2.7vw, 40px);
  }

  .news-layout,
  .news-content,
  .news-list-viewport {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: auto;
  }

  .news-layout {
    gap: clamp(30px, 2.8vw, 42px);
  }

  .news-heading {
    width: min(639px, 100%);
    height: auto;
  }

  .news-heading h1,
  .news-heading p {
    width: 100%;
    height: auto;
  }

  .news-heading h1 {
    font-size: clamp(42px, 3.5vw, 56px);
    line-height: 1.16;
  }

  .news-heading p {
    font-size: clamp(20px, 1.55vw, 24px);
    line-height: 1.22;
  }

  .news-list {
    width: max-content;
    height: auto;
    gap: clamp(28px, 3vw, 48px);
  }

  .news-card {
    flex: 0 0 calc((100vw - clamp(88px, 12.4vw, 240px) - clamp(120px, 10vw, 176px)) / 3);
    width: calc((100vw - clamp(88px, 12.4vw, 240px) - clamp(120px, 10vw, 176px)) / 3);
    height: auto;
    gap: 24px;
  }

  .news-card-image {
    height: auto;
    aspect-ratio: 485.33 / 378;
  }

  .news-card-body,
  .news-card-copy {
    width: 100%;
    height: auto;
  }

  .news-card-copy {
    gap: 12px;
  }

  .news-card h2,
  .news-card p {
    height: auto;
  }
}

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