/* ============================================
   JOL: CHRISTMAS THE VIKING WAY
   Editorial Overrides & Unique Components
   Base: article-shared.css
   Prefix: jol-
   ============================================ */

:root {
  --art-accent: #c8763e;
  --art-accent-dark: #a85d2e;
  --art-accent-glow: rgba(200, 118, 62, 0.4);
  --art-accent-subtle: rgba(200, 118, 62, 0.08);
  --art-link: #2d4a5e;
  --art-link-hover: #c8763e;
  --art-link-underline: #c8763e;
  --art-ornament: #c8763e;
  --art-subtitle-color: #c8763e;
  --art-hero-accent-line: #c8763e;
}


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

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

.art-hero__overlay {
  background:
    linear-gradient(180deg,
      rgba(10, 22, 40, 0.1) 0%,
      rgba(10, 22, 40, 0) 20%,
      rgba(10, 22, 40, 0.3) 55%,
      rgba(10, 22, 40, 0.85) 80%,
      rgba(10, 22, 40, 1) 100%
    );
}

.art-hero__overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 40% 55%, rgba(200, 118, 62, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.art-hero__category {
  background: rgba(200, 118, 62, 0.85);
  color: var(--color-midnight, #0a1628);
}


/* ── Dark section atmosphere ── */
.art-section--dark {
  background: linear-gradient(180deg, #060f1e 0%, var(--color-midnight, #0a1628) 100%);
  position: relative;
  overflow: hidden;
}

.art-section--dark::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(200, 118, 62, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 30%, rgba(200, 118, 62, 0.03) 0%, transparent 40%);
  pointer-events: none;
}

.art-section--dark .art-section__inner {
  position: relative;
  z-index: 1;
}


/* ============================================
   JOL-VERSE — Old Norse Poetry Block
   Centered verse for the Haraldskvadet excerpt
   ============================================ */
.jol-verse {
  position: relative;
  max-width: 700px;
  margin: var(--space-3xl) auto;
  padding: var(--space-3xl) var(--space-2xl);
  text-align: center;
  border-top: 1px solid rgba(200, 118, 62, 0.25);
  border-bottom: 1px solid rgba(200, 118, 62, 0.25);
}

.jol-verse__label {
  font-family: 'Glacial Indifference', var(--font-body), sans-serif;
  font-size: var(--text-xs, 0.75rem);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(251, 249, 246, 0.92);
  margin-bottom: var(--space-lg);
}

.jol-verse blockquote {
  margin: 0;
  padding: 0;
  border: none;
}

.jol-verse blockquote p {
  font-family: var(--font-display, 'Cormorant Garamond', serif);
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.8;
  color: rgba(251, 249, 246, 0.9);
  margin-bottom: var(--space-xs);
}

.jol-verse blockquote p:last-child {
  margin-bottom: 0;
}

.jol-verse__cite {
  display: block;
  margin-top: var(--space-xl);
  font-family: 'Glacial Indifference', var(--font-body), sans-serif;
  font-size: var(--text-sm, 0.875rem);
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(251, 249, 246, 0.86);
}

/* Keep one separator between Old Norse and English blocks */
.jol-verse + .jol-verse {
  border-top: none;
  margin-top: 0;
}


/* ============================================
   RESPONSIVE — Tablet (768px)
   ============================================ */
@media (max-width: 768px) {
  .art-hero__media img {
    object-position: center 25%;
  }

  .jol-verse {
    padding: var(--space-2xl) var(--space-lg);
  }
}

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