/*
Theme Name: Blocksy Child - Edition24
Template: blocksy
Theme URI: https://editiontwentyfour.com
Description: Custom Amazon-style affiliate child theme for Edition Twenty Four
Author: Edition24
Version: 1.1.0
*/

/* ============================================
   EDITION24 GLOBAL CSS
   Amazon-Style Affiliate Review Site
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --e24-primary: #2D6A4F;
  --e24-primary-dark: #1B4332;
  --e24-primary-light: #40916C;
  --e24-white: #FFFFFF;
  --e24-light: #F8F9FA;
  --e24-accent: #F4A261;
  --e24-accent-dark: #E76F51;
  --e24-dark: #1A1A2E;
  --e24-dark2: #16213E;
  --e24-gray100: #F8FAFC;
  --e24-gray200: #E2E8F0;
  --e24-gray300: #CBD5E1;
  --e24-gray500: #64748B;
  --e24-gray700: #334155;
  --e24-gray900: #0F172A;
  --e24-green: #16A34A;
  --e24-gold: #F59E0B;
  --e24-red: #DC2626;
  --e24-blue: #3B82F6;
  --e24-radius: 12px;
  --e24-radius-sm: 8px;
  --e24-radius-lg: 16px;
  --e24-shadow: 0 4px 16px rgba(0,0,0,.08);
  --e24-shadow-lg: 0 12px 32px rgba(0,0,0,.12);
  --e24-transition: .3s ease;
  --e24-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --e24-max-width: 1200px;
}

/* --- Base Reset --- */
.e24-wrap { max-width: var(--e24-max-width); margin: 0 auto; padding: 0 1rem; }
.e24-wrap *, .e24-wrap *::before, .e24-wrap *::after { box-sizing: border-box; }

/* ============================================
   STICKY HEADER
   ============================================ */
.e24-header {
  background: var(--e24-dark);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: .75rem 0;
  border-bottom: 3px solid var(--e24-accent);
}
.e24-header-inner {
  max-width: var(--e24-max-width);
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.e24-logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
  flex-shrink: 0;
}
.e24-logo svg { width: 32px; height: 32px; }
.e24-logo-text {
  color: var(--e24-white);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -.02em;
}
.e24-logo-text span { color: var(--e24-accent); }
.e24-search {
  flex: 1;
  max-width: 480px;
  position: relative;
}
.e24-search input {
  width: 100%;
  padding: .6rem 1rem .6rem 2.5rem;
  border: 2px solid transparent;
  border-radius: var(--e24-radius-sm);
  font-size: .9rem;
  background: rgba(255,255,255,.1);
  color: var(--e24-white);
  transition: var(--e24-transition);
}
.e24-search input::placeholder { color: var(--e24-gray300); }
.e24-search input:focus {
  outline: none;
  background: rgba(255,255,255,.15);
  border-color: var(--e24-accent);
}
.e24-search-icon {
  position: absolute;
  left: .75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--e24-gray300);
  width: 18px;
  height: 18px;
}
.e24-nav {
  display: flex;
  align-items: center;
  gap: .25rem;
  flex-shrink: 0;
}
.e24-nav a {
  color: var(--e24-gray300);
  text-decoration: none;
  font-size: .85rem;
  font-weight: 500;
  padding: .5rem .75rem;
  border-radius: var(--e24-radius-sm);
  transition: var(--e24-transition);
  white-space: nowrap;
}
.e24-nav a:hover, .e24-nav a.active {
  color: var(--e24-white);
  background: rgba(255,255,255,.1);
}
.e24-hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--e24-white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: .25rem;
}
.e24-mobile-menu {
  display: none;
  background: var(--e24-dark2);
  padding: .75rem 1rem;
}
.e24-mobile-menu.open { display: block; }
.e24-mobile-menu a {
  display: block;
  color: var(--e24-gray300);
  text-decoration: none;
  padding: .6rem 0;
  font-size: .9rem;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.e24-mobile-menu a:hover { color: var(--e24-white); }

/* ============================================
   BREADCRUMBS
   ============================================ */
.e24-breadcrumbs {
  padding: .75rem 0;
  font-size: .82rem;
  color: var(--e24-gray500);
}
.e24-breadcrumbs a {
  color: var(--e24-primary);
  text-decoration: none;
}
.e24-breadcrumbs a:hover { text-decoration: underline; }
.e24-breadcrumbs span { margin: 0 .4rem; }

/* ============================================
   HERO SECTION
   ============================================ */
.e24-hero {
  background: linear-gradient(135deg, var(--e24-dark) 0%, var(--e24-dark2) 100%);
  padding: 3.5rem 1.5rem;
  border-radius: var(--e24-radius-lg);
  margin-bottom: 2.5rem;
  position: relative;
  overflow: hidden;
}
.e24-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(45,106,79,.2) 0%, transparent 70%);
  border-radius: 50%;
}
.e24-hero h1 {
  color: var(--e24-white);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin: 0 0 1rem;
  line-height: 1.25;
  position: relative;
}
.e24-hero-sub {
  color: var(--e24-gray300);
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0 0 1.5rem;
  max-width: 700px;
  position: relative;
}

