/* Blog Post Styling - Consistent with existing blog design */

.blog-post {
  background: var(--background-light);
  min-height: 100vh;
  padding-top: 80px;
}

.blog-hero {
  background: linear-gradient(135deg, var(--soft-pink) 0%, var(--background-light) 100%);
  padding: 3rem 0;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--divider-light);
}

.back-link {
  display: inline-flex;
  align-items: center;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.back-link:hover {
  color: var(--primary-accent);
}

.blog-post h1 {
  font-family: var(--font-primary);
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-weight: 700;
}

.blog-meta {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.blog-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.category {
  background: var(--primary-accent);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 500;
}

.blog-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--edge-padding);
}

.blog-intro {
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--divider-light);
}

.blog-section {
  margin-bottom: 3rem;
}

.blog-section h2 {
  font-family: var(--font-primary);
  font-size: 2rem;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  margin-top: 3rem;
}

.blog-section h3 {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
  margin-top: 2rem;
}

.blog-section p {
  line-height: 1.8;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.blog-section ul,
.blog-section ol {
  margin-bottom: 1rem;
  padding-left: 2rem;
}

.blog-section li {
  margin-bottom: 0.75rem;
  line-height: 1.8;
}

/* Blog Feature Image */
.blog-feature-image {
  width: 100%;
  max-width: 800px;
  margin: 2rem auto 3rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.blog-feature-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Styled Lists */
.styled-list {
  list-style: none;
  padding-left: 0;
}

.styled-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
}

.styled-list li::before {
  content: "🐾";
  position: absolute;
  left: 0;
  top: 0;
}

/* Highlight Boxes */
.highlight-box {
  background: var(--soft-pink);
  border-left: 4px solid var(--primary-accent);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: var(--radius-md);
}

.highlight-box p {
  margin: 0;
  color: var(--text-dark);
}

/* Warning Boxes */
.warning-box {
  background: #FFF3CD;
  border-left: 4px solid #FFC107;
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: var(--radius-md);
}

.warning-box h3 {
  color: #856404;
  margin-top: 0;
  margin-bottom: 1rem;
}

.warning-box p,
.warning-box li {
  color: #856404;
}

/* Pro Tips */
.pro-tip {
  background: linear-gradient(135deg, #E3F2FD 0%, #E8F5E9 100%);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
}

.pro-tip::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-blue) 0%, var(--primary-accent) 100%);
}

.pro-tip h3 {
  color: var(--text-dark);
  margin-top: 0;
  margin-bottom: 1rem;
}

/* Checklist */
.checklist {
  background: white;
  border: 2px dashed var(--primary-accent);
  padding: 2rem;
  margin: 2rem 0;
  border-radius: var(--radius-md);
}

.checklist h3 {
  color: var(--primary-accent);
  margin-top: 0;
  margin-bottom: 1rem;
}

.checklist ul {
  list-style: none;
  padding-left: 0;
}

.checklist li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.75rem;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-accent);
  font-weight: bold;
}

/* Blog CTA */
.blog-cta {
  background: linear-gradient(135deg, var(--soft-pink) 0%, #FFF5F7 100%);
  padding: 3rem;
  margin: 3rem 0;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.blog-cta h2 {
  font-family: var(--font-primary);
  font-size: 2rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.blog-cta p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: var(--text-muted);
}

.blog-cta .btn {
  font-size: 1.1rem;
  padding: 1rem 2rem;
}

/* Blog Author */
.blog-author {
  text-align: center;
  padding: 2rem 0;
  margin-top: 3rem;
  border-top: 1px solid var(--divider-light);
}

.blog-author p {
  color: var(--text-muted);
  font-style: italic;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .blog-hero {
    padding: 2rem 0;
  }
  
  .blog-post h1 {
    font-size: 1.75rem;
  }
  
  .blog-section h2 {
    font-size: 1.5rem;
  }
  
  .blog-section h3 {
    font-size: 1.25rem;
  }
  
  .blog-intro {
    font-size: 1.1rem;
  }
  
  .blog-cta {
    padding: 2rem 1.5rem;
  }
  
  .highlight-box,
  .warning-box,
  .pro-tip,
  .checklist {
    padding: 1.25rem;
  }
}

/* Blog Grid on Homepage */
.blog-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.blog-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

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

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

.blog-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-content h3 {
  font-family: var(--font-primary);
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
  line-height: 1.3;
}

.blog-content p {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex: 1;
}

.read-more-link {
  color: var(--primary-accent);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.3s ease;
}

.blog-card:hover .read-more-link {
  gap: 0.75rem;
}