/*
Theme Name: lifecarefinanceguide
Theme URI: https://lifecarefinanceguide.com/
Author: LifeCare Finance Team
Author URI: https://lifecarefinanceguide.com/
Description: Modern, lightweight, fast, mobile-responsive and SEO-friendly WordPress theme for LifeCare Finance Guide. Covers personal finance, healthcare coverage, retirement planning, investments, and wealth protection.
Version: 2.1.0
License: GNU General Public License v2 or later
Text Domain: lifecarefinanceguide
*/

/* ==========================================================================
   Design System & Logo-Based Brand Identity
   Brand Identity:
   - "Life Care" -> Vital Health Emerald Green (#0d9488 / #059669 / #10b981)
   - "Finance Guide" -> Trust Deep Sapphire & Executive Navy (#0f172a / #1e3a8a / #2563eb)
   - Accent -> Financial Growth Gold (#f59e0b)
   ========================================================================== */
:root {
  /* Logo-Derived Brand Colors (Based on lifecarefinanceguide logo) */
  --lcfg-primary: #0066cc;           /* Royal Blue from Finance Guide logo */
  --lcfg-primary-dark: #004c99;      /* Deep Sapphire Ocean */
  --lcfg-primary-deep: #0a2540;      /* Rich Executive Navy Blue */
  --lcfg-teal: #00a86b;              /* Vital Health Emerald Green from Life Care */
  --lcfg-emerald: #059669;           /* Prosperity Green */
  --lcfg-mint: #10b981;              /* Modern Vibrant Mint Accent */
  --lcfg-gold: #f59e0b;              /* Financial Yield Amber Gold */
  --lcfg-gold-light: #fef3c7;
  
  /* Neutral Palette */
  --lcfg-navy: #0f172a;              /* Deep Midnight Slate (Headings/Footer) */
  --lcfg-navy-surface: #1e293b;
  --lcfg-slate: #334155;             /* High Readability Body Copy */
  --lcfg-muted: #64748b;             /* Supporting Meta */
  --lcfg-light-bg: #f8fafc;          /* Soft Off-White Background */
  --lcfg-border: #e2e8f0;            /* Subtle Structure Border */
  --lcfg-border-light: #f1f5f9;      /* Ultra Soft Divider */
  --lcfg-card-bg: #ffffff;
  
  /* Dynamic Gradients (Seamless Blue & Emerald blends) */
  --lcfg-grad-brand: linear-gradient(135deg, #0066cc 0%, #00a86b 100%);
  --lcfg-grad-primary: linear-gradient(135deg, #0066cc 0%, #004c99 100%);
  --lcfg-grad-health: linear-gradient(135deg, #00a86b 0%, #10b981 100%);
  --lcfg-grad-retire: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
  --lcfg-grad-invest: linear-gradient(135deg, #0066cc 0%, #004c99 100%);
  --lcfg-grad-dark: linear-gradient(145deg, #0a2540 0%, #0f172a 100%);
  
  /* Elevation Shadows */
  --lcfg-shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.02);
  --lcfg-shadow-card: 0 4px 20px rgba(15, 23, 42, 0.05);
  --lcfg-shadow-hover: 0 16px 36px rgba(15, 23, 42, 0.1);
  --lcfg-shadow-glow: 0 8px 24px rgba(2, 132, 199, 0.2);
  
  /* Radii */
  --lcfg-radius-sm: 8px;
  --lcfg-radius-md: 14px;
  --lcfg-radius-lg: 22px;
  --lcfg-radius-pill: 9999px;
  
  /* Typography */
  --lcfg-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: var(--lcfg-font);
  color: var(--lcfg-slate);
  background-color: #fbfcfd;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

a {
  color: var(--lcfg-primary);
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
a:hover {
  color: var(--lcfg-primary-dark);
}

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

h1, h2, h3, h4, h5, h6 {
  color: var(--lcfg-navy);
  font-weight: 700;
  line-height: 1.25;
  margin-top: 0;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.lcfg-topbar {
  background: var(--lcfg-navy);
  color: #94a3b8;
  font-size: 0.8125rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.lcfg-topbar a {
  color: #cbd5e1;
}
.lcfg-topbar a:hover {
  color: #38bdf8;
}

.lcfg-header {
  background: #ffffff;
  border-bottom: 1px solid var(--lcfg-border);
  position: sticky;
  top: 0;
  z-index: 1030;
  box-shadow: 0 2px 14px rgba(15, 23, 42, 0.04);
  transition: all 0.3s ease;
}

.lcfg-navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

/* Dual-Color Brand Identity Logo */
.lcfg-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--lcfg-navy);
  letter-spacing: -0.02em;
}
.lcfg-brand:hover {
  color: var(--lcfg-primary);
}
.lcfg-brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0066cc 0%, #00a86b 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 102, 204, 0.3);
  flex-shrink: 0;
}
.lcfg-brand-text {
  display: flex;
  flex-direction: column;
}
.lcfg-brand-text .title {
  font-size: 1.25rem;
  line-height: 1.15;
  font-weight: 800;
  color: var(--lcfg-navy);
}
.lcfg-brand-text .title .text-care {
  color: var(--lcfg-teal);
}
.lcfg-brand-text .title .text-finance {
  color: var(--lcfg-primary);
}
.lcfg-brand-text .subtitle {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--lcfg-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 2px;
}
.lcfg-custom-logo-img {
  max-height: 46px;
  width: auto;
  object-fit: contain;
  display: block;
}

.lcfg-nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.lcfg-nav-link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #475569;
  padding: 8px 14px;
  border-radius: var(--lcfg-radius-sm);
  transition: all 0.2s ease;
}
.lcfg-nav-link:hover,
.lcfg-nav-menu li.current-menu-item > a {
  color: var(--lcfg-primary);
  background-color: #f0f9ff;
}

.lcfg-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lcfg-btn-subscribe {
  background: linear-gradient(135deg, #0066cc 0%, #00a86b 100%);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 9px 20px;
  border-radius: var(--lcfg-radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(0, 102, 204, 0.25);
  transition: all 0.25s ease;
}
.lcfg-btn-subscribe:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 102, 204, 0.35);
}

.lcfg-hamburger {
  display: none;
  background: none;
  border: 1px solid var(--lcfg-border);
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
  color: var(--lcfg-navy);
}

/* Off-canvas Mobile Drawer */
.lcfg-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background: #ffffff;
  z-index: 1050;
  padding: 24px;
  box-shadow: -10px 0 30px rgba(15, 23, 42, 0.15);
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}
.lcfg-drawer.active {
  right: 0;
}
.lcfg-drawer-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.5);
  z-index: 1040;
  backdrop-filter: blur(3px);
}
.lcfg-drawer-overlay.active {
  display: block;
}

/* ==========================================================================
   Interactive Hero Feature Banner & Topic Pills
   ========================================================================== */
.lcfg-hero-lead {
  position: relative;
  border-radius: var(--lcfg-radius-lg);
  overflow: hidden;
  height: 460px;
  box-shadow: var(--lcfg-shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.lcfg-hero-lead:hover {
  transform: translateY(-3px);
  box-shadow: var(--lcfg-shadow-hover);
}
.lcfg-hero-lead img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.lcfg-hero-lead:hover img {
  transform: scale(1.04);
}
.lcfg-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.08) 0%, rgba(15, 23, 42, 0.88) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 34px;
  color: #ffffff;
}
.lcfg-hero-title {
  font-size: 1.95rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
  margin: 12px 0 10px;
}
.lcfg-hero-title a {
  color: #ffffff;
}
.lcfg-hero-title a:hover {
  color: #7dd3fc;
}

/* Welcome Top Banner */
.lcfg-welcome-banner {
  background: #ffffff;
  border: 1px solid var(--lcfg-border-light);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
}
.lcfg-welcome-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #e6f7f0;
  color: #00a86b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.text-teal {
  color: var(--lcfg-teal) !important;
}

