/* =============================================
   ROYAL SPIRULINA â BLOG PAGES
   Blog listing + Single post
   ============================================= */

/* =============================================
   BLOG LISTING PAGE
   ============================================= */

/* -- Blog hero: taller to fit stats bar below h1 + subtitle -- */
.page-hero {
  height: auto;
  min-height: 440px;
  padding-bottom: 64px;
  overflow: visible;
}

/* -- Page Hero Stats -- */
.page-hero-stats {
  display: flex;
  gap: 48px;
  justify-content: center;
  margin-top: 36px;
}
.page-hero-stat {
  text-align: center;
}
.page-hero-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  color: var(--gold);
  font-weight: 400;
}
.page-hero-stat-label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-top: 8px;
}

/* -- Category Filter Bar -- */
.filter-bar {
  background: var(--white);
  padding: 0 var(--content-padding);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  position: sticky;
  top: 80px;
  z-index: 100;
  transition: top 0.4s;
}
.filter-bar.scrolled {
  top: 64px;
}
.filter-bar-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.filter-bar-inner::-webkit-scrollbar { display: none; }

.filter-pill {
  display: inline-block;
  padding: 8px 20px;
  border: 1px solid rgba(10,58,42,0.12);
  background: transparent;
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.3s;
}
.filter-pill:hover,
.filter-pill.active {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-dim);
}
.filter-pill.active {
  font-weight: 600;
}

/* -- Featured Article -- */
.section-featured {
  padding: 80px var(--content-padding);
  background: var(--white);
}
.featured-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  min-height: 420px;
  border: 1px solid rgba(0,0,0,0.06);
  overflow: hidden;
  transition: all 0.4s;
  text-decoration: none;
}
.featured-card:hover {
  box-shadow: 0 30px 80px rgba(0,0,0,0.08);
  border-color: var(--gold);
}
.featured-card-image {
  background: linear-gradient(135deg, var(--emerald) 0%, var(--emerald-mid) 50%, var(--emerald-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 420px;
  overflow: hidden;
}
.featured-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.featured-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,58,42,0.6), rgba(10,58,42,0.2));
  z-index: 1;
}
.featured-image-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}
.featured-image-icon {
  width: 100px;
  height: 100px;
  border: 2px solid rgba(201,168,76,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  color: var(--gold);
  font-size: 32px;
  margin: 0 auto 20px;
}
.featured-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.3);
  color: var(--gold);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.featured-card-info {
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--ivory);
}
.featured-category {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-dim);
  background: var(--gold-dim);
  padding: 5px 14px;
  margin-bottom: 24px;
  width: fit-content;
}
.featured-card-info h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 400;
  line-height: 1.28;
  color: var(--charcoal);
  margin-bottom: 20px;
}
.featured-card-info p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-muted);
  font-weight: 300;
  margin-bottom: 28px;
}
.featured-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 32px;
}
.featured-meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold);
}
.read-more-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--emerald);
  transition: all 0.3s;
}
.read-more-link .arrow {
  color: var(--gold);
  font-size: 18px;
  transition: transform 0.3s;
}
.read-more-link:hover { color: var(--gold); }
.read-more-link:hover .arrow { transform: translateX(6px); }

