/* ── Article topic filter bar ── */
.article-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.article-filter {
  font-family: var(--font-ui, 'Inter', sans-serif);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 10px 24px;
  border: 2px solid var(--border, #e0ddd6);
  border-radius: 100px;
  background: transparent;
  color: var(--text-muted, #888);
  cursor: pointer;
  transition: all 0.25s ease;
}
.article-filter:hover {
  border-color: var(--gold, #f2cd2c);
  color: var(--gold, #f2cd2c);
}
.article-filter.active {
  background: var(--gold, #f2cd2c);
  border-color: var(--gold, #f2cd2c);
  color: #111;
}

@media (max-width: 600px) {
  .article-filters {
    gap: 8px;
    margin-bottom: 28px;
  }
  .article-filter {
    font-size: 12px;
    padding: 8px 18px;
    letter-spacing: 1px;
  }
}

/* ── Article inline images ── */
.article-inline-img {
  display: block;
  width: 100%;
  margin: 40px 0;
  border-radius: var(--radius-lg, 12px);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}
.article-inline-img img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* ── Article CTA box ── */
.article-cta {
  margin: 48px 0 32px;
  padding: 40px 32px;
  background: var(--cream, #FAFAF8);
  border: 2px solid var(--gold, #f2cd2c);
  border-radius: var(--radius-lg, 12px);
  text-align: center;
}
.article-cta p {
  font-family: var(--font-body, 'Lora', serif);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-body, #444);
  margin-bottom: 24px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA button — shimmer effect matching products page */
.article-cta a {
  position: relative;
  display: inline-block;
  padding: 16px 40px;
  font-family: var(--font-ui, 'Inter', sans-serif);
  font-size: 16px !important;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #111 !important;
  background: var(--gold, #f2cd2c);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(242,205,44,0.35);
  line-height: 1.2 !important;
  text-indent: 0 !important;
}
.article-cta a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(242,205,44,0.5);
  color: #111 !important;
  text-decoration: none;
}

/* Hover glint sweep */
.article-cta a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -80%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255,255,255,0) 30%,
    rgba(255,255,255,0.5) 50%,
    rgba(255,255,255,0) 70%,
    transparent 100%
  );
  transform: skewX(-25deg);
  transition: left 0.6s ease;
}
.article-cta a:hover::before {
  left: 130%;
}

/* Auto-shimmer loop */
@keyframes article-shimmer {
  0%   { left: -80%; }
  30%  { left: 130%; }
  100% { left: 130%; }
}
.article-cta a::after {
  content: '';
  position: absolute;
  top: 0;
  left: -80%;
  width: 40%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255,255,255,0) 35%,
    rgba(255,255,255,0.3) 50%,
    rgba(255,255,255,0) 65%,
    transparent 100%
  );
  transform: skewX(-25deg);
  animation: article-shimmer 4s ease-in-out infinite;
  animation-delay: 1.5s;
  pointer-events: none;
}

/* Arrow nudge on hover */
.article-cta a .btn-arrow {
  display: inline-block;
  margin-left: 8px;
  transition: transform 0.3s ease;
}
.article-cta a:hover .btn-arrow {
  transform: translateX(4px);
}

/* ── Fix all .btn--gold inside articles (older article CTAs) ── */
.inline-cta .btn.btn--gold,
.article-end-cta .btn.btn--gold {
  position: relative;
  color: #111 !important;
  font-size: 14px !important;
  font-weight: 700;
  line-height: 1.3 !important;
  text-indent: 0 !important;
  overflow: hidden;
  z-index: 1;
}
.inline-cta .btn.btn--gold::before,
.article-end-cta .btn.btn--gold::before {
  content: '';
  position: absolute;
  top: 0;
  left: -80%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255,255,255,0) 30%,
    rgba(255,255,255,0.5) 50%,
    rgba(255,255,255,0) 70%,
    transparent 100%
  );
  transform: skewX(-25deg);
  transition: left 0.6s ease;
  z-index: 2;
}
.inline-cta .btn.btn--gold:hover::before,
.article-end-cta .btn.btn--gold:hover::before {
  left: 130%;
}
.inline-cta .btn.btn--gold::after,
.article-end-cta .btn.btn--gold::after {
  content: '';
  position: absolute;
  top: 0;
  left: -80%;
  width: 40%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255,255,255,0) 35%,
    rgba(255,255,255,0.3) 50%,
    rgba(255,255,255,0) 65%,
    transparent 100%
  );
  transform: skewX(-25deg);
  animation: article-shimmer 4s ease-in-out infinite;
  animation-delay: 1.5s;
  pointer-events: none;
  z-index: 2;
}

/* ── Related articles (dark card with thumbnails) ── */
.article-related {
  margin: 48px 0 20px;
  padding: 32px 28px 24px;
  background: #1a1a1a;
  border-radius: var(--radius-lg, 12px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}
.article-related h4 {
  font-family: var(--font-display, 'Playfair Display', serif);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}
.article-related ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.article-related li {
  padding: 0;
  border: none;
}
.article-related a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.25s ease;
}
.article-related a:hover {
  background: rgba(255,255,255,0.08);
  transform: translateX(4px);
  text-decoration: none;
}
.article-related a img {
  width: 64px;
  height: 48px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.article-related a span {
  font-family: var(--font-body, 'Lora', serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--gold, #f2cd2c);
  line-height: 1.4;
  transition: color 0.2s ease;
}
.article-related a:hover span {
  color: #fff;
}

/* Mobile: stack thumbnails smaller */
@media (max-width: 600px) {
  .article-related {
    padding: 24px 20px 20px;
  }
  .article-related a img {
    width: 52px;
    height: 40px;
  }
  .article-related a span {
    font-size: 14px;
  }
}
