:root {
  --bg:           #0a0a0b;
  --surface:      #111114;
  --surface-2:    #18181d;
  --border:       rgba(255,255,255,0.07);
  --accent:       #b06aff;
  --accent-dim:   #7c3fbf;
  --accent-glow:  rgba(176, 106, 255, 0.18);
  --text-primary: #f0edf6;
  --text-secondary:#a89ec0;
  --text-muted:   #5c5570;
  --radius-sm:    0.375rem;
  --radius-md:    0.75rem;
  --radius-lg:    1.25rem;
  --font-display: 'DM Sans', sans-serif;
  --font-body:    'DM Sans', sans-serif;
  --font-mono:    'DM Mono', monospace;
  --shadow-sm:    0 0.125rem 0.75rem rgba(0,0,0,0.4);
  --shadow-md:    0 0.5rem 2.5rem rgba(0,0,0,0.6);
}
.trending-articles {
  padding: 4rem 2rem 5rem;
  max-width: 87.5rem;
  margin: 0 auto;
  font-family: var(--font-body);
  position: relative;
}
.rec-sec-title {
  font-family: var(--font-mono);
  font-size: clamp(1.2rem, 3vw, 1rem);
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 2.25rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.trending-articles h2.rec-sec-title span {
  color: var(--accent);
}
.trending-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.trending-article-card {
  background: var(--surface);
  border: 0.0625rem solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s ease,
    border-color 0.3s ease;
  position: relative;
}
.trending-article-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  box-shadow: inset 0 0 0 0.0625rem rgba(176, 106, 255, 0);
  transition: box-shadow 0.3s ease;
  pointer-events: none;
}
.trending-article-card:hover {
  transform: translateY(-0.25rem);
  box-shadow: var(--shadow-md), 0 0 2.5rem rgba(176, 106, 255, 0.12);
  border-color: rgba(176, 106, 255, 0.25);
}
.trending-article-card:hover::after {
  box-shadow: inset 0 0 0 0.0625rem rgba(176, 106, 255, 0.2);
}
.trending-article-card a {
  color: inherit;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.article-image {
  width: 100%;
  height: 11rem;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}
.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.trending-article-card:hover .article-image img {
  transform: scale(1.06);
}
.trending-article-card .article-meta {
  position: absolute;
  bottom: 0.6rem;
  left: 0.6rem;
  width: auto;
  max-width: calc(100% - 1.2rem);
  background: rgba(10, 10, 11, 0.72);
  backdrop-filter: blur(0.5rem);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.3rem 0.4rem;
  border-radius: 2rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  border: 0.0625rem solid rgba(255,255,255,0.08);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.trending-article-card .article-meta span {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 2rem;
  color: white;
  margin: 0 !important;
  flex-shrink: 0;
}
.article-content {
  padding: 1.1rem 1.25rem 1.4rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: var(--surface);
  transition: background 0.3s ease;
}
.trending-article-card:hover .article-content {
  background: var(--surface-2);
}
.trending-article-card h5,
.trending-article-card h4,
.trending-article-card h3{
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}
.trending-article-card:hover h5,
.trending-article-card:hover h4,
.trending-article-card:hover h3 {
  color: #cfa0ff;
}
.trending-grid .article-excerpt {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0;
  font-weight: 300;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.similar-articles .article-meta {
  position: absolute;
  bottom: 0.6rem;
  left: 0.6rem;
  width: auto;
  background: rgba(10, 10, 11, 0.72);
  backdrop-filter: blur(0.5rem);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 0.3rem 0.65rem;
  border-radius: 2rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  border: 0.0625rem solid rgba(255,255,255,0.08);
}
.similar-articles .exit-scammed,
.similar-articles .seized,
.similar-articles .shut-down {
  margin: 0 !important;
}
@keyframes cardReveal {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.trending-article-card {
  animation: cardReveal 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.trending-article-card:nth-child(1) { animation-delay: 0.05s; }
.trending-article-card:nth-child(2) { animation-delay: 0.12s; }
.trending-article-card:nth-child(3) { animation-delay: 0.19s; }
.trending-article-card:nth-child(4) { animation-delay: 0.26s; }
.trending-article-card:nth-child(5) { animation-delay: 0.33s; }
.trending-article-card:nth-child(6) { animation-delay: 0.40s; }
@media (max-width: 1660px) {
  .trending-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 71.875rem) {
  .trending-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 0;
  }
  .trending-article-card {
    width: 100%;
    margin: 0;
  }
}
@media (max-width: 43.75rem) {
  .trending-articles {
    padding: 2.5rem 1rem 3rem;
  }
  .trending-grid,
  .trending-grid.similar-grid {
    grid-template-columns: 1fr;
    padding: 0;
  }
  .trending-article-card {
    width: 100% !important;
    margin: 0;
  }
}