/* ==========================================================================
   Bone & Joint Consult - Modern Editorial Blog Stylesheet
   Typography: Poppins throughout the entire layout
   Brand Theme: Slate Navy (#1b2e3b, #364f5a), Soft Cyan (#6dbbdb, #007ba7), Coral (#FF5722)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

@font-face {
  font-family: 'fontello';
  src: url('fonts/fontello.eot?53144063');
  src: url('fonts/fontello.eot?53144063#iefix') format('embedded-opentype'),
       url('fonts/fontello.woff2?53144063') format('woff2'),
       url('fonts/fontello.woff?53144063') format('woff'),
       url('fonts/fontello.ttf?53144063') format('truetype'),
       url('fonts/fontello.svg?53144063#fontello') format('svg'),
       url('/css/fonts/fontello.woff2?53144063') format('woff2'),
       url('/css/fonts/fontello.woff?53144063') format('woff'),
       url('/css/fonts/fontello.ttf?53144063') format('truetype');
  font-weight: normal;
  font-style: normal;
}

:root {
  --font-family-base: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --color-primary: #1e3342;
  --color-secondary: #364f5a;
  --color-accent: #007ba7;
  --color-accent-hover: #005f82;
  --color-coral: #FF5722;
  --color-dark: #111d25;
  --color-body: #37474f;
  --color-muted: #62757f;
  --color-border: #e2e8f0;
  --color-border-light: #f1f5f9;
  --color-bg-page: #f8fafc;
  --color-bg-card: #ffffff;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 4px 14px rgba(15, 28, 36, 0.06);
  --shadow-hover: 0 10px 24px -4px rgba(15, 28, 36, 0.1);
  --transition-smooth: all 0.25s ease;
}

/* Enforce Poppins everywhere in the blog context */
body,
#Container,
#Content-Container,
.blog-banner,
.blog-breadcrumbs,
.blog-wrapper,
.blog-card,
.single-article-main,
.blog-sidebar,
.article-content,
button,
input,
select,
textarea {
  font-family: var(--font-family-base) !important;
}

/* Ensure position: sticky works reliably across all browsers by overriding root overflow:hidden */
html {
  overflow-x: clip;
}

body {
  overflow-x: clip !important;
}

#Container,
#Content-Container,
.blog-wrapper {
  overflow: visible !important;
}

/* ==========================================================================
   Reading Progress Bar
   ========================================================================== */
#blog-reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--color-coral);
  width: 0%;
  z-index: 99999;
  transition: width 0.1s linear;
}

/* ==========================================================================
   Header & Sub-Main Styling (Brand Slate Navy)
   ========================================================================== */
#Sub-Main {
  background: #182d3b !important;
  position: relative;
}

header,
#Header {
  background: #182d3b !important;
}

#Main-Menu .menu > li > a {
  color: #ffffff !important;
}

#Main-Menu .menu > li > a:hover {
  color: #92d4ef !important;
}

/* Submenu / Dropdown Styling */
#Main-Menu .menu ul {
  background: #ffffff !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15) !important;
}

#Main-Menu .menu ul li {
  background: #ffffff !important;
  text-align: left !important;
  width: 200px !important;
}

#Main-Menu .menu ul li a {
  color: #141414 !important;
  font-weight: 400 !important;
  text-align: left !important;
  text-decoration: none !important;
  padding: 10px 10px 10px 28px !important;
  transition: all 0.2s ease !important;
}

#Main-Menu .menu ul li a:hover,
#Main-Menu .menu ul li:hover > a {
  color: #007ba7 !important;
  background-color: #f0f7fc !important;
  padding: 10px 10px 10px 32px !important;
}

.quick-connect li a {
  color: #ffffff !important;
}

.quick-connect li:before {
  color: #92d4ef !important;
}

/* ==========================================================================
   Hero Banner (Clean, Professional Medical Header)
   ========================================================================== */
.blog-banner {
  background: #182d3b;
  color: #ffffff;
  padding: 45px 0 40px 0;
  border-bottom: 3px solid #6dbbdb;
  position: relative;
}

