/* ==========================================================================
   Online Patches UK - Modern World-Class Blog Design System
   Brand Theme: Primary UK Blue #1d80c3 | Navy #0f172a | Sky Tint #f0f7fc
   Font Family: Plus Jakarta Sans / Graphik / Figtree
   ========================================================================== */

/* Page Wrapper & Fixed Header Clearance */
.blog-page-wrapper {
  padding-top: 40px;
  background-color: #ffffff;
  min-height: 100vh;
}

@media (max-width: 991px) {
  .blog-page-wrapper {
    padding-top: 110px;
  }
}

/* ==========================================================================
   1. HERO SECTION (BLOG ARCHIVE)
   ========================================================================== */
.blog-hero-section {
  background: linear-gradient(180deg, #f0f7fc 0%, #ffffff 100%);
  padding: 45px 0 40px;
  border-bottom: 1px solid #e2e8f0;
  position: relative;
  overflow: hidden;
}

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

.blog-eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d80c3;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border-radius: 50px;
  margin-bottom: 16px;
  box-shadow: 0 2px 6px rgba(29, 128, 195, 0.08);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1d80c3;
  box-shadow: 0 0 0 3px rgba(29, 128, 195, 0.25);
  display: inline-block;
  animation: pulseEffect 2s infinite;
}

@keyframes pulseEffect {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(29, 128, 195, 0.5);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 7px rgba(29, 128, 195, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(29, 128, 195, 0);
  }
}

.blog-hero-title {
  font-family: var(--font-heading, "Plus Jakarta Sans", sans-serif);
  font-size: 42px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

@media (max-width: 767px) {
  .blog-hero-title {
    font-size: 30px;
  }
}

.blog-hero-desc {
  font-family: var(--font-body, "Plus Jakarta Sans", sans-serif);
  font-size: 16.5px;
  color: #64748b;
  line-height: 1.65;
  margin: 0 auto 26px;
  max-width: 700px;
}

/* Category Filter Bar */
.blog-filter-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
}

.filter-pill-btn {
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  color: #475569;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  transition: all 0.22s ease;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.filter-pill-btn:hover {
  background: #eff6ff;
  color: #1d80c3;
  border-color: #93c5fd;
  transform: translateY(-2px);
}

.filter-pill-btn.active {
  background: #1d80c3;
  color: #ffffff !important;
  border-color: #1d80c3;
  box-shadow: 0 4px 14px rgba(29, 128, 195, 0.28);
}

.filter-count {
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 20px;
  background: #f1f5f9;
  color: #64748b;
  transition: all 0.2s ease;
}

.filter-pill-btn.active .filter-count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* ==========================================================================
   2. MODERN BLOG CARDS GRID
   ========================================================================== */
.blog-grid-section {
  padding: 55px 0 85px;
  background-color: #ffffff;
}

.modern-blog-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.modern-blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(29, 128, 195, 0.14) !important;
  border-color: #93c5fd;
}

.card-thumb-wrap {
  height: 235px;
  overflow: hidden;
  position: relative;
  background: #f1f5f9;
  display: block;
}

.card-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.modern-blog-card:hover .card-thumb-img {
  transform: scale(1.06);
}

.card-cat-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(29, 128, 195, 0.95);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 5px 13px;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 2;
}

