/* ═══════════════════════════════════════════════════════════════════
   REMODELSD — Premium Blog Stylesheet v2.0
   System fonts + Inter fallback | Navy / Copper / Clean White
   Performance: 0 external font requests, pure CSS, <8KB gzipped
   ═══════════════════════════════════════════════════════════════════ */

/* ── CSS Custom Properties ── */
:root {
  /* Colors */
  --navy: #0f1f3d;
  --navy-light: #1a3259;
  --navy-muted: #2a4470;
  --slate: #374151;
  --slate-light: #4b5563;
  --warm-gray: #6b7280;
  --mist: #9ca3af;
  --silver: #d1d5db;
  --smoke: #e5e7eb;
  --cloud: #f3f4f6;
  --snow: #f9fafb;
  --white: #ffffff;
  --copper: #b07545;
  --copper-hover: #c4864f;
  --copper-light: rgba(176, 117, 69, 0.08);
  --copper-medium: rgba(176, 117, 69, 0.15);
  --copper-glow: rgba(176, 117, 69, 0.04);
  --sage: #166534;
  --sage-bg: #f0fdf4;
  --sage-border: #bbf7d0;
  --amber-bg: #fffbeb;
  --amber-border: #fde68a;
  --red-accent: #dc2626;
  --blue-accent: #2563eb;
  --blue-light: #eff6ff;

  /* Typography */
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', 'Fira Mono', Menlo, Consolas, monospace;

  /* Spacing */
  --content-width: 740px;
  --wide-width: 900px;
  --gutter: clamp(16px, 4vw, 48px);

  /* Borders & Shadows */
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-pill: 100px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; }

/* ── Body ── */
.rsd-body {
  font-family: var(--font-body);
  color: var(--slate);
  background: var(--snow);
  line-height: 1.7;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ── Top Navigation ── */
.rsd-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy);
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
  flex-wrap: wrap;
  font-family: var(--font-body);
}
.rsd-nav-brand {
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  text-decoration: none;
  padding: 12px 0;
  letter-spacing: -0.01em;
}
.rsd-nav-toggle { display: none; }
.rsd-nav-toggle-label {
  display: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
  line-height: 1;
}
.rsd-nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.rsd-nav-links a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  white-space: nowrap;
}
.rsd-nav-links a:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
}
.rsd-nav-phone {
  font-weight: 700 !important;
  color: var(--copper) !important;
}
.rsd-nav-phone:hover {
  color: var(--copper-hover) !important;
}

@media (max-width: 768px) {
  .rsd-nav-toggle-label { display: block; }
  .rsd-nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    padding-bottom: 12px;
  }
  .rsd-nav-links a {
    padding: 12px 14px;
    width: 100%;
  }
  .rsd-nav-toggle:checked ~ .rsd-nav-links { display: flex; }
}

/* ── Trust Bar ── */
.rsd-trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--smoke);
  padding: 10px 20px;
  display: flex;
  justify-content: center;
  gap: clamp(16px, 3vw, 40px);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--slate-light);
  flex-wrap: wrap;
}
.rsd-trust-bar span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.rsd-trust-bar .trust-icon {
  color: var(--copper);
  font-size: 0.9rem;
}

/* ── Hero Section ── */
.rsd-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, var(--navy-muted) 100%);
  padding: clamp(40px, 6vw, 80px) var(--gutter) clamp(48px, 7vw, 96px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.rsd-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(176,117,69,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.rsd-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(176,117,69,0.3), transparent);
}

/* Breadcrumbs */
.rsd-breadcrumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.rsd-breadcrumbs a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.2s;
}
.rsd-breadcrumbs a:hover { color: rgba(255,255,255,0.85); }
.rsd-breadcrumbs .sep { color: rgba(255,255,255,0.25); }
.rsd-breadcrumbs span:last-child { color: var(--copper); }

/* Hero Title */
.rsd-hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  color: #fff;
  max-width: 720px;
  margin: 0 auto 20px;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

