/* ============================================
   BLOG STYLES — Silverleaf Dustless
   Premium Gold/Dark Aesthetic
   ============================================ */

:root {
  --blog-gold: #C8A961;
  --blog-gold-light: #D4BC7C;
  --blog-dark: #1A1A1A;
  --blog-darker: #111111;
  --blog-charcoal: #2C2C2C;
  --blog-cream: #FAF8F4;
  --blog-warm-white: #F5F0E8;
  --blog-text: #3A3A3A;
  --blog-text-light: #6B6B6B;
  --blog-border: #E8E2D6;
  --blog-shadow: 0 4px 24px rgba(0,0,0,0.08);
  --blog-shadow-hover: 0 8px 40px rgba(0,0,0,0.14);
  --blog-radius: 8px;
  --blog-transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ============================================
   BLOG LISTING PAGE
   ============================================ */

.blog-hero {
  background: linear-gradient(135deg, var(--blog-darker) 0%, var(--blog-charcoal) 100%);
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.blog-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(200,169,97,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.blog-hero-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blog-gold);
  margin-bottom: 16px;
  display: block;
}

.blog-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 16px;
  line-height: 1.2;
}

.blog-hero p {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.blog-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 32px;
  padding: 60px 0 80px;
}

.blog-card {
  background: #fff;
  border-radius: var(--blog-radius);
  overflow: hidden;
  box-shadow: var(--blog-shadow);
  transition: transform var(--blog-transition), box-shadow var(--blog-transition);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--blog-border);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--blog-shadow-hover);
}

.blog-card-image {
  height: 220px;
  position: relative;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.08);
}

.blog-card-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(transparent, rgba(26,26,26,0.4));
  z-index: 1;
  pointer-events: none;
}

.blog-card-category {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--blog-gold);
  color: var(--blog-dark);
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 3px;
  z-index: 1;
}

.blog-card-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-meta {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  color: var(--blog-text-light);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.blog-card-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.blog-card-body h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--blog-dark);
  margin: 0 0 12px;
  line-height: 1.35;
  transition: color var(--blog-transition);
}

.blog-card:hover .blog-card-body h2 {
  color: var(--blog-gold);
}

.blog-card-excerpt {
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  color: var(--blog-text-light);
  line-height: 1.7;
  margin: 0 0 20px;
  flex: 1;
}

.blog-card-link {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blog-gold);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--blog-transition);
}

.blog-card-link:hover {
  gap: 10px;
}

.blog-card-link::after {
  content: '\2192';
}

/* Blog CTA Banner */
.blog-cta-banner {
  background: linear-gradient(135deg, var(--blog-darker) 0%, var(--blog-charcoal) 100%);
  padding: 64px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.blog-cta-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(200,169,97,0.1) 0%, transparent 60%);
  pointer-events: none;
}

.blog-cta-banner h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: #fff;
  margin: 0 0 12px;
  position: relative;
}

.blog-cta-banner p {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  margin: 0 0 28px;
  position: relative;
}

.blog-cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--blog-gold);
  color: var(--blog-dark);
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 16px 40px;
  border-radius: 6px;
  text-decoration: none;
  transition: all var(--blog-transition);
  position: relative;
}

.blog-cta-phone:hover {
  background: var(--blog-gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200,169,97,0.3);
}

/* ============================================
   ARTICLE PAGE STYLES
   ============================================ */

.article-hero {
  background: linear-gradient(135deg, var(--blog-darker) 0%, var(--blog-charcoal) 100%);
  padding: 130px 0 60px;
  position: relative;
  overflow: hidden;
}

.article-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 20% 80%, rgba(200,169,97,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.article-breadcrumb {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}

.article-breadcrumb a {
  color: var(--blog-gold);
  text-decoration: none;
  transition: color var(--blog-transition);
}

.article-breadcrumb a:hover {
  color: var(--blog-gold-light);
}

.article-breadcrumb span {
  margin: 0 8px;
  color: rgba(255,255,255,0.3);
}

.article-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 20px;
  line-height: 1.25;
  max-width: 800px;
}

.article-meta {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.article-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.article-meta-divider {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
}

/* Article Content */
.article-content-wrapper {
  background: var(--blog-cream);
  padding: 60px 0 80px;
}

.article-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.article-content {
  background: #fff;
  border-radius: var(--blog-radius);
  padding: 48px;
  box-shadow: var(--blog-shadow);
  border: 1px solid var(--blog-border);
}

.article-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--blog-dark);
  margin: 48px 0 20px;
  padding-top: 16px;
  line-height: 1.3;
}