.card-meta-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: 50px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.card-body-wrap {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-date-meta {
  font-size: 12.5px;
  color: #64748b;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.card-blog-title {
  font-family: var(--font-heading, "Plus Jakarta Sans", sans-serif);
  font-size: 18.5px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.38;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-blog-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.card-blog-title a:hover {
  color: #1d80c3;
}

.card-blog-desc {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 22px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

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

.card-author-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.author-avatar-chip {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1d80c3 0%, #15659b 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  box-shadow: 0 2px 6px rgba(29, 128, 195, 0.25);
  flex-shrink: 0;
}

.author-name-text {
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.2;
}

.read-guide-btn {
  font-size: 13px;
  font-weight: 700;
  color: #1d80c3;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
}

.read-guide-btn:hover {
  color: #15659b;
  transform: translateX(3px);
}

/* ==========================================================================
   3. ARTICLE DETAILS PAGE SYSTEM
   ========================================================================== */
.detail-breadcrumb-bar {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding: 12px 0;
}

.detail-breadcrumb-bar .breadcrumb {
  margin-bottom: 0;
  font-size: 13px;
}

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

.detail-breadcrumb-bar .breadcrumb-item a:hover {
  color: #1d80c3;
}

.detail-breadcrumb-bar .breadcrumb-item.active {
  color: #0f172a;
  font-weight: 600;
  max-width: 450px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Article Hero Header */
.detail-hero-section {
  padding: 45px 0 38px;
  background: linear-gradient(180deg, #f0f7fc 0%, #ffffff 100%);
  border-bottom: 1px solid #e2e8f0;
  text-align: center;
}

.detail-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 16px;
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  border-radius: 50px;
  color: #0284c7;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 16px;
}

.detail-main-title {
  font-family: var(--font-heading, "Plus Jakarta Sans", sans-serif);
  font-size: 40px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.24;
  letter-spacing: -0.02em;
  max-width: 900px;
  margin: 0 auto 18px;
}

@media (max-width: 767px) {
  .detail-main-title {
    font-size: 28px;
  }
}

.detail-lead-desc {
  font-size: 18px;
  color: #475569;
  max-width: 820px;
  margin: 0 auto 24px;
  line-height: 1.65;
}

.detail-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
  font-size: 13.5px;
  color: #64748b;
}

.author-chip-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.author-chip-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1d80c3 0%, #15659b 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 2px 6px rgba(29, 128, 195, 0.25);
}

/* Featured Image */
.detail-featured-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  border: 1px solid #e2e8f0;
  margin-bottom: 30px;
  background: #f8fafc;
}

.detail-featured-img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

/* Social Share Bar */
.detail-share-bar {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px 20px;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

.share-label-title {
  font-size: 12px;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

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

.social-share-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #ffffff !important;
  text-decoration: none;
  font-size: 13.5px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-share-circle:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.social-share-circle.fb {
  background: #1877f2;
}

.social-share-circle.tw {
  background: #0f172a;
}

.social-share-circle.li {
  background: #0a66c2;
}

.social-share-circle.wa {
  background: #25d366;
}

.social-share-circle.cp {
  background: #64748b;
}

/* Key Takeaways Callout */
.detail-takeaway-box {
  background: #f0f7fc;
  border: 1px solid #bae6fd;
  border-left: 5px solid #1d80c3;
  border-radius: 14px;
  padding: 22px 24px;
  margin-bottom: 35px;
}

.takeaway-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
  color: #1d80c3;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.takeaway-text {
  font-size: 15px;
  color: #334155;
  margin: 0;
  line-height: 1.6;
}

/* Article Typography Body */
.detail-article-content {
  font-family: var(--font-body, "Plus Jakarta Sans", sans-serif);
  font-size: 17.5px;
  line-height: 1.85;
  color: #334155;
  margin-bottom: 40px;
}

.detail-article-content p {
  margin-bottom: 24px;
}

.detail-article-content h2 {
  font-family: var(--font-heading, "Plus Jakarta Sans", sans-serif);
  font-size: 27px;
  font-weight: 800;
  color: #0f172a;
  margin-top: 40px;
  margin-bottom: 18px;
  position: relative;
  padding-left: 18px;
  border-left: 4px solid #1d80c3;
}

.detail-article-content h3 {
  font-family: var(--font-heading, "Plus Jakarta Sans", sans-serif);
  font-size: 21px;
  font-weight: 700;
  color: #1e293b;
  margin-top: 32px;
  margin-bottom: 14px;
}

.detail-article-content ul,
.detail-article-content ol {
  margin-bottom: 24px;
  padding-left: 24px;
}

.detail-article-content li {
  margin-bottom: 8px;
}

.detail-article-content blockquote {
  background: #f8fafc;
  border-left: 4px solid #1d80c3;
  border-radius: 0 16px 16px 0;
  padding: 22px 28px;
  margin: 30px 0;
  font-style: italic;
  color: #1e293b;
  font-size: 18px;
  line-height: 1.7;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.detail-article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  margin: 25px 0;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.detail-article-content table {
  width: 100%;
  margin: 25px 0;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
}

.detail-article-content th {
  background: #f8fafc;
  padding: 14px 18px;
  font-weight: 700;
  color: #0f172a;
  border-bottom: 1px solid #e2e8f0;
  font-size: 14px;
}

.detail-article-content td {
  padding: 13px 18px;
  border-bottom: 1px solid #f1f5f9;
  color: #475569;
  font-size: 14px;
}

/* Tags & Spread Word Footer */
.detail-tags-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 35px;
}

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

.tag-badge {
  font-size: 12.5px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 50px;
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #e2e8f0;
}

/* Author Profile Card */
.detail-author-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 28px;
  margin-bottom: 35px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  display: flex;
  gap: 24px;
  align-items: center;
}

@media (max-width: 575px) {
  .detail-author-card {
    flex-direction: column;
    text-align: center;
  }
}

.author-big-avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1d80c3 0%, #15659b 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  border: 4px solid #ffffff;
  box-shadow: 0 4px 14px rgba(29, 128, 195, 0.25);
  flex-shrink: 0;
}

.author-card-content h4 {
  font-family: var(--font-heading, "Plus Jakarta Sans", sans-serif);
  font-size: 19px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 4px;
}

.author-badge-verified {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 700;
  color: #1d80c3;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 3px 10px;
  border-radius: 20px;
  margin-left: 8px;
}

