/* ============================================================
   20-blog.css — Blog list + Single post styles
   Tokens: 01-tokens.css · Shared: 02-base, 03-utilities, 07-sections
============================================================ */

/* ══════════════════════════════════════════════════════════
   BLOG HERO
══════════════════════════════════════════════════════════ */
.bp-hero {
  background: var(--grad-hero);
  min-height: 44vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 66px;
}

.bp-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.bp-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 65% at 85% 15%, rgba(96,165,250,.12) 0%, transparent 60%),
    radial-gradient(ellipse 45% 55% at 5%  85%, rgba(8,145,178,.09)  0%, transparent 58%),
    radial-gradient(ellipse 35% 40% at 50%  0%, rgba(245,158,11,.05) 0%, transparent 55%);
}

.bp-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 72px 72px;
}

.bp-hero-inner {
  position: relative;
  z-index: 1;
  width: 90%;
  max-width: 1240px;
  margin: 0 auto;
  padding: var(--sp-3xl) 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--sp-lg);
}

.bp-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-sm);
  font-family: 'Sora', sans-serif;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: rgba(255,255,255,.45);
}
.bp-breadcrumb a { color: rgba(255,255,255,.4); text-decoration: none; transition: color var(--t-fast); }
.bp-breadcrumb a:hover { color: var(--amber); }
.bp-breadcrumb i { font-size: 9px; }

.bp-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-sm);
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--r-full);
  padding: 7px var(--sp-md);
  font-family: 'Sora', sans-serif;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: rgba(255,255,255,.85);
}

.bp-hero h1 {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.06;
  letter-spacing: -.04em;
  color: #fff;
  margin: 0;
}

.bp-hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--amber), #fde68a, #fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bp-hero-desc {
  font-size: clamp(var(--fs-body), 1.6vw, 17px);
  color: rgba(255,255,255,.60);
  line-height: var(--lh-body);
  max-width: 540px;
  margin: 0;
}

/* hero search */
.bp-search-wrap {
  width: 100%;
  max-width: 460px;
  position: relative;
}

.bp-search {
  width: 100%;
  padding: 14px var(--sp-md) 14px 46px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--r-full);
  color: #fff;
  font-size: 14px;
  font-family: 'Sora', sans-serif;
  outline: none;
  transition: background var(--t-fast), border-color var(--t-fast);
  box-sizing: border-box;
}

.bp-search::placeholder { color: rgba(255,255,255,.42); }
.bp-search:focus { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.36); }

.bp-search-icon {
  position: absolute;
  left: 17px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,.45);
  font-size: 14px;
  pointer-events: none;
}

/* ══════════════════════════════════════════════════════════
   CATEGORY FILTER
══════════════════════════════════════════════════════════ */
.bp-cats {
  display: flex;
  gap: var(--sp-sm);
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: var(--sp-xl);
}

.bp-cat {
  padding: 9px var(--sp-lg);
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--r-full);
  font-family: 'Sora', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--gray-500);
  cursor: pointer;
  transition: background var(--t), border-color var(--t), color var(--t), box-shadow var(--t);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.bp-cat:hover  { border-color: var(--blue); color: var(--blue); }
.bp-cat.active { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: var(--shadow-blue-sm); }

.bp-count {
  font-family: 'Sora', sans-serif;
  font-size: var(--fs-sm);
  color: var(--gray-400);
  margin-bottom: var(--sp-md);
}
.bp-count strong { color: var(--gray-700); }

/* ══════════════════════════════════════════════════════════
   FEATURED POST (top large card)
══════════════════════════════════════════════════════════ */
.bp-featured {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 0;
  background: #fff;
  border: 1px solid var(--gray-150);
  border-radius: var(--r-xl);
  overflow: hidden;
  margin-bottom: var(--sp-2xl);
  transition: box-shadow var(--t), transform var(--t);
  text-decoration: none;
  color: inherit;
}

.bp-featured:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.bp-featured-img {
  position: relative;
  overflow: hidden;
  min-height: 340px;
}

.bp-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s var(--ease-smooth);
}

.bp-featured:hover .bp-featured-img img { transform: scale(1.04); }

.bp-featured-badge {
  position: absolute;
  top: var(--sp-md);
  left: var(--sp-md);
  padding: 5px 13px;
  background: var(--amber);
  color: #fff;
  border-radius: var(--r-full);
  font-family: 'Sora', sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.bp-featured-body {
  padding: var(--sp-2xl) var(--sp-xl);
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
  justify-content: center;
}

.bp-featured-cat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Sora', sans-serif;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.bp-featured-title {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: clamp(20px, 2vw, 26px);
  color: var(--gray-900);
  line-height: 1.25;
  letter-spacing: -.025em;
  margin: 0;
}

.bp-featured-excerpt {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.7;
  margin: 0;
}

