.news-section {
  position: relative;
  width: 100%;
  max-width: 100vw;
  overflow: visible;
  background-color: #f6efdf;
  padding: 50px 24px 45px;
  box-sizing: border-box;
}

.news-section__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(320px, 566px) minmax(0, 684px);
  column-gap: clamp(56px, 10.2vw, 142px);
  align-items: start;
}

.news-section__header {
  max-width: 566px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.news-section__title {
  margin: 0;
  max-width: 302px;
  font-family: "Outfit", sans-serif;
  font-size: clamp(56px, 7.2vw, 104px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -2.08px;
  text-transform: uppercase;
  color: #17407d;
}

.news-section__divider {
  width: 100%;
  height: 1px;
  background-color: #cbc4b5;
}

.news-section__intro {
  margin: 0;
  max-width: 566px;
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 26.4px;
  color: #001e44;
}

.news-section__intro p {
  margin: 0;
}

.news-section__header-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}

.news-section__filter-group {
  width: 280px;
  max-width: 100%;
}

.news-section__filter-label {
  display: block;
  margin: 0 0 8px;
  color: #032f70;
  font-family: Inter, sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 21.6px;
}

.news-section__select-wrap {
  position: relative;
  display: block;
}

.news-section__select {
  width: 100%;
  min-height: 56px;
  border: 1px solid #377ee4;
  border-radius: 0;
  padding: 16px 48px 16px 16px;
  background-color: transparent;
  color: #17407d;
  font-family: Inter, sans-serif;
  font-size: 15.6px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 0.188px;
  appearance: none;
  cursor: pointer;
}

.news-section__select-trigger {
  display: flex;
  align-items: center;
  text-align: left;
  width: 100%;
  font: inherit;
  border: 0;
  background: transparent;
}

.news-section__select-wrap.isOpen .news-section__select-trigger {
  border-bottom-color: transparent;
}

.news-section__select-caret {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  color: #17407d;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: transform 200ms ease;
}

.news-section__select-caret.isOpen {
  transform: translateY(-50%) rotate(180deg);
}

.news-section__dropdown-list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: #f6efdf;
  border: 1px solid #377ee4;
  border-top: 0;
  z-index: 10;
  display: none;
  max-height: 280px;
  overflow-y: auto;
}

.news-section__dropdown-list.isOpen {
  display: block;
}

.news-section__dropdown-option {
  margin: 0;
  padding: 12px 16px;
  color: #17407d;
  font-family: Inter, sans-serif;
  font-size: 15.6px;
  cursor: pointer;
}

.news-section__dropdown-option:hover,
.news-section__dropdown-option.isSelected {
  background: #eee6d4;
}

.news-section__view-all {
  display: inline-block;
  width: fit-content;
  border: 0;
  background-color: #377ee4;
  padding: 15px 30px;
  font-family: "Inter", sans-serif;
  font-size: 15.6px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: 0.188px;
  text-transform: uppercase;
  text-decoration: none;
  color: #ffffff;
  cursor: pointer;
}

.news-section__feed {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.news-section__row {
  width: 100%;
}

.news-section__row--split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.news-section__card-link {
  display: block;
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  min-width: 0;
}

.news-section__card {
  margin: 0;
  display: flex;
  flex-direction: column;
  background: transparent;
  transition: background-color 0.25s ease-in-out;
}

.news-section__card-link:hover .news-section__card {
  background-color: #17407d;
}

.news-section__card--small {
  min-height: 387px;
}

.news-section__image-wrap {
  width: 100%;
  margin: 0;
  aspect-ratio: 3 / 2;
  background-color: #d7d0c0;
  flex-shrink: 0;
  overflow: hidden;
}

.news-section__card--large .news-section__image-wrap {
  aspect-ratio: 684 / 457;
}

.news-section__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-section__image--placeholder {
  min-height: 100%;
  background-color: #d7d0c0;
}

.news-section__card-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px 16px;
}

.news-section__category {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 24.94px;
  color: #377ee4;
  transition: color 0.25s ease-in-out;
}

.news-section__card-link:hover .news-section__category {
  color: #fff;
}

.news-section__loading {
  margin: 0;
  padding: 24px;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  color: #001e44;
}

.news-section__card-title {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2;
  color: #001e44;
  transition: color 0.25s ease-in-out;
}

.news-section__card-link:hover .news-section__card-title {
  color: #fff;
}

.news-section__watermark {
  position: absolute;
  left: -688px;
  bottom: 0;
  width: 1278px;
  height: 554px;
  overflow: hidden;
  opacity: 0.45;
  pointer-events: none;
}

.news-section__watermark-svg {
  display: block;
  width: 100%;
  height: 100%;
}

@media (min-width: 769px) {
  .news-section__header {
    position: sticky;
    top: 20px;
    align-self: start;
  }
}

@media (max-width: 768px) {
  .news-section {
    padding: 24px 12px;
  }

  .news-section__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .news-section__header {
    max-width: 100%;
    gap: 24px;
  }

  .news-section__header-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-top: 1.5rem;
  }

  .news-section__filter-group {
    width: 100%;
  }

  .news-section__title {
    max-width: 369px;
    font-size: 42px;
    letter-spacing: -0.42px;
  }

  .news-section__intro {
    max-width: 369px;
    font-size: 16px;
    line-height: 21.6px;
    color: #17407d;
  }

  .news-section__feed {
    gap: 24px;
  }

  .news-section__row--split {
    gap: 12px;
  }

  .news-section__card--small {
    min-height: auto;
  }

  .news-section__card-text {
    gap: 16px;
    padding: 16px 12px;
  }

  .news-section__card-title {
    font-size: 16px;
    line-height: 21.6px;
  }

  .news-section__watermark {
    display: none;
  }
}