/* ============================================
   META BADGES
   ============================================ */
.e24-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  position: relative;
}
.e24-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(255,255,255,.1);
  color: var(--e24-white);
  padding: .4rem .8rem;
  border-radius: 6px;
  font-size: .85rem;
  backdrop-filter: blur(4px);
}
.e24-badge svg { width: 16px; height: 16px; fill: currentColor; }

/* ============================================
   PRODUCT BADGES (Best Seller, Editor's Choice, etc.)
   ============================================ */
.e24-badge-bestseller {
  background: var(--e24-accent);
  color: var(--e24-white);
  font-size: .7rem;
  font-weight: 700;
  padding: .3rem .7rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: .05em;
  display: inline-block;
}
.e24-badge-editor {
  background: var(--e24-primary);
  color: var(--e24-white);
  font-size: .7rem;
  font-weight: 700;
  padding: .3rem .7rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: .05em;
  display: inline-block;
}
.e24-badge-value {
  background: var(--e24-blue);
  color: var(--e24-white);
  font-size: .7rem;
  font-weight: 700;
  padding: .3rem .7rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: .05em;
  display: inline-block;
}
.e24-badge-top {
  background: var(--e24-gold);
  color: var(--e24-white);
  font-size: .7rem;
  font-weight: 700;
  padding: .3rem .7rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: .05em;
  display: inline-block;
}

/* ============================================
   STAR RATINGS
   ============================================ */
.e24-rating { display: flex; align-items: center; gap: .4rem; }
.e24-stars { color: var(--e24-gold); font-size: .95rem; letter-spacing: 1px; }
.e24-rating-num { font-weight: 700; font-size: .9rem; color: var(--e24-gray900); }

/* ============================================
   TOC NAVIGATION
   ============================================ */
.e24-toc-nav {
  background: var(--e24-white);
  border: 1px solid var(--e24-gray200);
  border-radius: var(--e24-radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
}
.e24-toc-nav h2 {
  font-size: 1rem;
  margin: 0 0 .75rem;
  color: var(--e24-gray700);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.e24-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: .5rem;
}
.e24-toc-list a {
  color: var(--e24-dark);
  text-decoration: none;
  font-size: .9rem;
  padding: .35rem 0;
  display: flex;
  align-items: center;
  gap: .5rem;
  transition: color var(--e24-transition);
}
.e24-toc-list a:hover { color: var(--e24-primary); }
.e24-toc-list a::before { content: '→'; color: var(--e24-primary); font-weight: 700; }

/* ============================================
   AUTHOR BOX
   ============================================ */
.e24-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--e24-gray100);
  border: 1px solid var(--e24-gray200);
  border-radius: var(--e24-radius);
  padding: 1.25rem;
  margin-bottom: 2.5rem;
}
.e24-author-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--e24-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--e24-white);
  font-size: 1.1rem;
  font-weight: 700;
  flex-shrink: 0;
}
.e24-author-info h3 { margin: 0 0 .25rem; font-size: 1rem; }
.e24-author-info p { margin: 0; color: var(--e24-gray500); font-size: .85rem; line-height: 1.5; }

/* ============================================
   SECTION HEADINGS
   ============================================ */
