/* theme.css — TopListPick review layout (Poppins, blue/green/orange palette) */

:root {
  --text: #1C1F23;
  --text-2: #464646;
  --muted: #656C77;
  --blue: #0059B8;
  --navy: #0D336D;
  --green: #1DA859;
  --green-dark: #4A8A24;
  --green-bg: #F2F7EE;
  --red: #BD1A1A;
  --red-line: #C22B2B;
  --red-bg: #FFF3F3;
  --orange: #FF5A00;
  --star: #FAAD00;
  --track: #DFDFDF;
  --line: #E4E6EA;
  --page-grey: #F3F3F3;
  --topbar: #CADCF0;
  --footer-bg: #F8FBFF;
  --card-shadow: 0 0 10px rgba(0, 0, 0, 0.12);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
a { color: var(--blue); }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4 { line-height: 1.3; margin: 0; }
p { margin: 0 0 16px; }

/* ---------- top bar + header ---------- */
.top-bar {
  background: var(--topbar);
  color: var(--navy);
  font-size: 12px;
  text-align: center;
  padding: 6px 16px;
}
.site-header {
  max-width: 1140px;
  margin: 0 auto;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
.logo {
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.5px;
  color: var(--blue);
  text-decoration: none;
  line-height: 1;
}
.logo span { color: var(--green); }
.nav-links { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; }
.nav-links a { color: #2E343D; text-decoration: none; font-size: 13px; }
.nav-links a:hover { color: var(--blue); }
.mobile-menu-btn {
  display: none;
  background: #fff;
  border: 0;
  font-size: 24px;
  color: #2E343D;
  cursor: pointer;
}
.header-rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ---------- article hero (white) ---------- */
.hero { max-width: 740px; margin: 0 auto; padding: 40px 20px 36px; }
.breadcrumb { font-size: 12px; color: var(--muted); margin-bottom: 14px; text-align: center; }
.breadcrumb a { color: var(--blue); text-decoration: none; }
.article-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 28px;
}
.author-row { display: flex; gap: 14px; align-items: flex-start; max-width: 520px; margin: 0 0 14px; }
.team-avatar {
  width: 56px; height: 56px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  display: flex; align-items: center; justify-content: center;
}
.author-name { font-size: 13px; text-decoration: underline; margin-bottom: 4px; }
.author-bio { font-size: 13px; color: var(--text-2); line-height: 1.6; }
.author-bio a { color: var(--blue); }
.updated { font-size: 12px; color: var(--muted); margin-top: 4px; }

.share { display: flex; gap: 8px; margin: 10px 0 24px; }
.share-btn {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: #E9E9E9;
  color: var(--text);
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none;
}
.share-btn svg { width: 15px; height: 15px; fill: currentColor; }
.share-btn:hover { background: #dcdcdc; }

.disclosure-box {
  font-size: 13px;
  color: var(--text-2);
  background: #F7F9FC;
  border-left: 3px solid var(--blue);
  padding: 10px 14px;
  margin: 0 0 24px;
}
.intro p { font-size: 16px; }
.short-rule { width: 140px; border: 0; border-top: 1px solid #999; margin: 40px 0 0; }

/* ---------- grey body with cards ---------- */
.grey-section { background: var(--page-grey); padding: 64px 20px; }
.grey-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 760px) 1fr;
  gap: 40px;
  align-items: start;
}
.side { position: sticky; top: 24px; }
.side .share { flex-direction: row; margin: 0; }
.card {
  background: #fff;
  border-radius: 10px;
  box-shadow: var(--card-shadow);
  padding: 36px 30px;
  margin-bottom: 30px;
}
.card-title { font-size: 24px; font-weight: 700; }
.card-rule { width: 130px; border: 0; border-top: 1px solid #555; margin: 12px 0 28px; }

.quick-picks ol { margin: 0; padding-left: 22px; line-height: 2; font-size: 15px; }
.quick-picks a { color: var(--blue); font-weight: 700; text-decoration: none; }

.criteria-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 20px; }
.criteria-item { text-align: center; }
.check-icon { width: 30px; height: 30px; color: var(--blue); margin: 0 auto 10px; display: block; }
.criteria-item h4 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.criteria-item p { font-size: 13px; color: var(--text-2); line-height: 1.6; margin: 0; }

/* product card */
.pick-badge {
  display: block;
  border: 1px solid var(--blue);
  border-radius: 4px;
  color: var(--blue);
  font-weight: 700;
  font-size: 15px;
  text-align: center;
  text-transform: uppercase;
  padding: 7px 10px;
  margin-bottom: 34px;
}
.product-top { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
.product-visual { text-align: center; }
.product-ph {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  min-height: 210px;
  border-radius: 8px;
  background: linear-gradient(160deg, #F7FAFF 0%, #E8F0FB 100%);
  text-decoration: none;
  padding: 18px;
}
.ph-brand { font-size: 26px; font-weight: 800; color: var(--navy); letter-spacing: -0.5px; }
.ph-link { font-size: 12px; font-weight: 600; color: var(--blue); }
.product-name { font-size: 26px; font-weight: 700; margin: 18px 0 4px; line-height: 1.15; }
.product-name a { color: var(--text); text-decoration: none; }
.product-from { font-size: 14px; color: var(--text); }

.rating-box { padding: 0 6px; }
.rating-label { font-size: 20px; font-weight: 700; text-align: center; }
.rating-score { font-size: 36px; font-weight: 700; text-align: center; line-height: 1.2; }
.stars { color: var(--star); text-align: center; font-size: 20px; letter-spacing: 2px; margin-bottom: 12px; }
.progress-item { margin-bottom: 9px; }
.progress-label { font-size: 13px; line-height: 18px; }
.progress-bar-track { background: var(--track); border-radius: 6px; height: 13px; overflow: hidden; }
.progress-bar-fill {
  background: var(--green);
  height: 100%;
  border-radius: 6px;
  width: 0;
  transition: width 1s ease;
  display: flex; align-items: center;
}
.progress-percent { color: #fff; font-size: 9px; padding-left: 8px; font-weight: 600; }

.card-divider { border: 0; border-top: 1px solid #888; margin: 30px 0; }
.section-label { text-align: center; font-size: 17px; font-weight: 700; text-transform: uppercase; margin-bottom: 18px; }
.analysis-text p { font-size: 15px; line-height: 1.7; }
.analysis-text strong { font-weight: 700; }

.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 8px 0 0; }
.spec-table caption { text-align: left; font-weight: 700; font-size: 15px; padding-bottom: 8px; }
.spec-table th, .spec-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 42%; font-weight: 600; color: var(--text-2); }
.spec-table tr:nth-child(odd) td, .spec-table tr:nth-child(odd) th { background: #FAFBFC; }

.pros-title { color: var(--green); font-weight: 700; font-size: 17px; margin-bottom: 6px; }
.cons-title { color: var(--red); font-weight: 700; font-size: 17px; margin: 16px 0 6px; }
.pc-list { list-style: none; margin: 0; padding: 0; }
.pc-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; padding: 5px 0; }
.pc-list svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; }
.pros-list svg { color: var(--green); }
.cons-list svg { color: var(--red); }

.cta-wrapper { text-align: center; margin-top: 26px; }
.cta-button {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  text-decoration: none;
  padding: 12px 56px;
  border-radius: 2px;
  transition: background 0.2s;
}
.cta-button:hover { background: #E04F00; }
.cta-button-large { padding: 14px 52px; font-weight: 600; }

/* ---------- white bottom section ---------- */
.after { max-width: 760px; margin: 0 auto; padding: 56px 20px 40px; }
.after-left { max-width: 760px; }
.h2-q { font-size: 22px; font-weight: 700; margin: 0 0 18px; display: flex; gap: 8px; align-items: center; }
.h2-q .q { color: var(--red); }
.table-scroll { overflow-x: auto; margin-bottom: 40px; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 520px; }
.compare-table th { background: var(--navy); color: #fff; text-align: left; padding: 10px 12px; font-weight: 600; }
.compare-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); }
.compare-table tr:nth-child(even) td { background: #F7F9FC; }
.compare-table a { color: var(--blue); font-weight: 700; text-decoration: none; }

.box { border-radius: 6px; padding: 20px 22px; margin-bottom: 22px; border: 1px solid; }
.box-green { background: var(--green-bg); border-color: var(--green-dark); }
.box-red { background: var(--red-bg); border-color: var(--red-line); }
.box h3 { font-size: 17px; font-weight: 700; margin-bottom: 14px; }
.icon-list { list-style: none; margin: 0; padding: 0; }
.icon-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.6; margin-bottom: 12px; }
.icon-list li:last-child { margin-bottom: 0; }
.icon-list svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 2px; }
.box-green svg { color: #23C233; }
.box-red svg { color: #E43939; }

.faq-block { margin: 40px 0; }
.faq-item { margin-bottom: 22px; }
.faq-item h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.faq-item p { font-size: 15px; color: var(--text); margin: 0; }

.verdict p { font-size: 15px; }
.bottom-cta { text-align: center; margin: 34px 0 48px; }

.author-card {
  border: 1px solid #555;
  border-radius: 6px;
  padding: 28px 30px;
  text-align: center;
  max-width: 760px;
}
.author-card .team-avatar { margin: 0 auto 12px; width: 72px; height: 72px; font-size: 22px; }
.author-card .author-name { margin-bottom: 8px; }
.author-card .author-bio { max-width: 460px; margin: 0 auto; }

/* ---------- footer ---------- */
.site-footer { background: var(--footer-bg); padding: 48px 20px 56px; text-align: center; margin-top: 40px; }
.footer-links { list-style: none; padding: 0; margin: 0 0 22px; display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; }
.footer-links a { color: var(--text); text-decoration: none; font-size: 12px; }
.footer-logo { margin-bottom: 20px; }
.footer-note, .footer-copyright { font-size: 12px; color: var(--muted); max-width: 620px; margin: 0 auto 12px; line-height: 1.6; }

/* ---------- home + info pages ---------- */
.home-hero { max-width: 760px; margin: 0 auto; padding: 48px 20px 8px; text-align: center; }
.home-hero h1 { font-size: 36px; font-weight: 700; margin-bottom: 12px; }
.home-hero p { color: var(--text-2); font-size: 16px; margin: 0 auto 20px; max-width: 620px; }
.home-hero .disclosure-box { text-align: left; }
.cat-title { font-size: 22px; font-weight: 700; margin: 8px 0 18px; }
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; margin-bottom: 44px; }
.review-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: var(--card-shadow);
  padding: 22px;
  display: flex; flex-direction: column; gap: 8px;
  text-decoration: none; color: var(--text);
  transition: transform 0.2s, box-shadow 0.2s;
}
.review-card:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14); }
.rc-cat { font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--green); }
.rc-title { font-size: 16px; font-weight: 700; line-height: 1.4; }
.rc-desc { font-size: 13px; color: var(--text-2); line-height: 1.6; }
.rc-top { margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--line); font-size: 12px; color: var(--muted); }
.rc-top strong { color: var(--blue); }
.home-grey .grey-inner { display: block; max-width: 1000px; }

.info-page { max-width: 760px; margin: 0 auto; padding: 44px 20px 20px; }
.info-page .article-title { font-size: 32px !important; }
.info-page h2 { font-size: 20px !important; margin: 28px 0 12px !important; }
.info-page p { font-size: 15px; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .grey-inner { grid-template-columns: 1fr; }
  .side { display: none; }
}
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #EFEFEF; border-top: 1px solid #D2D2D2;
    flex-direction: column; gap: 0; z-index: 10;
  }
  .nav-links.active { display: flex; }
  .nav-links a { display: block; padding: 12px 20px; }
  .mobile-menu-btn { display: block; }
  .article-title, .home-hero h1 { font-size: 28px; }
  .hero { padding-top: 28px; }
  .grey-section { padding: 36px 12px; }
  .card { padding: 26px 18px; }
  .criteria-grid { grid-template-columns: 1fr; gap: 22px; }
  .criteria-item { text-align: left; display: flex; gap: 12px; }
  .criteria-item .check-icon { margin: 0; flex-shrink: 0; }
  .product-top { grid-template-columns: 1fr; gap: 22px; }
  .product-ph { min-height: 150px; }
  .cta-button { padding: 12px 34px; }
}
.home-hero p.disclosure-box { font-size: 13px; }
