/* ═══════════════════════════════════════════════════════════════
   KATO-MINDECLIC — News Page Styles
═══════════════════════════════════════════════════════════════ */

/* ── Active nav link ────────────────────────────────────────── */
.nav-active {
  color: var(--gold) !important;
}

/* ── News Hero ──────────────────────────────────────────────── */
.news-hero {
  min-height: 420px;
  background: var(--black);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: calc(var(--nav-h) + 60px) 40px 60px;
}
.news-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://sspark.genspark.ai/cfimages?u1=%2FgTxsFLKEky6rpaZS6SIoteVlrdiOHeXurDbeygSaGQA46fX55Ba%2FLSsdWSjbhp6uT8mrPgDEPSQ2jm15yJJ33Q8G1vAoJiG7v%2F5i9S75%2Bc8FbcT%2Bm1uTn%2BLV81mxdMnHTp9ldkkDc2IV2KcKQxMOJ91Gf4gYBh4WzhVdIjjo%2BR7N4ONGOqIJtmsSl26uIxYEao006dY6oKcPPZPwsm1PLaFkHP97vLcFjeY3C6mlJlQnjAslZmvDLz2tzH4yY4BeaD4DcbfbLVmRek8%2BcNa&u2=UJ7RwoKr4Rvu7pIn&width=2560');
  background-size: cover;
  background-position: center;
  opacity: 0.12;
}
.news-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.6) 100%);
}
.news-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
}
.news-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-cond);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
.news-hero-title {
  font-family: var(--font-cond);
  font-size: clamp(64px, 10vw, 120px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -2px;
  color: var(--white);
  margin-bottom: 20px;
}
.news-hero-title-gold {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.news-hero-sub {
  font-size: 17px;
  color: var(--gray-300);
  font-weight: 300;
  line-height: 1.7;
}

/* ── Filter bar ─────────────────────────────────────────────── */
.news-filters {
  background: var(--gray-900);
  border-bottom: 1px solid var(--gray-700);
  padding: 0;
  position: sticky;
  top: var(--nav-h);
  z-index: 100;
}
.news-filters-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.news-filters-inner::-webkit-scrollbar { display: none; }
.filter-btn {
  font-family: var(--font-cond);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray-400);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 18px 24px;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}
.filter-btn:hover { color: var(--white); }
.filter-btn.active { color: var(--gold); border-bottom-color: var(--gold); }

/* ── Main content area ──────────────────────────────────────── */
.news-main {
  background: var(--gray-950);
  padding: 80px 0;
}

/* ── Featured article ───────────────────────────────────────── */
.news-featured {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  background: var(--gray-800);
  border: 1px solid var(--gray-700);
  margin-bottom: 48px;
  overflow: hidden;
  transition: border-color var(--transition-med);
}
.news-featured:hover { border-color: var(--gold); }
.news-featured-img {
  position: relative;
  overflow: hidden;
}
.news-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
  filter: brightness(0.7) saturate(0.8);
  transition: filter 0.5s ease, transform 0.5s ease;
  display: block;
}
.news-featured:hover .news-featured-img img {
  filter: brightness(0.8) saturate(1);
  transform: scale(1.03);
}
.news-featured-img-overlay {
  position: absolute;
  top: 20px; left: 20px;
}
.news-featured-body {
  padding: 48px 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}

/* ── Category badges ────────────────────────────────────────── */
.news-cat-badge {
  display: inline-block;
  font-family: var(--font-cond);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 2px;
  backdrop-filter: blur(8px);
}
.cat-automotive {
  background: rgba(200, 50, 50, 0.85);
  color: #fff;
  border: 1px solid rgba(200, 50, 50, 0.4);
}
.cat-industrial {
  background: rgba(50, 100, 200, 0.85);
  color: #fff;
  border: 1px solid rgba(50, 100, 200, 0.4);
}
.cat-partnership {
  background: rgba(45, 138, 94, 0.85);
  color: #fff;
  border: 1px solid rgba(45, 138, 94, 0.4);
}
.cat-textile {
  background: rgba(180, 100, 200, 0.85);
  color: #fff;
  border: 1px solid rgba(180, 100, 200, 0.4);
}

/* ── Meta row ───────────────────────────────────────────────── */
.news-meta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.news-meta-date,
.news-meta-source,
.news-meta-flag {
  font-family: var(--font-cond);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
}
.news-meta-date { color: var(--gray-400); }
.news-meta-source { color: var(--gold); }
.news-meta-flag { color: var(--gray-300); }