.bp-featured-meta {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  margin-top: auto;
  padding-top: var(--sp-md);
  border-top: 1px solid var(--gray-150);
}

.bp-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: var(--fs-xs);
  color: var(--gray-400);
  font-family: 'Sora', sans-serif;
  font-weight: 600;
}
.bp-meta-item i { font-size: 11px; }

/* ══════════════════════════════════════════════════════════
   POSTS GRID
══════════════════════════════════════════════════════════ */
.bp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-md);
}

/* ── Post Card ── */
.bp-card {
  background: #fff;
  border: 1px solid var(--gray-150);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--t), transform var(--t), border-color var(--t);
  text-decoration: none;
  color: inherit;
}

.bp-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
  border-color: transparent;
}

.bp-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--gray-100);
}

.bp-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s var(--ease-smooth);
}

.bp-card:hover .bp-card-img img { transform: scale(1.06); }

.bp-card-cat {
  position: absolute;
  bottom: var(--sp-sm);
  left: var(--sp-sm);
  padding: 4px 11px;
  border-radius: var(--r-full);
  font-family: 'Sora', sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  backdrop-filter: blur(8px);
}

.bp-card-cat--flights  { background: rgba(37,99,235,.85);  color: #fff; }
.bp-card-cat--visa     { background: rgba(245,158,11,.9);  color: #fff; }
.bp-card-cat--tours    { background: rgba(5,150,105,.85);  color: #fff; }
.bp-card-cat--insurance{ background: rgba(124,58,237,.85); color: #fff; }
.bp-card-cat--tips     { background: rgba(15,23,42,.75);   color: #fff; }

.bp-card-body {
  padding: var(--sp-lg) var(--sp-lg) var(--sp-md);
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
  flex: 1;
}

.bp-card-title {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 15.5px;
  color: var(--gray-900);
  line-height: 1.35;
  letter-spacing: -.02em;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bp-card-excerpt {
  font-size: var(--fs-sm);
  color: var(--gray-500);
  line-height: 1.65;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bp-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-md) var(--sp-lg);
  border-top: 1px solid var(--gray-150);
  margin-top: auto;
}

.bp-card-meta {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
}

.bp-card-read {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: 'Sora', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* ══════════════════════════════════════════════════════════
   PAGINATION
══════════════════════════════════════════════════════════ */
.bp-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--sp-sm);
  margin-top: var(--sp-2xl);
}

.bp-page {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-sm);
  border: 1px solid var(--gray-200);
  background: #fff;
  font-family: 'Sora', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-500);
  cursor: pointer;
  text-decoration: none;
  transition: background var(--t), border-color var(--t), color var(--t);
}

.bp-page:hover { border-color: var(--blue); color: var(--blue); }
.bp-page.active { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: var(--shadow-blue-sm); }
.bp-page--wide { width: auto; padding: 0 var(--sp-md); gap: 6px; }

/* ══════════════════════════════════════════════════════════
   SINGLE POST — HERO
══════════════════════════════════════════════════════════ */
.sp-hero {
  background: var(--grad-hero);
  padding-top: 66px;
  position: relative;
  overflow: hidden;
}

.sp-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.sp-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 65% at 90% 10%, rgba(96,165,250,.12) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 0%  90%, rgba(8,145,178,.08)  0%, transparent 55%);
}

.sp-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 72px 72px;
}

.sp-hero-inner {
  position: relative;
  z-index: 1;
  width: 90%;
  max-width: 860px;
  margin: 0 auto;
  padding: var(--sp-3xl) 0 var(--sp-2xl);
  display: flex;
  flex-direction: column;
  gap: var(--sp-lg);
}

.sp-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-sm);
  font-family: 'Sora', sans-serif;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: rgba(255,255,255,.45);
}
.sp-breadcrumb a { color: rgba(255,255,255,.4); text-decoration: none; transition: color var(--t-fast); }
.sp-breadcrumb a:hover { color: var(--amber); }
.sp-breadcrumb i { font-size: 9px; }

.sp-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: var(--r-full);
  font-family: 'Sora', sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  width: fit-content;
}

