/*
Theme Name: Umbrella Insurance Portal Pro
Theme URI: https://bestumbrellainsurance.com
Author: Best Umbrella Insurance
Author URI: https://bestumbrellainsurance.com
Description: High-end American insurance portal WordPress theme with professional design, insurance-specific layout, and complete responsive support. Inspired by State Farm, Allstate, and Nationwide.
Version: 1.2.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: umbrella-insurance-portal-pro
Tags: insurance, responsive, custom-logo, custom-menu, featured-images, translation-ready
*/

/* ============================================
   GLOBAL CSS VARIABLES & RESET
   ============================================ */
:root {
  --primary: #0A2463;
  --primary-dark: #071a40;
  --primary-light: #0d3080;
  --accent-red: #E63946;
  --accent-blue: #3E92CC;
  --accent-blue-light: #5aaddf;
  --white: #FFFFFF;
  --bg-light: #F8F9FA;
  --bg-gray: #E9ECEF;
  --text-dark: #212529;
  --text-muted: #6C757D;
  --text-light: #ADB5BD;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px rgba(0,0,0,0.1), 0 10px 10px rgba(0,0,0,0.04);
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --transition: all 0.3s ease;
  --font-main: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --container: 1200px;
  --gap: 8px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  color: var(--primary);
  margin-bottom: 0.5em;
}

h1 { font-size: 2.5rem; font-weight: 700; }
h2 { font-size: 2rem; font-weight: 700; }
h3 { font-size: 1.5rem; font-weight: 600; }
h4 { font-size: 1.25rem; font-weight: 600; }
h5 { font-size: 1.1rem; font-weight: 600; }
h6 { font-size: 1rem; font-weight: 600; }

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

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

a:hover { color: var(--accent-blue-light); }

strong, b { font-weight: 600; }

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

ul, ol { padding-left: 1.5em; margin-bottom: 1em; }
li { margin-bottom: 0.25em; }

blockquote {
  border-left: 4px solid var(--primary);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--bg-light);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
}

blockquote p:last-child { margin-bottom: 0; }

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}

table th {
  background: var(--primary);
  color: var(--white);
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
}

table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--bg-gray);
}

table tr:nth-child(even) { background: var(--bg-light); }
table tr:hover { background: #eef4fb; }

pre, code {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.9em;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
}

code { padding: 2px 6px; }

pre {
  padding: 1rem;
  overflow-x: auto;
  border: 1px solid var(--bg-gray);
}

pre code { background: none; padding: 0; }

/* ============================================
   LAYOUT
   ============================================ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 16px;
}

.container-narrow {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 16px;
}

.site-content {
  padding: 48px 0;
  min-height: 60vh;
}

.content-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}

.section-padding {
  padding: 80px 0;
}

.section-padding-sm {
  padding: 48px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title h2 {
  font-size: 2.25rem;
  margin-bottom: 16px;
}

.section-title p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--white);
}

.btn-primary {
  background: var(--accent-red);
  color: var(--white);
  border-color: var(--accent-red);
}

.btn-primary:hover {
  background: #c5303c;
  border-color: #c5303c;
  color: var(--white);
}

.btn-secondary {
  background: var(--accent-blue);
  color: var(--white);
  border-color: var(--accent-blue);
}

.btn-secondary:hover {
  background: #2a75a8;
  border-color: #2a75a8;
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
}

.btn-outline-primary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline-primary:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

/* ============================================
   CARDS
   ============================================ */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.card-body {
  padding: 24px;
}

.card-img-top {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 12px;
  line-height: 1.3;
}

.card-title a { color: var(--primary); }
.card-title a:hover { color: var(--accent-blue); }

.card-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 16px;
}

.card-meta i {
  color: var(--accent-blue);
  margin-right: 4px;
}

.card-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--primary);
  color: var(--white);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

/* ============================================
   BREADCRUMB
   ============================================ */
/* Base breadcrumb wrapper - no background, blends naturally */
.breadcrumb-nav {
  padding: 14px 0;
  background: transparent;
  border-bottom: none;
  margin-bottom: 0;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.88rem;
  color: #374151;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  font-weight: 400;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 4px;
}

.breadcrumb a {
  color: #374151;
  text-decoration: none;
  transition: color 0.2s ease;
  font-weight: 400;
}

.breadcrumb a:hover {
  color: #0A2463;
  text-decoration: underline;
}

.breadcrumb-sep {
  color: #9CA3AF;
  font-size: 0.75rem;
  margin: 0 1px;
  user-select: none;
  line-height: 1;
}

.breadcrumb-current {
  color: #111827;
  font-weight: 600;
  display: inline-block;
  max-width: 320px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.breadcrumb-nav .breadcrumb li::marker {
  content: none;
}

/* Single Header Breadcrumb - On blue hero background */
.single-header .breadcrumb,
.single-header .breadcrumb a,
.single-header .breadcrumb li {
  color: #ffffff !important;
  font-size: 0.9rem;
  font-weight: 500;
}

.single-header .breadcrumb-sep {
  color: rgba(255,255,255,0.6) !important;
  font-size: 0.85rem;
  margin: 0 1px;
}

.single-header .breadcrumb a:hover {
  color: #FFD700 !important;
  text-decoration: underline;
}

.single-header .breadcrumb-current {
  color: #FFD700 !important;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.single-header .breadcrumb a i {
  color: rgba(255,255,255,0.9) !important;
  font-size: 0.75rem;
}

/* Category Header Breadcrumb */
.category-header .breadcrumb,
.category-header .breadcrumb a,
.category-header .breadcrumb li {
  color: #ffffff !important;
  font-size: 0.9rem;
  font-weight: 500;
}

.category-header .breadcrumb-sep {
  color: rgba(255,255,255,0.6) !important;
  font-size: 0.85rem;
}

.category-header .breadcrumb a:hover {
  color: #FFD700 !important;
  text-decoration: underline;
}

.category-header .breadcrumb-current {
  color: #FFD700 !important;
  font-weight: 700;
}

/* Page Header Breadcrumb */
.page-header .breadcrumb,
.page-header .breadcrumb a,
.page-header .breadcrumb li {
  color: #ffffff !important;
  font-size: 0.9rem;
  font-weight: 500;
}

.page-header .breadcrumb-sep {
  color: rgba(255,255,255,0.6) !important;
  font-size: 0.85rem;
}

.page-header .breadcrumb a:hover {
  color: #FFD700 !important;
  text-decoration: underline;
}

.page-header .breadcrumb-current {
  color: #FFD700 !important;
  font-weight: 700;
}

/* Search Page Header Breadcrumb */
.search-page-header .breadcrumb,
.search-page-header .breadcrumb a,
.search-page-header .breadcrumb li {
  color: #ffffff !important;
  font-size: 0.9rem;
  font-weight: 500;
}

.search-page-header .breadcrumb-sep {
  color: rgba(255,255,255,0.6) !important;
  font-size: 0.85rem;
}

.search-page-header .breadcrumb a:hover {
  color: #FFD700 !important;
  text-decoration: underline;
}

.search-page-header .breadcrumb-current {
  color: #FFD700 !important;
  font-weight: 700;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition);
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

/* Top Bar */
.header-top-bar {
  background: #0A2463;
  color: var(--white);
  padding: 7px 0;
  font-size: 0.83rem;
}

.header-top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-contact a {
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0.9;
  transition: opacity 0.2s ease;
  text-decoration: none;
}

.header-contact a:hover {
  opacity: 1;
  color: var(--white);
}

.header-top-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-states-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  opacity: 0.9;
  transition: opacity 0.2s ease;
  color: var(--white);
  font-size: 0.85rem;
}