.e24-section { margin-bottom: 3rem; }
.e24-section h2 {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  color: var(--e24-gray900);
  margin: 0 0 1.5rem;
  padding-bottom: .75rem;
  border-bottom: 2px solid var(--e24-gray200);
}

/* ============================================
   PRODUCT CARDS (Winners Grid)
   ============================================ */
.e24-winners {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.e24-winner {
  background: var(--e24-white);
  border: 2px solid var(--e24-gray200);
  border-radius: 14px;
  padding: 1.5rem;
  position: relative;
  transition: transform var(--e24-transition), box-shadow var(--e24-transition);
}
.e24-winner:hover {
  transform: translateY(-6px);
  box-shadow: var(--e24-shadow-lg);
}
.e24-winner-badge {
  position: absolute;
  top: -.5rem;
  right: 1rem;
  background: var(--e24-gold);
  color: var(--e24-white);
  font-size: .7rem;
  font-weight: 700;
  padding: .3rem .6rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.e24-winner-icon { font-size: 2.2rem; margin-bottom: .75rem; display: block; }
.e24-winner h3 { margin: 0 0 .25rem; font-size: 1.15rem; color: var(--e24-gray900); }
.e24-winner-cat {
  color: var(--e24-gray500);
  font-size: .8rem;
  margin: 0 0 .75rem;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.e24-winner-feat { list-style: none; padding: 0; margin: 0 0 1rem; }
.e24-winner-feat li {
  font-size: .85rem;
  color: var(--e24-gray700);
  padding: .2rem 0;
  display: flex;
  align-items: center;
  gap: .4rem;
}
.e24-winner-feat li::before { content: '✓'; color: var(--e24-green); font-weight: 700; }
.e24-bestfor {
  display: inline-block;
  background: #ecfdf5;
  color: var(--e24-green);
  font-size: .75rem;
  font-weight: 600;
  padding: .25rem .6rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}

/* ============================================
   BUTTONS
   ============================================ */
.e24-btn {
  display: inline-block;
  background: var(--e24-accent);
  color: var(--e24-white);
  padding: .7rem 1.3rem;
  border-radius: var(--e24-radius-sm);
  text-decoration: none;
  font-weight: 600;
  font-size: .9rem;
  transition: background var(--e24-transition);
  width: 100%;
  text-align: center;
  border: none;
  cursor: pointer;
}
.e24-btn:hover { background: var(--e24-accent-dark); color: var(--e24-white); }
.e24-btn-primary { background: var(--e24-primary); }
.e24-btn-primary:hover { background: var(--e24-primary-dark); color: var(--e24-white); }
.e24-btn-sm { padding: .5rem 1rem; font-size: .85rem; width: auto; }
.e24-btn-lg { font-size: 1.05rem; padding: .85rem 2.5rem; width: auto; }

/* ============================================
   COMPARISON TABLES
   ============================================ */
.e24-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--e24-gray200);
  border-radius: 10px;
  margin: 1.5rem 0;
}
.e24-comp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
}
.e24-comp-table thead th {
  background: var(--e24-dark);
  color: var(--e24-white);
  padding: .75rem .6rem;
  text-align: left;
  font-weight: 600;
  position: sticky;
  top: 0;
}
.e24-comp-table tbody td {
  padding: .7rem .6rem;
  border-bottom: 1px solid var(--e24-gray200);
  vertical-align: top;
}
.e24-comp-table tbody tr:hover { background: var(--e24-gray100); }
.e24-comp-table .e24-pick { background: #fef3c7; font-weight: 600; }

/* ============================================
   REVIEWS
   ============================================ */
.e24-review {
  background: var(--e24-white);
  border: 1px solid var(--e24-gray200);
  border-radius: 14px;
  padding: 1.75rem;
  margin: 1.5rem 0;
}
.e24-review h3 { margin: 0 0 .5rem; font-size: 1.2rem; }
.e24-review-meta { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1rem; }

/* Pros & Cons */
.e24-pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1rem 0; }
.e24-pros h4, .e24-cons h4 {
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin: 0 0 .5rem;
}
.e24-pros h4 { color: var(--e24-green); }
.e24-cons h4 { color: var(--e24-red); }
.e24-pros ul, .e24-cons ul { list-style: none; padding: 0; margin: 0; }
.e24-pros li, .e24-cons li { font-size: .85rem; padding: .25rem 0; color: var(--e24-gray700); }
.e24-pros li::before { content: '+ '; color: var(--e24-green); font-weight: 700; }
.e24-cons li::before { content: '− '; color: var(--e24-red); font-weight: 700; }

