/* =============================================================================
   YURBI BLOG STYLES
   Shared across blog.njk, post.njk, category.njk, search.njk
   Uses Yurbi global.css tokens exclusively — no hardcoded values.
   ============================================================================= */


/* =============================================================================
   BLOG HEADER
   ============================================================================= */
.blog-header {
  padding: calc(var(--header-h) + 60px) var(--s-6) var(--s-10);
  background: linear-gradient(180deg, var(--bg-blue) 0%, var(--bg) 100%);
  text-align: center;
}

.blog-header-inner {
  max-width: 700px;
  margin-inline: auto;
}

.blog-header h1 {
  font-size: var(--t-hero);
  font-weight: var(--w-xbold);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  color: var(--text);
  margin-bottom: var(--s-4);
}

.blog-header > .blog-header-inner > p {
  font-size: var(--t-lead);
  color: var(--text-sec);
  margin-bottom: var(--s-8);
}

@media (max-width: 768px) {
  .blog-header { padding-top: calc(var(--header-h) + 40px); }
  .blog-header h1 { font-size: var(--t-4xl); }
}


/* =============================================================================
   EMAIL SUBSCRIBE
   ============================================================================= */
.blog-subscribe {
  max-width: 500px;
  margin-inline: auto;
}

.blog-subscribe-label {
  font-size: var(--t-sm);
  font-weight: var(--w-bold);
  color: var(--text);
  margin-bottom: var(--s-3);
}

.subscribe-form {
  display: flex;
  gap: var(--s-2);
  position: relative;
}

.subscribe-input {
  flex: 1;
  font-family: var(--font);
  font-size: var(--t-base);
  font-weight: var(--w-medium);
  color: var(--text);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  padding: 10px var(--s-4);
  min-height: 44px;
  transition: border-color .15s, box-shadow .15s;
  -webkit-appearance: none;
  appearance: none;
}

.subscribe-input::placeholder { color: var(--text-muted); font-weight: var(--w-regular); }
.subscribe-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,95,172,.12);
  outline: none;
}

.subscribe-status {
  margin-top: var(--s-2);
  font-size: var(--t-sm);
  font-weight: var(--w-semibold);
  text-align: center;
}
.subscribe-status:empty { display: none; }
.subscribe-status-success { color: var(--green); }
.subscribe-status-error   { color: var(--error); }

@media (max-width: 480px) {
  .subscribe-form { flex-direction: column; }
}


/* =============================================================================
   CATEGORY FILTER BAR
   ============================================================================= */
.blog-filters {
  padding: var(--s-5) var(--s-6);
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-sub);
}

.blog-filters-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: var(--s-3);
  flex-wrap: wrap;
  justify-content: center;
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  font-family: var(--font);
  font-size: var(--t-sm);
  font-weight: var(--w-semibold);
  color: var(--text-sec);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--r-full);
  text-decoration: none;
  transition: border-color .15s, color .15s, background .15s;
  cursor: pointer;
  min-height: 36px;
  white-space: nowrap;
}
.filter-pill:hover    { border-color: var(--blue); color: var(--blue); }
.filter-pill.active   { background: var(--blue); color: #fff; border-color: var(--blue); }
.filter-pill:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.filter-search-link {
  display: inline-flex;
  align-items: center;
  gap: var(--s-1);
  padding: 8px 18px;
  font-size: var(--t-sm);
  font-weight: var(--w-semibold);
  color: var(--blue);
  border: 1.5px solid var(--blue-soft2);
  border-radius: var(--r-full);
  text-decoration: none;
  transition: background .15s;
  min-height: 36px;
  background: var(--blue-soft);
}
.filter-search-link svg { width: 14px; height: 14px; flex-shrink: 0; }
.filter-search-link:hover { background: var(--blue-soft2); }

@media (max-width: 768px) {
  .blog-filters-inner {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: var(--s-2);
    -webkit-overflow-scrolling: touch;
  }
  .filter-pill { flex-shrink: 0; }
}


/* =============================================================================
   FEATURED POST
   ============================================================================= */
.featured-post { padding: var(--s-12) var(--s-6); }

.featured-post-inner {
  max-width: var(--max-w);
  margin-inline: auto;
}

.featured-post-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  align-items: stretch;
  background: var(--bg);
  border: 1px solid var(--border-sub);
  border-radius: var(--r-xl);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color .18s, box-shadow .18s;
}
.featured-post-card:hover {
  border-color: var(--blue);
  box-shadow: var(--sh-lg);
}
.featured-post-card:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.featured-post-image {
  aspect-ratio: 16/10;
  background: var(--bg-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  overflow: hidden;
}
.featured-post-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.featured-post-image svg { width: 64px; height: 64px; opacity: .25; }

.featured-post-content {
  padding: var(--s-10);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-post-badge {
  display: inline-block;
  font-size: var(--t-label);
  font-weight: var(--w-bold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  color: var(--blue);
  background: var(--blue-soft);
  padding: 5px 12px;
  border-radius: var(--r-full);
  margin-bottom: var(--s-4);
  border: 1px solid var(--blue-soft2);
}

.featured-post-content h2 {
  font-size: var(--t-2xl);
  font-weight: var(--w-xbold);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-snug);
  color: var(--text);
  margin-bottom: var(--s-3);
}

.featured-post-content p {
  font-size: var(--t-base);
  color: var(--text-sec);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--s-5);
}

.featured-post-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  font-size: var(--t-sm);
  color: var(--text-muted);
}
.featured-post-meta span { display: flex; align-items: center; gap: var(--s-1); }
.featured-post-meta svg  { width: 14px; height: 14px; flex-shrink: 0; }
.featured-post-read { color: var(--blue); font-weight: var(--w-semibold); }