.header-states-dropdown:hover { opacity: 1; }

.header-states-dropdown .dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--white);
  color: #2d3748;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  min-width: 220px;
  display: none;
  z-index: 1001;
  overflow: hidden;
}

.header-states-dropdown:hover .dropdown-menu,
.header-states-dropdown:focus-within .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 10px 16px;
  color: #2d3748;
  font-size: 0.9rem;
  border-bottom: 1px solid #e2e8f0;
  transition: all 0.2s ease;
  text-decoration: none;
}

.dropdown-menu a:last-child { border-bottom: none; }
.dropdown-menu a:hover {
  background: #f7fafc;
  color: #0A2463;
  padding-left: 20px;
}

.header-search-btn {
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  opacity: 0.9;
  font-size: 1rem;
  padding: 4px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
}

.header-search-btn:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* Search Overlay */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 36, 99, 0.95);
  z-index: 10000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 15vh;
}

.search-overlay.active { display: flex; }

.search-overlay-inner {
  width: 100%;
  max-width: 700px;
  padding: 0 24px;
}

.search-overlay h3 {
  color: var(--white);
  text-align: center;
  margin-bottom: 24px;
  font-size: 1.5rem;
}

.search-overlay .search-form {
  position: relative;
}

.search-overlay .search-input {
  width: 100%;
  padding: 18px 60px 18px 24px;
  font-size: 1.2rem;
  border: none;
  border-radius: var(--radius-xl);
  outline: none;
  font-family: var(--font-main);
  box-shadow: var(--shadow-xl);
}

.search-overlay .search-submit {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--accent-red);
  color: var(--white);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.search-overlay .search-submit:hover {
  background: #c5303c;
  transform: translateY(-50%) scale(1.05);
}

.search-overlay .search-close {
  position: absolute;
  top: -50px;
  right: 24px;
  color: var(--white);
  font-size: 2.5rem;
  cursor: pointer;
  opacity: 0.7;
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.search-overlay .search-close:hover { opacity: 1; }

/* Main Navigation */
.header-main-nav {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  background: var(--white);
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  z-index: 10001 !important;
}

.header-main-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0;
  padding-bottom: 0;
  height: 70px;
  flex-wrap: nowrap;
}

.site-logo {
  text-decoration: none;
  flex-shrink: 1;
  min-width: 0;
  overflow: hidden;
  max-width: 55%;
}

.site-logo .logo-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.1;
  letter-spacing: -0.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-logo .logo-subtitle {
  font-size: 0.65rem;
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.main-nav {
  display: flex !important;
  align-items: center;
  gap: 4px;
}

.main-nav > li {
  list-style: none;
  position: relative;
}

.main-nav > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 26px 14px;
  color: #1f2937;
  font-weight: 500;
  font-size: 0.93rem;
  transition: color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
  border-radius: 6px;
  letter-spacing: 0.1px;
}

.main-nav > li > a:hover,
.main-nav > li:hover > a {
  color: var(--primary);
  background: #f0f4ff;
}

.main-nav > li > a i.fa-chevron-down {
  font-size: 0.6em;
  opacity: 0.6;
  margin-left: 2px;
}

.main-nav .nav-cta a {
  background: var(--accent-red);
  color: var(--white) !important;
  border-radius: var(--radius-md);
  padding: 10px 20px !important;
  margin-left: 8px;
  font-weight: 600;
}

.main-nav .nav-cta a:hover {
  background: #c5303c;
  color: var(--white) !important;
}

/* Dropdown Menus */
.main-nav .sub-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.06);
  min-width: 240px;
  display: none;
  z-index: 1001;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  padding: 8px 0;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.main-nav > li:hover > .sub-menu {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.sub-menu li { list-style: none; position: relative; }

.sub-menu a {
  display: block;
  padding: 10px 20px;
  color: #374151;
  font-size: 0.9rem;
  font-weight: 400;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
  margin: 0 8px;
  border-radius: 6px;
}

.sub-menu a:hover {
  background: #f0f4ff;
  color: var(--primary);
  border-left-color: var(--primary);
  padding-left: 24px;
  font-weight: 500;
}

/* Mega menu for Resources */
.menu-item-has-children .mega-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: auto;
  right: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.06);
  min-width: 600px;
  padding: 24px;
  z-index: 1001;
  border: 1px solid #e5e7eb;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.menu-item-has-children:hover .mega-menu {
  display: grid;
  opacity: 1;
  transform: translateY(0);
}

.mega-menu-col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-weight: 600;
}

.mega-menu-col a {
  display: block;
  padding: 6px 0;
  color: var(--text-dark);
  font-size: 0.9rem;
  border-bottom: 1px solid var(--bg-gray);
  transition: var(--transition);
}

.mega-menu-col a:last-child { border-bottom: none; }

