/*!
Theme Name: Walkiria Shop Modern 2026
Theme URI: https://compresormodelismo.com.es/
Author: Victor Alonso & Antigravity
Version: 2.1.0
Description: Modern, responsive, high-performance theme optimized for aerography and modeling affiliate guides.
*/

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

/* --- CSS VARIABLES & DESIGN TOKENS --- */
:root {
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  --color-primary: #0284c7;
  --color-primary-hover: #0369a1;
  --color-primary-light: #f0f9ff;
  --color-primary-border: #bae6fd;
  
  --color-secondary: #0f172a;
  --color-secondary-light: #1e293b;
  --color-accent: #f59e0b;
  --color-accent-hover: #d97706;
  --color-success: #10b981;
  --color-danger: #ef4444;
  
  --color-text-main: #1e293b;
  --color-text-muted: #64748b;
  --color-text-light: #94a3b8;
  
  --color-bg-body: #f8fafc;
  --color-bg-card: #ffffff;
  --color-border: #e2e8f0;
  --color-border-dark: #cbd5e1;
  
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 20px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
}

/* --- BASE & NORMALIZATION --- */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--color-bg-body);
  color: var(--color-text-main);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--color-bg-body);
  color: var(--color-text-main);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

#page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

#content {
  flex: 1 0 auto;
  max-width: 1240px;
  margin: 0 auto;
  width: 100%;
  padding: 32px 24px 60px;
}

@media (max-width: 768px) {
  #content {
    padding: 20px 16px 40px;
  }
}

/* --- SKIP LINK --- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--color-primary);
  color: #fff;
  padding: 8px 16px;
  z-index: 99999;
}
.skip-link:focus {
  top: 0;
}

/* --- TOP ANNOUNCEMENT BAR --- */
.cmod-topbar {
  background: #070c18;
  color: #cbd5e1;
  font-size: 12.5px;
  padding: 8px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.cmod-topbar-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.cmod-topbar-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.cmod-topbar-badge {
  background: var(--color-accent);
  color: #0f172a;
  font-weight: 800;
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.cmod-topbar-link {
  color: #38bdf8 !important;
  font-weight: 600;
  text-decoration: none !important;
  transition: color 0.15s;
}

.cmod-topbar-link:hover {
  color: #7dd3fc !important;
  text-decoration: underline !important;
}

@media (max-width: 768px) {
  .cmod-topbar-inner {
    justify-content: center;
    text-align: center;
  }
  .cmod-topbar-right {
    display: none;
  }
}

/* --- HEADER & SITE BRANDING --- */
.site-header {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  padding: 12px 28px;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 4px 20px -2px rgba(15,23,42,0.05);
}

.cmod-header-container {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cmod-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
}

.cmod-brand-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(2,132,199,0.12);
  transition: transform 0.2s ease;
}

.cmod-brand-link:hover .cmod-brand-icon {
  transform: scale(1.05);
}

.cmod-brand-titles {
  display: flex;
  flex-direction: column;
}

.site-title-text {
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 800;
  color: var(--color-secondary);
  letter-spacing: -0.5px;
  line-height: 1.15;
}

.cmod-logo-accent {
  color: var(--color-primary);
}

.site-subtitle-tag {
  font-size: 11px;
  color: var(--color-text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-top: 2px;
}

/* --- NAVIGATION MENU (DESKTOP) --- */
.main-navigation {
  display: flex;
  align-items: center;
}

.cmod-menu-ul {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 4px;
}

.cmod-menu-ul li {
  margin: 0;
  position: relative;
}

.cmod-menu-ul a {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 600;
  color: #334155;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  text-decoration: none !important;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.cmod-menu-ul a:hover {
  color: var(--color-primary);
  background-color: var(--color-primary-light);
}

/* Highlighted Action Button in Menu (Chuleta Imprimible) */
.cmod-menu-ul li:last-child a,
.cmod-menu-ul a[href*="chuleta"] {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff !important;
  padding: 8px 14px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(2,132,199,0.25);
  border-radius: 8px;
}

.cmod-menu-ul li:last-child a:hover,
.cmod-menu-ul a[href*="chuleta"]:hover {
  background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(2,132,199,0.35);
}

/* --- MOBILE MENU TOGGLE --- */
.menu-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: var(--color-secondary);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-sm);
  padding: 7px 12px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
}

