/* ============================================
   THE WOOLLY PIGS OF SETESDAL
   Editorial Overrides
   Base: article-shared.css
   Prefix: wool-
   ============================================ */

:root {
  --art-accent: #8b7355;
  --art-accent-dark: #6d5a42;
  --art-accent-glow: rgba(139, 115, 85, 0.4);
  --art-accent-subtle: rgba(139, 115, 85, 0.08);
  --art-link: #2d6a3f;
  --art-link-hover: #8b7355;
  --art-link-underline: #8b7355;
  --art-ornament: #8b7355;
  --art-subtitle-color: #8b7355;
  --art-hero-accent-line: #8b7355;
}


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

@keyframes woolHeroKB {
  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.35) 55%,
      rgba(10, 22, 40, 0.88) 80%,
      rgba(10, 22, 40, 1) 100%
    );
}

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

.art-hero__category {
  background: rgba(139, 115, 85, 0.85);
  color: var(--color-midnight, #0a1628);
}


/* ============================================
   WOOL-SHOWCASE — Dish Showcase Carousel
   Three food images with crossfade transitions,
   thumbnail navigation, and caption swap.
   ============================================ */
.wool-showcase {
  position: relative;
  max-width: 900px;
  margin: var(--space-3xl) auto;
  padding: 0 var(--space-xl);
}

/* ── Stage: main image area ── */
.wool-showcase__stage {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-xl, 12px);
  background: #0a0806;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(139, 115, 85, 0.1);
}

.wool-showcase__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  will-change: opacity;
}

.wool-showcase__slide.is-active {
  opacity: 1;
}

.wool-showcase__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Arrow buttons ── */
.wool-showcase__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(10, 8, 6, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: rgba(251, 249, 246, 0.9);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, transform 0.25s ease;
}

.wool-showcase__arrow:hover {
  background: rgba(139, 115, 85, 0.7);
  transform: translateY(-50%) scale(1.08);
}

.wool-showcase__arrow--prev { left: var(--space-md); }
.wool-showcase__arrow--next { right: var(--space-md); }

.wool-showcase__arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── Caption area ── */
.wool-showcase__caption {
  text-align: center;
  margin-top: var(--space-lg);
  min-height: 3rem;
}

.wool-showcase__caption-text {
  display: none;
  font-family: var(--font-display, 'Cormorant Garamond', serif);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-style: italic;
  color: var(--color-text-primary, #1a1a1a);
  line-height: 1.5;
  animation: woolCaptionIn 0.4s ease;
}

.wool-showcase__caption-text.is-active {
  display: block;
}

@keyframes woolCaptionIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.wool-showcase__credit {
  display: block;
  margin-top: var(--space-xs);
  font-family: 'Glacial Indifference', var(--font-body), sans-serif;
  font-size: var(--text-xs, 0.75rem);
  font-style: normal;
  color: var(--color-text-muted, #888);
  letter-spacing: 0.03em;
}

/* ── Thumbnail nav ── */
.wool-showcase__thumbs {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.wool-showcase__thumb {
  width: 72px;
  height: 54px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.5;
  transition: opacity 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.wool-showcase__thumb:hover {
  opacity: 0.8;
  transform: scale(1.05);
}

.wool-showcase__thumb.is-active {
  opacity: 1;
  border-color: var(--art-accent);
  box-shadow: 0 0 12px var(--art-accent-glow);
}

.wool-showcase__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


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

  .wool-showcase {
    padding: 0 var(--space-md);
  }

  .wool-showcase__stage {
    aspect-ratio: 1 / 1;
    border-radius: 8px;
  }

  .wool-showcase__arrow {
    width: 36px;
    height: 36px;
  }

  .wool-showcase__arrow svg {
    width: 16px;
    height: 16px;
  }

  .wool-showcase__thumb {
    width: 56px;
    height: 42px;
  }
}

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

  .wool-showcase__slide {
    transition: none;
  }

  .wool-showcase__caption-text {
    animation: none;
  }

  .wool-showcase__arrow:hover {
    transform: translateY(-50%);
  }

  .wool-showcase__thumb:hover {
    transform: none;
  }
}
