@charset "UTF-8";
/**
 * JISCOVAS Standalone Veterinary Blog - Modern Publication Stylesheet
 */
:root {
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-serif: 'Lora', Georgia, 'Times New Roman', serif;
  --primary: #0b2545;
  --primary-light: #134074;
  --accent: #0077b6;
  --accent-hover: #0284c7;
  --accent-soft: #e0f2fe;
  --surface: #ffffff;
  --surface-alt: #f8fafc;
  --surface-card: #ffffff;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --text: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
  --shadow-hover: 0 12px 30px rgba(15, 23, 42, 0.12);
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  color: var(--text-body);
  background-color: var(--surface-alt);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: var(--transition);
}
a:hover {
  color: var(--accent-hover);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.blog-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Top Bar ───────────────────────────────────────────────────────────── */
.blog-topbar {
  background: var(--primary);
  color: #94a3b8;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.blog-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.blog-topbar-contact {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.topbar-item i {
  color: #38bdf8;
  font-size: 12px;
}
.topbar-item strong {
  color: #f1f5f9;
  font-weight: 600;
}
.topbar-item a {
  color: #e2e8f0;
}
.topbar-item a:hover {
  color: #ffffff;
  text-decoration: underline;
}
.blog-topbar-links {
  display: flex;
  align-items: center;
  gap: 16px;
}
.blog-topbar-links a {
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 500;
}
.blog-topbar-links a:hover {
  color: #ffffff;
}

/* ─── Navigation Header ─────────────────────────────────────────────────── */
.blog-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.blog-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 24px;
}
.blog-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.blog-brand-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
}
.blog-brand-text {
  display: flex;
  flex-direction: column;
}
.blog-brand-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.blog-brand-subtitle {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.blog-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.blog-nav-item {
  position: relative;
}
.blog-nav-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-body);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.blog-nav-link:hover, .blog-nav-link.active {
  color: var(--accent);
  background: var(--surface-alt);
}
.blog-nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 270px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 8px 0;
  display: none;
  z-index: 200;
}
.blog-nav-item:hover .blog-nav-dropdown {
  display: block;
}
.blog-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-body);
  transition: var(--transition);
}
.blog-dropdown-item:hover {
  background: var(--surface-alt);
  color: var(--accent);
  padding-left: 22px;
}
.blog-dropdown-divider {
  height: 1px;
  background: var(--border-light);
  margin: 6px 0;
}

.blog-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.btn-site-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  background: var(--surface-alt);
  border: 1px solid var(--border);
}
.btn-site-link:hover {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: #bae6fd;
}
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 20px;
  color: var(--primary);
  cursor: pointer;
  padding: 8px;
}

/* ─── Hero / Featured Article ───────────────────────────────────────────── */
.blog-hero {
  padding: 40px 0 20px 0;
}
.hero-card {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.hero-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.hero-card-img {
  position: relative;
  overflow: hidden;
  min-height: 340px;
}
.hero-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.hero-card:hover .hero-card-img img {
  transform: scale(1.03);
}
.hero-card-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background: var(--accent);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 14px;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.hero-card-content {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero-card-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.3;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.hero-card-title a {
  color: inherit;
}
.hero-card-title a:hover {
  color: var(--accent);
}
.hero-card-excerpt {
  color: var(--text-body);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
}
.hero-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-light);
  padding-top: 18px;
}
.author-pill {
  display: flex;
  align-items: center;
  gap: 10px;
}
.author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}
.author-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}
.btn-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
}
.btn-read-more:hover {
  gap: 12px;
}

/* ─── Category Filter Bar ───────────────────────────────────────────────── */
.category-filter-strip {
  margin: 30px 0 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
}
.category-pills {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  background: var(--surface);
  color: var(--text-muted);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.cat-pill:hover, .cat-pill.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}
.cat-pill-count {
  font-size: 11px;
  opacity: 0.8;
}

.search-box-wrap {
  position: relative;
  min-width: 260px;
}
.search-input {
  width: 100%;
  padding: 9px 14px 9px 38px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 13px;
  outline: none;
  font-family: inherit;
  transition: var(--transition);
}
.search-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.15);
}
.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 13px;
  pointer-events: none;
}

