/* ═══════════════════════════════════════════════════════════════
   VGU BLOG — blog.vgu.ac.in
   Full stylesheet for the blog subdomain
   ═══════════════════════════════════════════════════════════════ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --red:    #C04036;
  --red-d:  #a32e25;
  --gold:   #FFA412;
  --dark:   #1a0a0a;
  --dark2:  #262626;
  --grey:   #555;
  --light:  #F7F6F4;
  --border: #e8e4e0;
  --white:  #ffffff;
  --font-head: 'Nunito Sans', 'Segoe UI', sans-serif;
  --font-body: 'Nunito', 'Segoe UI', sans-serif;
  --radius: 12px;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-h: 0 12px 36px rgba(0,0,0,0.14);
}

/* ── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--dark2);
  background: var(--white);
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Container ─────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ═══════════════════════════════════════════════════════════
   TOPBAR
   ═══════════════════════════════════════════════════════════ */
.blog-topbar {
  background: var(--dark);
  padding: 7px 0;
  font-size: 12px;
  color: rgba(255,255,255,.6);
}
.blog-topbar .container {
  display: flex; align-items: center;
  justify-content: space-between;
}
.blog-topbar a { color: rgba(255,255,255,.6); }
.blog-topbar a:hover { color: var(--gold); }
.topbar-social { display: flex; gap: 16px; }

/* ═══════════════════════════════════════════════════════════
   HEADER / NAVBAR
   ═══════════════════════════════════════════════════════════ */
.blog-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.blog-header .container {
  display: flex; align-items: center;
  justify-content: space-between;
  padding-top: 14px; padding-bottom: 14px;
}
.blog-logo { display: flex; align-items: center; gap: 12px; }
.blog-logo-img { height: 44px; }
.blog-logo-text { line-height: 1.15; }
.blog-logo-title {
  font-family: var(--font-head); font-weight: 900;
  font-size: 18px; color: var(--red); letter-spacing: -.3px;
}
.blog-logo-sub {
  font-size: 10px; color: var(--grey);
  font-family: var(--font-head); font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px;
}

.blog-nav { display: flex; align-items: center; gap: 6px; }
.blog-nav-link {
  font-family: var(--font-head); font-weight: 700;
  font-size: 13px; color: var(--dark2);
  padding: 7px 14px; border-radius: 6px;
  transition: all .18s;
}
.blog-nav-link:hover,
.blog-nav-link.active { background: rgba(192,64,54,.08); color: var(--red); }

.blog-nav-cta {
  background: var(--red); color: var(--white) !important;
  padding: 8px 18px !important; border-radius: 8px !important;
  margin-left: 6px;
}
.blog-nav-cta:hover { background: var(--red-d) !important; }

.blog-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.blog-hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--dark2); border-radius: 2px;
  transition: all .2s;
}

/* ═══════════════════════════════════════════════════════════
   HERO — Full-width featured post
   ═══════════════════════════════════════════════════════════ */
.blog-hero {
  position: relative; overflow: hidden;
  min-height: 500px;
  display: flex; align-items: flex-end;
}
.blog-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.blog-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,2,2,0.92) 0%, rgba(10,2,2,0.45) 60%, transparent 100%);
}
.blog-hero-content {
  position: relative; z-index: 2;
  padding: 48px 0 52px; width: 100%;
}
.blog-hero-content .container { }
.blog-hero-inner { max-width: 700px; }

.blog-hero-cat {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--red); color: #fff;
  font-family: var(--font-head); font-weight: 800;
  font-size: 10px; text-transform: uppercase; letter-spacing: 1.5px;
  padding: 4px 12px; border-radius: 4px; margin-bottom: 14px;
}
.blog-hero-title {
  font-family: var(--font-head); font-weight: 900;
  font-size: clamp(24px, 3.5vw, 40px);
  color: #fff; line-height: 1.18; margin-bottom: 14px;
}
.blog-hero-excerpt {
  font-size: 15px; color: rgba(255,255,255,.75);
  line-height: 1.7; margin-bottom: 22px; max-width: 580px;
}
.blog-hero-meta {
  display: flex; align-items: center; gap: 16px;
  flex-wrap: wrap; margin-bottom: 22px;
}
.blog-hero-author {
  font-family: var(--font-head); font-weight: 700;
  font-size: 13px; color: rgba(255,255,255,.8);
}
.blog-hero-author span { color: var(--gold); }
.blog-hero-date { font-size: 12px; color: rgba(255,255,255,.5); }
.blog-hero-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--red); color: #fff;
  font-family: var(--font-head); font-weight: 800;
  font-size: 13px; padding: 12px 24px; border-radius: 8px;
  transition: background .2s;
}
.blog-hero-btn:hover { background: var(--red-d); }
.blog-hero-btn svg { width: 14px; height: 14px; }

