@import url('https://fonts.googleapis.com/css2?family=Fira+Sans:wght@400;500;600;700&display=swap');

/* ============================================
   MoneySavvyHQ — Redbiz-inspired Theme
   Red #d21e2b / Black / White / Fira Sans
   ============================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red: #d21e2b;
  --red-dark: #b8101c;
  --red-light: #e8434e;
  --black: #000000;
  --white: #ffffff;
  --off-white: #f9f9f9;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --font-sans: 'Fira Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -1px rgba(0,0,0,.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -2px rgba(0,0,0,.05);
  --max-width: 1200px;
  --content-width: 800px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.7;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--black);
}

a { color: var(--red); text-decoration: none; transition: color .2s; }
a:hover { color: var(--red-dark); }
img { max-width: 100%; height: auto; display: block; }
strong { font-weight: 600; }

/* ============================================
   LAYOUT
   ============================================ */

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
.content-wrap { max-width: var(--content-width); margin: 0 auto; padding: 0 20px; }

/* Two-column layout */
.content-area {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 20px;
}
.main-content { min-width: 0; }
.sidebar { display: flex; flex-direction: column; gap: 24px; }

/* ============================================
   TOP BAR
   ============================================ */

.top-bar {
  background: var(--black);
  color: var(--gray-400);
  font-size: 13px;
  padding: 8px 0;
}

.top-bar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-contact { display: flex; gap: 20px; align-items: center; }
.top-bar-contact a { color: rgba(255,255,255,.7); }
.top-bar-contact a:hover { color: var(--white); }

.top-bar-social { display: flex; gap: 12px; }
.top-bar-social a {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.7);
  font-size: 12px;
  transition: all .2s;
}
.top-bar-social a:hover { background: var(--red); color: var(--white); }

/* ============================================
   HEADER / NAVIGATION
   ============================================ */

.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--red);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.site-logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--black);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.site-logo .logo-accent { color: var(--red); }
.site-logo img { height: 40px; width: auto; }

/* Nav: supports BOTH <nav class="main-nav"><a> AND <ul class="main-nav"><li><a> */
.main-nav {
  display: flex;
  gap: 2px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav li { list-style: none; position: relative; }

.main-nav a,
.main-nav > li > a {
  display: block;
  padding: 10px 16px;
  color: var(--gray-700);
  font-size: 14px;
  font-weight: 500;
  transition: all .2s;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a.active,
.main-nav > li > a:hover,
.main-nav > li.current-menu-item > a {
  color: var(--red);
}

/* Dropdown sub-menu */
.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--white);
  border-top: 3px solid var(--red);
  box-shadow: var(--shadow-lg);
  list-style: none;
  padding: 8px 0;
  z-index: 200;
}

.main-nav li:hover > .sub-menu { display: block; }

.sub-menu li a {
  display: block;
  padding: 8px 20px;
  color: var(--gray-600);
  font-size: 13px;
  white-space: nowrap;
  border-bottom: none;
}
.sub-menu li a:hover {
  color: var(--red);
  background: var(--gray-50);
}

/* Search */
.header-search { display: flex; align-items: center; }
.header-search input {
  padding: 8px 14px;
  border: 1px solid var(--gray-300);
  border-radius: 30px;
  font-size: 13px;
  font-family: var(--font-sans);
  width: 180px;
  transition: all .2s;
}
.header-search input:focus { outline: none; border-color: var(--red); width: 220px; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--black);
  cursor: pointer;
  padding: 8px;
}

/* ============================================
   HERO SLIDER (homepage)
   ============================================ */

.hero-slider {
  position: relative;
  width: 100%;
  height: 680px;
  overflow: hidden;
  background: var(--black);
}

.slider-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .8s ease, visibility .8s ease;
  overflow: hidden;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
}

/* Background image — uses <img> tag */
.slide-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-slide.active .slide-bg-img {
  animation: kenburns 14s ease forwards;
}

@keyframes kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

/* Dark overlay */
.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.5) 40%, rgba(0,0,0,.35) 100%);
  z-index: 1;
}