.mega-menu-col a:hover {
  color: var(--primary);
  padding-left: 8px;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 2px solid #333333;
  border-radius: 10px;
  cursor: pointer;
  padding: 8px 12px;
  color: #333;
  font-weight: 600;
  line-height: 1;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.menu-toggle:hover {
  background: #ffffff;
  border-color: #0A2463;
  color: #0A2463;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.menu-toggle-icon {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
}

.menu-toggle-text {
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.menu-toggle-bar {
  display: block;
  width: 22px;
  height: 3px;
  background: #333333;
  margin: 2px 0;
  transition: var(--transition);
  border-radius: 2px;
}

.menu-toggle.active .menu-toggle-bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active .menu-toggle-bar:nth-child(2) { opacity: 0; }
.menu-toggle.active .menu-toggle-bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.menu-toggle.active .menu-toggle-text {
  color: #0A2463;
}

/* Header scroll effect */
.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.site-header.scrolled .header-top-bar {
  display: none;
}

.site-header.scrolled .header-main-nav {
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.site-header.scrolled .header-main-nav .container {
  height: 56px;
}

/* ============================================
   MOBILE NAVIGATION
   ============================================ */
.mobile-nav-overlay {
  display: flex;
  flex-direction: column;
  visibility: hidden;
  opacity: 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #0A2463 0%, #0d3080 100%);
  z-index: 9999;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav-overlay.active {
  visibility: visible;
  opacity: 1;
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  position: sticky;
  top: 0;
  background: inherit;
  z-index: 10;
  min-height: 60px;
  flex-shrink: 0;
}

.mobile-nav-close {
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  padding: 8px;
  line-height: 1;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

.mobile-nav-close:hover {
  opacity: 1;
}

.mobile-nav-search {
  padding: 16px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  flex-shrink: 0;
}

.mobile-nav-search input {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 8px;
  color: var(--white);
  font-family: var(--font-main);
  font-size: 1rem;
  outline: none;
  transition: all 0.2s ease;
}

.mobile-nav-search input:focus {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.4);
}

.mobile-nav-search input::placeholder { color: rgba(255,255,255,0.6); }

.mobile-nav-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: block !important;
  visibility: visible !important;
}

.mobile-nav-menu {
  padding: 8px 0;
  display: block !important;
  visibility: visible !important;
}

.mobile-nav-menu li {
  list-style: none;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: block !important;
  visibility: visible !important;
}

.mobile-nav-menu a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px;
  color: rgba(255,255,255,0.95);
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.2s ease;
  text-decoration: none;
}

.mobile-nav-menu a:hover {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  padding-left: 28px;
}

.mobile-sub-menu a {
  padding-left: 40px;
  font-size: 0.95rem;
  font-weight: 400;
  color: rgba(255,255,255,0.8);
}

.mobile-nav-cta {
  padding: 20px 24px;
  flex-shrink: 0;
}

.mobile-nav-cta .btn {
  width: 100%;
  justify-content: center;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
  position: relative;
  height: 80vh;
  min-height: 550px;
  max-height: 800px;
  margin-top: 112px;
  overflow: hidden;
}

.hero-carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-slide.active { opacity: 1; }

.hero-slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-slide-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(10,36,99,0.85) 0%, rgba(10,36,99,0.6) 50%, rgba(62,146,204,0.4) 100%);
}

.hero-slide-content {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 16px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-tag {
  display: inline-block;
  background: var(--accent-red);
  color: var(--white);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  width: fit-content;
}

.hero-slide-content h2 {
  color: var(--white);
  font-size: 3rem;
  font-weight: 700;
  max-width: 700px;
  margin-bottom: 20px;
  line-height: 1.15;
}

.hero-slide-content p {
  color: rgba(255,255,255,0.9);
  font-size: 1.15rem;
  max-width: 600px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Carousel Controls */
.hero-controls {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 10;
}

.hero-prev, .hero-next {
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}

.hero-prev:hover, .hero-next:hover {
  background: var(--accent-red);
  border-color: var(--accent-red);
  transform: scale(1.1);
}

.hero-dots {
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.hero-dot.active {
  background: var(--white);
  transform: scale(1.3);
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features-section {
  padding: 80px 0;
  background: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  text-align: center;
  border: 1px solid var(--bg-gray);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary);
  transform: scaleX(0);
  transition: var(--transition);
}

.feature-card:hover::before { transform: scaleX(1); }

.feature-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-6px);
  border-color: transparent;
}

.feature-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, #e8f1fc 0%, #d4e8f9 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--primary);
  font-size: 1.8rem;
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.1);
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* ============================================
   CATEGORY MATRIX SECTION
   ============================================ */
.category-matrix-section {
  padding: 80px 0;
  background: var(--bg-light);
}

.matrix-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: start;
}

.tabs-nav {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  border-bottom: 2px solid var(--bg-gray);
  padding-bottom: 0;
}

.tab-btn {
  padding: 12px 24px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition);
  margin-bottom: -2px;
}

.tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--accent-red);
}

.tab-btn:hover { color: var(--primary); }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

.article-list-item {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--bg-gray);
  transition: var(--transition);
}

.article-list-item:last-child { border-bottom: none; }
.article-list-item:hover { padding-left: 8px; }

.article-list-thumb {
  flex-shrink: 0;
  width: 120px;
  height: 80px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-gray);
}

.article-list-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-list-content h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
  line-height: 1.3;
}

.article-list-content h4 a { color: var(--primary); }
.article-list-content h4 a:hover { color: var(--accent-blue); }

.article-list-meta {
  font-size: 0.8rem;
  color: var(--text-light);
  display: flex;
  gap: 12px;
}

/* Trending Sidebar */
.trending-sidebar {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 28px;
  position: sticky;
  top: 120px;
}

.trending-sidebar h3 {
  font-size: 1.1rem;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--primary);
  margin-bottom: 20px;
}

.trending-item {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--bg-gray);
  transition: var(--transition);
}

.trending-item:last-child { border-bottom: none; }
.trending-item:hover { padding-left: 4px; }