.sp-cat-pill--flights  { background: rgba(37,99,235,.25);  color: #93c5fd; border: 1px solid rgba(37,99,235,.3); }
.sp-cat-pill--visa     { background: rgba(245,158,11,.25); color: #fde68a; border: 1px solid rgba(245,158,11,.3); }
.sp-cat-pill--tours    { background: rgba(5,150,105,.25);  color: #6ee7b7; border: 1px solid rgba(5,150,105,.3); }
.sp-cat-pill--tips     { background: rgba(255,255,255,.12);color: rgba(255,255,255,.8); border: 1px solid rgba(255,255,255,.2); }

.sp-hero h1 {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: clamp(26px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: -.035em;
  color: #fff;
  margin: 0;
}

.sp-hero-meta {
  display: flex;
  align-items: center;
  gap: var(--sp-lg);
  flex-wrap: wrap;
}

.sp-hero-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Sora', sans-serif;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: rgba(255,255,255,.5);
}
.sp-hero-meta-item i { font-size: 11px; }

/* cover image strip */
.sp-cover {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  overflow: hidden;
  margin-top: var(--sp-xl);
  aspect-ratio: 16/6;
}

.sp-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ══════════════════════════════════════════════════════════
   SINGLE POST — BODY LAYOUT
══════════════════════════════════════════════════════════ */
.sp-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: var(--sp-2xl);
  align-items: start;
  padding: var(--sp-2xl) 0 var(--sp-3xl);
}

/* ── Article ── */
.sp-article {
  min-width: 0;
}

/* Table of contents */
.sp-toc {
  background: var(--blue-pale);
  border: 1px solid var(--blue-pale2);
  border-radius: var(--r-lg);
  padding: var(--sp-lg) var(--sp-xl);
  margin-bottom: var(--sp-xl);
}

.sp-toc-title {
  font-family: 'Sora', sans-serif;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--blue);
  margin-bottom: var(--sp-md);
  display: flex;
  align-items: center;
  gap: 6px;
}

.sp-toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sp-toc-list a {
  font-size: var(--fs-sm);
  color: var(--blue);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color var(--t-fast);
}

.sp-toc-list a::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
  opacity: .5;
}

.sp-toc-list a:hover { color: var(--gray-900); }

/* Article typography */
.sp-content { font-size: 16px; color: var(--gray-700); line-height: 1.85; }

.sp-content h2 {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: clamp(20px, 2.5vw, 26px);
  color: var(--gray-900);
  letter-spacing: -.025em;
  margin: var(--sp-2xl) 0 var(--sp-md);
  padding-top: var(--sp-lg);
  border-top: 2px solid var(--gray-150);
}

.sp-content h3 {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--gray-800);
  letter-spacing: -.02em;
  margin: var(--sp-xl) 0 var(--sp-sm);
}

.sp-content p { margin-bottom: var(--sp-md); }

.sp-content strong { color: var(--gray-900); font-weight: 700; }

.sp-content a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

.sp-content ul, .sp-content ol {
  padding-left: var(--sp-xl);
  margin-bottom: var(--sp-md);
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}

.sp-content li { color: var(--gray-600); }

/* callout / tip box */
.sp-callout {
  background: var(--blue-pale);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--r) var(--r) 0;
  padding: var(--sp-lg) var(--sp-xl);
  margin: var(--sp-xl) 0;
  display: flex;
  gap: var(--sp-md);
}

.sp-callout--amber {
  background: rgba(245,158,11,.08);
  border-color: var(--amber);
}

.sp-callout--emerald {
  background: rgba(5,150,105,.07);
  border-color: var(--emerald);
}

.sp-callout-icon {
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.sp-callout--blue    .sp-callout-icon { color: var(--blue); }
.sp-callout--amber   .sp-callout-icon { color: var(--amber); }
.sp-callout--emerald .sp-callout-icon { color: var(--emerald); }

.sp-callout-text { font-size: 14.5px; color: var(--gray-700); line-height: 1.7; }
.sp-callout-text strong { color: var(--gray-900); }

/* inline image */
.sp-img {
  width: 100%;
  border-radius: var(--r-lg);
  overflow: hidden;
  margin: var(--sp-xl) 0;
}
.sp-img img { width: 100%; display: block; }
.sp-img-caption {
  font-size: 12px;
  color: var(--gray-400);
  text-align: center;
  padding: var(--sp-sm) 0;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
}

/* price table */
.sp-table-wrap { overflow-x: auto; margin: var(--sp-xl) 0; border-radius: var(--r-lg); border: 1px solid var(--gray-150); }
.sp-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.sp-table th {
  background: var(--gray-50);
  padding: 12px var(--sp-lg);
  font-family: 'Sora', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--gray-500);
  text-align: left;
  border-bottom: 1px solid var(--gray-150);
}
.sp-table td {
  padding: 12px var(--sp-lg);
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-150);
}
.sp-table tr:last-child td { border-bottom: none; }
.sp-table tr:hover td { background: var(--gray-50); }
.sp-table .sp-table-price { font-family: 'Sora', sans-serif; font-weight: 800; color: var(--emerald); }

/* tags */
.sp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm);
  margin-top: var(--sp-2xl);
  padding-top: var(--sp-xl);
  border-top: 1px solid var(--gray-150);
}

.sp-tag {
  padding: 5px 13px;
  border-radius: var(--r-full);
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  font-family: 'Sora', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: var(--gray-600);
  text-decoration: none;
  transition: background var(--t-fast), color var(--t-fast);
}
.sp-tag:hover { background: var(--blue-pale); color: var(--blue); border-color: var(--blue-pale2); }