/* ─── Main Two-Column Layout ────────────────────────────────────────────── */
.blog-main-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 36px;
  margin: 20px 0 60px 0;
}

/* ─── Article Cards Grid ────────────────────────────────────────────────── */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.article-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.article-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
  border-color: #cbd5e1;
}
.card-thumb {
  position: relative;
  overflow: hidden;
  height: 200px;
}
.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.article-card:hover .card-thumb img {
  transform: scale(1.05);
}
.card-category-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(11, 37, 69, 0.9);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}
.card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.35;
  margin-bottom: 10px;
}
.card-title a {
  color: inherit;
}
.card-title a:hover {
  color: var(--accent);
}
.card-excerpt {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.55;
  margin-bottom: 18px;
  flex-grow: 1;
}
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-light);
  padding-top: 14px;
  font-size: 12px;
}

/* ─── Sidebar ───────────────────────────────────────────────────────────── */
.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.sidebar-widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.widget-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
  display: flex;
  align-items: center;
  gap: 10px;
}
.widget-title i {
  color: var(--accent);
}

/* Helplines Widget */
.helpline-box {
  background: linear-gradient(135deg, #0b2545 0%, #134074 100%);
  color: #ffffff;
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.helpline-box-title {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #38bdf8;
}
.helpline-box-sub {
  font-size: 13px;
  color: #cbd5e1;
  margin-bottom: 18px;
  line-height: 1.4;
}
.helpline-entry {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 12px;
  margin-bottom: 12px;
}
.helpline-entry:last-child {
  margin-bottom: 0;
}
.helpline-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: #93c5fd;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.helpline-numbers {
  font-size: 15px;
  font-weight: 700;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
}
.helpline-numbers a {
  color: #ffffff;
}
.helpline-numbers a:hover {
  color: #38bdf8;
  text-decoration: underline;
}

/* Sidebar Categories */
.sidebar-cat-list {
  list-style: none;
}
.sidebar-cat-item {
  border-bottom: 1px solid var(--border-light);
}
.sidebar-cat-item:last-child {
  border-bottom: none;
}
.sidebar-cat-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-body);
}
.sidebar-cat-link:hover {
  color: var(--accent);
  padding-left: 6px;
}
.sidebar-cat-badge {
  background: var(--surface-alt);
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
}

/* Sidebar Recent Posts */
.sidebar-post-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}
.sidebar-post-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.sidebar-post-thumb {
  width: 72px;
  height: 60px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}
.sidebar-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sidebar-post-info {
  display: flex;
  flex-direction: column;
}
.sidebar-post-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.35;
  margin-bottom: 4px;
}
.sidebar-post-title a {
  color: inherit;
}
.sidebar-post-title a:hover {
  color: var(--accent);
}
.sidebar-post-date {
  font-size: 11px;
  color: var(--text-muted);
}

/* Tag Cloud */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag-pill {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--surface-alt);
  padding: 5px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
}
.tag-pill:hover {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: #bae6fd;
}

/* Pagination */
.blog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}
.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-body);
  font-size: 14px;
  font-weight: 700;
  transition: var(--transition);
}
.page-btn:hover {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: #bae6fd;
}
.page-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

/* ─── Single Article Page ───────────────────────────────────────────────── */
.article-header {
  padding: 30px 0 20px 0;
  max-width: 100%;
}
.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.breadcrumbs a {
  color: var(--text-muted);
}
.breadcrumbs a:hover {
  color: var(--accent);
}
.article-title {
  font-size: 38px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.article-summary {
  font-size: 18px;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 24px;
  font-weight: 400;
}
.article-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.article-meta-left {
  display: flex;
  align-items: center;
  gap: 16px;
}
.article-meta-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.article-hero-img {
  width: 100%;
  margin: 0 0 28px 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.article-hero-img img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
}

/* Article Content Layout: Main + Right Sidebar */
.article-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 40px;
  margin: 30px 0 60px 0;
  align-items: start;
}
.article-main-col {
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 26px;
  position: sticky;
  top: 90px;
}

