/* ============================================================
   GP Base — main.css (v1.0.0)
   Design system: dark-first news utility. Tokens from approved
   mockups 006/007. Accent overridable via Customizer
   (--gp-accent injected inline from functions.php).
   ============================================================ */

/* ===== 1. Tokens ===== */
:root {
  --gp-accent: #f97316;
  --gp-accent-dark: #ea580c;
  --gp-accent-soft: rgba(249, 115, 22, .14);
  --gp-radius: 10px;
  --gp-radius-sm: 6px;
  --gp-maxw: 1280px;
  --font-display: "Space Grotesk", "Segoe UI", sans-serif;
  --font-body: "Manrope", -apple-system, "Segoe UI", sans-serif;
}
html[data-theme="dark"] {
  --bg: #0d1117; --card: #161b22; --fg: #e6edf3; --muted: #8b949e;
  --line: #21262d; --ink: #010409; --soft: #1c2129; --shadow: rgba(0,0,0,.5);
  --pill-bg: rgba(255,255,255,.06);
  --pros: #3fb950; --cons: #f85149; --track: #21262d;
  --hero-overlay: rgba(1,4,9,.72);
}
html[data-theme="light"] {
  --bg: #f4f5f7; --card: #ffffff; --fg: #16181d; --muted: #5b6472;
  --line: #e2e5ea; --ink: #16181d; --soft: #eef0f3; --shadow: rgba(22,24,29,.1);
  --pill-bg: rgba(22,24,29,.05);
  --pros: #1a7f37; --cons: #cf222e; --track: #e5e7eb;
  --hero-overlay: rgba(255,255,255,.25);
}
/* Light-mode accent on buttons keeps dark text for AA */
html[data-theme="light"] .btn-primary,
html[data-theme="light"] .lead .cat,
html[data-theme="light"] .tabs button.active,
html[data-theme="light"] .pill.reviews,
html[data-theme="light"] .newsletter button { color: #fff; }

/* ===== 2. Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body); background: var(--bg); color: var(--fg);
  line-height: 1.55; -webkit-font-smoothing: antialiased;
  transition: background .2s, color .2s; margin: 0;
}
h1, h2, h3, h4, .logo, .big { font-family: var(--font-display); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
.wrap { max-width: var(--gp-maxw); margin: 0 auto; padding: 0 20px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
:focus-visible { outline: 2px solid var(--gp-accent); outline-offset: 2px; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 9999; }
.skip-link:focus { left: 0; }

/* ===== 3. Top bar / ticker ===== */
.topbar { background: var(--ink); color: #a7b0bc; font-size: 12.5px; }
.topbar-inner { display: flex; align-items: center; gap: 16px; height: 36px; overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent); }
.topbar .label { background: var(--gp-accent); color: #fff; font-weight: 800; text-transform: uppercase; font-size: 10.5px; letter-spacing: .08em; padding: 3px 10px; border-radius: 4px; white-space: nowrap; font-family: var(--font-display); }
.ticker { display: flex; gap: 40px; overflow: hidden; white-space: nowrap; }
.ticker ul { display: flex; gap: 40px; margin: 0; padding: 0; list-style: none; animation: tick 30s linear infinite; }
.ticker li a { color: #a7b0bc; }
.ticker li a:hover { color: #fff; }
@keyframes tick { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.topbar .right { margin-left: auto; white-space: nowrap; }
.topbar .right a { color: #a7b0bc; padding: 0 8px; }
.topbar .right a:hover { color: #fff; }

/* ===== 4. Header ===== */
header.site { background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; backdrop-filter: blur(10px); }
.header-inner { display: flex; align-items: center; gap: 22px; height: 72px; }
.logo { font-weight: 700; font-size: 21px; letter-spacing: -.02em; display: flex; align-items: center; gap: 9px; }
.logo img { max-height: 44px; width: auto; }
.logo .box { background: linear-gradient(135deg, var(--gp-accent), var(--gp-accent-dark)); color: #fff; padding: 5px 11px; border-radius: 8px; font-size: 14px; font-weight: 700; box-shadow: 0 4px 14px rgba(249,115,22,.35); }
nav.main { display: flex; gap: 2px; margin-left: auto; }
nav.main ul { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
nav.main a { font-size: 14px; font-weight: 600; color: var(--muted); padding: 8px 13px; border-radius: 8px; display: block; }
nav.main a:hover, nav.main .current-menu-item > a { color: var(--fg); background: var(--soft); }
nav.main .current-menu-item > a { color: var(--gp-accent); }
.header-actions { display: flex; gap: 9px; align-items: center; }
.icon-btn { width: 40px; height: 40px; border-radius: 9px; border: 1px solid var(--line); background: var(--card); cursor: pointer; display: grid; place-items: center; color: var(--muted); font-size: 16px; }
.icon-btn:hover { border-color: var(--gp-accent); color: var(--gp-accent); }
.burger { display: none; }
.mobile-menu { display: none; flex-direction: column; padding: 10px 20px 16px; border-top: 1px solid var(--line); background: var(--card); }
.mobile-menu.open { display: flex; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu a { display: block; padding: 12px 0; font-weight: 600; border-bottom: 1px solid var(--line); }
.mobile-menu li:last-child a { border-bottom: none; }
.mobile-menu .sub-menu a { padding-left: 16px; font-size: 14px; color: var(--muted); }
.header-search { display: none; position: absolute; left: 0; right: 0; top: 72px; background: var(--card); border-bottom: 1px solid var(--line); padding: 14px 20px; }
.header-search.open { display: block; }
.header-search .search-form { max-width: var(--gp-maxw); margin: 0 auto; display: flex; gap: 10px; }

/* ===== 5. Category pills ===== */
.pill { display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-display); font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; padding: 3px 9px; border-radius: 999px; background: var(--pill-bg); color: var(--muted); border: 1px solid var(--line); }
.pill.reviews { background: var(--gp-accent); border-color: var(--gp-accent); color: #fff; }
.pill.news { color: #58a6ff; border-color: rgba(88,166,255,.35); background: rgba(88,166,255,.1); }
.pill.editorial { color: #d2a8ff; border-color: rgba(210,168,255,.35); background: rgba(210,168,255,.1); }
.pill.guides { color: #3fb950; border-color: rgba(63,185,80,.35); background: rgba(63,185,80,.1); }
.pill.score { color: #fff; }

/* ===== 6. Category tabs ===== */
.tabs { display: flex; gap: 8px; padding: 18px 0 6px; flex-wrap: wrap; }
.tabs a, .tabs button { font: inherit; font-size: 13.5px; font-weight: 600; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--muted); cursor: pointer; }
.tabs a:hover, .tabs button:hover { border-color: var(--gp-accent); color: var(--gp-accent); }
.tabs a.active, .tabs button.active { background: var(--gp-accent); border-color: var(--gp-accent); color: #fff; }

/* ===== 7. Layout ===== */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; padding: 16px 0 10px; align-items: start; }
.main-col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.sidebar { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 94px; min-width: 0; }

/* ===== 8. Lead story ===== */
.lead { display: grid; grid-template-columns: 1.3fr 1fr; background: var(--card); border: 1px solid var(--line); border-radius: var(--gp-radius); overflow: hidden; transition: box-shadow .15s ease; }
.lead:hover { box-shadow: 0 10px 30px var(--shadow); }
.lead .img { min-height: 300px; position: relative; background: var(--soft); }
.lead .img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lead .img .shade { position: absolute; inset: 0; background: linear-gradient(90deg, var(--hero-overlay) 0%, transparent 70%); }
.lead .img .label { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-weight: 500; }
.lead .body { padding: 28px; display: flex; flex-direction: column; justify-content: center; position: relative; }
.lead .body .pill { align-self: flex-start; margin-bottom: 14px; }
.lead h2 { font-size: 30px; font-weight: 700; line-height: 1.16; letter-spacing: -.015em; margin-bottom: 12px; }
.lead h2 a:hover { color: var(--gp-accent); }
.lead p { color: var(--muted); font-size: 14.5px; margin-bottom: 16px; max-width: 46ch; }
.lead .meta { font-size: 12.5px; color: var(--muted); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.lead .meta .sep { color: #3d444d; }
.lead .by { color: var(--fg); font-weight: 600; }

/* ===== 11b. Lead carousel ===== */
.lead-carousel { position: relative; }
.lead-carousel .lead-slides { display: grid; border-radius: var(--gp-radius); }
.lead-carousel .lead-slide { grid-area: 1 / 1; min-width: 0; opacity: 0; visibility: hidden; transition: opacity .5s ease; }
.lead-carousel .lead-slide.active { opacity: 1; visibility: visible; position: relative; z-index: 1; }
.lead-carousel .car-arrow { position: absolute; top: 45%; transform: translateY(-50%); z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(0,0,0,.45); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; display: grid; place-items: center; backdrop-filter: blur(4px); transition: background .15s ease; }
.lead-carousel .car-arrow:hover { background: rgba(0,0,0,.7); }
.lead-carousel .car-arrow.prev { left: 12px; }
.lead-carousel .car-arrow.next { right: 12px; }
.lead-carousel .car-dots { display: flex; gap: 8px; justify-content: center; margin-top: 12px; }
.lead-carousel .car-dot { width: 9px; height: 9px; border-radius: 999px; border: none; background: var(--line); cursor: pointer; padding: 0; transition: width .2s ease, background .2s ease; }
.lead-carousel .car-dot.active { width: 26px; background: var(--gp-accent); }

/* ===== 9. Trending strip ===== */
.trending-strip { display: flex; align-items: center; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--gp-radius); padding: 10px 16px; overflow: hidden; }
.trending-strip .t { font-family: var(--font-display); font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--gp-accent); white-space: nowrap; }
.trending-strip .items { display: flex; gap: 24px; overflow: hidden; white-space: nowrap; }
.trending-strip .items a { font-size: 13px; color: var(--muted); }
.trending-strip .items a:hover { color: var(--fg); }

/* ===== 10. Section header ===== */
.sec { display: flex; align-items: center; gap: 10px; margin: 8px 0 2px; }
.sec h3 { font-size: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-family: var(--font-display); margin: 0; }
.sec::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.sec .more { font-size: 12px; font-weight: 600; color: var(--muted); }
.sec .more:hover { color: var(--gp-accent); }

/* ===== 11. Cards / feed grid ===== */
.news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.item { background: var(--card); border: 1px solid var(--line); border-radius: var(--gp-radius); overflow: hidden; display: flex; flex-direction: column; transition: border-color .15s ease, transform .15s ease; }
.item:hover { border-color: var(--gp-accent); transform: translateY(-2px); }
.item .thumb { height: 130px; background: var(--soft); position: relative; display: block; }
.item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.item .thumb .pill { position: absolute; top: 10px; left: 10px; z-index: 2; }
.item .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.item .body .meta { font-size: 12px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.item h3 { font-size: 16.5px; font-weight: 600; line-height: 1.3; letter-spacing: -.005em; margin: 0; }
.item h3 a:hover { color: var(--gp-accent); }
.item p { font-size: 13.5px; color: var(--muted); line-height: 1.5; margin: 0; }

/* Archive rows */
.row { display: grid; grid-template-columns: 56px 1fr auto; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); align-items: start; }
.row .num { font-family: var(--font-display); font-size: 28px; font-weight: 800; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px #3a3a3a; line-height: 1; padding-top: 4px; }
.row .num.hot { -webkit-text-stroke: 1px var(--gp-accent); }
.row .info { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.row .info h2 { font-size: 22px; font-weight: 600; letter-spacing: -.03em; line-height: 1.15; margin: 0; }
.row .info h2 a:hover { color: var(--gp-accent); }
.row .meta2 { font-size: 12px; color: var(--muted); display: flex; gap: 12px; flex-wrap: wrap; }
.row .score { font-family: var(--font-display); font-size: 24px; font-weight: 800; letter-spacing: -.04em; color: var(--gp-accent); padding-top: 2px; }

/* ===== 12. Sidebar widgets ===== */
.widget { background: var(--card); border: 1px solid var(--line); border-radius: var(--gp-radius); padding: 18px; }
.widget h4, .widget .widget-title { font-family: var(--font-display); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 12px; display: flex; align-items: center; gap: 8px; }
.widget h4::after, .widget .widget-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.rank { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.rank:last-child { border-bottom: none; padding-bottom: 0; }
.rank .n { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: #3d444d; line-height: 1.1; width: 22px; flex-shrink: 0; }
.rank .n.top { color: var(--gp-accent); }
.rank .t { font-size: 13.5px; font-weight: 600; line-height: 1.35; }
.rank .t a:hover { color: var(--gp-accent); }
.rank .d { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.lrev { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.lrev:last-child { border-bottom: none; padding-bottom: 0; }
.lrev .th { width: 72px; height: 48px; border-radius: var(--gp-radius-sm); background: var(--soft); flex-shrink: 0; overflow: hidden; }
.lrev .th img { width: 100%; height: 100%; object-fit: cover; }
.lrev .info { display: flex; flex-direction: column; gap: 3px; }
.lrev .t { font-size: 13px; font-weight: 600; line-height: 1.3; }
.lrev .t a:hover { color: var(--gp-accent); }
.lrev .score { font-family: var(--font-display); font-size: 12px; font-weight: 700; color: var(--gp-accent); }
.newsletter { background: linear-gradient(150deg, var(--card), var(--soft)); border: 1px solid var(--line); border-radius: var(--gp-radius); padding: 18px; }
.newsletter h4 { font-family: var(--font-display); font-size: 14px; font-weight: 700; margin: 0 0 6px; }
.newsletter p { font-size: 12.5px; color: var(--muted); margin: 0 0 12px; }
.newsletter input, .newsletter .email-input { width: 100%; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--card); color: var(--fg); font: inherit; font-size: 13px; margin-bottom: 8px; }
.newsletter button { width: 100%; padding: 10px; border-radius: 8px; border: none; background: var(--gp-accent); color: #fff; font: inherit; font-weight: 700; font-size: 13.5px; cursor: pointer; }
.newsletter button:hover { background: var(--gp-accent-dark); }

/* ===== 13. Ad slots ===== */
.gp-ad-slot { position: relative; }
.gp-ad-slot .ad-label { position: absolute; top: 4px; left: 50%; transform: translateX(-50%); font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--card); padding: 0 6px; border-radius: 3px; z-index: 1; }
.gp-ad-slot .ad-box { border-top: 1px solid var(--line); min-height: 90px; display: grid; place-items: center; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.gp-ad-slot .ad-box { text-align: center; }
.gp-ad-slot .ad-box img { max-width: 100%; height: auto; display: inline-block; }
.sidebar .gp-ad-slot .ad-box:empty { border: 1px dashed var(--line); border-radius: var(--gp-radius); background: var(--soft); min-height: 200px; }

/* ===== 14. Footer ===== */
footer.site { background: var(--ink); color: #a7b0bc; margin-top: 20px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 30px; padding: 40px 20px 30px; max-width: var(--gp-maxw); margin: 0 auto; }
.footer-inner h5, .footer-inner .widget-title { color: #fff; font-family: var(--font-display); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 14px; }
.footer-inner .widget { background: transparent; border: none; padding: 0; border-radius: 0; }
.footer-inner a { display: block; font-size: 13.5px; padding: 4px 0; color: #a7b0bc; }
.footer-inner a:hover { color: #fff; }
.footer-inner .brand p { font-size: 13px; margin: 10px 0 0; max-width: 34ch; }
.footer-inner ul { list-style: none; margin: 0; padding: 0; }
.socials { display: flex; gap: 8px; margin-top: 14px; }
.socials a { width: 36px; height: 36px; border-radius: 8px; border: 1px solid #2a313c; display: grid; place-items: center; font-size: 15px; padding: 0; }
.socials a:hover { border-color: var(--gp-accent); color: var(--gp-accent); }
.copyright { border-top: 1px solid #1c2129; text-align: center; font-size: 12px; padding: 16px; color: #5b6472; }

/* ===== 15. Article ===== */
.crumbs { font-size: 12.5px; color: var(--muted); padding: 18px 0 6px; display: flex; gap: 6px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--gp-accent); }
.crumbs .sep { color: #3d444d; }
.article-head { max-width: 760px; }
.article-head .pill { margin-bottom: 12px; }
.article-head h1 { font-size: 38px; font-weight: 700; line-height: 1.14; letter-spacing: -.02em; margin: 0 0 16px; }
.author-row { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--gp-accent), #8b5cf6); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; color: #fff; font-size: 15px; flex-shrink: 0; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-row .who { font-size: 13.5px; }
.author-row .who .name { font-weight: 700; color: var(--fg); }
.author-row .who .role { color: var(--muted); font-size: 12.5px; }
.author-row .sep { color: #3d444d; font-size: 13px; }
.author-row .meta { font-size: 13px; color: var(--muted); }
.share-row { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 2px; }
.share-btn { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 8px; border: 1px solid var(--line); background: var(--card); color: var(--fg); font-size: 13px; font-weight: 600; cursor: pointer; font-family: var(--font-body); }
.share-btn:hover { border-color: var(--gp-accent); color: var(--gp-accent); }
.share-btn .ic { font-size: 15px; }
.topics { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.topics .t { font-size: 12.5px; font-weight: 600; color: var(--muted); padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--soft); }
.topics .t:hover { color: var(--gp-accent); border-color: var(--gp-accent); }
.topics .lbl { font-family: var(--font-display); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--gp-accent); align-self: center; }
.hero-img { border-radius: var(--gp-radius); overflow: hidden; border: 1px solid var(--line); position: relative; margin-bottom: 8px; }
.hero-img img { width: 100%; display: block; }
.hero-img .zoom { position: absolute; right: 14px; bottom: 14px; background: rgba(1,4,9,.65); color: #fff; font-size: 12px; padding: 6px 10px; border-radius: 6px; }
.caption { font-size: 12px; color: var(--muted); text-align: center; padding-bottom: 26px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 760px) 300px; gap: 40px; justify-content: center; align-items: start; }
.content { min-width: 0; font-size: 17px; line-height: 1.75; }
.content p { margin-bottom: 20px; color: var(--fg); }
.content p.lead-p { font-size: 19px; color: var(--muted); line-height: 1.6; }
.content h2 { font-size: 26px; font-weight: 700; margin: 34px 0 14px; letter-spacing: -.01em; scroll-margin-top: 88px; }
.content h2::before { content: ""; display: block; width: 34px; height: 4px; border-radius: 2px; background: var(--gp-accent); margin-bottom: 12px; }
.content h3 { font-size: 20px; font-weight: 700; margin: 26px 0 12px; scroll-margin-top: 88px; }
.content img, .content .wp-block-image img { width: 100%; height: auto; border-radius: var(--gp-radius); border: 1px solid var(--line); margin: 6px 0; }
.content figure { margin: 24px 0; }
.content figcaption, .content .wp-element-caption { font-size: 12px; color: var(--muted); text-align: center; margin-top: 4px; }
.content blockquote { border-left: 4px solid var(--gp-accent); background: var(--soft); padding: 16px 20px; border-radius: 0 8px 8px 0; margin: 24px 0; font-size: 18px; font-style: italic; color: var(--fg); }
.content ul, .content ol { margin: 0 0 20px 22px; }
.content li { margin-bottom: 8px; }
.content a { color: var(--gp-accent); font-weight: 600; }
.content a:hover { text-decoration: underline; }
.content .wp-caption { max-width: 100%; }
.content .alignleft { float: left; margin: 4px 20px 16px 0; max-width: 50%; }
.content .alignright { float: right; margin: 4px 0 16px 20px; max-width: 50%; }
.content .aligncenter { display: block; margin-left: auto; margin-right: auto; }
.content table:not(.cmp):not(.lets-review-criteria-table) { border-collapse: collapse; width: 100%; font-size: 14px; margin: 20px 0; }
.content table:not(.cmp):not(.lets-review-criteria-table) th, .content table:not(.cmp):not(.lets-review-criteria-table) td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; }

/* Comparison table */
.cmp-wrap { border: 1px solid var(--line); border-radius: var(--gp-radius); overflow: hidden; margin: 26px 0; }
.cmp-wrap .cmp-title { background: var(--ink); color: #fff; padding: 12px 16px; font-family: var(--font-display); font-size: 14px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; }
.cmp-wrap .cmp-title .note { font-size: 11px; color: #8b949e; font-family: var(--font-body); font-weight: 500; }
.cmp-scroll { overflow-x: auto; }
table.cmp { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
table.cmp th { text-align: left; font-family: var(--font-display); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--card); }
table.cmp td { padding: 12px 16px; border-bottom: 1px solid var(--line); }
table.cmp tr:last-child td { border-bottom: none; }
table.cmp tr.win td { background: rgba(249,115,22,.07); }
table.cmp td.feat { color: var(--muted); font-weight: 600; }
table.cmp td .hl { color: var(--gp-accent); font-weight: 700; }

/* Let's Review restyle — theme tokens over plugin classes */
.lets-review-api-wrap, .lr-review-box, .lets-review-block__wrap {
  border: 1px solid var(--line) !important; border-radius: var(--gp-radius) !important;
  background: var(--card) !important; box-shadow: none !important; margin: 30px 0 !important;
  color: var(--fg) !important;
}
.lets-review-api-wrap .score-overlay, .lets-review-api-score-box .score-overlay,
.lets-review-api-wrap .score, .lets-review-api-score-box .score {
  color: var(--gp-accent) !important; font-family: var(--font-display) !important;
}
.lets-review-api-wrap .cb-bar, .lets-review-block__wrap .cb-bar { background: var(--track) !important; }
.lets-review-api-wrap .cb-bar span, .lets-review-block__wrap .cb-bar span { background: var(--gp-accent) !important; }
.lets-review-api-wrap .lets-review__up, .lets-review-block__wrap .lets-review__up { color: var(--pros) !important; }
.lets-review-api-wrap .lets-review__down, .lets-review-block__wrap .lets-review__down { color: var(--cons) !important; }
.lets-review-api-wrap .lets-review-subtitle, .lets-review-block__wrap .lets-review-subtitle { color: var(--muted) !important; }
.lets-review-api-wrap .cb-review-ext-box, .lets-review-block__wrap .cb-review-ext-box { background: transparent !important; color: var(--fg) !important; }

/* Pros/cons from Rehub wpsm shortcodes (compat) */
.gp-pros, .gp-cons { border: 1px solid var(--line); border-radius: var(--gp-radius); padding: 16px 20px; margin: 20px 0; background: var(--card); }
.gp-pros { border-top: 3px solid var(--pros); }
.gp-cons { border-top: 3px solid var(--cons); }
.gp-pros > .title, .gp-cons > .title { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 12px; margin-bottom: 10px; }
.gp-pros ul, .gp-cons ul { list-style: none; margin: 0 0 0 2px; }
.gp-pros li { padding-left: 22px; position: relative; }
.gp-pros li::before { content: "✓"; position: absolute; left: 0; color: var(--pros); font-weight: 700; }
.gp-cons li { padding-left: 22px; position: relative; }
.gp-cons li::before { content: "✕"; position: absolute; left: 0; color: var(--cons); font-weight: 700; }

/* ===== 16. Rail / TOC ===== */
.rail { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.toc { background: var(--card); border: 1px solid var(--line); border-radius: var(--gp-radius); padding: 18px; }
.toc h4 { font-family: var(--font-display); font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 12px; }
.toc ul { list-style: none; margin: 0; padding: 0; }
.toc a { display: block; font-size: 13px; color: var(--muted); padding: 6px 0 6px 12px; border-left: 2px solid var(--line); line-height: 1.4; }
.toc a:hover { color: var(--fg); }
.toc a.active { color: var(--gp-accent); border-left-color: var(--gp-accent); font-weight: 600; }
.toc .sub { padding-left: 24px; font-size: 12.5px; }
.rail .gp-ad-slot .ad-box:empty { min-height: 250px; border: 1px dashed var(--line); border-radius: var(--gp-radius); background: var(--soft); }

/* ===== 17. Author box + related ===== */
.author-card { display: flex; gap: 16px; border: 1px solid var(--line); border-radius: var(--gp-radius); padding: 20px; margin: 30px 0; background: var(--card); }
.author-card .avatar { width: 56px; height: 56px; font-size: 19px; }
.author-card .info h4 { font-size: 16px; font-weight: 700; margin: 0 0 2px; }
.author-card .info .role { font-size: 12.5px; color: var(--muted); margin-bottom: 8px; }
.author-card .info p { font-size: 13.5px; color: var(--muted); line-height: 1.6; margin: 0 0 8px; }
.author-card .info .more { font-size: 12.5px; color: var(--gp-accent); font-weight: 700; }
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 20px 0 10px; }
.rel { background: var(--card); border: 1px solid var(--line); border-radius: var(--gp-radius); overflow: hidden; }
.rel:hover { border-color: var(--gp-accent); }
.rel .th { height: 90px; background: var(--soft); }
.rel .th img { width: 100%; height: 100%; object-fit: cover; }
.rel .b { padding: 12px 14px; }
.rel .b .t { font-size: 13.5px; font-weight: 600; line-height: 1.35; }
.rel .b .t a:hover { color: var(--gp-accent); }
.rel .b .m { font-size: 11.5px; color: var(--muted); margin-top: 5px; }

/* ===== 18. Trending grid ===== */
.trending-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 6px 0 40px; }
.tg { background: var(--card); border: 1px solid var(--line); border-radius: var(--gp-radius); padding: 14px; position: relative; }
.tg .num { font-family: var(--font-display); font-size: 30px; font-weight: 700; color: transparent; -webkit-text-stroke: 1px #3d444d; line-height: 1; margin-bottom: 8px; }
.tg .num.hot { -webkit-text-stroke: 1px var(--gp-accent); }
.tg .t { font-size: 13.5px; font-weight: 600; line-height: 1.35; }
.tg .t a:hover { color: var(--gp-accent); }
.tg .m { font-size: 11.5px; color: var(--muted); margin-top: 6px; }

/* ===== 19. Buttons ===== */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 9px; font-weight: 700; font-size: 14px; cursor: pointer; border: none; font-family: var(--font-body); }
.btn.primary { background: var(--gp-accent); color: #fff; }
.btn.primary:hover { background: var(--gp-accent-dark); }
.btn.ghost { background: transparent; border: 1px solid var(--line); color: var(--fg); }
.btn.ghost:hover { border-color: var(--gp-accent); color: var(--gp-accent); }

/* ===== 20. Comments ===== */
.comments-wrap { max-width: 760px; margin: 40px auto 0; }
.comments-wrap h3 { font-size: 20px; font-weight: 700; margin-bottom: 16px; }
.comment-list { list-style: none; margin: 0; padding: 0; }
.comment-list .comment-body { background: var(--card); border: 1px solid var(--line); border-radius: var(--gp-radius); padding: 16px; margin-bottom: 12px; }
.comment-list .comment-author { font-weight: 600; }
.comment-list .comment-metadata { font-size: 12px; color: var(--muted); }
.comment-list .reply a { font-size: 12.5px; color: var(--gp-accent); font-weight: 700; }
.comment-form label { display: block; font-size: 13px; font-weight: 600; margin: 10px 0 4px; }
.comment-form input, .comment-form textarea { width: 100%; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--card); color: var(--fg); font: inherit; font-size: 14px; }
.comment-form .submit { background: var(--gp-accent); color: #fff; border: none; font-weight: 700; cursor: pointer; width: auto; padding: 10px 24px; }
.comment-form .submit:hover { background: var(--gp-accent-dark); }

/* ===== 21. Pages / archives / search ===== */
.page-head { padding: 24px 0 8px; }
.page-head h1 { font-size: 34px; font-weight: 700; letter-spacing: -.02em; margin: 0; }
.page-head .desc { color: var(--muted); margin-top: 6px; }
.single-content, .page-content { max-width: 760px; margin: 0 auto; }
.archive-grid, .search-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; padding: 20px 0; }
.pagination { display: flex; gap: 8px; justify-content: center; padding: 24px 0 40px; }
.pagination .page-numbers { padding: 8px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); color: var(--muted); font-weight: 600; }
.pagination .page-numbers.current { background: var(--gp-accent); border-color: var(--gp-accent); color: #fff; }
.pagination a.page-numbers:hover { border-color: var(--gp-accent); color: var(--gp-accent); }
.search-form { display: flex; gap: 10px; }
.search-form input[type="search"] { flex: 1; padding: 12px 14px; border-radius: 9px; border: 1px solid var(--line); background: var(--card); color: var(--fg); font: inherit; font-size: 15px; }
.search-form button { padding: 12px 20px; border-radius: 9px; border: none; background: var(--gp-accent); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }

/* ===== 22. 404 ===== */
.notfound { text-align: center; padding: 80px 20px; }
.notfound .big { font-size: 96px; font-weight: 800; color: var(--gp-accent); line-height: 1; }
.notfound h1 { font-size: 28px; margin: 12px 0; }

/* ===== 23. Responsive ===== */
@media (max-width: 1024px) {
  .layout { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
  .newsletter, .sidebar .widget:last-child { grid-column: 1 / -1; }
  .trending-grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: minmax(0, 760px); }
  .rail { position: static; order: 2; flex-direction: column; }
  .toc { flex: none; }
}
@media (max-width: 760px) {
  nav.main { display: none; }
  .burger { display: grid; }
  .lead { grid-template-columns: 1fr; }
  .lead .img { min-height: 220px; }
  .lead h2 { font-size: 24px; }
  .news-grid, .archive-grid, .search-grid { grid-template-columns: 1fr; }
  .sidebar { display: flex; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .trending-grid { grid-template-columns: 1fr 1fr; }
  .topbar .right { display: none; }
  .article-head h1 { font-size: 28px; }
  .hero-img .zoom { display: none; }
  .related { grid-template-columns: 1fr; }
  .row { grid-template-columns: 40px 1fr; gap: 16px; }
  .row .score { grid-column: 2; font-size: 22px; }
  .author-card { flex-wrap: wrap; }
}
@media (max-width: 480px) {
  .trending-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .header-inner { gap: 12px; }
  .logo { font-size: 18px; }
  .share-btn { padding: 8px 10px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker ul { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