.menu-toggle:hover {
  background: #f1f5f9;
}

.menu-icon-bars {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 18px;
  height: 13px;
}

.menu-icon-bars span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-secondary);
  border-radius: 2px;
  transition: all 0.25s ease;
}

/* When toggled on mobile */
.main-navigation.toggled .menu-icon-bars span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}
.main-navigation.toggled .menu-icon-bars span:nth-child(2) {
  opacity: 0;
}
.main-navigation.toggled .menu-icon-bars span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

@media (max-width: 992px) {
  .site-header {
    padding: 10px 18px;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .cmod-menu-container {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 3px solid var(--color-primary);
    box-shadow: 0 16px 30px rgba(0,0,0,0.12);
    padding: 14px 18px 20px;
    z-index: 1000;
  }
  .main-navigation.toggled .cmod-menu-container {
    display: block;
    animation: cmodSlideDown 0.25s ease forwards;
  }
  .cmod-menu-ul {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }
  .cmod-menu-ul a {
    padding: 12px 14px;
    font-size: 15px;
    border-radius: 8px;
    border: 1px solid #f1f5f9;
    background: #fafafa;
  }
  .cmod-menu-ul a:hover {
    background: #f0f9ff;
    border-color: #bae6fd;
  }
}

@keyframes cmodSlideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- TYPOGRAPHY & HEADINGS --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-secondary);
  font-weight: 700;
  margin-top: 0;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.25;
  font-weight: 800;
  margin-bottom: 20px;
}

h2 {
  font-size: clamp(20px, 3vw, 26px);
  line-height: 1.35;
  margin-top: 40px;
  margin-bottom: 18px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-border);
}

h3 {
  font-size: clamp(17px, 2.5vw, 21px);
  line-height: 1.4;
  margin-top: 28px;
  margin-bottom: 12px;
}

p {
  margin-top: 0;
  margin-bottom: 1.3rem;
  line-height: 1.75;
}

a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}

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

strong, b {
  color: var(--color-secondary);
  font-weight: 700;
}

/* --- SECTION HEADERS --- */
.cmod-section-header {
  text-align: center;
  max-width: 820px;
  margin: 40px auto 30px;
}

.cmod-badge-pill {
  display: inline-block;
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid var(--color-primary-border);
  margin-bottom: 12px;
}

.cmod-section-title {
  font-size: clamp(22px, 3.5vw, 30px);
  font-weight: 800;
  color: var(--color-secondary);
  margin-bottom: 12px;
  border-bottom: none;
  padding-bottom: 0;
}

.cmod-section-sub {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* --- COMPARISON TABLE --- */
.cmod-comparison-section {
  margin: 36px 0 50px;
}

.cmod-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-bottom: 16px;
}

.cmod-comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
  min-width: 820px;
  margin: 0;
  border: none;
  box-shadow: none;
}

.cmod-comparison-table thead tr {
  background: #0f172a;
  color: #ffffff;
}

.cmod-comparison-table th {
  padding: 14px 16px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border: none;
  color: #ffffff;
  background: #0f172a;
}

.cmod-comparison-table td {
  padding: 14px 16px;
  border-top: 1px solid var(--color-border);
  vertical-align: middle;
}

.cmod-row-highlight {
  background-color: #f0fdf4 !important;
  border-left: 4px solid var(--color-success);
}

.cmod-prod-col {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cmod-thumb-img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 4px;
  flex-shrink: 0;
}

.cmod-table-badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  color: #ffffff;
  padding: 2px 7px;
  border-radius: 4px;
  margin-bottom: 4px;
}

.cmod-table-name a {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  color: var(--color-secondary);
  text-decoration: none;
  line-height: 1.3;
}
.cmod-table-name a:hover {
  color: var(--color-primary);
}

.cmod-table-rating {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.cmod-stars {
  color: #f59e0b;
}

.cmod-spec-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 700;
}
.cmod-spec-success {
  background: #dcfce7;
  color: #166534;
}
.cmod-spec-muted {
  background: #f1f5f9;
  color: #64748b;
}

.cmod-db-val {
  display: block;
  font-weight: 700;
  color: var(--color-secondary);
}
.cmod-db-sub {
  display: block;
  font-size: 11px;
  color: var(--color-text-muted);
}

