
/* Theme: Professional | Palette: blue */
/* Generated by SEO Money Site Theme System */

:root {
  --color-primary: #0066cc;
  --color-primary-dark: #004a99;
  --color-accent: #00a3cc;
  --color-text: #1a1a2e;
  --color-text-light: #4a4a6a;
  --color-bg: #ffffff;
  --color-bg-alt: #f8f9fa;
  --color-border: #e1e4e8;
  --font-heading: 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --max-width: 780px;
  --content-width: 680px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --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);
  --gradient-primary: linear-gradient(135deg, #0066cc 0%, #004a99 100%);
  --gradient-accent: linear-gradient(135deg, #00a3cc 0%, #0066cc 100%);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--color-text);
}

h1 { font-size: 2.5rem; margin-top: 0; }
h2 { font-size: 1.75rem; border-bottom: 2px solid var(--color-border); padding-bottom: 0.5rem; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.15rem; }

p {
  margin-bottom: 1.25rem;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

/* Layout */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.content {
  max-width: var(--content-width);
}

/* Header */
.site-header {
  background: var(--gradient-primary);
  color: white;
  padding: 0;
  margin-bottom: 0;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.site-header::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 0;
  right: 0;
  height: 40px;
  background: var(--gradient-primary);
  clip-path: polygon(0 0, 100% 0, 100% 20%, 50% 100%, 0 20%);
  z-index: 1;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.site-header .logo {
  font-size: 1.75rem;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.5px;
}

.site-header .logo a {
  color: white;
  text-decoration: none;
}

.site-header .tagline {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-top: 0.25rem;
}

.site-header nav {
  display: flex;
  gap: 0.5rem;
}

.site-header nav a {
  color: rgba(255,255,255,0.9);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.site-header nav a:hover {
  background: rgba(255,255,255,0.2);
  color: white;
  text-decoration: none;
}

/* Legacy header (fallback) */
header {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 2rem;
}

header h1 {
  font-size: 1.5rem;
  margin: 0;
}

header nav {
  margin-top: 0.5rem;
}

header nav a {
  margin-right: 1.5rem;
  color: var(--color-text-light);
  font-size: 0.95rem;
}

header nav a:hover {
  color: var(--color-primary);
}

/* Homepage Hero */
.homepage-hero {
  background: var(--gradient-primary);
  color: white;
  padding: 4rem 2rem 5rem;
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.homepage-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--color-bg);
  clip-path: ellipse(60% 100% at 50% 100%);
}

.homepage-hero h2 {
  font-size: 2.5rem;
  margin: 0 0 1rem;
  color: white;
  border: none;
  padding: 0;
}

.homepage-hero p {
  font-size: 1.25rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* Section Headings */
.section-heading {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-heading h2 {
  font-size: 1.5rem;
  margin: 0;
  border: none;
  padding: 0;
  color: var(--color-text);
}

.section-heading::after {
  content: '';
  flex: 1;
  height: 2px;
  background: var(--gradient-accent);
  border-radius: 2px;
}

/* Article Grid (Homepage) */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.article-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

.article-card-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 3px solid var(--color-primary);
}

.article-card-content {
  padding: 1.5rem;
}

.article-card h2 {
  font-size: 1.2rem;
  margin: 0 0 0.75rem;
  border: none;
  padding: 0;
  line-height: 1.4;
}

.article-card h2 a {
  color: var(--color-text);
  transition: color 0.2s;
}

.article-card h2 a:hover {
  color: var(--color-primary);
  text-decoration: none;
}

.article-card .meta {
  font-size: 0.8rem;
  color: var(--color-text-light);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.article-card .category-badge {
  background: var(--color-bg-alt);
  color: var(--color-primary);
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.article-card .review-badge {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #92400e;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.article-card .excerpt {
  color: var(--color-text-light);
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.article-card .read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.9rem;
}

.article-card .read-more::after {
  content: '→';
  transition: transform 0.2s;
}

.article-card:hover .read-more::after {
  transform: translateX(4px);
}

/* Article Content */
article {
  margin-bottom: 4rem;
}

article img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1.5rem 0;
}

article ul, article ol {
  margin: 1.25rem 0;
  padding-left: 1.5rem;
}

article li {
  margin-bottom: 0.5rem;
}

article blockquote {
  border-left: 4px solid var(--color-primary);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--color-bg-alt);
  font-style: italic;
}

/* Tables */
article table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}

article th {
  background: var(--color-bg-alt);
  font-weight: 600;
  text-align: left;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
}

article td {
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
}

article tr:nth-child(even) {
  background: var(--color-bg-alt);
}

/* CTA Boxes */
.cta-box {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 1.5rem;
  margin: 2rem 0;
}

.cta-box.affiliate {
  border-left: 4px solid var(--color-primary);
}

.cta-button {
  display: inline-block;
  background: var(--color-primary);
  color: white !important;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none !important;
  transition: background 0.2s ease;
}

.cta-button:hover {
  background: var(--color-primary-dark);
}

/* Pros/Cons Box */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}

@media (max-width: 600px) {
  .pros-cons {
    grid-template-columns: 1fr;
  }
}

.pros, .cons {
  padding: 1rem;
  border-radius: 8px;
}

.pros {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
}

.cons {
  background: #fef2f2;
  border: 1px solid #fecaca;
}

.pros h4, .cons h4 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
}

.pros ul, .cons ul {
  margin: 0;
  padding-left: 1.25rem;
}

/* Rating Stars */
.rating {
  color: #fbbf24;
  font-size: 1.25rem;
  margin: 0.5rem 0;
}

/* Author Box */
.author-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--color-bg-alt);
  border-radius: 8px;
  margin: 2rem 0;
}