.article-content h2:first-child {
  margin-top: 0;
  padding-top: 0;
}

.article-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--blog-charcoal);
  margin: 36px 0 14px;
  line-height: 1.35;
}

.article-content p {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: var(--blog-text);
  line-height: 1.8;
  margin: 0 0 20px;
}

.article-content ul,
.article-content ol {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: var(--blog-text);
  line-height: 1.8;
  margin: 0 0 20px;
  padding-left: 24px;
}

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

.article-content strong {
  color: var(--blog-dark);
  font-weight: 600;
}

.article-content a {
  color: var(--blog-gold);
  text-decoration: underline;
  text-decoration-color: rgba(200,169,97,0.3);
  text-underline-offset: 2px;
  transition: text-decoration-color var(--blog-transition);
}

.article-content a:hover {
  text-decoration-color: var(--blog-gold);
}

/* Gold accent line for first paragraph */
.article-content > p:first-of-type {
  font-size: 1.1rem;
  color: var(--blog-text);
  border-left: 3px solid var(--blog-gold);
  padding-left: 20px;
}

/* ============================================
   CHARTS, TABLES & GRAPHS
   ============================================ */

/* Comparison Table */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  border-radius: var(--blog-radius);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.comparison-table thead th {
  background: var(--blog-dark);
  color: #fff;
  font-weight: 600;
  padding: 14px 18px;
  text-align: left;
  letter-spacing: 0.3px;
}

.comparison-table thead th:first-child {
  border-radius: 0;
}

.comparison-table thead th.highlight-col {
  background: var(--blog-gold);
  color: var(--blog-dark);
}

.comparison-table tbody td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--blog-border);
  color: var(--blog-text);
}

.comparison-table tbody tr:nth-child(even) {
  background: var(--blog-warm-white);
}

.comparison-table tbody tr:hover {
  background: rgba(200,169,97,0.08);
}

.comparison-table .check {
  color: #2E7D32;
  font-weight: 700;
  font-size: 1.1rem;
}

.comparison-table .cross {
  color: #C62828;
  font-weight: 700;
  font-size: 1.1rem;
}

.comparison-table .highlight-col {
  background: rgba(200,169,97,0.06);
}

/* Bar Chart */
.bar-chart {
  margin: 32px 0;
  padding: 28px;
  background: var(--blog-warm-white);
  border-radius: var(--blog-radius);
  border: 1px solid var(--blog-border);
}

.bar-chart-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--blog-dark);
  margin: 0 0 24px;
  text-align: center;
}

.bar-chart-item {
  margin-bottom: 18px;
}

.bar-chart-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--blog-text);
  margin-bottom: 6px;
  display: flex;
  justify-content: space-between;
}

.bar-chart-track {
  height: 28px;
  background: rgba(0,0,0,0.06);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.bar-chart-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--blog-gold), var(--blog-gold-light));
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--blog-dark);
  min-width: 40px;
}

.bar-chart-fill.alt {
  background: linear-gradient(90deg, var(--blog-charcoal), #555);
  color: #fff;
}

.bar-chart-fill.accent {
  background: linear-gradient(90deg, #2E7D32, #4CAF50);
  color: #fff;
}

/* Cost Breakdown */
.cost-breakdown {
  margin: 32px 0;
  padding: 28px;
  background: var(--blog-warm-white);
  border-radius: var(--blog-radius);
  border: 1px solid var(--blog-border);
}

.cost-breakdown-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--blog-dark);
  margin: 0 0 20px;
  text-align: center;
}

.cost-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--blog-border);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
}

.cost-row:last-child {
  border-bottom: none;
}

.cost-row-label {
  color: var(--blog-text);
}

.cost-row-value {
  font-weight: 700;
  color: var(--blog-dark);
}

.cost-row.total {
  border-top: 2px solid var(--blog-gold);
  margin-top: 8px;
  padding-top: 16px;
}

.cost-row.total .cost-row-label,
.cost-row.total .cost-row-value {
  font-size: 1.1rem;
  color: var(--blog-gold);
  font-weight: 700;
}

/* Timeline Chart */
.timeline-chart {
  margin: 32px 0;
  padding: 28px;
  background: var(--blog-warm-white);
  border-radius: var(--blog-radius);
  border: 1px solid var(--blog-border);
}

.timeline-chart-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--blog-dark);
  margin: 0 0 24px;
  text-align: center;
}

.timeline-step {
  display: flex;
  gap: 20px;
  margin-bottom: 0;
  position: relative;
}

.timeline-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.timeline-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--blog-gold);
  border: 3px solid var(--blog-warm-white);
  box-shadow: 0 0 0 2px var(--blog-gold);
  z-index: 1;
}