.cmod-check-yes {
  color: var(--color-success);
  font-weight: 700;
}
.cmod-check-no {
  color: #94a3b8;
}

.cmod-best-for {
  font-size: 13px;
  color: var(--color-text-main);
  line-height: 1.45;
  display: block;
}

.cmod-btn-table-cta {
  display: inline-block;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff !important;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  padding: 9px 14px;
  border-radius: 8px;
  text-decoration: none !important;
  box-shadow: 0 2px 6px rgba(245,158,11,0.3);
  transition: all 0.2s ease;
  white-space: nowrap;
}
.cmod-btn-table-cta:hover {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(245,158,11,0.4);
}

.cmod-table-footnote {
  font-size: 13px;
  color: var(--color-text-muted);
  text-align: center;
  margin: 10px 0 30px;
}

/* --- PRODUCT REVIEWS CARDS --- */
.cmod-reviews-container {
  margin: 40px 0;
}

.cmod-product-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  margin-bottom: 40px;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.cmod-product-card:hover {
  box-shadow: var(--shadow-lg);
}

.cmod-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  padding: 24px 28px;
  background: #f8fafc;
  border-bottom: 1px solid var(--color-border);
}

.cmod-card-header-main {
  flex: 1 1 500px;
}

.cmod-product-badge {
  display: inline-block;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.cmod-product-title {
  margin: 0 0 6px;
  font-size: clamp(19px, 2.8vw, 24px);
  font-weight: 800;
  color: var(--color-secondary);
  line-height: 1.3;
}

.cmod-brand-meta {
  font-size: 13px;
  color: var(--color-text-muted);
}
.cmod-dot-sep {
  margin: 0 6px;
}

.cmod-rating-box {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 10px 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  min-width: 120px;
}

.cmod-score {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--color-secondary);
  line-height: 1;
}
.cmod-score span {
  font-size: 13px;
  color: var(--color-text-muted);
}
.cmod-stars-gold {
  color: #f59e0b;
  font-size: 14px;
  letter-spacing: 1px;
  margin: 2px 0;
}
.cmod-reviews-hint {
  font-size: 11px;
  color: var(--color-text-muted);
}

.cmod-card-body {
  padding: 28px;
}

.cmod-main-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  margin-bottom: 26px;
}

@media (max-width: 820px) {
  .cmod-main-grid {
    grid-template-columns: 1fr;
  }
}

.cmod-image-col {
  text-align: center;
}

.cmod-img-link {
  display: block;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease;
}
.cmod-img-link:hover {
  transform: translateY(-2px);
}

.cmod-product-img {
  max-height: 230px;
  width: auto;
  margin: 0 auto;
  object-fit: contain;
}

.cmod-prime-tag {
  font-size: 12px;
  font-weight: 700;
  color: #0284c7;
  margin-top: 10px;
}

.cmod-subheading {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-secondary);
  margin: 0 0 12px;
}

.cmod-specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.cmod-spec-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f8fafc;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 10px 14px;
}

.cmod-spec-icon {
  font-size: 20px;
}
.cmod-spec-lbl {
  display: block;
  font-size: 11.5px;
  color: var(--color-text-muted);
  font-weight: 500;
}
.cmod-spec-val {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--color-secondary);
}

/* Pros and Cons */
.cmod-pros-cons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.cmod-pros-box {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  padding: 18px 20px;
}
.cmod-pros-title {
  font-family: var(--font-heading);
  font-size: 14.5px;
  font-weight: 800;
  color: #166534;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.cmod-pros-list {
  margin: 0;
  padding-left: 18px;
  color: #14532d;
  font-size: 13.5px;
  line-height: 1.6;
}
.cmod-pros-list li {
  margin-bottom: 6px;
}

.cmod-cons-box {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 10px;
  padding: 18px 20px;
}
.cmod-cons-title {
  font-family: var(--font-heading);
  font-size: 14.5px;
  font-weight: 800;
  color: #92400e;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.cmod-cons-list {
  margin: 0;
  padding-left: 18px;
  color: #78350f;
  font-size: 13.5px;
  line-height: 1.6;
}
.cmod-cons-list li {
  margin-bottom: 6px;
}

