/* ═══════════════════════════════════════════════════════════
   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, #1565C0 0%, #0D47A1 100%);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.content-nav-brand {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: white;
  text-decoration: none;
  padding: 14px 20px;
  display: flex;
  align-items: center;
}

.content-nav-links {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  align-items: stretch;
}

.content-nav-links > a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
  padding: 14px 16px;
  transition: background 0.15s ease;
  display: flex;
  align-items: center;
}

.content-nav-links > a:hover {
  background: rgba(255,255,255,0.2);
}

/* ── Dropdown Nav ───────────────────────────────────────── */
.content-nav-links .nav-dropdown {
  position: relative;
}

.content-nav-links .nav-dropdown-label {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  background: none;
  border: none;
  font-family: 'Instrument Sans', sans-serif;
  padding: 14px 16px;
  transition: background 0.15s ease;
  display: block;
}

.content-nav-links .nav-dropdown-label:hover {
  background: rgba(255,255,255,0.2);
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  min-width: 260px;
  padding: 6px 0;
  z-index: 200;
}

/* Hover AND click both work */
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown-menu.open { display: block; }

.nav-dropdown-menu a {
  display: block;
  padding: 12px 20px;
  color: #2d2a26;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  white-space: nowrap;
}

.nav-dropdown-menu a:hover {
  background: #E3F2FD;
  color: #1565C0;
}

.nav-dropdown-menu .nav-dropdown-divider {
  border-top: 1px solid #e5e7eb;
  margin: 4px 0;
}

/* ── Mobile Nav Toggle ──────────────────────────────────── */
.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.4rem;
  cursor: pointer;
  padding: 4px 8px;
}

@media (max-width: 768px) {
  .content-nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 0;
    background: #1565C0;
    border-radius: 8px;
    padding: 8px 0;
    margin-top: 8px;
  }
  .content-nav-links.nav-open { display: flex; }
  .content-nav-links a,
  .content-nav-links .nav-dropdown-label {
    padding: 10px 16px;
    display: block;
    width: 100%;
    text-align: left;
  }
  .nav-dropdown-menu {
    position: static;
    box-shadow: none;
    border-radius: 0;
    margin: 0;
    padding: 0 0 0 16px;
    background: rgba(255,255,255,0.1);
  }
  .nav-dropdown-menu a {
    color: rgba(255,255,255,0.85);
    padding: 8px 16px;
  }
  .nav-dropdown-menu a:hover {
    background: rgba(255,255,255,0.15);
    color: white;
  }
  .nav-mobile-toggle { display: block; }
}

/* ── Article Layout ──────────────────────────────────────── */
.content-article {
  max-width: 800px;
  margin: 0 auto;
  padding: 30px 20px 60px;
  font-family: 'Instrument Sans', sans-serif;
  color: #2d2a26;
  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: rgba(45,42,38,0.6);
  margin-bottom: 24px;
}

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

.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: #2d2a26; }

/* ── Affiliate CTA Box ───────────────────────────────────── */
.cta-box {
  background: #E3F2FD;
  border: 1.5px solid #1565C0;
  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: rgba(45,42,38,0.6); }

.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, #FF8F00, #E65100); }
.cta-btn-tool { background: linear-gradient(135deg, #1565C0, #1565C0); }
.cta-btn-ebay { background: linear-gradient(135deg, #2E7D32, #2E7D32); }

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

.content-table th {
  background: #1565C0;
  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: #E3F2FD; }

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

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

.callout-tip { background: #E8F5E9; color: #2E7D32; border: 2px solid #2E7D32; }
.callout-warn { background: #FFF9C4; color: #E65100; border: 2px solid #FF8F00; }
.callout-info { background: #E3F2FD; color: #1565C0; border: 2px solid #1565C0; }

/* ── Content Footer ──────────────────────────────────────── */
.content-footer {
  background: #2d2a26;
  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: #E3F2FD;
  text-decoration: none;
}

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

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 600px) {
  .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; }
}
