/* ============================================================
   VOLUM TECHNOLOGIES — News Listing Page
   ============================================================ */

/* ── HERO ── */
.news-hero {
  background: #000;
  padding: 100px clamp(1.5rem, 5vw, 4rem) clamp(3rem, 6vw, 5rem);
  position: relative; overflow: hidden;
}
.news-hero::before {
  content: '';
  position: absolute; top: -150px; left: 50%; transform: translateX(-50%);
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,152,253,0.05) 0%, transparent 65%);
  pointer-events: none;
}
.news-hero-bg-word {
  position: absolute;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  font-size: clamp(8rem, 24vw, 22rem);
  font-weight: 800; letter-spacing: -0.04em; white-space: nowrap;
  background: linear-gradient(180deg, rgba(255,255,255,0.055) 0%, rgba(255,255,255,0.018) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  pointer-events: none; user-select: none; z-index: 0;
}
.news-hero-inner { max-width: 1100px; margin: 0 auto; position: relative; z-index: 1; }
.news-hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700; line-height: 1.08; letter-spacing: -0.03em;
  max-width: 700px; margin-bottom: 1.25rem;
}
.news-hero-desc {
  font-size: 1rem; font-weight: 300; line-height: 1.75;
  color: rgba(255,255,255,0.45); max-width: 560px;
}