/* Verdict */
.cmod-verdict-box {
  background: #eff6ff;
  border-left: 4px solid var(--color-primary);
  border-radius: 6px;
  padding: 16px 20px;
  margin-bottom: 26px;
}
.cmod-verdict-tag {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 14px;
  color: #075985;
  margin-bottom: 4px;
}
.cmod-verdict-txt {
  font-size: 14.5px;
  color: #1e293b;
  line-height: 1.6;
  margin: 0;
}

/* CTA Wrapper */
.cmod-cta-wrapper {
  text-align: center;
}

.cmod-btn-amazon {
  display: inline-block;
  width: 100%;
  max-width: 480px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff !important;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  padding: 16px 30px;
  border-radius: 10px;
  text-decoration: none !important;
  box-shadow: 0 6px 20px rgba(245,158,11,0.35);
  transition: all 0.2s ease;
}
.cmod-btn-amazon:hover {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245,158,11,0.45);
}

.cmod-cta-sub {
  display: block;
  font-size: 12px;
  color: var(--color-text-muted);
  margin-top: 8px;
}

/* --- ACCESSORIES SECTION --- */
.cmod-accessories-section {
  margin: 50px 0;
}

.cmod-accessories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 30px 0;
}

.cmod-accessory-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s, box-shadow 0.2s;
}
.cmod-accessory-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.cmod-acc-img-wrap {
  text-align: center;
  margin-bottom: 16px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cmod-acc-img-wrap img {
  max-height: 130px;
  width: auto;
  object-fit: contain;
}

.cmod-accessory-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  color: #ffffff;
  padding: 3px 9px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.cmod-accessory-title {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 800;
  color: var(--color-secondary);
  line-height: 1.35;
}

.cmod-accessory-desc {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
}

.cmod-btn-acc-cta {
  display: block;
  text-align: center;
  background: #0f172a;
  color: #ffffff !important;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13.5px;
  padding: 12px 18px;
  border-radius: 8px;
  text-decoration: none !important;
  transition: background 0.2s ease;
}
.cmod-btn-acc-cta:hover {
  background: var(--color-primary);
}

/* --- AUTHOR BIO CARD (SOBRE EL AUTOR) --- */
.cmod-author-section {
  margin: 50px 0;
}

.cmod-author-card {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-xl);
  padding: 32px 36px;
  box-shadow: var(--shadow-md);
  display: flex;
  gap: 28px;
  align-items: flex-start;
}

@media (max-width: 768px) {
  .cmod-author-card {
    flex-direction: column;
    padding: 24px 20px;
  }
}

.cmod-author-avatar-wrap {
  text-align: center;
  flex-shrink: 0;
}

.cmod-author-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #e0f2fe;
  border: 3px solid #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0284c7;
  box-shadow: 0 4px 12px rgba(2,132,199,0.2);
  margin: 0 auto 10px;
}

.cmod-author-pill {
  display: inline-block;
  background: #0f172a;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 12px;
  white-space: nowrap;
}

.cmod-author-content {
  flex: 1;
}

.cmod-author-name {
  margin: 0 0 12px;
  font-size: 21px;
  font-weight: 800;
  color: var(--color-secondary);
}
.cmod-author-role {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-muted);
  display: inline-block;
}

.cmod-author-bio-highlight {
  background: #fef3c7;
  border-left: 4px solid var(--color-accent);
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 15px;
  color: #78350f;
  margin-bottom: 16px;
  line-height: 1.6;
}

.cmod-author-text {
  font-size: 14.5px;
  color: #334155;
  line-height: 1.7;
  margin-bottom: 12px;
}

.cmod-author-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.cmod-abadge {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #1e293b;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 6px;
}

/* --- FOOTER STYLES --- */
.site-footer {
  background: #0b1120;
  color: #94a3b8;
  padding: 50px 24px 30px;
  margin-top: auto;
  border-top: 1px solid #1e293b;
  font-size: 13.5px;
}

.cmod-footer-container {
  max-width: 1240px;
  margin: 0 auto;
}

.cmod-footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 36px;
  margin-bottom: 40px;
}

@media (max-width: 992px) {
  .cmod-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 600px) {
  .cmod-footer-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}

.cmod-footer-col {
  display: flex;
  flex-direction: column;
}

.cmod-footer-brand {
  margin-bottom: 16px;
}

.cmod-footer-logo {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  display: block;
}
.cmod-footer-logo .cmod-highlight {
  color: #38bdf8;
}