.author-role-sub {
  font-size: 13px;
  color: #64748b;
  font-weight: 600;
  margin-bottom: 10px;
}

.author-bio-p {
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 12px;
}

/* Previous / Next Article Navigation */
.detail-nav-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 40px;
}

@media (max-width: 575px) {
  .detail-nav-grid {
    grid-template-columns: 1fr;
  }
}

.detail-nav-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 18px 22px;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
  display: flex;
  flex-direction: column;
}

.detail-nav-card:hover {
  border-color: #1d80c3;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(29, 128, 195, 0.12);
  color: inherit;
}

.nav-direction-label {
  font-size: 12px;
  font-weight: 700;
  color: #1d80c3;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-post-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.detail-nav-card:hover .nav-post-title {
  color: #1d80c3;
}

/* ==========================================================================
   4. SIDEBAR WIDGETS
   ========================================================================== */
.detail-sidebar-sticky {
  position: sticky;
  top: 125px;
}

.detail-sidebar-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
}

.sidebar-heading {
  font-family: var(--font-heading, "Plus Jakarta Sans", sans-serif);
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Quote Widget */
.detail-cta-widget {
  background: linear-gradient(135deg, #1d80c3 0%, #15659b 100%);
  color: #ffffff;
  border-radius: 20px;
  padding: 30px 24px;
  margin-bottom: 24px;
  box-shadow: 0 12px 30px rgba(29, 128, 195, 0.28);
  position: relative;
  overflow: hidden;
}

.widget-pill {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 14px;
}

.detail-cta-widget h3 {
  font-family: var(--font-heading, "Plus Jakarta Sans", sans-serif);
  font-size: 21px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 10px;
}

.detail-cta-widget p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.55;
  margin-bottom: 18px;
}

.detail-perks-list {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.detail-perks-list li {
  font-size: 13px;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.detail-perks-list li i {
  color: #fbbf24;
  font-size: 14px;
}

.btn-sidebar-quote {
  background: #ffffff;
  color: #1d80c3 !important;
  font-weight: 800;
  font-size: 14px;
  padding: 12px 20px;
  border-radius: 50px;
  text-decoration: none;
  display: block;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}

.btn-sidebar-quote:hover {
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* Recent Posts Item */
.recent-post-link {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f1f5f9;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

.recent-post-link:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.recent-thumb {
  width: 66px;
  height: 66px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  background: #f1f5f9;
}

.recent-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.recent-post-link:hover .recent-title {
  color: #1d80c3;
}

.recent-date {
  font-size: 12px;
  color: #94a3b8;
  display: block;
  margin-top: 4px;
}

/* Categories List */
.cat-item-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: #334155;
  transition: all 0.2s ease;
  font-size: 13.5px;
  font-weight: 600;
}

.cat-item-link:hover {
  background: #f0f7fc;
  color: #1d80c3;
  transform: translateX(3px);
}

.cat-count-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #e2e8f0;
}

/* Urgent Help Box */
.support-widget-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 24px;
  text-align: center;
}

.support-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  color: #1d80c3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(29, 128, 195, 0.15);
  margin-bottom: 12px;
}

/* ==========================================================================
   4. BLOG PAGINATION SYSTEM
   ========================================================================== */
.blog-pagination-nav {
  margin-top: 40px;
  margin-bottom: 10px;
}

.blog-pagination-nav .pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.blog-pagination-nav .page-item {
  margin: 0;
}

.blog-pagination-nav .page-link {
  min-width: 44px;
  height: 44px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-pagination-nav .page-link:hover {
  background-color: #eff6ff;
  border-color: #93c5fd;
  color: #1d80c3;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(29, 128, 195, 0.15);
}

.blog-pagination-nav .page-item.active .page-link {
  background-color: #1d80c3;
  border-color: #1d80c3;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(29, 128, 195, 0.35);
  transform: translateY(-1px);
}

.blog-pagination-nav .page-item.disabled .page-link {
  background-color: #f8fafc;
  border-color: #e2e8f0;
  color: #94a3b8;
  opacity: 0.6;
  pointer-events: none;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.blog-pagination-nav .page-link.dots {
  background: transparent;
  border: none;
  color: #94a3b8;
  min-width: 24px;
  box-shadow: none;
  pointer-events: none;
}

.blog-pagination-nav .prev-next-btn {
  padding: 0 18px;
  gap: 6px;
  font-weight: 700;
}

/* ==========================================================================
   5. ARTICLE DETAILS 8 / 4 GRID LAYOUT ENFORCEMENT
   ========================================================================== */
@media (min-width: 768px) {
  .detail-article-col,
  article.col-md-8 {
    flex: 0 0 auto !important;
    width: 66.66666667% !important;
    max-width: 66.66666667% !important;
  }

  .detail-sidebar-col,
  aside.col-md-4 {
    flex: 0 0 auto !important;
    width: 33.33333333% !important;
    max-width: 33.33333333% !important;
  }
}