/* UI-10: Modern Blog
   Palette: white bg + soft pink sections #fdf2f8, text #1a1a1a,
            rose gold accent #d4a373, border #fce7f3
   Type: Poppins headings, Inter body (Google Fonts)
   Layout: single column max 760px + right sidebar 300px
   Cards: rounded 20px + soft shadow + pink border
   Rating: conic-gradient ring (rating/5)
   Hover: transform animations; Sidebar: subscribe + popular posts
   CTA: rose gold button */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg: #ffffff;
  --bg-pink: #fdf2f8;
  --surface: #ffffff;
  --surface-muted: #fdf2f8;
  --text: #1a1a1a;
  --text-muted: #6b6b6b;
  --border: #fce7f3;
  --border-strong: #f9d3e6;
  --accent: #d4a373;
  --accent-dark: #b8865a;
  --accent-soft: #fef3ec;
  --pink: #ec4899;
  --pink-soft: #fce7f3;
  --font-display: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --maxw: 760px;
  --maxw-wide: 1140px;
  --sidebar: 300px;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 4px 20px rgba(212, 163, 115, 0.10);
  --shadow-lg: 0 12px 36px rgba(212, 163, 115, 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-dark); text-decoration: none; }
a:hover { color: var(--accent); text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
  letter-spacing: -0.01em;
}

/* Navigation */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 20px 28px;
  max-width: var(--maxw-wide);
  margin: 0 auto;
  border-bottom: 1px solid var(--border);
}
.nav-brand {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}
.nav-links { display: flex; flex-wrap: wrap; gap: 20px; }
.nav-links a {
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a.active { color: var(--accent-dark); border-bottom: 2px solid var(--accent); }

/* Container */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.container-wide { max-width: var(--maxw-wide); margin: 0 auto; padding: 0 28px; }

/* Two-column layout: content + sidebar */
.layout-2col {
  display: grid;
  grid-template-columns: 1fr var(--sidebar);
  gap: 48px;
  max-width: var(--maxw-wide);
  margin: 0 auto;
  padding: 40px 28px;
  align-items: start;
}

/* Hero */
.hero { padding: 56px 0 40px; text-align: center; background: var(--bg-pink); border-bottom: 1px solid var(--border); }
.hero-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.hero h1 { font-size: 44px; margin: 0 0 16px; font-weight: 800; }
.hero .lead { font-family: var(--font-body); font-size: 19px; color: var(--text-muted); margin: 0 auto; max-width: 600px; }

/* Section heading */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 40px 0 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.section-head h2 { font-size: 26px; margin: 0; font-weight: 700; }
.section-head a { font-family: var(--font-body); font-size: 14px; font-weight: 500; }

/* Card grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.card-list { display: flex; flex-direction: column; gap: 24px; }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-thumb {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--surface-muted);
}
.card-body { padding: 22px 24px 26px; }
.card-body h3 { font-size: 20px; margin: 0 0 8px; font-weight: 700; }
.card-body h3 a { color: var(--text); }
.card-body h3 a:hover { color: var(--accent-dark); text-decoration: none; }
.card-body .card-meta {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--accent-dark);
  margin: 0 0 12px;
  font-weight: 500;
}
.card-body p { margin: 0 0 16px; color: var(--text); font-size: 15px; }
.card-body .card-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
}

/* Rating ring (conic-gradient) */
.rating-ring {
  --pct: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: conic-gradient(var(--accent) calc(var(--pct) * 1%), var(--border-strong) 0);
  position: relative;
  vertical-align: middle;
}
.rating-ring::before {
  content: "";
  position: absolute;
  inset: 5px;
  background: var(--surface);
  border-radius: 50%;
}
.rating-ring .rating-value {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}
.rating-ring-wrap { display: inline-flex; align-items: center; gap: 10px; }
.rating-ring-wrap .rating-label { font-family: var(--font-body); font-size: 13px; color: var(--text-muted); }

/* Badges */
.badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  color: #ffffff;
  background: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  padding: 3px 10px;
  border-radius: 999px;
}

/* CTA: rose gold button */
.cta-button {
  display: inline-block;
  padding: 12px 26px;
  background: var(--accent);
  color: #ffffff !important;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  letter-spacing: 0.02em;
  border: 1px solid var(--accent);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 14px rgba(212, 163, 115, 0.3);
}
.cta-button:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 163, 115, 0.4);
}

/* Sidebar */
.sidebar { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 28px; }
.sidebar-widget {
  background: var(--bg-pink);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.sidebar-widget h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--text);
}
.subscribe-form { display: flex; flex-direction: column; gap: 12px; }
.subscribe-form p { font-size: 14px; color: var(--text-muted); margin: 0 0 4px; }
.subscribe-form input[type="email"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14px;
  background: var(--surface);
  color: var(--text);
}
.subscribe-form input[type="email"]:focus { outline: none; border-color: var(--accent); }
.subscribe-form button {
  padding: 12px 18px;
  background: var(--accent);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}