/* Expert Verdict */
.e24-expert {
  background: var(--e24-gray100);
  border-left: 3px solid var(--e24-primary);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--e24-radius-sm) var(--e24-radius-sm) 0;
  margin: 1rem 0;
  font-style: italic;
  color: var(--e24-gray700);
  font-size: .92rem;
}
.e24-expert strong { color: var(--e24-gray900); font-style: normal; }

/* ============================================
   VS COMPARISONS
   ============================================ */
.e24-vs {
  background: linear-gradient(135deg, #fafafa 0%, #f1f5f9 100%);
  border: 2px solid var(--e24-gray200);
  border-radius: 14px;
  padding: 2rem 1.5rem;
  margin: 1.5rem 0;
  text-align: center;
}
.e24-vs h3 { margin: 0 0 1.5rem; font-size: 1.3rem; }
.e24-vs-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1rem; align-items: center; }
.e24-vs-item { text-align: center; }
.e24-vs-item h4 { margin: 0 0 .5rem; font-size: 1.05rem; }
.e24-vs-badge { font-size: 2rem; color: var(--e24-gray500); font-weight: 800; }
.e24-vs-specs { list-style: none; padding: 0; margin: .5rem 0; text-align: left; }
.e24-vs-specs li {
  font-size: .82rem;
  padding: .2rem 0;
  color: var(--e24-gray700);
  display: flex;
  justify-content: space-between;
}
.e24-vs-verdict {
  margin-top: 1.5rem;
  padding: 1rem;
  background: var(--e24-white);
  border-radius: var(--e24-radius-sm);
  border: 1px solid var(--e24-gray200);
}
.e24-vs-verdict strong { color: var(--e24-primary); }

/* ============================================
   BUDGET GUIDE
   ============================================ */
.e24-budget {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}
.e24-budget-card {
  border: 1px solid var(--e24-gray200);
  border-radius: var(--e24-radius);
  padding: 1.5rem;
  text-align: center;
  transition: border-color var(--e24-transition);
}
.e24-budget-card:hover { border-color: var(--e24-primary); }
.e24-budget-tier {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--e24-gray500);
  margin: 0 0 .25rem;
}
.e24-budget-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--e24-gray900);
  margin: 0 0 .75rem;
}
.e24-budget-card h4 { margin: 0 0 .25rem; font-size: 1rem; }
.e24-budget-card p { font-size: .85rem; color: var(--e24-gray500); margin: 0 0 1rem; line-height: 1.5; }

/* ============================================
   BUYING GUIDE GRID
   ============================================ */
.e24-guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}
.e24-guide-item {
  background: var(--e24-gray100);
  border-radius: 10px;
  padding: 1.25rem;
}
.e24-guide-item h3 {
  font-size: 1rem;
  margin: 0 0 .5rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.e24-guide-item p { font-size: .88rem; color: var(--e24-gray700); margin: 0; line-height: 1.6; }

/* ============================================
   FAQ ACCORDION
   ============================================ */
.e24-faq { margin: 1.5rem 0; }
.e24-faq-item {
  border: 1px solid var(--e24-gray200);
  border-radius: 10px;
  margin-bottom: .75rem;
  overflow: hidden;
}
.e24-faq-q {
  padding: 1rem 1.25rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--e24-white);
  font-size: .95rem;
}
.e24-faq-q::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--e24-primary);
  transition: transform var(--e24-transition);
}
.e24-faq-item.open .e24-faq-q::after { transform: rotate(45deg); }
.e24-faq-a {
  padding: 0 1.25rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  font-size: .9rem;
  color: var(--e24-gray700);
  line-height: 1.7;
}
.e24-faq-item.open .e24-faq-a { max-height: 500px; padding: 0 1.25rem 1.25rem; }

/* ============================================
   METHODOLOGY
   ============================================ */
