/* ==========================================================
   APIC Blog Styles — Redesigned
   Brand Colors:
     Navy  #0D1B3E
     Gold  #C9A84C
     Teal  #1A7A5E
========================================================== */

/* ─── CSS Variables ─────────────────────────────────────── */
:root {
  --navy:      #0D1B3E;
  --navy-mid:  #162d5e;
  --navy-light:#1e3f80;
  --gold:      #C9A84C;
  --gold-light:#e2c06e;
  --teal:      #1A7A5E;
  --teal-light:#22a07a;
  --bg-page:   #f0f3f8;
  --card-bg:   #ffffff;
  --text-dark: #1a1f2e;
  --text-muted: #6c7693;
  --border:    #dde4f0;
}

/* ─── Hero Section ──────────────────────────────────────── */
.blog-page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 55%, var(--navy-light) 100%);
  padding: 90px 0 70px;
  position: relative;
  overflow: hidden;
}

/* Geometric backdrop shapes */
.blog-page-hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(201,168,76,0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.blog-page-hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: 8%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(26,122,94,0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* Gold accent left border on hero container */
.blog-page-hero .container {
  position: relative;
  z-index: 2;
  padding-left: 32px;
  border-left: 4px solid var(--gold);
}

.blog-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,0.14);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 30px;
  border: 1px solid rgba(201,168,76,0.35);
  margin-bottom: 18px;
}

.blog-hero-label::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.4); }
}

.blog-hero-title {
  color: #fff;
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 6px;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.blog-hero-title span {
  color: var(--gold);
  position: relative;
  display: inline-block;
}

.blog-hero-title span::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  opacity: 0.5;
}

.blog-hero-subtitle {
  color: rgba(255,255,255,0.70);
  font-size: 1.05rem;
  max-width: 560px;
  line-height: 1.75;
  margin: 16px 0 0;
}

.blog-breadcrumb {
  display: flex;
  align-items: center;
  margin-top: 26px;
  font-size: 0.82rem;
}

.blog-breadcrumb a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.2s;
}

.blog-breadcrumb a:hover { color: var(--gold); }

.blog-breadcrumb .separator {
  color: rgba(255,255,255,0.3);
  margin: 0 10px;
}

.blog-breadcrumb .current { color: var(--gold); font-weight: 600; }

/* Hero stats strip */
.blog-hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.10);
}

.hero-stat-item { display: flex; flex-direction: column; }

.hero-stat-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.70rem;
  color: rgba(255,255,255,0.50);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 4px;
}

/* ─── Category Filter Bar ───────────────────────────────── */
.blog-filter-bar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 16px rgba(13,27,62,0.08);
}

.blog-filter-bar .container {
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.blog-filter-bar .container::-webkit-scrollbar { display: none; }

.blog-filter-btn {
  white-space: nowrap;
  padding: 16px 24px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: all 0.22s ease;
  display: inline-block;
  letter-spacing: 0.3px;
}

.blog-filter-btn:hover {
  color: var(--navy);
  border-bottom-color: var(--gold);
}

.blog-filter-btn.active {
  color: var(--navy);
  border-bottom-color: var(--gold);
  background: rgba(201,168,76,0.05);
}

/* ─── Main Layout ───────────────────────────────────────── */
.blog-main {
  background: var(--bg-page);
  padding: 64px 0 120px;
}

/* ─── Category Badges ───────────────────────────────────── */
.blog-card-cat {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 30px;
  z-index: 2;
}

.cat-teal  { background: var(--teal);  color: #fff; }
.cat-gold  { background: var(--gold);  color: #fff; }
.cat-navy  { background: var(--navy);  color: #fff; }
.cat-green { background: #2e7d32;      color: #fff; }

/* ─── Standard Article Cards ────────────────────────────── */
.blog-card {
  background: var(--card-bg);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(13,27,62,0.07);
  transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
  height: auto;
  display: flex;
  flex-direction: column;
  border: 1px solid transparent;
  margin-top: 36px;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 48px rgba(13,27,62,0.14);
  border-color: rgba(201,168,76,0.30);
}

.blog-card-img-wrap {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.blog-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.blog-card:hover .blog-card-img-wrap img { transform: scale(1.07); }

/* Gradient overlay on card image hover */
.blog-card-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(13,27,62,0.42) 100%);
  opacity: 0;
  transition: opacity 0.32s ease;
  pointer-events: none;
}

.blog-card:hover .blog-card-img-wrap::after { opacity: 1; }

.blog-card-body {
  padding: 24px 26px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
  border-top: 3px solid transparent;
  transition: border-color 0.25s ease;
}

.blog-card:hover .blog-card-body { border-top-color: var(--gold); }

.blog-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}

.blog-card-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.76rem;
  color: var(--text-muted);
}

.blog-card-meta i { color: var(--teal); font-size: 0.78rem; }

.blog-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.48;
  margin-bottom: 10px;
  text-decoration: none;
  display: block;
  transition: color 0.2s ease;
}

.blog-card:hover .blog-card-title { color: var(--teal); }

.blog-card-title.featured { font-size: 1.35rem; }

.blog-card-excerpt {
  font-size: 0.89rem;
  color: #555e78;
  line-height: 1.72;
  flex: 1;
  margin-bottom: 20px;
}

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid #eef1f8;
}

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--teal);
  font-weight: 700;
  font-size: 0.82rem;
  text-decoration: none;
  transition: all 0.22s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-read-more i { transition: transform 0.22s ease; }
