/* NNEP HTMLy Premium Blog Theme Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --font-main: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --color-primary: #2e3092;        /* NNEP Primary Royal Navy Blue */
  --color-primary-hover: #20216d;  /* Darker Navy on hover */
  --color-primary-light: #eef1fa;  /* Soft Brand Navy tint */
  --color-secondary: #f0c016;      /* NNEP Secondary Golden Yellow */
  --color-secondary-hover: #dfb010;
  --color-secondary-light: #fef9e8;
  --color-accent-red: #e53940;     /* NNEP Corporate Logo Red */
  --color-dark: #121330;
  --color-heading: #1e2246;
  --color-body: #555555;
  --color-muted: #717d96;
  --color-border: #e8ecf4;
  --color-bg: #f6f7fb;
  --color-card-bg: #ffffff;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 2px 8px rgba(46, 48, 146, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(46, 48, 146, 0.08), 0 8px 10px -6px rgba(46, 48, 146, 0.04);
  --shadow-lg: 0 18px 36px -8px rgba(46, 48, 146, 0.15), 0 6px 14px -4px rgba(46, 48, 146, 0.08);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--color-bg);
  color: var(--color-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

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

/* Main Content Region */
.main-content {
  background-color: #f6f7fb;
}

/* Layout Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 950px;
  margin: 0 auto;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 22px;
  color: var(--color-dark);
  letter-spacing: -0.03em;
}

.brand-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-hover));
  color: #ffffff;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(46, 48, 146, 0.3);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-weight: 600;
  font-size: 14px;
  color: var(--color-muted);
}

.nav-link:hover, .nav-link.active {
  color: var(--color-primary);
}

.btn-subscribe {
  background: var(--color-primary);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 13px;
  box-shadow: 0 4px 14px rgba(30, 64, 175, 0.25);
}

.btn-subscribe:hover {
  background: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(30, 64, 175, 0.35);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--color-dark);
  cursor: pointer;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #1e40af 100%);
  color: #ffffff;
  padding: 72px 0 64px;
  position: relative;
  overflow: hidden;
}

.hero-section::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 70%;
  height: 200%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #93c5fd;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-title {
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.hero-description {
  font-size: 18px;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 32px;
}

/* Search Box */
.hero-search-box {
  max-width: 520px;
  margin: 0 auto;
  position: relative;
}

.hero-search-box form {
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: 40px;
  padding: 6px 8px 6px 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.hero-search-box input {
  flex: 1;
  border: none;
  outline: none;
  font-family: var(--font-main);
  font-size: 15px;
  color: var(--color-dark);
}

.hero-search-box button {
  background: var(--color-primary);
  color: #ffffff;
  border: none;
  padding: 10px 22px;
  border-radius: 30px;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
}

.hero-search-box button:hover {
  background: var(--color-primary-hover);
}

/* Blog Header Section (Matching Homepage theme) */
.blog-header-section {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 48px;
  padding: 10px 16px 0;
}

.blog-main-heading {
  font-family: var(--font-main);
  font-size: 34px;
  font-weight: 600;
  color: #e53940; /* NNEP Brand Red */
  margin-bottom: 6px;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.blog-header-section .svg-icon {
  display: inline-block;
  margin-bottom: 14px;
}

.blog-header-section .svg-icon path {
  stroke: #f0c016; /* Homepage Signature Golden Wavy Flourish */
}

.blog-header-desc {
  font-family: var(--font-main);
  font-size: 16px;
  color: #555555;
  line-height: 1.65;
  margin: 0 auto;
}

/* 3-CARD GRID LAYOUT FOR LIST PAGE */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 56px;
}

/* Blog Card Component - Framed Padded Format Matching Reference Design */
.blog-card {
  background: #ffffff;
  border: 1px solid #e6e8ef;
  border-radius: 20px;
  padding: 16px; /* full padding outside image */
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s ease;
  position: relative;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px -6px rgba(46, 48, 146, 0.12), 0 0 0 1px rgba(46, 48, 146, 0.18);
  border-color: rgba(46, 48, 146, 0.3);
}

/* Cover Image Container */
.card-image-wrap {
  position: relative;
  width: 100%;
  height: 230px;
  border-radius: 14px;
  overflow: hidden;
  background: #eef2fa;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  transition: transform 0.5s ease;
}

.blog-card:hover .card-image {
  transform: scale(1.05);
}

/* Fallback Image Placeholder */
.card-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-primary) 0%, #171946 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  padding: 20px;
  text-align: center;
  border-radius: 14px;
}