/* Spotlight Badge */
.lcfg-badge-spotlight {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: var(--lcfg-radius-pill);
  background: var(--lcfg-gold);
  color: #ffffff;
}

/* Interactive Title Hover */
.lcfg-hover-title {
  transition: color 0.2s ease;
}
.lcfg-hover-title:hover {
  color: var(--lcfg-primary) !important;
}

/* Quick Topic Jump Hub (User Friendly Bar) */
.lcfg-topic-hub {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}
.lcfg-hub-item {
  background: #ffffff;
  border: 1px solid var(--lcfg-border-light);
  border-radius: var(--lcfg-radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--lcfg-shadow-sm);
  transition: all 0.25s ease;
  text-decoration: none;
}
.lcfg-hub-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--lcfg-shadow-card);
  border-color: #cbd5e1;
}
.lcfg-hub-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #ffffff;
  font-size: 1.25rem;
}
.lcfg-hub-item.hub-health .lcfg-hub-icon {
  background: var(--lcfg-grad-health);
}
.lcfg-hub-item.hub-retire .lcfg-hub-icon {
  background: var(--lcfg-grad-retire);
}
.lcfg-hub-item.hub-invest .lcfg-hub-icon {
  background: var(--lcfg-grad-invest);
}
.lcfg-hub-item.hub-budget .lcfg-hub-icon {
  background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
}
.lcfg-hub-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--lcfg-navy);
  margin: 0;
}
.lcfg-hub-desc {
  font-size: 0.75rem;
  color: var(--lcfg-muted);
  margin: 0;
}