/* Pattern overlay */
.slide-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(210,30,43,.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,.03) 0%, transparent 40%);
  z-index: 2;
}

/* Decorations */
.slide-decoration {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}

.deco-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.06);
}
.deco-circle-1 { width: 500px; height: 500px; right: -100px; top: -100px; }
.deco-circle-2 { width: 300px; height: 300px; right: 0; top: 0; border-color: rgba(210,30,43,.12); }
.deco-line {
  position: absolute;
  bottom: 80px; right: 60px;
  width: 200px; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(210,30,43,.3), transparent);
}

/* Slide content — LEFT aligned like Redbiz */
.hero-content {
  position: relative;
  z-index: 5;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 60px;
  color: var(--white);
  width: 100%;
}

.hero-label {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  padding: 6px 18px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  border-radius: 30px;
  margin-bottom: 20px;
}

.hero-content h1 {
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  max-width: 700px;
  line-height: 1.15;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
}

.hero-content p {
  font-size: 1.1rem;
  color: rgba(255,255,255,.7);
  max-width: 520px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Staggered entrance animations */
.hero-slide.active .hero-label { animation: slideInUp .6s ease .2s both; }
.hero-slide.active h1 { animation: slideInLeft .7s ease .4s both; }
.hero-slide.active p { animation: fadeInUp .6s ease .7s both; }
.hero-slide.active .hero-buttons { animation: fadeInUp .6s ease .9s both; }

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-60px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Slider arrows */
.slider-nav {
  position: absolute;
  top: 50%;
  left: 0; right: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  transform: translateY(-50%);
  pointer-events: none;
}

.slider-arrow {
  width: 50px; height: 50px;
  border: 2px solid rgba(255,255,255,.3);
  border-radius: 50%;
  background: rgba(0,0,0,.3);
  color: var(--white);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
  pointer-events: all;
  backdrop-filter: blur(4px);
}
.slider-arrow:hover { background: var(--red); border-color: var(--red); }

/* Slider dots */
.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.4);
  background: transparent;
  cursor: pointer;
  transition: all .2s;
  padding: 0;
}
.dot:hover { border-color: var(--white); }
.dot.active { background: var(--red); border-color: var(--red); transform: scale(1.2); }

/* Progress bar */
.slider-progress {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: rgba(255,255,255,.1);
  z-index: 10;
}
.slider-progress-bar { height: 100%; width: 0%; background: var(--red); }

/* ============================================
   HERO (old format — for article pages that still use .hero)
   ============================================ */

.hero {
  background: linear-gradient(135deg, #111 0%, #1a1a1a 50%, #222 100%);
  color: var(--white);
  padding: 80px 20px;
  text-align: center;
  position: relative;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: var(--red);
}
.hero h1 {
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.2;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.hero .subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,.75);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.6;
}
.hero .trust-bar { display: flex; gap: 32px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.hero .trust-item { display: flex; align-items: center; gap: 8px; font-size: .9rem; color: rgba(255,255,255,.65); }
.hero .trust-item .icon { color: var(--red); font-size: 1.1rem; }

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 25px;
  border-radius: 30px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }

.btn-primary { background: var(--black); color: var(--white); border-color: var(--black); }
.btn-primary:hover { background: var(--white); color: var(--black); }

.btn-red,
.btn-accent { background: var(--red); color: var(--white); border-color: var(--red); }
.btn-red:hover,
.btn-accent:hover { background: var(--red-dark); border-color: var(--red-dark); color: var(--white); }

.btn-outline { background: transparent; color: var(--red); border-color: var(--red); }
.btn-outline:hover { background: var(--red); color: var(--white); }

.btn-white { background: var(--white); color: var(--black); border-color: var(--white); }
.btn-white:hover { background: rgba(255,255,255,.1); color: var(--white); }

.btn-sm { padding: 8px 18px; font-size: 12px; }
.btn-lg { padding: 15px 32px; font-size: 15px; }

/* ============================================
   SECTIONS
   ============================================ */