.card-placeholder-logo {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #ffffff;
}

.card-placeholder-sub {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-secondary);
  font-weight: 600;
  margin-top: 4px;
}

/* Top-Left Category Pill (Theme Brand Red #e53940 with White Text) */
.card-category-pill {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  background: var(--color-accent-red); /* NNEP Corporate Red #e53940 */
  color: #ffffff !important;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 30px;
  box-shadow: 0 4px 12px rgba(229, 57, 64, 0.35);
  transition: var(--transition);
  display: inline-block;
  line-height: 1.2;
  text-decoration: none;
}

.card-category-pill:hover {
  background: var(--color-primary); /* Shifts to Corporate Navy on hover */
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(46, 48, 146, 0.35);
}

/* Card Meta Row (Creative & Modern Date & Time above Title) */
.card-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12.5px;
  line-height: 1;
  margin-bottom: 10px;
}

.card-meta-date {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #4b5563;
  font-weight: 500;
  font-size: 12.5px;
}

.card-meta-date svg {
  color: var(--color-accent-red);
  flex-shrink: 0;
}

.card-meta-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-secondary);
  display: inline-block;
  opacity: 0.95;
}

.card-meta-time {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #6b7280;
  font-weight: 500;
  font-size: 12px;
}

.card-meta-time svg {
  color: var(--color-primary);
  flex-shrink: 0;
}

/* Card Body Content */
.card-body {
  padding: 16px 4px 4px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Card Title (Bold, modern typography matching reference image) */
.card-title {
  font-family: var(--font-main);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
  color: #111827;
  margin-bottom: 8px;
  letter-spacing: -0.015em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-title a {
  color: #111827;
  transition: color 0.25s ease;
}

.card-title a:hover,
.blog-card:hover .card-title a {
  color: var(--color-primary);
}

/* Card Excerpt / Description (Display 4 lines) */
.card-excerpt {
  font-family: var(--font-main);
  font-size: 14px;
  color: #555555;
  line-height: 1.62;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 4; /* Display 4 lines of content */
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

/* Card Footer Row */
.card-footer-row {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #e7e9f3;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Footer Reading Time on Left */
.card-footer-readtime {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: #6b7280;
  font-weight: 500;
}

.card-footer-readtime svg {
  color: #6b7280;
}

/* Footer Read Action with Circular Arrow Button on Right */
.card-read-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0px;
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.25s ease;
}

.card-arrow-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fef2f2;
  color: var(--color-accent-red);
  display: grid;
  place-items: center;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-read-action:hover,
.blog-card:hover .card-read-action {
  color: var(--color-accent-red);
}

.card-read-action:hover .card-arrow-circle,
.blog-card:hover .card-arrow-circle {
  background: var(--color-accent-red);
  color: #ffffff;
  transform: translate(2px, -2px);
  box-shadow: 0 4px 10px rgba(229, 57, 64, 0.3);
}

/* Pagination */
.pagination-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 48px 0;
}

.pagination-wrapper a, .pagination-wrapper span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 700;
  background: #ffffff;
  border: 1px solid var(--color-border);
  color: var(--color-body);
  transition: var(--transition);
}

.pagination-wrapper a:hover {
  border-color: var(--color-secondary);
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(46, 48, 146, 0.1);
}

.pagination-wrapper .current-page, .pagination-wrapper span.active {
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(46, 48, 146, 0.25);
}

/* BLOG DETAILS PAGE STYLES */
.article-page {
  padding: 40px 0 80px;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
  margin-bottom: 24px;
}

.breadcrumb-nav a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb-nav a:hover {
  color: var(--color-primary);
}

.breadcrumb-separator {
  color: #cbd5e1;
  font-size: 12px;
}

.breadcrumb-current {
  color: #121330;
  font-weight: 600;
  max-width: 400px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* High-Rich Editorial Article Card Container */
.article-card-container {
  background: #ffffff;
  border: 1px solid #e6e8ef;
  border-radius: 20px;
  padding: 48px 52px;
  box-shadow: 0 4px 25px rgba(15, 23, 42, 0.03);
}

.article-header-wrap {
  margin-bottom: 28px;
}

/* Theme Red Category Pill Badge */
.article-category-badge {
  display: inline-block;
  background: var(--color-accent-red);
  color: #ffffff !important;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 18px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(229, 57, 64, 0.22);
  transition: all 0.25s ease;
}

.article-category-badge:hover {
  background: #cf2229;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(229, 57, 64, 0.35);
}

/* Article Title */
.article-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 50px;
  color: #121330;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

/* Article Lead Description */
.article-lead-text {
  font-size: 18px;
  color: #64748b;
  line-height: normal;
  font-weight: 400;
  margin-bottom: 24px;
}

/* Article Meta Bar (Author completely removed, clean theme styling) */
.article-meta-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid #e7e9f3;
  border-bottom: 1px solid #e7e9f3;
  font-size: 13px;
  color: #64748b;
  margin-bottom: 32px;
}

.article-meta-bar .meta-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: #555555;
  font-weight: 500;
}