/* ═══════════════════════════════════════════════════════════
   CATEGORY TABS BAR
   ═══════════════════════════════════════════════════════════ */
.blog-cats-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 73px; z-index: 90;
}
.blog-cats-bar .container {
  display: flex; align-items: center; gap: 4px;
  padding-top: 0; padding-bottom: 0;
  overflow-x: auto;
}
.blog-cat-tab {
  display: inline-block;
  font-family: var(--font-head); font-weight: 700;
  font-size: 13px; color: var(--grey);
  padding: 14px 18px; white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: all .18s;
}
.blog-cat-tab:hover { color: var(--red); }
.blog-cat-tab.active {
  color: var(--red);
  border-bottom-color: var(--red);
}
.blog-cat-count {
  display: inline-block;
  background: var(--light); color: var(--grey);
  font-size: 10px; font-weight: 800;
  padding: 1px 7px; border-radius: 20px; margin-left: 5px;
}
.blog-cat-tab.active .blog-cat-count {
  background: rgba(192,64,54,.12); color: var(--red);
}

/* ═══════════════════════════════════════════════════════════
   MAIN LAYOUT — Blog listing
   ═══════════════════════════════════════════════════════════ */
.blog-main { padding: 48px 0 64px; background: var(--light); }
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  align-items: start;
}

/* ── Blog grid ─────────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .22s, box-shadow .22s;
  display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-h); }

.blog-card-img-wrap { position: relative; overflow: hidden; height: 200px; }
.blog-card-img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.blog-card:hover .blog-card-img { transform: scale(1.05); }
.blog-card-cat {
  position: absolute; top: 12px; left: 12px;
  background: var(--red); color: #fff;
  font-family: var(--font-head); font-weight: 800;
  font-size: 9px; text-transform: uppercase; letter-spacing: 1px;
  padding: 3px 10px; border-radius: 4px;
}
.blog-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.blog-card-meta {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 10px;
}
.blog-card-author {
  font-family: var(--font-head); font-weight: 700;
  font-size: 12px; color: var(--grey);
}
.blog-card-author strong { color: var(--dark2); }
.blog-card-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--border); }
.blog-card-date { font-size: 11px; color: var(--grey); }

.blog-card-title {
  font-family: var(--font-head); font-weight: 800;
  font-size: 16px; color: var(--dark2);
  line-height: 1.35; margin-bottom: 8px;
  transition: color .18s;
}
.blog-card:hover .blog-card-title { color: var(--red); }
.blog-card-excerpt {
  font-size: 13px; color: var(--grey);
  line-height: 1.65; flex: 1; margin-bottom: 16px;
}
.blog-card-link {
  font-family: var(--font-head); font-weight: 700;
  font-size: 12px; color: var(--red);
  display: inline-flex; align-items: center; gap: 5px;
  transition: gap .18s;
}
.blog-card:hover .blog-card-link { gap: 8px; }

/* Blog card — list view (inside sidebar) */
.blog-card-list {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 0; border-bottom: 1px solid var(--border);
}
.blog-card-list:last-child { border-bottom: none; }
.blog-card-list-img {
  width: 80px; height: 60px; object-fit: cover;
  border-radius: 6px; flex-shrink: 0;
}
.blog-card-list-title {
  font-family: var(--font-head); font-weight: 700;
  font-size: 13px; color: var(--dark2); line-height: 1.4;
  margin-bottom: 4px; transition: color .18s;
}
.blog-card-list:hover .blog-card-list-title { color: var(--red); }
.blog-card-list-date { font-size: 11px; color: var(--grey); }

/* No blogs message */
.blog-empty {
  grid-column: 1 / -1; text-align: center;
  padding: 64px 24px;
  background: var(--white); border-radius: var(--radius);
}
.blog-empty-icon { font-size: 48px; margin-bottom: 16px; }
.blog-empty-title { font-family: var(--font-head); font-weight: 800; font-size: 20px; color: var(--dark2); margin-bottom: 8px; }
.blog-empty-text { font-size: 14px; color: var(--grey); }

/* ── Sidebar ───────────────────────────────────────────────── */
.blog-sidebar { display: flex; flex-direction: column; gap: 24px; }
.sidebar-widget {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow);
}
.sw-title {
  font-family: var(--font-head); font-weight: 900;
  font-size: 14px; color: var(--dark2);
  margin-bottom: 16px; padding-bottom: 10px;
  border-bottom: 2px solid var(--red);
  display: flex; align-items: center; gap: 8px;
}
.sw-icon { font-size: 16px; }

