/* ================ */
/* ===== HERO ===== */
/* ================ */

.hero {
  position: relative;
  background-image: linear-gradient(-70deg, #34322c 49.9%, #dad9d0 50.1%);
  height: 100vh;
  /* height: calc(100vh - 12em); */
  /* margin-top: 12em; */
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: 3em 0;
}

.hero__logo {
  max-width: 200px;
  max-height: 300px;
  margin-bottom: clamp(2rem, 4vw, 7rem);
}

.hero__logo img {
  width: 100%;
  height: auto;
  opacity: 0.5;
}

.hero__img {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 350px;
  max-height: 230px;
}

.hero__img img {
  width: clamp(80%, 60vw, 100%);
  height: auto;
  filter: brightness(0.7);
  opacity: 0.99;
  z-index: -1;
}

.hero__title {
  font-size: clamp(2.2rem, 4.5vw, 6.2rem);
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  line-height: 1.1;
  text-align: center;
  margin-bottom: clamp(1rem, 2vw, 3rem);
}

.hero__button {
  padding: 1.3rem clamp(2rem, 4vw, 10rem);
  border-radius: 20px;
}


/* ================ */
/* ===== NEWS ===== */
/* ================ */

/* ========== News Section ========== */
.news {
  padding: clamp(4rem, 6vw, 6rem) 0;
  background: var(--accent);
}

.news__title {
  margin-bottom: 3rem;
  font-weight: 700;
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  text-align: center;
  text-transform: uppercase;
  color: var(--main-text-color);
}

.news__news-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(28rem, 1fr));
  gap: clamp(2rem, 3vw, 4rem);
  list-style: none;
  padding: 0;
}

.news__news-item {
  background: var(--main-text-color);
  border-radius: 3rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 2rem;
}

.news__news-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  margin-bottom: 2rem;
}

.news__news-content {
  width: 90%;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  min-height: 22rem;
}

.news__news-title {
  font-weight: 600;
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: var(--accent);
}

.news__news-descr {
  font-size: 1.4rem;
  line-height: 1.6;
  color: var(--accent);
  margin-bottom: 2rem;
  flex-grow: 1;
}

.news__news-link {
  width: 80%;
  align-self: center;
  border-radius: 2rem;
  padding: 1.3rem;
  background: var(--accent-secondary);
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
  text-align: center;
  color: var(--accent);
}

/* ========== Media Section Full CSS ========== */

.media {
  padding: clamp(4rem, 6vw, 6rem) 0;
}

.media__title {
  margin-bottom: 3rem;
  font-size: clamp(3.2rem, 5vw, 4.2rem);
  text-align: center;
  text-transform: uppercase;
  color: var(--accent);
}

.media__swiper-inner {
  max-width: 104rem;
  margin: 0 auto;
  position: relative;
  padding: 0 5rem;
}

.media__swiper {
  width: 100%;
  max-width: 83.6rem;
  border-radius: 2.2rem;
  overflow: hidden;
}

.media__swiper-slide img {
  width: 100%;
  height: auto;
  display: block;
}

.media__swiper-btns {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.media__swiper-prev,
.media__swiper-next {
  pointer-events: auto;
  cursor: pointer;
  transition: transform 0.2s;
}

.media__swiper-prev:hover,
.media__swiper-next:hover {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .hero {
    height: calc(100vh - 9em);
    margin-top: 8.9em;
  }

  .news__list {
    grid-template-columns: 1fr 1fr;
  }

    .media__swiper-inner {
    padding: 0;
  }

  .media__swiper-btns {
    display: none;
  }
}

@media (max-width: 500px) {
  .news__list {
    grid-template-columns: 1fr;
  }

  .news__img {
    max-width: none;
  }

  .news__link {
    max-width: none;
  }
}

@media (max-width: 480px) {
  .body {
    min-width: 0;
  }

  .news__news-content {
    min-height: 15rem;
  }
}