.article-meta-bar .meta-date svg {
  color: var(--color-accent-red);
}

.article-meta-bar .meta-time svg {
  color: var(--color-primary);
}

.article-meta-bar .meta-read svg {
  color: #d97706;
}

.article-meta-bar .meta-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-secondary);
  display: inline-block;
  opacity: 0.85;
}

.btn-edit-post {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 600;
  border-radius: 6px;
  border: 1px solid #d6deee;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-edit-post:hover {
  background: var(--color-primary);
  color: #ffffff;
}

/* Featured Banner Image */
.article-banner-wrap {
  width: 100%;
  margin: 0 0 36px 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e6e8ef;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.article-banner-image {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

/* Article Body Typography (Optimal Readability & Rich Contrast) */
.article-content-body {
  font-family: var(--font-main);
  font-size: 17.5px;
  line-height: 1.85;
  color: #334155; /* Slate 700 - rich, clear, sharp readability */
  letter-spacing: 0.5px;
}

.article-content-body p {
  font-size: 17.5px;
  line-height: 26px;
  color: #334155;
  margin-bottom: 26px;
  word-break: break-word;
}

.article-content-body strong,
.article-content-body b {
  font-weight: 700;
  color: #121330;
}

.article-content-body h2 {
  font-size: 26px;
  font-weight: 750;
  color: #121330;
  line-height: 1.35;
  margin: 42px 0 18px;
  padding-left: 14px;
  border-left: 4px solid var(--color-primary);
  letter-spacing: -0.02em;
}

.article-content-body h3 {
  font-size: 21px;
  font-weight: 700;
  color: #121330;
  line-height: 1.4;
  margin: 34px 0 14px;
  letter-spacing: -0.015em;
}

.article-content-body h4 {
  font-size: 18px;
  font-weight: 700;
  color: #121330;
  line-height: 1.4;
  margin: 28px 0 12px;
}

.article-content-body a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--color-secondary);
  text-underline-offset: 3px;
  transition: all 0.2s ease;
}

.article-content-body a:hover {
  color: var(--color-accent-red);
  text-decoration-color: var(--color-accent-red);
}