.cmod-footer-sub {
  font-size: 12px;
  color: #64748b;
  display: block;
  margin-top: 3px;
}

.cmod-footer-author-box {
  background: #111827;
  border: 1px solid #1f2937;
  border-radius: 12px;
  padding: 16px;
}

.cmod-footer-author-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.cmod-footer-avatar {
  width: 38px;
  height: 38px;
  background: #1e293b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cmod-footer-author-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
}

.cmod-footer-author-badge {
  font-size: 11px;
  color: #38bdf8;
  font-weight: 600;
}

.cmod-footer-author-quote {
  font-size: 12.5px;
  color: #fde68a;
  line-height: 1.5;
  margin-bottom: 10px;
}

.cmod-footer-author-desc {
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.55;
  margin: 0;
}

.cmod-footer-heading {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin-top: 0;
  margin-bottom: 16px;
  letter-spacing: 0.3px;
  position: relative;
  padding-bottom: 8px;
  border-bottom: 2px solid #1e293b;
}

.cmod-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

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

.cmod-footer-links a {
  color: #94a3b8 !important;
  text-decoration: none !important;
  font-size: 13.5px;
  transition: color 0.15s ease;
  display: inline-block;
}

.cmod-footer-links a:hover {
  color: #38bdf8 !important;
  transform: translateX(3px);
}

.cmod-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.cmod-affiliate-disclaimer {
  background: #111827;
  border: 1px solid #1f2937;
  border-radius: 8px;
  padding: 12px 14px;
}

.cmod-affiliate-disclaimer p {
  font-size: 11.5px;
  color: #64748b;
  line-height: 1.55;
  margin: 0;
}
.cmod-affiliate-disclaimer strong {
  color: #94a3b8;
}

.cmod-footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: #64748b;
}

.cmod-footer-copy strong {
  color: #cbd5e1;
}

/* --- NOADS & ANTI AUTO-ADS SHIELD --- */
/* Protect critical tables, cards, CTA buttons and headers from auto-ads insertion */
.noads,
.google-auto-ads-ignore {
  position: relative;
  clear: none;
}

.noads ins.adsbygoogle,
.google-auto-ads-ignore ins.adsbygoogle,
.cmod-comparison-table ins.adsbygoogle,
.cmod-specs-grid ins.adsbygoogle,
.cmod-pros-cons-grid ins.adsbygoogle,
.cmod-cta-wrapper ins.adsbygoogle,
.cmod-accessory-card ins.adsbygoogle,
.cmod-author-card ins.adsbygoogle {
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  max-height: 0 !important;
}

/* Callouts / Details */
details {
  background: var(--color-bg-body);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 12px;
  transition: all 0.2s ease;
}

details[open] {
  background: #ffffff;
  border-color: var(--color-primary-border);
  box-shadow: var(--shadow-sm);
}

summary {
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--color-secondary);
  cursor: pointer;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

summary:hover {
  color: var(--color-primary);
}

img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
}


/* ==========================================================================
   POST NAVIGATION (CARDS)
   ========================================================================== */
.post-navigation {
  margin: 45px 0 55px;
  clear: both;
}

.post-navigation .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.post-navigation .nav-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
  display: flex;
}

.post-navigation .nav-previous a,
.post-navigation .nav-next a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  padding: 22px 26px;
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  text-decoration: none !important;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.post-navigation .nav-previous a:hover,
.post-navigation .nav-next a:hover {
  transform: translateY(-3px);
  border-color: #0284c7;
  box-shadow: 0 10px 24px rgba(2, 132, 199, 0.12);
  background: #ffffff;
}

.post-navigation .cmod-nav-sub {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #0284c7;
  margin-bottom: 8px;
  display: block;
}

.post-navigation .nav-next a .cmod-nav-sub {
  text-align: right;
}

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

.post-navigation .nav-next a .cmod-nav-title {
  text-align: right;
}

.post-navigation a:hover .cmod-nav-title {
  color: #0284c7;
}

/* ==========================================================================
   COMMENTS AREA & FORM DESIGN
   ========================================================================== */
.comments-area {
  margin: 50px 0 70px;
  padding: 38px 42px;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 18px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
  clear: both;
}

@media (max-width: 640px) {
  .comments-area {
    padding: 24px 18px;
    border-radius: 14px;
    margin: 35px 0 50px;
  }
}

