/* Blog styles for ConseilAvocat.ca */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  background: #f5f5f5;
  color: #333;
  line-height: 1.6;
}

.blog-header {
  background: #1a1a2e;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}

.blog-header .logo-link img {
  height: 40px;
  width: auto;
}

.blog-nav {
  list-style: none;
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.blog-nav a {
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
  padding: 5px 10px;
  border-radius: 4px;
  transition: background 0.2s;
}

.blog-nav a:hover,
.blog-nav a.active {
  color: #fff;
  background: rgba(255,255,255,0.1);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

.blog-main {
  max-width: 800px;
  margin: 0 auto;
  padding: 30px 20px;
}

.blog-title {
  font-size: 28px;
  color: #1a1a2e;
  margin-bottom: 10px;
  line-height: 1.3;
}

.blog-subtitle {
  color: #666;
  font-size: 16px;
  margin-bottom: 30px;
}

/* Article cards on listing page */
.article-card {
  background: #fff;
  border-radius: 8px;
  padding: 25px 30px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: box-shadow 0.2s;
}

.article-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.article-card h2 {
  margin-bottom: 8px;
}

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

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

.article-card .date {
  color: #999;
  font-size: 13px;
  margin-bottom: 10px;
}

.article-card p {
  color: #555;
  font-size: 15px;
  line-height: 1.6;
}

.article-card .read-more {
  display: inline-block;
  margin-top: 12px;
  color: #e94560;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.article-card .read-more:hover {
  text-decoration: underline;
}

/* Single article page */
.article-content {
  background: #fff;
  border-radius: 8px;
  padding: 35px 30px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.article-content .date {
  color: #999;
  font-size: 13px;
  margin-bottom: 20px;
}

.article-content h1 {
  font-size: 28px;
  color: #1a1a2e;
  margin-bottom: 8px;
  line-height: 1.3;
}

.article-content h2 {
  font-size: 22px;
  color: #1a1a2e;
  margin: 30px 0 12px;
}

.article-content h3 {
  font-size: 18px;
  color: #333;
  margin: 24px 0 10px;
}

.article-content p {
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.7;
  color: #444;
}

.article-content ul, .article-content ol {
  margin: 10px 0 16px 24px;
  color: #444;
}

.article-content li {
  margin-bottom: 6px;
  line-height: 1.6;
}

.article-content strong {
  color: #333;
}

/* CTA box */
.cta-box {
  background: #1a1a2e;
  color: #fff;
  border-radius: 8px;
  padding: 30px;
  margin: 35px 0 20px;
  text-align: center;
}

.cta-box h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #fff;
}

.cta-box p {
  color: #ccc;
  margin-bottom: 16px;
  font-size: 15px;
}

.cta-btn {
  display: inline-block;
  background: #e94560;
  color: #fff;
  padding: 14px 32px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  transition: background 0.2s;
}

.cta-btn:hover {
  background: #d63851;
}

/* Back link */
.back-link {
  display: inline-block;
  margin-bottom: 20px;
  color: #e94560;
  text-decoration: none;
  font-size: 14px;
}

.back-link:hover {
  text-decoration: underline;
}

/* Footer */
.blog-footer {
  background: #1a1a2e;
  color: #999;
  text-align: center;
  padding: 25px 20px;
  font-size: 13px;
  margin-top: 40px;
}

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

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

/* Responsive */
@media (max-width: 600px) {
  .blog-nav {
    display: none;
    flex-direction: column;
    width: 100%;
    padding-top: 10px;
  }

  .blog-nav.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .blog-header {
    flex-wrap: wrap;
  }

  .blog-main {
    padding: 20px 15px;
  }

  .blog-title {
    font-size: 22px;
  }

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

  .article-content h1 {
    font-size: 24px;
  }

  .article-card {
    padding: 20px;
  }
}
