/* Budget Phones Under $300 — dark-tech theme, cyan accent #22d3ee */
:root {
  --bg: #0a101c;
  --bg2: #0f1830;
  --card: #111c33;
  --card-hover: #15233f;
  --text: #e8edf7;
  --muted: #9fb0c9;
  --accent: #22d3ee;
  --accent-dim: rgba(34, 211, 238, 0.14);
  --accent-line: rgba(34, 211, 238, 0.35);
  --border: #1f2c4a;
  --radius: 14px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  font-size: 17px;
}

.wrap { max-width: 860px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  background: linear-gradient(180deg, #0d1630 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
  padding: 22px 0 18px;
}
.brand {
  color: var(--accent);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
}
.brand:hover { text-decoration: underline; }
.tagline { color: var(--muted); margin: 4px 0 0; font-size: 0.95rem; }

/* Hero */
.hero {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(34, 211, 238, 0.16), transparent 70%),
    linear-gradient(180deg, var(--bg2), var(--bg));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 44px 32px;
  margin: 32px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero img.hero-img {
  width: 100%;
  max-height: 340px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--accent-line);
  margin-bottom: 24px;
}
.hero-kicker {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 700;
  margin: 0 0 10px;
}
.hero h1 {
  font-size: 2.4rem;
  line-height: 1.2;
  margin: 0 0 14px;
}
.hero p.lede { color: var(--muted); font-size: 1.08rem; max-width: 640px; margin: 0 auto 22px; }
.cta {
  display: inline-block;
  background: var(--accent);
  color: #062a33;
  font-weight: 700;
  padding: 12px 26px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(34, 211, 238, 0.35);
}

/* Article cards */
.posts { padding-bottom: 8px; }
.posts h2 {
  font-size: 1.4rem;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
  padding-bottom: 6px;
  margin: 10px 0 20px;
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin: 0 0 18px;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.card:hover {
  border-color: var(--accent-line);
  background: var(--card-hover);
  transform: translateY(-2px);
}
.card h3 { margin: 0 0 8px; font-size: 1.25rem; }
.card h3 a { color: var(--text); text-decoration: none; }
.card h3 a:hover { color: var(--accent); }
.card p { color: var(--muted); margin: 0; }
.card .card-thumb {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--border);
  margin-bottom: 14px;
}

/* Article pages */
.post { padding-top: 24px; }
.back { color: var(--accent); text-decoration: none; font-weight: 600; }
.back:hover { text-decoration: underline; }
.post h1 { font-size: 2rem; line-height: 1.3; margin: 14px 0 6px; }
.meta { color: var(--muted); font-size: 0.9rem; margin: 0 0 20px; }
.post img.post-hero {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--accent-line);
  margin: 6px 0 8px;
}
.post h2 { color: var(--accent); font-size: 1.45rem; margin: 34px 0 10px; }
.post h3 { font-size: 1.15rem; margin: 24px 0 8px; }
.post p { margin: 0 0 16px; }
.post ul, .post ol { margin: 0 0 18px; padding-left: 24px; }
.post li { margin-bottom: 8px; }
.post a { color: var(--accent); }
.post a:hover { text-decoration: underline; }

/* Callouts: "Our take" verdicts, checklists */
.take {
  background: var(--accent-dim);
  border: 1px solid var(--accent-line);
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  padding: 18px 22px;
  margin: 26px 0;
}
.take strong.take-label { color: var(--accent); text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.9rem; }
.checklist {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px 22px;
  margin: 22px 0;
}
.checklist h3 { margin-top: 0; color: var(--accent); font-size: 1.05rem; }
.checklist li { list-style: none; position: relative; }
.checklist li::before { content: "✓"; color: var(--accent); font-weight: 800; position: absolute; left: -22px; }
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 22px 0; }
.pros-cons .pros, .pros-cons .cons {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 20px;
}
.pros-cons h3 { margin: 0 0 8px; font-size: 1.05rem; }
.pros h3 { color: #4ade80; }
.cons h3 { color: #f87171; }
.pros-cons ul { margin: 0; padding-left: 20px; font-size: 0.96rem; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 48px;
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 0.92rem;
}
.site-footer p { margin: 0 0 10px; }
.site-footer a { color: var(--accent); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .ai-disclosure { font-size: 0.85em; opacity: 0.85; }
.site-footer .disclaimer { border-top: 1px dashed var(--border); padding-top: 14px; }
.footer-nav { margin-top: 14px; }

/* Responsive */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding: 30px 20px; margin: 20px 0; }
  .hero h1 { font-size: 1.8rem; }
  .post h1 { font-size: 1.55rem; }
  .pros-cons { grid-template-columns: 1fr; }
  .card .card-thumb { height: 150px; }
}