/* -- Article Grid -- */
.section-articles {
  padding: 80px var(--content-padding) 40px;
  background: var(--ivory);
}
.section-articles .section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}
.section-articles .section-header .section-label {
  justify-content: center;
}
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.article-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  overflow: hidden;
  transition: all 0.4s;
  cursor: pointer;
  position: relative;
  border-top: 3px solid transparent;
  display: flex;
  flex-direction: column;
  text-decoration: none;
}
.article-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.08);
  border-top-color: var(--gold);
}
.article-card-image {
  height: 200px;
  background: linear-gradient(135deg, var(--emerald) 0%, var(--emerald-mid) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
}
.article-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.article-card:hover .article-card-image img {
  transform: scale(1.05);
}
.article-card-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to top, var(--white), transparent);
  z-index: 1;
}
.article-card-placeholder {
  width: 56px;
  height: 56px;
  border: 1.5px solid rgba(201,168,76,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  color: var(--gold);
  font-size: 18px;
}
.article-card-body {
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.article-category {
  display: inline-block;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-dim);
  background: var(--gold-dim);
  padding: 4px 12px;
  margin-bottom: 16px;
  width: fit-content;
}
.article-card-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--charcoal);
  margin-bottom: 12px;
  transition: color 0.3s;
}
.article-card:hover .article-card-body h3 {
  color: var(--emerald-light);
}
.article-card-body .excerpt {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-muted);
  font-weight: 300;
  margin-bottom: 20px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.article-meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold);
}
.article-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--emerald);
  transition: all 0.3s;
}
.article-read-more .arrow {
  color: var(--gold);
  font-size: 14px;
  transition: transform 0.3s;
}
.article-read-more:hover { color: var(--gold); }
.article-read-more:hover .arrow { transform: translateX(5px); }

/* Category gradient variants */
.article-card-image.science   { background: linear-gradient(135deg, #0A2D4A 0%, #1A4B6A 100%); }
.article-card-image.nutrition { background: linear-gradient(135deg, var(--emerald-light) 0%, var(--emerald) 100%); }
.article-card-image.guide     { background: linear-gradient(135deg, var(--emerald-mid) 0%, #1A5C42 100%); }
.article-card-image.review    { background: linear-gradient(135deg, #2D1A4A 0%, #4A2D6A 100%); }
.article-card-image.wellness  { background: linear-gradient(135deg, #1A3A2A 0%, var(--emerald-light) 100%); }
.article-card-image.history   { background: linear-gradient(135deg, #3A2A0A 0%, #5C4218 100%); }
.article-card-image.recipes   { background: linear-gradient(135deg, #2A4A1A 0%, #3A6A2A 100%); }
.article-card-image.research  { background: linear-gradient(135deg, #1A2A4A 0%, #2A3A5A 100%); }

/* -- Pagination -- */
.pagination-wrapper {
  text-align: center;
  padding: 20px var(--content-padding) 80px;
  background: var(--ivory);
}
.pagination {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.page-num {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0,0,0,0.1);
  background: var(--white);
  color: var(--charcoal);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
}
.page-num:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.page-num.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--emerald);
  font-weight: 600;
}
.page-num.arrow-btn {
  font-size: 16px;
  color: var(--gold);
}
.page-num.arrow-btn:hover {
  background: var(--gold);
  color: var(--emerald);
}


/* =============================================
   WORDPRESS BLOG LISTING (home.php / index.php)
   ============================================= */

/* -- Blog Hero -- */
.blog-hero {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px var(--content-padding) 60px;
  background: var(--emerald);
  overflow: hidden;
}
.blog-hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(201,168,76,0.3), transparent 60%),
    radial-gradient(ellipse at 80% 30%, rgba(26,92,66,0.5), transparent 50%);
}
.blog-hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 20h40M20 0v40' stroke='%23fff' stroke-width='.5' fill='none'/%3E%3C/svg%3E");
}
.blog-hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}
.blog-hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 400;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 16px;
}
.blog-hero-content h1 em {
  font-style: italic;
  color: var(--gold);
}
.blog-hero-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  max-width: 500px;
  margin: 0 auto;
}

/* -- Category Filter Bar -- */
.blog-filter {
  background: var(--white);
  padding: 0 var(--content-padding);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  position: sticky;
  top: 80px;
  z-index: 100;
}
.blog-filter-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.blog-filter-inner::-webkit-scrollbar { display: none; }

.blog-filter-btn {
  display: inline-block;
  padding: 8px 20px;
  border: 1px solid rgba(10,58,42,0.12);
  background: transparent;
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.3s;
}
.blog-filter-btn:hover,
.blog-filter-btn.active {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-dim);
}
.blog-filter-btn.active {
  font-weight: 600;
}

/* -- Blog Grid -- */
.blog-grid-section {
  padding: 64px var(--content-padding) 80px;
  background: var(--ivory);
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

/* -- Blog Card -- */
.blog-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  overflow: hidden;
  transition: all 0.4s;
  cursor: pointer;
  position: relative;
  border-top: 3px solid transparent;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.08);
  border-top-color: var(--gold);
}

/* Card image */
.blog-card-image {
  height: 200px;
  background: linear-gradient(135deg, var(--emerald) 0%, var(--emerald-mid) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
  font-family: 'Playfair Display', serif;
  color: var(--gold);
  font-size: 28px;
}
.blog-card-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to top, var(--white), transparent);
  z-index: 1;
}

/* Card body */
.blog-card-body {
  padding: 24px 28px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-card-cat {
  display: inline-block;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-dim);
  background: var(--gold-dim);
  padding: 4px 12px;
  margin-bottom: 14px;
  width: fit-content;
}
.blog-card-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--charcoal);
  margin-bottom: 10px;
  transition: color 0.3s;
}
.blog-card:hover .blog-card-body h3 {
  color: var(--emerald-light);
}
.blog-card-body p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-muted);
  font-weight: 300;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Card footer */