/* ── Featured body typography ───────────────────────────────── */
.news-featured-title {
  font-family: var(--font-cond);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.3px;
}
.news-featured-excerpt {
  font-size: 14px;
  color: var(--gray-300);
  line-height: 1.8;
  margin-bottom: 14px;
}
.news-featured-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  margin-top: 4px;
}
.news-featured-tags span {
  font-family: var(--font-cond);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gray-400);
  background: var(--gray-700);
  border: 1px solid var(--gray-600);
  padding: 3px 10px;
}

/* ── Article actions ────────────────────────────────────────── */
.news-article-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.news-read-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-cond);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: background var(--transition-fast), transform var(--transition-fast);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 100%, 8px 100%);
}
.news-read-btn:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}
.news-read-btn-sm {
  padding: 10px 20px;
  font-size: 11px;
}
.news-relevance-tag {
  font-family: var(--font-cond);
  font-size: 11px;
  color: var(--gold);
  background: rgba(200, 169, 110, 0.08);
  border: 1px solid rgba(200, 169, 110, 0.2);
  padding: 8px 14px;
  letter-spacing: 0.5px;
}

/* ── News grid ──────────────────────────────────────────────── */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}
.news-card {
  background: var(--gray-800);
  border: 1px solid var(--gray-700);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition-med), transform var(--transition-med), box-shadow var(--transition-med);
}
.news-card:hover {
  border-color: var(--gold);
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}
.news-card-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: brightness(0.6) saturate(0.8);
  transition: filter 0.5s ease, transform 0.5s ease;
  display: block;
}
/* Group photo — favour upper half to keep faces visible */
.news-card-img--multi img {
  object-position: center 20%;
  filter: brightness(0.72) saturate(0.9);
}
.news-card:hover .news-card-img img {
  filter: brightness(0.75) saturate(1);
  transform: scale(1.04);
}
.news-card-img-overlay {
  position: absolute;
  top: 14px; left: 14px;
}
/* Secondary image embedded inside card body */
.news-card-img--secondary {
  position: relative;
  height: 180px;
  overflow: hidden;
  margin: 12px 0 16px;
  border: 1px solid var(--gray-700);
}
.news-card-img--secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.75) saturate(0.9);
  display: block;
  transition: filter 0.5s ease;
}
.news-card:hover .news-card-img--secondary img {
  filter: brightness(0.9) saturate(1);
}

.news-card-body {
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0;
}
.news-card-title {
  font-family: var(--font-cond);
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 14px;
  letter-spacing: -0.2px;
}
.news-card-excerpt {
  font-size: 13px;
  color: var(--gray-300);
  line-height: 1.7;
  margin-bottom: 10px;
  flex: 1;
}
.news-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
  margin-top: 8px;
}
.news-card-tags span {
  font-family: var(--font-cond);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gray-400);
  background: var(--gray-700);
  border: 1px solid var(--gray-600);
  padding: 2px 8px;
}

/* ── Editorial note ─────────────────────────────────────────── */
.news-editorial {
  background: var(--gray-800);
  border: 1px solid var(--gray-700);
  border-left: 4px solid var(--gold);
  padding: 48px 40px 48px 56px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 48px;
  position: relative;
}
.news-editorial-icon {
  font-size: 36px;
  color: rgba(200, 169, 110, 0.25);
  line-height: 1;
  margin-top: -8px;
}
.news-editorial-content p {
  font-size: 16px;
  font-style: italic;
  color: var(--gray-200);
  line-height: 1.8;
  margin-bottom: 28px;
}
.news-editorial-content p strong { color: var(--white); font-style: normal; }
.news-editorial-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── CTA strip ──────────────────────────────────────────────── */
.news-cta-strip {
  background: var(--gray-800);
  border: 1px solid var(--gray-700);
  border-top: 3px solid var(--gold);
  padding: 40px 48px;
}
.news-cta-strip-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.news-cta-text h3 {
  font-family: var(--font-cond);
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 6px;
}
.news-cta-text p {
  font-size: 14px;
  color: var(--gray-300);
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .news-featured { grid-template-columns: 1fr; }
  .news-featured-img img { min-height: 260px; }
  .news-featured-body { padding: 32px 28px; }
  .news-editorial { grid-template-columns: 1fr; }
  .news-editorial-icon { display: none; }
}
@media (max-width: 680px) {
  .news-hero { padding: calc(var(--nav-h) + 32px) 20px 40px; }
  .news-filters-inner { padding: 0 16px; }
  .news-main { padding: 48px 0; }
  .news-grid { grid-template-columns: 1fr; }
  .news-editorial { padding: 28px 24px; }
  .news-cta-strip { padding: 28px 24px; }
  .news-cta-strip-content { flex-direction: column; align-items: flex-start; }
  .news-article-actions { flex-direction: column; align-items: flex-start; }
  .news-relevance-tag { font-size: 10px; }
}
