/* ===== Blog Styles — Elise Favre (Love & Relationships) ===== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Lato:wght@300;400;700;900&display=swap');

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Lato', sans-serif;
  background: #f5fafa;
  color: #1e293b;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  line-height: 1.25;
  color: #1e293b;
}

a {
  color: #0d9488;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: #0a7a70;
}

img {
  max-width: 100%;
  display: block;
}

/* ===== Header ===== */
.blog-header {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #d5e0e6;
  padding: 1.125rem 2rem;
  position: sticky;
  top: 0;
  z-index: 50;
}

.blog-header-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.blog-brand {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.375rem;
  font-weight: 600;
  color: #1e293b;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.blog-brand:hover {
  color: #0d9488;
}

.blog-nav-link {
  font-size: 0.875rem;
  font-weight: 400;
  color: #78909c;
  text-decoration: none;
}

.blog-nav-link:hover {
  color: #0d9488;
}

/* ===== Blog Listing ===== */
.blog-hero {
  text-align: center;
  padding: 4rem 2rem 3rem;
  max-width: 650px;
  margin: 0 auto;
}

.blog-hero h1 {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
}

.blog-hero p {
  color: #52616b;
  font-size: 1.0625rem;
  line-height: 1.7;
}

.blog-grid {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

/* ===== Article Card ===== */
.article-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.75rem;
  transition: box-shadow 0.25s, transform 0.2s;
  display: flex;
  flex-direction: column;
  border: 1px solid transparent;
}

.article-card:hover {
  box-shadow: 0 8px 28px rgba(13, 148, 136, 0.08);
  transform: translateY(-2px);
  border-color: rgba(13, 148, 136, 0.15);
}

.article-card-meta {
  font-size: 0.8125rem;
  color: #78909c;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.article-card h2 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.article-card h2 a {
  color: #1e293b;
  text-decoration: none;
}

.article-card h2 a:hover {
  color: #0d9488;
}

.article-card p {
  color: #52616b;
  font-size: 0.9375rem;
  line-height: 1.7;
  flex: 1;
  margin-bottom: 1.25rem;
}

.read-more {
  font-size: 0.875rem;
  font-weight: 700;
  color: #0d9488;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.read-more:hover {
  color: #0a7a70;
}

/* ===== Article Page ===== */
.article-header {
  text-align: center;
  padding: 3.5rem 2rem 2rem;
  max-width: 700px;
  margin: 0 auto;
}

.back-to-blog {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 400;
  color: #78909c;
  margin-bottom: 1.5rem;
}

.back-to-blog:hover {
  color: #0d9488;
}

.article-header h1 {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.article-meta {
  color: #78909c;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.article-content {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 2rem 3rem;
  font-size: 1.0625rem;
  line-height: 1.85;
}

.article-content h2 {
  font-size: 1.5rem;
  margin: 2.5rem 0 1rem;
}

.article-content h3 {
  font-size: 1.2rem;
  margin: 2rem 0 0.75rem;
}

.article-content p {
  margin-bottom: 1.25rem;
}

.article-content ul,
.article-content ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

.article-content li {
  margin-bottom: 0.5rem;
}

.article-content blockquote {
  border-left: 3px solid #0d9488;
  padding: 1rem 1.5rem;
  margin: 1.75rem 0;
  background: #f0f9f7;
  color: #52616b;
  font-style: italic;
  border-radius: 0 12px 12px 0;
}

.article-content strong {
  font-weight: 700;
  color: #1e293b;
}

/* ===== Article CTA ===== */
.article-cta {
  max-width: 700px;
  margin: 0 auto 3rem;
  padding: 2.5rem 2rem;
  background: linear-gradient(135deg, #f0f9f7 0%, #f5fafa 100%);
  border: 1px solid #d5e0e6;
  border-radius: 12px;
  text-align: center;
}

.article-cta h2 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.article-cta p {
  color: #52616b;
  margin-bottom: 1.5rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.cta-button {
  display: inline-block;
  background: #0d9488;
  color: #fff;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.875rem 2.25rem;
  border-radius: 50px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.cta-button:hover {
  color: #fff;
  background: #0a7a70;
  transform: translateY(-1px);
}

/* ===== Footer ===== */
.blog-footer {
  background: #1e293b;
  color: #78909c;
  padding: 2.5rem 2rem;
  text-align: center;
  font-size: 0.875rem;
  line-height: 1.8;
}

.blog-footer a {
  color: #a5c4c1;
  text-decoration: none;
}

.blog-footer a:hover {
  color: #5eead4;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  margin-bottom: 1rem;
}

.footer-copy {
  color: #475569;
  font-size: 0.8125rem;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .blog-hero h1,
  .article-header h1 {
    font-size: 1.75rem;
  }

  .article-content {
    font-size: 1rem;
  }

  .article-cta {
    margin-left: 1rem;
    margin-right: 1rem;
    padding: 2rem 1.25rem;
  }
}

@media (max-width: 480px) {
  .blog-header {
    padding: 0.875rem 1rem;
  }

  .blog-hero {
    padding: 3rem 1rem 2rem;
  }

  .blog-grid {
    padding: 0 1rem 3rem;
  }

  .article-card {
    padding: 1.25rem;
  }

  .article-header {
    padding: 2.5rem 1rem 1.5rem;
  }

  .article-content {
    padding: 0 1rem 2.5rem;
  }
}