/* Meta Row */
.rsd-hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.rsd-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}
.rsd-hero-meta .rsd-badge {
  background: rgba(176,117,69,0.2);
  border: 1px solid rgba(176,117,69,0.3);
  color: var(--copper);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.rsd-hero-meta svg {
  width: 14px;
  height: 14px;
  stroke: var(--copper);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── Main Layout (content + sidebar) ── */
.rsd-layout {
  max-width: var(--wide-width);
  margin: -40px auto 0;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 32px;
  position: relative;
  z-index: 1;
}
@media (max-width: 900px) {
  .rsd-layout {
    grid-template-columns: 1fr;
    max-width: var(--content-width);
    padding: 0 12px;
  }
}

/* ── Content Card ── */
.rsd-content {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 5vw, 52px) clamp(24px, 4vw, 48px);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--smoke);
  position: relative;
  min-width: 0;
}

/* ── Sidebar (Table of Contents) ── */
.rsd-sidebar {
  position: relative;
}
.rsd-toc {
  position: sticky;
  top: 80px;
  background: var(--white);
  border: 1px solid var(--smoke);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}
.rsd-toc h4 {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy);
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--copper-medium);
}
.rsd-toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: toc;
}
.rsd-toc li {
  counter-increment: toc;
  margin-bottom: 4px;
}
.rsd-toc a {
  display: block;
  padding: 6px 8px 6px 0;
  font-size: 0.8rem;
  color: var(--slate-light);
  text-decoration: none;
  line-height: 1.35;
  transition: all 0.2s;
  border-left: 2px solid transparent;
  padding-left: 10px;
}
.rsd-toc a:hover {
  color: var(--copper);
  border-left-color: var(--copper);
  background: var(--copper-glow);
}
.rsd-toc a.active {
  color: var(--copper);
  border-left-color: var(--copper);
  font-weight: 600;
}
@media (max-width: 900px) {
  .rsd-sidebar { display: none; }
}

/* ── Typography ── */
.rsd-content h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  color: var(--navy);
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.rsd-content h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  color: var(--navy);
  margin: 2.5rem 0 0.75rem;
  letter-spacing: -0.015em;
  line-height: 1.25;
  padding-top: 1rem;
  scroll-margin-top: 80px;
}
.rsd-content h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--navy-light);
  margin: 2rem 0 0.5rem;
  line-height: 1.3;
}
.rsd-content h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--slate);
  margin: 1.5rem 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.rsd-content p {
  font-size: 1.02rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
  color: var(--slate);
}
.rsd-content strong { color: var(--navy); font-weight: 600; }
.rsd-content a {
  color: var(--copper);
  text-decoration: underline;
  text-decoration-color: rgba(176,117,69,0.3);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s;
}
.rsd-content a:hover {
  text-decoration-color: var(--copper);
}

/* Lists */
.rsd-content ul, .rsd-content ol {
  margin: 0.75rem 0 1.5rem 1.25rem;
  line-height: 1.8;
}
.rsd-content li {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  color: var(--slate);
  padding-left: 4px;
}
.rsd-content li::marker { color: var(--copper); font-weight: 700; }

/* Blockquote */
.rsd-content blockquote {
  border-left: 4px solid var(--copper);
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  background: var(--copper-light);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--slate-light);
}

/* Images */
.rsd-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin: 1.5rem 0;
}
.rsd-content figure {
  margin: 1.5rem 0;
}
.rsd-content figcaption {
  font-size: 0.82rem;
  color: var(--warm-gray);
  margin-top: 8px;
  text-align: center;
}

/* ── Tables (premium cost tables) ── */
.rsd-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.92rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--smoke);
}
.rsd-content thead th {
  background: var(--navy);
  color: #fff;
  text-align: left;
  padding: 12px 16px;
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.rsd-content tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--smoke);
  color: var(--slate);
}
.rsd-content tbody tr:nth-child(even) {
  background: var(--snow);
}
.rsd-content tbody tr:hover {
  background: var(--copper-glow);
  transition: background 0.2s;
}
/* Handle tables without thead */
.rsd-content tr:first-child th,
.rsd-content tr:first-child td:only-child {
  font-weight: 600;
}

