/* ============================================
   GEMA — Security Architect · VARD
   Editorial Overrides & Unique Components
   Base: article-shared.css
   Prefix: gem-
   ============================================ */

:root {
  --art-accent: var(--color-gold, #d4a574);
  --art-accent-subtle: rgba(212, 165, 116, 0.3);
  --art-link: #2d4a5e;
  --art-link-underline: var(--color-gold, #d4a574);
  --art-link-hover: var(--color-gold, #d4a574);
  --art-ornament: var(--color-gold, #d4a574);
}

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

@keyframes gemHeroKB {
  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) 35%,
      rgba(10, 22, 40, 0.12) 65%,
      transparent 100%);
}

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

/* ── Tighter intro spacing ── */
.art-intro__inner {
  padding-bottom: 0;
}

/* ── 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;
}

/* ── Video embed ── */
.gem-video {
  max-width: 960px;
  margin: var(--space-2xl) auto;
  padding: 0 var(--space-xl);
}

.gem-video__wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-xl, 12px);
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(0, 0, 0, 0.04);
}

.gem-video__wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.gem-video figcaption {
  text-align: center;
  margin-top: var(--space-md);
  font-size: var(--text-sm, 0.875rem);
  color: var(--color-text-muted, #666);
  font-style: italic;
}

/* ── Permission notice ── */
.gem-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) {
  .art-hero__media img {
    object-position: center 35%;
  }

  .gem-video {
    padding: 0 var(--space-lg);
  }
}

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