@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Roboto:ital,wght@0,300;0,400;0,500;0,700;1,400&display=swap');

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

:root {
  --bg: #f8f9fa;
  --white: #ffffff;
  --ink: #212529;
  --muted: #6c757d;
  --accent: #e74c3c;
  --accent-dark: #c0392b;
  --accent-light: #fdf2f1;
  --border: #dee2e6;
  --card-bg: #ffffff;
  --dark-bar: #1a1a2e;
  --dark-bar-text: #e8e8f0;
  --radius: 4px;
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-hover: 0 6px 20px rgba(0,0,0,0.14);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.75;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); text-decoration: underline; }

/* ── HEADER / NAV ── */
.site-header {
  background: var(--dark-bar);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.site-logo img {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  object-fit: cover;
}
.logo-text {
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}
.main-nav a {
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--dark-bar-text);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 6px 12px;
  border-radius: 3px;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}
.main-nav a:hover {
  background: rgba(255,255,255,0.12);
  color: #ffffff;
  text-decoration: none;
}

/* ── CATEGORY BAR ── */
.cat-bar {
  background: var(--accent);
  border-bottom: 2px solid var(--accent-dark);
}
.cat-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  gap: 0;
}
.cat-bar a {
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 8px 16px;
  display: block;
  text-decoration: none;
  transition: background 0.2s;
}
.cat-bar a:hover {
  background: rgba(0,0,0,0.15);
  color: #fff;
  text-decoration: none;
}

/* ── WRAPPER ── */
.page-wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ── HERO CARD (homepage) ── */
.hero-section { padding: 32px 0 24px; }
.hero-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.hero-img-wrap { position: relative; overflow: hidden; min-height: 340px; }
.hero-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.hero-label {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--accent);
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 2px;
}
.hero-body {
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-cat {
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 10px;
}
.hero-title {
  font-family: 'Oswald', sans-serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 14px;
}
.hero-excerpt {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 22px;
}
.hero-meta {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 20px;
}
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 11px 24px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
  align-self: flex-start;
}
.btn-primary:hover {
  background: var(--accent-dark);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}
.btn-outline {
  display: inline-block;
  border: 2px solid var(--accent);
  color: var(--accent);
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 9px 20px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: all 0.2s;
}
.btn-outline:hover {
  background: var(--accent);
  color: #fff;
  text-decoration: none;
}

/* ── SECTION HEADINGS ── */
.section-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 36px 0 20px;
}
.section-head h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--ink);
  white-space: nowrap;
}
.section-head::after {
  content: '';
  flex: 1;
  height: 2px;
  background: var(--border);
}

/* ── ARTICLE GRID ── */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.post-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.post-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}
.card-img-wrap { overflow: hidden; height: 200px; }
.card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.post-card:hover .card-img-wrap img { transform: scale(1.04); }
.card-body { padding: 18px 20px 22px; }
.card-cat {
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 8px;
}
.card-title {
  font-family: 'Oswald', sans-serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 10px;
}
.card-title a { color: inherit; text-decoration: none; }
.card-title a:hover { color: var(--accent); }
.card-excerpt { font-size: 13.5px; color: var(--muted); margin-bottom: 14px; line-height: 1.6; }
.card-meta { font-size: 11.5px; color: #adb5bd; }
.read-more {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}
.read-more:hover { color: var(--accent-dark); text-decoration: underline; }

/* ── ARTICLE PAGE LAYOUT ── */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 36px;
  padding: 36px 0 60px;
}
.article-main {}
.article-sidebar {}

/* Article header */
.article-header { margin-bottom: 28px; }
.article-header .post-cat {
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 10px;
}
.article-header h1 {
  font-family: 'Oswald', sans-serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 16px;
}
.article-byline {
  font-size: 13px;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  padding-bottom: 14px;
  margin-bottom: 20px;
}
.article-header-img {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 28px;
}
.article-header-img img { width: 100%; max-height: 420px; object-fit: cover; }

/* Disclosure box */
.disclosure-box {
  background: var(--accent-light);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-bottom: 26px;
  font-size: 13px;
  color: #666;
  line-height: 1.6;
}

/* Article body */
.article-body h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  margin: 32px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
}
.article-body h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin: 24px 0 10px;
}
.article-body p { margin-bottom: 18px; font-size: 16px; line-height: 1.8; }
.article-body ul, .article-body ol { margin: 0 0 18px 24px; }
.article-body li { margin-bottom: 8px; font-size: 15.5px; line-height: 1.7; }
.article-body .inline-img {
  border-radius: var(--radius);
  overflow: hidden;
  margin: 24px 0;
}
.article-body .inline-img img { width: 100%; max-height: 340px; object-fit: cover; }
.article-body .inline-img figcaption { font-size: 12px; color: var(--muted); padding: 6px 0 0; }