/* ── Mid-Article CTA ── */
.rsd-mid-cta {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin: 2.5rem 0;
  display: flex;
  align-items: center;
  gap: 20px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.rsd-mid-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(176,117,69,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.rsd-mid-cta-text {
  flex: 1;
  position: relative;
}
.rsd-mid-cta-text h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
  margin: 0 0 4px;
}
.rsd-mid-cta-text p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  margin: 0;
}
.rsd-mid-cta .rsd-btn {
  position: relative;
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .rsd-mid-cta {
    flex-direction: column;
    text-align: center;
    padding: 24px 20px;
  }
}

/* ── Buttons ── */
.rsd-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--copper);
  color: #fff;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(176,117,69,0.25);
  border: none;
  cursor: pointer;
  white-space: nowrap;
}
.rsd-btn:hover {
  background: var(--copper-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(176,117,69,0.35);
  text-decoration: none;
  color: #fff;
}
.rsd-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* ── Calculator Link Box ── */
.rsd-calc-box {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  margin: 1.5rem 0;
  background: var(--blue-light);
  border: 1px solid #bfdbfe;
  border-radius: var(--radius);
  text-decoration: none !important;
  transition: all 0.2s;
}
.rsd-calc-box:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
  border-color: #93c5fd;
}
.rsd-calc-box-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: var(--blue-accent);
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 1.1rem;
}
.rsd-calc-box-text { flex: 1; }
.rsd-calc-box-text strong {
  display: block;
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 2px;
}
.rsd-calc-box-text span {
  font-size: 0.8rem;
  color: var(--warm-gray);
}
.rsd-calc-box-arrow {
  flex-shrink: 0;
  color: var(--blue-accent);
  font-weight: 700;
  font-size: 1.1rem;
  transition: transform 0.2s;
}
.rsd-calc-box:hover .rsd-calc-box-arrow { transform: translateX(4px); }

/* ── FAQ Accordion ── */
.rsd-faq {
  margin: 2rem 0;
  border: 1px solid var(--smoke);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.rsd-faq-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--navy);
  margin: 0;
  padding: 20px 24px;
  background: var(--snow);
  border-bottom: 1px solid var(--smoke);
}
.rsd-faq details {
  border-bottom: 1px solid var(--smoke);
}
.rsd-faq details:last-child {
  border-bottom: none;
}
.rsd-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  transition: background 0.2s;
  gap: 12px;
}
.rsd-faq summary::-webkit-details-marker { display: none; }
.rsd-faq summary:hover { background: var(--snow); }
.rsd-faq summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--copper);
  transition: transform 0.3s;
  flex-shrink: 0;
  line-height: 1;
}
.rsd-faq details[open] summary::after {
  transform: rotate(45deg);
}
.rsd-faq .rsd-faq-answer {
  padding: 0 24px 20px;
  font-size: 0.95rem;
  color: var(--slate);
  line-height: 1.7;
}

/* ── Author / Trust Block ── */
.rsd-author-block {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  margin: 2rem 0;
  background: var(--snow);
  border: 1px solid var(--smoke);
  border-radius: var(--radius);
}
.rsd-author-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.rsd-author-info h4 {
  margin: 0 0 2px;
  font-size: 0.95rem;
  color: var(--navy);
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
}
.rsd-author-info p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--warm-gray);
  line-height: 1.4;
}

/* ── Bottom CTA Band ── */
.rsd-cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: clamp(40px, 6vw, 64px) var(--gutter);
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: 40px;
}
.rsd-cta-band::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(176,117,69,0.06) 0%, transparent 50%);
  pointer-events: none;
}
.rsd-cta-band h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  color: #fff;
  margin: 0 0 8px;
  position: relative;
  letter-spacing: -0.02em;
}
.rsd-cta-band > p {
  color: rgba(255,255,255,0.55) !important;
  margin-bottom: 24px !important;
  font-size: 0.95rem !important;
  position: relative;
}
.rsd-cta-band .rsd-btn {
  font-size: 1rem;
  padding: 16px 36px;
}
.rsd-cta-sub {
  display: block;
  margin-top: 16px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35) !important;
  position: relative;
}