.article-content-body blockquote {
  border-left: 4px solid var(--color-accent-red);
  background: #fdf6f6;
  padding: 22px 28px;
  border-radius: 0 12px 12px 0;
  font-style: italic;
  font-size: 18px;
  line-height: 1.75;
  color: #1e293b;
  margin: 32px 0;
}

.article-content-body blockquote p:last-child {
  margin-bottom: 0;
}

.article-content-body ul,
.article-content-body ol {
  padding-left: 24px;
  margin-bottom: 26px;
  font-size: 17.5px;
  line-height: 1.8;
  color: #334155;
}

.article-content-body li {
  margin-bottom: 10px;
}

.article-content-body li::marker {
  color: var(--color-accent-red);
  font-weight: bold;
}

.article-content-body pre {
  background: #121330;
  color: #f8fafc;
  padding: 22px 24px;
  border-radius: 12px;
  overflow-x: auto;
  font-size: 14.5px;
  line-height: 1.6;
  margin: 32px 0;
  border: 1px solid #1e2246;
}

.article-content-body code {
  background: #f1f3f9;
  color: var(--color-primary);
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 0.9em;
  font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.article-content-body pre code {
  background: transparent;
  color: inherit;
  padding: 0;
}

.article-content-body img {
  border-radius: 12px;
  margin: 28px 0;
  border: 1px solid #e6e8ef;
}

/* Article Tags & Share Bar */
.article-footer-bar {
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid #e7e9f3;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.article-tags-section {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.article-tags-label {
  font-size: 12.5px;
  font-weight: 700;
  color: #121330;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.article-tags-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.article-tags-list a,
.article-tags-section a {
  display: inline-block;
  background: #f1f4fa;
  color: var(--color-primary);
  font-size: 12.5px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 16px;
  border: 1px solid #e1e6f4;
  text-decoration: none;
  transition: all 0.2s ease;
}

.article-tags-list a:hover,
.article-tags-section a:hover {
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
}

.share-buttons-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  background: #f8f9fd;
  padding: 16px 20px;
  border-radius: 12px;
  border: 1px solid #e7eaf3;
}

.share-label {
  font-size: 13.5px;
  font-weight: 700;
  color: #121330;
}

.share-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 600;
  background: #2e3092;
  color: #f1f1f1;
  border: 1px solid #2e3092;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.share-btn:hover {
  background: var(--color-primary-hover);
  color: #ffffff;
  border-color: var(--color-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(46, 48, 146, 0.25);
}

/* Next / Prev Article Cards */
.post-navigation-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.nav-card {
  background: #ffffff;
  border: 1px solid #e6e8ef;
  border-radius: 16px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.nav-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(46, 48, 146, 0.08);
}

.nav-card-label {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-accent-red);
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.nav-card-title {
  font-size: 16px;
  font-weight: 500;
  color: #121330;
  line-height: 1.45;
  transition: color 0.2s ease;
}

.nav-card:hover .nav-card-title {
  color: var(--color-primary);
}

.nav-card-next {
  text-align: right;
}

/* Footer Component */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 64px 0 32px;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand h3 {
  color: #ffffff;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.6;
  max-width: 320px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}

.footer-links-list a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .post-navigation-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-section {
    padding: 48px 0 40px;
  }
  .article-title {
    font-size: 26px;
  }
  .article-card-container {
    padding: 24px 18px;
    border-radius: 16px;
  }
  .article-lead-text {
    font-size: 16px;
    margin-bottom: 18px;
  }
  .article-content-body p,
  .article-content-body ul,
  .article-content-body ol {
    font-size: 16px;
    line-height: 1.75;
    margin-bottom: 20px;
  }
  .article-content-body h2 {
    font-size: 22px;
    margin: 32px 0 14px;
  }
  .article-content-body h3 {
    font-size: 19px;
    margin: 26px 0 12px;
  }
  .article-content-body blockquote {
    padding: 16px 20px;
    font-size: 16px;
    margin: 24px 0;
  }
  .share-buttons-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .breadcrumb-current {
    max-width: 200px;
  }
}
