/* Homepage — newsroom block */
.home-news-root {
  display: grid;
  gap: 1.25rem;
}
.home-news-featured {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  text-decoration: none;
  color: inherit;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--theme-surface, rgba(18, 18, 22, 0.72));
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.home-news-featured:hover {
  transform: translateY(-3px);
  border-color: rgba(212, 166, 58, 0.4);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
}
.home-news-featured-media {
  min-height: 220px;
  background-size: cover;
  background-position: center;
  background-color: rgba(0, 0, 0, 0.35);
  position: relative;
}
.home-news-featured-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 5, 5, 0.85) 0%, transparent 55%);
}
.home-news-featured-body {
  padding: 1.25rem 1.35rem 1.5rem;
}
.home-news-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
.home-news-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: var(--theme-surface, rgba(18, 18, 22, 0.65));
  transition: transform 0.22s ease, border-color 0.22s ease;
  min-height: 100%;
}
.home-news-card:hover {
  transform: translateY(-2px);
  border-color: rgba(212, 166, 58, 0.35);
}
.home-news-card-media {
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  background-color: rgba(255, 255, 255, 0.04);
}
.home-news-card-body {
  padding: 1rem 1.1rem 1.15rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.home-news-card-title {
  font-weight: 800;
  font-size: 1.02rem;
  line-height: 1.35;
  margin: 0.45rem 0 0.5rem;
  color: var(--theme-heading, #fff);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.home-news-excerpt {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--theme-text-muted, #9ca3af);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.home-news-featured .home-news-excerpt {
  font-size: 0.95rem;
  -webkit-line-clamp: 2;
}
.home-news-meta {
  font-size: 0.72rem;
  color: var(--theme-text-muted, #9ca3af);
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
}
.home-news-featured-title {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 900;
  line-height: 1.2;
  margin: 0.5rem 0;
  color: var(--theme-heading, #fff);
}
.home-news-side {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .home-news-root {
    grid-template-columns: 1.15fr 1fr;
    align-items: stretch;
  }
  .home-news-featured {
    grid-template-rows: auto 1fr;
    min-height: 100%;
  }
  .home-news-featured-media {
    min-height: 280px;
  }
  .home-news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .home-news-grid--secondary {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .home-news-featured-media {
    min-height: 320px;
  }
}

[data-theme="light"] .home-news-featured,
[data-theme="light"] .home-news-card {
  background: #ffffff;
  border-color: rgba(14, 165, 233, 0.22);
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.08);
}
[data-theme="light"] .home-news-featured:hover,
[data-theme="light"] .home-news-card:hover {
  border-color: #0284c7;
  box-shadow: 0 14px 32px rgba(14, 165, 233, 0.14);
}
[data-theme="light"] .home-news-card-title,
[data-theme="light"] .home-news-featured-title {
  color: var(--theme-heading);
}