.author-box img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
}

.author-box .author-info h4 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
}

.author-box .author-info p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--color-text-light);
}

/* Table of Contents */
.toc {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.toc h4 {
  margin: 0 0 1rem;
  font-size: 1rem;
}

.toc ul {
  margin: 0;
  padding-left: 1.25rem;
}

.toc li {
  margin-bottom: 0.5rem;
}

.toc a {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

/* Hero Section (Featured Image) */
.hero {
  position: relative;
  width: 100%;
  height: 400px;
  margin-bottom: 2rem;
  border-radius: 12px;
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: white;
}

.hero-overlay h1 {
  color: white;
  margin: 0;
  font-size: 2rem;
}

.hero-credit {
  font-size: 0.75rem;
  opacity: 0.7;
  margin-top: 0.5rem;
}

/* Article Cards with Images (Featured) */
.article-card-featured {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
  background: var(--color-bg);
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.article-card-featured:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

.article-card-featured img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
}

.article-card-featured .card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.article-card-featured h2 {
  font-size: 1.35rem;
  margin: 0 0 0.75rem;
  border: none;
  padding: 0;
  line-height: 1.4;
}

.article-card-featured h2 a {
  color: var(--color-text);
  transition: color 0.2s;
}

.article-card-featured h2 a:hover {
  color: var(--color-primary);
  text-decoration: none;
}

.article-card-featured .excerpt {
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 700px) {
  .article-card-featured {
    grid-template-columns: 1fr;
  }

  .article-card-featured img {
    height: 200px;
  }
}

/* Affiliate Product Box */
.product-box {
  background: var(--color-bg-alt);
  border: 2px solid var(--color-border);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 2rem 0;
  text-align: center;
}

.product-box img {
  max-width: 200px;
  margin: 0 auto 1rem;
}

.product-box h3 {
  margin: 0 0 0.5rem;
}

.product-box .price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.product-box .btn-amazon {
  display: inline-block;
  background: #ff9900;
  color: white !important;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none !important;
  transition: background 0.2s, transform 0.2s;
}

.product-box .btn-amazon:hover {
  background: #e68a00;
  transform: scale(1.02);
}

/* Affiliate Disclosure */
.affiliate-disclosure {
  background: #fffbeb;
  border: 1px solid #fbbf24;
  border-radius: 8px;
  padding: 1rem;
  margin: 1.5rem 0;
  font-size: 0.875rem;
  color: #92400e;
}

/* Inline Affiliate Link Styling */
article a[href*="amazon.com"] {
  color: var(--color-primary);
  font-weight: 500;
  border-bottom: 2px solid var(--color-accent);
  padding-bottom: 1px;
}

article a[href*="amazon.com"]:hover {
  background: var(--color-bg-alt);
}

/* Summary/TL;DR Box */
.summary-box {
  background: linear-gradient(135deg, var(--color-bg-alt) 0%, var(--color-bg) 100%);
  border-left: 4px solid var(--color-primary);
  border-radius: 0 12px 12px 0;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.summary-box h4 {
  margin: 0 0 0.75rem;
  color: var(--color-primary);
}

/* Newsletter Signup */
.newsletter-section {
  background: var(--gradient-primary);
  color: white;
  padding: 3rem 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  margin: 3rem 0;
  position: relative;
  overflow: hidden;
}

.newsletter-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
}

.newsletter-section h3 {
  color: white;
  font-size: 1.5rem;
  margin: 0 0 0.5rem;
}

.newsletter-section p {
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

.newsletter-form {
  display: flex;
  gap: 0.75rem;
  max-width: 450px;
  margin: 0 auto;
}

.newsletter-form input[type="email"] {
  flex: 1;
  padding: 0.875rem 1rem;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 1rem;
}

.newsletter-form button {
  background: white;
  color: var(--color-primary);
  border: none;
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.newsletter-form button:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-md);
}

@media (max-width: 500px) {
  .newsletter-form {
    flex-direction: column;
  }
}

/* Footer */
.site-footer {
  background: var(--color-text);
  color: rgba(255,255,255,0.8);
  margin-top: 4rem;
  padding: 3rem 2rem 2rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-about h4,
.footer-links h4 {
  color: white;
  font-size: 1rem;
  margin: 0 0 1rem;
}

.footer-about p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

@media (max-width: 700px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
}

/* Legacy footer (fallback) */
footer {
  margin-top: 4rem;
  padding: 2rem 0;
  border-top: 1px solid var(--color-border);
  text-align: center;
  color: var(--color-text-light);
  font-size: 0.875rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  body {
    font-size: 16px;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }

  .container {
    padding: 0 1rem;
  }
}

/* Reading Progress Bar */

.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--color-primary);
  z-index: 1000;
  transition: width 0.1s ease;
}


/* Ad Slots - Ready for AdSense */
.ad-slot {
  display: none; /* Hidden by default until AdSense is configured */
  width: 100%;
  text-align: center;
  margin: 1.5rem auto;
  min-height: 0;
  overflow: hidden;
}

/* When ads are enabled, add class 'ads-enabled' to body */
body.ads-enabled .ad-slot {
  display: block;
  min-height: 90px;
  background: var(--color-bg-alt);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-sm);
}

.ad-slot.ad-header {
  max-width: 728px;
  margin: 1rem auto;
}

.ad-slot.ad-mid-content {
  max-width: 680px;
  margin: 2rem auto;
}

.ad-slot.ad-footer {
  max-width: 728px;
  margin: 2rem auto 1rem;
}

.ad-slot.ad-sidebar {
  max-width: 300px;
}

/* Hide ads on print */
@media print {
  .ad-slot {
    display: none !important;
  }
}

/* Print Styles */
@media print {
  header, footer, .cta-box, .toc, .ad-slot {
    display: none;
  }

  body {
    font-size: 12pt;
    color: black;
    background: white;
  }

  a {
    color: black;
    text-decoration: underline;
  }
}