/* Horizontal Share Bar */
.share-bar-horizontal {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px 0;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
}
.share-bar-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  margin-right: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.share-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  transition: var(--transition);
}
.share-pill:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  color: #fff;
}
.share-pill.wa { background: #25d366; }
.share-pill.fb { background: #1877f2; }
.share-pill.tw { background: #000000; }
.share-pill.li { background: #0a66c2; }
.share-pill.cp {
  background: var(--surface-alt);
  color: var(--text-body);
  border: 1px solid var(--border);
  cursor: pointer;
}
.share-pill.cp:hover {
  background: var(--accent-soft);
  color: var(--accent);
}

/* Table of Contents Widget */
.toc-widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.toc-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 8px;
}
.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.toc-item {
  margin-bottom: 8px;
  padding-left: 14px;
  position: relative;
  font-size: 13.5px;
  line-height: 1.45;
}
.toc-item::before {
  content: "\2022";
  color: var(--accent);
  position: absolute;
  left: 0;
  font-size: 16px;
  line-height: 1;
}
.toc-link {
  color: var(--text-body);
  font-weight: 600;
  transition: var(--transition);
}
.toc-link:hover, .toc-link.active {
  color: var(--accent);
  padding-left: 4px;
}

/* Author Spotlight Card in Sidebar */
.author-spotlight {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.author-spotlight-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 800;
  margin: 0 auto 12px auto;
  box-shadow: 0 4px 14px rgba(11, 37, 69, 0.2);
}
.author-spotlight-name {
  font-size: 16.5px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 2px;
}
.author-spotlight-role {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 12px;
}
.author-spotlight-desc {
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.5;
  margin-bottom: 16px;
}
.author-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  color: #0369a1;
  background: #e0f2fe;
  padding: 4px 12px;
  border-radius: 14px;
}

/* Trending Articles List */
.trending-post-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
}
.trending-post-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.trending-number {
  font-size: 20px;
  font-weight: 900;
  color: #94a3b8;
  font-family: var(--font-sans);
  line-height: 1;
  width: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}
.trending-info {
  flex: 1;
}
.trending-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.35;
  margin-bottom: 4px;
}
.trending-title a {
  color: inherit;
}
.trending-title a:hover {
  color: var(--accent);
}
.trending-meta {
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Admission Callout Banner Widget */
.admission-cta-widget {
  background: linear-gradient(135deg, #0b2545 0%, #0369a1 100%);
  color: #ffffff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  text-align: center;
}
.admission-cta-widget h4 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 8px;
  color: #fff;
}
.admission-cta-widget p {
  font-size: 13px;
  color: #e0f2fe;
  line-height: 1.5;
  margin-bottom: 16px;
}
.btn-cta-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: #0369a1;
  font-size: 13px;
  font-weight: 800;
  padding: 9px 20px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: var(--transition);
}
.btn-cta-white:hover {
  background: #f8fafc;
  color: #0284c7;
  transform: translateY(-2px);
}

.article-body {
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.8;
  color: #1e293b;
}
.article-body h2 {
  font-family: var(--font-sans);
  font-size: 26px;
  font-weight: 800;
  color: var(--primary);
  margin: 40px 0 16px 0;
  letter-spacing: -0.01em;
}
.article-body h3 {
  font-family: var(--font-sans);
  font-size: 21px;
  font-weight: 700;
  color: var(--primary-light);
  margin: 30px 0 14px 0;
}
.article-body p {
  margin-bottom: 24px;
}
.article-body ul, .article-body ol {
  margin: 0 0 24px 24px;
}
.article-body li {
  margin-bottom: 8px;
}
.article-body blockquote {
  font-style: italic;
  border-left: 4px solid var(--accent);
  padding: 12px 20px;
  margin: 30px 0;
  background: var(--surface-alt);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-body);
}
.article-body img {
  border-radius: var(--radius);
  margin: 24px 0;
  box-shadow: var(--shadow-sm);
}

/* Author Box */
.author-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  gap: 20px;
  margin: 40px 0;
  box-shadow: var(--shadow-sm);
}
.author-card-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  flex-shrink: 0;
}
.author-card-info h4 {
  font-size: 17px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}
.author-card-info p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.5;
}

/* Post Navigation (Prev/Next) */
.post-nav-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 40px 0;
}
.post-nav-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.post-nav-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}
.post-nav-dir {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.post-nav-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.4;
}

