.home-page {
  padding-bottom: 16px;
}
.home-page__title {
  padding-block: 16px;
  font-weight: 650;
  font-size: 32px;
  line-height: 32px;
  text-transform: uppercase;
  color: #0199A0;
}
.home-page__content-group {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.home-page__text {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  font-weight: 400;
}
.home-page__text strong {
  font-weight: 550;
}
.home-page__side-banners {
  display: none;
}
@media (width >= 1180px) {
  .home-page {
    padding-bottom: 60px;
  }
  .home-page__title {
    padding-top: 60px;
    padding-bottom: 32px;
    font-weight: 550;
    font-size: 36px;
    line-height: 36px;
  }
  .home-page__content {
    display: flex;
    justify-content: space-between;
  }
  .home-page__content-group {
    width: 752px;
  }
  .home-page__text {
    grid-template-columns: 267px 364px;
    gap: 24px;
  }
  .home-page__side-banners {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
}

.hero__inner {
  position: relative;
}
.hero__image {
  position: relative;
  height: 180px;
  border-radius: 6px;
  background-color: var(--primary-0500);
  overflow: hidden;
}
.hero__image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, var(--primary-0500) 0%, transparent 10%, transparent 90%, var(--primary-0500) 100%);
  pointer-events: none;
}
.hero__image img {
  height: 100%;
  object-fit: cover;
}
.hero__title {
  position: absolute;
  left: var(--container-padding);
  bottom: 0;
  padding: 12px;
  width: fit-content;
  border-radius: 4px;
  background-color: var(--primary-0700);
  font-weight: 650;
  font-size: 22px;
  line-height: 22px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--neutral-0000);
}
@media (width < 1180px) {
  .hero {
    padding-bottom: 39px;
  }
  .hero__title {
    transform: translateY(50%);
  }
}
@media (width >= 1180px) {
  .hero {
    background-color: var(--primary-0500);
  }
  .hero__image {
    height: 400px;
  }
  .hero__title {
    left: 0;
    bottom: 60px;
    padding: 16px 24px;
    background-color: var(--primary-0400-020);
    backdrop-filter: blur(24px);
    font-size: 36px;
    line-height: 36px;
    letter-spacing: normal;
  }
}

.home-news {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (width >= 1180px) {
  .home-news {
    grid-template-columns: 461px 267px;
    gap: 24px;
  }
  .home-news__more {
    place-self: end;
  }
}

.home-news-item {
  --image-overlay-opacity: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.home-news-item:first-child {
  grid-row: span 2;
}
@media (any-hover: hover) {
  .home-news-item:hover {
    --image-overlay-opacity: 1;
  }
}
@media (any-hover: none) {
  .home-news-item:active {
    --image-overlay-opacity: 1;
  }
}
.home-news-item__image {
  aspect-ratio: 328/256;
  position: relative;
}
.home-news-item__image::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background-color: var(--primary-0400-020);
  opacity: var(--image-overlay-opacity);
  pointer-events: none;
}
.home-news-item__image img {
  height: 100%;
  object-fit: cover;
}
.home-news-item__text {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 400;
  font-size: 18px;
  line-height: 26px;
  color: var(--neutral-0500);
}
.home-news-item__text strong {
  font-weight: 650;
  color: var(--primary-0700);
}
@media (width >= 1180px) {
  .home-news-item__text {
    font-size: 16px;
    line-height: 24px;
  }
}

.side-banner {
  --text-color: var(--neutral-0800);
  --text-decoration: none;
  --image-overlay-opacity: 0;
  width: 267px;
  height: 200px;
  position: relative;
}
.side-banner__image {
  position: relative;
}
.side-banner__image::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background-color: var(--primary-0400-020);
  opacity: var(--image-overlay-opacity);
  pointer-events: none;
}
.side-banner__image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.side-banner__caption {
  --bg-color: #ffffff;
  position: absolute;
  right: 0;
  bottom: 0;
  width: 180px;
  padding: 6px 0px;
  display: flex;
  justify-content: flex-end;
  background-color: var(--bg-color);
  font-weight: 400;
  font-style: italic;
  font-size: 16px;
  line-height: 24px;
  color: var(--text-color);
  text-decoration: var(--text-decoration);
  text-align: right;
}
.side-banner__caption::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: calc(100% - 1px);
  width: 19px;
  background-color: var(--bg-color);
  clip-path: polygon(calc(100% - 1px) 0, 100% 0, 100% 100%, 0% 100%);
}
@media (any-hover: hover) {
  .side-banner:hover {
    --image-overlay-opacity: 1;
    --text-color: var(--primary-0700);
    --text-decoration: underline;
  }
}
@media (any-hover: none) {
  .side-banner:active {
    --image-overlay-opacity: 1;
    --text-color: var(--primary-0700);
    --text-decoration: underline;
  }
}