.blog-read-more:hover { color: var(--navy); }
.blog-read-more:hover i { transform: translateX(5px); }

/* Gold CTA button — used on featured card */
.blog-read-more-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  padding: 11px 26px;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
  box-shadow: 0 4px 14px rgba(201,168,76,0.35);
}

.blog-read-more-gold i { transition: transform 0.22s ease; }

.blog-read-more-gold:hover {
  background: #b8943e;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(201,168,76,0.45);
}

.blog-read-more-gold:hover i { transform: translateX(5px); }

.blog-card-tag {
  font-size: 0.70rem;
  color: var(--text-muted);
  background: #eef1f9;
  padding: 4px 11px;
  border-radius: 14px;
  font-weight: 500;
}

/* ─── Featured Post ─────────────────────────────────────── */
.blog-featured-post {
  background: var(--card-bg);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 28px rgba(13,27,62,0.10);
  margin-bottom: 44px;
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
  border: 1px solid transparent;
}

.blog-featured-post:hover {
  box-shadow: 0 20px 54px rgba(13,27,62,0.17);
  transform: translateY(-4px);
  border-color: rgba(201,168,76,0.30);
}

.blog-featured-post .featured-img-wrap {
  position: relative;
  height: 400px;
  overflow: hidden;
}

.blog-featured-post .featured-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-featured-post:hover .featured-img-wrap img { transform: scale(1.05); }

/* Gradient scrim on featured image */
.blog-featured-post .featured-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(13,27,62,0.52) 100%);
  pointer-events: none;
}

.blog-featured-badge {
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 2;
  background: var(--gold);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.blog-featured-badge::before { content: '★'; font-size: 0.7rem; }

.blog-featured-body {
  padding: 38px 44px 42px;
  border-top: 4px solid var(--gold);
}

.blog-featured-body .blog-card-meta { margin-bottom: 14px; }

.blog-featured-body .blog-card-title {
  font-size: 1.75rem;
  margin-bottom: 16px;
  line-height: 1.3;
}

.blog-featured-body .blog-card-excerpt {
  font-size: 1rem;
  margin-bottom: 26px;
  max-width: 600px;
}

/* ─── Pagination ────────────────────────────────────────── */
.blog-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 56px;
}

.blog-page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  background: #fff;
  border: 2px solid var(--border);
  text-decoration: none;
  transition: all 0.22s ease;
}

.blog-page-link:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.blog-page-link.active {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}

/* ─── Sidebar ───────────────────────────────────────────── */
.blog-sidebar {
  position: sticky;
  top: 80px;
  align-self: flex-start;
}

/* Ensure footer always renders above sticky sidebar */
.footerdiv {
  position: relative;
  z-index: 10;
}