.subscribe-form button:hover { background: var(--accent-dark); }
.popular-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.popular-list li { display: flex; gap: 12px; align-items: flex-start; }
.popular-list .pop-thumb {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--surface-muted);
  flex-shrink: 0;
}
.popular-list .pop-title {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  margin: 0;
}
.popular-list .pop-title:hover { color: var(--accent-dark); text-decoration: none; }
.popular-list .pop-meta { font-size: 12px; color: var(--text-muted); margin: 2px 0 0; }

/* Article page */
.article-page { padding: 40px 0 56px; }
.article-header { margin-bottom: 28px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.article-header .category-tag {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--accent-dark);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  display: block;
  font-weight: 600;
}
.article-header h1 { font-size: 38px; margin: 0 0 16px; font-weight: 800; }
.article-header .article-meta { font-family: var(--font-body); font-size: 14px; color: var(--text-muted); display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.article-hero-img { width: 100%; max-height: 420px; object-fit: cover; margin: 24px 0; border-radius: var(--radius); box-shadow: var(--shadow); }
.article-disclosure {
  background: var(--bg-pink);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  padding: 16px 20px;
  font-family: var(--font-body);
  font-size: 14px;
  margin: 24px 0;
  color: var(--text);
  border-radius: var(--radius-sm);
}
.article-content { font-size: 17px; line-height: 1.75; }
.article-content h2 { font-size: 26px; margin: 36px 0 12px; font-weight: 700; }
.article-content h3 { font-size: 20px; margin: 28px 0 10px; font-weight: 600; }
.article-content p { margin: 0 0 20px; }
.article-content ul, .article-content ol { margin: 0 0 20px; padding-left: 22px; }
.article-content li { margin-bottom: 8px; }
.article-content blockquote {
  border-left: 4px solid var(--accent);
  margin: 28px 0;
  padding: 12px 0 12px 20px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  color: var(--text-muted);
  background: var(--bg-pink);
  border-radius: var(--radius-sm);
}
.article-content table { width: 100%; border-collapse: collapse; margin: 24px 0; font-family: var(--font-body); font-size: 14px; background: var(--surface); border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow); }
.article-content th, .article-content td { border-bottom: 1px solid var(--border); padding: 12px 14px; text-align: left; }
.article-content th { font-family: var(--font-display); font-weight: 600; color: var(--text); background: var(--bg-pink); }
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 24px 0; }
.pros-cons h3 { font-size: 16px; }
.pros-cons > div { background: var(--bg-pink); padding: 18px 20px; border-radius: var(--radius-sm); }
.scorecard { margin: 24px 0; }
.scorecard table { font-size: 14px; }
.scorecard td:last-child { text-align: right; font-weight: 700; color: var(--accent-dark); }

/* Category page */
.category-page { padding: 40px 0 56px; }
.category-page h1 { font-size: 34px; margin: 0 0 10px; font-weight: 800; }
.category-page .lead { color: var(--text-muted); margin: 0 0 28px; font-size: 17px; }

/* Legal pages — pink elegant blog */
.legal-page { padding: 40px 0 56px; }
.legal-page h1 { font-size: 34px; margin: 0 0 18px; font-weight: 800; }
.legal-page h2 { font-size: 22px; margin: 32px 0 12px; font-weight: 700; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.legal-page h3 { font-size: 17px; margin: 22px 0 8px; font-weight: 600; }
.legal-page p, .legal-page ul, .legal-page ol { margin: 0 0 14px; }
.legal-page ul, .legal-page ol { padding-left: 22px; }
.legal-page li { margin-bottom: 6px; }
.legal-page .lead { font-size: 17px; color: var(--text-muted); }
.legal-page .contact-email { font-size: 18px; font-family: var(--font-display); font-weight: 600; color: var(--accent-dark); }
.legal-page .disclosure-callout {
  background: var(--bg-pink);
  padding: 18px 22px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  margin: 20px 0;
  border-left: 4px solid var(--accent);
  color: var(--text);
}
.legal-revision { color: var(--text-muted); font-size: 13px; margin-top: 32px; }

/* Footer */
.site-footer {
  background: var(--bg-pink);
  border-top: 1px solid var(--border);
  margin-top: 56px;
  padding: 44px 28px 28px;
}
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; max-width: var(--maxw-wide); margin: 0 auto 24px; }
.footer-grid h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 14px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: var(--text); font-family: var(--font-body); font-size: 14px; }
.footer-grid a:hover { color: var(--accent-dark); }
.footer-grid .affiliate-disclosure { font-size: 12px; color: var(--text-muted); line-height: 1.6; margin: 0; font-family: var(--font-body); }
.footer-bottom {
  max-width: var(--maxw-wide);
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid var(--border-strong);
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}

.affiliate-disclosure { font-size: 12px; color: var(--text-muted); line-height: 1.6; font-family: var(--font-body); }

/* Responsive */
@media (max-width: 900px) {
  .layout-2col { grid-template-columns: 1fr; gap: 32px; }
  .sidebar { position: static; flex-direction: row; flex-wrap: wrap; }
  .sidebar-widget { flex: 1 1 280px; }
}
@media (max-width: 640px) {
  .card-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 30px; }
  .article-header h1 { font-size: 28px; }
  .category-page h1, .legal-page h1 { font-size: 26px; }
  .pros-cons { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .sidebar { flex-direction: column; }
  body { font-size: 15px; }
}
