/* Blog list + article — matched to the Omnicure brand:
   accent #9b51e0, deep-indigo headings #1c1548, body #172b4d, airy Poppins. */

.blog-hero-bg {
  background: linear-gradient(180deg, #f7f3fd 0%, #fbf9fe 45%, #ffffff 100%);
  border-bottom: 1px solid #f0ecf8;
}
.blog-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 24px 100px;
  font-family: Poppins, "SF Pro Text", Arial, sans-serif;
  color: #172b4d;
}
.blog-hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 84px 24px 60px;
}
.blog-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.blog-wrap--list {
  padding-top: 60px;
}
.blog-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 15px;
  font-weight: 500;
  color: #9b51e0;
  margin: 0 0 14px;
}
.blog-title-lg {
  font-size: 46px;
  line-height: 1.16;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
  color: #1c1548;
}
.blog-sub {
  font-size: 19px;
  line-height: 1.6;
  color: #677b9d;
  max-width: 600px;
  margin: 0 auto;
}

/* List grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}
.blog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #ecedf3;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 44px rgba(155, 81, 224, 0.16);
  border-color: #e4d6f7;
}
.blog-card-img {
  aspect-ratio: 16 / 9;
  width: 100%;
  object-fit: cover;
  background: #f4f0fb;
  display: block;
}
.blog-card-body {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-card-meta {
  font-size: 13px;
  color: #96a3b5;
  margin-bottom: 10px;
  letter-spacing: 0.01em;
}
.blog-card-title {
  font-size: 21px;
  line-height: 1.32;
  font-weight: 500;
  color: #1c1548;
  margin: 0 0 12px;
}
.blog-card-excerpt {
  font-size: 15px;
  line-height: 1.62;
  color: #677b9d;
  margin: 0 0 18px;
  flex: 1;
}
.blog-card-more {
  font-size: 14px;
  font-weight: 500;
  color: #9b51e0;
}

/* Article */
.article {
  max-width: 760px;
  margin: 0 auto;
}
.article-back {
  display: inline-block;
  font-size: 14px;
  color: #9b51e0;
  text-decoration: none;
  margin-bottom: 30px;
  font-weight: 500;
}
.article-back:hover {
  text-decoration: underline;
}
.article-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 13px;
  font-weight: 500;
  color: #9b51e0;
  margin: 0 0 16px;
}
.article-title {
  font-size: 42px;
  line-height: 1.18;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: #1c1548;
  margin: 0 0 20px;
}
.article-meta {
  font-size: 15px;
  color: #96a3b5;
  margin-bottom: 36px;
}
.article-meta strong {
  color: #172b4d;
  font-weight: 500;
}
.article-hero {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 44px;
  display: block;
  box-shadow: 0 14px 40px rgba(28, 21, 72, 0.08);
}
.article-body {
  font-size: 18px;
  line-height: 1.78;
  color: #2c3a52;
  /* Long references/footnotes can carry unbreakable URLs — wrap them so they
     never force horizontal scroll on narrow screens. */
  overflow-wrap: break-word;
  word-break: break-word;
}
.article-body a {
  overflow-wrap: anywhere;
}
.article-body p {
  margin: 0 0 24px;
}
.article-body h1,
.article-body h2,
.article-body h3 {
  color: #1c1548;
  font-weight: 500;
  line-height: 1.3;
  margin: 42px 0 16px;
}
.article-body h1 {
  font-size: 30px;
}
.article-body h2 {
  font-size: 25px;
}
.article-body h3 {
  font-size: 21px;
}
.article-body ul,
.article-body ol {
  margin: 0 0 24px;
  padding-left: 24px;
}
.article-body li {
  margin-bottom: 10px;
}
.article-body a {
  color: #9b51e0;
  text-decoration: underline;
}
.article-body strong {
  color: #1c1548;
  font-weight: 600;
}
.article-body img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.article-cta {
  margin-top: 60px;
  padding: 40px 32px;
  background: linear-gradient(180deg, #f7f3fd 0%, #f3ecfc 100%);
  border-radius: 16px;
  text-align: center;
}
.article-cta h3 {
  margin: 0 0 8px;
  font-size: 24px;
  color: #1c1548;
  font-weight: 500;
}
.article-cta p {
  margin: 0 0 22px;
  color: #677b9d;
  font-size: 16px;
}
.article-cta a {
  display: inline-block;
  background: #9b51e0;
  color: #fff;
  text-decoration: none;
  padding: 13px 32px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 17px;
  box-shadow: 0 8px 22px rgba(155, 81, 224, 0.32);
  transition:
    background 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
}
.article-cta a:hover {
  background: #8a3fd6;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(155, 81, 224, 0.42);
}

@media (max-width: 991px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .blog-title-lg {
    font-size: 38px;
  }
}
@media (max-width: 640px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .blog-wrap {
    padding: 44px 18px 76px;
  }
  .blog-title-lg {
    font-size: 32px;
  }
  .article-title {
    font-size: 31px;
  }
  .article-body {
    font-size: 17px;
  }
}
