/* ============================================
   ULLA LIGHTHOUSE — Editorial Article
   A Beacon of History · Nordøyane
   Only article-unique overrides and components.
   Shared building blocks live in article-shared.css.
   ============================================ */

/* ============================================
   HERO OVERRIDES
   ============================================ */
.art-hero__media img {
  object-position: center 40%;
  animation: ullaHeroKB 30s ease-out forwards;
}

@keyframes ullaHeroKB {
  0%   { transform: scale(1.15); }
  100% { transform: scale(1); }
}

/* ============================================
   YEAR MARKERS — Unique inline date styling
   ============================================ */
.ulla-year {
  font-family: inherit;
  font-weight: inherit;
  color: inherit;
  letter-spacing: normal;
}

.art-prose--light .ulla-year {
  color: inherit;
}

/* ============================================
   INTRO LINK — ensure village crosslink is visible
   ============================================ */
.art-intro__body a {
  color: var(--color-pine, #2d6a3f);
  text-decoration: underline;
  text-decoration-color: var(--color-aurora, #7dd3c0);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  transition: color 0.3s, text-decoration-color 0.3s;
}

.art-intro__body a:hover {
  color: var(--color-forest, #1a4d2e);
  text-decoration-color: var(--color-pine, #2d6a3f);
}

/* ============================================
   CLOSING EMPHASIS — highlighted final statement
   ============================================ */
.ulla-closing__text {
  font-family: var(--font-display, 'Cormorant Garamond', serif);
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  line-height: 1.6;
  color: var(--color-fjord, #2d4a5e);
}

/* ============================================
   FIGURE — Historic sepia tint
   ============================================ */
.ulla-figure--historic .art-figure__img-wrap img {
  filter: sepia(0.15) contrast(1.05);
}

/* ============================================
   FIGURE — Cinematic full-bleed breakout
   ============================================ */
.ulla-figure--cinematic {
  max-width: none;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding: 0;
}

.ulla-figure--cinematic .art-figure__img-wrap {
  border-radius: 0;
  aspect-ratio: 21 / 9;
}

.ulla-figure--cinematic .art-figure__img-wrap img {
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.ulla-figure--cinematic figcaption {
  max-width: 800px;
  margin: var(--space-lg) auto 0;
  padding: 0 var(--space-xl);
}

/* ============================================
   FACTS ROW — Card + portrait side by side
   ============================================ */
.ulla-facts-row {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2xl);
  max-width: 960px;
  margin: var(--space-2xl) auto 0;
  padding: 0 var(--space-xl);
}

.ulla-facts-card {
  flex: 1 1 400px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid var(--color-gold, #d4a574);
  border-radius: var(--radius-xl, 12px);
  padding: var(--space-2xl) var(--space-xl);
}

.ulla-facts-card__eyebrow {
  font-size: var(--text-xs, 0.75rem);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold, #d4a574);
  margin-bottom: var(--space-sm);
}

.ulla-facts-card__title {
  font-family: var(--font-display, 'Cormorant Garamond', serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--color-warm-white, #FBF9F6);
  margin: 0 0 var(--space-xl);
}

.ulla-facts-card__list {
  margin: 0;
  padding: 0;
}

.ulla-facts-card__item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: var(--space-md) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ulla-facts-card__item dt {
  font-size: var(--text-sm, 0.875rem);
  color: rgba(251, 249, 246, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ulla-facts-card__item dd {
  margin: 0;
  font-family: var(--font-display, 'Cormorant Garamond', serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-warm-white, #FBF9F6);
}

/* Portrait in facts row */
.ulla-facts-row .art-figure--portrait {
  flex: 0 0 auto;
  max-width: 340px;
  margin: 0;
}

/* ============================================
   VIDEO EMBED
   ============================================ */
.ulla-video {
  max-width: 900px;
  margin: var(--space-2xl) auto 0;
  padding: 0 var(--space-xl);
}

.ulla-video__embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-xl, 12px);
  box-shadow: 0 18px 50px rgba(10, 22, 40, 0.14);
}

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

/* ============================================
   RESPONSIVE — Tablet (768px)
   Article-unique overrides only
   ============================================ */
@media (max-width: 768px) {
  .ulla-facts-row {
    flex-direction: column;
    padding: 0 var(--space-lg);
  }

  .ulla-facts-row .art-figure--portrait {
    max-width: 600px;
    margin: 0 auto;
  }

  .ulla-figure--cinematic .art-figure__img-wrap {
    aspect-ratio: 16 / 9;
  }

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

/* ============================================
   RESPONSIVE — Mobile (480px)
   Article-unique overrides only
   ============================================ */
@media (max-width: 480px) {
  .art-hero {
    min-height: 480px;
  }

  .ulla-facts-card {
    padding: var(--space-xl) var(--space-lg);
  }

  .ulla-facts-card__item {
    flex-direction: column;
    gap: var(--space-xs);
  }

  .ulla-video__embed {
    border-radius: var(--radius-md, 8px);
  }
}
