.news-section {
  width: 100%;
  min-width: 0;
  height: 100%;
}

.news-panel {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  min-height: 860px;
  height: 860px;
  padding: 28px;
  border-radius: 28px;
  background: rgba(244, 241, 234, 0.96);
  border: 1px solid rgba(36, 53, 29, 0.08);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.08);
}

.news-panel__title {
  margin: 0 0 18px;
  color: #24351d;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 2.6vw, 2.6rem);
  font-weight: 700;
  line-height: 0.95;
}

.news-panel__scroll {
  flex: 1 1 auto;
  min-height: 0;
  max-height: 780px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(36, 53, 29, 0.35) rgba(36, 53, 29, 0.08);
}

.news-panel__scroll::-webkit-scrollbar {
  width: 10px;
}

.news-panel__scroll::-webkit-scrollbar-track {
  background: rgba(36, 53, 29, 0.08);
  border-radius: 999px;
}

.news-panel__scroll::-webkit-scrollbar-thumb {
  background: rgba(36, 53, 29, 0.35);
  border-radius: 999px;
}

.news-panel__scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(36, 53, 29, 0.5);
}

.news-panel__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.news-panel__empty {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  color: #24351d;
  border: 1px solid rgba(36, 53, 29, 0.08);
}

.news-mini-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  overflow: hidden;
  min-width: 0;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(36, 53, 29, 0.08);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.05);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.news-mini-card:hover,
.news-mini-card:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.1);
}

.news-mini-card::before {
  display: none;
}

.news-mini-card__media {
  display: block !important;
  width: 100% !important;
  aspect-ratio: 1 / 1;
  height: auto !important;
  min-height: 0 !important;
  overflow: hidden;
  border-radius: 14px 14px 0 0;
}

.news-mini-card__image {
  display: block;
  width: 100%;
  height: 100% !important;
  min-height: 0 !important;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.news-mini-card:hover .news-mini-card__image,
.news-mini-card:focus-within .news-mini-card__image {
  transform: scale(1.04);
}

.news-mini-card__body {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  align-items: flex-start !important;
  gap: 12px;
  padding: 14px 14px 16px !important;
  min-width: 0;
  flex: 1 1 auto;
}

.news-mini-card__body h3 {
  margin: 0;
  color: #24351d;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.32rem;
  font-weight: 700;
  line-height: 1.05;
}

.news-mini-card__button {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  justify-content: center;
  min-width: 124px;
  min-height: 40px;
  padding: 0.62rem 1rem;
  border-radius: 10px;
  background: #24351d;
  border: 1px solid rgba(36, 53, 29, 0.12);
  color: #f4f1ea;
  text-decoration: none;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

.news-mini-card__button:hover,
.news-mini-card__button:focus-visible {
  transform: translateY(-1px);
  opacity: 0.96;
  box-shadow: 0 10px 18px rgba(20, 20, 20, 0.1);
}

.news-mini-card__button--accent {
  background: #cb7a3d;
  border-color: rgba(82, 42, 15, 0.18);
  color: #fff4e8;
}

@media (max-width: 1100px) {
  .news-panel {
    min-height: 780px;
    height: 780px;
    padding: 24px;
  }

  .news-panel__title {
    font-size: clamp(1.9rem, 2.4vw, 2.3rem);
  }

  .news-panel__scroll {
    max-height: 700px;
  }

  .news-mini-card__body h3 {
    font-size: 1.18rem;
  }
}

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

  .news-panel__scroll {
    max-height: 560px;
  }
}

@media (max-width: 768px) {
  .news-panel {
    padding: 22px;
  }

  .news-panel__title {
    font-size: 2.1rem;
    margin-bottom: 14px;
  }

  .news-panel__scroll {
    max-height: 500px;
    padding-right: 6px;
  }

  .news-panel__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .news-mini-card__body {
    padding: 14px !important;
  }
}

@media (max-width: 520px) {
  .news-panel {
    padding: 18px;
  }

  .news-panel__title {
    font-size: 1.9rem;
  }

  .news-panel__scroll {
    max-height: 420px;
  }

  .news-mini-card__body h3 {
    font-size: 1.05rem;
  }

  .news-mini-card__button {
    min-width: 118px;
    min-height: 38px;
    font-size: 0.88rem;
  }
}