/* Categories widget */
.sw-cats { display: flex; flex-direction: column; gap: 0; }
.sw-cat-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 0; border-bottom: 1px solid var(--border);
  font-family: var(--font-head); font-weight: 700;
  font-size: 13px; color: var(--dark2);
  transition: color .18s;
}
.sw-cat-link:last-child { border-bottom: none; }
.sw-cat-link:hover { color: var(--red); }
.sw-cat-link.active { color: var(--red); }
.sw-cat-badge {
  background: var(--light); color: var(--grey);
  font-size: 10px; font-weight: 800;
  padding: 2px 8px; border-radius: 20px;
}
.sw-cat-link.active .sw-cat-badge { background: rgba(192,64,54,.12); color: var(--red); }

/* Stats widget */
.sw-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sw-stat {
  background: var(--light); border-radius: 8px;
  padding: 14px; text-align: center;
}
.sw-stat-val {
  font-family: var(--font-head); font-weight: 900;
  font-size: 22px; color: var(--red); line-height: 1;
  margin-bottom: 4px;
}
.sw-stat-lbl { font-size: 11px; color: var(--grey); font-weight: 600; line-height: 1.3; }

/* CTA widget */
.sw-cta {
  background: linear-gradient(135deg, var(--red), #8b1d15);
  border-radius: var(--radius); padding: 24px; text-align: center;
}
.sw-cta-title {
  font-family: var(--font-head); font-weight: 900;
  font-size: 16px; color: #fff; margin-bottom: 8px;
}
.sw-cta-text { font-size: 13px; color: rgba(255,255,255,.75); margin-bottom: 16px; line-height: 1.6; }
.sw-cta-btn {
  display: block; background: var(--gold); color: var(--dark);
  font-family: var(--font-head); font-weight: 800;
  font-size: 13px; padding: 10px 20px; border-radius: 8px;
  transition: opacity .2s;
}
.sw-cta-btn:hover { opacity: .9; }

/* ═══════════════════════════════════════════════════════════
   STATS BAND
   ═══════════════════════════════════════════════════════════ */
.blog-statsband {
  background: var(--red); padding: 36px 0;
}
.blog-statsband .container {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 0; text-align: center;
}
.bsb-item { padding: 0 16px; position: relative; }
.bsb-item + .bsb-item::before {
  content: ''; position: absolute; left: 0; top: 10%; bottom: 10%;
  width: 1px; background: rgba(255,255,255,.2);
}
.bsb-val {
  font-family: var(--font-head); font-weight: 900;
  font-size: 28px; color: #fff; line-height: 1; margin-bottom: 5px;
}
.bsb-val sub { font-size: 16px; vertical-align: baseline; }
.bsb-lbl { font-size: 11px; color: rgba(255,255,255,.7); line-height: 1.4; }

/* ═══════════════════════════════════════════════════════════
   SINGLE BLOG POST PAGE
   ═══════════════════════════════════════════════════════════ */
.post-header {
  background: var(--dark); padding: 56px 0 48px;
}
.post-breadcrumb {
  font-size: 12px; color: rgba(255,255,255,.5);
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.post-breadcrumb a { color: rgba(255,255,255,.5); }
.post-breadcrumb a:hover { color: var(--gold); }
.post-breadcrumb-sep { color: rgba(255,255,255,.3); }

.post-header-cat {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--red); color: #fff;
  font-family: var(--font-head); font-weight: 800;
  font-size: 10px; text-transform: uppercase; letter-spacing: 1.5px;
  padding: 4px 12px; border-radius: 4px; margin-bottom: 16px;
}
.post-header-title {
  font-family: var(--font-head); font-weight: 900;
  font-size: clamp(24px, 3.5vw, 42px);
  color: #fff; line-height: 1.18; margin-bottom: 18px;
}
.post-header-meta {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.post-header-author {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700;
  font-size: 13px; color: rgba(255,255,255,.8);
}
.post-header-author-name { color: var(--gold); }
.post-header-date { font-size: 12px; color: rgba(255,255,255,.5); }

.post-body-wrap { max-width: 800px; margin: 0 auto; padding: 48px 24px 64px; }

.post-feat-img {
  width: 100%; border-radius: var(--radius);
  margin-bottom: 40px; box-shadow: var(--shadow-h);
  max-height: 480px; object-fit: cover;
}

/* Post content typography */
.post-content { font-size: 16px; color: var(--dark2); line-height: 1.85; }
.post-content h1,.post-content h2,.post-content h3,
.post-content h4,.post-content h5,.post-content h6 {
  font-family: var(--font-head); font-weight: 900;
  color: var(--dark2); margin: 32px 0 14px; line-height: 1.25;
}
.post-content h2 { font-size: 26px; }
.post-content h3 { font-size: 21px; }
.post-content h4 { font-size: 18px; }
.post-content p { margin-bottom: 18px; }
.post-content ul, .post-content ol { margin: 0 0 18px 24px; }
.post-content ul li, .post-content ol li { margin-bottom: 6px; }
.post-content blockquote {
  border-left: 4px solid var(--red);
  padding: 16px 20px; margin: 24px 0;
  background: rgba(192,64,54,.05);
  border-radius: 0 8px 8px 0;
  font-style: italic; color: var(--grey);
}
.post-content img { border-radius: 10px; margin: 20px 0; max-width: 100%; }
.post-content a { color: var(--red); text-decoration: underline; }
.post-content table { width: 100%; border-collapse: collapse; margin-bottom: 18px; }
.post-content table th, .post-content table td { padding: 10px 14px; border: 1px solid var(--border); font-size: 14px; }
.post-content table th { background: var(--light); font-family: var(--font-head); font-weight: 700; }
.post-content strong { color: var(--dark2); }

.post-author-bar {
  margin-top: 48px; padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.post-author-bar-name {
  font-family: var(--font-head); font-weight: 800;
  font-size: 15px; color: var(--dark2);
}
.post-author-bar-name span { color: var(--red); }
.post-back-btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--red); color: #fff;
  font-family: var(--font-head); font-weight: 700;
  font-size: 13px; padding: 10px 20px; border-radius: 8px;
  transition: background .2s;
}
.post-back-btn:hover { background: var(--red-d); }

/* ═══════════════════════════════════════════════════════════
   DASHBOARD PAGES
   ═══════════════════════════════════════════════════════════ */
.dash-header {
  background: var(--dark); padding: 56px 0 40px;
  position: relative; overflow: hidden;
}
.dash-header::before {
  content: ''; position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(192,64,54,.35) 0%, transparent 60%);
  pointer-events: none;
}
.dash-header-inner { position: relative; }
.dash-header-title {
  font-family: var(--font-head); font-weight: 900;
  font-size: clamp(22px, 3vw, 36px); color: #fff;
  margin-bottom: 6px;
}
.dash-header-sub { font-size: 14px; color: rgba(255,255,255,.55); }