.comments-title {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid #f1f5f9;
}

.comment-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
}

.comment-list .comment {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #f1f5f9;
}

.comment-body {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.comment-author .avatar {
  border-radius: 50%;
  border: 2px solid #e2e8f0;
}

.comment-meta {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 8px;
}

.comment-meta .fn {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
}

.comment-content {
  font-size: 14.5px;
  line-height: 1.65;
  color: #334155;
}

.reply a {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #0284c7;
  text-decoration: none;
  padding: 4px 10px;
  background: #f0f9ff;
  border-radius: 6px;
  margin-top: 8px;
}

/* Comment Form Modern Card */
.comment-respond {
  margin-top: 20px;
}

.comment-reply-title {
  font-size: 21px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.comment-notes {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  margin: 0 0 24px;
}

.comment-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.comment-form p {
  margin: 0;
}

.comment-form label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 6px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100% !important;
  max-width: 100% !important;
  padding: 13px 18px !important;
  font-size: 14.5px !important;
  color: #1e293b !important;
  background: #f8fafc !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 10px !important;
  box-sizing: border-box !important;
  font-family: inherit !important;
  transition: all 0.2s ease !important;
  outline: none !important;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
  background: #ffffff !important;
  border-color: #0284c7 !important;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15) !important;
}

.comment-form textarea {
  min-height: 140px !important;
  resize: vertical !important;
}

.comment-form-cookies-consent {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  margin: 6px 0 !important;
}

.comment-form-cookies-consent input[type="checkbox"] {
  width: 18px !important;
  height: 18px !important;
  accent-color: #0284c7 !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  margin-top: 2px !important;
}

.comment-form-cookies-consent label {
  font-size: 13px !important;
  color: #64748b !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  margin-bottom: 0 !important;
  line-height: 1.5 !important;
}

/* Submit Button */
.cmod-submit-btn,
.comment-form input[type="submit"],
.form-submit #submit {
  display: inline-block !important;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  padding: 14px 34px !important;
  border-radius: 10px !important;
  border: none !important;
  cursor: pointer !important;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  width: auto !important;
  align-self: flex-start !important;
  margin-top: 6px !important;
}

.cmod-submit-btn:hover,
.comment-form input[type="submit"]:hover,
.form-submit #submit:hover {
  background: linear-gradient(135deg, #0369a1 0%, #075985 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.4) !important;
}


/* ==========================================================================
   SINGLE POST & ARTICLE LAYOUT CONTAINER
   ========================================================================== */
.single #content.site-content,
.page:not(.home) #content.site-content {
  max-width: 960px !important;
  margin: 30px auto 60px !important;
  padding: 0 24px !important;
  box-sizing: border-box !important;
}

@media (max-width: 768px) {
  .single #content.site-content,
  .page:not(.home) #content.site-content {
    padding: 0 16px !important;
    margin: 20px auto 40px !important;
  }
}

.single .entry-header {
  margin-bottom: 30px;
}

.single .entry-title {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 800;
  line-height: 1.25;
  color: #0f172a;
  margin: 0 0 14px;
}

.single .entry-meta {
  font-size: 13.5px;
  color: #64748b;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 28px;
}

.single .entry-content {
  font-size: 16px;
  line-height: 1.8;
  color: #334155;
}

.single .entry-content h2 {
  font-size: clamp(20px, 2.8vw, 26px);
  font-weight: 800;
  color: #0f172a;
  margin: 38px 0 16px;
  line-height: 1.3;
}

.single .entry-content h3 {
  font-size: clamp(17px, 2.2vw, 21px);
  font-weight: 800;
  color: #1e293b;
  margin: 28px 0 12px;
}

.single .entry-content p {
  margin-bottom: 20px;
}

.single .entry-content ul,
.single .entry-content ol {
  margin-bottom: 24px;
  padding-left: 24px;
  line-height: 1.75;
}

.single .entry-content li {
  margin-bottom: 8px;
}


/* Anti-Ad rule specifically for quiz box */
#cmod-wizard ins.adsbygoogle,
#cmod-wizard .google-auto-ads-container,
#cmod-wizard .ad-inserter,
#cmod-wizard [data-google-query-id],
#cmod-wizard div[id^="google_ads"] {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  pointer-events: none !important;
}