/* Category Badges & Pills */
.lcfg-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: var(--lcfg-radius-pill);
  background: #e6f0fa;
  color: #0066cc;
  text-decoration: none;
  transition: all 0.2s ease;
}
.lcfg-badge:hover {
  background: var(--lcfg-primary);
  color: #ffffff;
}
.lcfg-badge.badge-healthcare {
  background: #e6f7f0;
  color: #00875a;
}
.lcfg-badge.badge-retirement {
  background: #fef3c7;
  color: #b45309;
}
.lcfg-badge.badge-investor {
  background: #eff6ff;
  color: #1d4ed8;
}

/* User-Friendly Compact Card alongside Hero */
.lcfg-subfeature-card {
  background: #ffffff;
  border-radius: var(--lcfg-radius-md);
  border: 1px solid var(--lcfg-border-light);
  overflow: hidden;
  box-shadow: var(--lcfg-shadow-card);
  transition: all 0.25s ease;
}
.lcfg-subfeature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--lcfg-shadow-hover);
  border-color: #cbd5e1;
}

/* Clean Article Cards Grid */
.lcfg-clean-card {
  background: #ffffff;
  border-radius: var(--lcfg-radius-md);
  border: 1px solid var(--lcfg-border-light);
  overflow: hidden;
  box-shadow: var(--lcfg-shadow-card);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}
.lcfg-clean-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--lcfg-shadow-hover);
  border-color: #cbd5e1;
}
.lcfg-clean-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: #f1f5f9;
}
.lcfg-clean-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.lcfg-clean-card:hover .lcfg-clean-thumb img {
  transform: scale(1.05);
}
.lcfg-clean-badge-pos {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
}

.lcfg-clean-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.lcfg-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8125rem;
  color: var(--lcfg-muted);
  margin-bottom: 10px;
}
.lcfg-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.lcfg-clean-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
}
.lcfg-clean-title a {
  color: var(--lcfg-navy);
}
.lcfg-clean-title a:hover {
  color: var(--lcfg-primary);
}
.lcfg-clean-excerpt {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.lcfg-read-more {
  margin-top: auto;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--lcfg-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.lcfg-read-more:hover {
  gap: 10px;
  color: var(--lcfg-primary-dark);
}

/* User-Friendly Section Headers */
.lcfg-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 2px solid #e2e8f0;
}
.lcfg-section-pill {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lcfg-teal);
  margin-bottom: 4px;
  display: block;
}
.lcfg-section-title {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--lcfg-navy);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.lcfg-section-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--lcfg-primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.lcfg-section-link:hover {
  color: var(--lcfg-primary-dark);
}

/* Highlighted Strategy Feature Card (Middle Section) */
.lcfg-strategy-card {
  background: linear-gradient(135deg, #0a2540 0%, #004c99 50%, #0066cc 100%);
  border-radius: var(--lcfg-radius-lg);
  color: #ffffff;
  padding: 42px 38px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(0, 102, 204, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.lcfg-card-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: rgba(255, 255, 255, 0.18) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  border-radius: var(--lcfg-radius-pill) !important;
  padding: 6px 14px !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
}
.lcfg-card-badge,
.lcfg-card-badge * {
  color: #ffffff !important;
}
.lcfg-btn-card-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: #0066cc !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 28px;
  border-radius: var(--lcfg-radius-pill);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  transition: all 0.25s ease;
  text-decoration: none;
}
.lcfg-btn-card-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  background: #f8fafc;
  color: #004c99 !important;
}

