.news-section {
  min-height: 100vh;
  min-height: 100svh;
  background: #eee7d5;
  color: #51352f;
  padding: clamp(44px, 6vh, 76px) clamp(28px, 5.2vw, 84px);
}

.news-section__inner {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: clamp(22px, 3vh, 34px);
  width: min(100%, 1500px);
  min-height: calc(100vh - clamp(88px, 12vh, 152px));
  min-height: calc(100svh - clamp(88px, 12vh, 152px));
  margin: 0 auto;
}

.news-section__heading h2 {
  margin: 0;
  font-size: var(--section-title-size);
  font-weight: 700;
  letter-spacing: -0.035em;
}

.news-section__rule {
  position: relative;
  height: 8px;
  margin-top: 20px;
  border-top: 1px solid rgba(81, 53, 47, 0.28);
}

.news-section__rule::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  width: 64px;
  height: 5px;
  background: #d4b684;
}

.news-section__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-template-rows: minmax(280px, 1.65fr) minmax(135px, 0.75fr);
  gap: clamp(16px, 1.6vw, 24px);
  min-height: 0;
}

.news-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: 8px;
}

.news-card--link {
  color: inherit;
  text-decoration: none;
}

.news-card--link:focus-visible {
  outline: 3px solid #9d7e59;
  outline-offset: 4px;
}

.news-card--large {
  grid-column: span 3;
  background: #3f2b27;
}

.news-card--large .news-card__image-wrap {
  height: 100%;
}

.news-card--small {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(120px, 43%) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(16px, 1.7vw, 26px);
}

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

.news-card--large::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(28, 18, 16, 0.05) 25%,
    rgba(28, 18, 16, 0.9) 100%
  );
}

.news-card--large .news-card__content {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  padding: clamp(24px, 3vw, 44px);
  color: #fff;
}

.news-card--small .news-card__image-wrap {
  min-height: 135px;
  overflow: hidden;
  border-radius: 7px;
}

.news-card--small .news-card__content {
  align-self: center;
  padding: 10px 12px 10px 0;
}

.news-card__title {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.18;
}

.news-card--large .news-card__title {
  max-width: 28ch;
  font-size: clamp(1.35rem, 1.75vw, 2rem);
}

.news-card--small .news-card__title {
  font-size: clamp(1rem, 1.35vw, 1.35rem);
}

.news-card__date {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 18px 0 0;
  color: inherit;
  font-size: clamp(0.72rem, 0.9vw, 0.88rem);
  font-weight: 600;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.news-card--small .news-card__date {
  margin-top: 16px;
  color: #736b64;
}

.news-card__date svg {
  width: 19px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.news-section__empty {
  grid-column: 1 / -1;
  align-self: center;
  margin: 0;
  color: #786e65;
  text-align: center;
}

@media (max-width: 980px) {
  .news-section {
    min-height: auto;
  }

  .news-section__inner {
    min-height: 0;
  }

  .news-section__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
  }

  .news-card--large,
  .news-card--small {
    grid-column: span 1;
  }

  .news-card--large {
    min-height: 340px;
  }

  .news-card--small {
    grid-template-columns: minmax(120px, 40%) minmax(0, 1fr);
    min-height: 150px;
  }

  .news-card--small:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .news-section {
    padding: 48px 20px 54px;
  }

  .news-section__grid {
    grid-template-columns: 1fr;
  }

  .news-card--large,
  .news-card--small,
  .news-card--small:last-child:nth-child(odd) {
    grid-column: 1;
  }

  .news-card--large {
    min-height: 310px;
  }

  .news-card--small {
    grid-template-columns: 38% minmax(0, 1fr);
    min-height: 130px;
  }

  .news-card--small .news-card__image-wrap {
    min-height: 130px;
  }
}

@media (max-width: 430px) {
  .news-card--small {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .news-card--small .news-card__image-wrap {
    height: 190px;
  }

  .news-card--small .news-card__content {
    padding: 0 2px 10px;
  }
}