.blog-banner-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.blog-banner-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #92d4ef;
  margin-bottom: 10px;
}

.blog-banner h1 {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
  margin: 0 0 10px 0;
  letter-spacing: -0.3px;
}

.blog-banner p {
  font-size: 15.5px;
  line-height: 1.6;
  color: #cbd5e1;
  max-width: 720px;
  margin: 0;
  font-weight: 400;
}

.single-post-banner h1 {
  font-size: clamp(24px, 3.2vw, 36px);
  max-width: 960px;
  line-height: 1.3;
}

.single-post-banner p {
  max-width: 900px;
  font-size: 15px;
  color: #e2e8f0;
}

/* ==========================================================================
   Breadcrumbs
   ========================================================================== */
.blog-breadcrumbs {
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px 24px;
  font-size: 13.5px;
  color: var(--color-muted);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.blog-breadcrumbs a {
  color: var(--color-secondary);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.blog-breadcrumbs a:hover {
  color: var(--color-coral);
}

.blog-breadcrumbs .separator {
  color: #94a3b8;
  font-size: 12px;
}

.blog-breadcrumbs .current {
  color: var(--color-dark);
  font-weight: 500;
  max-width: 480px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================================================
   Main Grid Layout & Sticky Sidebar
   ========================================================================== */
.blog-wrapper {
  max-width: 1240px;
  margin: 0 auto;
  padding: 10px 24px 70px 24px;
}

.blog-layout {
  display: flex !important;
  align-items: flex-start !important;
  gap: 40px !important;
  position: relative !important;
  width: 100% !important;
}

.blog-content-area,
.single-article-main {
  flex: 1 1 0% !important;
  min-width: 0 !important;
}

@media (max-width: 991px) {
  .blog-layout {
    flex-direction: column !important;
    gap: 35px !important;
  }
}

/* ==========================================================================
   Search Box
   ========================================================================== */
.blog-header-tools {
  margin-bottom: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.blog-search-box {
  position: relative;
  width: 100%;
  max-width: 420px;
}

.blog-search-box input {
  width: 100%;
  padding: 11px 40px 11px 42px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 14px;
  color: var(--color-dark);
  background: #ffffff;
  outline: none;
  transition: var(--transition-smooth);
}

.blog-search-box input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(0, 123, 167, 0.12);
}

.blog-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
  display: flex;
  align-items: center;
}

.blog-search-clear {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 16px;
  cursor: pointer;
  padding: 4px;
  display: none;
  line-height: 1;
}

.blog-search-clear:hover {
  color: var(--color-dark);
}

.active-filter-status {
  display: none;
  align-items: center;
  justify-content: space-between;
  background: #f0f9fd;
  border: 1px solid #bae6fd;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  font-size: 13.5px;
  color: #0369a1;
}

.active-filter-status button {
  background: none;
  border: none;
  color: var(--color-coral);
  font-weight: 600;
  cursor: pointer;
  font-size: 13px;
  text-decoration: underline;
  padding: 0;
}

/* ==========================================================================
   Featured Article Spotlight Card
   ========================================================================== */
.featured-blog-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 35px;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  transition: var(--transition-smooth);
}

.featured-blog-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: #cbd5e1;
}

.featured-media {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  background: #f1f5f9;
}

.featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.featured-blog-card:hover .featured-media img {
  transform: scale(1.03);
}

.featured-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #182d3b;
  color: #92d4ef;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.featured-body {
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--color-muted);
  margin-bottom: 10px;
}

.blog-category-tag {
  color: var(--color-accent);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.featured-body h2 {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-dark);
  margin: 0 0 10px 0;
}

.featured-body h2 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.featured-body h2 a:hover {
  color: var(--color-coral);
}

.featured-body p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-body);
  margin: 0 0 18px 0;
}

.featured-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--color-border-light);
}

.author-inline {
  font-size: 12.5px;
  color: var(--color-muted);
}