/* Big Footer Newsletter Card */
.lcfg-newsletter-card {
  background: linear-gradient(135deg, #0a2540 0%, #004c99 50%, #0066cc 100%);
  color: #ffffff;
  border-radius: var(--lcfg-radius-lg);
  padding: 42px 38px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(0, 102, 204, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.lcfg-sticky-sidebar {
  position: sticky;
  top: 90px;
}

.lcfg-widget {
  background: #ffffff;
  border-radius: var(--lcfg-radius-md);
  border: 1px solid var(--lcfg-border-light);
  box-shadow: var(--lcfg-shadow-card);
  padding: 24px;
  margin-bottom: 28px;
}
.lcfg-widget-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--lcfg-navy);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1.5px solid var(--lcfg-border-light);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Mission / About Widget */
.lcfg-about-widget {
  background: linear-gradient(145deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  border: none;
}
.lcfg-about-widget h3 {
  color: #ffffff;
}
.lcfg-about-widget p {
  color: #94a3b8;
  font-size: 0.88rem;
  line-height: 1.65;
}

/* Popular Finance Reads */
.lcfg-popular-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid #f1f5f9;
}
.lcfg-popular-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.lcfg-popular-thumb {
  width: 72px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background-color: #f1f5f9;
}
.lcfg-popular-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lcfg-popular-info {
  flex-grow: 1;
}
.lcfg-popular-title {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 4px;
}
.lcfg-popular-title a {
  color: var(--lcfg-navy);
}
.lcfg-popular-title a:hover {
  color: var(--lcfg-primary);
}

/* Categories Widget */
.lcfg-cat-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.lcfg-cat-list li {
  margin-bottom: 8px;
}
.lcfg-cat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: var(--lcfg-radius-sm);
  background: #f8fafc;
  color: #334155;
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.2s ease;
}
.lcfg-cat-item:hover {
  background: #e0f2fe;
  color: var(--lcfg-primary-dark);
  padding-left: 18px;
}
.lcfg-cat-count {
  font-size: 0.75rem;
  color: #64748b;
  background: #ffffff;
  padding: 2px 8px;
  border-radius: var(--lcfg-radius-pill);
  border: 1px solid var(--lcfg-border);
}

/* ==========================================================================
   Single Post Layout
   ========================================================================== */
.lcfg-single-article {
  background: #ffffff;
  border-radius: var(--lcfg-radius-lg);
  border: 1px solid var(--lcfg-border-light);
  box-shadow: var(--lcfg-shadow-card);
  padding: 40px;
  margin-bottom: 40px;
}

.lcfg-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 8px 16px;
  background: #ffffff;
  border: 1px solid var(--lcfg-border);
  border-radius: var(--lcfg-radius-pill);
  font-size: 0.8125rem;
  width: fit-content;
  margin-bottom: 24px;
}
.lcfg-breadcrumb a {
  color: #64748b;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.lcfg-breadcrumb a:hover {
  color: var(--lcfg-primary);
}
.lcfg-breadcrumb-separator {
  color: #94a3b8;
}
.lcfg-breadcrumb .active {
  color: var(--lcfg-navy);
  font-weight: 600;
}

.lcfg-single-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--lcfg-navy);
  line-height: 1.25;
  margin: 16px 0 20px;
  letter-spacing: -0.02em;
}

.lcfg-single-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: #f8fafc;
  border: 1px solid var(--lcfg-border-light);
  border-radius: var(--lcfg-radius-md);
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 16px;
}

.lcfg-author-avatar-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0066cc 0%, #00a86b 100%);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 102, 204, 0.25);
  flex-shrink: 0;
}

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

.lcfg-share-label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--lcfg-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-right: 4px;
}