/* Active state for sidebar category filter links */
.sidebar-cat-list a.active {
  color: var(--teal);
  font-weight: 700;
}

.sidebar-cat-list a.show-all {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 6px;
  display: inline-block;
}

.sidebar-widget {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 2px 16px rgba(13,27,62,0.07);
  margin-bottom: 28px;
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}

/* Gradient top-edge accent per widget */
.sidebar-widget::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--gold));
}

.sidebar-widget-title {
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 2px solid rgba(201,168,76,0.35);
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-widget-title::before {
  content: '';
  width: 10px;
  height: 10px;
  background: var(--gold);
  border-radius: 3px;
  flex-shrink: 0;
}

/* Search */
.sidebar-search {
  display: flex;
  border: 2px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.22s, box-shadow 0.22s;
}

.sidebar-search:focus-within {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(26,122,94,0.10);
}

.sidebar-search input {
  flex: 1;
  border: none;
  padding: 11px 14px;
  font-size: 0.87rem;
  outline: none;
  color: var(--text-dark);
  background: transparent;
}

.sidebar-search button {
  background: var(--teal);
  border: none;
  color: #fff;
  padding: 0 18px;
  cursor: pointer;
  font-size: 0.95rem;
  transition: background 0.22s;
}

.sidebar-search button:hover { background: var(--navy); }

/* Category list */
.sidebar-cat-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-cat-list li {
  border-bottom: 1px solid #f0f3fa;
  transition: transform 0.18s ease;
}

.sidebar-cat-list li:last-child { border-bottom: none; }
.sidebar-cat-list li:hover { transform: translateX(4px); }

.sidebar-cat-list a {
  display: flex;
  align-items: center;
  padding: 11px 0;
  color: #444c6a;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
  gap: 8px;
}

.sidebar-cat-list a::before {
  content: '›';
  color: var(--gold);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1;
}

.sidebar-cat-list a:hover { color: var(--teal); }

.sidebar-cat-count {
  background: rgba(13,27,62,0.07);
  color: var(--navy);
  font-size: 0.70rem;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 12px;
  margin-left: auto;
}

/* Recent posts */
.sidebar-recent-post {
  display: flex;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid #f0f3fa;
  text-decoration: none;
  align-items: flex-start;
  transition: transform 0.2s ease;
}

.sidebar-recent-post:last-child { border-bottom: none; padding-bottom: 0; }
.sidebar-recent-post:hover { transform: translateX(4px); }

.sidebar-recent-post img {
  width: 68px;
  height: 58px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
  border: 2px solid var(--border);
  transition: border-color 0.2s;
}

.sidebar-recent-post:hover img { border-color: var(--gold); }

.sidebar-recent-info h6 {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 5px;
  line-height: 1.35;
  transition: color 0.2s;
}

.sidebar-recent-post:hover .sidebar-recent-info h6 { color: var(--teal); }

.sidebar-recent-info span {
  font-size: 0.74rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ─── Newsletter Widget ──────────────────────────────────── */
.sidebar-newsletter {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(13,27,62,0.20);
}

.sidebar-newsletter::before {
  content: '';
  position: absolute;
  top: -50px; right: -50px;
  width: 170px; height: 170px;
  background: radial-gradient(circle, rgba(201,168,76,0.18), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.sidebar-newsletter::after {
  content: '';
  position: absolute;
  bottom: -35px; left: -25px;
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(26,122,94,0.22), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.sidebar-newsletter .nl-icon {
  width: 44px;
  height: 44px;
  background: rgba(201,168,76,0.16);
  border: 1px solid rgba(201,168,76,0.38);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.sidebar-newsletter .nl-icon i { color: var(--gold); font-size: 1.15rem; }

.sidebar-newsletter h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.sidebar-newsletter p {
  color: rgba(255,255,255,0.62);
  font-size: 0.83rem;
  line-height: 1.65;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

.sidebar-newsletter .nl-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.sidebar-newsletter .nl-form input {
  border: 1.5px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.85rem;
  color: #fff;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.sidebar-newsletter .nl-form input::placeholder { color: rgba(255,255,255,0.38); }

.sidebar-newsletter .nl-form input:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,0.13);
}

.sidebar-newsletter .nl-form button {
  background: var(--gold);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 11px;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: background 0.22s, transform 0.18s;
}

.sidebar-newsletter .nl-form button:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

/* Tags cloud */
.sidebar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sidebar-tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--navy);
  background: #eef1f9;
  border: 1.5px solid var(--border);
  text-decoration: none;
  transition: all 0.22s ease;
}

.sidebar-tag:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(13,27,62,0.18);
}

/* ─── Post Page ─────────────────────────────────────────── */
.post-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 90px 0 55px;
  position: relative;
  overflow: hidden;
}

.post-hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(201,168,76,0.10), transparent 70%);
  border-radius: 50%;
}