.e24-method {
  background: var(--e24-gray100);
  border-radius: var(--e24-radius);
  padding: 1.5rem;
  margin: 1.5rem 0;
}
.e24-method h3 { margin: 0 0 1rem; font-size: 1.1rem; }
.e24-method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
.e24-method-step { text-align: center; padding: 1rem; }
.e24-method-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--e24-primary);
  color: var(--e24-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .9rem;
  margin-bottom: .5rem;
}
.e24-method-step h4 { margin: 0 0 .25rem; font-size: .9rem; }
.e24-method-step p { font-size: .82rem; color: var(--e24-gray500); margin: 0; }

/* ============================================
   CTA SECTION
   ============================================ */
.e24-cta {
  background: linear-gradient(135deg, var(--e24-dark) 0%, var(--e24-dark2) 100%);
  border-radius: var(--e24-radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  margin: 2rem 0;
  position: relative;
  overflow: hidden;
}
.e24-cta::before {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(45,106,79,.25) 0%, transparent 70%);
  border-radius: 50%;
}
.e24-cta h2 { color: var(--e24-white); font-size: 1.6rem; margin: 0 0 .75rem; position: relative; }
.e24-cta p { color: #94A3B8; margin: 0 0 1.5rem; position: relative; max-width: 500px; display: inline-block; }

/* ============================================
   RUNNERS UP
   ============================================ */
.e24-runners { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1rem 0; }
.e24-runner { border: 1px solid var(--e24-gray200); border-radius: 10px; padding: 1.25rem; }
.e24-runner h4 { margin: 0 0 .25rem; font-size: 1rem; }
.e24-runner p { margin: 0 0 .75rem; font-size: .85rem; color: var(--e24-gray500); line-height: 1.5; }

/* ============================================
   PRICE RANGE INDICATORS
   ============================================ */
.e24-price-range { font-size: .85rem; color: var(--e24-gray700); }
.e24-price-range .active { color: var(--e24-primary); font-weight: 700; }
.e24-price-range .inactive { color: var(--e24-gray300); }

/* ============================================
   SOCIAL PROOF COUNTERS
   ============================================ */
.e24-social-proof {
  display: flex;
  gap: 2rem;
  justify-content: center;
  padding: 1.5rem 0;
}
.e24-proof-item { text-align: center; }
.e24-proof-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--e24-primary);
  display: block;
}
.e24-proof-label {
  font-size: .82rem;
  color: var(--e24-gray500);
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* ============================================
   FOOTER
   ============================================ */
.e24-footer {
  background: var(--e24-dark);
  padding: 3rem 0 1.5rem;
  margin-top: 3rem;
  color: var(--e24-gray300);
}
.e24-footer-grid {
  max-width: var(--e24-max-width);
  margin: 0 auto;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.e24-footer h4 {
  color: var(--e24-white);
  font-size: .9rem;
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.e24-footer ul { list-style: none; padding: 0; margin: 0; }
.e24-footer li { margin-bottom: .5rem; }
.e24-footer a {
  color: var(--e24-gray300);
  text-decoration: none;
  font-size: .85rem;
  transition: color var(--e24-transition);
}
.e24-footer a:hover { color: var(--e24-accent); }
.e24-footer-newsletter input {
  width: 100%;
  padding: .6rem .75rem;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--e24-radius-sm);
  background: rgba(255,255,255,.05);
  color: var(--e24-white);
  font-size: .85rem;
  margin-bottom: .5rem;
}
.e24-footer-newsletter input::placeholder { color: var(--e24-gray500); }
.e24-footer-trust {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
  align-items: center;
}
.e24-footer-trust span {
  font-size: .75rem;
  color: var(--e24-gray500);
  display: flex;
  align-items: center;
  gap: .3rem;
}
.e24-footer-bottom {
  max-width: var(--e24-max-width);
  margin: 2rem auto 0;
  padding: 1.5rem 1rem 0;
  border-top: 1px solid rgba(255,255,255,.1);
  text-align: center;
  font-size: .8rem;
  color: var(--e24-gray500);
}
.e24-footer-bottom p { margin: .25rem 0; }

/* ============================================
   HOMEPAGE SPECIFIC
   ============================================ */
.e24-category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin: 2rem 0;
}
.e24-category-card {
  background: var(--e24-white);
  border: 2px solid var(--e24-gray200);
  border-radius: var(--e24-radius);
  padding: 2rem 1.5rem;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: transform var(--e24-transition), box-shadow var(--e24-transition), border-color var(--e24-transition);
}
.e24-category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--e24-shadow-lg);
  border-color: var(--e24-primary);
}
.e24-category-card .e24-cat-icon { font-size: 2.5rem; display: block; margin-bottom: 1rem; }
.e24-category-card h3 { margin: 0 0 .5rem; font-size: 1.1rem; color: var(--e24-gray900); }
.e24-category-card p { margin: 0; font-size: .85rem; color: var(--e24-gray500); line-height: 1.5; }