.timeline-line {
  width: 2px;
  flex: 1;
  background: var(--blog-border);
  min-height: 40px;
}

.timeline-step:last-child .timeline-line {
  display: none;
}

.timeline-body {
  padding-bottom: 24px;
}

.timeline-body h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--blog-dark);
  margin: 0 0 4px;
}

.timeline-body p {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  color: var(--blog-text-light);
  margin: 0;
  line-height: 1.6;
}

.timeline-duration {
  display: inline-block;
  background: var(--blog-gold);
  color: var(--blog-dark);
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 3px;
  margin-top: 6px;
}

/* Stat Boxes */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin: 32px 0;
}

.stat-box {
  background: var(--blog-warm-white);
  border: 1px solid var(--blog-border);
  border-radius: var(--blog-radius);
  padding: 24px 16px;
  text-align: center;
}

.stat-box-number {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--blog-gold);
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-box-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  color: var(--blog-text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Checklist */
.checklist {
  margin: 32px 0;
  padding: 28px;
  background: var(--blog-warm-white);
  border-radius: var(--blog-radius);
  border: 1px solid var(--blog-border);
  list-style: none;
}

.checklist li {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--blog-text);
  padding: 10px 0 10px 32px;
  border-bottom: 1px solid var(--blog-border);
  position: relative;
  line-height: 1.6;
}

.checklist li:last-child {
  border-bottom: none;
}

.checklist li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--blog-gold);
  font-weight: 700;
  font-size: 1.1rem;
}

/* Info Box */
.info-box {
  margin: 32px 0;
  padding: 24px 28px;
  border-radius: var(--blog-radius);
  border-left: 4px solid var(--blog-gold);
  background: rgba(200,169,97,0.06);
}

.info-box h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--blog-dark);
  margin: 0 0 8px;
}

.info-box p {
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  color: var(--blog-text);
  margin: 0;
  line-height: 1.7;
}

/* About Box */
.about-box {
  margin: 48px 0 32px;
  padding: 32px;
  background: var(--blog-warm-white);
  border-radius: var(--blog-radius);
  border: 1px solid var(--blog-border);
}

.about-box h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--blog-dark);
  margin: 0 0 12px;
}

.about-box p {
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  color: var(--blog-text);
  line-height: 1.7;
  margin: 0 0 8px;
}

.about-box p:last-child {
  margin-bottom: 0;
}

/* Article CTA */
.article-cta {
  margin: 40px 0 0;
  padding: 40px;
  background: linear-gradient(135deg, var(--blog-darker), var(--blog-charcoal));
  border-radius: var(--blog-radius);
  text-align: center;
}

.article-cta h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 12px;
}

.article-cta p {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  margin: 0 0 24px;
  line-height: 1.7;
}

.article-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--blog-gold) !important;
  color: var(--blog-dark) !important;
  -webkit-text-fill-color: var(--blog-dark) !important;
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 16px 40px;
  border-radius: 6px;
  text-decoration: none;
  transition: all var(--blog-transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  animation: none !important;
}

.article-cta-btn:hover {
  background: var(--blog-gold-light) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200,169,97,0.3);
}

/* Back to blog link */
.back-to-blog {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--blog-gold);
  text-decoration: none;
  margin-top: 32px;
  transition: gap var(--blog-transition);
}

.back-to-blog:hover {
  gap: 10px;
}

.back-to-blog::before {
  content: '\2190';
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 40px 0 60px;
  }

  .blog-hero {
    padding: 120px 0 60px;
  }

  .article-hero {
    padding: 110px 0 40px;
  }

  .article-content {
    padding: 28px 20px;
  }

  .article-content h2 {
    font-size: 1.4rem;
  }

  .article-cta {
    padding: 28px 20px;
  }

  .comparison-table {
    font-size: 0.8rem;
  }

  .comparison-table thead th,
  .comparison-table tbody td {
    padding: 10px 12px;
  }

  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bar-chart,
  .cost-breakdown,
  .timeline-chart {
    padding: 20px;
  }

  .article-meta {
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .stat-grid {
    grid-template-columns: 1fr;
  }

  .blog-hero h1 {
    font-size: 1.8rem;
  }

  .article-hero h1 {
    font-size: 1.6rem;
  }

  .cost-row {
    font-size: 0.88rem;
  }
}

/* Print styles */
@media print {
  .blog-cta-banner,
  .article-cta,
  .back-to-blog {
    display: none;
  }

  .article-content {
    box-shadow: none;
    border: none;
    padding: 0;
  }
}