.section { padding: 80px 20px; }
.section-alt { background: var(--off-white); }
.section-title { font-size: 2rem; font-weight: 700; text-align: center; margin-bottom: 12px; color: var(--black); }
.section-subtitle { text-align: center; color: var(--gray-500); max-width: 600px; margin: 0 auto 48px; font-size: 1.05rem; }

/* ============================================
   CARD GRID (Latest Articles on homepage)
   ============================================ */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all .25s;
  position: relative;
}
.card:hover {
  border-color: var(--red);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.card-label {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--red);
  margin-bottom: 8px;
  display: block;
}
.card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; color: var(--black); }
.card h3 a { color: var(--black); }
.card h3 a:hover { color: var(--red); }
.card p { color: var(--gray-600); font-size: .93rem; line-height: 1.6; margin-bottom: 16px; }
.card .meta { font-size: .8rem; color: var(--gray-400); display: flex; gap: 16px; align-items: center; }

/* ============================================
   POST LIST (blog listing with thumbnails)
   ============================================ */

.post-list { display: flex; flex-direction: column; gap: 30px; }

.post-card {
  display: flex;
  gap: 24px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all .25s;
}
.post-card:hover { box-shadow: var(--shadow-md); border-color: var(--gray-300); }

.post-card-thumb { width: 280px; flex-shrink: 0; overflow: hidden; }
.post-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.post-card:hover .post-card-thumb img { transform: scale(1.05); }

.post-card-body { padding: 24px 24px 24px 0; display: flex; flex-direction: column; justify-content: center; }
.post-card-category {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  padding: 2px 10px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  border-radius: 2px;
  margin-bottom: 10px;
  width: fit-content;
}
.post-card-body h2 { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; line-height: 1.4; }
.post-card-body h2 a { color: var(--black); }
.post-card-body h2 a:hover { color: var(--red); }
.post-card-excerpt { font-size: 14px; color: var(--gray-600); line-height: 1.6; margin-bottom: 14px; }
.post-card-meta { display: flex; gap: 16px; font-size: 12px; color: var(--gray-400); }

/* ============================================
   ARTICLE CONTENT (single article pages)
   ============================================ */

.article-header {
  padding: 60px 20px 40px;
  text-align: center;
  border-bottom: 1px solid var(--gray-200);
}
.article-header .breadcrumb { font-size: .85rem; color: var(--gray-400); margin-bottom: 16px; }
.article-header .breadcrumb a { color: var(--gray-500); }
.article-header .breadcrumb a:hover { color: var(--red); }

.article-header h1 {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.3;
  max-width: var(--content-width);
  margin: 0 auto 16px;
  color: var(--black);
}

.article-meta {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: center;
  font-size: .9rem;
  color: var(--gray-500);
  flex-wrap: wrap;
}
.article-meta .author { display: flex; align-items: center; gap: 8px; }
.article-meta .author img { width: 32px; height: 32px; border-radius: 50%; }

/* Featured Image */
.featured-image {
  margin: 32px auto;
  max-width: var(--content-width);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* Affiliate Disclosure */
.affiliate-disclosure {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 14px 20px;
  font-size: 12px;
  color: var(--gray-500);
  max-width: var(--content-width);
  margin: 24px auto;
  line-height: 1.5;
}

/* Article body */
.article-body {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 48px 20px;
}

.article-body h2 {
  font-size: 1.55rem;
  font-weight: 700;
  margin: 48px 0 16px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--red);
  color: var(--black);
}
.article-body h2:first-of-type { margin-top: 0; }

.article-body h3 { font-size: 1.2rem; font-weight: 600; margin: 32px 0 12px; color: var(--gray-800); }
.article-body p { margin-bottom: 20px; color: var(--gray-700); }
.article-body ul, .article-body ol { margin: 0 0 20px 24px; color: var(--gray-700); }
.article-body li { margin-bottom: 8px; }

.article-body blockquote {
  border-left: 4px solid var(--red);
  background: var(--gray-50);
  padding: 20px 24px;
  margin: 24px 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--gray-600);
}