@media (max-width: 1024px) {
  .featured-post-card { grid-template-columns: 1fr; }
  .featured-post-content { padding: var(--s-8); }
}


/* =============================================================================
   POST GRID
   ============================================================================= */
.blog-grid-section {
  padding: 0 var(--s-6) var(--s-20);
}

.blog-grid-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-top: var(--s-12);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-6);
  margin-bottom: var(--s-12);
}

.post-card {
  background: var(--bg);
  border: 1px solid var(--border-sub);
  border-radius: var(--r-xl);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.post-card:hover {
  border-color: var(--blue);
  box-shadow: var(--sh-md);
  transform: translateY(-2px);
}
.post-card:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) { .post-card:hover { transform: none; } }

.post-card-image {
  aspect-ratio: 16/9;
  background: var(--bg-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  overflow: hidden;
}
.post-card-image img  { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card-image svg  { width: 40px; height: 40px; opacity: .25; }

.post-card-content {
  padding: var(--s-6);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.post-card-category {
  display: block;
  font-size: var(--t-label);
  font-weight: var(--w-bold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  color: var(--blue);
  margin-bottom: var(--s-2);
}

.post-card-content h3 {
  font-size: var(--t-card);
  font-weight: var(--w-bold);
  line-height: var(--lh-snug);
  color: var(--text);
  margin-bottom: var(--s-2);
}

.post-card-content p {
  font-size: var(--t-base);
  color: var(--text-sec);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--s-4);
  flex-grow: 1;
}

.post-card-meta {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  font-size: var(--t-caption);
  color: var(--text-muted);
  font-weight: var(--w-semibold);
}
.post-card-meta svg { width: 13px; height: 13px; flex-shrink: 0; }

@media (max-width: 1024px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .blog-grid { grid-template-columns: 1fr; } }


/* =============================================================================
   MID-PAGE CTA
   ============================================================================= */
.blog-cta {
  max-width: 720px;
  margin: 0 auto var(--s-12);
  padding: var(--s-8) var(--s-10);
  background: var(--bg-blue);
  border: 1px solid var(--blue-soft2);
  border-radius: var(--r-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-8);
}

.blog-cta-content h3 {
  font-size: var(--t-xl);
  font-weight: var(--w-xbold);
  color: var(--text);
  margin-bottom: var(--s-1);
}

.blog-cta-content p {
  font-size: var(--t-base);
  color: var(--text-sec);
  margin: 0;
}

@media (max-width: 768px) {
  .blog-cta { flex-direction: column; text-align: center; gap: var(--s-5); padding: var(--s-6); }
}


/* =============================================================================
   PAGINATION
   ============================================================================= */
.blog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-6);
  margin-top: var(--s-8);
  padding-top: var(--s-8);
  border-top: 1px solid var(--border-sub);
}

.pagination-link {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-size: var(--t-sm);
  font-weight: var(--w-semibold);
  color: var(--blue);
  text-decoration: none;
  padding: 8px var(--s-4);
  border: 1.5px solid var(--blue-soft2);
  border-radius: var(--r-md);
  background: var(--blue-soft);
  transition: background .15s, border-color .15s;
  min-height: 44px;
}
.pagination-link:hover { background: var(--blue-soft2); }
.pagination-link svg   { width: 16px; height: 16px; }

.pagination-current {
  font-size: var(--t-sm);
  color: var(--text-muted);
  font-weight: var(--w-semibold);
}


/* =============================================================================
   SEARCH PAGE
   ============================================================================= */
.search-bar {
  max-width: 520px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: var(--s-3);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 10px var(--s-4);
  transition: border-color .15s, box-shadow .15s;
}
.search-bar:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,95,172,.12);
}