/* Star rating */
.star-rating { display: flex; align-items: center; gap: 8px; margin: 12px 0 18px; }
.stars { color: #f39c12; font-size: 20px; letter-spacing: 2px; }
.rating-text { font-size: 14px; color: var(--muted); }

/* Pros/cons */
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0; }
.pros, .cons {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow);
}
.pros { border-top: 3px solid #27ae60; }
.cons { border-top: 3px solid #e74c3c; }
.pros h4, .cons h4 {
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}
.pros h4 { color: #27ae60; }
.cons h4 { color: var(--accent); }
.pros ul, .cons ul { margin: 0; padding: 0; list-style: none; }
.pros li, .cons li { font-size: 14px; padding: 5px 0; border-bottom: 1px solid var(--border); }
.pros li:last-child, .cons li:last-child { border: none; }
.pros li::before { content: "✓ "; color: #27ae60; font-weight: bold; }
.cons li::before { content: "✗ "; color: var(--accent); font-weight: bold; }

/* CTA box */
.cta-box {
  background: linear-gradient(135deg, var(--dark-bar) 0%, #2d2d44 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 28px 32px;
  text-align: center;
  margin: 32px 0;
}
.cta-box h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}
.cta-box p { font-size: 14px; color: rgba(255,255,255,0.75); margin-bottom: 20px; }
.btn-cta {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 13px 32px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.2s;
}
.btn-cta:hover { background: var(--accent-dark); color: #fff; text-decoration: none; }

/* Sidebar */
.sidebar-widget {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  margin-bottom: 24px;
}
.widget-title {
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--ink);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 10px;
  margin-bottom: 16px;
}
.sidebar-about-img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--bg);
  margin: 0 auto 12px;
  overflow: hidden;
}
.sidebar-about-img img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-about p { font-size: 13px; color: var(--muted); text-align: center; line-height: 1.6; }
.sidebar-about strong { display: block; font-size: 14px; color: var(--ink); margin-bottom: 4px; text-align: center; }
.related-list { list-style: none; }
.related-list li { padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 13.5px; }
.related-list li:last-child { border: none; }
.related-list a { color: var(--ink); font-weight: 500; }
.related-list a:hover { color: var(--accent); text-decoration: none; }

/* Was this helpful */
.helpful-box {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  text-align: center;
  margin-top: 36px;
}
.helpful-box p { font-size: 15px; font-weight: 500; margin-bottom: 14px; }
.helpful-btns { display: flex; justify-content: center; gap: 12px; }
.helpful-btns button {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 22px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}
.helpful-btns button:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ── FOOTER ── */
.site-footer {
  background: var(--dark-bar);
  color: var(--dark-bar-text);
  margin-top: 40px;
}
.footer-top {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 30px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
}
.footer-brand .logo-text { font-size: 20px; margin-bottom: 12px; display: block; }
.footer-brand p { font-size: 13px; color: rgba(232,232,240,0.65); line-height: 1.7; }
.footer-col h4 {
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { font-size: 13px; color: rgba(232,232,240,0.6); text-decoration: none; }
.footer-col a:hover { color: #fff; text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 16px 20px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(232,232,240,0.45);
}

/* ── ABOUT / LEGAL PAGES ── */
.static-layout { max-width: 860px; margin: 0 auto; padding: 40px 20px 60px; }
.static-layout h1 {
  font-family: 'Oswald', sans-serif;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
}
.static-layout .page-sub { font-size: 15px; color: var(--muted); margin-bottom: 30px; border-bottom: 1px solid var(--border); padding-bottom: 20px; }
.static-layout h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 20px;
  font-weight: 600;
  margin: 28px 0 10px;
}
.static-layout p { font-size: 15px; line-height: 1.8; margin-bottom: 16px; color: #444; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero-card { grid-template-columns: 1fr; }
  .hero-img-wrap { min-height: 240px; }
  .article-grid { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .article-grid { grid-template-columns: 1fr; }
  .pros-cons { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .hero-body { padding: 24px 20px; }
  .hero-title { font-size: 22px; }
  .main-nav { gap: 2px; }
  .main-nav a { padding: 6px 8px; font-size: 11px; }
}
