—
/*  Blog Styles  */

/* From blog/index.php */
/* ———— BLOG HERO —————————————————————————————————————————————————————————————————— */
.bl-hero {
  background: linear-gradient(135deg, #0c1829 0%, #0d2248 60%, #0a1a35 100%);
  padding: 90px 0 64px;
  position: relative;
  overflow: hidden;
}

.bl-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(22, 114, 230, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 114, 230, .07) 1px, transparent 1px);
  background-size: 48px 48px;
  animation: blMesh 30s linear infinite;
}

@keyframes blMesh {
  to {
    background-position: 48px 48px;
  }
}

.bl-hero-inner {
  position: relative;
  z-index: 2;
}

.bl-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(22, 114, 230, .15);
  border: 1px solid rgba(22, 114, 230, .3);
  border-radius: 100px;
  padding: 5px 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #60a5fa;
  margin-bottom: 18px;
}

.bl-hero-label span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  animation: blPulse 1.8s ease-in-out infinite;
}

@keyframes blPulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1)
  }

  50% {
    opacity: .5;
    transform: scale(1.4)
  }
}

.bl-hero h1 {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 800;
  color: #fff;
  margin: 0 0 14px;
  line-height: 1.15;
}

.bl-hero h1 span {
  background: linear-gradient(135deg, #1672E6, #0ea5e9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bl-hero-sub {
  font-size: 15px;
  color: rgba(255, 255, 255, .65);
  max-width: 560px;
  line-height: 1.7;
  margin: 0;
}

/* ———— CATEGORY FILTER —————————————————————————————————————————————————————— */
.bl-filters {
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 90;
}

.dark .bl-filters {
  background: #0f172a;
  border-color: #1e293b;
}

.bl-filter-inner {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.bl-filter-inner::-webkit-scrollbar {
  display: none;
}

.bl-cat-btn {
  flex-shrink: 0;
  padding: 7px 18px;
  border-radius: 100px;
  border: 1.5px solid #e2e8f0;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: all .2s;
}

.dark .bl-cat-btn {
  border-color: #1e293b;
  color: #64748b;
}

.bl-cat-btn:hover,
.bl-cat-btn.active {
  background: #1672E6;
  border-color: #1672E6;
  color: #fff;
}

/* ———— MAIN BODY —————————————————————————————————————————————————————————————————— */
.bl-body {
  padding: 60px 0 80px;
  background: #f8fafc;
}

.dark .bl-body {
  background: #070f1a;
}

.bl-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}

@media(max-width:900px) {
  .bl-layout {
    grid-template-columns: 1fr;
  }
}

/* ———— POST GRID —————————————————————————————————————————————————————————————————— */
.bl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

/* ———— CARD ———————————————————————————————————————————————————————————————————————————— */
.bl-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 1.5px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: border-color .2s, box-shadow .25s, transform .25s;
}

.dark .bl-card {
  background: #111827;
  border-color: #1e293b;
}

.bl-card:hover {
  border-color: #1672E6;
  box-shadow: 0 12px 40px rgba(22, 114, 230, .13);
  transform: translateY(-4px);
}

.bl-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

.bl-card-body {
  padding: 20px 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.bl-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.bl-card-cat {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
  color: #1672E6;
  background: rgba(22, 114, 230, .1);
  border: 1px solid rgba(22, 114, 230, .2);
}

.bl-card-read {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 500;
}

.bl-card-title {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
  margin: 0 0 8px;
}

.dark .bl-card-title {
  color: #f1f5f9;
}

.bl-card-excerpt {
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.65;
  flex: 1;
  margin: 0 0 18px;
}

.dark .bl-card-excerpt {
  color: #94a3b8;
}

.bl-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bl-card-author {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bl-card-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1672E6, #0ea5e9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.bl-card-author-name {
  font-size: 12px;
  font-weight: 600;
  color: #374151;
}

.dark .bl-card-author-name {
  color: #94a3b8;
}

.bl-card-date {
  font-size: 11.5px;
  color: #94a3b8;
}

.bl-card-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(22, 114, 230, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1672E6;
  flex-shrink: 0;
  transition: background .2s, transform .2s;
}

.bl-card:hover .bl-card-arrow {
  background: #1672E6;
  color: #fff;
  transform: translateX(3px);
}

/* ———— FEATURED TOP CARD (first post) ———————————————————————— */
.bl-card.featured {
  grid-column: 1 / -1;
  flex-direction: row;
}

@media(max-width:640px) {
  .bl-card.featured {
    flex-direction: column;
  }
}

.bl-card.featured .bl-card-img {
  width: 45%;
  aspect-ratio: auto;
  flex-shrink: 0;
}

@media(max-width:640px) {
  .bl-card.featured .bl-card-img {
    width: 100%;
    aspect-ratio: 16/9;
  }
}

.bl-card.featured .bl-card-title {
  font-size: 20px;
}

/* ———— NO RESULTS ———————————————————————————————————————————————————————————————— */
.bl-empty {
  text-align: center;
  padding: 64px 0;
  color: #64748b;
}

.bl-empty h3 {
  font-size: 18px;
  color: #0f172a;
  margin: 0 0 8px;
}

.dark .bl-empty h3 {
  color: #f1f5f9;
}

/* ———— PAGINATION ———————————————————————————————————————————————————————————————— */
.bl-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}

