/* ==========================================================================
   Delas av artikelsidorna (t.ex. /flaktar/tysta-flaktar/, /flaktar/basta-pelarflakt/)
   Ladda EFTER base.css + rätt theme-*.css.
   ========================================================================== */

.artikel-wrap { max-width: 720px; margin: 0 auto; padding: 48px 20px 80px; }

.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--gray-light); margin-bottom: 28px; }
.breadcrumb a { color: var(--accent); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: var(--gray-pale); }

.artikel-hero { margin-bottom: 40px; }
.artikel-kategori { display: inline-block; font-size: 11px; font-weight: 600; color: var(--accent); background: var(--accent-ghost); padding: 4px 12px; border-radius: 20px; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 16px; }
.artikel-hero h1 { font-size: clamp(26px, 4vw, 40px); font-weight: 500; color: var(--blue-dark); line-height: 1.2; margin-bottom: 16px; }
.artikel-ingress { font-size: 18px; color: var(--gray-mid); line-height: 1.65; margin-bottom: 24px; }
.artikel-meta { display: flex; align-items: center; gap: 16px; font-size: 13px; color: var(--gray-light); padding-bottom: 24px; border-bottom: 1px solid var(--gray-pale); }
.artikel-meta strong { color: var(--gray-mid); }

/* Artikelbilder */
.img-placeholder { width: 100%; height: 340px; margin: 28px 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--gray-ghost); }
.img-placeholder.small { height: auto; }
.img-placeholder img { width: 100%; height: 100%; object-fit: cover; display: block; }
.img-hero { width: 100%; margin: 0 0 32px; border-radius: var(--radius-lg); overflow: hidden; background: var(--gray-ghost); }
.img-hero img { width: 100%; height: auto; display: block; }
.img-inline { width: 100%; max-width: 480px; margin: 28px auto; border-radius: var(--radius-md); overflow: hidden; background: var(--gray-ghost); }
.img-inline img { width: 100%; height: auto; display: block; }

.artikel-body { font-size: 16px; line-height: 1.75; color: var(--gray-dark); }
.artikel-body h2 { font-size: 24px; font-weight: 500; color: var(--blue-dark); margin: 48px 0 16px; line-height: 1.3; }
.artikel-body h3 { font-size: 18px; font-weight: 500; color: var(--blue-dark); margin: 32px 0 12px; }
.artikel-body p { margin-bottom: 20px; }
.artikel-body strong { font-weight: 600; color: var(--gray-dark); }
.artikel-body ul { margin: 0 0 20px; padding-left: 20px; }
.artikel-body li { margin-bottom: 8px; line-height: 1.7; }

.table-wrap { overflow-x: auto; margin: 28px 0; border-radius: var(--radius-md); border: 1px solid var(--gray-pale); }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
thead th { background: var(--blue-dark); color: var(--white); font-weight: 500; padding: 12px 16px; text-align: left; }
tbody td { padding: 12px 16px; border-bottom: 1px solid var(--gray-pale); }
tbody tr:last-child td { border-bottom: none; }
tbody tr:nth-child(even) { background: var(--gray-ghost); }

.highlight { background: var(--accent-ghost); border-left: 3px solid var(--accent); border-radius: 0 var(--radius-md) var(--radius-md) 0; padding: 16px 20px; margin: 24px 0; font-size: 15px; }
.highlight strong { color: var(--blue-dark); }

/* Metodruta — hur produkterna valts ut */
.metod-ruta { background: var(--gray-ghost); border: 1px solid var(--gray-pale); border-radius: var(--radius-md); padding: 16px 20px; margin: 24px 0; font-size: 14px; color: var(--gray-mid); line-height: 1.65; }
.metod-ruta strong { color: var(--gray-dark); }

.produkt-kort { background: var(--white); border: 1px solid var(--gray-pale); border-top: 3px solid var(--accent-pale); border-radius: var(--radius-lg); padding: 24px; margin: 32px 0; display: flex; flex-direction: column; gap: 14px; }
.produkt-prisklass { display: inline-block; font-size: 11px; font-weight: 600; color: var(--accent); background: var(--accent-ghost); padding: 3px 10px; border-radius: 20px; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 8px; }
.produkt-namn { font-size: 18px; font-weight: 500; color: var(--blue-dark); }
.produkt-pris { font-size: 22px; font-weight: 500; color: var(--gray-dark); }
.produkt-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.produkt-db { display: inline-block; background: var(--teal-pale); color: var(--teal); font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 20px; }
.produkt-tag { font-size: 12px; background: var(--accent-ghost); color: var(--accent); padding: 3px 10px; border-radius: 20px; }
.produkt-specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 8px 20px; background: var(--gray-ghost); border-radius: var(--radius-md); padding: 14px 16px; }
.spec-rad { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; }
.spec-etikett { color: var(--gray-light); }
.spec-varde { color: var(--gray-dark); font-weight: 500; text-align: right; }
.produkt-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 14px; border-top: 1px solid var(--gray-pale); }

/* Köpguide-CTA mitt i artikeln */
.guide-cta { background: linear-gradient(135deg, var(--accent-dark), var(--accent)); border-radius: var(--radius-lg); padding: 36px 32px; margin: 40px 0; text-align: center; }
.guide-cta-icon { width: 52px; height: 52px; border-radius: 14px; background: rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.guide-cta h3 { font-size: 19px; font-weight: 500; color: var(--white); margin-bottom: 8px; }
.guide-cta p { font-size: 14px; color: rgba(255,255,255,0.75); line-height: 1.6; max-width: 440px; margin: 0 auto 20px; }
.guide-cta-btn { display: inline-block; background: var(--white); color: var(--accent-dark); font-weight: 600; font-size: 14px; padding: 12px 26px; border-radius: var(--radius-md); text-decoration: none; transition: opacity 0.15s; }
.guide-cta-btn:hover { opacity: 0.9; }

.faq { margin: 48px 0; }
.faq-item { border-bottom: 1px solid var(--gray-pale); padding: 20px 0; }
.faq-item:first-child { border-top: 1px solid var(--gray-pale); }
.faq-q { font-size: 16px; font-weight: 500; color: var(--blue-dark); margin-bottom: 10px; }
.faq-a { font-size: 15px; color: var(--gray-mid); line-height: 1.7; }

.disclaimer { font-size: 12px; color: var(--gray-light); font-style: italic; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--gray-pale); }

.buy-btn { padding: 10px 22px; font-size: 14px; }

body { font-size: 16px; line-height: 1.7; }
footer { margin-top: 60px; }
footer a, footer p { margin-bottom: 6px; }

@media (max-width: 600px) {
  .img-placeholder { height: 220px; }
  .produkt-specs { grid-template-columns: 1fr 1fr; }
  .guide-cta { padding: 28px 22px; }
}