.author-inline strong {
  color: var(--color-dark);
}

.btn-read-article {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-coral);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.btn-read-article:hover {
  color: var(--color-dark);
  transform: translateX(3px);
}

@media (max-width: 768px) {
  .featured-blog-card {
    grid-template-columns: 1fr;
  }
  .featured-media {
    min-height: 200px;
  }
  .featured-body {
    padding: 20px;
  }
  .featured-body h2 {
    font-size: 18px;
  }
}

/* ==========================================================================
   Article Cards Grid
   ========================================================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  margin-bottom: 35px;
}

@media (max-width: 680px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

.blog-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: #cbd5e1;
}

.blog-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9.5;
  background: #f1f5f9;
  overflow: hidden;
}

.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.blog-card:hover .blog-card-media img {
  transform: scale(1.04);
}

.blog-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--color-muted);
  margin-bottom: 8px;
}

.blog-card-category {
  color: var(--color-accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.blog-card-title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-dark);
  margin: 0 0 10px 0;
}

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

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

.blog-card-excerpt {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--color-body);
  margin: 0 0 16px 0;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-footer {
  padding-top: 12px;
  border-top: 1px solid var(--color-border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.blog-card-readtime {
  font-size: 12px;
  color: var(--color-muted);
}

.blog-read-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-coral);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.blog-read-link:hover {
  color: var(--color-dark);
}

/* Empty Search Results State */
.blog-empty-state {
  background: #ffffff;
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-md);
  padding: 48px 24px;
  text-align: center;
}

.blog-empty-state h3 {
  font-size: 18px;
  color: var(--color-dark);
  margin: 0 0 8px 0;
}

.blog-empty-state p {
  color: var(--color-muted);
  font-size: 14px;
  margin-bottom: 16px;
}

/* ==========================================================================
   Pagination
   ========================================================================== */
.blog-pagination-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--color-border);
}

.pagination-stats {
  font-size: 13.5px;
  color: var(--color-muted);
}

.blog-pagination {
  display: flex;
  gap: 6px;
}

.page-btn {
  min-width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: #ffffff;
  color: var(--color-dark);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-smooth);
  padding: 0 8px;
}

.page-btn:hover:not(:disabled) {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.page-btn.active {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  color: #ffffff;
}

.page-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* ==========================================================================
   Sticky Sidebar (Remains visible as user scrolls)
   ========================================================================== */
.blog-sidebar {
  width: 320px !important;
  max-width: 320px !important;
  flex: 0 0 320px !important;
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 25px !important;
  align-self: flex-start !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 20px !important;
  z-index: 20 !important;
}

@media (max-width: 991px) {
  .blog-sidebar {
    width: 100% !important;
    flex: 1 1 100% !important;
    position: static !important;
    top: auto !important;
    max-height: none !important;
  }

  /* Hide Table of Contents in stacked mobile sidebar */
  #sidebar-toc-widget {
    display: none !important;
  }
}

.sidebar-widget {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}

.widget-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-dark);
  margin: 0 0 12px 0;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--color-border-light);
  letter-spacing: -0.2px;
}

/* Minimal Doctor Card */
.widget-author-card {
  text-align: center;
  padding: 18px 16px;
}

.widget-author-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-accent);
  margin: 0 auto 8px auto;
  display: block;
}

.widget-author-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-dark);
  margin: 0 0 2px 0;
}

.widget-author-qual {
  font-size: 11.5px;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 6px;
}

.widget-author-desc {
  font-size: 12px;
  line-height: 1.5;
  color: var(--color-muted);
  margin: 0;
}