.bl-pg-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1.5px solid #e2e8f0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  text-decoration: none;
  transition: all .2s;
}

.dark .bl-pg-btn {
  background: #111827;
  border-color: #1e293b;
  color: #94a3b8;
}

.bl-pg-btn:hover,
.bl-pg-btn.current {
  background: #1672E6;
  border-color: #1672E6;
  color: #fff;
}

.bl-pg-btn.disabled {
  opacity: .4;
  pointer-events: none;
}

/* ———— SIDEBAR —————————————————————————————————————————————————————————————————————— */
.bl-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.bl-sidebar-card {
  background: #fff;
  border-radius: 18px;
  padding: 24px;
  border: 1.5px solid #e2e8f0;
}

.dark .bl-sidebar-card {
  background: #111827;
  border-color: #1e293b;
}

.bl-sidebar-title {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dark .bl-sidebar-title {
  color: #f1f5f9;
}

.bl-sidebar-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1672E6;
  flex-shrink: 0;
}

.bl-popular-item {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
  text-decoration: none;
  transition: opacity .2s;
}

.dark .bl-popular-item {
  border-color: #1e293b;
}

.bl-popular-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.bl-popular-item:hover {
  opacity: .75;
}

.bl-popular-img {
  width: 64px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.bl-popular-title {
  font-size: 12.5px;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.4;
}

.dark .bl-popular-title {
  color: #f1f5f9;
}

.bl-popular-meta {
  font-size: 11px;
  color: #94a3b8;
  margin-top: 4px;
}

.bl-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.bl-tag {
  padding: 4px 12px;
  border-radius: 100px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  text-decoration: none;
  transition: all .2s;
}

.dark .bl-tag {
  background: #1e293b;
  border-color: #334155;
  color: #64748b;
}

.bl-tag:hover {
  background: #1672E6;
  border-color: #1672E6;
  color: #fff;
}

.bl-cta-sidebar {
  background: linear-gradient(135deg, #0d2248, #0c1829);
  border-radius: 18px;
  padding: 24px;
  border: 1px solid rgba(22, 114, 230, .2);
}

.bl-cta-sidebar h3 {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 8px;
}

.bl-cta-sidebar p {
  font-size: 13px;
  color: rgba(255, 255, 255, .65);
  line-height: 1.6;
  margin: 0 0 16px;
}

.bl-cta-sidebar a {
  display: block;
  text-align: center;
  padding: 11px 18px;
  border-radius: 10px;
  background: linear-gradient(135deg, #1672E6, #1E90FF);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(22, 114, 230, .4);
  transition: transform .2s, box-shadow .2s;
}

.bl-cta-sidebar a:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(22, 114, 230, .5);
}

/* From blog/_post_layout.php */
/* ———— POST HERO —————————————————————————————————————————————————————————————————— */
.post-hero {
  background: linear-gradient(135deg, #0c1829 0%, #0d2248 55%, #0a1a35 100%);
  padding: 80px 0 56px;
  position: relative;
  overflow: hidden;
}

.post-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(22, 114, 230, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 114, 230, .06) 1px, transparent 1px);
  background-size: 48px 48px;
  animation: phMesh 30s linear infinite;
}

@keyframes phMesh {
  to {
    background-position: 48px 48px;
  }
}

.post-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.post-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, .5);
  margin-bottom: 18px;
}

.post-breadcrumb a {
  color: rgba(255, 255, 255, .6);
  text-decoration: none;
}

.post-breadcrumb a:hover {
  color: #60a5fa;
}

.post-breadcrumb span {
  opacity: .4;
}

