
.news-featured {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 16px;
  width: 100%;
}

.news-featured-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.news-featured .news-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: rgb(var(--foreground));
  background: rgb(var(--card));
  border: 1px solid rgb(var(--border));
  transition: transform .15s ease, box-shadow .15s ease;
}

.news-featured .news-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.news-card--lead {
  min-height: 380px;
  display: flex;
  align-items: flex-end;
}

.news-card--lead .news-card-media {
  position: absolute;
  inset: 0;
}

.news-card--lead .news-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card--lead::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.15) 55%, transparent 100%);
}

.news-card--lead .news-card-body {
  position: relative;
  z-index: 1;
  padding: 20px;
  color: #fff;
}

.news-card--secondary {
  display: flex;
  flex-direction: column;
  min-height: 180px;
}

.news-card--secondary .news-card-media {
  height: 110px;
}

.news-card--secondary .news-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-card--secondary .news-card-body {
  padding: 12px 14px;
  flex: 1;
}

.news-card-cat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: rgb(var(--primary));
  margin-bottom: 6px;
}

.news-card-cat::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgb(var(--primary));
}

.news-card--lead .news-card-title {
  font-size: 22px;
  line-height: 1.25;
  font-weight: 800;
  margin: 0 0 8px;
  font-family: var(--app-font, 'Space Grotesk Qwantium', sans-serif);
}

.news-card--secondary .news-card-title {
  font-size: 14.5px;
  line-height: 1.3;
  font-weight: 700;
  margin: 0 0 8px;
  font-family: var(--app-font, 'Space Grotesk Qwantium', sans-serif);
  color: rgb(var(--foreground));
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-meta {
  font-size: 12px;
  opacity: .75;
  color: rgb(var(--muted-foreground));
  display: flex;
  align-items: center;
  gap: 6px;
}

.news-card--lead .news-card-meta {
  color: rgba(255, 255, 255, 0.85);
  opacity: 1;
}

.news-card-dot {
  opacity: .6;
}

.news-skeleton {
  background: linear-gradient(90deg,
      rgb(var(--muted) / 0.5) 25%,
      rgb(var(--muted) / 0.9) 37%,
      rgb(var(--muted) / 0.5) 63%);
  background-size: 400% 100%;
  animation: news-skeleton-shine 1.4s ease infinite;
}

@keyframes news-skeleton-shine {
  0% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0 50%;
  }
}

.news-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  width: 100%;
  margin: 0 0 16px;
}

.news-tile {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: rgb(var(--foreground));
  background: rgb(var(--card));
  border: 1px solid rgb(var(--border));
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.news-tile:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  background: rgb(var(--muted));
}

.news-tile-media {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  background: rgb(var(--muted));
}

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

.news-tile-body {
  min-width: 0;
  flex: 1;
}

.news-tile-title {
  font-size: 13px;
  line-height: 1.3;
  font-weight: 700;
  margin: 0 0 4px;
  font-family: var(--app-font, 'Space Grotesk Qwantium', sans-serif);
  color: rgb(var(--foreground));
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-tile-meta {
  font-size: 11px;
  opacity: .7;
  color: rgb(var(--muted-foreground));
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-tile-dot {
  opacity: .6;
}

.news-tile.news-skeleton {
  height: 72px;
}

.news-tile--more {
  justify-content: center;
  align-items: center;
  gap: 6px;
  color: rgb(var(--primary));
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.news-tile--more .news-tile-more-text {
  white-space: nowrap;
}

.news-tile--more svg {
  flex-shrink: 0;
  transition: transform .15s ease;
}

.news-tile--more:hover svg {
  transform: translateX(2px);
}

@media (max-width: 768px) {
  .news-tiles {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .news-featured {
    grid-template-columns: 1fr;
  }

  .news-card--lead {
    min-height: 260px;
  }

  .news-featured-side {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .news-featured-side .news-card--secondary {
    flex: 1 1 calc(50% - 8px);
    min-height: 200px;
  }
}

html.btn-style-square .news-featured .news-card,
html.btn-style-square .news-tile {
  border-radius: 0;
}

.news-paywall {
  flex-shrink: 0;
  opacity: .8;
}