.e24-trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  background: var(--e24-gray100);
  border-radius: var(--e24-radius);
  padding: 2rem 1.5rem;
  margin: 2.5rem 0;
}
.e24-trust-item { text-align: center; }
.e24-trust-icon { font-size: 1.5rem; display: block; margin-bottom: .5rem; }
.e24-trust-item h4 { margin: 0 0 .25rem; font-size: .9rem; color: var(--e24-gray900); }
.e24-trust-item p { margin: 0; font-size: .78rem; color: var(--e24-gray500); }

.e24-newsletter {
  background: linear-gradient(135deg, var(--e24-primary) 0%, var(--e24-primary-dark) 100%);
  border-radius: var(--e24-radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  margin: 2.5rem 0;
}
.e24-newsletter h2 { color: var(--e24-white); font-size: 1.5rem; margin: 0 0 .5rem; }
.e24-newsletter p { color: rgba(255,255,255,.8); margin: 0 0 1.5rem; font-size: .95rem; }
.e24-newsletter-form {
  display: flex;
  gap: .5rem;
  max-width: 480px;
  margin: 0 auto;
}
.e24-newsletter-form input {
  flex: 1;
  padding: .75rem 1rem;
  border: none;
  border-radius: var(--e24-radius-sm);
  font-size: .9rem;
}
.e24-newsletter-form button {
  background: var(--e24-accent);
  color: var(--e24-white);
  border: none;
  padding: .75rem 1.5rem;
  border-radius: var(--e24-radius-sm);
  font-weight: 600;
  cursor: pointer;
  transition: background var(--e24-transition);
}
.e24-newsletter-form button:hover { background: var(--e24-accent-dark); }

/* ============================================
   TRENDING PRODUCTS
   ============================================ */
.e24-trending {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 1.5rem 0;
}
.e24-trend-card {
  background: var(--e24-white);
  border: 1px solid var(--e24-gray200);
  border-radius: var(--e24-radius);
  padding: 1.5rem;
  transition: transform var(--e24-transition), box-shadow var(--e24-transition);
}
.e24-trend-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--e24-shadow);
}

/* ============================================
   REVIEWS PAGE - Post Grid
   ============================================ */
.e24-post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}
.e24-post-card {
  background: var(--e24-white);
  border: 1px solid var(--e24-gray200);
  border-radius: var(--e24-radius);
  overflow: hidden;
  transition: transform var(--e24-transition), box-shadow var(--e24-transition);
}
.e24-post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--e24-shadow);
}
.e24-post-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.e24-post-card-body { padding: 1.25rem; }
.e24-post-card-body h3 { margin: 0 0 .5rem; font-size: 1.05rem; }
.e24-post-card-body h3 a { color: var(--e24-gray900); text-decoration: none; }
.e24-post-card-body h3 a:hover { color: var(--e24-primary); }
.e24-post-card-body p { margin: 0 0 .75rem; font-size: .85rem; color: var(--e24-gray500); line-height: 1.5; }
.e24-post-meta { font-size: .78rem; color: var(--e24-gray500); }