/* Sidebar Consultation & Appointment CTA Widget */
.widget-cta-card {
  background: linear-gradient(135deg, #f8fbff 0%, #eef6fc 100%);
  border: 1.5px solid #d0e3f2;
  border-radius: var(--radius-md);
  padding: 16px 14px;
  text-align: center;
  position: relative;
  overflow: visible !important;
  height: auto !important;
  min-height: auto !important;
  box-sizing: border-box !important;
}

.widget-cta-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 4px;
  background: linear-gradient(90deg, #0284c7, #0c4a6e);
  border-top-left-radius: var(--radius-md);
  border-top-right-radius: var(--radius-md);
}

.cta-badge {
  display: inline-block;
  background: rgba(2, 132, 199, 0.12);
  color: #0284c7;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 2px 8px;
  border-radius: 20px;
  margin-bottom: 6px;
}

.widget-cta-title {
  font-size: 15px;
  font-weight: 700;
  color: #0c4a6e;
  margin: 0 0 6px 0;
  line-height: 1.3;
}

.widget-cta-desc {
  font-size: 12px;
  color: #475569;
  line-height: 1.45;
  margin: 0 0 12px 0;
}

.sidebar-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 10px 14px;
  background: #0284c7;
  color: #ffffff !important;
  font-size: 13.5px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none !important;
  transition: all 0.2s ease;
  box-shadow: 0 3px 10px rgba(2, 132, 199, 0.25);
  box-sizing: border-box;
}

.sidebar-cta-btn:hover {
  background: #0369a1;
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(2, 132, 199, 0.35);
  color: #ffffff !important;
}

.sidebar-cta-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 10px 0 8px 0;
}

.sidebar-cta-divider::before,
.sidebar-cta-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #cbd5e1;
}

.sidebar-cta-divider span {
  font-size: 9.5px;
  font-weight: 700;
  color: #64748b;
  padding: 0 6px;
  letter-spacing: 0.6px;
}

.sidebar-cta-phones {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 8px;
}

.sidebar-phone-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid #d0e1f0;
  border-radius: var(--radius-sm);
  padding: 6px 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: #0c4a6e !important;
  text-decoration: none !important;
  transition: all 0.15s ease;
  box-sizing: border-box;
}

.sidebar-phone-link:hover {
  background: #f0f7fc;
  border-color: #0284c7;
  color: #0284c7 !important;
}

.sidebar-cta-locations {
  border-top: 1px dashed #cbd5e1;
  padding-top: 10px;
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.sidebar-loc-item {
  font-size: 11px;
  color: #64748b;
  line-height: 1.4;
}

.sidebar-loc-item strong {
  display: block;
  font-size: 11px;
  color: #0c4a6e;
  font-weight: 600;
  margin-bottom: 2px;
}

/* Recent Posts List in Sidebar */
.widget-recent-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.recent-post-item {
  display: flex;
  gap: 10px;
  align-items: center;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.recent-post-thumb {
  width: 50px;
  height: 44px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  background: #f1f5f9;
}

.recent-post-info {
  flex: 1;
  min-width: 0;
}

.recent-post-title {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-dark);
  margin-bottom: 2px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}

.recent-post-item:hover .recent-post-title {
  color: var(--color-coral);
}

.recent-post-date {
  font-size: 10.5px;
  color: var(--color-muted);
}

/* Table of Contents in Sidebar */
.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc-list li {
  margin-bottom: 6px;
}

.toc-list a {
  font-size: 13px;
  color: var(--color-muted);
  text-decoration: none;
  display: block;
  padding: 4px 8px;
  border-left: 2px solid transparent;
  transition: var(--transition-smooth);
  line-height: 1.4;
}

.toc-list a:hover,
.toc-list a.active {
  color: var(--color-coral);
  border-left-color: var(--color-coral);
  background: #f8fafc;
  padding-left: 10px;
  font-weight: 600;
}

/* ==========================================================================
   Single Article Content View
   ========================================================================== */
.single-article-main {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
}

@media (max-width: 768px) {
  .single-article-main {
    padding: 22px 18px;
  }
}

.single-post-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-dark);
  margin: 10px 0 14px 0;
  letter-spacing: -0.3px;
}

@media (max-width: 768px) {
  .single-post-title {
    font-size: 22px;
  }
}

.single-post-subtitle {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--color-muted);
  margin-bottom: 18px;
  font-weight: 400;
}