.post-cat-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 100px;
  background: rgba(22, 114, 230, .18);
  border: 1px solid rgba(22, 114, 230, .35);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #60a5fa;
  margin-bottom: 14px;
}

.post-hero h1 {
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 800;
  color: #fff;
  margin: 0 0 18px;
  line-height: 1.2;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.post-meta-author {
  display: flex;
  align-items: center;
  gap: 9px;
}

.post-meta-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1672E6, #0ea5e9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  flex-shrink: 0;
}

.post-meta-name {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

.post-meta-role {
  font-size: 11px;
  color: rgba(255, 255, 255, .55);
}

.post-meta-divider {
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, .15);
}

.post-meta-info {
  font-size: 12px;
  color: rgba(255, 255, 255, .55);
}

.post-meta-info strong {
  color: rgba(255, 255, 255, .8);
  font-weight: 600;
}

/* ———— HERO IMAGE ———————————————————————————————————————————————————————————————— */
.post-hero-img-wrap {
  max-width: 900px;
  margin: 40px auto 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .4);
}

.post-hero-img {
  width: 100%;
  display: block;
  aspect-ratio: 16/7;
  object-fit: cover;
}

/* ———— PAGE LAYOUT —————————————————————————————————————————————————————————————— */
.post-body {
  padding: 60px 0 80px;
  background: #f8fafc;
}

.dark .post-body {
  background: #070f1a;
}

.post-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 52px;
  align-items: start;
}

@media(max-width:900px) {
  .post-layout {
    grid-template-columns: 1fr;
  }
}

/* ———— ARTICLE CONTENT —————————————————————————————————————————————————————— */
.post-article {
  background: #fff;
  border-radius: 20px;
  padding: 44px 48px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, .06);
  border: 1px solid #e2e8f0;
}

.dark .post-article {
  background: #111827;
  border-color: #1e293b;
}

@media(max-width:640px) {
  .post-article {
    padding: 28px 22px;
  }
}

.post-article h2 {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  margin: 36px 0 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f1f5f9;
}

.dark .post-article h2 {
  color: #f1f5f9;
  border-color: #1e293b;
}

.post-article h3 {
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  margin: 24px 0 10px;
}

.dark .post-article h3 {
  color: #e2e8f0;
}

.post-article p {
  font-size: 15px;
  color: #374151;
  line-height: 1.8;
  margin: 0 0 16px;
}

.dark .post-article p {
  color: #94a3b8;
}

.post-article strong {
  color: #0f172a;
  font-weight: 700;
}

.dark .post-article strong {
  color: #e2e8f0;
}

.post-article a {
  color: #1672E6;
  font-weight: 600;
}

.post-article ul,
.post-article ol {
  padding-left: 22px;
  margin: 0 0 18px;
}

.post-article li {
  font-size: 15px;
  color: #374151;
  line-height: 1.8;
  margin-bottom: 6px;
}

.dark .post-article li {
  color: #94a3b8;
}

/* Callout blocks */
.post-callout {
  border-left: 4px solid #1672E6;
  background: rgba(22, 114, 230, .06);
  border-radius: 0 12px 12px 0;
  padding: 16px 20px;
  margin: 24px 0;
}

.dark .post-callout {
  background: rgba(22, 114, 230, .1);
}

.post-callout p {
  margin: 0;
  color: #1e40af;
  font-size: 14.5px;
}

.dark .post-callout p {
  color: #60a5fa;
}

/* Inline image */
.post-inline-img {
  width: 100%;
  border-radius: 14px;
  margin: 28px 0;
  display: block;
  border: 1px solid #e2e8f0;
}

.dark .post-inline-img {
  border-color: #1e293b;
}

.post-img-caption {
  text-align: center;
  font-size: 12px;
  color: #94a3b8;
  margin: -20px 0 28px;
  font-style: italic;
}

/* Checklist */
.post-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.post-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: #374151;
}

.dark .post-checklist li {
  color: #94a3b8;
}

.post-check-icon {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #10b981, #059669);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

/* Comparison table */
.post-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 28px;
  border-radius: 12px;
  overflow: hidden;
  font-size: 14px;
}