.trending-rank {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.trending-rank.rank-gold { background: #D4A017; }
.trending-rank.rank-silver { background: #9CA3AF; }
.trending-rank.rank-bronze { background: #B87333; }

.trending-info h4 {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 4px;
}

.trending-info h4 a { color: var(--text-dark); }
.trending-info h4 a:hover { color: var(--primary); }

.trending-info span {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ============================================
   KNOWLEDGE GRID SECTION
   ============================================ */
.knowledge-section {
  padding: 80px 0;
  background: var(--white);
}

.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.knowledge-card .card-img-top {
  height: 200px;
  position: relative;
}

.knowledge-card .card-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 1;
}

.knowledge-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-gray) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 3rem;
}

/* ============================================
   CLAIMS SECTION
   ============================================ */
.claims-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #0d3080 0%, var(--primary) 100%);
  position: relative;
  overflow: hidden;
}

.claims-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
  border-radius: 50%;
}

.claims-section .section-title h2,
.claims-section .section-title p {
  color: var(--white);
}

.claims-section .section-title p { color: rgba(255,255,255,0.8); }

.claims-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.claims-featured {
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
}

.claims-featured-img {
  width: 100%;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
}

.claims-featured-img img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.claims-featured-img > i.fas,
.claims-featured-img > i.far,
.claims-featured-img > i.fab {
  color: rgba(255,255,255,0.3);
  font-size: 4rem;
}

.claims-featured-body {
  padding: 28px;
  color: var(--white);
}

.claims-featured-body h3 {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.claims-featured-body p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 20px;
  line-height: 1.7;
}

.claims-list { display: flex; flex-direction: column; gap: 16px; }

.claims-list-item {
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  border: 1px solid rgba(255,255,255,0.1);
  transition: var(--transition);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.claims-list-item:hover {
  background: rgba(255,255,255,0.12);
  transform: translateX(4px);
}

.claims-list-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--accent-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.9rem;
}

.claims-list-text h4 {
  font-size: 0.95rem;
  color: var(--white);
  margin-bottom: 4px;
}

.claims-list-text a {
  color: var(--accent-blue-light);
  font-size: 0.85rem;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  padding: 80px 0;
  background: var(--primary);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-section .container { position: relative; }

.cta-section h2 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(255,255,255,0.85);
  font-size: 1.15rem;
  max-width: 650px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   SIDEBAR
   ============================================ */
.sidebar-widget {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-bottom: 28px;
  overflow: hidden;
}

.sidebar-widget-title {
  padding: 16px 20px;
  background: var(--primary);
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0;
}

.sidebar-widget-body {
  padding: 20px;
}

.widget-category-nav li {
  list-style: none;
  border-bottom: 1px solid var(--bg-gray);
  transition: var(--transition);
}

.widget-category-nav li:last-child { border-bottom: none; }

.widget-category-nav a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  color: var(--text-dark);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}

.widget-category-nav a:hover {
  color: var(--primary);
  padding-left: 8px;
}

.widget-category-nav .count {
  background: var(--bg-light);
  color: var(--text-muted);
  font-size: 0.75rem;
  padding: 2px 10px;
  border-radius: 20px;
  font-weight: 600;
}

.widget-article-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--bg-gray);
  transition: var(--transition);
}

.widget-article-item:last-child { border-bottom: none; }
.widget-article-item:hover { padding-left: 4px; }

.widget-article-thumb {
  flex-shrink: 0;
  width: 70px;
  height: 50px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-light);
}

.widget-article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.widget-article-info h4 {
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 4px;
}

.widget-article-info h4 a { color: var(--text-dark); }
.widget-article-info h4 a:hover { color: var(--primary); }

.widget-article-info span {
  font-size: 0.75rem;
  color: var(--text-light);
}

.sidebar-contact-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sidebar-contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.sidebar-contact-item i {
  color: var(--primary);
  margin-top: 2px;
  font-size: 1rem;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.sidebar-cta-widget {
  background: linear-gradient(135deg, var(--primary) 0%, #0d3080 100%);
  border-radius: var(--radius-lg);
  padding: 28px;
  color: var(--white);
  text-align: center;
}

.sidebar-cta-widget h3 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.sidebar-cta-widget p {
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
  margin-bottom: 20px;
}

/* ============================================
   CATEGORY PAGE
   ============================================ */
.category-header {
  padding: 48px 0 40px;
  background: linear-gradient(135deg, var(--primary) 0%, #0d3080 100%);
  color: var(--white);
  margin-top: 112px;
}

.category-header .breadcrumb,
.category-header .breadcrumb a,
.category-header .breadcrumb li {
  color: #ffffff !important;
  font-size: 0.9rem;
  font-weight: 500;
}

.category-header .breadcrumb-sep {
  color: rgba(255,255,255,0.6) !important;
  font-size: 0.85rem;
}

.category-header .breadcrumb a:hover {
  color: #FFD700 !important;
  text-decoration: underline;
}

.category-header .breadcrumb-current {
  color: #FFD700 !important;
  font-weight: 700;
}

.category-header h1 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.category-header p {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  max-width: 700px;
}

.category-sort-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--bg-gray);
  margin-bottom: 32px;
}

.sort-select {
  padding: 8px 36px 8px 14px;
  border: 1px solid var(--bg-gray);
  border-radius: var(--radius-md);
  font-family: var(--font-main);
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--white);
  cursor: pointer;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236C757D' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

.category-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 48px;
}

.related-categories {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding: 32px 0;
  border-top: 1px solid var(--bg-gray);
}

.related-cat-tag {
  padding: 8px 20px;
  background: var(--bg-light);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--primary);
  border: 1px solid var(--bg-gray);
  transition: var(--transition);
}

.related-cat-tag:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* ============================================
   SINGLE POST PAGE
   ============================================ */
.single-header {
  padding: 48px 0 40px;
  background: linear-gradient(135deg, var(--primary) 0%, #0d3080 100%);
  color: var(--white);
  margin-top: 112px;
}

.single-header .breadcrumb,
.single-header .breadcrumb a,
.single-header .breadcrumb li {
  color: #ffffff !important;
  font-size: 0.9rem;
  font-weight: 500;
}

.single-header .breadcrumb-sep {
  color: rgba(255,255,255,0.6) !important;
  font-size: 0.85rem;
}

.single-header .breadcrumb a:hover {
  color: #FFD700 !important;
  text-decoration: underline;
}

.single-header .breadcrumb-current {
  color: #FFD700 !important;
  font-weight: 700;
}

.single-header .breadcrumb a i {
  color: rgba(255,255,255,0.9) !important;
  font-size: 0.75rem;
}

.single-title {
  color: var(--white);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.single-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
}

.single-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.single-meta-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.single-meta-tag {
  padding: 4px 14px;
  background: rgba(255,255,255,0.2);
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--white);
}