/* ─── Footer ────────────────────────────────────────────────────────────── */
.blog-footer {
  background: var(--primary);
  color: #94a3b8;
  padding: 60px 0 30px 0;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.blog-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-col h4 {
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 18px;
}
.footer-col p {
  font-size: 13px;
  line-height: 1.6;
  color: #94a3b8;
}
.footer-col ul {
  list-style: none;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul li a {
  color: #cbd5e1;
  font-size: 13px;
}
.footer-col ul li a:hover {
  color: #ffffff;
  padding-left: 4px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #64748b;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a {
  color: #94a3b8;
}
.footer-bottom a:hover {
  color: #ffffff;
}

/* ─── Off-Canvas Drawer & Pill Stack ────────────────────────────────────── */
.blog-offcanvas-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 37, 69, 0.65);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.blog-offcanvas-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.blog-offcanvas {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 330px;
  max-width: 88vw;
  background: var(--surface);
  z-index: 999;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 32px rgba(11, 37, 69, 0.25);
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}
.blog-offcanvas.active {
  transform: translateX(0);
}

.offcanvas-header {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  background: var(--surface-alt);
}
.offcanvas-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.offcanvas-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
}
.offcanvas-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
}
.offcanvas-sub {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.offcanvas-close-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--text-body);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition);
}
.offcanvas-close-btn:hover {
  background: #fee2e2;
  color: #dc2626;
  border-color: #fecaca;
}

.offcanvas-body {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
}
.offcanvas-section-title {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

/* Offcanvas Navigation */
.offcanvas-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.offcanvas-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  background: var(--surface-alt);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}
.offcanvas-nav-link:hover, .offcanvas-nav-link.active {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: #bae6fd;
}
.offcanvas-nav-link i {
  width: 18px;
  color: var(--accent);
  font-size: 15px;
}

/* Pill Stack */
.pill-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pill-stack-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.pill-stack-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.pill-stack-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
.pill-stack-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.pill-stack-sub {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}
.pill-stack-val {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--primary);
}
.pill-stack-action {
  font-size: 12px;
  color: var(--text-muted);
}

.pill-academics .pill-stack-icon {
  background: #fef3c7;
  color: #b45309;
}
.pill-academics:hover {
  border-color: #fde68a;
}
.pill-clinic .pill-stack-icon {
  background: #e0f2fe;
  color: #0369a1;
}
.pill-clinic:hover {
  border-color: #bae6fd;
}
.pill-portal .pill-stack-icon {
  background: #f1f5f9;
  color: #334155;
}
.pill-cpanel .pill-stack-icon {
  background: #ede9fe;
  color: #6d28d9;
}

.offcanvas-footer {
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  background: var(--surface-alt);
  font-size: 11.5px;
  color: var(--text-muted);
  text-align: center;
}

/* ─── Responsive Media Queries ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-card {
    grid-template-columns: 1fr;
  }
  .hero-card-img {
    min-height: 240px;
  }
  .blog-main-grid {
    grid-template-columns: 1fr;
  }
  .article-page-layout {
    grid-template-columns: 1fr;
  }
  .article-sidebar {
    position: static;
  }
  .blog-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 991px) {
  /* In mobile/tablet: HIDE TOPBAR COMPLETELY */
  .blog-topbar {
    display: none !important;
  }

  /* In mobile header: ONLY DISPLAY LOGO AND HAMBURGER OPTION */
  .blog-brand-text {
    display: none !important;
  }
  .blog-nav {
    display: none !important;
  }
  .blog-header-actions {
    display: none !important;
  }

  /* Hamburger Button */
  .mobile-nav-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    background: var(--surface-alt);
    border: 1px solid var(--border);
    color: var(--primary);
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
  }
  .mobile-nav-toggle:hover {
    background: var(--accent-soft);
    color: var(--accent);
    border-color: #bae6fd;
  }

  .blog-header-inner {
    padding: 12px 0;
  }
  .blog-brand-logo {
    height: 44px;
  }
}

@media (max-width: 768px) {
  .article-main-col {
    padding: 24px 18px;
  }
  .articles-grid {
    grid-template-columns: 1fr;
  }
  .article-title {
    font-size: 26px;
  }
  .post-nav-grid {
    grid-template-columns: 1fr;
  }
  .blog-footer-grid {
    grid-template-columns: 1fr;
  }
}