.single-author-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--color-border-light);
  border-bottom: 1px solid var(--color-border-light);
  margin-bottom: 24px;
}

.single-author-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.single-author-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-accent);
}

.single-author-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-dark);
}

.single-author-role {
  font-size: 12px;
  color: var(--color-muted);
}

.single-featured-media {
  margin-bottom: 28px;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.single-featured-media img {
  width: 100%;
  height: auto;
  max-height: 440px;
  object-fit: cover;
  display: block;
}

.single-media-caption {
  display: none !important;
}

/* Rich Editorial Content */
.article-content {
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--color-body);
}

.article-content a {
  color: #0284c7 !important;
  font-weight: 600 !important;
  text-decoration: underline !important;
  text-decoration-thickness: 1.5px !important;
  text-underline-offset: 3px !important;
  transition: all 0.2s ease !important;
}

.article-content a:hover {
  color: #0369a1 !important;
  text-decoration-color: #0369a1 !important;
  background-color: rgba(2, 132, 199, 0.08) !important;
  border-radius: 3px !important;
}

.article-content p {
  margin: 0 0 18px 0;
}

.article-content p.lead-text {
  font-size: 17px;
  line-height: 1.7;
  color: var(--color-dark);
  font-weight: 400;
  border-left: 3px solid var(--color-accent);
  padding-left: 14px;
  margin-bottom: 22px;
}

.article-content h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-secondary);
  margin: 32px 0 14px 0;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--color-border-light);
}

.article-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-dark);
  margin: 22px 0 10px 0;
}

.article-content ul,
.article-content ol {
  margin: 0 0 20px 20px;
  padding: 0;
}

.article-content li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.blog-callout {
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin: 24px 0;
}

.blog-callout.tip {
  background: #f0f9fd;
  border-left: 3px solid var(--color-accent);
}

.blog-callout.highlight {
  background: #fff8f5;
  border-left: 3px solid var(--color-coral);
}

.blog-callout h4 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 6px 0;
  color: var(--color-dark);
}

.blog-callout p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

.blog-quote {
  margin: 28px 0;
  padding: 18px 24px;
  background: #f8fafc;
  border-left: 3px solid var(--color-secondary);
}

.blog-quote blockquote {
  margin: 0 0 8px 0;
  font-size: 16px;
  font-style: italic;
  color: #334155;
}

.blog-quote cite {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-coral);
  font-style: normal;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 24px 0;
}

.blog-comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  text-align: left;
}

.blog-comparison-table th {
  background: var(--color-secondary);
  color: #ffffff;
  padding: 10px 14px;
  font-weight: 600;
}

.blog-comparison-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-body);
}

.blog-comparison-table tr:nth-child(even) {
  background: #f8fafc;
}

/* FAQ Items */
.blog-faqs {
  margin: 24px 0;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  background: #ffffff;
}

/* FAQ Accordion Styling (Ultra-Smooth 60fps Animation) */
.faq-accordion {
  margin: 24px 0 32px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #f8fbff;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  overflow: hidden;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  margin-bottom: 0;
}

.faq-item:hover {
  border-color: #93c5fd;
}

.faq-item.open {
  background: #ffffff;
  border-color: #38bdf8;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.08);
}

.faq-question,
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  cursor: pointer;
  user-select: none;
  background: transparent;
  transition: background 0.2s ease;
  margin: 0;
}

.faq-question:hover,
.faq-q:hover {
  background: rgba(2, 132, 199, 0.04);
}

.faq-question h4,
.faq-q h4 {
  font-size: 15.5px;
  font-weight: 600;
  color: #0c4a6e;
  margin: 0;
  line-height: 1.4;
  flex: 1;
  transition: color 0.2s ease;
}

.faq-item.open .faq-question h4,
.faq-item.open .faq-q h4 {
  color: #0284c7;
}

.faq-icon {
  width: 26px;
  height: 26px;
  min-width: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #e0f2fe;
  color: #0284c7;
  font-size: 17px;
  font-weight: 700;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background 0.25s ease, color 0.25s ease;
}

