/* ПЕРВЫЙ ЭКРАН СТРАНИЦЫ НОВОСТИ */

.news-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: calc(var(--header-h) + 40px) 0 80px;
  background-color: var(--primary);
}

.news-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.news-hero__bg picture,
.news-hero__bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-hero::before {
  content: '';
  position: absolute;
  top: -120px;
  left: -200px;
  z-index: 1;
  width: 1066px;
  height: 503px;
  border-radius: 50%;
  background-color: var(--glow);
  opacity: 0.24;
  filter: blur(72.85px);
  pointer-events: none;
}

.news-hero::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 50%;
  z-index: 2;
  width: 364px;
  height: 373px;
  transform: translate3d(-50%, 50%, 0);
  background-color: var(--text-primary);
  opacity: 0.4;
  -webkit-mask: url('../../imgs/inner-hero-pattern.svg') no-repeat center / contain;
  mask: url('../../imgs/inner-hero-pattern.svg') no-repeat center / contain;
  pointer-events: none;
}

.news-hero .container {
  position: relative;
  z-index: 3;
}

.news-hero__meta {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}


.news-hero__title {
  max-width: 910px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.news-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  color: var(--button);
}

.news-hero__back::before {
  content: '';
  flex-shrink: 0;
  width: 59px;
  height: 8px;
  background-color: var(--button);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='59' height='8' viewBox='0 0 59 8'%3E%3Cpath d='M58.5043 3.70927C58.7804 3.70689 59.0024 3.48111 59 3.20498C58.9976 2.92885 58.7718 2.70693 58.4957 2.70931L58.5 3.20929L58.5043 3.70927ZM0.14341 3.3588C-0.0501623 3.55574 -0.0474332 3.87231 0.149506 4.06588L3.3588 7.22031C3.55574 7.41388 3.87231 7.41115 4.06588 7.21421C4.25945 7.01728 4.25672 6.70071 4.05978 6.50713L1.20708 3.70319L4.01102 0.85049C4.20459 0.653552 4.20186 0.336981 4.00492 0.143409C3.80798 -0.0501624 3.49141 -0.0474333 3.29784 0.149505L0.14341 3.3588ZM58.5 3.20929L58.4957 2.70931L0.495688 3.20931L0.499999 3.70929L0.504309 4.20927L58.5043 3.70927L58.5 3.20929Z' fill='%23000'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='59' height='8' viewBox='0 0 59 8'%3E%3Cpath d='M58.5043 3.70927C58.7804 3.70689 59.0024 3.48111 59 3.20498C58.9976 2.92885 58.7718 2.70693 58.4957 2.70931L58.5 3.20929L58.5043 3.70927ZM0.14341 3.3588C-0.0501623 3.55574 -0.0474332 3.87231 0.149506 4.06588L3.3588 7.22031C3.55574 7.41388 3.87231 7.41115 4.06588 7.21421C4.25945 7.01728 4.25672 6.70071 4.05978 6.50713L1.20708 3.70319L4.01102 0.85049C4.20459 0.653552 4.20186 0.336981 4.00492 0.143409C3.80798 -0.0501624 3.49141 -0.0474333 3.29784 0.149505L0.14341 3.3588ZM58.5 3.20929L58.4957 2.70931L0.495688 3.20931L0.499999 3.70929L0.504309 4.20927L58.5043 3.70927L58.5 3.20929Z' fill='%23000'/%3E%3C/svg%3E") no-repeat center / contain;
}

.news-hero__back:hover {
  opacity: 0.7;
}

/* ============================================
   ПЛАНШЕТ ≤ 1080px
   ============================================ */

@media (max-width: 1080px) {

  .news-hero {
    padding: calc(var(--header-h) + 40px) 0 40px;
  }

  .news-hero::after {
    width: 260px;
    height: 266px;
  }
}

/* ============================================
   МОБАЙЛ ≤ 768px
   ============================================ */

@media (max-width: 768px) {

  .news-hero {
    padding: calc(var(--header-h) + 10px) 0 20px;
  }

  .news-hero::before {
    left: -50%;
    width: 200%;
    height: 320px;
  }

  .news-hero::after {
    transform: none;
    bottom: 0;
    left: 10px;
    opacity: 0.2;
  }

  .news-hero__meta {
    gap: 20px;
    margin-top: 20px;
  }

  .news-hero__title {
    max-width: 100%;
    margin-top: 20px;
    margin-bottom: 20px;
  }
}