.search-bar-icon { width: 18px; height: 18px; color: var(--text-muted); flex-shrink: 0; }

.search-input {
  flex: 1;
  font-family: var(--font);
  font-size: var(--t-base);
  font-weight: var(--w-medium);
  color: var(--text);
  background: transparent;
  border: none;
  outline: none;
  min-height: 24px;
}
.search-input::placeholder { color: var(--text-muted); font-weight: var(--w-regular); }

.search-clear {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  border-radius: var(--r-sm);
  transition: background .12s, color .12s;
  flex-shrink: 0;
}
.search-clear:hover { background: var(--bg-muted); color: var(--text); }
.search-clear svg   { width: 16px; height: 16px; }

.search-state {
  text-align: center;
  padding: var(--s-16) var(--s-6);
}
.search-state-icon {
  width: 64px; height: 64px;
  margin: 0 auto var(--s-5);
  background: var(--bg-subtle);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.search-state-icon svg { width: 28px; height: 28px; color: var(--text-muted); }
.search-state p {
  font-size: var(--t-body);
  color: var(--text-sec);
}
.search-state a { color: var(--blue); font-weight: var(--w-semibold); }

.search-count {
  font-size: var(--t-sm);
  font-weight: var(--w-semibold);
  color: var(--text-muted);
  margin-bottom: var(--s-6);
}

.search-results { display: flex; flex-direction: column; gap: var(--s-4); }

.search-result-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  align-items: stretch;
  background: var(--bg);
  border: 1px solid var(--border-sub);
  border-radius: var(--r-xl);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color .18s, box-shadow .18s;
}
.search-result-card:hover {
  border-color: var(--blue);
  box-shadow: var(--sh-md);
}
.search-result-card:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.search-result-image {
  aspect-ratio: 4/3;
  background: var(--bg-muted);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.search-result-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.search-result-image svg { width: 32px; height: 32px; opacity: .25; color: var(--text-muted); }

.search-result-content {
  padding: var(--s-6);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.search-result-content h3 {
  font-size: var(--t-card);
  font-weight: var(--w-bold);
  color: var(--text);
  line-height: var(--lh-snug);
}
.search-result-content p {
  font-size: var(--t-base);
  color: var(--text-sec);
  line-height: var(--lh-relaxed);
  flex-grow: 1;
}

.search-result-meta {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  font-size: var(--t-caption);
  color: var(--text-muted);
  font-weight: var(--w-semibold);
  margin-top: auto;
}

@media (max-width: 600px) {
  .search-result-card { grid-template-columns: 1fr; }
  .search-result-image { aspect-ratio: 16/9; }
}


/* =============================================================================
   POST HEADER
   ============================================================================= */
.post-header {
  padding: calc(var(--header-h) + 48px) var(--s-6) var(--s-10);
  background: linear-gradient(180deg, var(--bg-blue) 0%, var(--bg) 100%);
}

.post-header-inner {
  max-width: 800px;
  margin-inline: auto;
}

.post-header .breadcrumb { margin-bottom: var(--s-6); }

.post-category {
  display: inline-block;
  font-size: var(--t-label);
  font-weight: var(--w-bold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  color: var(--blue);
  background: var(--blue-soft);
  border: 1px solid var(--blue-soft2);
  padding: 5px 12px;
  border-radius: var(--r-full);
  margin-bottom: var(--s-5);
}

.post-header h1 {
  font-size: var(--t-hero-page);
  font-weight: var(--w-xbold);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  color: var(--text);
  margin-bottom: var(--s-6);
}

.post-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s-3);
  font-size: var(--t-sm);
  color: var(--text-muted);
  font-weight: var(--w-semibold);
}
.post-meta svg { width: 14px; height: 14px; vertical-align: middle; margin-right: 3px; }

.post-author {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  color: var(--text-sec);
  font-weight: var(--w-semibold);
}
.post-author-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-muted);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.post-author-avatar img { width: 100%; height: 100%; object-fit: contain; }

