/* ═══════════════════════════════════════════════════════════════════════════
   FRANCE MINERAUX V6 — Blog / Lithosphere Styles
   Covers: archive listing, single article, categories, tags, search results
   Design tokens inherited from v6-design-system.css
   ═══════════════════════════════════════════════════════════════════════════ */

/* ══════════════════════════════════════════════════
   BLOG ARCHIVE — HERO
   ══════════════════════════════════════════════════ */

.blog-hero {
  background:
    linear-gradient(135deg, rgba(60,42,60,.84) 0%, rgba(42,26,42,.90) 100%),
    url('https://images.pexels.com/photos/1303081/pexels-photo-1303081.jpeg?auto=compress&cs=tinysrgb&w=1920') center/cover no-repeat;
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.blog-hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: 5%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196,162,101,.08) 0%, transparent 70%);
  pointer-events: none;
}
.blog-hero .container {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
}
.blog-hero .eyebrow {
  color: var(--gold);
  margin-bottom: 16px;
  display: block;
}
.blog-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--white) !important;
  margin-bottom: 16px;
}
.blog-hero-desc {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(232,217,190,.75);
  max-width: 600px;
  margin: 0 auto 24px;
  line-height: 1.7;
}
.blog-hero .sep-center {
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  height: 1px;
  width: 60px;
  margin: 20px auto;
}

/* ══════════════════════════════════════════════════
   BLOG ARCHIVE — CATEGORY FILTER
   ══════════════════════════════════════════════════ */

.blog-filters {
  background: var(--white);
  border-bottom: 1px solid var(--cream);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 10;
}
.blog-filters .container {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.blog-filter-pill {
  display: inline-block;
  padding: 6px 18px;
  font-family: 'Raleway', sans-serif;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--aubergine-50);
  border: 1px solid var(--aubergine-20);
  border-radius: 100px;
  text-decoration: none;
  transition: all .3s var(--ease);
}
.blog-filter-pill:hover,
.blog-filter-pill.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

/* ══════════════════════════════════════════════════
   BLOG ARCHIVE — POST GRID
   ══════════════════════════════════════════════════ */

.blog-grid-section {
  padding: 48px 0 80px;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* Card */
.blog-card {
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--sh-xs);
  overflow: hidden;
  transition: all .3s var(--ease);
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  box-shadow: var(--sh-md);
  transform: translateY(-4px);
}

/* Card image */
.blog-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
  display: block;
  flex-shrink: 0;
}
.blog-card-img img {
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.blog-card:hover .blog-card-img img {
  transform: scale(1.05);
}
.blog-card-cat {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--aubergine);
  color: var(--gold-light);
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  text-decoration: none;
  z-index: 2;
}
.blog-card-cat:hover {
  background: var(--gold);
  color: var(--white);
}

/* Card body */
.blog-card-body {
  padding: 20px 20px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-card-meta {
  font-size: .7rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  font-weight: 400;
}
.blog-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--aubergine);
  line-height: 1.35;
  margin-bottom: 10px;
}
.blog-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color .2s ease;
}
.blog-card-title a:hover {
  color: var(--gold);
}
.blog-card-excerpt {
  font-size: .82rem;
  color: var(--text-soft);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card-link {
  font-family: 'Raleway', sans-serif;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap .3s ease;
}
.blog-card-link:hover {
  gap: 10px;
  color: var(--gold);
}
.blog-card-link::after {
  content: '→';
  transition: transform .3s ease;
}

/* ══════════════════════════════════════════════════
   BLOG ARCHIVE — PAGINATION
   ══════════════════════════════════════════════════ */

.blog-pagination {
  text-align: center;
  padding: 40px 0 0;
}
.blog-pagination .nav-links {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}
.blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  font-family: 'Raleway', sans-serif;
  font-size: .75rem;
  font-weight: 500;
  color: var(--aubergine-50);
  border: 1px solid var(--cream);
  border-radius: 100px;
  text-decoration: none;
  transition: all .2s ease;
}
.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers.current {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}
.blog-pagination .page-numbers.dots {
  border: none;
  background: none;
}