.post-table th {
  background: linear-gradient(135deg, #1672E6, #0ea5e9);
  color: #fff;
  font-weight: 700;
  padding: 12px 16px;
  text-align: left;
}

.post-table td {
  padding: 11px 16px;
  border-bottom: 1px solid #f1f5f9;
  color: #374151;
}

.dark .post-table td {
  border-color: #1e293b;
  color: #94a3b8;
  background: #111827;
}

.post-table tr:last-child td {
  border-bottom: none;
}

.post-table tr:nth-child(even) td {
  background: #f8fafc;
}

.dark .post-table tr:nth-child(even) td {
  background: rgba(255, 255, 255, .03);
}

/* Mid-article CTA */
.post-cta-block {
  background: linear-gradient(135deg, #0c1829, #0d2248);
  border: 1px solid rgba(22, 114, 230, .25);
  border-radius: 16px;
  padding: 28px 30px;
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 32px 0;
  flex-wrap: wrap;
}

.post-cta-block-text {
  flex: 1;
  min-width: 200px;
}

.post-cta-block-text h3 {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 6px;
}

.post-cta-block-text p {
  font-size: 13px;
  color: rgba(255, 255, 255, .65);
  margin: 0;
  line-height: 1.6;
}

.post-cta-block-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 22px;
  border-radius: 10px;
  background: linear-gradient(135deg, #1672E6, #1E90FF);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(22, 114, 230, .4);
  transition: transform .2s, box-shadow .2s;
  flex-shrink: 0;
}

.post-cta-block-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(22, 114, 230, .5);
}

/* Tags row */
.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 28px 0 0;
  padding-top: 24px;
  border-top: 1px solid #e2e8f0;
}

.dark .post-tags {
  border-color: #1e293b;
}

.post-tag {
  padding: 4px 13px;
  border-radius: 100px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
}

.dark .post-tag {
  background: #1e293b;
  border-color: #334155;
  color: #94a3b8;
}

/* Author card at bottom */
.post-author-card {
  background: #fff;
  border-radius: 18px;
  padding: 28px;
  border: 1.5px solid #e2e8f0;
  margin-top: 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.dark .post-author-card {
  background: #111827;
  border-color: #1e293b;
}

.post-author-avatar-lg {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(135deg, #1672E6, #0ea5e9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
}

.post-author-name {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 2px;
}

.dark .post-author-name {
  color: #f1f5f9;
}

.post-author-role-lbl {
  font-size: 12px;
  font-weight: 600;
  color: #1672E6;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 8px;
}

.post-author-bio {
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.65;
  margin: 0;
}

.dark .post-author-bio {
  color: #94a3b8;
}

/* ———— SIDEBAR —————————————————————————————————————————————————————————————————————— */
.post-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.post-toc {
  background: #fff;
  border-radius: 18px;
  padding: 22px 24px;
  border: 1.5px solid #e2e8f0;
  position: sticky;
  top: 76px;
}

.dark .post-toc {
  background: #111827;
  border-color: #1e293b;
}

.post-toc-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #94a3b8;
  margin: 0 0 14px;
}

.post-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.post-toc-link {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background .15s, color .15s;
  border-left: 2px solid transparent;
}

.dark .post-toc-link {
  color: #64748b;
}

.post-toc-link:hover {
  background: rgba(22, 114, 230, .07);
  color: #1672E6;
  border-color: #1672E6;
}

.post-toc-link.active {
  background: rgba(22, 114, 230, .08);
  color: #1672E6;
  border-color: #1672E6;
}

/* ———— RELATED POSTS —————————————————————————————————————————————————————————— */
.post-related {
  padding: 60px 0;
  background: #fff;
}

.dark .post-related {
  background: #0f172a;
}

.post-related-title {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 32px;
}

.dark .post-related-title {
  color: #f1f5f9;
}

.post-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

/* ———— BL-CARD (shared blog card — also used in Related Articles) ———— */
.bl-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 1.5px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: border-color .2s, box-shadow .25s, transform .25s;
}

.bl-card:hover {
  border-color: #1672E6;
  box-shadow: 0 12px 40px rgba(22, 114, 230, .13);
  transform: translateY(-4px);
}

.bl-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}

.bl-card-body {
  padding: 18px 20px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.bl-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.bl-card-cat {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
  color: #1672E6;
  background: rgba(22, 114, 230, .1);
  border: 1px solid rgba(22, 114, 230, .2);
}

.bl-card-read {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 500;
}

.bl-card-title {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
  margin: 0 0 12px;
  flex: 1;
}

.bl-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.bl-card-author {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bl-card-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(135deg, #1672E6, #0ea5e9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
}

.bl-card-author-name {
  font-size: 12px;
  font-weight: 600;
  color: #374151;
}

.bl-card-date {
  font-size: 11px;
  color: #94a3b8;
}