/* ═══════════════════════════════════════════
   BLOG-ARTICLE.CSS — Article page layout
   ═══════════════════════════════════════════ */

/* Page fade-in */
.blog-article-page {
  animation: blog-page-fade 0.4s ease-out;
}
@keyframes blog-page-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Reading progress bar */
.blog-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--rose), var(--coral));
  z-index: 9999;
  transition: width 0.1s linear;
}

/* Main article area */
.blog-article-main {
  padding-top: 120px;
  padding-bottom: 80px;
  min-height: 60vh;
}
.blog-article-content {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px;
}
.blog-back-link {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(28, 26, 24, 0.55);
  text-decoration: none;
  margin-bottom: 32px;
  transition: color 0.2s, transform 0.2s;
}
.blog-back-link:hover {
  color: var(--rose);
  transform: translateX(-4px);
}

/* Article header */
.blog-article-header {
  margin-bottom: 40px;
}
.blog-article-cat {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 12px;
}
.blog-article-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--charcoal);
  margin: 0 0 16px;
}
.blog-article-meta {
  font-size: 0.88rem;
  color: rgba(28, 26, 24, 0.55);
  display: flex;
  align-items: center;
  gap: 8px;
}
.blog-meta-dot {
  opacity: 0.5;
}

/* Hero section - gradient like blog cards */
.blog-article-hero {
  width: 100%;
  max-width: 680px;
  margin: 0 auto 40px;
  height: 200px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #2a2530 0%, #3d2a3a 100%);
  box-shadow: 0 8px 32px rgba(28, 26, 24, 0.12);
}
.blog-article-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 100%, rgba(255,255,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.blog-hero-icon {
  font-size: 4.5rem;
  opacity: 0.95;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.2));
}

/* Article body - comfortable reading width */
.blog-article-body {
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--ink);
}
.blog-article-body p {
  margin: 0 0 1.5em;
}
.blog-article-body p:last-child {
  margin-bottom: 0;
}
.blog-article-body strong {
  font-weight: 700;
  color: var(--charcoal);
}
.blog-article-body h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--charcoal);
  margin: 2em 0 0.6em;
  line-height: 1.3;
}
.blog-article-body h2:first-child {
  margin-top: 0;
}
.blog-article-body h3 {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--charcoal);
  margin: 1.8em 0 0.5em;
}
.blog-article-body blockquote {
  margin: 2em 0;
  padding: 1.25em 1.5em;
  border-left: 4px solid var(--rose);
  background: rgba(212, 96, 122, 0.06);
  border-radius: 0 10px 10px 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--ink);
  line-height: 1.6;
}
.blog-article-body hr {
  border: none;
  height: 1px;
  background: rgba(28, 26, 24, 0.1);
  margin: 2.5em 0;
}
.blog-article-body a {
  color: var(--rose);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
.blog-article-body a:hover {
  border-bottom-color: var(--rose);
  color: var(--charcoal);
}

/* Article footer - author bio, share */
.blog-article-footer {
  margin-top: 3em;
  padding-top: 2.5em;
  border-top: 1px solid rgba(28, 26, 24, 0.08);
}
.blog-footer-card {
  background: #fff;
  border: 1px solid rgba(28, 26, 24, 0.07);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.blog-author-bio {
  display: flex;
  gap: 16px;
  align-items: center;
  flex: 1;
  min-width: 200px;
}
.blog-author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose) 0%, var(--coral) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  flex-shrink: 0;
}
.blog-author-info {
  flex: 1;
}
.blog-author-name {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 2px;
}
.blog-author-role {
  font-size: 0.8rem;
  color: rgba(28, 26, 24, 0.55);
  display: block;
  margin-bottom: 8px;
}
.blog-author-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(28, 26, 24, 0.7);
  margin: 0;
}
.blog-share-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.blog-share-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(28, 26, 24, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.blog-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(28, 26, 24, 0.06);
  color: var(--charcoal);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.blog-share-btn:hover {
  background: var(--charcoal);
  color: var(--cream);
  transform: translateY(-2px);
}
/* Related Articles */
.blog-related {
  max-width: 1100px;
  margin: 0 auto;
  padding: 64px 24px 0;
  border-top: 1px solid rgba(28, 26, 24, 0.08);
}
.blog-related-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--charcoal);
  margin: 0 0 24px;
}
.blog-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.blog-related-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid rgba(28, 26, 24, 0.07);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.28s ease;
  cursor: pointer;
  outline: none;
}
.blog-related-card:hover,
.blog-related-card:focus {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 32px rgba(28, 26, 24, 0.1);
}
.blog-related-card:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 3px;
}
.blog-related-card .sp-post-img-wrap {
  aspect-ratio: 16/10;
  overflow: hidden;
}
.blog-related-card .sp-post-img-placeholder {
  font-size: 1.8rem;
  height: 100%;
  min-height: 120px;
}
.blog-related-card .sp-post-body {
  padding: 20px;
}
.blog-related-card .sp-post-title {
  font-size: 0.98rem;
}
.blog-related-card .sp-post-desc {
  font-size: 0.8rem;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Mobile */
@media (max-width: 768px) {
  .blog-article-main {
    padding-top: 100px;
  }
  .blog-article-hero {
    height: 160px;
    margin-bottom: 32px;
  }
  .blog-hero-icon {
    font-size: 3rem;
  }
  .blog-footer-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .blog-author-bio {
    flex-direction: row;
  }
  .blog-related-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .blog-article-content {
    padding: 0 16px;
  }
  .blog-article-hero {
    height: 140px;
    border-radius: 14px;
  }
  .blog-article-meta {
    flex-wrap: wrap;
  }
  .blog-related {
    padding: 48px 16px 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .blog-article-page {
    animation: none;
  }
  .blog-related-card {
    transition: none;
  }
  .blog-back-link:hover {
    transform: none;
  }
}