.dash-main { padding: 40px 0 64px; background: var(--light); }

/* Dashboard card */
.dash-card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
}
.dash-card-head {
  padding: 18px 22px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.dash-card-title {
  font-family: var(--font-head); font-weight: 800;
  font-size: 16px; color: var(--dark2);
}
.dash-card-body { padding: 22px; }

/* Table */
.dash-table { width: 100%; border-collapse: collapse; }
.dash-table th {
  text-align: left; padding: 11px 14px;
  font-family: var(--font-head); font-weight: 700;
  font-size: 11px; text-transform: uppercase; letter-spacing: .8px;
  color: var(--grey); background: var(--light);
  border-bottom: 1px solid var(--border);
}
.dash-table td {
  padding: 13px 14px; font-size: 13px;
  color: var(--dark2); border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.dash-table tr:last-child td { border-bottom: none; }
.dash-table tr:hover td { background: rgba(192,64,54,.025); }
.dash-table td a { color: var(--dark2); font-family: var(--font-head); font-weight: 600; }
.dash-table td a:hover { color: var(--red); }

/* Badges */
.badge-pub {
  display: inline-block; padding: 3px 10px; border-radius: 20px;
  font-size: 10px; font-weight: 800; font-family: var(--font-head);
  text-transform: uppercase; letter-spacing: .5px;
}
.badge-pub.live { background: rgba(34,197,94,.12); color: #16a34a; }
.badge-pub.draft { background: rgba(107,114,128,.12); color: #6b7280; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-head); font-weight: 700;
  font-size: 13px; padding: 8px 16px; border-radius: 8px;
  border: none; cursor: pointer; transition: all .18s;
  text-decoration: none;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-d); }
.btn-edit { background: rgba(59,130,246,.1); color: #2563eb; }
.btn-edit:hover { background: rgba(59,130,246,.2); }
.btn-delete { background: rgba(239,68,68,.1); color: #dc2626; }
.btn-delete:hover { background: rgba(239,68,68,.2); }
.btn-back { background: var(--light); color: var(--dark2); border: 1px solid var(--border); }
.btn-back:hover { background: var(--border); }
.btn-sm { padding: 6px 12px; font-size: 12px; }
.btn-lg { padding: 13px 28px; font-size: 15px; }

/* Forms */
.form-wrap { max-width: 860px; }
.form-section { margin-bottom: 28px; }
.form-section-title {
  font-family: var(--font-head); font-weight: 800;
  font-size: 15px; color: var(--dark2);
  margin-bottom: 16px; padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 8px;
}
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-label {
  display: block; font-family: var(--font-head); font-weight: 700;
  font-size: 13px; color: var(--dark2); margin-bottom: 7px;
}
.form-label span { color: var(--red); }
.form-control {
  display: block; width: 100%;
  padding: 10px 14px; border: 1px solid var(--border);
  border-radius: 8px; font-family: var(--font-body);
  font-size: 14px; color: var(--dark2);
  background: var(--white); outline: none;
  transition: border-color .18s, box-shadow .18s;
}
.form-control:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(192,64,54,.12);
}
.form-control-sm { padding: 8px 12px; font-size: 13px; }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-hint { font-size: 11px; color: var(--grey); margin-top: 5px; }
.form-check { display: flex; align-items: center; gap: 10px; }
.form-check-input { width: 18px; height: 18px; cursor: pointer; accent-color: var(--red); }
.form-check-label { font-size: 13px; color: var(--dark2); font-family: var(--font-head); font-weight: 600; cursor: pointer; }

.ck-editor__editable { min-height: 350px !important; border-radius: 0 0 8px 8px !important; }
.ck.ck-toolbar { border-radius: 8px 8px 0 0 !important; border-color: var(--border) !important; }
.ck.ck-editor__main .ck-editor__editable { border-color: var(--border) !important; }
.ck.ck-editor__main .ck-editor__editable.ck-focused { border-color: var(--red) !important; box-shadow: 0 0 0 3px rgba(192,64,54,.12) !important; }

/* Login */
.login-wrap {
  min-height: calc(100vh - 140px);
  display: flex; align-items: center; justify-content: center;
  padding: 40px 24px;
  background: linear-gradient(135deg, var(--dark) 0%, #2a0d0d 100%);
}
.login-card {
  background: var(--white); border-radius: 16px;
  width: 100%; max-width: 420px;
  padding: 40px 36px; box-shadow: 0 24px 64px rgba(0,0,0,.3);
}
.login-logo { text-align: center; margin-bottom: 28px; }
.login-logo img { height: 48px; margin: 0 auto 10px; }
.login-title {
  font-family: var(--font-head); font-weight: 900;
  font-size: 22px; color: var(--dark2); text-align: center; margin-bottom: 6px;
}
.login-sub { font-size: 13px; color: var(--grey); text-align: center; margin-bottom: 28px; }
.login-error {
  background: rgba(239,68,68,.08); border: 1px solid rgba(239,68,68,.25);
  color: #dc2626; border-radius: 8px; padding: 10px 14px;
  font-size: 13px; margin-bottom: 16px;
}
.login-success {
  background: rgba(34,197,94,.08); border: 1px solid rgba(34,197,94,.25);
  color: #16a34a; border-radius: 8px; padding: 10px 14px;
  font-size: 13px; margin-bottom: 16px;
}
.login-btn {
  width: 100%; background: var(--red); color: #fff;
  font-family: var(--font-head); font-weight: 800;
  font-size: 14px; padding: 13px; border: none;
  border-radius: 10px; cursor: pointer; transition: background .2s;
}
.login-btn:hover { background: var(--red-d); }
.login-btn:disabled { opacity: .6; cursor: not-allowed; }

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
.blog-footer { background: var(--dark); padding: 48px 0 0; }
.blog-footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px; margin-bottom: 40px;
}
.bf-brand-title {
  font-family: var(--font-head); font-weight: 900;
  font-size: 18px; color: var(--red); margin-bottom: 4px;
}
.bf-brand-sub {
  font-size: 11px; color: rgba(255,255,255,.4);
  font-family: var(--font-head); font-weight: 600;
  text-transform: uppercase; letter-spacing: .8px;
}
.bf-brand-desc {
  font-size: 13px; color: rgba(255,255,255,.5);
  line-height: 1.7; margin: 12px 0 18px;
}
.bf-social { display: flex; gap: 10px; }
.bf-social-link {
  width: 34px; height: 34px; border-radius: 8px;
  background: rgba(255,255,255,.07);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6); font-size: 14px;
  transition: all .18s;
}
.bf-social-link:hover { background: var(--red); color: #fff; }

.bf-col-title {
  font-family: var(--font-head); font-weight: 800;
  font-size: 13px; color: rgba(255,255,255,.8);
  text-transform: uppercase; letter-spacing: .8px;
  margin-bottom: 14px; padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.bf-links { display: flex; flex-direction: column; gap: 8px; }
.bf-link { font-size: 13px; color: rgba(255,255,255,.5); transition: color .18s; }
.bf-link:hover { color: var(--gold); }

.blog-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 16px 0; text-align: center;
  font-size: 12px; color: rgba(255,255,255,.35);
}
.blog-footer-bottom a { color: rgba(255,255,255,.35); }
.blog-footer-bottom a:hover { color: var(--gold); }

/* ═══════════════════════════════════════════════════════════
   ALERTS
   ═══════════════════════════════════════════════════════════ */
.alert {
  padding: 13px 18px; border-radius: 8px;
  font-size: 13px; margin-bottom: 20px;
  display: flex; align-items: center; gap: 10px;
}
.alert-success { background: rgba(34,197,94,.09); border: 1px solid rgba(34,197,94,.25); color: #16a34a; }
.alert-error   { background: rgba(239,68,68,.08); border: 1px solid rgba(239,68,68,.2);  color: #dc2626; }
.alert-info    { background: rgba(59,130,246,.08); border: 1px solid rgba(59,130,246,.2); color: #2563eb; }
.alert-icon    { font-size: 16px; flex-shrink: 0; }

/* ═══════════════════════════════════════════════════════════
   UTILITIES
   ═══════════════════════════════════════════════════════════ */
.mt-0{margin-top:0}.mt-1{margin-top:8px}.mt-2{margin-top:16px}.mt-3{margin-top:24px}.mt-4{margin-top:32px}
.mb-0{margin-bottom:0}.mb-1{margin-bottom:8px}.mb-2{margin-bottom:16px}.mb-3{margin-bottom:24px}.mb-4{margin-bottom:32px}
.text-red{color:var(--red)}.text-gold{color:var(--gold)}.text-grey{color:var(--grey)}
.text-center{text-align:center}.text-right{text-align:right}
.d-flex{display:flex}.align-center{align-items:center}.justify-between{justify-content:space-between}.gap-2{gap:8px}.gap-3{gap:16px}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .blog-layout { grid-template-columns: 1fr 280px; }
  .blog-statsband .container { grid-template-columns: repeat(3,1fr); gap: 20px; }
  .bsb-item + .bsb-item::before { display: none; }
  .blog-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .blog-layout { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-sidebar { display: none; } /* hidden on mobile, shown via toggle */
  .blog-hamburger { display: flex; }
  .blog-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); flex-direction: column; align-items: stretch; padding: 12px 24px 20px; border-bottom: 1px solid var(--border); box-shadow: 0 8px 24px rgba(0,0,0,.08); }
  .blog-nav.open { display: flex; }
  .blog-nav-cta { margin-left: 0; }
  .blog-header { position: relative; }
  .blog-footer-grid { grid-template-columns: 1fr; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .blog-statsband .container { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 600px) {
  .blog-hero { min-height: 380px; }
  .blog-hero-title { font-size: 22px; }
  .blog-cats-bar { top: 65px; }
  .blog-cats-bar .container { padding-top: 0; padding-bottom: 0; }
  .blog-statsband .container { grid-template-columns: 1fr 1fr; }
  .login-card { padding: 28px 20px; }
}

/* ═══════════════════════════════════════════════════════════
   SINGLE POST PAGE  (post- prefix)
   ═══════════════════════════════════════════════════════════ */

/* ── Hero ────────────────────────────────────────────────── */
.post-hero {
  position: relative;
  background: linear-gradient(160deg, #1a0505 0%, #2d0a0a 60%, #1a0505 100%);
  padding: 52px 0 0;
  overflow: hidden;
}
.post-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(192,64,54,.18) 0%, transparent 65%);
  pointer-events: none;
}
.post-hero-inner { position: relative; max-width: 900px; }

.post-cat-pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--red); color: #fff;
  font-family: var(--font-head); font-weight: 800;
  font-size: 10px; text-transform: uppercase; letter-spacing: 1.5px;
  padding: 5px 14px; border-radius: 30px; margin-bottom: 18px;
}
.post-hero-title {
  font-family: var(--font-head); font-weight: 900;
  font-size: clamp(24px, 3.8vw, 44px);
  color: #fff; line-height: 1.17; margin-bottom: 20px; letter-spacing: -.3px;
}
.post-hero-byline {
  display: flex; align-items: center; gap: 20px;
  flex-wrap: wrap; padding-bottom: 28px;
}
.post-hero-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--red); display: flex; align-items: center;
  justify-content: center; font-family: var(--font-head);
  font-weight: 900; font-size: 15px; color: #fff; flex-shrink: 0;
}
.post-hero-author-name {
  font-family: var(--font-head); font-weight: 800;
  font-size: 14px; color: #fff; line-height: 1;
}
.post-hero-author-label { font-size: 11px; color: rgba(255,255,255,.5); margin-top: 2px; }
.post-hero-div { width: 1px; height: 28px; background: rgba(255,255,255,.15); }
.post-hero-meta {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: rgba(255,255,255,.55);
  font-family: var(--font-head); font-weight: 600;
}

/* ── Featured image ──────────────────────────────────────── */
.post-feat-wrap {
  background: var(--dark2);
}
.post-feat-img-new {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ── Main layout ─────────────────────────────────────────── */
.post-page-bg { background: var(--light); }
.post-page-wrap {
  max-width: 1200px; margin: 0 auto;
  padding: 0 24px 80px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  align-items: start;
}

/* ── Article card ────────────────────────────────────────── */
.post-article-card {
  background: var(--white);
  border-radius: 0 0 16px 16px;
  box-shadow: 0 4px 32px rgba(0,0,0,.07);
  overflow: hidden;
}
.post-article-body { padding: 40px 48px; }

/* ── Content typography ──────────────────────────────────── */
.post-content-new {
  font-size: 17px; color: #2d2d2d;
  line-height: 1.9; font-family: var(--font-body);
}
.post-content-new h2,
.post-content-new h3,
.post-content-new h4 {
  font-family: var(--font-head); font-weight: 900;
  color: var(--dark2); margin: 36px 0 14px; line-height: 1.25;
}
.post-content-new h2 { font-size: 28px; border-bottom: 2px solid var(--border); padding-bottom: 8px; }
.post-content-new h3 { font-size: 22px; }
.post-content-new h4 { font-size: 18px; }
.post-content-new p  { margin-bottom: 20px; }
.post-content-new ul,
.post-content-new ol { margin: 0 0 20px 26px; }
.post-content-new li { margin-bottom: 8px; }
.post-content-new blockquote {
  border-left: 5px solid var(--red);
  padding: 20px 24px; margin: 28px 0;
  background: rgba(192,64,54,.04);
  border-radius: 0 12px 12px 0;
  font-size: 18px; font-style: italic; color: #444; line-height: 1.7;
}
.post-content-new img {
  border-radius: 12px; margin: 24px 0;
  max-width: 100%; box-shadow: 0 4px 20px rgba(0,0,0,.1);
}
.post-content-new a { color: var(--red); text-decoration: underline; }
.post-content-new strong { color: var(--dark2); font-weight: 800; }
.post-content-new table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.post-content-new table th {
  background: var(--dark2); color: #fff;
  padding: 12px 16px; font-family: var(--font-head);
  font-weight: 700; font-size: 13px; text-align: left;
}
.post-content-new table td { padding: 11px 16px; border-bottom: 1px solid var(--border); font-size: 14px; }
.post-content-new table tr:nth-child(even) td { background: var(--light); }
.post-content-new code {
  background: var(--light); border: 1px solid var(--border);
  padding: 2px 7px; border-radius: 4px; font-size: 14px; color: var(--red);
}

/* ── Share bar ───────────────────────────────────────────── */
.post-share-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 20px 0; border-top: 1px solid var(--border); margin-top: 40px;
  flex-wrap: wrap;
}
.post-share-label {
  font-family: var(--font-head); font-weight: 800;
  font-size: 12px; color: var(--grey);
  text-transform: uppercase; letter-spacing: 1px; margin-right: 4px;
}
.post-share-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-head); font-weight: 700; font-size: 12px;
  padding: 8px 16px; border-radius: 6px;
  text-decoration: none; border: none; cursor: pointer; transition: opacity .18s;
}
.post-share-btn:hover { opacity: .82; }
.post-share-btn.fb { background: #1877f2; color: #fff; }
.post-share-btn.tw { background: #000;    color: #fff; }
.post-share-btn.wa { background: #25d366; color: #fff; }
.post-share-btn.lk { background: #0a66c2; color: #fff; }
.post-share-btn.cp { background: var(--light); color: var(--dark2); border: 1px solid var(--border); }

/* ── Author card ─────────────────────────────────────────── */
.post-author-card {
  margin-top: 40px; padding: 24px 28px;
  background: var(--light); border-radius: 14px;
  border-left: 5px solid var(--red);
  display: flex; align-items: center; gap: 18px;
}
.post-author-avatar-lg {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--red); display: flex; align-items: center;
  justify-content: center; font-family: var(--font-head);
  font-weight: 900; font-size: 22px; color: #fff; flex-shrink: 0;
}
.post-author-card-label {
  font-size: 11px; color: var(--grey); font-family: var(--font-head);
  font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px;
}
.post-author-card-name {
  font-family: var(--font-head); font-weight: 900; font-size: 17px; color: var(--dark2);
}

/* ── Back nav ────────────────────────────────────────────── */
.post-back-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 48px; border-top: 1px solid var(--border); background: var(--light);
}

/* ── Sidebar ─────────────────────────────────────────────── */
.post-sidebar {
  position: sticky; top: 90px;
  display: flex; flex-direction: column; gap: 20px;
}
.post-sw { background: var(--white); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; }
.post-sw-head {
  background: var(--dark2); padding: 14px 20px;
  font-family: var(--font-head); font-weight: 900;
  font-size: 12px; color: rgba(255,255,255,.9);
  text-transform: uppercase; letter-spacing: 1.2px;
  display: flex; align-items: center; gap: 8px;
}
.post-sw-body { padding: 16px 20px; }

.post-info-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 0; border-bottom: 1px solid var(--border);
}
.post-info-row:last-child { border-bottom: none; }
.post-info-lbl { font-size: 12px; color: var(--grey); font-family: var(--font-head); font-weight: 600; }
.post-info-val { font-size: 12px; font-weight: 700; font-family: var(--font-head); color: var(--dark2); }

.post-sw-cat {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 0; border-bottom: 1px solid var(--border);
  font-family: var(--font-head); font-weight: 700;
  font-size: 13px; color: var(--dark2); transition: color .18s;
}
.post-sw-cat:last-child { border-bottom: none; }
.post-sw-cat:hover { color: var(--red); }
.post-sw-cat-count {
  background: var(--light); color: var(--grey);
  font-size: 10px; font-weight: 800; padding: 2px 8px; border-radius: 20px;
}

.post-sw-cta {
  background: linear-gradient(135deg, var(--red), #8b1d15);
  border-radius: 14px; padding: 24px 20px; text-align: center;
}
.post-sw-cta-title { font-family: var(--font-head); font-weight: 900; font-size: 16px; color: #fff; margin-bottom: 8px; }
.post-sw-cta-text  { font-size: 12px; color: rgba(255,255,255,.75); line-height: 1.6; margin-bottom: 16px; }
.post-sw-cta-btn {
  display: block; background: var(--gold); color: var(--dark);
  font-family: var(--font-head); font-weight: 800; font-size: 13px;
  padding: 10px 18px; border-radius: 8px;
}
.post-sw-cta-btn:hover { opacity: .9; }

/* ── Related articles ────────────────────────────────────── */
.related-section { max-width: 1200px; margin: 0 auto; padding: 48px 24px 64px; }
.related-head {
  font-family: var(--font-head); font-weight: 900;
  font-size: 22px; color: var(--dark2);
  margin-bottom: 24px; padding-bottom: 12px;
  border-bottom: 3px solid var(--red); display: inline-block;
}
.related-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }

/* ── Post responsive ─────────────────────────────────────── */
@media (max-width: 1024px) {
  .post-page-wrap { grid-template-columns: 1fr 260px; gap: 24px; }
  .post-article-body { padding: 32px 32px; }
  .post-back-nav { padding: 16px 32px; }
  .related-grid { grid-template-columns: repeat(2,1fr); }
  .post-feat-img-new { height: 380px; }
}
@media (max-width: 860px) {
  .post-page-wrap { grid-template-columns: 1fr; }
  .post-sidebar { display: none; }
  .post-article-body { padding: 24px 20px; }
  .post-back-nav { padding: 14px 20px; }
  .post-content-new { font-size: 16px; }
  .related-grid { grid-template-columns: 1fr; }
  .post-feat-img-new { height: 280px; }
}
@media (max-width: 600px) {
  .post-hero { padding: 36px 0 0; }
  .post-hero-title { font-size: 22px; }
  .post-hero-byline { gap: 10px; }
  .post-hero-div { display: none; }
  .post-feat-img-new { height: 220px; }
  .post-article-body { padding: 18px 14px; }
  .post-back-nav { padding: 14px; flex-direction: column; gap: 10px; text-align: center; }
}