/* ==========================================================================
   BLOG 2-COLUMN LAYOUT & SIDEBAR COLUMN (2026)
   ========================================================================== */
.single #content.site-content {
  max-width: 1200px !important;
  margin: 30px auto 64px !important;
  padding: 0 24px !important;
  box-sizing: border-box !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 340px !important;
  gap: 40px !important;
  align-items: start !important;
}

.single #primary.content-area {
  min-width: 0 !important;
  width: 100% !important;
}

.single #secondary.widget-area {
  min-width: 0 !important;
  width: 100% !important;
}

@media (max-width: 992px) {
  .single #content.site-content {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
    padding: 0 16px !important;
  }
}

/* Sidebar styling */
.cmod-sidebar {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

@media (min-width: 993px) {
  .cmod-sidebar {
    position: -webkit-sticky;
    position: sticky;
    top: 86px;
  }
}

.cmod-widget {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
  box-sizing: border-box;
}

.cmod-widget-badge {
  display: inline-block;
  background: #e0f2fe;
  color: #0284c7;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 8px;
  margin-bottom: 10px;
}

.cmod-widget-title {
  font-size: 17px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  margin: 0 0 10px !important;
  line-height: 1.3 !important;
}

.cmod-widget-text {
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.55;
  margin: 0 0 16px;
}

.cmod-sidebar-btn {
  display: block;
  text-align: center;
  background: linear-gradient(135deg, #0284c7, #0369a1);
  color: #ffffff !important;
  font-size: 13.5px;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 9px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.25);
  transition: transform 0.15s ease, background 0.2s ease;
}

.cmod-sidebar-btn:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #0369a1, #075985);
  color: #ffffff !important;
}

.cmod-sidebar-btn-outline {
  background: #ffffff;
  color: #b45309 !important;
  border: 1.5px solid #d97706;
  box-shadow: none;
}

.cmod-sidebar-btn-outline:hover {
  background: #fef3c7;
  color: #92400e !important;
}

