/* ============================================
   RESEARCH & INNOVATION — VARD
   Editorial Overrides & Unique Components
   Base: article-shared.css
   Prefix: rni-
   ============================================ */

:root {
  --art-accent: var(--color-pine, #3d5a47);
  --art-accent-subtle: rgba(61, 90, 71, 0.3);
  --art-link: #2d4a5e;
  --art-link-underline: var(--color-pine, #3d5a47);
  --art-link-hover: var(--color-pine, #3d5a47);
  --art-ornament: var(--color-pine, #3d5a47);
}

/* ── Hero overrides ── */
.art-hero__media img {
  object-position: center 40%;
  animation: rniHeroKB 30s ease-out forwards;
}

@keyframes rniHeroKB {
  0%   { transform: scale(1.08); }
  100% { transform: scale(1); }
}

.art-hero__overlay {
  background:
    linear-gradient(to top,
      rgba(10, 22, 40, 0.92) 0%,
      rgba(10, 22, 40, 0.5) 40%,
      rgba(10, 22, 40, 0.15) 70%,
      transparent 100%);
}

/* Hero category badge */
.art-hero__category {
  background: rgba(45, 74, 94, 0.85);
  color: #fff;
}

/* ── Intro lead — no dropcap ── */

.art-lead::first-letter {
  float: none;
  font-size: inherit;
  font-family: inherit;
  line-height: inherit;
  color: inherit;
  margin: 0;
  padding: 0;
}

/* ── Key stat cards ── */
.rni-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin: var(--space-2xl) 0;
}

.rni-stat {
  text-align: center;
  padding: var(--space-xl);
  background: rgba(45, 74, 94, 0.06);
  border-radius: var(--radius-lg, 0.75rem);
  border-top: 3px solid var(--color-pine, #3d5a47);
}

.rni-stat__number {
  font-family: var(--font-display, 'Cormorant Garamond', serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 300;
  color: var(--color-pine, #3d5a47);
  line-height: 1.1;
  margin-bottom: var(--space-xs, 0.25rem);
}

.rni-stat__label {
  font-family: 'Glacial Indifference', var(--font-body), sans-serif;
  font-size: var(--text-sm, 0.875rem);
  color: var(--color-text-secondary, #4a4a4a);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ── Section icon (small decorative element before headings) ── */
.rni-section-icon {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-lg);
}

.rni-section-icon svg {
  width: 48px;
  height: 48px;
  color: var(--color-pine, #3d5a47);
  opacity: 0.7;
}

/* ── Concept image on white background ── */
.rni-concept-figure {
  margin: var(--space-2xl) auto;
  max-width: 640px;
}

.rni-concept-figure img {
  width: 100%;
  height: auto;
  display: block;
}

.rni-concept-figure figcaption {
  font-family: 'Glacial Indifference', var(--font-body), sans-serif;
  font-size: var(--text-xs, 0.8rem);
  color: var(--color-text-muted, #737373);
  text-align: center;
  margin-top: var(--space-sm);
}

/* ── Dark section stat cards ── */
.art-section--dark .rni-stat {
  background: rgba(255, 255, 255, 0.06);
  border-top-color: var(--color-pine, #3d5a47);
}

.art-section--dark .rni-stat__label {
  color: rgba(251, 249, 246, 0.6);
}

/* ── Permission notice ── */
.rni-permission {
  font-family: 'Glacial Indifference', var(--font-body), sans-serif;
  font-size: var(--text-sm, 0.875rem);
  color: var(--color-text-muted, #737373);
  font-style: italic;
  text-align: center;
  padding: var(--space-lg) 0;
}

/* ============================================
   RESPONSIVE — Tablet (768px)
   ============================================ */
@media (max-width: 768px) {
  .rni-stats {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .rni-stat {
    padding: var(--space-lg);
  }
}

/* ============================================
   RESPONSIVE — Mobile (480px)
   ============================================ */
@media (max-width: 480px) {
  .rni-stat {
    padding: var(--space-md);
  }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  .art-hero__media img {
    animation: none;
    transform: none;
  }
}
