.news-card {
  background: rgba(21, 40, 48, 0.9);
  border: 1px solid rgba(255, 231, 186, 0.3);
  border-radius: 0;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    backdrop-filter 0.3s ease;
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  overflow: visible;
  z-index: 20;
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.news-card__image-wrap {
  position: relative;
  overflow: hidden;
}

.news-card__image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.news-card__image:hover {
  transform: scale(1.05);
}

/* ── Lightbox Modal ── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.9);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.lightbox--open {
  opacity: 1;
  visibility: visible;
}

.lightbox__content {
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox__img {
  display: block;
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox__close {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  z-index: 1001;
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.news-card__content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-card__source {
  padding: 4px 12px;
  border-radius: 0;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.news-card__source--armyinform {
  background: rgba(74, 222, 128, 0.2);
  color: #4ade80;
}

.news-card__source--mod {
  background: rgba(250, 204, 21, 0.2);
  color: #facc15;
}

.news-card__source--zsu {
  background: rgba(96, 165, 250, 0.2);
  color: #60a5fa;
}

.news-card__source--custom {
  background: rgba(236, 72, 153, 0.2);
  color: #ec4899;
}

.news-card__date {
  color: #888;
  font-size: 14px;
}

.news-card__title {
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 1.4;
}

.news-card__title a {
  color: #ffe7ba;
  text-decoration: none;
  transition: color 0.3s ease;
}

.news-card__title a:hover {
  color: #ffa600;
}

.news-card__description {
  color: #aaa;
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 16px;
}

.news-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 231, 186, 0.1);
}
