/* Global Navigation Styling - Dark Theme */
.site-header {
  background: rgba(10, 14, 39, 0.95) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.main-header-bar {
  background: transparent !important;
}

.main-navigation a {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500;
  transition: color 0.3s ease;
}

.main-navigation a:hover {
  color: #4A9FFF !important;
}

.site-title a,
.site-description {
  color: #fff !important;
}

/* CTA Button in Header */
.ast-button-wrap .ast-custom-button,
.button-custom-menu-item .menu-link {
  background: linear-gradient(90deg, #00D4FF 0%, #4A9FFF 100%) !important;
  color: #fff !important;
  padding: 0.75rem 2rem !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
  border: none !important;
  box-shadow: 0 5px 15px rgba(74, 159, 255, 0.3);
}

.ast-button-wrap .ast-custom-button:hover,
.button-custom-menu-item .menu-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(74, 159, 255, 0.5);
  color: #fff !important;
}

/* Logo Styling */
.site-branding .custom-logo-link img {
  max-height: 45px;
  width: auto;
}

/* Sticky Header */
.ast-header-sticked .site-header {
  background: rgba(10, 14, 39, 0.98) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Make sure header is above content */
.site-header {
  position: relative;
  z-index: 999;
}
/* Mobile-Optimized Comparison Tables */

/* Desktop: Show all columns */
@media (min-width: 769px) {
  .entry-content table {
    display: table;
    width: 100%;
  }
}

/* Mobile: Responsive table behavior */
@media (max-width: 768px) {
  /* Quick Picks tables on mobile */
  .entry-content table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 1em 0;
  }
  
  .entry-content table thead {
    display: block;
  }
  
  .entry-content table tbody {
    display: block;
  }
  
  .entry-content table tr {
    display: block;
    margin-bottom: 1em;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1em;
    background: white;
  }
  
  .entry-content table th,
  .entry-content table td {
    display: block;
    text-align: left !important;
    padding: 0.5em !important;
    border: none !important;
  }
  
  /* Hide table headers on mobile (we'll use labels instead) */
  .entry-content table thead {
    display: none;
  }
  
  /* Add labels before each cell */
  .entry-content table td:before {
    content: attr(data-label);
    font-weight: 600;
    display: inline-block;
    margin-right: 0.5em;
    color: #334155;
  }
  
  /* ATR Score styling */
  .entry-content table td:nth-child(3) {
    font-size: 1.5em;
    font-weight: 700;
    color: #0891B2;
    margin: 0.5em 0;
  }
  
  /* CTA buttons full width on mobile */
  .entry-content table td a {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    margin-top: 0.5em;
  }
  
  /* Award emoji bigger on mobile */
  .entry-content table td:first-child {
    font-size: 2em;
    text-align: center;
  }
}

/* ATR Score Breakdown Tables - Card view on mobile */
@media (max-width: 768px) {
  /* Tables with "ATR Score Breakdown" or many columns */
  .entry-content table:has(th:nth-child(5)),
  .entry-content table:has(th:nth-child(6)) {
    display: block;
  }
  
  .entry-content table:has(th:nth-child(5)) tr,
  .entry-content table:has(th:nth-child(6)) tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5em;
    margin-bottom: 1.5em;
    padding: 1em;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    background: white;
  }
  
  .entry-content table:has(th:nth-child(5)) td:first-child,
  .entry-content table:has(th:nth-child(6)) td:first-child {
    grid-column: 1 / -1;
    font-weight: 700;
    font-size: 1.1em;
    text-align: center;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 0.5em !important;
    margin-bottom: 0.5em;
  }
}

/* Horizontal scroll indicator for wide tables */
.table-scroll-container {
  position: relative;
}

@media (max-width: 768px) {
  .table-scroll-container:after {
    content: "← Scroll →";
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8em;
    color: #666;
    font-style: italic;
  }
}
/* Visual Trust Elements - Awards & Badges */

/* Gold Award Badge for #1 picks */
.award-badge-gold {
  display: inline-block;
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  color: #000;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 0.85em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
  margin-left: 10px;
}

/* Highlight winner rows in tables */
.entry-content table tr:has(td:first-child:contains("🏆")) {
  background: #fffbf0 !important;
}

/* Or use this class on winner rows */
.winner-row {
  background: linear-gradient(90deg, #fffbf0 0%, #fff 100%) !important;
  border-left: 4px solid #FFD700 !important;
}

/* Editor's Choice Badge */
.editors-choice {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #06B6D4 0%, #0891B2 100%);
  color: white;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.9em;
  font-weight: 600;
  box-shadow: 0 3px 10px rgba(6, 182, 212, 0.3);
  margin: 1em 0;
}

.editors-choice:before {
  content: "⭐";
  font-size: 1.2em;
}

/* Best Overall / Best Pick highlight box */
.best-pick-highlight {
  background: linear-gradient(135deg, #fffbf0 0%, #fff9e6 100%);
  border: 2px solid #FFD700;
  border-radius: 8px;
  padding: 1.5em;
  margin: 2em 0;
  box-shadow: 0 4px 16px rgba(255, 215, 0, 0.2);
}

.best-pick-highlight h3 {
  color: #d97706 !important;
  display: flex;
  align-items: center;
  gap: 10px;
}

.best-pick-highlight h3:before {
  content: "🏆";
  font-size: 1.5em;
}

/* ATR Score Badge */
.atr-score-badge {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, #06B6D4 0%, #0891B2 100%);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 1.1em;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(6, 182, 212, 0.3);
  margin-left: 8px;
}

.atr-score-badge:before {
  content: "ATR: ";
  font-size: 0.8em;
  opacity: 0.9;
  margin-right: 4px;
}

/* Verified Badge */
.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #059669;
  font-size: 0.85em;
  font-weight: 600;
}

.verified-badge:before {
  content: "✓";
  display: inline-block;
  background: #059669;
  color: white;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  text-align: center;
  line-height: 18px;
  font-size: 0.9em;
}

/* Pro Tip Callout Box */
.pro-tip {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border-left: 4px solid #0891B2;
  border-radius: 6px;
  padding: 1.5em;
  margin: 2em 0;
}

.pro-tip:before {
  content: "💡 Pro Tip: ";
  font-weight: 700;
  color: #0891B2;
  font-size: 1.1em;
}

/* Featured Pick Ribbon */
.featured-ribbon {
  position: relative;
  overflow: visible;
}

.featured-ribbon:before {
  content: "FEATURED";
  position: absolute;
  top: -10px;
  right: 20px;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
  padding: 4px 16px;
  font-size: 0.75em;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
  z-index: 10;
}

/* Award icons in section headers */
h3:has(+ p:contains("Best for")) {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Trust badges container */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 1.5em 0;
}

/* Tested badge */
.tested-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f3f4f6;
  border: 1px solid #d1d5db;
  color: #374151;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.85em;
  font-weight: 600;
}

.tested-badge:before {
  content: "✓";
  color: #059669;
  font-weight: 700;
}

@media (max-width: 768px) {
  .award-badge-gold,
  .editors-choice,
  .atr-score-badge {
    font-size: 0.8em;
    padding: 5px 10px;
  }
  
  .best-pick-highlight {
    padding: 1em;
  }
  
  .featured-ribbon:before {
    font-size: 0.65em;
    padding: 3px 12px;
  }
}
/* Force banner to break out of container and go full-width */
.full-width-banner {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-top: 0;
    margin-bottom: 40px;
    padding: 0;
}

.full-width-banner img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
    padding: 0;
}

/* Remove any theme padding/margins from the page when it contains banner */
.page-id-82 .entry-content {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.page-id-82 .ast-container {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
