/* ============================================
   WORLD CLASS SILVERSMITHING IN SETESDAL
   Editorial Overrides & Unique Components
   Base: article-shared.css
   Prefix: slv-
   ============================================ */

:root {
  --art-accent: #7A8B9A;
  --art-accent-dark: #5E6E7D;
  --art-accent-glow: rgba(122, 139, 154, 0.4);
  --art-accent-subtle: rgba(122, 139, 154, 0.06);
  --art-link: var(--color-pine, #2d6a3f);
  --art-link-hover: #7A8B9A;
  --art-link-underline: #7A8B9A;
  --art-ornament: #7A8B9A;
  --art-subtitle-color: #a0b0be;
  --art-hero-accent-line: #7A8B9A;
}


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

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

.art-hero__overlay {
  background:
    linear-gradient(180deg,
      rgba(8, 10, 14, 0.08) 0%,
      rgba(8, 10, 14, 0) 22%,
      rgba(8, 10, 14, 0.25) 55%,
      rgba(8, 10, 14, 0.85) 80%,
      rgba(8, 10, 14, 1) 100%
    );
}

.art-hero__overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 55%, rgba(212, 178, 90, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

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


/* ============================================
   SLV-DETAIL — Square image + text side-by-side
   For showcasing individual silver pieces
   ============================================ */
.slv-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
  max-width: 800px;
  margin: var(--space-2xl) auto;
}

.slv-detail--reverse {
  direction: rtl;
}

.slv-detail--reverse > * {
  direction: ltr;
}

.slv-detail__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);
}

.slv-detail__text p {
  margin: 0 0 var(--space-xl) 0;
}

.slv-detail__text p:last-child {
  margin-bottom: 0;
}

.slv-detail__figure {
  margin: 0;
}

.slv-detail__figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg, 8px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

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


/* ============================================
   SLV-CRAFT — Workshop process callout
   For the soldering/tools description
   ============================================ */
.slv-craft {
  position: relative;
  max-width: 680px;
  margin: var(--space-2xl) auto;
  padding: var(--space-xl) calc(var(--space-xl) + 3rem) var(--space-xl) calc(var(--space-xl) + 4px);
  background: linear-gradient(135deg, rgba(122, 139, 154, 0.06) 0%, rgba(122, 139, 154, 0.02) 100%);
  border-left: 4px solid var(--art-accent);
  border-radius: 0 var(--radius-lg, 8px) var(--radius-lg, 8px) 0;
  font-family: var(--font-display, 'Cormorant Garamond', serif);
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  font-style: italic;
  line-height: 1.6;
  color: var(--color-text-primary, #1a1a1a);
}

.slv-craft::before {
  content: attr(data-emoji);
  position: absolute;
  top: 50%;
  right: var(--space-md);
  transform: translateY(-50%);
  font-size: 2.15rem;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  font-style: normal;
  opacity: 0.58;
  filter: saturate(1.2) contrast(1.08) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.16));
  pointer-events: none;
}

.slv-craft p {
  margin: 0 0 var(--space-md) 0;
}

.slv-craft p:last-child {
  margin-bottom: 0;
}


/* ============================================
   SLV-GALLERY — 2x2 grid for square pieces
   For displaying multiple jewelry items
   ============================================ */
.slv-gallery {
  max-width: 700px;
  margin: var(--space-2xl) auto;
}

.slv-gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.slv-gallery__item {
  overflow: hidden;
  border-radius: var(--radius-lg, 8px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

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

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


/* ── Outlink — styled external link ── */
.slv-outlink {
  max-width: 800px;
  margin: var(--space-2xl) auto 0;
  padding: var(--space-lg) var(--space-xl);
  text-align: center;
  font-family: 'Glacial Indifference', var(--font-body), sans-serif;
  font-size: var(--text-sm, 0.875rem);
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.03em;
  border-top: 1px solid rgba(122, 139, 154, 0.2);
}

.slv-outlink a {
  color: #a0b0be;
  text-decoration: none;
  border-bottom: 1px solid rgba(160, 176, 190, 0.3);
  transition: color 0.3s ease, border-color 0.3s ease;
}

.slv-outlink a:hover {
  color: #c0d0de;
  border-color: rgba(192, 208, 222, 0.6);
}


/* ── Dark section atmosphere — cool metallic glow ── */
.art-section--dark {
  background: linear-gradient(180deg, #08090c 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(122, 139, 154, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 30%, rgba(212, 178, 90, 0.03) 0%, transparent 40%);
  pointer-events: none;
}

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


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

  .slv-detail {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .slv-detail--reverse {
    direction: ltr;
  }

  .slv-craft {
    margin-left: var(--space-md);
    margin-right: var(--space-md);
    padding: var(--space-lg) calc(var(--space-lg) + 2.25rem) var(--space-lg) calc(var(--space-lg) + 4px);
  }

  .slv-craft::before {
    font-size: 1.7rem;
    right: var(--space-sm);
  }

  .slv-gallery__grid {
    gap: var(--space-sm);
  }
}


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