/* Public blog index and article extras. Article prose reuses landing-feature-page.css. */

.blog-page,
.blog-article-page {
  background: #fff;
  color: #1f1a2e;
}

.blog-page .cr-hero__title,
.blog-article-page .cr-hero__title {
  max-width: 16em;
}

.blog-index-empty {
  max-width: 36rem;
  margin: 0 auto;
  text-align: center;
  color: #5b5270;
  font-size: 1.05rem;
  line-height: 1.6;
}

.blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.35rem 1.35rem 1.2rem;
  color: inherit;
  text-decoration: none;
  background: #fff;
  border: 1px solid rgba(42, 33, 64, 0.08);
  border-radius: 1rem;
  box-shadow: 0 10px 28px rgba(42, 33, 64, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.blog-card:hover,
.blog-card:focus-visible {
  color: inherit;
  text-decoration: none;
  transform: translateY(-4px);
  border-color: rgba(103, 58, 183, 0.28);
  box-shadow: 0 16px 36px rgba(103, 58, 183, 0.12);
}

.blog-card:focus-visible {
  outline: 2px solid #673ab7;
  outline-offset: 3px;
}

.blog-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  border-radius: 0.85rem;
  color: #fff;
  background: linear-gradient(135deg, #673ab7 0%, #3e1e8c 100%);
  box-shadow: 0 10px 18px rgba(103, 58, 183, 0.28);
  font-size: 1.45rem;
}

.blog-card__icon .mdi::before {
  display: block;
  font-size: 1.45rem;
  line-height: 1;
  color: #fff;
}

.blog-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  color: #2a2140;
  margin-bottom: 0.65rem;
}

.blog-card__excerpt {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  margin-bottom: 1rem;
  color: #5b5270;
  font-size: 0.98rem;
  line-height: 1.55;
}

.blog-card__read {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;
  min-height: 44px;
  color: #673ab7;
  font-weight: 700;
  font-size: 0.95rem;
}

.blog-seealso {
  max-width: 42rem;
  margin: 2rem auto 0;
  padding: 1.25rem 1.35rem;
  border-radius: 1rem;
  background: #f7f4fc;
}

.blog-seealso h2 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #2a2140;
  margin-bottom: 0.75rem;
}

.blog-seealso ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.blog-seealso li + li {
  margin-top: 0.35rem;
}

.blog-seealso a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #673ab7;
  font-weight: 600;
  text-decoration: none;
}

.blog-seealso a:hover,
.blog-seealso a:focus-visible {
  text-decoration: underline;
}

.blog-article-page .feature-page-cta__actions .btn {
  min-height: 44px;
}

@media (max-width: 575.98px) {
  .blog-card {
    padding: 1.15rem 1.1rem 1rem;
  }

  .blog-article-page .feature-page-cta__actions .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .blog-card {
    transition: none;
  }

  .blog-card:hover,
  .blog-card:focus-visible {
    transform: none;
  }
}
