/**
 * FeelCovered Advertorial Styles
 * Hybrid editorial design: RateDriven layout + FeelCovered brand
 * Colors: #1F3B4D (primary), #F59E0B (accent), #3C7A6F (secondary)
 * Fonts: 96 Sans (body), Merriweather (headlines)
 */

/* ============================================================================
   Base Article Container
   ============================================================================ */

.advo-article {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  font-family: '96 Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: #212529;
  line-height: 1.7;
}

/* ============================================================================
   Sponsored Label
   ============================================================================ */

.advo-sponsored {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.75rem;
  color: #999;
  margin-bottom: 1rem;
  font-weight: 500;
}

/* ============================================================================
   Headline
   ============================================================================ */

.advo-headline {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1.2;
  color: #212529;
  margin: 0 0 1.5rem 0;
  text-align: left;
}

/* ============================================================================
   Author Byline
   ============================================================================ */

.advo-byline {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
}

.advo-byline img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.advo-byline strong {
  color: #1F3B4D;
  font-size: 0.95rem;
}

.advo-byline .advo-date {
  font-size: 0.875rem;
  color: #6b7280;
}

/* ============================================================================
   Article Body
   ============================================================================ */

.advo-body {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #374151;
}

.advo-body p {
  margin: 0 0 1rem 0;
}

.advo-body p:last-child {
  margin-bottom: 0;
}

.advo-body h2 {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #1F3B4D;
  margin: 2rem 0 1rem 0;
  line-height: 1.3;
}

.advo-body h3 {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #1F3B4D;
  margin: 1.5rem 0 0.75rem 0;
  line-height: 1.3;
}

/* Standard editorial links */
.advo-body a {
  color: #0066cc;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.advo-body a:hover {
  color: #0052a3;
}

/* Strong/bold emphasis */
.advo-body strong,
.advo-body b {
  color: #1F3B4D;
  font-weight: 600;
}

/* Lists */
.advo-body ul,
.advo-body ol {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.advo-body li {
  margin-bottom: 0.5rem;
}

/* ============================================================================
   CTA Boxes - Muted/Subtle Style
   ============================================================================ */

.advo-cta-box {
  background: #f8f9fa;
  border-left: 3px solid #3C7A6F;
  padding: 1.5rem;
  margin: 1.5rem 0;
  border-radius: 4px;
  text-align: center;
}

/* Aggressive CTA - appears right after intro */
.advo-cta-box.aggressive {
  background: #f0f9ff;
  border-left: 3px solid #1F3B4D;
  padding: 1.75rem;
  margin: 1rem 0 2rem 0;
}

.advo-cta-headline {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #1F3B4D;
  margin: 0 0 0.75rem 0;
}

.advo-cta-text {
  font-size: 1rem;
  color: #4b5563;
  margin: 0 0 1.25rem 0;
  line-height: 1.5;
}

.advo-cta-button,
.advo-body .advo-cta-button,
a.advo-cta-button {
  display: inline-block;
  background: #1F3B4D !important;
  color: #ffffff !important;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 0.875rem 2rem;
  border-radius: 6px;
  text-decoration: none !important;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  text-shadow: none;
}

.advo-cta-button:hover,
.advo-body .advo-cta-button:hover,
a.advo-cta-button:hover {
  background: #152a38 !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(31, 59, 77, 0.2);
  text-decoration: none !important;
}

/* Accent colored CTA button variant */
.advo-cta-button.accent,
.advo-body .advo-cta-button.accent,
a.advo-cta-button.accent {
  background: #3C7A6F !important;
  color: #ffffff !important;
}

.advo-cta-button.accent:hover,
.advo-body .advo-cta-button.accent:hover,
a.advo-cta-button.accent:hover {
  background: #2d5d54 !important;
  color: #ffffff !important;
}

.advo-cta-trust {
  font-size: 0.875rem;
  color: #6b7280;
  margin-top: 0.75rem;
  font-style: italic;
}

/* ============================================================================
   Savings Breakdown Box
   ============================================================================ */

.advo-savings {
  background: #f0fdf4;
  border: 2px solid #16a34a;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.advo-savings-headline {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #15803d;
  margin: 0 0 1rem 0;
  text-align: center;
}

.advo-savings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.advo-savings-item {
  text-align: center;
}

.advo-savings-label {
  font-size: 0.875rem;
  color: #15803d;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.25rem;
}

.advo-savings-total {
  font-size: 2rem;
  font-weight: 900;
  color: #16a34a;
  line-height: 1;
}

/* ============================================================================
   Testimonial Box
   ============================================================================ */

.advo-testimonial {
  background: #f9fafb;
  border-left: 3px solid #F59E0B;
  padding: 1.5rem;
  margin: 1.5rem 0;
  border-radius: 4px;
}

.advo-testimonial-quote {
  font-size: 1.05rem;
  font-style: italic;
  color: #374151;
  margin: 0 0 1rem 0;
  line-height: 1.6;
}

.advo-testimonial-quote::before {
  content: '\201C';
  font-size: 2rem;
  color: #F59E0B;
  margin-right: 0.25rem;
  line-height: 0;
}

.advo-testimonial-author {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1F3B4D;
}

.advo-testimonial-location {
  font-size: 0.875rem;
  color: #6b7280;
}

/* ============================================================================
   Image Styling (for v2 variants)
   ============================================================================ */

.advo-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1.5rem 0;
}

.advo-image-caption {
  font-size: 0.875rem;
  color: #6b7280;
  text-align: center;
  margin-top: 0.5rem;
  font-style: italic;
}

/* Hero image at top of article */
.advo-image-hero {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 0 0 1.5rem 0;
}

/* ============================================================================
   Disclaimer Footer
   ============================================================================ */

.advo-disclaimer {
  background: #f3f4f6;
  border-top: 2px solid #e5e7eb;
  padding: 1.5rem;
  margin-top: 3rem;
  text-align: center;
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.6;
}

.advo-disclaimer strong {
  color: #374151;
  font-weight: 700;
}

.advo-disclaimer small {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: #9ca3af;
}

/* ============================================================================
   Utility Classes
   ============================================================================ */

.advo-text-center {
  text-align: center;
}

.advo-text-green {
  color: #16a34a;
  font-weight: 600;
}

.advo-text-accent {
  color: #F59E0B;
  font-weight: 600;
}

.advo-separator {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 2rem 0;
}

/* ============================================================================
   Responsive Design
   ============================================================================ */

@media (max-width: 768px) {
  .advo-article {
    padding: 1.5rem 1rem;
  }

  .advo-headline {
    font-size: 1.6rem;
  }

  .advo-body {
    font-size: 1rem;
  }

  .advo-body h2 {
    font-size: 1.3rem;
    margin: 1.5rem 0 0.75rem 0;
  }

  .advo-body h3 {
    font-size: 1.1rem;
  }

  .advo-cta-box,
  .advo-cta-box.aggressive {
    padding: 1.25rem;
    margin: 1rem 0;
  }

  .advo-cta-headline {
    font-size: 1.1rem;
  }

  .advo-cta-button {
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    width: 100%;
    display: block;
  }

  .advo-savings-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .advo-savings-total {
    font-size: 1.75rem;
  }

  .advo-byline {
    gap: 0.75rem;
  }

  .advo-byline img {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .advo-article {
    padding: 1rem 0.75rem;
  }

  .advo-headline {
    font-size: 1.4rem;
  }

  .advo-cta-box,
  .advo-cta-box.aggressive,
  .advo-savings,
  .advo-testimonial {
    padding: 1rem;
  }
}