.post-hero-cat {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  font-size: 0.70rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 30px;
  margin-bottom: 20px;
}

.post-hero-title {
  color: #fff;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 22px;
}

.post-hero-meta { display: flex; flex-wrap: wrap; gap: 22px; }

.post-hero-meta span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,0.70);
  font-size: 0.84rem;
}

.post-hero-meta i { color: var(--gold); }

/* Post body */
.post-body-wrap {
  background: var(--bg-page);
  padding: 64px 0 120px;
}

.post-body {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 54px 58px;
  box-shadow: 0 3px 22px rgba(13,27,62,0.07);
}

.post-cover-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 14px;
  margin-bottom: 38px;
  box-shadow: 0 5px 24px rgba(13,27,62,0.12);
}

.post-body h2 {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: 42px;
  margin-bottom: 16px;
}

.post-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: 32px;
  margin-bottom: 12px;
}

.post-body p {
  font-size: 1rem;
  color: #444c6a;
  line-height: 1.9;
  margin-bottom: 22px;
}

.post-body ul, .post-body ol {
  color: #444c6a;
  font-size: 1rem;
  line-height: 1.9;
  margin-bottom: 22px;
  padding-left: 22px;
}

.post-body ul li, .post-body ol li { margin-bottom: 8px; }

.post-pullquote {
  border-left: 4px solid var(--gold);
  background: linear-gradient(135deg, #fdf9ef, #fffdf5);
  padding: 24px 30px;
  border-radius: 0 12px 12px 0;
  margin: 32px 0;
}

.post-pullquote p {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--navy);
  margin: 0;
  line-height: 1.7;
}

.post-key-point {
  background: linear-gradient(135deg, #eaf5f0, #f2faf6);
  border: 1px solid #c0e4d4;
  border-radius: 12px;
  padding: 20px 26px;
  margin: 26px 0;
}

.post-key-point strong {
  color: var(--teal);
  display: block;
  margin-bottom: 6px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.post-footer-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 32px;
  margin-top: 42px;
  border-top: 2px solid #eef1f8;
}

.post-tags { display: flex; flex-wrap: wrap; gap: 8px; }

.post-tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--navy);
  background: #eef1f9;
  border: 1.5px solid var(--border);
  text-decoration: none;
  transition: all 0.2s;
}

.post-tag:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

.post-share { display: flex; align-items: center; gap: 10px; }

.post-share span {
  font-size: 0.80rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  text-decoration: none;
  font-size: 0.88rem;
  transition: all 0.22s ease;
}

