/* ==========================================================================
   Dimension Computer - Modern High-Performance Stylesheet
   Color Palette:
     Primary Crimson: #850345
     Primary Dark:    #650234
     Secondary Navy:  #1e293b
     Dark Slate:      #0f172a
     Accent Blue:     #0284c7
     Light Gray:      #f8fafc
     Border Gray:     #e2e8f0
   ========================================================================== */

:root {
  --primary: #850345;
  --primary-dark: #650234;
  --primary-light: #fdf2f8;
  --secondary: #1e293b;
  --dark: #0f172a;
  --accent: #0284c7;
  --success: #16a34a;
  --warning: #ca8a04;
  --danger: #dc2626;
  --light-bg: #f8fafc;
  --card-bg: #ffffff;
  --border: #e2e8f0;
  --text-main: #334155;
  --text-muted: #64748b;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
  --radius: 8px;
  --transition: all 0.2s ease-in-out;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  color: var(--text-main);
  background-color: var(--light-bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

a:hover {
  color: var(--primary-dark);
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  color: var(--dark);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.5rem;
}

h1 { font-size: 2.3rem; }
h2 { font-size: 1.85rem; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.15rem; }

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

.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-primary { color: var(--primary); }

.badge-pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  background-color: #fef2f2;
  color: var(--primary);
  border: 1px solid #fecaca;
}

.badge-success {
  background-color: #dcfce7;
  color: var(--success);
  border: 1px solid #bbf7d0;
}

.badge-warning {
  background-color: #fef9c3;
  color: var(--warning);
  border: 1px solid #fef08a;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff !important;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.btn-secondary {
  background-color: var(--secondary);
  color: #ffffff !important;
}

.btn-secondary:hover {
  background-color: var(--dark);
  transform: translateY(-1px);
}

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

.btn-outline:hover {
  background-color: var(--primary);
  color: #ffffff !important;
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.85rem;
}

.btn-block {
  display: flex;
  width: 100%;
}

/* ==========================================================================
   Top Header Bar
   ========================================================================== */
.top-bar {
  background-color: var(--secondary);
  color: #cbd5e1;
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.top-info .divider {
  color: #64748b;
}

.top-phone {
  color: #ffffff;
  font-size: 0.95rem;
}

.top-phone:hover {
  color: #38bdf8;
}

/* ==========================================================================
   Main Header Navigation
   ========================================================================== */
.site-header {
  background-color: #ffffff;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
}

.brand-link {
  display: flex;
  align-items: center;
}

.brand-logo {
  max-height: 48px;
  width: auto;
}

.brand-text {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--secondary);
}

.brand-text span {
  color: var(--primary);
}

.main-nav .nav-list {
  display: flex;
  list-style: none;
  gap: 20px;
  align-items: center;
}

.nav-item {
  position: relative;
}

.nav-item a {
  color: var(--dark);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 6px;
  display: block;
}

.nav-item.active > a,
.nav-item a:hover {
  color: var(--primary);
}

/* Dropdown */
.has-dropdown:hover .dropdown-menu {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffffff;
  box-shadow: var(--shadow-md);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  min-width: 240px;
  padding: 8px 0;
  list-style: none;
  z-index: 100;
}

.dropdown-menu li a {
  padding: 10px 16px;
  font-size: 0.9rem;
  color: var(--text-main);
  border-bottom: 1px solid #f1f5f9;
}

.dropdown-menu li:last-child a {
  border-bottom: none;
}

.dropdown-menu li a:hover {
  background-color: var(--light-bg);
  color: var(--primary);
}

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

.cart-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 14px;
  font-size: 1.1rem;
  position: relative;
  transition: var(--transition);
}

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

.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background-color: var(--primary);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background-color: var(--dark);
  margin: 5px 0;
  transition: var(--transition);
  border-radius: 2px;
}

/* ==========================================================================
   Alerts & Notifications
   ========================================================================== */
.flash-container {
  margin-top: 16px;
}