/* Filter Tabs */
.e24-filter-tabs {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.e24-filter-tab {
  padding: .5rem 1rem;
  border: 1px solid var(--e24-gray200);
  border-radius: 20px;
  font-size: .85rem;
  cursor: pointer;
  background: var(--e24-white);
  color: var(--e24-gray700);
  transition: var(--e24-transition);
  text-decoration: none;
}
.e24-filter-tab:hover, .e24-filter-tab.active {
  background: var(--e24-primary);
  color: var(--e24-white);
  border-color: var(--e24-primary);
}

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
  .e24-footer-grid { grid-template-columns: repeat(2, 1fr); }
  .e24-category-grid { grid-template-columns: repeat(2, 1fr); }
  .e24-trending { grid-template-columns: repeat(2, 1fr); }
  .e24-nav a { padding: .5rem .5rem; font-size: .8rem; }
}

/* Mobile landscape */
@media (max-width: 768px) {
  .e24-hero { padding: 2.5rem 1.25rem; }
  .e24-pros-cons { grid-template-columns: 1fr; }
  .e24-vs-grid { grid-template-columns: 1fr; gap: .5rem; }
  .e24-vs-badge { transform: rotate(90deg); }
  .e24-runners { grid-template-columns: 1fr; }
  .e24-budget { grid-template-columns: 1fr 1fr; }
  .e24-trust-bar { grid-template-columns: repeat(2, 1fr); }
  .e24-trending { grid-template-columns: 1fr; }
  .e24-nav { display: none; }
  .e24-hamburger { display: block; }
  .e24-search { max-width: 240px; }
  .e24-footer-grid { grid-template-columns: 1fr 1fr; }
  .e24-newsletter-form { flex-direction: column; }
}

/* Mobile portrait */
@media (max-width: 480px) {
  .e24-winners { grid-template-columns: 1fr; }
  .e24-budget { grid-template-columns: 1fr; }
  .e24-method-grid { grid-template-columns: 1fr 1fr; }
  .e24-category-grid { grid-template-columns: 1fr; }
  .e24-trust-bar { grid-template-columns: 1fr; }
  .e24-social-proof { flex-direction: column; gap: 1rem; }
  .e24-search { display: none; }
  .e24-footer-grid { grid-template-columns: 1fr; }
  .e24-header-inner { gap: .5rem; }
}

/* ============================================
   EDITION24 — DARK MODE READABILITY FIXES
   Targets Blocksy theme classes for blog archive,
   single posts, and global elements
   ============================================ */

/* --- 1. GLOBAL TEXT: White/light text on dark backgrounds --- */
body,
.site {
  color: #e0e0e0;
}

h1, h2, h3, h4, h5, h6,
.entry-title,
.entry-title a,
.page-title,
.ct-container h1,
.ct-container h2,
.ct-container h3,
.ct-container h4 {
  color: #ffffff !important;
}

p,
.entry-content p,
.entry-excerpt,
.ct-container p {
  color: #e0e0e0;
}

/* --- 2. BLOG ARCHIVE CARDS (Blocksy .entry-card) --- */
.entry-card.card-content {
  background: #1f2937 !important;
  border: 1px solid rgba(0, 168, 255, 0.12) !important;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.entry-card.card-content:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 168, 255, 0.15);
  border-color: rgba(0, 168, 255, 0.3) !important;
}

.entry-card .entry-title {
  padding: 16px 16px 4px;
}

.entry-card .entry-title a {
  color: #ffffff !important;
  text-decoration: none;
  transition: color 0.3s ease;
}

.entry-card .entry-title a:hover {
  color: #00b4ff !important;
}

.entry-card .entry-excerpt {
  color: #94a3b8;
  padding: 0 16px;
  font-size: 0.88rem;
  line-height: 1.6;
}

.entry-card .entry-meta,
.entry-card .entry-meta a {
  color: #64748b;
  font-size: 0.8rem;
  padding: 0 16px 16px;
}

.entry-card .entry-meta a:hover {
  color: #00b4ff;
}

/* --- 3. IMAGES: Consistent 16:9 aspect ratio + hover scale --- */
.entry-card .ct-media-container {
  border-radius: 0;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  max-height: none;
}

.entry-card .ct-media-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.entry-card:hover .ct-media-container img {
  transform: scale(1.05);
}

/* --- 4. BUTTONS & LINKS: Gold/neon brand color --- */
a {
  color: #00b4ff;
  transition: color 0.3s ease;
}

a:hover {
  color: #33bfff;
}