.cmod-widget-assistant {
  border-left: 4px solid #0284c7;
  background: linear-gradient(145deg, #f0f9ff 0%, #ffffff 100%);
}

.cmod-widget-cheatsheet {
  border-left: 4px solid #d97706;
  background: linear-gradient(145deg, #fffbeb 0%, #ffffff 100%);
}

/* Post list in sidebar */
.cmod-sidebar-post-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cmod-sidebar-post-list li {
  margin: 0 !important;
  padding: 0 !important;
}

.cmod-sidebar-post-list li a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-decoration: none;
  padding: 8px;
  border-radius: 8px;
  transition: background 0.15s ease;
}

.cmod-sidebar-post-list li a:hover {
  background: #f8fafc;
}

.cmod-list-num {
  width: 22px;
  height: 22px;
  background: #0284c7;
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.cmod-list-title {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.35;
}

.cmod-list-meta {
  display: block;
  font-size: 11px;
  color: #64748b;
  margin-top: 3px;
}

/* Product cards in sidebar */
.cmod-sidebar-products {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cmod-sidebar-prod-card {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid #f1f5f9;
  border-radius: 10px;
  background: #f8fafc;
}

.cmod-sidebar-prod-img {
  width: 62px;
  height: 62px;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
  flex-shrink: 0;
  border: 1px solid #e2e8f0;
}

.cmod-sidebar-prod-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cmod-sidebar-prod-info {
  flex-grow: 1;
  min-width: 0;
}

.cmod-sidebar-prod-badge {
  display: inline-block;
  background: #dcfce7;
  color: #15803d;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 2px 6px;
  border-radius: 4px;
  margin-bottom: 3px;
}

.cmod-sidebar-prod-name {
  font-size: 12.5px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
  margin-bottom: 2px;
}

.cmod-sidebar-prod-desc {
  font-size: 11px;
  color: #64748b;
  line-height: 1.3;
  margin-bottom: 6px;
}

.cmod-sidebar-prod-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cmod-sidebar-link-review {
  font-size: 11px;
  font-weight: 700;
  color: #0284c7;
  text-decoration: none;
}

.cmod-sidebar-link-amazon {
  font-size: 11px;
  font-weight: 700;
  color: #b45309;
  background: #fef3c7;
  padding: 2px 7px;
  border-radius: 5px;
  text-decoration: none;
}

.cmod-sidebar-link-amazon:hover {
  background: #fde68a;
  color: #92400e;
}

/* Accessory list in sidebar */
.cmod-sidebar-acc-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cmod-sidebar-acc-list li {
  margin: 0 !important;
  padding: 0 !important;
}

.cmod-sidebar-acc-list li a {
  font-size: 13px;
  color: #334155;
  text-decoration: none;
  display: block;
  padding: 6px 8px;
  border-radius: 6px;
  transition: background 0.15s ease, color 0.15s ease;
}

.cmod-sidebar-acc-list li a:hover {
  background: #f1f5f9;
  color: #0284c7;
}

/* Author mini widget */
.cmod-sidebar-author-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.cmod-sidebar-author-avatar {
  border-radius: 50%;
  border: 2px solid #38bdf8;
  object-fit: cover;
  flex-shrink: 0;
}

.cmod-sidebar-author-name {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
}

.cmod-sidebar-author-role {
  font-size: 11.5px;
  color: #0284c7;
  font-weight: 600;
}

.cmod-sidebar-author-text {
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.5;
  margin: 0 0 10px;
}

.cmod-sidebar-author-link {
  font-size: 12.5px;
  font-weight: 700;
  color: #0284c7;
  text-decoration: none;
}

/* Related articles section below content */
.cmod-related-section {
  margin: 44px 0 32px;
  padding: 28px 24px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
}

.cmod-related-badge {
  display: inline-block;
  background: #e0f2fe;
  color: #0369a1;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 12px;
  margin-bottom: 6px;
}

.cmod-related-heading {
  font-size: 20px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  margin: 0 0 20px !important;
}

.cmod-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

@media (max-width: 768px) {
  .cmod-related-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

.cmod-related-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.cmod-related-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
  border-color: #cbd5e1;
}

.cmod-related-tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  color: #0284c7;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.cmod-related-title {
  font-size: 14.5px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  margin: 0 0 8px !important;
}

.cmod-related-title a {
  color: #0f172a;
  text-decoration: none;
}

.cmod-related-title a:hover {
  color: #0284c7;
}

.cmod-related-excerpt {
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.5;
  margin: 0 0 14px;
}

.cmod-related-link {
  font-size: 12.5px;
  font-weight: 700;
  color: #0284c7;
  text-decoration: none;
}

/* ==========================================================================
   HOME PAGE BLOG GRID & PILLS (2026)
   ========================================================================== */
.cmod-home-blog-section {
  margin: 48px 0 36px;
}

.cmod-home-blog-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 36px;
}

.cmod-home-blog-badge {
  display: inline-block;
  background: #0284c7;
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.cmod-home-blog-title {
  font-size: clamp(24px, 3.5vw, 32px) !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  margin: 0 0 12px !important;
  line-height: 1.25 !important;
}

.cmod-home-blog-subtitle {
  font-size: 15.5px;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

.cmod-home-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

@media (max-width: 900px) {
  .cmod-home-blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .cmod-home-blog-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.cmod-home-blog-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 3px 12px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
}

.cmod-home-blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(2, 132, 199, 0.1);
  border-color: #38bdf8;
}

.cmod-home-blog-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #0284c7;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  padding: 3px 8px;
  border-radius: 6px;
  margin-bottom: 12px;
  align-self: flex-start;
}

.cmod-home-blog-card-title {
  font-size: 17px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  line-height: 1.35 !important;
  margin: 0 0 10px !important;
}

.cmod-home-blog-card-title a {
  color: #0f172a;
  text-decoration: none;
}

.cmod-home-blog-card-title a:hover {
  color: #0284c7;
}

.cmod-home-blog-card-desc {
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.6;
  margin: 0 0 18px;
}

.cmod-home-blog-card-link {
  font-size: 13.5px;
  font-weight: 700;
  color: #0284c7;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.cmod-home-blog-card-link:hover {
  color: #0369a1;
  text-decoration: underline;
}

/* Category pills strip below grid */
.cmod-pills-bar {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px 24px;
  text-align: center;
}

.cmod-pills-label {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 12px;
}

.cmod-pills-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.cmod-pill {
  display: inline-block;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #1e293b;
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.15s ease;
}

.cmod-pill:hover {
  background: #0284c7;
  color: #ffffff !important;
  border-color: #0284c7;
  transform: translateY(-1px);
}