.faq-icon::after {
  content: '+';
  display: block;
  line-height: 1;
}

.faq-item.open .faq-icon {
  background: #0284c7;
  color: #ffffff;
  transform: rotate(45deg);
}

.faq-answer,
.faq-a {
  display: grid !important;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 20px !important;
}

.faq-item.open .faq-answer,
.faq-item.open .faq-a {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  overflow: hidden;
  min-height: 0;
}

.faq-answer p,
.faq-a p {
  font-size: 14.5px;
  color: #475569;
  line-height: 1.65;
  margin: 0;
  padding: 12px 0 16px 0;
  border-top: 1px solid #f1f5f9;
}

/* Single Post Social Share */
.post-share-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid var(--color-border-light);
  border-bottom: 1px solid var(--color-border-light);
  margin: 28px 0;
}

.share-label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-dark);
}

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

.share-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  font-size: 13px;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.share-btn.whatsapp { background: #25D366; }
.share-btn.linkedin { background: #0077b5; }
.share-btn.facebook { background: #1877f2; }
.share-btn.twitter { background: #0f1419; }
.share-btn.copylink { background: #475569; }

.share-btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.share-toast {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #1e293b;
  color: #ffffff;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: all 0.25s ease;
  z-index: 99999;
}

.share-toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* Previous & Next Navigation */
.post-prev-next {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 30px 0;
}

@media (max-width: 600px) {
  .post-prev-next {
    grid-template-columns: 1fr;
  }
}

.nav-card {
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  background: #f8fafc;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.nav-card:hover {
  background: #f0f9fd;
  border-color: var(--color-accent);
}

.nav-direction {
  font-size: 11.5px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-coral);
  margin-bottom: 2px;
}

.nav-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-dark);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Related Posts */
.related-posts-section {
  margin-top: 40px;
}

.related-posts-section h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-dark);
  margin: 0 0 18px 0;
}

/* FAQ Styling */
.faq-item {
  background: #f8fbff;
  border: 1px solid #e1ebf4;
  border-left: 4px solid var(--color-secondary, #0c4a6e);
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 16px;
  transition: all 0.2s ease;
}

.faq-item:hover {
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(12, 74, 110, 0.08);
  border-color: #cbd5e1;
  border-left-color: var(--color-accent, #0284c7);
}

.faq-item h4 {
  font-size: 16px;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 8px 0;
  line-height: 1.4;
}

.faq-item p {
  font-size: 14.5px;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
   Footer Base Styling (Dark Background & High-Contrast Typography)
   ========================================================================== */
footer,
#Footer {
  background-color: #111d25 !important;
  background-image: url('../images/black-pattern.jpg'), url('images/black-pattern.jpg');
  background-repeat: repeat;
  position: relative;
  z-index: 10;
}

.footer-grid {
  border-right-color: #243542 !important;
}

.footer-main-grid {
  border-bottom-color: #243542 !important;
}

.footer-grid h3 {
  color: #92d4ef !important;
}

.footer-location h5 {
  color: #ff7043 !important;
}

.footer-grid p,
.footer-grid p.hours,
.footer-grid p.hours strong {
  color: #cbd5e1 !important;
}

.footer-grid p a,
.footer-grid li a {
  color: #e2e8f0 !important;
  transition: color 0.2s ease;
}

.footer-grid p a:hover,
.footer-grid li a:hover {
  color: #92d4ef !important;
}

.footer-actions .btn-link {
  background: #00acc1 !important;
  color: #ffffff !important;
}

.copyrights {
  color: #94a3b8 !important;
}

.whatsappBTN {
  background-color: #0a554b !important;
  background-image: url('../images/whatsapp-ico.svg'), url('/images/whatsapp-ico.svg'), url('images/whatsapp-ico.svg') !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: 17px !important;
}

.sticky-social li a:before,
.footer-actions a:before,
.quick-connect li:before {
  font-family: 'fontello' !important;
}