/* ══════════════════════════════════════════════════
   BLOG ARCHIVE — FEATURED POST (first post)
   ══════════════════════════════════════════════════ */

.blog-featured {
  padding: 48px 0 0;
}
.blog-featured-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--sh-sm);
  overflow: hidden;
  transition: box-shadow .3s ease;
}
.blog-featured-card:hover {
  box-shadow: var(--sh-md);
}
.blog-featured-img {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.blog-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.blog-featured-card:hover .blog-featured-img img {
  transform: scale(1.03);
}
.blog-featured-body {
  padding: 32px 40px 32px 0;
}
.blog-featured-body .blog-card-cat {
  position: static;
  display: inline-block;
  margin-bottom: 16px;
}
.blog-featured-body .blog-card-title {
  font-size: 1.6rem;
  margin-bottom: 14px;
}
.blog-featured-body .blog-card-excerpt {
  -webkit-line-clamp: 4;
  margin-bottom: 20px;
}

/* ══════════════════════════════════════════════════
   SINGLE ARTICLE — HERO
   ══════════════════════════════════════════════════ */

.article-hero {
  background:
    linear-gradient(135deg, rgba(60,42,60,.80) 0%, rgba(42,26,42,.88) 100%);
  padding: 60px 0;
  position: relative;
}
.article-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--aubergine);
  z-index: 0;
}
.article-hero .container {
  position: relative;
  z-index: 2;
  max-width: 900px;
}
.article-hero .article-breadcrumb {
  font-size: .7rem;
  color: var(--gold-pale);
  margin-bottom: 24px;
}
.article-hero .article-breadcrumb a {
  color: var(--gold);
  text-decoration: none;
}
.article-hero .article-breadcrumb a:hover {
  text-decoration: underline;
}
.article-hero .article-breadcrumb span {
  opacity: .5;
  margin: 0 6px;
}

.article-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--white) !important;
  line-height: 1.3;
  margin-bottom: 20px;
}

.article-hero-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.article-hero-meta span {
  font-family: 'Raleway', sans-serif;
  font-size: .72rem;
  color: var(--gold-pale);
  font-weight: 400;
}
.article-hero-meta .meta-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold);
  opacity: .5;
}

/* ══════════════════════════════════════════════════
   SINGLE ARTICLE — FEATURED IMAGE
   ══════════════════════════════════════════════════ */

.article-featured-img {
  max-width: 900px;
  margin: -40px auto 0;
  padding: 0 24px;
  position: relative;
  z-index: 3;
}
.article-featured-img img {
  width: 100%;
  border-radius: 12px;
  box-shadow: var(--sh-lg);
  display: block;
}

/* ══════════════════════════════════════════════════
   SINGLE ARTICLE — CONTENT
   ══════════════════════════════════════════════════ */

.article-content-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 24px 60px;
}
.article-content-wrap h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--aubergine);
  margin-top: 48px;
  margin-bottom: 16px;
  line-height: 1.3;
}
.article-content-wrap h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--aubergine);
  margin-top: 36px;
  margin-bottom: 12px;
}
.article-content-wrap p {
  font-size: .92rem;
  line-height: 1.85;
  color: var(--text-soft);
  margin-bottom: 20px;
}
.article-content-wrap a {
  color: var(--gold);
  border-bottom: 1px solid rgba(196,162,101,.3);
  transition: border-color .2s ease;
}
.article-content-wrap a:hover {
  border-color: var(--gold);
}
.article-content-wrap ul,
.article-content-wrap ol {
  padding-left: 24px;
  margin-bottom: 20px;
}
.article-content-wrap li {
  font-size: .92rem;
  line-height: 1.85;
  color: var(--text-soft);
  margin-bottom: 8px;
}
.article-content-wrap blockquote {
  border-left: 3px solid var(--gold);
  padding: 16px 24px;
  margin: 32px 0;
  background: var(--gold-ultra);
  border-radius: 0 8px 8px 0;
}
.article-content-wrap blockquote p {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--aubergine);
  margin-bottom: 0;
}
.article-content-wrap img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 24px 0;
}
.article-content-wrap figure {
  margin: 24px 0;
}
.article-content-wrap figcaption {
  font-size: .75rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 8px;
}

