/* ============================================
 * Compare2Best Content Machine Styles
 * 10 template types unified design system
 * ============================================ */

.c2b-content-page { max-width: 900px; margin: 0 auto; padding: 40px 20px 60px; }
.c2b-content-container { background: #fff; border-radius: 12px; padding: 40px; box-shadow: 0 1px 3px rgba(0,0,0,.1); }

/* Breadcrumb */
.c2b-breadcrumb { font-size: 14px; color: #666; margin-bottom: 24px; }
.c2b-breadcrumb a { color: #2563eb; text-decoration: none; }
.c2b-breadcrumb a:hover { text-decoration: underline; }

/* Meta */
.c2b-content-meta { display: flex; gap: 24px; font-size: 13px; color: #999; margin: 8px 0 32px; padding-bottom: 16px; border-bottom: 1px solid #e5e7eb; }

/* Headings */
.c2b-content-page h1 { font-size: 28px; color: #111; margin: 0 0 8px; line-height: 1.3; }
.c2b-content-page h2 { font-size: 22px; color: #1f2937; margin: 40px 0 16px; padding-bottom: 8px; border-bottom: 2px solid #f0f0f0; }
.c2b-content-page h3 { font-size: 18px; color: #374151; margin: 24px 0 12px; }

/* Intro paragraph */
.c2b-intro { font-size: 17px; line-height: 1.7; color: #4b5563; margin-bottom: 32px; padding: 20px 24px; background: #f8fafc; border-left: 4px solid #2563eb; border-radius: 0 8px 8px 0; }

/* Supplier cards */
.c2b-supplier-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); gap: 20px; margin-bottom: 32px; }
.c2b-supplier-card { border: 1px solid #e5e7eb; border-radius: 10px; padding: 24px; transition: box-shadow .2s; }
.c2b-supplier-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,.08); }
.c2b-supplier-card h3 { margin: 0 0 12px; color: #111; }
.c2b-supplier-meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; color: #6b7280; margin-bottom: 12px; }
.c2b-supplier-certs { display: flex; gap: 6px; flex-wrap: wrap; margin: 8px 0; }
.c2b-badge { display: inline-block; padding: 2px 8px; background: #eff6ff; color: #1d4ed8; border-radius: 4px; font-size: 12px; font-weight: 600; }
.c2b-supplier-details { display: flex; gap: 24px; font-size: 13px; color: #6b7280; margin: 8px 0; }

/* Tables */
.c2b-table-wrap { overflow-x: auto; margin: 24px 0; }
.c2b-table-wrap table { width: 100%; border-collapse: collapse; font-size: 14px; }
.c2b-table-wrap th { background: #f8fafc; padding: 12px 16px; text-align: left; font-weight: 600; color: #374151; border-bottom: 2px solid #e5e7eb; white-space: nowrap; }
.c2b-table-wrap td { padding: 10px 16px; border-bottom: 1px solid #f3f4f6; color: #4b5563; }
.c2b-table-wrap tr:hover td { background: #fafbfc; }

/* Pros/Cons */
.c2b-pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 24px 0; }
.c2b-pros, .c2b-cons { padding: 20px; border-radius: 10px; }
.c2b-pros { background: #f0fdf4; border: 1px solid #bbf7d0; }
.c2b-cons { background: #fef2f2; border: 1px solid #fecaca; }
.c2b-pros h3, .c2b-cons h3 { margin-top: 0; }
.c2b-pros ul, .c2b-cons ul { margin: 8px 0 0; padding-left: 20px; }
.c2b-pros li, .c2b-cons li { margin-bottom: 6px; line-height: 1.5; }

/* Scenarios */
.c2b-scenarios { margin: 24px 0; }
.c2b-scenario { padding: 12px 16px; margin-bottom: 8px; background: #f9fafb; border-radius: 8px; font-size: 14px; line-height: 1.6; }

/* Steps */
.c2b-steps { margin: 24px 0; }
.c2b-step { padding: 20px 24px; margin-bottom: 16px; background: #f8fafc; border-radius: 10px; border-left: 4px solid #2563eb; }
.c2b-step h3 { margin: 0 0 8px; }
.c2b-tip { font-size: 13px; color: #6b7280; margin-top: 8px; font-style: italic; }

/* Checklists & Red flags */
.c2b-checklist, .c2b-red-flags { margin: 24px 0; }
.c2b-checklist ul, .c2b-red-flags ul { list-style: none; padding: 0; }
.c2b-checklist li, .c2b-red-flags li { padding: 8px 16px; margin-bottom: 6px; border-radius: 6px; font-size: 14px; }
.c2b-checklist li { background: #f0fdf4; }
.c2b-red-flags li { background: #fef2f2; }

/* FAQ */
.c2b-faq-list { margin: 24px 0; }
.c2b-faq-item { margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid #f3f4f6; }
.c2b-faq-item:last-child { border-bottom: none; }
.c2b-faq-item h3 { font-size: 16px; color: #111; cursor: default; }
.c2b-faq-answer { font-size: 15px; line-height: 1.7; color: #4b5563; }

/* Quick stats */
.c2b-quick-stats { display: flex; gap: 16px; flex-wrap: wrap; margin: 24px 0; }
.c2b-stat { flex: 1; min-width: 160px; text-align: center; padding: 20px 16px; background: #eff6ff; border-radius: 10px; }
.c2b-stat strong { display: block; font-size: 24px; color: #1d4ed8; margin-bottom: 4px; }
.c2b-stat span { font-size: 13px; color: #6b7280; }

/* Energy analysis */
.c2b-energy { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin: 24px 0; }
.c2b-energy > div { padding: 16px; background: #f0fdf4; border-radius: 8px; text-align: center; }
.c2b-energy > div span:first-child { display: block; font-size: 12px; color: #6b7280; margin-bottom: 4px; }
.c2b-energy > div { font-size: 16px; font-weight: 600; color: #059669; }

/* Cost breakdown bars */
.c2b-cost-breakdown { margin: 24px 0; }
.c2b-cost-item { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; font-size: 14px; }
.c2b-cost-item span:first-child { width: 140px; text-transform: capitalize; }
.c2b-cost-bar { height: 20px; background: #2563eb; border-radius: 4px; min-width: 4px; }

/* Fixture cards */
.c2b-fixtures { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; margin: 24px 0; }
.c2b-fixture-card { padding: 20px; border: 1px solid #e5e7eb; border-radius: 10px; }
.c2b-fixture-card h3 { margin: 0 0 12px; }
.c2b-fixture-specs { display: flex; gap: 12px; font-size: 12px; color: #6b7280; margin-bottom: 8px; }

/* Glossary */
.c2b-glossary { margin: 24px 0; }
.c2b-definition { font-size: 18px; line-height: 1.6; color: #1f2937; padding: 20px; background: #fffbeb; border-radius: 10px; margin-bottom: 16px; }
.c2b-technical, .c2b-why-matters { margin-bottom: 16px; line-height: 1.7; }

/* CTA block */
.c2b-cta-block { margin-top: 32px; padding: 20px; background: #eff6ff; border-radius: 10px; text-align: center; font-size: 14px; color: #4b5563; }

/* Bottom CTA */
.c2b-content-cta { margin-top: 48px; padding: 32px; background: linear-gradient(135deg, #1e40af, #3b82f6); border-radius: 12px; text-align: center; color: #fff; }
.c2b-content-cta h3 { color: #fff; margin: 0 0 8px; }
.c2b-content-cta p { opacity: .85; margin-bottom: 20px; }
.c2b-btn-primary { display: inline-block; padding: 12px 32px; background: #fff; color: #1e40af; border-radius: 8px; font-weight: 600; text-decoration: none; font-size: 16px; }
.c2b-btn-primary:hover { background: #f0f5ff; }

/* Related links */
.c2b-content-links { margin-top: 32px; padding: 24px; background: #f8fafc; border-radius: 10px; }
.c2b-content-links h3 { margin: 0 0 12px; }
.c2b-content-links ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.c2b-content-links li { }
.c2b-content-links a { display: inline-block; padding: 6px 14px; background: #eff6ff; color: #2563eb; border-radius: 6px; font-size: 13px; text-decoration: none; }
.c2b-content-links a:hover { background: #dbeafe; }

/* Subcategories */
.c2b-subcategories { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin: 24px 0; }
.c2b-subcat { padding: 16px; border: 1px solid #e5e7eb; border-radius: 8px; }
.c2b-subcat h3 { margin: 0 0 4px; font-size: 16px; }
.c2b-subcat span { font-size: 12px; color: #9ca3af; }

/* Responsive */
@media (max-width: 768px) {
  .c2b-content-container { padding: 20px; }
  .c2b-supplier-grid { grid-template-columns: 1fr; }
  .c2b-pros-cons { grid-template-columns: 1fr; }
  .c2b-quick-stats { flex-direction: column; }
  .c2b-content-page h1 { font-size: 22px; }
}
