/* ============================================================
   ZENITH MODERN — INDUSTRIAL MODERNISM UPGRADE
   Theme: Light | Primary: #1668B2 | Secondary: #37B54A
   ============================================================ */

/* 1. Extended Tokens */
:root {
  --zm-glass-bg: rgba(255, 255, 255, 0.7);
  --zm-glass-border: rgba(22, 104, 178, 0.1);
  --zm-accent-glow: rgba(55, 181, 74, 0.15);
  --zm-grid-color: rgba(22, 104, 178, 0.03);
}

/* 2. Hero Reconstruction */
.zm-hero {
  position: relative;
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(2rem, 5vw, 4rem);
  background: var(--surface-alt);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

/* Subtle Industrial Grid Background */
.zm-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(var(--zm-grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--zm-grid-color) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.zm-hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.zm-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  white-space: nowrap;
}

.zm-breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.zm-breadcrumb a:hover {
  color: var(--primary);
}

.zm-breadcrumb__sep {
  display: flex;
  align-items: center;
  opacity: 0.3;
}

.zm-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.05em;
  color: var(--text-primary);
  margin-bottom: 2.5rem;
  max-width: 1000px;
  animation: zmFadeUp 0.6s var(--ease-out);
  position: relative;
  z-index: 5;
}

.zm-title span {
  display: block;
}

.zm-meta-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  padding: 0.75rem 1.25rem;
  background: var(--zm-glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--zm-glass-border);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  display: inline-flex;
}

.zm-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.zm-badge {
  padding: 0.25rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 999px;
  background: var(--secondary-light);
  color: var(--secondary-dark);
  border: 1px solid rgba(55, 181, 74, 0.2);
}

/* 3. Featured Image Modernization */
.zm-featured-wrap {
  margin-top: 3rem;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  transform: translateY(0);
  transition: transform 0.6s var(--ease-out);
}

.zm-featured-wrap img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}

/* 4. Bento Stats / Results Strip */
.zm-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 3rem 0;
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
}

.zm-stat-card {
  padding: 1rem;
  border-left: 3px solid var(--secondary);
}

.zm-stat-value {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.zm-stat-label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* 5. Article Refinement */
.zm-article-body {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-primary);
}

.zm-article-body h2 {
  margin: 3.5rem 0 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--border);
}

/* 6. Animations */
@keyframes zmFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive Overrides */
@media (max-width: 768px) {
  .zm-title { font-size: 2.25rem; }
  .zm-meta-strip { width: 100%; display: flex; }
}