.post-meta-divider { color: var(--border); }
.post-meta-updated { font-style: italic; }

@media (max-width: 768px) {
  .post-header h1 { font-size: var(--t-4xl); }
  .post-meta { flex-direction: column; align-items: flex-start; gap: var(--s-2); }
  .post-meta-divider { display: none; }
}


/* =============================================================================
   POST HERO IMAGE
   ============================================================================= */
.post-hero-image {
  padding: 0 var(--s-6) var(--s-8);
  background: var(--bg);
}
.post-hero-inner {
  max-width: 800px;
  margin-inline: auto;
}
.post-hero-inner img {
  width: 100%;
  border-radius: var(--r-xl);
  display: block;
  box-shadow: var(--sh-md);
}


/* =============================================================================
   POST CONTENT / ARTICLE TYPOGRAPHY
   ============================================================================= */
.post-content {
  padding: var(--s-10) var(--s-6) var(--s-16);
}

.post-content-inner {
  max-width: 800px;
  margin-inline: auto;
}

.post-article {
  font-size: var(--t-body);
  line-height: 1.85;
  color: var(--text-sec);
}

.post-article h2 {
  font-size: var(--t-2xl);
  font-weight: var(--w-xbold);
  color: var(--text);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-snug);
  margin: var(--s-12) 0 var(--s-5);
}

.post-article h3 {
  font-size: var(--t-xl);
  font-weight: var(--w-bold);
  color: var(--text);
  line-height: var(--lh-snug);
  margin: var(--s-8) 0 var(--s-4);
}

.post-article h4 {
  font-size: var(--t-card);
  font-weight: var(--w-bold);
  color: var(--text);
  margin: var(--s-6) 0 var(--s-3);
}

.post-article p { margin-bottom: var(--s-6); }

.post-article strong { color: var(--text); font-weight: var(--w-bold); }

.post-article a {
  color: var(--blue);
  font-weight: var(--w-semibold);
  text-decoration: underline;
  text-decoration-color: var(--blue-soft2);
  text-underline-offset: 2px;
  transition: text-decoration-color .15s;
}
.post-article a:hover { text-decoration-color: var(--blue); }

.post-article ul,
.post-article ol {
  margin: 0 0 var(--s-6) var(--s-6);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}

.post-article li {
  font-size: var(--t-body);
  color: var(--text-sec);
  line-height: var(--lh-relaxed);
}
.post-article ul { list-style: disc; }
.post-article ol { list-style: decimal; }

.post-article blockquote {
  margin: var(--s-8) 0;
  padding: var(--s-6) var(--s-7);
  background: var(--bg-blue);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-style: italic;
  color: var(--text-sec);
}
.post-article blockquote p:last-child { margin-bottom: 0; }

.post-article img {
  max-width: 100%;
  height: auto;
  border-radius: var(--r-lg);
  margin: var(--s-8) 0;
  display: block;
  box-shadow: var(--sh-sm);
}

.post-article figure { margin-bottom: var(--s-8); }

.post-article code {
  font-family: var(--mono);
  font-size: 0.9em;
  background: var(--bg-muted);
  padding: 2px 6px;
  border-radius: var(--r-sm);
  color: var(--text);
}

.post-article pre {
  margin: var(--s-8) 0;
  padding: var(--s-6);
  background: var(--navy);
  border-radius: var(--r-lg);
  overflow-x: auto;
}
.post-article pre code {
  background: none;
  padding: 0;
  font-size: var(--t-sm);
  line-height: 1.6;
  color: var(--on-dark-sec);
}

