/* Market Research Telecast — affiliate post design.
   Scoped to .entry-content so it layers on top of Blocksy without
   touching the theme header, footer, or sidebar. Loaded site-wide on
   single posts by mrt-affiliate-design.php. */
@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:opsz,wght@8..60,600;8..60,700&family=Inter:wght@400;500;600;700&display=swap');

.entry-content {
  --ink: #1c1917;
  --text: #33302c;
  --muted: #7d766e;
  --card: #ffffff;
  --line: #e8e2d9;
  --accent: #b45309;
  --accent-soft: #fdf3e3;
  --accent-line: #f3dfc0;
  --buy: #ffb224;
  --buy-hover: #f59e0b;
  --buy-ink: #261c00;
  --good: #15803d;
  --good-bg: #f1fbf3;
  --bad: #b91c1c;
  --bad-bg: #fdf3f2;
  --serif: 'Source Serif 4', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
}

.entry-content p { margin: 0 0 1.4em; }
.entry-content strong { color: var(--ink); }
.entry-content a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: #e3b277;
  text-underline-offset: 3px;
}
.entry-content a:hover { text-decoration-color: var(--accent); }
.entry-content hr { border: 0; border-top: 1px solid var(--line); margin: 44px 0; }

.entry-content h2 {
  font-family: var(--serif); font-weight: 700;
  font-size: 1.65rem; line-height: 1.25;
  color: var(--ink); margin: 2.6em 0 0.7em;
  scroll-margin-top: 80px;
}
.entry-content h3 {
  font-weight: 600; font-size: 1.18rem;
  color: var(--ink); margin: 2em 0 0.6em;
}

/* Product headings: descriptor lifted into a pill by the enhancer */
.entry-content h2.product-h2 { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.entry-content .h2-badge {
  font-family: var(--sans);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  padding: 4px 10px; border-radius: 999px; white-space: nowrap;
}

/* TL;DR */
.entry-content blockquote {
  margin: 2em 0; padding: 18px 22px;
  background: var(--accent-soft);
  border-left: 4px solid var(--buy);
  border-radius: 0 10px 10px 0;
}
.entry-content blockquote p { margin: 0; font-size: 1rem; }

/* Product images */
.entry-content img {
  display: block; max-width: 100%; height: auto; max-height: 380px;
  margin: 1.6em auto; padding: 18px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
}

/* Affiliate CTA button */
.entry-content p.buy-row { margin: 1.1em 0 1.6em; }
.entry-content a.buy-btn {
  display: inline-block;
  background: var(--buy); color: var(--buy-ink);
  font-weight: 600; font-size: 0.98rem; text-decoration: none;
  padding: 12px 24px; border-radius: 10px;
  box-shadow: 0 1px 2px rgba(28, 25, 23, 0.12);
  transition: background 0.15s, transform 0.15s;
}
.entry-content a.buy-btn:hover { background: var(--buy-hover); transform: translateY(-1px); }

/* Comparison table */
.entry-content .table-wrap {
  overflow-x: auto; margin: 2em 0;
  border: 1px solid var(--line); border-radius: 12px;
  background: var(--card);
  box-shadow: 0 1px 3px rgba(28, 25, 23, 0.05);
}
.entry-content table { border-collapse: collapse; width: 100%; font-size: 0.9rem; line-height: 1.45; }
.entry-content th {
  background: var(--ink); color: #fff;
  text-align: left; font-weight: 600; padding: 12px 14px; white-space: nowrap;
}
.entry-content td { padding: 12px 14px; border-top: 1px solid var(--line); vertical-align: top; }
.entry-content tbody tr:nth-child(even) { background: #faf8f4; }
.entry-content td a { font-weight: 600; text-decoration: none; }
.entry-content td a:hover { text-decoration: underline; }

/* Bullet lists */
.entry-content > ul { padding-left: 1.2em; margin: 0 0 1.5em; }
.entry-content > ul li { margin-bottom: 0.55em; }
.entry-content > ul li::marker { color: var(--buy); }

/* Pros / cons cards */
.entry-content .pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 1.6em 0; }
.entry-content .pc-card { border-radius: 12px; padding: 16px 18px; border: 1px solid; }
.entry-content .pc-good { background: var(--good-bg); border-color: #d3ecd9; }
.entry-content .pc-bad { background: var(--bad-bg); border-color: #f3dad7; }
.entry-content .pc-label {
  margin: 0 0 0.5em;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.entry-content .pc-good .pc-label { color: var(--good); }
.entry-content .pc-bad .pc-label { color: var(--bad); }
.entry-content .pc-card ul { margin: 0; padding: 0; list-style: none; }
.entry-content .pc-card li { padding-left: 24px; position: relative; margin-bottom: 0.5em; font-size: 0.95rem; line-height: 1.55; }
.entry-content .pc-card li:last-child { margin-bottom: 0; }
.entry-content .pc-card li::before { position: absolute; left: 0; font-weight: 700; }
.entry-content .pc-good li::before { content: '\2713'; color: var(--good); }
.entry-content .pc-bad li::before { content: '\2715'; color: var(--bad); }

/* "Best for" callout */
.entry-content p.best-for {
  background: var(--card);
  border: 1px solid var(--line); border-left: 4px solid var(--buy);
  border-radius: 0 10px 10px 0;
  padding: 13px 18px; font-size: 0.97rem;
}

/* FAQ */
.entry-content .faq-item {
  background: var(--card);
  border: 1px solid var(--line); border-radius: 12px;
  padding: 18px 22px 6px; margin-bottom: 14px;
}
.entry-content .faq-item h3 { margin: 0 0 0.6em; }

/* Affiliate disclosure */
.entry-content p.disclosure {
  margin-top: 3em; padding: 14px 18px;
  background: var(--card);
  border: 1px dashed var(--line); border-radius: 10px;
  color: var(--muted); font-size: 0.85rem;
}
.entry-content p.disclosure em { font-style: normal; }

@media (max-width: 640px) {
  .entry-content { font-size: 16px; }
  .entry-content .pros-cons { grid-template-columns: 1fr; }
  .entry-content th, .entry-content td { padding: 10px 11px; }
}
