/* ============================================
   SETESDAL UNESCO — Editorial Overrides
   Base: article-shared.css
   Prefix: set-
   Accent: Timber brown #8B5E3C
   ============================================ */

:root {
  --art-accent: #8B5E3C;
  --art-accent-dark: #6F4A2E;
  --art-accent-glow: rgba(139, 94, 60, 0.4);
  --art-accent-subtle: rgba(139, 94, 60, 0.06);
  --art-link: #6F4A2E;
  --art-link-hover: #523620;
  --art-link-underline: #8B5E3C;
  --art-ornament: #8B5E3C;
  --art-subtitle-color: #C4A882;
  --art-hero-accent-line: #C4A882;
}


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

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

.art-hero__overlay {
  background:
    linear-gradient(180deg,
      rgba(30, 20, 12, 0.15) 0%,
      rgba(30, 20, 12, 0) 20%,
      rgba(30, 20, 12, 0.35) 55%,
      rgba(30, 20, 12, 0.88) 80%,
      rgba(30, 20, 12, 1) 100%
    );
}

.art-hero__overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 70%, rgba(139, 94, 60, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.art-hero__category {
  background: rgba(139, 94, 60, 0.85);
  color: #fff;
}

.art-hero {
  background: #1e140c;
}

/* ── Tighten intro → first section gap ── */
.art-intro + .art-section {
  padding-top: var(--space-md);
}


/* ============================================
   SET-FACT — Cultural heritage fact box
   ============================================ */
.set-fact {
  max-width: 700px;
  margin: var(--space-xl) auto;
  padding: var(--space-lg) var(--space-xl);
  background: var(--art-accent-subtle);
  border-left: 4px solid var(--art-accent);
  border-radius: 0 var(--radius-xl, 12px) var(--radius-xl, 12px) 0;
}

.set-fact__title {
  font-family: var(--font-display, 'Cormorant Garamond', serif);
  font-size: clamp(1.1rem, 2.2vw, 1.3rem);
  font-weight: 700;
  color: var(--art-accent-dark);
  margin: 0 0 var(--space-sm);
}

.set-fact__text {
  font-family: 'Glacial Indifference', var(--font-body), sans-serif;
  font-size: var(--text-base, 1rem);
  line-height: 1.8;
  color: var(--color-text-secondary, #4a4a4a);
  margin: 0;
}


/* ============================================
   SET-SPLIT — Side-by-side image + text
   ============================================ */
.set-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  max-width: 900px;
  margin: var(--space-xl) auto;
}

.set-split--reverse {
  direction: rtl;
}

.set-split--reverse > * {
  direction: ltr;
}

.set-split__fig {
  margin: 0;
}

.set-split__img-wrap {
  overflow: hidden;
  border-radius: var(--radius-xl, 12px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

.set-split__img-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.set-split figcaption {
  font-family: 'Glacial Indifference', var(--font-body), sans-serif;
  font-size: var(--text-xs, 0.75rem);
  color: var(--color-text-muted, #888);
  font-style: italic;
  margin-top: var(--space-xs);
}

.set-split__text {
  font-family: 'Glacial Indifference', var(--font-body), sans-serif;
  font-size: var(--text-lg, 1.125rem);
  line-height: 1.9;
  color: var(--color-text-secondary, #4a4a4a);
}

.set-split__text p {
  margin: 0 0 var(--space-md);
}

.set-split__text p:last-child {
  margin-bottom: 0;
}


/* ============================================
   SET-BLEED — Full-bleed image break
   ============================================ */
.set-bleed {
  max-width: 1100px;
  margin: var(--space-2xl) auto;
}

.set-bleed figure {
  margin: 0;
}

.set-bleed__img-wrap {
  overflow: hidden;
  border-radius: var(--radius-xl, 12px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.set-bleed__img-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.set-bleed figcaption {
  font-family: 'Glacial Indifference', var(--font-body), sans-serif;
  font-size: var(--text-xs, 0.75rem);
  color: var(--color-text-muted, #888);
  font-style: italic;
  margin-top: var(--space-sm);
  text-align: center;
}


/* ============================================
   SET-STAT — Key statistics display
   ============================================ */
.set-stat {
  display: flex;
  justify-content: center;
  gap: var(--space-2xl);
  max-width: 700px;
  margin: var(--space-xl) auto;
  padding: var(--space-lg) 0;
}

.set-stat__item {
  text-align: center;
}

.set-stat__number {
  display: block;
  font-family: var(--font-display, 'Cormorant Garamond', serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--art-accent);
  line-height: 1.1;
}

.set-stat__label {
  display: block;
  font-family: 'Glacial Indifference', var(--font-body), sans-serif;
  font-size: var(--text-sm, 0.875rem);
  color: var(--color-text-muted, #888);
  margin-top: var(--space-xs);
  letter-spacing: 0.03em;
}


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

  .set-split,
  .set-split--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    max-width: 600px;
  }

  .set-bleed {
    margin-left: var(--space-md);
    margin-right: var(--space-md);
  }

  .set-stat {
    gap: var(--space-lg);
  }

  .set-stat__number {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
  }

  .art-card-grid__grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .art-card-grid {
    padding: var(--space-xl) var(--space-lg);
  }
}


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