/* StoryChief comparison tables */
.post-article .strchf-table {
  width: 100%;
  overflow-x: auto;
  margin: var(--s-8) 0;
  border-radius: var(--r-lg);
  border: 1px solid var(--border-sub);
}
.post-article .strchf-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--t-base);
  min-width: 600px;
}
.post-article .strchf-table thead {
  background: var(--blue);
  color: #fff;
}
.post-article .strchf-table thead th {
  padding: var(--s-4) var(--s-4);
  text-align: left;
  font-size: var(--t-label);
  font-weight: var(--w-bold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  border: none;
  white-space: nowrap;
}
.post-article .strchf-table tbody tr {
  border-bottom: 1px solid var(--border-sub);
  transition: background .12s;
}
.post-article .strchf-table tbody tr:last-child  { border-bottom: none; }
.post-article .strchf-table tbody tr:hover        { background: var(--bg-subtle); }
.post-article .strchf-table tbody tr:first-child  { background: var(--blue-soft); font-weight: var(--w-semibold); }
.post-article .strchf-table td {
  padding: var(--s-4) var(--s-4);
  color: var(--text-sec);
  vertical-align: middle;
  line-height: var(--lh-normal);
}
.post-article .strchf-table td:first-child {
  font-weight: var(--w-semibold);
  color: var(--text);
  white-space: nowrap;
}

@media (max-width: 768px) {
  .post-article .strchf-table {
    margin-inline: calc(-1 * var(--s-6));
    border-radius: 0;
    border-left: none;
    border-right: none;
    width: calc(100% + var(--s-12));
  }
}


/* =============================================================================
   INLINE POST CTA
   ============================================================================= */
.post-inline-cta {
  margin: var(--s-12) 0;
  padding: var(--s-8) var(--s-8);
  background: var(--blue-soft);
  border: 1px solid var(--blue-soft2);
  border-radius: var(--r-xl);
  text-align: center;
}
.post-inline-cta h4 {
  font-size: var(--t-xl);
  font-weight: var(--w-xbold);
  color: var(--text);
  margin-bottom: var(--s-2);
}
.post-inline-cta p {
  font-size: var(--t-base);
  color: var(--text-sec);
  margin-bottom: var(--s-5);
  max-width: 520px;
  margin-inline: auto;
}
.post-inline-cta .btn { margin-top: var(--s-1); }


/* =============================================================================
   POST FOOTER
   ============================================================================= */
.post-footer {
  max-width: 640px;
  margin-inline: auto;
  padding-top: var(--s-10);
  border-top: 1px solid var(--border-sub);
  display: flex;
  flex-direction: column;
  gap: var(--s-8);
}

.post-contact {
  text-align: center;
  padding: var(--s-6);
  background: var(--bg-subtle);
  border: 1px solid var(--border-sub);
  border-radius: var(--r-lg);
}
.post-contact p {
  font-size: var(--t-base);
  color: var(--text-sec);
  margin-bottom: var(--s-2);
}
.post-contact a {
  font-size: var(--t-base);
  font-weight: var(--w-semibold);
  color: var(--blue);
  text-decoration: none;
}
.post-contact a:hover { text-decoration: underline; }

.post-subscribe { text-align: center; }
.post-subscribe h3 {
  font-size: var(--t-xl);
  font-weight: var(--w-bold);
  color: var(--text);
  margin-bottom: var(--s-2);
}
.post-subscribe > p {
  font-size: var(--t-base);
  color: var(--text-sec);
  margin-bottom: var(--s-5);
}

.subscribe-form-post {
  max-width: 440px;
  margin-inline: auto;
}


/* =============================================================================
   RELATED POSTS
   ============================================================================= */
.related-posts {
  padding: var(--s-16) var(--s-6);
  background: var(--bg-subtle);
}

.related-posts-inner {
  max-width: var(--max-w);
  margin-inline: auto;
}

.related-posts h2 {
  font-size: var(--t-2xl);
  font-weight: var(--w-xbold);
  text-align: center;
  color: var(--text);
  margin-bottom: var(--s-8);
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-6);
}

@media (max-width: 1024px) { .related-posts-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .related-posts-grid { grid-template-columns: 1fr; } }
