.t-blog { background: #f7f8fb; color: #111; }

.o-blog,
.blog-section-padding {
  position: relative;
  padding: 48px 0 80px;
  overflow: hidden;
}
.o-blog--post { padding-top: 36px; }

.blog-bg-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.35;
}
.blog-bg-glow--top { top: -120px; right: -80px; background: #93c5fd; }
.blog-bg-glow--bottom { bottom: -140px; left: -100px; background: #f9a8d4; }

.o-blog__hero,
.blog-hero { text-align: center; margin: 0 auto 48px; max-width: 46rem; }
.o-blog__badge,
.blog-hero-badge {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7b8194;
}
.o-blog__title,
.blog-hero-title {
  margin: 0 auto;
  max-width: 18ch;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 400;
  line-height: 1.15;
  color: #111;
}
.o-blog__title em,
.blog-hero-accent { font-style: normal; color: #FB2B7D; }
.o-blog__lead,
.blog-hero-subtitle {
  margin: 1rem auto 0;
  max-width: 46ch;
  color: #4a4a55;
  font-size: 17px;
  line-height: 1.6;
}

.blog-layout {
  display: grid;
  gap: 36px;
  align-items: start;
}
.blog-masonry {
  display: grid;
  gap: 24px;
}
.blog-masonry-item { min-width: 0; }

.blog-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid #e8eaf2;
  border-radius: 22px;
  box-shadow: 0 14px 40px rgb(16 24 64 / 6%);
  height: 100%;
}
.blog-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.blog-card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #e8eefc;
}
.blog-card-media img,
.post-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-card-media-fallback { width: 100%; height: 100%; background: linear-gradient(135deg, #2563eb, #93c5fd); }
.blog-card-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgb(0 0 0 / 28%));
}
.blog-card-category {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff;
  color: #2563eb;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.blog-card-body { display: grid; gap: 12px; padding: 22px 22px 26px; }
.blog-card-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: #7b8194;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.blog-card-title {
  margin: 0;
  color: #111;
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  line-height: 1.25;
}
.blog-card-excerpt { margin: 0; color: #5c5c68; font-size: 15px; line-height: 1.55; }
.blog-card-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.blog-card-tag,
.o-bc__tags em {
  padding: 5px 10px;
  border: 1px solid #e8eaf2;
  border-radius: 999px;
  background: #f7f8fb;
  color: #5c5c68;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-style: normal;
}
.blog-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #2563eb;
  font-size: 13px;
  font-weight: 700;
}

.blog-sidebar { display: grid; gap: 20px; }
.blog-sidebar-panel,
.o-bs__box {
  padding: 24px;
  background: #fff;
  border: 1px solid #e8eaf2;
  border-radius: 22px;
}
.blog-sidebar-heading,
.o-bs__box h3 {
  margin: 0 0 16px;
  color: #111;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.blog-sidebar-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.blog-sidebar-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid #e8eaf2;
  background: #f7f8fb;
  color: #5c5c68;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}
.blog-sidebar-pill.is-active {
  border-color: #2563eb;
  background: #eff6ff;
  color: #2563eb;
}
.blog-sidebar-recent { display: grid; gap: 16px; }
.blog-sidebar-recent-item { color: inherit; text-decoration: none; }
.blog-sidebar-recent-title { color: #111; font-weight: 700; line-height: 1.35; }
.blog-sidebar-recent-date { margin-top: 4px; color: #7b8194; font-size: 12px; }

.blog-filter-label { margin: 0 0 18px; color: #5c5c68; font-size: 14px; }
.blog-filter-label span { color: #111; font-weight: 700; }
.blog-empty-state,
.o-blog__empty,
.blog-loading { text-align: center; margin: 2rem 0; color: #5c5c68; }
.blog-load-more { display: flex; justify-content: center; margin-top: 28px; }
.btn-load-more {
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.6rem;
  background: #111;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.blog-card-skeleton {
  overflow: hidden;
  background: #fff;
  border: 1px solid #e8eaf2;
  border-radius: 22px;
}
.skeleton-image { aspect-ratio: 16 / 9; background: #e8eaf2; }
.skeleton-content { display: grid; gap: 10px; padding: 22px; }
.skeleton-meta,
.skeleton-title,
.skeleton-text { height: 12px; border-radius: 999px; background: #eef0f6; }
.skeleton-title { height: 22px; width: 80%; }
.skeleton-text--short { width: 55%; }

.post-image {
  margin: 0 0 28px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  background: #e8eefc;
}
.post-header { margin-bottom: 24px; }
.post-date {
  display: block;
  margin: 10px 0 8px;
  color: #7b8194;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.post-title {
  margin: 0 0 12px;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 400;
  line-height: 1.15;
}
.post-author { margin: 16px 0 0; color: #5c5c68; font-size: 14px; }

.o-ba__back {
  display: inline-flex;
  margin-bottom: 24px;
  color: #2563eb;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.o-ba__back::before { content: "← "; }
.o-ba__row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.o-ba__pill {
  padding: 6px 12px;
  border-radius: 999px;
  background: #eff6ff;
  color: #2563eb;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
}
.o-ba__read { color: #7b8194; font-size: 12px; font-weight: 700; }
.o-ba__deck { margin: 0 0 8px; color: #4a4a55; font-size: 20px; line-height: 1.55; }
.o-ba__body { color: #2a2a32; font-size: 18px; line-height: 1.7; }
.o-ba__body > *:first-child { margin-top: 0; }
.o-ba__body p { margin: 0 0 1em; }
.o-ba__body h2 { margin: 1.6em 0 0.6em; font-weight: 700; }
.o-ba__body a { color: #2563eb; }
.o-ba__cta {
  margin-top: 56px;
  padding: 40px 24px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid #e8eaf2;
  text-align: center;
}
.o-ba__cta h3 { margin: 0 0 10px; font-size: clamp(24px, 4vw, 32px); font-weight: 400; }
.o-ba__cta p { margin: 0 0 20px; color: #4a4a55; }

@media (min-width: 960px) {
  .o-blog,
  .blog-section-padding { padding: 64px 0 96px; }
  .blog-layout { grid-template-columns: minmax(0, 1fr) 300px; }
  .blog-masonry { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blog-sidebar { position: sticky; top: 120px; }
}
