/* Blog list - measured from www.transformify.ai/blog at 1440px */

/* Hero (original: 445px band behind a transparent header; here 375px below the 70px header) */
.bl-hero {
  height: 375px; display: flex; align-items: center;
  background:
    url('/images/shared/dots.png') center / cover,
    radial-gradient(circle at 29.394% 55.0758%, rgba(255,197,89,.9) 0%, 14.5%, rgba(255,197,89,0) 29%),
    radial-gradient(circle at 71.5152% 55.0758%, rgba(110,216,255,.9) 0%, 15.75%, rgba(110,216,255,0) 35%),
    radial-gradient(circle at 94.3538% 89.6159%, rgba(139,75,191,.9) 0%, 24%, rgba(139,75,191,0) 48%),
    radial-gradient(circle at 6.50391% 88.0371%, rgba(255,77,103,.89) 0%, 25%, rgba(255,77,103,0) 50%),
    radial-gradient(circle at 6.16536% 12.6172%, rgba(232,81,232,.9) 0%, 42%, rgba(232,81,232,0) 70%),
    radial-gradient(circle at 93.6865% 11.4258%, rgba(2,168,181,.9) 0%, 42%, rgba(2,168,181,0) 70%),
    radial-gradient(circle at 48.9014% 49.5215%, rgba(255,255,255,.9) 0%, 100%, rgba(255,255,255,0) 100%);
}
.bl-hero__inner { display: flex; align-items: center; gap: 38px; width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px 0 37px; }
.bl-hero__badge { flex: none; width: 174px; height: 174px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.bl-hero__badge img { width: 116px; height: 116px; transform: rotate(-15deg); }
.bl-hero__kicker { font-size: 17px; font-weight: 700; line-height: 20px; }
.bl-hero__title { margin-top: 25px; font-size: clamp(32px, 3.75vw, 54px); line-height: 65px; }

/* Post cards */
.bl-list { min-height: 891px; padding: 20px 20px 60px; background: rgba(149,161,181,.07); }
.bl-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 256px)); justify-content: center; gap: 30px; max-width: 1114px; margin: 0 auto; }
.bl-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid #e3e3e3; transition: box-shadow .2s ease; }
.bl-card:hover { box-shadow: 0 4px 14px rgba(0,0,0,.08); }
.bl-card__img { width: 100%; aspect-ratio: 256 / 191; object-fit: cover; }
.bl-card__body { padding: 29px 24px 25px; }
.bl-meta { display: flex; align-items: center; gap: 10px; }
.bl-meta img { width: 32px; height: 32px; }
.bl-meta p { font-size: 12px; line-height: 17px; }
.bl-meta p > span { display: block; }
.bl-card__title { margin-top: 14px; font-size: 24px; line-height: 33.6px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.bl-card__title a { text-decoration: none; }
.bl-card__title a::after { content: ''; position: absolute; inset: 0; }
.bl-card:hover .bl-card__title a { color: var(--pink); }
.bl-card__excerpt { margin-top: 12px; font-size: 17px; line-height: 24px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

@media (max-width: 1100px) {
  .bl-grid { grid-template-columns: repeat(2, minmax(0, 340px)); }
  .bl-list { min-height: 0; padding-bottom: 80px; }
}
@media (max-width: 860px) {
  .bl-hero { height: auto; padding: 48px 0; }
  .bl-hero__inner { padding-inline: 20px; gap: 24px; }
  .bl-hero__badge { width: 110px; height: 110px; }
  .bl-hero__badge img { width: 72px; height: 72px; }
  .bl-hero__title { line-height: 1.2; }
}
@media (max-width: 600px) {
  .bl-hero__inner { flex-direction: column; align-items: flex-start; }
  .bl-grid { grid-template-columns: minmax(0, 420px); }
}
