/* Blog article template — readable long-form content */

.page-hero--blog {
  padding-block: clamp(1.75rem, 4vw, 2.75rem) clamp(1.25rem, 3vw, 2rem);
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(244, 146, 198, 0.28), transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 20%, rgba(153, 165, 176, 0.22), transparent 50%),
    var(--header-grad);
}

.page-hero--blog h1 {
  max-width: 20ch;
  margin-bottom: 0.5rem;
}

.page-hero--blog .blog-date {
  margin: 0;
  color: rgba(65, 43, 71, 0.72);
  font-size: var(--text-sm);
  font-weight: 600;
}

.blog-article {
  padding: 0 0 clamp(3rem, 6vw, 4.5rem);
}

.blog-article-inner {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 1.5rem);
}

.blog-content {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
}

.blog-intro {
  max-width: 42rem;
  margin: 0 auto clamp(1.5rem, 3vw, 2rem);
  line-height: 1.75;
}

.blog-intro p {
  margin-bottom: 0.85rem;
}

.blog-section {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: center;
}

@media (min-width: 768px) {
  .blog-section {
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.5rem, 4vw, 3rem);
  }

  .blog-section.reverse .blog-image,
  .blog-section.reverse .symptoms-blog-image {
    order: 2;
  }

  .blog-section.reverse .blog-text {
    order: 1;
  }
}

.blog-image img,
.symptoms-blog-image img,
.main-blog-img {
  width: 100%;
  height: auto;
  max-height: min(420px, 50vh);
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.symptoms-blog-image img {
  object-fit: contain;
  max-height: 480px;
}

.blog-text h2 {
  font-size: var(--text-2xl);
  color: var(--pink-deep);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.blog-text h3 {
  font-size: var(--text-lg);
  color: var(--mauve);
  margin: 1rem 0 0.5rem;
}

.blog-text p,
.blog-text li {
  font-size: var(--text-base);
  line-height: 1.75;
  color: var(--text);
}

.blog-text ul,
.blog-text ol {
  padding-left: 1.25rem;
  margin: 0.75rem 0;
}

.blog-text li + li {
  margin-top: 0.35rem;
}

.symptoms-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

@media (min-width: 540px) {
  .symptoms-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.symptom-box {
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(214, 51, 132, 0.1);
  box-shadow: var(--shadow-soft);
}

.symptom-box h3 {
  margin-top: 0;
  font-size: var(--text-base);
}

.symptom-box ul {
  margin: 0;
  padding-left: 1.1rem;
}

.blog-article-cta {
  margin-top: 2rem;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(153, 165, 176, 0.2), rgba(249, 201, 224, 0.45));
  text-align: center;
}

.blog-article-cta p {
  margin-bottom: 1rem;
}

@media (max-width: 767px) {
  .blog-image img {
    max-height: 240px;
  }
}