/* ── Floating CTA Button ── */
.rsd-floating-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  background: var(--copper);
  color: #fff;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  box-shadow: 0 8px 32px rgba(176,117,69,0.4), 0 2px 8px rgba(0,0,0,0.15);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  animation: rsd-pulse 3s ease-in-out infinite;
}
.rsd-floating-cta:hover {
  background: var(--copper-hover);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 40px rgba(176,117,69,0.5), 0 4px 12px rgba(0,0,0,0.2);
}
.rsd-floating-cta svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}
@keyframes rsd-pulse {
  0%, 100% { box-shadow: 0 8px 32px rgba(176,117,69,0.4), 0 2px 8px rgba(0,0,0,0.15); }
  50% { box-shadow: 0 8px 32px rgba(176,117,69,0.25), 0 2px 8px rgba(0,0,0,0.1); }
}
@media (max-width: 600px) {
  .rsd-floating-cta {
    bottom: 16px;
    right: 16px;
    padding: 12px 20px;
    font-size: 0.82rem;
  }
}

/* ── Related Posts ── */
.rsd-related {
  margin: 2.5rem 0 0;
  padding: 24px;
  background: var(--snow);
  border: 1px solid var(--smoke);
  border-radius: var(--radius-lg);
}
.rsd-related h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--copper-medium);
}
.rsd-related ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.rsd-related li {
  margin-bottom: 10px;
  padding: 0;
}
.rsd-related a {
  color: var(--slate);
  font-weight: 500;
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}
.rsd-related a::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--copper);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  top: -1px;
}
.rsd-related a:hover { color: var(--copper); }

/* ── Footer ── */
.rsd-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.5);
  padding: 40px var(--gutter);
  text-align: center;
  font-size: 0.82rem;
  font-family: var(--font-body);
}
.rsd-footer a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.rsd-footer a:hover { color: var(--copper); }
.rsd-footer-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.rsd-footer p { margin: 0 0 6px; }
.rsd-footer-brand {
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
}

/* ── Utility: hide old elements ── */
.hero, .hero-overlay, .logo,
.related-posts, .related-articles,
.phone-cta, .calculator-cta, .footer-cta,
.stats-box, .calculator-links, .mid-cta, .cta-box,
.recommended-resources, .affiliate-resources,
.ca-blog-hero, .ca-breadcrumbs, .ca-blog-meta,
.ca-cta-band, .ca-footer, .ca-calc-box,
#azani-nav,
nav:not(.rsd-breadcrumbs-nav):not(.rsd-nav) {
  display: none !important;
}
/* Hide old inline style blocks that leak */
article > .hero, .hero img { display: none !important; }

/* Override any old body styles */
body.ca-blog-body {
  font-family: var(--font-body) !important;
  color: var(--slate) !important;
  background: var(--snow) !important;
  line-height: 1.7 !important;
}

/* ── Print ── */
@media print {
  .rsd-nav, .rsd-trust-bar, .rsd-floating-cta,
  .rsd-cta-band, .rsd-mid-cta, .rsd-sidebar,
  .rsd-related { display: none !important; }
  .rsd-hero { background: #eee; }
  .rsd-hero h1 { color: #000; }
  .rsd-content { box-shadow: none; border: none; }
  .rsd-layout { grid-template-columns: 1fr; }
}

/* ── Animation: fade in content ── */
.rsd-content {
  animation: rsd-fadeIn 0.5s ease-out;
}
@keyframes rsd-fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Progress Bar ── */
.rsd-progress {
  position: fixed;
  top: 56px;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--copper), var(--copper-hover));
  z-index: 999;
  transition: width 0.1s linear;
}