.lcfg-share-pill {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff !important;
  font-size: 0.95rem;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
.lcfg-share-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}
.lcfg-share-pill.facebook { background-color: #1877f2; }
.lcfg-share-pill.twitter { background-color: #0f1419; }
.lcfg-share-pill.linkedin { background-color: #0a66c2; }
.lcfg-share-pill.pinterest { background-color: #e60023; }

.lcfg-single-featured-wrap {
  border-radius: var(--lcfg-radius-md);
  overflow: hidden;
  margin-bottom: 34px;
  max-height: 480px;
}
.lcfg-single-featured-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Editorial Content Typography */
.lcfg-entry-content {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: #24292f;
}
.lcfg-entry-content p {
  margin-bottom: 1.5rem;
}
.lcfg-entry-content h2 {
  font-size: 1.65rem;
  font-weight: 800;
  margin: 2.2rem 0 1rem;
  color: var(--lcfg-navy);
}
.lcfg-entry-content h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 1.8rem 0 0.8rem;
  color: var(--lcfg-navy);
}
.lcfg-entry-content ul, 
.lcfg-entry-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.4rem;
}
.lcfg-entry-content li {
  margin-bottom: 0.5rem;
}
.lcfg-entry-content blockquote {
  border-left: 4px solid var(--lcfg-primary);
  background: #f0f7ff;
  padding: 18px 24px;
  border-radius: 0 var(--lcfg-radius-md) var(--lcfg-radius-md) 0;
  font-style: italic;
  color: #004c99;
  margin: 2rem 0;
}

/* Editorial Transparency & Health Notice Card */
.lcfg-article-disclaimer {
  display: flex;
  gap: 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid var(--lcfg-teal);
  border-radius: var(--lcfg-radius-sm);
  padding: 18px 20px;
  margin: 32px 0 24px;
}
.lcfg-disclaimer-icon {
  color: var(--lcfg-teal);
  flex-shrink: 0;
  padding-top: 2px;
}
.lcfg-disclaimer-text {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #475569;
}
.lcfg-disclaimer-text strong {
  display: block;
  color: var(--lcfg-navy);
  margin-bottom: 4px;
}
.lcfg-source-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--lcfg-primary);
  background: #e0f2fe;
  padding: 4px 12px;
  border-radius: var(--lcfg-radius-pill);
}
.lcfg-source-btn:hover {
  background: var(--lcfg-primary);
  color: #ffffff;
}

/* ==========================================================================
   Clean Pagination
   ========================================================================== */
.lcfg-pagination {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}
.lcfg-pagination .nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  padding: 6px 10px;
  border-radius: var(--lcfg-radius-pill);
  box-shadow: var(--lcfg-shadow-sm);
  border: 1px solid var(--lcfg-border);
}
.lcfg-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--lcfg-slate);
  text-decoration: none;
  transition: all 0.2s ease;
}
.lcfg-pagination .page-numbers:hover {
  background-color: #f0f9ff;
  color: var(--lcfg-primary);
}
.lcfg-pagination .page-numbers.current {
  background: linear-gradient(135deg, #0066cc 0%, #00a86b 100%);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 102, 204, 0.3);
}
.lcfg-pagination .page-numbers.dots {
  width: auto;
  padding: 0 4px;
}

/* ==========================================================================
   Newsletter Card & Footer Integration
   ========================================================================== */
.lcfg-newsletter-card {
  background: linear-gradient(135deg, #0a2540 0%, #004c99 50%, #0066cc 100%);
  color: #ffffff;
  border-radius: var(--lcfg-radius-lg);
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--lcfg-shadow-hover);
}
.lcfg-newsletter-card h3 {
  color: #ffffff;
}
.lcfg-newsletter-card p {
  color: #cbd5e1;
}

/* Modern Form Controls for gxl-subscribe */
.lcfg-subscribe-form .form-control,
.lcfg-sub-input {
  background: #ffffff !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: var(--lcfg-radius-pill) !important;
  padding: 12px 22px !important;
  font-size: 0.9375rem !important;
  width: 100% !important;
  color: var(--lcfg-navy) !important;
  transition: all 0.2s ease !important;
}
.lcfg-subscribe-form .form-control:focus,
.lcfg-sub-input:focus {
  border-color: var(--lcfg-primary) !important;
  outline: none !important;
  box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.15) !important;
}
.lcfg-subscribe-form button[type="submit"],
.lcfg-subscribe-form .btn-subscribe-submit,
.lcfg-sub-btn {
  background: linear-gradient(135deg, #0066cc 0%, #00a86b 100%) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: var(--lcfg-radius-pill) !important;
  padding: 12px 28px !important;
  font-weight: 700 !important;
  font-size: 0.9375rem !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 4px 14px rgba(0, 102, 204, 0.3) !important;
}
.lcfg-subscribe-form button[type="submit"]:hover,
.lcfg-subscribe-form .btn-subscribe-submit:hover,
.lcfg-sub-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4) !important;
}