.alert {
  padding: 14px 18px;
  border-radius: var(--radius);
  margin-bottom: 12px;
  font-weight: 500;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.alert-success { background-color: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-danger { background-color: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.alert-info { background-color: #f0f9ff; color: #075985; border: 1px solid #bae6fd; }

.close-alert {
  background: none;
  border: none;
  font-size: 1.4rem;
  line-height: 1;
  color: inherit;
  cursor: pointer;
  padding: 0 4px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
  padding: 60px 0 70px;
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
}

.hero-content h1 {
  font-size: 2.7rem;
  line-height: 1.2;
  margin: 16px 0;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.hero-features {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

.hero-feat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--secondary);
}

.hero-image-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.hero-badge-float {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background-color: rgba(15, 23, 42, 0.9);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: var(--radius);
  font-size: 0.85rem;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.2);
}

/* ==========================================================================
   Services Cards Section
   ========================================================================== */
.section-pad {
  padding: 60px 0;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
}

.section-head h2 {
  font-size: 2.1rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.service-icon {
  font-size: 2.6rem;
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* ==========================================================================
   Product Grid (E-Commerce Catalog)
   ========================================================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.product-card {
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

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

.product-img-wrap {
  height: 200px;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  position: relative;
  border-bottom: 1px solid var(--border);
}

.product-img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.sale-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: var(--primary);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.product-info {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-cat {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 4px;
}

.product-title {
  font-size: 1.05rem;
  margin-bottom: 8px;
  line-height: 1.35;
}

.product-title a {
  color: var(--dark);
}

.product-title a:hover {
  color: var(--primary);
}

.product-pricing {
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 14px;
}

.price-current {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--dark);
}

.price-old {
  font-size: 0.95rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

/* ==========================================================================
   Product Detail Page
   ========================================================================== */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 40px;
  background-color: #ffffff;
  padding: 36px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin: 30px 0;
}

.detail-img-box {
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
}

.detail-img {
  max-height: 360px;
  object-fit: contain;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.9rem;
}

.specs-table tr {
  border-bottom: 1px solid var(--border);
}

.specs-table th {
  padding: 8px 12px;
  background-color: var(--light-bg);
  width: 35%;
  text-align: left;
  font-weight: 600;
}

.specs-table td {
  padding: 8px 12px;
}

/* ==========================================================================
   Cart & Checkout
   ========================================================================== */
.cart-table {
  width: 100%;
  border-collapse: collapse;
  background-color: #ffffff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  margin-bottom: 24px;
}

.cart-table th, .cart-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.cart-table th {
  background-color: var(--light-bg);
  font-weight: 600;
  color: var(--secondary);
}

.qty-input {
  width: 60px;
  padding: 6px 8px;
  border: 1px solid var(--border);
  border-radius: 4px;
  text-align: center;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 30px;
  margin: 30px 0;
}

.checkout-box {
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--secondary);
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(133, 3, 69, 0.12);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ==========================================================================
   FAQ Section (AEO Question / Answer)
   ========================================================================== */
.faq-list {
  max-width: 840px;
  margin: 0 auto;
}

.faq-item {
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  padding: 18px 22px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--dark);
}

.faq-question:hover {
  background-color: #f8fafc;
  color: var(--primary);
}

.faq-answer {
  padding: 0 22px 20px;
  color: var(--text-main);
  font-size: 0.96rem;
  line-height: 1.65;
  border-top: 1px solid #f1f5f9;
  padding-top: 14px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: var(--secondary);
  color: #cbd5e1;
  padding: 60px 0 0;
  border-top: 4px solid var(--primary);
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 36px;
  padding-bottom: 40px;
}

.footer-heading {
  color: #ffffff;
  font-size: 1.15rem;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 8px;
}

.footer-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background-color: var(--primary);
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(255,255,255,0.06);
  padding: 6px 12px;
  border-radius: var(--radius);
  font-size: 0.82rem;
  border: 1px solid rgba(255,255,255,0.1);
}

.footer-links, .footer-contact-list {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #cbd5e1;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-contact-list li {
  font-size: 0.9rem;
  margin-bottom: 12px;
  line-height: 1.5;
}

.footer-phone-link {
  color: #38bdf8;
  font-weight: 700;
  font-size: 1rem;
}

.footer-bottom {
  background-color: #0f172a;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.85rem;
}

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

.footer-bottom-links {
  display: flex;
  gap: 12px;
}

.footer-bottom-links a {
  color: #94a3b8;
}

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

.admin-portal-link {
  color: #f43f5e !important;
  font-weight: 600;
}

/* Mobile Sticky Action Bar */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #ffffff;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
  padding: 10px 14px;
  z-index: 999;
}

.mobile-sticky-bar .sticky-btn {
  flex: 1;
  padding: 10px;
  text-align: center;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.92rem;
}

.sticky-call {
  background-color: var(--secondary);
  color: #ffffff !important;
  margin-right: 8px;
}

.sticky-quote {
  background-color: var(--primary);
  color: #ffffff !important;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-image-wrap {
    order: -1;
  }
  .product-detail-grid {
    grid-template-columns: 1fr;
  }
  .checkout-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .top-info span:not(:first-child):not(.top-phone) {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: var(--shadow-md);
    border-top: 1px solid var(--border);
    padding: 16px 20px;
  }
  .main-nav.show {
    display: block;
  }
  .main-nav .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    padding-left: 14px;
  }
  .btn-quote {
    display: none;
  }
  .mobile-sticky-bar {
    display: flex;
  }
  body {
    padding-bottom: 60px;
  }
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.5rem; }
}

