/* ============================================================
   Daily Gadget Reviews — Pre-lander stylesheet
   ============================================================ */

@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/inter-400.0aee0038.woff2') format('woff2')}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/inter-500.26c9d3e9.woff2') format('woff2')}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/inter-600.0c51b797.woff2') format('woff2')}
@font-face{font-family:'Inter';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/inter-700.5a9db1ad.woff2') format('woff2')}
@font-face{font-family:'Inter';font-style:normal;font-weight:800;font-display:swap;src:url('../fonts/inter-800.3f65eea5.woff2') format('woff2')}

:root {
  --blue:    #0170b9;
  --blue-dk: #0155a0;
  --red:     #e02020;
  --green:   #0f9f58;
  --green-dk:#08733e;
  --ink:     #1a1a2e;
  --body:    #374151;
  --muted:   #6b7280;
  --line:    #e5e7eb;
  --paper:   #ffffff;
  --bg:      #f3f4f6;
  --gold:    #fffbeb;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.68;
}

a { color: var(--blue); }

img { display: block; height: auto; max-width: 100%; }

/* ── Top bar ── */
.topbar {
  background: var(--ink);
  color: #9ca3af;
  font-size: 12px;
  letter-spacing: .04em;
  padding: 6px 0;
  text-align: center;
}

/* ── Header ── */
.site-header {
  background: #fff;
  border-bottom: 3px solid var(--blue);
  padding: 14px 0;
}

.site-header .inner {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-logo {
  color: var(--ink);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  text-decoration: none;
}

.site-logo span { color: var(--blue); }

.header-date {
  color: var(--muted);
  font-size: 13px;
}

/* ── Breadcrumb ── */
.breadcrumb-bar {
  background: #fff;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  padding: 8px 0;
}

.breadcrumb-bar .inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  color: var(--muted);
}

.breadcrumb-bar a { color: var(--muted); text-decoration: none; }
.breadcrumb-bar a:hover { color: var(--blue); }

/* ── Main layout ── */
.page-wrap {
  max-width: 900px;
  margin: 32px auto 60px;
  padding: 0 20px;
}

/* ── Article card ── */
.article-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: 0 4px 24px rgba(0,0,0,.07);
  overflow: hidden;
}

.article-body {
  padding: 36px 48px 44px;
}

/* ── Category label ── */
.cat-label {
  background: var(--red);
  border-radius: 3px;
  color: #fff;
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  margin-bottom: 14px;
  padding: 4px 10px;
  text-transform: uppercase;
}

/* ── Headline ── */
h1.post-title {
  color: var(--ink);
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.8px;
  line-height: 1.18;
  margin: 0 0 16px;
}

/* ── Byline ── */
.byline {
  align-items: center;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  gap: 6px 16px;
  margin-bottom: 28px;
  padding-bottom: 18px;
}

.byline .author { color: var(--blue); font-weight: 600; }