/* Sidebar Newsletter Dedicated Card */
.lcfg-sidebar-newsletter-card {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%) !important;
  border: 1px solid rgba(0, 102, 204, 0.12) !important;
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.06) !important;
}
.lcfg-newsletter-icon-badge {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, #0066cc 0%, #00a86b 100%);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 3px 8px rgba(0, 102, 204, 0.25);
}

/* Subscription AJAX Feedback Messages */
.lcfg-sub-feedback {
  font-size: 0.88rem;
  line-height: 1.45;
}
.lcfg-alert-success {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #065f46 !important;
  font-weight: 700;
  background: #d1fae5 !important;
  border: 1px solid #a7f3d0;
  padding: 8px 16px;
  border-radius: var(--lcfg-radius-pill);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.lcfg-alert-subscribed {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #004c99 !important;
  font-weight: 700;
  background: #e0f2fe !important;
  border: 1px solid #bae6fd;
  padding: 8px 16px;
  border-radius: var(--lcfg-radius-pill);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* High Contrast on Dark Backgrounds (Footer Newsletter Card) */
.lcfg-newsletter-card .lcfg-alert-success {
  color: #ffffff !important;
  background: rgba(0, 168, 107, 0.35) !important;
  border: 1px solid rgba(45, 212, 191, 0.6) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}
.lcfg-newsletter-card .lcfg-alert-subscribed {
  color: #ffffff !important;
  background: rgba(0, 102, 204, 0.38) !important;
  border: 1px solid rgba(147, 197, 253, 0.6) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}
.lcfg-newsletter-card .lcfg-alert-subscribed iconify-icon,
.lcfg-newsletter-card .lcfg-alert-success iconify-icon {
  color: #ffffff !important;
}

/* Site Footer */
.lcfg-site-footer {
  background-color: var(--lcfg-navy);
  color: #94a3b8;
  padding: 70px 0 30px;
  margin-top: 70px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.lcfg-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.lcfg-footer-links li {
  margin-bottom: 10px;
}
.lcfg-footer-links a {
  color: #94a3b8;
  font-size: 0.88rem;
  transition: all 0.2s ease;
}
.lcfg-footer-links a:hover {
  color: #38bdf8;
  padding-left: 4px;
}
.lcfg-subfooter {
  margin-top: 50px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8125rem;
}

/* ==========================================================================
   Contact Us & Unsubscribe Form Overrides (gxl-subscribe)
   ========================================================================== */
#contact-email-form {
  max-width: 100%;
  margin: 0;
}
.lcfg-contact-form-wrap .container,
.lcfg-contact-form-wrap .row,
.lcfg-contact-form-wrap .col-md-6 {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  display: block !important;
}
#contact-email-form .field {
  margin-bottom: 20px !important;
}
#contact-email-form .input,
#contact-email-form .textarea {
  background: #f8fafc !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 12px !important;
  padding: 14px 18px !important;
  font-size: 0.95rem !important;
  font-family: var(--lcfg-font) !important;
  color: var(--lcfg-navy) !important;
  transition: all 0.2s ease !important;
  box-shadow: none !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
#contact-email-form .input:focus,
#contact-email-form .textarea:focus {
  background: #ffffff !important;
  border-color: var(--lcfg-primary) !important;
  box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.15) !important;
  outline: none !important;
}
#fcf-button,
#contact-email-form button.button.is-link {
  background: linear-gradient(135deg, #0066cc 0%, #00a86b 100%) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  padding: 14px 32px !important;
  height: 52px !important;
  width: 100% !important;
  box-shadow: 0 4px 14px rgba(0, 102, 204, 0.3) !important;
  transition: all 0.25s ease !important;
  cursor: pointer !important;
}
#fcf-button:hover,
#contact-email-form button.button.is-link:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 22px rgba(0, 102, 204, 0.4) !important;
}

