.hero {
  position: relative;
  padding-top: 80px;
}

.hero::before {
  bottom: 106px;
  width: 100%;
}

.hero-container {
  display: flex;
  gap: 28px;
}

.hero h1 {
  margin-bottom: 40px;
  font-family: Oswald, sans-serif;
  font-weight: 600;
  font-size: 62px;
  line-height: 115%;
  text-transform: uppercase;
  color: #2c332f;
}

.hero h1 strong {
  font-weight: 600;
  color: #3596ed;
}

.hero-info {
  max-width: 492px;
}

.hero-info .text {
  max-width: 440px;
  margin-bottom: 140px;
}

.hero-images {
  position: relative;
  display: flex;
}

.hero-choose {
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 161px;
  padding: 22px;
  background: rgb(255 255 255 / 0.9);
  border: 1px solid #535755;
  text-align: center;
}

.news-container {
  display: flex;
  gap: 28px;
}

.news-article {
  display: flex;
  flex-direction: column;
  max-width: 284px;
  flex: 1 1 25%;
  background-color: #fff;
  border: 1px solid #d3cbd9;
  overflow: hidden;
}

.news-article img {
  display: block;
}

.news-info {
  padding: 20px 20px 0;
  margin-bottom: 12px;
}

.news-date {
  display: inline-block;
  margin-bottom: 8px;
}

.news-article footer {
  padding: 0 20px 20px;
  margin-top: auto;
}

.news-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
  font-size: 16px;
  line-height: 130%;
  color: #3596ed;
}

.news-link::after {
  content: "";
  display: inline-block;
  width: 22px;
  height: 9px;
  background-image: url("../images/arrow-right-icon.svg");
  transition: transform 0.2s;
}

.news-link:hover::after {
  transform: translateX(5px);
}

.faq {
  position: relative;
}

.faq::before {
  top: 215px;
}

.faq-container {
  display: flex;
  gap: 28px;
}

details {
  margin-bottom: 20px;
  border-block: 1px solid #d3cbd9;
}

details:last-child {
  margin-bottom: 0;
}

details[open] summary::after {
  transform: rotate(180deg);
}

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  list-style: none;
  padding: 20px;
  cursor: pointer;
}

summary::after {
  content: "";
  display: inline-block;
  flex-shrink: 0;
  width: 17px;
  height: 22px;
  background: url("../images/arrow-down-icon.svg") no-repeat center / cover;
}

summary::-webkit-details-marker {
  display: none;
}

details > p {
  padding: 0 20px 20px;
}

@media (width <= 1440px) {
  .hero-images img {
    width: 50%;
  }
}

@media (width <= 992px) {
  .hero::after {
    display: none;
  }

  .hero-container {
    flex-direction: column;
    align-items: center;
  }

  .hero-info {
    text-align: center;
  }

  .hero h1 {
    margin-bottom: 30px;
    font-size: 52px;
  }

  .hero-info .text {
    max-width: inherit;
    margin-bottom: 30px;
  }

  .news-container {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .news-article {
    flex-basis: 50%;
    max-width: 350px;
  }

  .news-article img {
    width: 100%;
  }

  .faq::before {
    display: none;
  }

  .faq-container {
    flex-direction: column-reverse;
    align-items: center;
  }
}

@media (width <= 768px) {
  .hero h1 {
    font-size: 50px;
  }

  .news-article {
    flex-basis: 100%;
    max-width: 400px;
  }
}

@media (width <= 576px) {
  .hero {
    padding-top: 60px;
  }

  .hero-info {
    max-width: 410px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-choose {
    max-width: 125px;
    padding: 10px;
    font-size: 14px;
  }
}