.blog-card-footer {
  padding: 14px 28px;
  border-top: 1px solid rgba(0,0,0,0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
}
.blog-card-date {
  font-weight: 400;
}
.blog-card-read {
  color: var(--gold);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.5px;
}

/* -- Pagination -- */
.blog-pagination {
  text-align: center;
  padding-top: 48px;
}
.blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(0,0,0,0.1);
  background: var(--white);
  color: var(--charcoal);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  margin: 0 4px;
}
.blog-pagination .page-numbers:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.blog-pagination .page-numbers.current {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--emerald);
  font-weight: 600;
}


/* =============================================
   SINGLE POST PAGE
   ============================================= */

/* -- Post Hero -- */
.post-hero {
  padding: 140px 20px 60px;
  background: var(--emerald);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.post-hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(201,168,76,0.3), transparent 60%),
    radial-gradient(ellipse at 80% 30%, rgba(26,92,66,0.5), transparent 50%);
}
.post-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}
.post-category-badge {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.4);
  padding: 6px 18px;
  margin-bottom: 24px;
}
.post-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 20px;
}
.post-meta-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
}
.post-meta-bar .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
}
.post-meta-bar .author-name {
  color: var(--gold);
}

/* -- Post Container -- */
.post-container {
  max-width: 780px;
  margin: 0 auto;
  padding: 60px 20px 80px;
}

/* Loading state */
.post-loading {
  text-align: center;
  padding: 80px 20px;
}
.post-loading .spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--ivory-dark);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 20px;
}
@keyframes spin { to { transform: rotate(360deg); } }
.post-loading p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  color: var(--text-muted);
  font-style: italic;
}

/* Error state */
.post-error {
  text-align: center;
  padding: 60px 20px;
}
.post-error h2 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: var(--charcoal);
  margin-bottom: 12px;
}
.post-error p {
  color: var(--text-muted);
  margin-bottom: 24px;
}
.post-error a {
  display: inline-block;
  text-decoration: none;
  background: var(--emerald);
  color: var(--white);
  padding: 12px 32px;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  transition: background 0.3s;
}
.post-error a:hover {
  background: var(--emerald-light);
}