.article-body a { color: var(--red); font-weight: 500; }
.article-body a:hover { text-decoration: underline; }

.article-body img { border-radius: var(--radius); margin: 24px 0; }

/* ============================================
   INFO BOXES / TRUST BOXES (both class names work)
   ============================================ */

.info-box, .trust-box {
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 24px 0;
}

.info-box.tip { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; }
.info-box.warning { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; }
.info-box.important { background: #eff6ff; border: 1px solid #bfdbfe; color: #1e40af; }
.info-box .box-title { font-weight: 700; margin-bottom: 4px; font-size: .95rem; }

.trust-box { display: flex; gap: 16px; align-items: flex-start; background: var(--gray-50); border: 1px solid var(--gray-200); }
.trust-box-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
}
.trust-box.tip .trust-box-icon { background: #ecfdf5; color: #059669; }
.trust-box.warning .trust-box-icon { background: #fffbeb; color: #d97706; }
.trust-box.important .trust-box-icon { background: #eff6ff; color: #2563eb; }
.trust-box-content .box-title { font-weight: 700; font-size: 14px; margin-bottom: 4px; }
.trust-box-content p { font-size: 14px; color: var(--gray-600); margin: 0; }

/* ============================================
   PROS / CONS
   ============================================ */

.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 24px 0; }
.pros-list, .cons-list { border-radius: var(--radius-lg); padding: 20px 24px; }
.pros-list { background: #f0fdf4; border: 1px solid #bbf7d0; }
.cons-list { background: #fef2f2; border: 1px solid #fecaca; }
.pros-list h4 { color: #16a34a; font-size: 14px; margin-bottom: 12px; }
.cons-list h4 { color: #dc2626; font-size: 14px; margin-bottom: 12px; }
.pros-list ul, .cons-list ul { list-style: none; padding: 0; margin: 0; }
.pros-list li, .cons-list li { font-size: 14px; margin-bottom: 6px; padding-left: 20px; position: relative; }
.pros-list li::before { content: '✓'; position: absolute; left: 0; color: #16a34a; font-weight: 700; }
.cons-list li::before { content: '✗'; position: absolute; left: 0; color: #dc2626; font-weight: 700; }

/* ============================================
   TABLE OF CONTENTS
   ============================================ */

.toc {
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
  padding: 24px;
  margin: 0 0 40px;
}
.toc h4, .toc-title {
  font-size: .9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--gray-500);
  margin-bottom: 12px;
}
.toc ol { margin: 0; padding-left: 20px; }
.toc li { margin-bottom: 6px; font-size: .9rem; }
.toc a { color: var(--gray-700); }
.toc a:hover { color: var(--red); }

/* ============================================
   COMPARISON TABLE
   ============================================ */

.comparison-table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: .9rem; }
.comparison-table th { background: var(--black); color: var(--white); padding: 12px 16px; text-align: left; font-weight: 600; }
.comparison-table td { padding: 12px 16px; border-bottom: 1px solid var(--gray-200); }
.comparison-table tr:hover td { background: var(--gray-50); }
.comparison-table .highlight { background: #fef2f2; }

/* ============================================
   CTA BOX
   ============================================ */

.cta-box {
  background: linear-gradient(135deg, #111, #1a1a1a);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  margin: 48px 0;
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--red);
}
.cta-box h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 8px; color: var(--white); }
.cta-box p { color: rgba(255,255,255,.75); margin-bottom: 20px; }

/* ============================================
   FAQ (Schema-ready)
   ============================================ */

.faq-section { margin: 48px 0; }
.faq-section h2 { font-size: 1.55rem; margin-bottom: 24px; }

.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item:hover { border-color: var(--red); }

.faq-item summary {
  padding: 16px 20px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--black);
  transition: all .2s;
}
.faq-item summary:hover { color: var(--red); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.3rem; color: var(--red); font-weight: 400; }
.faq-item[open] summary::after { content: '−'; }
.faq-item[open] summary { border-bottom: 1px solid var(--gray-200); }

.faq-answer { padding: 16px 20px; font-size: 14px; color: var(--gray-600); line-height: 1.6; }

/* ============================================
   AUTHOR BOX
   ============================================ */

.author-box {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin: 48px 0;
}
.author-box img {
  width: 72px; height: 72px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 3px solid var(--red);
}
.author-info h4 { font-size: 1rem; font-weight: 700; margin-bottom: 2px; }
.author-info .role { font-size: .85rem; color: var(--red); font-weight: 600; margin-bottom: 8px; }
.author-info p { font-size: .9rem; color: var(--gray-600); margin: 0; line-height: 1.5; }

/* Reviewer Badge */
.reviewer-badge {
  display: inline-flex;
  align-items: center; gap: 6px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: .8rem;
  color: var(--red-dark);
  font-weight: 500;
  margin-top: 8px;
}

/* ============================================
   SIDEBAR WIDGETS
   ============================================ */

.widget {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.widget-title {
  font-size: 15px;
  font-weight: 700;
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 3px solid var(--red);
  color: var(--black);
}

/* Newsletter widget */
.widget-newsletter { background: var(--black); color: var(--white); border: none; }
.widget-newsletter .widget-title { color: var(--white); border-bottom-color: var(--red); }
.widget-newsletter p { font-size: 13px; color: rgba(255,255,255,.7); margin-bottom: 16px; }
.widget-newsletter input {
  width: 100%; padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius);
  background: rgba(255,255,255,.1);
  color: var(--white);
  font-size: 13px; font-family: var(--font-sans);
  margin-bottom: 8px;
}
.widget-newsletter input::placeholder { color: rgba(255,255,255,.4); }
.widget-newsletter input:focus { outline: none; border-color: var(--red); }
.widget-newsletter button {
  width: 100%; padding: 10px;
  background: var(--red); color: var(--white);
  border: none; border-radius: var(--radius);
  font-weight: 600; font-size: 13px;
  cursor: pointer; font-family: var(--font-sans);
}
.widget-newsletter button:hover { background: var(--red-dark); }

/* Recent posts */
.recent-posts { list-style: none; padding: 0; margin: 0; }
.recent-posts li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--gray-100); }
.recent-posts li:last-child { border-bottom: none; }
.rp-thumb { width: 60px; height: 60px; border-radius: var(--radius); overflow: hidden; flex-shrink: 0; }
.rp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.rp-title { font-size: 13px; font-weight: 600; line-height: 1.4; }
.rp-title a { color: var(--gray-800); }
.rp-title a:hover { color: var(--red); }
.rp-date { font-size: 11px; color: var(--gray-400); }

/* Categories */
.categories-list { list-style: none; padding: 0; margin: 0; }
.categories-list li { border-bottom: 1px solid var(--gray-100); }
.categories-list li a { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; color: var(--gray-700); }
.categories-list li a:hover { color: var(--red); }
.categories-list .count { color: var(--gray-400); font-size: 12px; }

/* ============================================
   NEWSLETTER (standalone section)
   ============================================ */

.newsletter-box {
  background: var(--off-white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  margin: 48px 0;
}
.newsletter-box h3 { margin-bottom: 8px; font-size: 1.2rem; }
.newsletter-box p { color: var(--gray-500); margin-bottom: 20px; font-size: .95rem; }

.newsletter-form { display: flex; gap: 8px; max-width: 420px; margin: 0 auto; }
.newsletter-form input {
  flex: 1;
  padding: 12px 18px;
  border: 1px solid var(--gray-300);
  border-radius: 30px;
  font-size: .95rem;
  font-family: var(--font-sans);
}
.newsletter-form input:focus { outline: none; border-color: var(--red); }
.newsletter-form button {
  padding: 12px 24px;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  font-family: var(--font-sans);
  transition: background .2s;
}
.newsletter-form button:hover { background: var(--red-dark); }

/* ============================================
   PILLAR GRID (Essential Guides, Reviews, etc.)
   ============================================ */

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  max-width: var(--max-width);
  margin: 24px auto;
  padding: 0 20px;
}
.pillar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  transition: all .2s;
}
.pillar-link:hover {
  border-color: var(--red);
  background: rgba(210,30,43,.02);
  text-decoration: none;
  transform: translateY(-1px);
}
.pillar-link .pillar-icon { font-size: 1.5rem; flex-shrink: 0; }
.pillar-link .pillar-text { font-weight: 600; color: var(--gray-800); font-size: .95rem; }

/* ============================================
   PAGINATION
   ============================================ */

.pagination { display: flex; gap: 8px; justify-content: center; margin: 40px 0; }
.pagination a, .pagination span {
  display: flex;
  align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 14px; font-weight: 500;
  color: var(--gray-700);
  transition: all .2s;
}
.pagination a:hover { border-color: var(--red); color: var(--red); }
.pagination .current { background: var(--red); color: var(--white); border-color: var(--red); }

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: 60px 20px 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: var(--max-width);
  margin: 0 auto 40px;
}

.footer-grid h3, .footer-grid h4 {
  color: var(--white);
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--red);
  display: inline-block;
}