.share-linkedin { background: #0077b5; color: #fff; }
.share-twitter  { background: #1da1f2; color: #fff; }
.share-whatsapp { background: #25d366; color: #fff; }
.share-btn:hover { opacity: 0.85; transform: translateY(-3px); }

/* Author box */
.author-box {
  background: linear-gradient(135deg, #f0f4fb, #eaf0f8);
  border: 1px solid #d8e4f0;
  border-radius: 16px;
  padding: 30px 34px;
  display: flex;
  gap: 22px;
  align-items: flex-start;
  margin-top: 42px;
}

.author-avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold);
  flex-shrink: 0;
}

.author-info h5 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.author-info .author-role { font-size: 0.78rem; color: var(--teal); font-weight: 600; margin-bottom: 10px; }
.author-info p { font-size: 0.87rem; color: #666; line-height: 1.65; margin: 0; }

/* Related posts */
.related-posts {
  background: var(--card-bg);
  border-radius: 18px;
  padding: 36px 42px;
  margin-top: 30px;
  box-shadow: 0 3px 18px rgba(13,27,62,0.07);
}

.related-posts-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--gold);
}

.related-card {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #f0f3fa;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.related-card:last-child { border-bottom: none; padding-bottom: 0; }
.related-card:hover { transform: translateX(4px); }

.related-card img {
  width: 82px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}

.related-info h6 { font-size: 0.87rem; font-weight: 600; color: var(--navy); margin-bottom: 5px; line-height: 1.4; transition: color 0.2s; }
.related-card:hover .related-info h6 { color: var(--teal); }
.related-info span { font-size: 0.73rem; color: var(--text-muted); }

/* ─── Article body extras ───────────────────────────────── */

/* Lead / standfirst paragraph */
.post-lead {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.7;
  border-left: 4px solid var(--gold);
  padding-left: 20px;
  margin-bottom: 28px;
}

/* Large stat callout */
.post-stat-callout {
  display: flex;
  align-items: center;
  gap: 20px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-radius: 12px;
  padding: 28px 32px;
  margin: 30px 0;
}

.post-stat-number {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
}

.post-stat-label {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
  font-weight: 500;
}

/* Applications grid */
.post-applications {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 24px 0 28px;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.post-app-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s ease;
}

.post-app-item:last-child { border-bottom: none; }

.post-app-item:hover { background: #f8fafd; }

.post-app-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--gold), #e2c06e);
  border-radius: 8px;
  flex-shrink: 0;
  margin-top: 2px;
}

.post-app-icon i {
  color: #fff;
  font-size: 1rem;
}

.post-app-item strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.post-app-item p {
  font-size: 0.88rem;
  color: #555;
  line-height: 1.6;
  margin: 0;
}

/* CTA box */
.post-cta-box {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: 14px;
  padding: 36px 40px;
  margin: 40px 0 32px;
  position: relative;
  overflow: hidden;
}

.post-cta-box::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 180px;
  height: 180px;
  background: rgba(201,168,76,0.1);
  border-radius: 50%;
  pointer-events: none;
}

.post-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  position: relative;
  z-index: 1;
}

.post-cta-text h4 {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.4;
}

.post-cta-text p {
  color: rgba(255,255,255,0.72);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.6;
}

.post-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  padding: 13px 28px;
  border-radius: 8px;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background 0.22s ease, transform 0.22s ease;
  flex-shrink: 0;
}

.post-cta-btn i { transition: transform 0.22s ease; }

.post-cta-btn:hover {
  background: #b8943e;
  color: #fff;
  transform: translateY(-2px);
}

.post-cta-btn:hover i { transform: translateX(4px); }

@media (max-width: 640px) {
  .post-cta-inner { flex-direction: column; align-items: flex-start; }
  .post-stat-callout { flex-direction: column; gap: 10px; text-align: center; }
  .post-stat-number { font-size: 2.4rem; }
  .post-lead { font-size: 1.05rem; }
}

/* ─── Responsive ────────────────────────────────────────── */
@media (max-width: 991px) {
  .blog-sidebar { position: static; margin-top: 48px; }
  .blog-featured-body { padding: 28px 28px; }
  .blog-featured-body .blog-card-title { font-size: 1.4rem; }
  .blog-hero-stats { gap: 24px; }
}

@media (max-width: 768px) {
  .blog-hero-title { font-size: 2rem; }
  .blog-page-hero .container { padding-left: 18px; }
  .post-hero-title { font-size: 1.75rem; }
  .post-body { padding: 28px 22px; }
  .blog-featured-post .featured-img-wrap { height: 250px; }
  .author-box { flex-direction: column; gap: 18px; }
  .post-footer-bar { flex-direction: column; align-items: flex-start; }
  .related-posts { padding: 24px 20px; }
  .blog-hero-stats { flex-wrap: wrap; gap: 20px; }
  .blog-featured-body { padding: 22px 20px; }
}