/* Article Content */
.article-content-wrap {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
  padding: 48px 0;
}

.article-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-dark);
}

.article-body h2 {
  font-size: 1.8rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--bg-gray);
}

.article-body h3 {
  font-size: 1.35rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.article-body h4 {
  font-size: 1.15rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.article-body p { margin-bottom: 1.25em; }

.article-body ul, .article-body ol {
  margin-bottom: 1.25em;
}

.article-body li { margin-bottom: 0.5em; }

/* Article Table of Contents */
.article-toc {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 32px;
  border-left: 4px solid var(--primary);
}

.article-toc h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.article-toc ol {
  padding-left: 1.2em;
  margin: 0;
}

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

.article-toc a {
  color: var(--text-dark);
  font-size: 0.9rem;
  transition: var(--transition);
}

.article-toc a:hover { color: var(--primary); }

/* Post Navigation */
.post-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 40px 0;
}

.post-nav-link {
  display: block;
  padding: 20px;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  transition: var(--transition);
  border: 1px solid var(--bg-gray);
}

.post-nav-link:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.post-nav-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.post-nav-link:hover .post-nav-label { color: rgba(255,255,255,0.7); }

.post-nav-title {
  font-weight: 600;
  font-size: 0.95rem;
}

/* Related Posts */
.related-posts-section {
  margin: 48px 0;
  padding-top: 40px;
  border-top: 1px solid var(--bg-gray);
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}

/* Single CTA */
.single-cta-block {
  background: linear-gradient(135deg, var(--primary) 0%, #0d3080 100%);
  border-radius: var(--radius-xl);
  padding: 40px;
  text-align: center;
  color: var(--white);
  margin: 40px 0;
}

.single-cta-block h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.single-cta-block p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 24px;
}

/* ============================================
   PAGE TEMPLATE
   ============================================ */
.page-header {
  padding: 48px 0 40px;
  background: linear-gradient(135deg, var(--primary) 0%, #0d3080 100%);
  color: var(--white);
  margin-top: 112px;
}

.page-header .breadcrumb,
.page-header .breadcrumb a {
  color: rgba(255,255,255,0.95);
}

.page-header .breadcrumb-sep {
  color: rgba(255,255,255,0.5);
}

.page-header .breadcrumb a:hover {
  color: var(--white);
  text-decoration: underline;
}

.page-header .breadcrumb-current {
  color: #FFD700;
  font-weight: 700;
}

.page-header h1 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.page-content-wrap {
  padding: 48px 0;
}

.page-content-wrap .article-body {
  max-width: 800px;
}

/* ============================================
   SEARCH PAGE
   ============================================ */
.search-page-header {
  padding: 48px 0 40px;
  background: var(--primary);
  color: var(--white);
  margin-top: 112px;
}

.search-page-header .breadcrumb,
.search-page-header .breadcrumb a {
  color: rgba(255,255,255,0.95);
}

.search-page-header .breadcrumb-sep {
  color: rgba(255,255,255,0.5);
}

.search-page-header .breadcrumb a:hover {
  color: var(--white);
  text-decoration: underline;
}

.search-page-header .breadcrumb-current {
  color: #FFD700;
  font-weight: 700;
}

.search-page-header h1 {
  color: var(--white);
  font-size: 2rem;
}

.search-form-large {
  margin-top: 24px;
}

.search-form-large .search-input {
  width: 100%;
  padding: 16px 24px;
  font-size: 1.1rem;
  border: none;
  border-radius: var(--radius-xl);
  outline: none;
  font-family: var(--font-main);
  box-shadow: var(--shadow-lg);
}

.search-results-list { padding: 48px 0; }

.search-result-item {
  display: flex;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--bg-gray);
}

.search-result-thumb {
  flex-shrink: 0;
  width: 160px;
  height: 110px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-light);
}

.search-result-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.search-result-content h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.search-result-content h3 a { color: var(--primary); }
.search-result-content h3 a:hover { color: var(--accent-blue); }

.search-result-meta {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 8px;
}

.search-result-content p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ============================================
   404 PAGE
   ============================================ */
.error-404 {
  text-align: center;
  padding: 80px 0;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.error-404-icon {
  font-size: 8rem;
  color: var(--bg-gray);
  line-height: 1;
  margin-bottom: 24px;
}

.error-404 h1 {
  font-size: 3rem;
  margin-bottom: 16px;
}

.error-404 p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 500px;
  margin-bottom: 32px;
}

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

.pagination a, .pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
  border: 1px solid var(--bg-gray);
  background: var(--white);
  color: var(--text-dark);
}

.pagination a:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.pagination .current {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.pagination .prev, .pagination .next {
  padding: 0 16px;
}

.post-nav-btns {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 32px 0;
}

.post-nav-btns .btn {
  flex: 1;
  justify-content: center;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: #0d1832;
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
}

.footer-main {
  padding: 64px 0 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.4fr 1.3fr;
  gap: 40px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(255,255,255,0.1);
}

.footer-about .footer-logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  display: block;
}

.footer-about p {
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--accent-red);
  transform: translateY(-3px);
}

.footer-links { display: flex; flex-direction: column; }