.footer-grid a {
  color: var(--gray-400);
  font-size: .9rem;
  display: block;
  margin-bottom: 8px;
  transition: color .15s;
}
.footer-grid a:hover { color: var(--white); }
.footer-brand p { font-size: .9rem; line-height: 1.6; margin-top: 12px; }

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex;
  justify-content: space-between;
  font-size: .8rem;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a { color: var(--gray-400); }
.footer-bottom a:hover { color: var(--white); }

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
  .content-area { grid-template-columns: 1fr 280px; gap: 30px; }
  .card-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hero-slider { height: 560px; }
  .hero-content h1 { font-size: 2.4rem; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .pros-cons { grid-template-columns: 1fr; }
  .post-card-thumb { width: 220px; }
}

@media (max-width: 768px) {
  .top-bar { display: none; }

  .header-inner { height: 60px; }
  .header-search { display: none; }

  .main-nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0; right: 0;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    border-bottom: 3px solid var(--red);
    flex-direction: column;
    padding: 0;
    box-shadow: var(--shadow-lg);
    z-index: 999;
  }
  .main-nav.open { display: flex; }
  .main-nav a,
  .main-nav > li > a { display: block; padding: 12px 20px; border-bottom: 1px solid var(--gray-100); }
  .sub-menu { position: static; box-shadow: none; border-top: none; min-width: auto; }
  .sub-menu li a { padding-left: 40px; }
  .nav-toggle { display: block; }

  .hero h1 { font-size: 1.8rem; }
  .hero .trust-bar { gap: 16px; }
  .hero-slider { height: 450px; }
  .hero-content { padding: 0 30px; }
  .hero-content h1 { font-size: 1.8rem; }
  .hero-buttons { flex-direction: column; align-items: flex-start; }
  .slider-arrow { width: 40px; height: 40px; font-size: 14px; }

  .section { padding: 48px 16px; }
  .section-title { font-size: 1.5rem; }
  .card-grid, .card-grid-3 { grid-template-columns: 1fr; }
  .content-area { grid-template-columns: 1fr; }
  .sidebar { order: 2; }

  .post-card { flex-direction: column; }
  .post-card-thumb { width: 100%; height: 200px; }
  .post-card-body { padding: 20px; }

  .article-header h1 { font-size: 1.6rem; }
  .article-body h2 { font-size: 1.3rem; }
  .author-box { flex-direction: column; text-align: center; align-items: center; }
  .newsletter-form { flex-direction: column; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .comparison-table { font-size: .8rem; }
  .comparison-table th, .comparison-table td { padding: 8px 10px; }
}

@media (max-width: 480px) {
  .hero { padding: 48px 16px; }
  .hero h1 { font-size: 1.5rem; }
  .hero-slider { height: 380px; }
  .hero-content h1 { font-size: 1.4rem; }
  .hero-content p { font-size: .9rem; }
  .slider-arrow { display: none; }
  .pillar-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .header-inner { height: 56px; }
  .site-logo { font-size: 1.2rem; }
}