/* Unsubscribe Form */
.lcfg-unsubscribe-form-wrap {
  max-width: 580px;
  margin: 0 auto;
}
.lcfg-unsubscribe-form-wrap .unhead,
.lcfg-unsubscribe-form-wrap h3.unhead {
  display: none !important;
}
.lcfg-unsubscribe-form-wrap > div > div > p:first-of-type,
.lcfg-unsubscribe-form-wrap .col-md-6 > p:first-of-type {
  display: none !important;
}
.lcfg-unsubscribe-form-wrap .col-md-6 {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
}
.lcfg-unsubscribe-form-wrap p.title {
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  color: var(--lcfg-primary-dark) !important;
  margin: 20px 0 10px !important;
}
.lcfg-unsubscribe-form-wrap input[type="email"],
.lcfg-unsubscribe-form-wrap #subscription-email-form_sb-input {
  background: #f8fafc !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 12px !important;
  padding: 13px 18px !important;
  font-size: 0.95rem !important;
  color: var(--lcfg-navy) !important;
  width: 100% !important;
  box-sizing: border-box !important;
  transition: all 0.2s ease !important;
  height: 48px !important;
}
.lcfg-unsubscribe-form-wrap input[type="email"]:focus,
.lcfg-unsubscribe-form-wrap #subscription-email-form_sb-input:focus {
  background: #ffffff !important;
  border-color: var(--lcfg-primary) !important;
  box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.15) !important;
  outline: none !important;
}
.lcfg-unsubscribe-form-wrap .select-container {
  display: flex !important;
  align-items: center !important;
  position: relative !important;
  padding: 12px 16px 12px 46px !important;
  margin-bottom: 10px !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px !important;
  font-size: 0.88rem !important;
  font-weight: 500 !important;
  color: var(--lcfg-slate) !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}
.lcfg-unsubscribe-form-wrap .select-container:hover {
  background: #f0fdf4 !important;
  border-color: #86efac !important;
  color: var(--lcfg-teal) !important;
}
.lcfg-unsubscribe-form-wrap .checkmark {
  position: absolute !important;
  top: 50% !important;
  left: 16px !important;
  transform: translateY(-50%) !important;
  height: 20px !important;
  width: 20px !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 6px !important;
  background-color: #ffffff !important;
  transition: all 0.2s ease !important;
}
.lcfg-unsubscribe-form-wrap .select-container input:checked ~ .checkmark {
  background-color: var(--lcfg-teal) !important;
  border-color: var(--lcfg-teal) !important;
}
.lcfg-unsubscribe-form-wrap .select-container .checkmark:after {
  left: 6px !important;
  top: 2px !important;
  width: 6px !important;
  height: 11px !important;
  border: solid #ffffff !important;
  border-width: 0 2.5px 2.5px 0 !important;
  transform: rotate(45deg) !important;
}
#unsub_submit,
.lcfg-unsubscribe-form-wrap .btn-primary {
  background: linear-gradient(135deg, #0066cc 0%, #00a86b 100%) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  letter-spacing: 0.04em !important;
  padding: 13px 32px !important;
  height: 50px !important;
  width: 100% !important;
  box-shadow: 0 4px 14px rgba(0, 102, 204, 0.3) !important;
  transition: all 0.25s ease !important;
  cursor: pointer !important;
  margin-top: 18px !important;
}
#unsub_submit:hover,
.lcfg-unsubscribe-form-wrap .btn-primary:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 22px rgba(0, 102, 204, 0.4) !important;
}

/* ==========================================================================
   2-Column Desktop Grid & Sticky Sidebar
   ========================================================================== */
@media (min-width: 992px) {
  .site-main .row {
    display: flex !important;
    flex-wrap: wrap !important;
  }
  .site-main .col-lg-8 {
    flex: 0 0 66.666667% !important;
    max-width: 66.666667% !important;
    width: 66.666667% !important;
  }
  .site-main .col-lg-4 {
    flex: 0 0 33.333333% !important;
    max-width: 33.333333% !important;
    width: 33.333333% !important;
  }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 991px) {
  .lcfg-nav-menu { display: none; }
  .lcfg-hamburger { display: block; }
  .lcfg-sticky-sidebar { position: static; margin-top: 36px; }
  .lcfg-hero-lead { height: 380px; }
}

@media (max-width: 767px) {
  .lcfg-topbar { display: none; }
  .lcfg-header-actions .lcfg-btn-subscribe { display: none; }
  .lcfg-hero-lead { height: 290px; }
  .lcfg-hero-title { font-size: 1.35rem; }
  .lcfg-single-article { padding: 22px 18px; border-radius: 14px; }
  .lcfg-single-title { font-size: 1.45rem; }
  .lcfg-single-meta-bar { flex-direction: column; align-items: flex-start; gap: 12px; }
  .lcfg-entry-content { font-size: 1rem; }
}
