/* ═══════════════════════════════════════════════════════════
   Kids Bike Finder — Content Page Styles
   Shared across all SEO/blog content pages
   ═══════════════════════════════════════════════════════════ */

/* Import base variables */
@import url('/styles.css');

/* ── Content Nav ─────────────────────────────────────────── */
.content-nav {
  background: linear-gradient(135deg, #2196F3 0%, #1565C0 100%);
  padding: 12px 20px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.content-nav-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.content-nav-brand {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
  text-decoration: none;
}

.content-nav-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.content-nav-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
}

.content-nav-links a:hover { color: white; }

/* ── Article Layout ──────────────────────────────────────── */
.content-article {
  max-width: 800px;
  margin: 0 auto;
  padding: 30px 20px 60px;
  font-family: 'Nunito', sans-serif;
  color: #263238;
  line-height: 1.7;
}

.content-article h1 {
  font-family: 'Fredoka', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  color: #1565C0;
  margin-bottom: 8px;
  line-height: 1.2;
}

.content-updated {
  font-size: 0.85rem;
  color: #546E7A;
  margin-bottom: 24px;
}

.content-article h2 {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.5rem;
  color: #263238;
  margin: 36px 0 12px;
  padding-top: 16px;
  border-top: 2px solid #BBDEFB;
}

.content-article h3 {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.15rem;
  color: #1565C0;
  margin: 24px 0 8px;
}

.content-article p {
  margin-bottom: 16px;
}

.content-article ul, .content-article ol {
  margin: 0 0 16px 24px;
}

.content-article li {
  margin-bottom: 8px;
}

.content-article strong { color: #263238; }

/* ── Affiliate CTA Box ───────────────────────────────────── */
.cta-box {
  background: linear-gradient(135deg, #C8E6C9, #BBDEFB);
  border: 2px solid #4CAF50;
  border-radius: 16px;
  padding: 20px 24px;
  margin: 24px 0;
  text-align: center;
}

.cta-box h3 {
  font-family: 'Fredoka', sans-serif;
  color: #2E7D32;
  margin: 0 0 8px;
  border: none;
  padding: 0;
}

.cta-box p { margin-bottom: 12px; color: #546E7A; }

.cta-box .cta-links {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-box .cta-links a {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 30px;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: white;
  text-decoration: none;
  transition: transform 0.2s;
}

.cta-box .cta-links a:hover { transform: translateY(-2px); }
.cta-btn-amazon { background: linear-gradient(135deg, #FF9800, #E65100); }
.cta-btn-tool { background: linear-gradient(135deg, #2196F3, #1565C0); }
.cta-btn-ebay { background: linear-gradient(135deg, #4CAF50, #2E7D32); }

/* ── Comparison Table ────────────────────────────────────── */
.content-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 0.9rem;
}

.content-table th {
  background: #2196F3;
  color: white;
  padding: 10px 12px;
  text-align: left;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
}

.content-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #e5e7eb;
}

.content-table tr:hover { background: #BBDEFB; }

.content-table .winner { background: #C8E6C9; font-weight: 700; }

/* ── Info Callout ────────────────────────────────────────── */
.callout {
  padding: 16px 20px;
  border-radius: 10px;
  margin: 20px 0;
  font-weight: 600;
}

.callout-tip { background: #C8E6C9; color: #2E7D32; border: 2px solid #4CAF50; }
.callout-warn { background: #FFF9C4; color: #E65100; border: 2px solid #FF9800; }
.callout-info { background: #BBDEFB; color: #1565C0; border: 2px solid #2196F3; }

/* ── Content Footer ──────────────────────────────────────── */
.content-footer {
  background: #263238;
  color: rgba(255, 255, 255, 0.7);
  padding: 30px 20px;
  text-align: center;
}

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

.content-footer-links {
  margin: 12px 0;
  font-size: 0.85rem;
}

.content-footer-links a {
  color: #BBDEFB;
  text-decoration: none;
}

.content-footer-links a:hover { text-decoration: underline; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 600px) {
  .content-nav-links { display: none; }
  .content-article { padding: 20px 16px 40px; }
  .content-table { font-size: 0.8rem; }
  .content-table th, .content-table td { padding: 8px 6px; }
  .cta-box .cta-links { flex-direction: column; }
}