/* ══════════════════════════════════════════════════
   SINGLE ARTICLE — TAGS
   ══════════════════════════════════════════════════ */

.article-tags {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px 32px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.article-tags-label {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.article-tags a {
  display: inline-block;
  padding: 4px 14px;
  font-size: .68rem;
  font-weight: 500;
  color: var(--aubergine-50);
  border: 1px solid var(--cream);
  border-radius: 100px;
  text-decoration: none;
  transition: all .2s ease;
}
.article-tags a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

/* ══════════════════════════════════════════════════
   SINGLE ARTICLE — SHARE & NAVIGATION
   ══════════════════════════════════════════════════ */

.article-footer {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px 48px;
  border-top: 1px solid var(--cream);
  padding-top: 32px;
}

.article-nav {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 24px;
}
.article-nav-link {
  flex: 1;
  padding: 20px 24px;
  background: var(--white);
  border-radius: 8px;
  border: 1px solid var(--cream);
  text-decoration: none;
  transition: all .2s ease;
}
.article-nav-link:hover {
  border-color: var(--gold);
  box-shadow: var(--sh-sm);
}
.article-nav-label {
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 6px;
}
.article-nav-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--aubergine);
  line-height: 1.35;
}
.article-nav-link.next { text-align: right; }

/* ══════════════════════════════════════════════════
   SINGLE ARTICLE — RELATED POSTS
   ══════════════════════════════════════════════════ */

.article-related {
  background: var(--cream-warm);
  padding: 60px 0;
  border-top: 1px solid var(--cream);
}
.article-related .container {
  max-width: 1100px;
}
.article-related-title {
  text-align: center;
  margin-bottom: 8px;
}
.article-related .sep-center {
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin-bottom: 36px;
}
.article-related .blog-grid {
  grid-template-columns: repeat(3, 1fr);
}

/* ══════════════════════════════════════════════════
   RESPONSIVE — TABLET
   ══════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .blog-featured-card {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .blog-featured-body {
    padding: 24px 28px 28px;
  }
  .article-related .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ══════════════════════════════════════════════════
   RESPONSIVE — MOBILE
   ══════════════════════════════════════════════════ */

@media (max-width: 768px) {
  .blog-hero { padding: 48px 0; }
  .blog-hero h1 { font-size: clamp(1.6rem, 5vw, 2.2rem); }
  .blog-hero-desc { font-size: .95rem; }

  .blog-filters .container { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; gap: 8px; }
  .blog-filter-pill { white-space: nowrap; font-size: .62rem; padding: 5px 14px; }

  .blog-grid { grid-template-columns: 1fr; gap: 20px; max-width: 500px; margin-left: auto; margin-right: auto; }

  .article-hero { padding: 40px 0; }
  .article-hero h1 { font-size: clamp(1.6rem, 5vw, 2.2rem); }
  .article-featured-img { margin-top: -24px; }

  .article-content-wrap { padding: 32px 16px 40px; }
  .article-content-wrap h2 { font-size: 1.35rem; margin-top: 36px; }
  .article-content-wrap h3 { font-size: 1.1rem; margin-top: 28px; }

  .article-nav { flex-direction: column; gap: 12px; }

  .article-related .blog-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
}

@media (max-width: 480px) {
  .blog-hero { padding: 36px 0; }
  .blog-card-body { padding: 16px 16px 20px; }
  .blog-card-title { font-size: 1.05rem; }
  .article-content-wrap { padding: 24px 14px 32px; }
  .article-tags { padding: 0 14px 24px; }
  .article-footer { padding: 0 14px 32px; padding-top: 24px; }
}