.byline .stars { color: #f59e0b; letter-spacing: 2px; }

/* ── Hero image ── */
.hero-img {
  margin-bottom: 28px;
  width: 100%;
}

.hero-img img { border-radius: 3px; width: 100%; }

/* ── Body text ── */
.post-text p {
  font-size: 17px;
  line-height: 1.72;
  margin: 0 0 20px;
}

.post-text strong { color: var(--ink); }

.post-text h2 {
  color: var(--ink);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.3px;
  margin: 36px 0 14px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

/* ── Inline image (no border) ── */
.inline-img {
  margin: 4px 0 28px;
  width: 100%;
}

.inline-img img { border-radius: 3px; width: 100%; }

/* ── Highlight box ── */
.highlight-box {
  background: #eff6ff;
  border-left: 4px solid var(--blue);
  border-radius: 0 4px 4px 0;
  margin: 28px 0;
  padding: 18px 22px;
}

.highlight-box p {
  font-size: 16px !important;
  margin: 0 !important;
  color: #1e3a5f;
}

/* ── Checklist ── */
.check-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}

.check-list li {
  align-items: flex-start;
  display: flex;
  font-size: 16px;
  gap: 10px;
  margin-bottom: 12px;
}

.check-list li::before {
  color: var(--green);
  content: "✓";
  flex-shrink: 0;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.4;
}

/* ── Alert / Editor note ── */
.alert-box {
  background: var(--gold);
  border: 1px solid #fcd34d;
  border-radius: 4px;
  color: #78350f;
  font-size: 14px;
  margin: 28px 0;
  padding: 14px 18px;
}

/* ── CTA product card ── */
.cta-card {
  align-items: center;
  background: #f0fdf4;
  border: 2px solid #86efac;
  border-radius: 8px;
  display: grid;
  gap: 24px;
  grid-template-columns: 160px 1fr;
  margin: 36px 0 28px;
  padding: 28px;
  text-align: center;
}

.cta-product-img {
  align-items: center;
  background: #fff;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  min-height: 160px;
  padding: 14px;
}

.cta-product-img img { max-width: 120px; }

.cta-product-name {
  color: var(--ink);
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 6px;
}

.cta-price {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 18px;
}

.cta-price-old {
  color: var(--muted);
  margin-right: 8px;
  text-decoration: line-through;
}

.cta-price-new { color: var(--green); }

.cta-btn {
  background: var(--green);
  border-radius: 5px;
  box-shadow: 0 4px 0 var(--green-dk);
  color: #fff;
  display: block;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.25;
  padding: 16px 20px;
  text-decoration: none;
  transition: background .15s, transform .1s;
}

.cta-btn:hover {
  background: #0b8a4c;
  color: #fff;
  transform: translateY(-1px);
}

.cta-btn:active { transform: translateY(1px); box-shadow: 0 2px 0 var(--green-dk); }

.cta-payment {
  color: #44614f;
  font-size: 13px;
  margin-top: 12px;
}

/* ── Inline CTA (mid-article) ── */
.inline-cta {
  margin: 32px 0;
  text-align: center;
}

.inline-cta a {
  background: var(--green);
  border-radius: 5px;
  box-shadow: 0 4px 0 var(--green-dk);
  color: #fff;
  display: inline-block;
  font-size: 18px;
  font-weight: 800;
  padding: 16px 32px;
  text-decoration: none;
  transition: background .15s;
}

.inline-cta a:hover { background: #0b8a4c; color: #fff; }

.inline-cta small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 8px;
}

/* ── Rating stars row ── */
.rating-row {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  display: grid;
  gap: 0;
  grid-template-columns: repeat(4, 1fr);
  margin: 28px 0;
  overflow: hidden;
  text-align: center;
}

.rating-cell {
  border-right: 1px solid var(--line);
  padding: 14px 10px;
}

.rating-cell:last-child { border-right: none; }

.rating-cell .score {
  color: var(--ink);
  font-size: 22px;
  font-weight: 800;
}

.rating-cell .label {
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}

.rating-cell .stars { color: #f59e0b; font-size: 14px; }

/* ── Comments ── */
.comments-section {
  border-top: 2px solid var(--line);
  margin-top: 40px;
  padding-top: 30px;
}

.comments-title {
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 22px;
}

.comment {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.comment:last-child { border-bottom: none; }

.comment-header {
  align-items: center;
  display: flex;
  gap: 10px;
  margin-bottom: 8px;
}

.comment-avatar {
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  flex-shrink: 0;
  height: 46px;
  object-fit: cover;
  width: 46px;
}

.comment-meta { flex: 1; }
.comment-name  { color: var(--ink); font-size: 14px; font-weight: 700; }
.comment-date  { color: var(--muted); font-size: 12px; }
.comment-stars { color: #f59e0b; font-size: 13px; }

.comment-body {
  color: #374151;
  font-size: 15px;
  line-height: 1.6;
  padding-left: 48px;
}

/* ── Footer ── */
.site-footer {
  background: var(--ink);
  color: #6b7280;
  font-size: 12px;
  line-height: 1.7;
  margin-top: 60px;
  padding: 28px 0;
  text-align: center;
}

.site-footer a { color: #9ca3af; }

/* ── Responsive ── */
@media (max-width: 640px) {
  .article-body { padding: 22px 18px 28px; }

  h1.post-title { font-size: 24px; }

  .cta-card {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .rating-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .rating-cell:nth-child(2) { border-right: none; }

  .comment-body { padding-left: 0; }
}

.cp-disclaimer{border-top:1px solid #e3e3e3;background:#fafafa}
.cp-disclaimer .cp-in{max-width:920px;margin:0 auto;padding:18px 20px}
.cp-disclaimer p{font-size:11.5px;line-height:1.6;color:#888;font-family:Arial,Helvetica,sans-serif}
.cp-footer{background:#13202b;color:#9fb3c0}
.cp-footer .cp-in{max-width:920px;margin:0 auto;padding:24px 20px;text-align:center}
.cp-footer p{font-size:12px;color:#b9c9d4;margin:0 0 6px;font-family:Arial,Helvetica,sans-serif}
.cp-footer__co{font-size:11px;opacity:.7}
.cp-footer__links{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px 16px;margin-top:12px}
.cp-footer__links a{color:#5fd0a0;font-size:13px;text-decoration:none;font-family:Arial,Helvetica,sans-serif}
.cp-footer__links a:hover{text-decoration:underline}