.footer-links a {
  color: rgba(255,255,255,0.7);
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a::before {
  content: '>';
  font-size: 0.7rem;
  opacity: 0;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 8px;
}

.footer-links a::before { opacity: 1; }

.footer-resource-links { display: flex; flex-direction: column; }

.footer-resource-links a {
  color: rgba(255,255,255,0.7);
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.85rem;
  line-height: 1.4;
  transition: var(--transition);
}

.footer-resource-links a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  align-items: flex-start;
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer-contact-item i {
  color: var(--accent-blue);
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-hours {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

.footer-bottom-bar {
  background: rgba(0,0,0,0.3);
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-bottom-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom-bar p {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

.footer-legal-links {
  display: flex;
  gap: 20px;
}

.footer-legal-links a {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  transition: var(--transition);
}

.footer-legal-links a:hover { color: var(--white); }

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  z-index: 999;
}

.back-to-top.visible { display: flex; }

.back-to-top:hover {
  background: var(--accent-red);
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

/* ============================================
   LAZY LOADING
   ============================================ */
.lazy-img {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.lazy-img.loaded { opacity: 1; }

/* ============================================
   RESPONSIVE - 1440px+
   ============================================ */
@media (min-width: 1440px) {
  .container { max-width: 1280px; }
  .hero-slide-content h2 { font-size: 3.5rem; }
}

/* ============================================
   RESPONSIVE - 1200px
   ============================================ */
@media (max-width: 1199px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .knowledge-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .content-with-sidebar { grid-template-columns: 1fr 300px; }
  .article-content-wrap { grid-template-columns: 1fr 300px; }
  .matrix-layout { grid-template-columns: 1fr 320px; }

  /* ---- 1200px Breadcrumb Adjustments ---- */
  .breadcrumb-current {
    max-width: 280px;
  }
}

/* ============================================
   RESPONSIVE - 992px (Tablet)
   ============================================ */
@media (max-width: 991px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.7rem; }

  .header-top-bar { display: none; }

  .site-header { position: relative; }
  .hero-section { margin-top: 0; height: 70vh; }
  .hero-slide-content h2 { font-size: 2.2rem; }

  .category-header, .single-header, .page-header, .search-page-header { margin-top: 0; }

  .main-nav { display: none; }
  .menu-toggle { display: block; }

  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .claims-grid { grid-template-columns: 1fr; }
  .related-posts-grid { grid-template-columns: repeat(2, 1fr); }

  .matrix-layout { grid-template-columns: 1fr; }
  .trending-sidebar { position: static; }

  .content-with-sidebar { grid-template-columns: 1fr; }
  .article-content-wrap { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: repeat(2, 1fr); }

  .post-navigation { grid-template-columns: 1fr; }

  /* ---- Tablet Breadcrumb Styles ---- */
  .breadcrumb {
    font-size: 0.82rem;
  }

  .breadcrumb a {
    font-size: 0.82rem;
  }

  .breadcrumb-current {
    max-width: 260px;
    font-size: 0.82rem;
  }

  .single-header,
  .category-header,
  .page-header,
  .search-page-header {
    padding: 40px 0 32px;
  }

  /* ---- Tablet Navigation ---- */
  .header-main-nav .container {
    height: 60px;
  }

  .site-logo {
    max-width: calc(100% - 60px);
  }

  .site-logo .logo-title {
    font-size: 1.1rem;
  }

  .site-logo .logo-subtitle {
    font-size: 0.6rem;
  }

  .menu-toggle {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    background: #ffffff !important;
    border: 2px solid #333333 !important;
    border-radius: 8px;
    cursor: pointer;
    padding: 6px 10px;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  }

  .menu-toggle-icon {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
  }

  .menu-toggle-text {
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #333333;
  }

  .menu-toggle-bar {
    background: #333333 !important;
    height: 3px;
    width: 20px;
    margin: 2px 0;
  }

  .main-nav {
    display: none !important;
  }

  /* Mobile nav overlay - full screen */
  .mobile-nav-overlay {
    display: flex;
    flex-direction: column;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99999;
  }

  .mobile-nav-overlay.active {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-nav-header {
    flex-shrink: 0;
    min-height: 60px;
  }

  .mobile-nav-body {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-nav-search {
    flex-shrink: 0;
  }

  .mobile-nav-cta {
    flex-shrink: 0;
  }
}

/* ============================================
   RESPONSIVE - 768px (Mobile)
   ============================================ */
@media (max-width: 767px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.2rem; }

  .container { padding: 0 16px; }

  .section-padding { padding: 48px 0; }
  .section-padding-sm { padding: 32px 0; }

  .header-main-nav .container {
    height: auto;
    min-height: 60px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .site-logo {
    max-width: calc(100% - 110px);
  }

  .site-logo .logo-title {
    white-space: normal;
    line-height: 1.15;
    font-size: 1rem;
  }

  .site-logo .logo-subtitle {
    white-space: normal;
    line-height: 1.2;
  }

  .hero-section {
    height: 60vh;
    min-height: 450px;
  }

  .hero-slide-content h2 { font-size: 1.8rem; }
  .hero-slide-content p { font-size: 1rem; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; justify-content: center; }

  .features-grid { grid-template-columns: 1fr; }
  .knowledge-grid { grid-template-columns: 1fr; }

  .category-grid { grid-template-columns: 1fr; }

  .related-posts-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; }

  .footer-bottom-bar .container { flex-direction: column; text-align: center; }

  .single-title { font-size: 1.8rem; }
  .single-meta { gap: 12px; }

  .search-result-item { flex-direction: column; gap: 12px; }
  .search-result-thumb { width: 100%; height: 180px; }

  .search-result-meta,
  .article-list-meta,
  .card-meta,
  .single-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .trending-info h4,
  .article-list-content h4,
  .widget-article-info h4,
  .search-result-content h3,
  .card-title {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .tabs-nav { overflow-x: auto; white-space: nowrap; }
  .tab-btn { flex-shrink: 0; }

  .pagination a, .pagination span { min-width: 38px; height: 38px; }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
  }

  /* ---- Mobile Breadcrumb Styles ---- */
  .breadcrumb-nav {
    padding: 12px 0;
  }

  .breadcrumb {
    font-size: 0.8rem;
    gap: 2px;
  }

  .breadcrumb a {
    font-size: 0.8rem;
    padding: 2px 0;
  }

  .breadcrumb-sep {
    font-size: 0.7rem;
    margin: 0 1px;
  }

  .breadcrumb-current {
    font-size: 0.8rem;
    max-width: 200px;
  }

  /* Header area breadcrumb on mobile - white background with dark text */
  .single-header,
  .category-header,
  .page-header,
  .search-page-header {
    padding: 32px 0 24px;
  }

  .single-header .breadcrumb,
  .single-header .breadcrumb a,
  .single-header .breadcrumb li,
  .category-header .breadcrumb,
  .category-header .breadcrumb a,
  .category-header .breadcrumb li,
  .page-header .breadcrumb,
  .page-header .breadcrumb a,
  .page-header .breadcrumb li,
  .search-page-header .breadcrumb,
  .search-page-header .breadcrumb a,
  .search-page-header .breadcrumb li {
    color: #ffffff !important;
    font-size: 0.82rem;
  }

  .single-header .breadcrumb-sep,
  .category-header .breadcrumb-sep,
  .page-header .breadcrumb-sep,
  .search-page-header .breadcrumb-sep {
    color: rgba(255,255,255,0.5) !important;
    font-size: 0.75rem;
  }

  .single-header .breadcrumb-current,
  .category-header .breadcrumb-current,
  .page-header .breadcrumb-current,
  .search-page-header .breadcrumb-current {
    color: #FFD700 !important;
    font-weight: 700;
    font-size: 0.82rem;
    max-width: 180px;
  }

  .single-header .breadcrumb a i,
  .category-header .breadcrumb a i,
  .page-header .breadcrumb a i {
    color: rgba(255,255,255,0.8) !important;
    font-size: 0.7rem;
  }
}

/* ============================================
   RESPONSIVE - 375px (Small Mobile)
   ============================================ */
@media (max-width: 375px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.3rem; }

  .hero-section { height: 55vh; }
  .hero-slide-content h2 { font-size: 1.5rem; }
  .hero-controls { bottom: 20px; }
  .hero-prev, .hero-next { width: 40px; height: 40px; }

  .header-main-nav .container {
    min-height: 56px;
    padding-top: 6px;
    padding-bottom: 6px;
  }

  .site-logo {
    max-width: calc(100% - 105px);
  }

  .site-logo .logo-title {
    font-size: 0.92rem;
  }

  .site-logo .logo-subtitle {
    font-size: 0.55rem;
  }

  .feature-card { padding: 28px 20px; }

  .cta-section h2 { font-size: 1.8rem; }
  .cta-buttons { flex-direction: column; }
  .cta-buttons .btn { width: 100%; }

  .related-cat-tag { font-size: 0.8rem; padding: 6px 14px; }

  .post-nav-btns { flex-direction: column; }

  .single-cta-block { padding: 28px 20px; }

  .article-toc { padding: 16px; }

  .tabs-nav { gap: 4px; }
  .tab-btn { padding: 10px 16px; font-size: 0.85rem; }

  /* Small Mobile Breadcrumb */
  .breadcrumb {
    font-size: 0.8rem;
    gap: 2px;
  }

  .breadcrumb a,
  .single-header .breadcrumb a,
  .single-header .breadcrumb li,
  .category-header .breadcrumb a,
  .category-header .breadcrumb li,
  .page-header .breadcrumb a,
  .page-header .breadcrumb li,
  .search-page-header .breadcrumb a,
  .search-page-header .breadcrumb li {
    font-size: 0.8rem;
    color: #ffffff !important;
  }

  .breadcrumb-sep,
  .single-header .breadcrumb-sep,
  .category-header .breadcrumb-sep,
  .page-header .breadcrumb-sep,
  .search-page-header .breadcrumb-sep {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.5) !important;
  }

  .breadcrumb-current,
  .single-header .breadcrumb-current,
  .category-header .breadcrumb-current,
  .page-header .breadcrumb-current,
  .search-page-header .breadcrumb-current {
    font-size: 0.8rem;
    max-width: 160px;
    color: #FFD700 !important;
  }

  .breadcrumb-nav {
    padding: 10px 0;
  }

  .single-header,
  .category-header,
  .page-header,
  .search-page-header {
    padding: 24px 0 20px;
  }

  .single-title {
    font-size: 1.5rem;
  }

  /* Mobile matrix-tabs - fix horizontal overflow */
  .matrix-tabs {
    overflow-x: hidden;
    max-width: 100%;
  }

  .article-list-item {
    flex-direction: column;
    gap: 12px;
    padding: 16px 0;
    width: 100%;
  }

  .article-list-thumb {
    width: 100%;
    height: 160px;
    flex-shrink: 1;
  }

  .article-list-thumb img {
    width: 100%;
    height: 160px;
    object-fit: cover;
  }

  .article-list-content h4 {
    font-size: 0.95rem;
    line-height: 1.4;
  }

  .article-list-content h4 a {
    word-break: break-word;
  }

  .article-list-meta {
    font-size: 0.75rem;
    gap: 8px;
  }

  .trending-sidebar {
    margin-top: 40px;
  }

  .trending-item {
    padding: 10px 0;
  }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid var(--accent-blue);
  outline-offset: 2px;
}

.js-clickable-card {
  cursor: pointer;
}

.js-clickable-card:focus-visible {
  outline: 3px solid var(--accent-blue);
  outline-offset: 3px;
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
  .site-header, .site-footer, .sidebar, .back-to-top,
  .hero-section, .features-section, .cta-section,
  .post-navigation, .related-posts-section { display: none !important; }

  .site-content { padding: 0; }
  .article-body { font-size: 12pt; line-height: 1.5; }
}

/* ============================================
   v1.1.0 NEW FEATURES
   ============================================ */

/* ---- Reading Progress Bar ---- */
.reading-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(10,36,99,0.1);
  z-index: 10001;
  display: none;
}

.single-post .reading-progress-bar { display: block; }

.reading-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-red), var(--accent-blue));
  width: 0%;
  transition: width 0.1s linear;
  border-radius: 0 2px 2px 0;
}