/* -- Post Body -- */
.post-body {
  font-family: 'Inter', sans-serif;
  font-size: 16.5px;
  line-height: 1.85;
  color: var(--charcoal-light);
}
.post-body h2 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--charcoal);
  margin: 48px 0 16px;
  line-height: 1.3;
}
.post-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--charcoal);
  margin: 36px 0 12px;
  line-height: 1.35;
}
.post-body h4 {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--charcoal);
  margin: 28px 0 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.post-body p {
  margin-bottom: 20px;
}
.post-body a {
  color: var(--emerald-light);
  text-decoration: underline;
  text-decoration-color: rgba(26, 92, 66, 0.3);
  text-underline-offset: 3px;
  transition: all 0.3s;
}
.post-body a:hover {
  color: var(--gold);
  text-decoration-color: var(--gold);
}
.post-body ul,
.post-body ol {
  margin: 16px 0 24px 28px;
}
.post-body li {
  margin-bottom: 8px;
  line-height: 1.7;
}
.post-body blockquote {
  border-left: 3px solid var(--gold);
  padding: 16px 24px;
  margin: 28px 0;
  background: var(--gold-dim);
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-style: italic;
  color: var(--charcoal);
  line-height: 1.6;
}
.post-body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin: 24px 0;
  display: block;
}
.post-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}
.post-body table th {
  background: var(--emerald);
  color: var(--white);
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.post-body table td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--ivory-dark);
}
.post-body table tr:nth-child(even) td {
  background: rgba(250,247,240,0.5);
}
.post-body strong { color: var(--charcoal); }
.post-body em { color: inherit; }
.post-body hr {
  border: none;
  height: 1px;
  background: var(--ivory-dark);
  margin: 40px 0;
}

/* Divi shortcode cleanup */
.post-body .et_pb_section,
.post-body .et_pb_row,
.post-body .et_pb_column,
.post-body .et_pb_text {
  all: unset;
  display: block;
}
.post-body [class*="et_pb_"] {
  margin: 0;
  padding: 0;
}
/* Styled boxes from WP content */
.post-body div[style*="background"] {
  border-radius: 6px;
  margin: 24px 0;
  padding: 20px !important;
}

/* -- Tags -- */
.post-tags {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--ivory-dark);
}
.post-tags-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.post-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.post-tag {
  display: inline-block;
  padding: 5px 14px;
  font-size: 11px;
  font-weight: 500;
  color: var(--emerald);
  background: var(--gold-dim);
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.3s;
}
.post-tag:hover {
  background: var(--gold);
  color: var(--emerald);
}

/* -- Back Link -- */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--emerald);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 40px;
  transition: color 0.3s;
}
.back-link:hover { color: var(--gold); }
.back-link .arrow {
  font-size: 16px;
  transition: transform 0.3s;
}
.back-link:hover .arrow { transform: translateX(-4px); }

/* -- Related Articles -- */
.related-section {
  background: var(--white);
  padding: 80px 20px;
}
.related-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.related-section .section-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 8px;
}
.related-section .section-title {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  text-align: center;
  margin-bottom: 40px;
  color: var(--charcoal);
}
.related-section .section-title em {
  font-style: italic;
  color: var(--emerald-light);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.related-card {
  text-decoration: none;
  color: inherit;
  background: var(--ivory);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(10,58,42,0.08);
}
.related-card-image {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: rgba(255,255,255,0.4);
  background: linear-gradient(135deg, var(--emerald) 0%, var(--emerald-light) 100%);
}
.related-card-body {
  padding: 20px;
}
.related-card-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--charcoal);
  margin-bottom: 8px;
}
.related-card-body p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.related-card-meta {
  padding: 0 20px 16px;
  font-size: 11px;
  color: var(--text-muted);
}


/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 1024px) {
  .articles-grid,
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .featured-card {
    grid-template-columns: 1fr;
  }
  .featured-card-image {
    min-height: 260px;
  }
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .articles-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .page-hero-stats {
    gap: 32px;
  }
  .page-hero-stat-num {
    font-size: 26px;
  }
  .featured-card-info {
    padding: 32px 24px;
  }
  .blog-hero {
    min-height: 300px;
    padding: 100px 20px 48px;
  }
  .post-hero h1 {
    font-size: 26px;
  }
  .post-body {
    font-size: 15px;
  }
  .post-body h2 {
    font-size: 24px;
  }
  .post-body h3 {
    font-size: 20px;
  }
  .related-grid {
    grid-template-columns: 1fr;
  }
}