/* share */
.sp-share {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  margin-top: var(--sp-lg);
}

.sp-share-label {
  font-family: 'Sora', sans-serif;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-right: var(--sp-xs);
}

.sp-share-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  text-decoration: none;
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.sp-share-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.sp-share-btn--fb  { background: #1877f2; color: #fff; }
.sp-share-btn--tg  { background: #229ED9; color: #fff; }
.sp-share-btn--wa  { background: #25D366; color: #fff; }
.sp-share-btn--cp  { background: var(--gray-100); color: var(--gray-600); border: 1px solid var(--gray-200); }

/* ── Author box ── */
.sp-author {
  display: flex;
  align-items: center;
  gap: var(--sp-lg);
  background: var(--gray-50);
  border: 1px solid var(--gray-150);
  border-radius: var(--r-xl);
  padding: var(--sp-xl);
  margin-top: var(--sp-2xl);
}

.sp-author-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--grad-blue-shine);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.sp-author-name {
  font-family: 'Sora', sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 3px;
}

.sp-author-role {
  font-size: var(--fs-xs);
  color: var(--blue);
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: var(--sp-sm);
}

.sp-author-bio { font-size: var(--fs-sm); color: var(--gray-500); line-height: 1.65; }

/* ── Sidebar ── */
.sp-sidebar {
  position: sticky;
  top: 90px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: var(--sp-lg);
}

.sp-widget {
  background: #fff;
  border: 1px solid var(--gray-150);
  border-radius: var(--r-xl);
  overflow: hidden;
}

.sp-widget-head {
  padding: var(--sp-md) var(--sp-lg);
  border-bottom: 1px solid var(--gray-150);
  font-family: 'Sora', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* recent posts widget */
.sp-recent-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-md);
  padding: var(--sp-md) var(--sp-lg);
  border-bottom: 1px solid var(--gray-100);
  text-decoration: none;
  color: inherit;
  transition: background var(--t-fast);
}
.sp-recent-item:last-child { border-bottom: none; }
.sp-recent-item:hover { background: var(--gray-50); }

.sp-recent-thumb {
  width: 54px;
  height: 40px;
  border-radius: var(--r-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--gray-100);
}
.sp-recent-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.sp-recent-title {
  font-family: 'Sora', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--gray-800);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 3px;
}

.sp-recent-date {
  font-size: 11px;
  color: var(--gray-400);
  font-family: 'Sora', sans-serif;
  font-weight: 600;
}

/* categories widget */
.sp-cat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px var(--sp-lg);
  border-bottom: 1px solid var(--gray-100);
  text-decoration: none;
  color: var(--gray-700);
  font-size: 13.5px;
  transition: background var(--t-fast), color var(--t-fast);
}
.sp-cat-item:last-child { border-bottom: none; }
.sp-cat-item:hover { background: var(--blue-pale); color: var(--blue); }
.sp-cat-count {
  background: var(--gray-100);
  border-radius: var(--r-full);
  padding: 2px 9px;
  font-family: 'Sora', sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: var(--gray-500);
}

/* CTA sidebar widget */
.sp-cta-widget {
  background: var(--grad-hero);
  border-radius: var(--r-xl);
  padding: var(--sp-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.sp-cta-widget::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 80% at 50% 0%, rgba(96,165,250,.2) 0%, transparent 65%);
  pointer-events: none;
}
.sp-cta-widget > * { position: relative; z-index: 1; }
.sp-cta-widget-icon { font-size: 28px; color: var(--amber); margin-bottom: var(--sp-md); display: block; }
.sp-cta-widget h4 {
  font-family: 'Sora', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  margin-bottom: var(--sp-sm);
  letter-spacing: -.02em;
}
.sp-cta-widget p { font-size: 13px; color: rgba(255,255,255,.6); line-height: 1.6; margin-bottom: var(--sp-lg); }

/* ── Related posts ── */
.sp-related { margin-top: var(--sp-3xl); }
.sp-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-md); margin-top: var(--sp-xl); }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .bp-grid       { grid-template-columns: repeat(2, 1fr); }
  .bp-featured   { grid-template-columns: 1fr; }
  .bp-featured-img { min-height: 260px; }
  .sp-layout     { grid-template-columns: 1fr; }
  .sp-sidebar    { position: static; }
  .sp-related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .bp-grid { grid-template-columns: 1fr; }
  .sp-cover { width: 100%; border-radius: 0; }
  .sp-related-grid { grid-template-columns: 1fr; }
  .sp-author { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .bp-cats { gap: var(--sp-xs); }
  .bp-cat  { padding: 7px var(--sp-md); font-size: 11px; }
}