/* ── FILTER BAR ── */
.news-filter-bar {
  background: #000;
  padding: 0 clamp(1.5rem, 5vw, 4rem) 2.5rem;
}
.news-filter-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; gap: 0.5rem;
  flex-wrap: wrap;
}
.news-filter-label {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: rgba(255,255,255,0.25);
  margin-right: 0.5rem;
}
.news-filter-btn {
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.news-filter-btn:hover {
  border-color: rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.75);
}
.news-filter-btn.active                          { border-color: var(--primary);  color: var(--primary);  background: rgba(0,152,253,0.08); }
.news-filter-btn.active[data-filter="event"]     { border-color: var(--primary);  color: var(--primary);  background: rgba(0,152,253,0.08); }
.news-filter-btn.active[data-filter="product"]   { border-color: #a855f7;         color: #a855f7;         background: rgba(168,85,247,0.08); }
.news-filter-btn.active[data-filter="research"]  { border-color: #00D4C8;         color: #00D4C8;         background: rgba(0,212,200,0.08); }
.news-filter-btn.active[data-filter="company"]   { border-color: var(--secondary);color: var(--secondary);background: rgba(255,72,143,0.08); }
.news-filter-btn.active[data-filter="industry"]  { border-color: #f59e0b;         color: #f59e0b;         background: rgba(245,158,11,0.08); }

/* ── LISTING ── */
.news-listing-section {
  background: #000;
  padding: 0 clamp(1.5rem, 5vw, 4rem) clamp(6rem, 12vw, 9rem);
}
.news-listing-inner { max-width: 1100px; margin: 0 auto; }

/* ── FEATURED POST ── */
.news-featured {
  display: grid; grid-template-columns: 1fr 1fr;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px; overflow: hidden;
  background: rgba(255,255,255,0.018);
  margin-bottom: 3rem;
  text-decoration: none; color: inherit;
  transition: border-color 0.35s, background 0.35s;
}
.news-featured:hover {
  border-color: rgba(0,152,253,0.22);
  background: rgba(0,152,253,0.025);
}
.news-featured-cover {
  min-height: 340px;
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #06101f 0%, #030810 100%);
}
.news-featured-cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.news-featured:hover .news-featured-cover img { transform: scale(1.04); }
.news-featured-cover-placeholder {
  width: 100%; height: 100%; min-height: 340px;
  background-image: radial-gradient(circle, rgba(0,152,253,0.18) 1px, transparent 1px);
  background-size: 28px 28px;
  display: flex; align-items: center; justify-content: center;
}
.news-featured-cover-placeholder svg {
  width: 52px; height: 52px; opacity: 0.18;
  stroke: var(--primary); fill: none;
  stroke-width: 1; stroke-linecap: round; stroke-linejoin: round;
}
.news-featured-body {
  padding: 2.5rem 2.75rem;
  display: flex; flex-direction: column; justify-content: center;
}
.news-featured-tag { margin-bottom: 1.25rem; }

.news-featured-title {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 700; line-height: 1.2; letter-spacing: -0.02em;
  margin-bottom: 1rem;
  transition: color 0.3s;
}
.news-featured:hover .news-featured-title { color: rgba(255,255,255,0.85); }
.news-featured-excerpt {
  font-size: 0.88rem; font-weight: 300; line-height: 1.75;
  color: rgba(255,255,255,0.45); margin-bottom: 1.75rem;
}
.news-featured-meta {
  display: flex; align-items: center; gap: 1.25rem;
  font-size: 0.72rem; font-weight: 400;
  color: rgba(255,255,255,0.32);
}
.news-featured-meta span { display: flex; align-items: center; gap: 0.35rem; }
.news-featured-meta svg {
  width: 12px; height: 12px;
  stroke: currentColor; fill: none;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.news-featured-cta {
  margin-top: auto; padding-top: 1.5rem;
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.08em;
  color: var(--primary); display: inline-flex; align-items: center; gap: 0.4rem;
  opacity: 0; transform: translateX(-4px);
  transition: opacity 0.3s, transform 0.3s;
}
.news-featured:hover .news-featured-cta { opacity: 1; transform: translateX(0); }
.news-featured-cta svg {
  width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2;
  transition: transform 0.2s;
}
.news-featured:hover .news-featured-cta svg { transform: translateX(3px); }

/* ── POST GRID ── */
.news-section-label {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: rgba(255,255,255,0.28);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.news-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* ── POST CARD ── */
.post-card {
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px; overflow: hidden;
  background: rgba(255,255,255,0.018);
  text-decoration: none; color: inherit;
  display: flex; flex-direction: column;
  transition: border-color 0.35s, background 0.35s, transform 0.35s;
}
.post-card:hover {
  border-color: rgba(0,152,253,0.2);
  background: rgba(0,152,253,0.025);
  transform: translateY(-4px);
}
.post-card-cover {
  height: 180px; position: relative; overflow: hidden;
  background: linear-gradient(160deg, #06101f 0%, #030810 100%);
  flex-shrink: 0;
}
.post-card-cover img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.post-card:hover .post-card-cover img { transform: scale(1.05); }
.post-card-cover-placeholder {
  width: 100%; height: 100%;
  background-image: radial-gradient(circle, rgba(0,152,253,0.15) 1px, transparent 1px);
  background-size: 24px 24px;
  display: flex; align-items: center; justify-content: center;
}
.post-card-cover-placeholder svg {
  width: 36px; height: 36px; opacity: 0.15;
  stroke: var(--primary); fill: none;
  stroke-width: 1; stroke-linecap: round; stroke-linejoin: round;
}
/* fade image into card background */
.post-card-cover::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 60px;
  background: linear-gradient(to bottom, transparent, #030810);
  pointer-events: none;
}
.post-card-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.post-card-tag { margin-bottom: 0.9rem; }
.post-card-title {
  font-size: 1rem; font-weight: 600; line-height: 1.35; letter-spacing: -0.01em;
  margin-bottom: 0.65rem;
}
.post-card-excerpt {
  font-size: 0.8rem; font-weight: 300; line-height: 1.65;
  color: rgba(255,255,255,0.4);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-card-meta {
  margin-top: auto; padding-top: 1.25rem;
  display: flex; align-items: center; gap: 1rem;
  font-size: 0.68rem; font-weight: 400;
  color: rgba(255,255,255,0.28);
  border-top: 1px solid rgba(255,255,255,0.05);
}
.post-card-meta span { display: flex; align-items: center; gap: 0.3rem; }
.post-card-meta svg {
  width: 11px; height: 11px;
  stroke: currentColor; fill: none;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}

/* ── CATEGORY TAGS ── */
.news-tag {
  display: inline-flex; align-items: center;
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase;
}
.news-tag--event     { color: var(--primary);   background: rgba(0,152,253,0.1);   border: 1px solid rgba(0,152,253,0.22); }
.news-tag--product   { color: #a855f7;           background: rgba(168,85,247,0.1);  border: 1px solid rgba(168,85,247,0.22); }
.news-tag--research  { color: #00D4C8;           background: rgba(0,212,200,0.1);   border: 1px solid rgba(0,212,200,0.22); }
.news-tag--company   { color: var(--secondary);  background: rgba(255,72,143,0.1);  border: 1px solid rgba(255,72,143,0.22); }
.news-tag--industry  { color: #f59e0b;           background: rgba(245,158,11,0.1);  border: 1px solid rgba(245,158,11,0.22); }

/* ── FILTER EMPTY STATE ── */
.news-no-results {
  display: none;
  padding: 4rem 0;
  text-align: center;
  font-size: 0.85rem; font-weight: 300;
  color: rgba(255,255,255,0.25);
}
.news-no-results.visible { display: block; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .news-featured { grid-template-columns: 1fr; }
  .news-featured-cover { min-height: 240px; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .news-grid { grid-template-columns: 1fr; }
}