/* ==========================================================================
   AEO / Answer Engine Optimization, Blog Architecture & AdSense Isolation
   ========================================================================== */

/* Reading Progress Bar (Single Blog Post) */
.reading-progress-bar-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: transparent;
  z-index: 99999;
}
.reading-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width 0.1s ease-out;
}

/* Direct-Answer Content Block (AEO / GEO) */
.aeo-summary-box {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #cbd5e1;
  border-left: 5px solid var(--primary);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin: 25px 0 35px 0;
  box-shadow: var(--shadow-sm);
}
.aeo-summary-box .aeo-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary);
  margin-bottom: 10px;
}
.aeo-summary-box p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #1e293b;
  font-weight: 500;
  margin: 0;
}

/* Dynamic Table of Contents (TOC) */
.toc-container {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 25px 0 35px 0;
  box-shadow: var(--shadow-sm);
}
.toc-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.toc-list li {
  margin-bottom: 8px;
}
.toc-list li.toc-h3 {
  padding-left: 18px;
  font-size: 0.92rem;
}
.toc-list a {
  color: var(--secondary);
  text-decoration: none;
  transition: var(--transition);
}
.toc-list a:hover {
  color: var(--primary);
  padding-left: 4px;
}

/* Single Blog Article Content */
.article-body {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #334155;
}
.article-body h2 {
  font-size: 1.7rem;
  color: var(--dark);
  margin: 40px 0 16px 0;
  padding-bottom: 8px;
  border-bottom: 2px solid #f1f5f9;
  line-height: 1.35;
}
.article-body h3 {
  font-size: 1.35rem;
  color: var(--dark);
  margin: 30px 0 12px 0;
  line-height: 1.35;
}
.article-body p {
  margin-bottom: 22px;
}
.article-body ul, .article-body ol {
  margin: 16px 0 24px 24px;
}
.article-body li {
  margin-bottom: 10px;
}
.article-body strong {
  color: var(--dark);
}

/* Author Box */
.author-box {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin: 40px 0;
  box-shadow: var(--shadow-sm);
}
.author-avatar {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-light);
  flex-shrink: 0;
}
.author-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}
.author-bio {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* Visitor Counter Badge */
.visitor-counter-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f1f5f9;
  color: #475569;
  font-size: 0.82rem;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 600;
}

/* FAQ Accordion in Articles */
.article-faq-section {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin: 40px 0;
  box-shadow: var(--shadow-sm);
}
.faq-item-card {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.faq-item-card:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.faq-question {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}
.faq-answer {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--text-main);
  margin: 0;
}

/* AdSense Isolated Styling */
.adsense-isolated-wrapper {
  max-width: 100%;
  overflow: hidden;
}

