.news-feed {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  min-height: 190px;
}

.news-feed--home {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-height: 250px;
}

.news-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 230px;
  flex-direction: column;
  padding: 26px 28px 24px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(48, 35, 20, .78), rgba(17, 13, 9, .96) 62%),
    #15100b;
  border: 1px solid rgba(217, 188, 122, .3);
  border-radius: 5px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .28);
}

.news-card::before {
  position: absolute;
  top: 0;
  right: 28px;
  left: 28px;
  height: 1px;
  content: '';
  background: linear-gradient(90deg, transparent, rgba(240, 220, 164, .72), transparent);
}

.news-card__title {
  margin: 0 0 8px;
  color: #f0dca4;
  font-family: Cinzel, Georgia, serif;
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 600;
  letter-spacing: .025em;
  line-height: 1.28;
}

.news-card__date {
  display: block;
  margin-bottom: 16px;
  color: #a99b7a;
  font-size: 14px;
  font-style: italic;
  letter-spacing: .035em;
}

.news-card__excerpt {
  margin: 0 0 22px;
  color: #d8ceb6;
  font-size: 17px;
  line-height: 1.55;
}

.news-card__link {
  align-self: flex-start;
  margin-top: auto;
  color: #d9bc7a;
  font-family: Cinzel, Georgia, serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .075em;
  line-height: 1.5;
  text-decoration: none;
  text-transform: uppercase;
}

.news-card__link:hover {
  color: #f0dca4;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.news-card__link:focus-visible {
  outline: 2px solid #f0dca4;
  outline-offset: 4px;
}

.news-feed__status {
  grid-column: 1 / -1;
  min-height: 150px;
  margin: 0;
  padding: 46px 24px;
  color: #b8ad91;
  border: 1px solid rgba(217, 188, 122, .22);
  background: rgba(20, 15, 10, .72);
  font-size: 18px;
  font-style: italic;
  text-align: center;
}

.news-skeleton {
  min-height: 230px;
  padding: 28px;
  border: 1px solid rgba(217, 188, 122, .17);
  border-radius: 5px;
  background: rgba(24, 18, 12, .72);
}

.news-skeleton::before,
.news-skeleton::after {
  display: block;
  content: '';
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(217, 188, 122, .045), rgba(217, 188, 122, .13), rgba(217, 188, 122, .045));
  background-size: 200% 100%;
  animation: news-loading 1.6s ease-in-out infinite;
}

.news-skeleton::before {
  width: 72%;
  height: 25px;
  margin-bottom: 38px;
}

.news-skeleton::after {
  width: 100%;
  height: 70px;
}

@keyframes news-loading {
  from { background-position: 200% 0; }
  to { background-position: -200% 0; }
}

@media (max-width: 920px) {
  .news-feed--home { grid-template-columns: 1fr; }
  .news-feed--home .news-skeleton:nth-child(n + 2) { display: none; }
}

@media (max-width: 680px) {
  .news-feed { grid-template-columns: 1fr; }
  .news-card { min-height: 0; padding: 23px 22px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .news-skeleton::before,
  .news-skeleton::after { animation: none; }
}
