/* ============================================
   BLOG ARTICLE PAGE
   Extracted from blog.css
============================================ */

.blog-article {
  /* Card Style - Centered White Box */
  background: var(--white);
  border-radius: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);

  /* Spacing & Layout */
  max-width: 900px;
  /* Slightly wider for card look */
  /* Push down from header (dynamic height + safe-area) */
  margin: calc(var(--header-height) + 48px) auto 60px;
  padding: 60px 80px;
  /* Internal breathing room */
  position: relative;
  z-index: 10;
}

@media (max-width: 768px) {
  .blog-article {
    margin: calc(var(--header-height) + 16px) 16px 40px;
    padding: 32px 24px;
    border-radius: 24px;
  }
}

/* Article Hero Header - Clean Style */
.article-header {
  position: relative;
  padding: 20px 0 32px;
  /* Reduced top padding as card margin handles spacing */
  margin: 0 0 32px;
  background: transparent;
  text-align: center;
}

/* Removed transparent pattern overlay */

.article-header>* {
  position: relative;
  z-index: 1;
}

/* Breadcrumb Navigation (UX-012) */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  margin-bottom: 20px;
  color: var(--gray-500);
}

.breadcrumb a {
  color: var(--green-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: var(--green-dark);
  text-decoration: underline;
}

.breadcrumb span {
  color: var(--gray-400);
}

.breadcrumb .current {
  color: var(--gray-600);
}

.back-link {
  display: inline-block;
  color: var(--green-primary);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  margin-bottom: 20px;
  transition: color 0.2s ease;
}

.back-link:hover {
  color: var(--green-dark);
}

.article-header h1 {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 800;
  line-height: 1.2;
  margin: 16px 0;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.article-header .blog-tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--green-primary) 0%, var(--green-dark) 100%);
  color: white;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 8px;
  box-shadow: 0 2px 8px rgba(0, 180, 135, 0.3);
}

.article-meta {
  font-size: 14px;
  color: var(--gray-500);
  margin-top: 8px;
}

.article-content {
  font-size: 17px;
  line-height: 1.8;
  color: var(--gray-700);
}

.article-content h2 {
  font-size: 24px;
  font-weight: 600;
  color: var(--gray-900);
  margin: 40px 0 16px;
}

.article-content p {
  margin-bottom: 20px;
}

.article-content .lead {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--gray-700);
  margin-bottom: 28px;
  padding: 0;
  background: none;
}

.article-content ul {
  margin: 20px 0;
  padding-left: 24px;
}

.article-content li {
  margin-bottom: 12px;
}

/* Generic Image Constraint to preventing massive overflow */
.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Hero Image - Featured at top of article */
.article-hero-image {
  display: block;
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  object-position: center;
  border-radius: 20px;
  margin: 0 0 32px 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}


/* Import specialized components */
@import '../components/article-components.css';