.entry-content a {
  color: #00b4ff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.entry-content a:hover {
  color: #f4a261;
}

/* Blocksy buttons */
.ct-button,
.wp-block-button__link,
.entry-content .wp-block-button__link {
  background: #00b4ff !important;
  color: #04060e !important;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.2s ease;
}

.ct-button:hover,
.wp-block-button__link:hover {
  background: #f4a261 !important;
  transform: translateY(-2px);
}

/* --- 5. SINGLE POST READABILITY --- */
.single .entry-content,
.single .entry-content p,
.single .entry-content li {
  font-size: 18px;
  line-height: 1.6;
  color: #e0e0e0;
}

.single .entry-content h1 { font-size: 2.2rem; }
.single .entry-content h2 { font-size: 1.75rem; margin-top: 2rem; margin-bottom: 1rem; }
.single .entry-content h3 { font-size: 1.4rem; margin-top: 1.5rem; margin-bottom: 0.75rem; }
.single .entry-content h4 { font-size: 1.15rem; margin-top: 1.25rem; margin-bottom: 0.5rem; }

.single .entry-content blockquote {
  border-left: 3px solid #00b4ff;
  padding: 1rem 1.25rem;
  background: rgba(0, 168, 255, 0.05);
  border-radius: 0 8px 8px 0;
  color: #94a3b8;
  font-style: italic;
}

.single .entry-content ul,
.single .entry-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.single .entry-content li {
  margin-bottom: 0.5rem;
}

.single .entry-content img {
  border-radius: 10px;
  margin: 1.5rem 0;
}

/* --- 6. BLOG ARCHIVE PAGE: Darker background for contrast --- */
body.blog,
body.archive,
body.single {
  background: #04060e;
}

body.blog .ct-container,
body.archive .ct-container {
  color: #e0e0e0;
}

/* Archive page title */
body.blog .page-title,
body.archive .page-title {
  color: #ffffff !important;
  font-size: 2rem;
}

/* Pagination */
.ct-pagination a,
.ct-pagination .page-numbers {
  color: #94a3b8;
  border-color: rgba(0, 168, 255, 0.15);
  transition: all 0.3s ease;
}

.ct-pagination .page-numbers.current,
.ct-pagination a:hover {
  background: #00b4ff;
  color: #04060e;
  border-color: #00b4ff;
}

/* --- 7. SIDEBAR & WIDGETS --- */
.ct-sidebar .widget {
  background: #1f2937;
  border: 1px solid rgba(0, 168, 255, 0.08);
  border-radius: 10px;
  padding: 1.25rem;
}

.ct-sidebar .widget-title {
  color: #ffffff !important;
  font-size: 1rem;
  border-bottom: 1px solid rgba(0, 168, 255, 0.1);
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
}

/* --- 8. e24 POST CARDS (shortcode) dark mode fix --- */
.e24-post-card {
  background: #1f2937 !important;
  border: 1px solid rgba(0, 168, 255, 0.12) !important;
}

.e24-post-card:hover {
  border-color: rgba(0, 168, 255, 0.3) !important;
  box-shadow: 0 12px 40px rgba(0, 168, 255, 0.15);
}

.e24-post-card img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.e24-post-card:hover img {
  transform: scale(1.05);
}

.e24-post-card-body h3 a {
  color: #ffffff !important;
}

.e24-post-card-body h3 a:hover {
  color: #00b4ff !important;
}

.e24-post-card-body p {
  color: #94a3b8 !important;
}

.e24-post-meta {
  color: #64748b !important;
}

/* --- 9. CATEGORY/FILTER TABS dark mode --- */
.e24-filter-tab {
  background: #1f2937 !important;
  border-color: rgba(0, 168, 255, 0.12) !important;
  color: #94a3b8 !important;
}

.e24-filter-tab:hover,
.e24-filter-tab.active {
  background: #00b4ff !important;
  color: #04060e !important;
  border-color: #00b4ff !important;
}

/* --- 10. RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 768px) {
  .single .entry-content,
  .single .entry-content p,
  .single .entry-content li {
    font-size: 16px;
    line-height: 1.7;
  }

  .entry-card .ct-media-container {
    aspect-ratio: 16 / 9;
  }
}