/* ---- Social Share Buttons ---- */
.social-share-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 0;
  border-top: 2px solid var(--bg-gray);
  border-bottom: 2px solid var(--bg-gray);
  margin: 32px 0;
  flex-wrap: wrap;
}

.social-share-label {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-right: 4px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-main);
}

.share-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--white);
}

.share-facebook { background: #1877F2; color: var(--white); }
.share-facebook:hover { background: #166FE5; color: var(--white); }

.share-twitter { background: #000000; color: var(--white); }
.share-twitter:hover { background: #1a1a1a; color: var(--white); }

.share-linkedin { background: #0A66C2; color: var(--white); }
.share-linkedin:hover { background: #084e95; color: var(--white); }

.share-copy { background: var(--bg-light); color: var(--text-dark); border: 1px solid var(--bg-gray); }
.share-copy:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }
.share-copy.copied { background: #22c55e; color: var(--white); border-color: #22c55e; }

@media (max-width: 600px) {
  .share-btn span { display: none; }
  .share-btn { padding: 10px 14px; }
}

/* ---- Newsletter Form ---- */
.newsletter-form-block {
  background: linear-gradient(135deg, var(--primary) 0%, #0d3080 100%);
  border-radius: var(--radius-xl);
  padding: 40px;
  text-align: center;
  color: var(--white);
  margin: 40px 0;
  position: relative;
  overflow: hidden;
}

.newsletter-form-block::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.newsletter-form-icon {
  width: 64px;
  height: 64px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
}

.newsletter-form-block h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.newsletter-form-block p {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.newsletter-form-row {
  display: flex;
  gap: 10px;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form-row input {
  flex: 1;
  padding: 14px 18px;
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-main);
  font-size: 0.95rem;
  outline: none;
}

.newsletter-form-row input:focus {
  box-shadow: 0 0 0 3px rgba(255,255,255,0.3);
}

.newsletter-form-row .btn {
  flex-shrink: 0;
}

.newsletter-note {
  margin-top: 14px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
}

.newsletter-note i {
  margin-right: 4px;
}

@media (max-width: 500px) {
  .newsletter-form-row { flex-direction: column; }
  .newsletter-form-block { padding: 28px 20px; }
}

/* ---- Cookie Consent Banner ---- */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1a1a2e;
  color: var(--white);
  padding: 20px 0;
  z-index: 99999;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
  display: none;
}

.cookie-consent-banner.visible { display: block; }

.cookie-banner-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.cookie-banner-icon {
  font-size: 2rem;
  flex-shrink: 0;
  color: var(--accent-blue);
}

.cookie-banner-text {
  flex: 1;
}

.cookie-banner-text strong {
  display: block;
  color: var(--white);
  margin-bottom: 4px;
  font-size: 0.95rem;
}

.cookie-banner-text p {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  margin: 0;
  line-height: 1.5;
}

.cookie-banner-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-banner-actions .btn-outline-primary {
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}

.cookie-banner-actions .btn-outline-primary:hover {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}

@media (max-width: 767px) {
  .cookie-banner-inner { flex-direction: column; text-align: center; }
  .cookie-banner-actions { width: 100%; justify-content: center; }
}

/* ---- Content Table Enhancements ---- */
.table-wrapper {
  overflow-x: auto;
  margin: 1.5rem 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--bg-gray);
}

.article-body table {
  min-width: 600px;
  margin: 0;
}

.article-body figure.wp-caption {
  margin: 1.5rem 0;
  text-align: center;
}

.article-body figure.wp-caption img {
  border-radius: var(--radius-md);
  margin: 0 auto;
}

.article-body figcaption,
.article-body .wp-caption-text {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 10px 0 0;
  font-style: italic;
}

.article-body blockquote {
  position: relative;
  padding: 24px 24px 24px 56px;
}

.article-body blockquote::before {
  content: '\201C';
  position: absolute;
  top: 10px;
  left: 16px;
  font-size: 4rem;
  color: var(--accent-blue);
  opacity: 0.3;
  font-family: Georgia, serif;
  line-height: 1;
}

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

/* ---- Video Responsive ---- */
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  margin: 1.5rem 0;
  border-radius: var(--radius-md);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: var(--radius-md);
}

/* ---- Author Bio Box ---- */
.author-bio-box {
  display: flex;
  gap: 20px;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin: 32px 0;
  border-left: 4px solid var(--primary);
}

.author-avatar img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.author-info h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 4px;
  font-weight: 600;
}

.author-info strong {
  display: block;
  color: var(--primary);
  margin-bottom: 6px;
}

.author-info p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 500px) {
  .author-bio-box { flex-direction: column; }
}

/* ---- Related Posts Grid (Enhanced) ---- */
.related-posts-grid .card-img-top {
  height: 160px;
}

/* ---- Cookie Script ---- */
.cookie-script-triggered .cookie-consent-banner {
  display: none;
}

/* ---- Floating Contact Bar ---- */
.floating-contact-bar {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9998;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.floating-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.floating-btn:hover {
  transform: scale(1.1);
  color: var(--white);
  box-shadow: var(--shadow-xl);
}

.floating-btn-phone { background: var(--accent-blue); }
.floating-btn-email { background: var(--primary); }
.floating-btn-top {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--primary);
  display: none;
}

.floating-btn-top.visible { display: flex; }
.floating-btn-top:hover { background: var(--primary); color: var(--white); }

body.cookie-banner-open .floating-contact-bar {
  bottom: 120px;
}

.pagination .prev, .pagination .next {
  min-width: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* ---- Category Badge Colors ---- */
.card-tag.cat-coverage { background: #0A2463; }
.card-tag.cat-eligibility { background: #3E92CC; }
.card-tag.cat-filing { background: #2d6a4f; }
.card-tag.cat-help { background: #7C3AED; }
.card-tag.cat-compare { background: #D97706; }
.card-tag.cat-cost { background: #E63946; }
.card-tag.cat-states { background: #0891B2; }
.card-tag.cat-cheap { background: #059669; }

/* ---- Homepage Hero Enhancement ---- */
.hero-section {
  background: #0A2463;
}

.hero-section.no-slides {
  height: 70vh;
  min-height: 500px;
  display: flex;
  align-items: center;
}

/* ---- Sticky Post Badge ---- */
.sticky-post-badge {
  display: inline-block;
  background: var(--accent-red);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

/* ---- Section Divider ---- */
.section-divider {
  width: 60px;
  height: 4px;
  background: var(--accent-red);
  border-radius: 2px;
  margin: 0 auto 16px;
}

/* ---- Article Content Typography ---- */
.article-body h2 {
  font-size: 1.65rem;
  padding-top: 8px;
  scroll-margin-top: 120px;
}

.article-body h3 {
  font-size: 1.25rem;
  scroll-margin-top: 120px;
}

/* ---- Search Page Enhancement ---- */
.search-result-item {
  transition: var(--transition);
}

.search-result-item:hover {
  background: var(--bg-light);
  padding-left: 12px;
  border-radius: var(--radius-md);
}

/* ---- Empty State ---- */
.empty-state {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-muted);
}

.empty-state-icon {
  font-size: 4rem;
  color: var(--bg-gray);
  margin-bottom: 20px;
}

.empty-state h3 {
  color: var(--text-dark);
  margin-bottom: 12px;
}

/* ---- Print Enhancement ---- */
@media print {
  .reading-progress-bar,
  .back-to-top,
  .floating-contact-bar,
  .cookie-consent-banner,
  .social-share-buttons { display: none !important; }

  .article-body { column-count: 1; }
  h2, h3 { page-break-after: avoid; }
  table { page-break-inside: avoid; }
}

