/*
Theme Name: TechPulse
Theme URI: https://techpulse.com
Author: TechPulse Editorial
Author URI: https://techpulse.com
Description: A premium tech editorial WordPress theme with editorial components: bento specs, score bars, VS tables, pros/cons, and verdict blocks. Designed for long-form tech reviews and rumor roundups.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: techpulse
Tags: blog, technology, two-columns, custom-menu, featured-images, sticky-post, translation-ready
*/

/* ═══════════════════════════════════════
   DESIGN TOKENS
═══════════════════════════════════════ */

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

:root {
  --bg: #fafaf8;
  --bg-2: #f3f2ee;
  --bg-3: #ebebE6;
  --text: #18181a;
  --text-2: #5a5a62;
  --text-3: #9898a4;
  --border: rgba(0,0,0,0.08);
  --border-2: rgba(0,0,0,0.14);
  --purple-light: #EEEDFE;
  --purple-mid: #7F77DD;
  --purple-dark: #3C3489;
  --purple-text: #534AB7;
  --amber-light: #FAEEDA;
  --amber-mid: #EF9F27;
  --amber-dark: #633806;
  --green-light: #EAF3DE;
  --green-dark: #3B6D11;
  --red-light: #FCEBEB;
  --red-dark: #A32D2D;
  --teal-light: #E1F5EE;
  --teal-dark: #085041;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #131315;
    --bg-2: #1c1c1f;
    --bg-3: #252528;
    --text: #f0f0f2;
    --text-2: #a0a0ac;
    --text-3: #606068;
    --border: rgba(255,255,255,0.08);
    --border-2: rgba(255,255,255,0.14);
    --purple-light: #26215C;
    --purple-mid: #7F77DD;
    --purple-dark: #CECBF6;
    --purple-text: #AFA9EC;
    --amber-light: #3d2200;
    --amber-dark: #FAC775;
    --green-light: #173404;
    --green-dark: #C0DD97;
    --red-light: #350d0d;
    --red-dark: #F7C1C1;
    --teal-light: #04342C;
    --teal-dark: #9FE1CB;
  }
}

html { font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* ═══════════════════════════════════════
   SITE HEADER
═══════════════════════════════════════ */

.site-header {
  border-bottom: 0.5px solid var(--border);
  padding: 0 2rem;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 100;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.site-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo span { color: var(--purple-mid); }

/* WordPress nav menu override */
.header-nav,
.header-nav ul {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  margin-left: 1rem;
  padding: 0;
}

.header-nav li { position: relative; }

.header-nav a {
  font-size: 13px;
  color: var(--text-2);
  text-decoration: none;
  font-weight: 400;
  transition: color 0.15s;
  white-space: nowrap;
}

.header-nav a:hover { color: var(--text); }

/* Dropdown */
.header-nav ul ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg);
  border: 0.5px solid var(--border-2);
  border-radius: var(--radius-sm);
  padding: 6px 0;
  min-width: 160px;
  flex-direction: column;
  gap: 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  z-index: 200;
}

.header-nav li:hover > ul { display: flex; }

.header-nav ul ul a {
  display: block;
  padding: 7px 14px;
  font-size: 13px;
}

.header-nav ul ul a:hover { background: var(--bg-2); }

.header-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-subscribe {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 7px 16px;
  background: var(--text);
  color: var(--bg);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: opacity 0.15s;
  text-decoration: none;
  display: inline-block;
}

.btn-subscribe:hover { opacity: 0.82; }

/* ═══════════════════════════════════════
   PAGE LAYOUT
═══════════════════════════════════════ */

.page-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 4rem;
  align-items: start;
}

.article-main { min-width: 0; padding: 3rem 0 6rem; }

/* ═══════════════════════════════════════
   HOMEPAGE — POST GRID
═══════════════════════════════════════ */

.home-layout {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 2rem 6rem;
}

.home-header {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 0.5px solid var(--border);
}

.home-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.home-header p {
  font-size: 0.95rem;
  color: var(--text-2);
  font-weight: 300;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 3rem;
}

.post-card {
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s, transform 0.15s;
}

.post-card:hover {
  border-color: var(--border-2);
  transform: translateY(-2px);
}

.post-card-thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.post-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-card-thumb-placeholder {
  color: var(--text-3);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.post-card-body { padding: 1.1rem 1.2rem 1.4rem; flex: 1; display: flex; flex-direction: column; }

.post-card-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 0.65rem; }

.post-card-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
  margin-bottom: 0.6rem;
  display: block;
}

.post-card-title:hover { color: var(--purple-text); }

.post-card-excerpt {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.5;
  font-weight: 300;
  flex: 1;
  margin-bottom: 1rem;
}

.post-card-meta {
  font-size: 12px;
  color: var(--text-3);
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 0.75rem;
  border-top: 0.5px solid var(--border);
}

.post-card-author { font-weight: 400; color: var(--text-2); }

/* Featured post (first post) */
.post-card.featured {
  grid-column: span 2;
  flex-direction: row;
}

.post-card.featured .post-card-thumb {
  width: 42%;
  flex-shrink: 0;
  aspect-ratio: auto;
}

.post-card.featured .post-card-title { font-size: 1.3rem; }

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-top: 1rem;
}

.pagination .page-numbers {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 13px;
  border-radius: var(--radius-sm);
  border: 0.5px solid var(--border);
  color: var(--text-2);
  text-decoration: none;
  transition: all 0.15s;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

/* ═══════════════════════════════════════
   ARTICLE HERO
═══════════════════════════════════════ */

.badge-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.badge {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 99px;
  font-family: var(--font-display);
}

.badge-cat { background: var(--purple-light); color: var(--purple-text); }
.badge-new { background: var(--teal-light); color: var(--teal-dark); }
.badge-opinion { background: var(--amber-light); color: var(--amber-dark); }

.article-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  color: var(--text);
}

.article-subtitle {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--text-2);
  line-height: 1.55;
  margin-bottom: 1.5rem;
  max-width: 620px;
}

.meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  color: var(--text-3);
  padding: 12px 0;
  border-top: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.meta-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--purple-light);
  color: var(--purple-text);
  font-size: 11px;
  font-weight: 600;
  font-family: var(--font-display);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.meta-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.meta-author { color: var(--text-2); font-weight: 400; }
.meta-dot { opacity: 0.3; }
.meta-updated { color: var(--purple-mid); font-weight: 500; }

.reading-time {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ═══════════════════════════════════════
   HERO IMAGE
═══════════════════════════════════════ */

.hero-image {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2rem;
  background: var(--bg-3);
  aspect-ratio: 16/7;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-3);
}

.hero-image-placeholder svg { opacity: 0.3; }

.hero-image-placeholder span {
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-caption {
  font-size: 12px;
  color: var(--text-3);
  text-align: center;
  margin-top: -1.25rem;
  margin-bottom: 2rem;
}

/* ═══════════════════════════════════════
   BODY CONTENT
═══════════════════════════════════════ */

.section-label {
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin: 2.5rem 0 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-label::after {
  content: '';
  flex: 1;
  height: 0.5px;
  background: var(--border);
}

.tldr-block {
  border-left: 2.5px solid var(--purple-mid);
  padding: 1rem 1.25rem;
  background: var(--bg-2);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 2rem;
}

.tldr-label {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple-mid);
  margin-bottom: 5px;
}

.tldr-text {
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
}

.body-text {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 1.2rem;
}

.body-text strong { font-weight: 500; color: var(--text); }

.entry-content p {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 1.2rem;
  font-weight: 300;
}

.entry-content h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 2.5rem 0 0.75rem;
  color: var(--text);
}

.entry-content h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 1.75rem 0 0.5rem;
  color: var(--text);
}

.entry-content ul, .entry-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.2rem;
}

.entry-content li {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.entry-content a {
  color: var(--purple-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.entry-content blockquote {
  border-left: 2.5px solid var(--purple-mid);
  padding: 0.75rem 1.25rem;
  background: var(--bg-2);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.5rem 0;
}

.entry-content blockquote p {
  font-style: italic;
  color: var(--text-2);
  margin-bottom: 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 2.5rem 0 0.75rem;
  color: var(--text);
}

.divider {
  border: none;
  border-top: 0.5px solid var(--border);
  margin: 2.5rem 0;
}

/* ═══════════════════════════════════════
   BENTO SPECS GRID
═══════════════════════════════════════ */

.bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 2rem;
}

.bento-card {
  border: 0.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1.1rem;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bento-card.wide { grid-column: span 2; }

.bento-card.highlight {
  background: var(--purple-light);
  border-color: var(--purple-mid);
}

.bento-spec-name {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
  font-family: var(--font-display);
}

.bento-card.highlight .bento-spec-name { color: var(--purple-text); }

.bento-spec-value {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

.bento-card.highlight .bento-spec-value { color: var(--purple-dark); }

.bento-spec-sub {
  font-size: 11.5px;
  color: var(--text-3);
  line-height: 1.35;
}

.bento-card.highlight .bento-spec-sub { color: var(--purple-mid); }

.bento-rumor-tag {
  display: inline-block;
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 99px;
  margin-top: 3px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--amber-light);
  color: var(--amber-dark);
}

/* ═══════════════════════════════════════
   BEST FOR GRID
═══════════════════════════════════════ */

.best-for-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 2rem;
}

.best-for-card {
  border: 0.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 0.9rem;
  background: var(--bg);
  text-align: center;
}

.bf-emoji {
  font-size: 22px;
  display: block;
  margin-bottom: 7px;
  line-height: 1;
}

.bf-label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  display: block;
  margin-bottom: 4px;
}

.bf-desc {
  font-size: 11.5px;
  color: var(--text-2);
  line-height: 1.4;
}

/* ═══════════════════════════════════════
   NOT FOR / SKIP
═══════════════════════════════════════ */

.not-for {
  border: 0.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.1rem;
  background: var(--bg);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 2rem;
}

.not-for-icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; }

.not-for-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 3px;
}

.not-for-text { font-size: 13.5px; color: var(--text-2); line-height: 1.5; }

/* ═══════════════════════════════════════
   SCORE BARS
═══════════════════════════════════════ */

.score-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 2rem;
}

.score-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.score-name {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-2);
  width: 110px;
  flex-shrink: 0;
}

.score-bar-bg {
  flex: 1;
  height: 5px;
  border-radius: 99px;
  background: var(--bg-3);
  overflow: hidden;
}

.score-bar-fill {
  height: 100%;
  border-radius: 99px;
  background: var(--purple-mid);
  transition: width 0.6s ease;
}

.score-val {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  width: 42px;
  text-align: right;
  flex-shrink: 0;
}

.score-commentary {
  font-size: 11.5px;
  color: var(--text-3);
  margin-top: 2px;
}

/* ═══════════════════════════════════════
   VS TABLE
═══════════════════════════════════════ */

.vs-block {
  border: 0.5px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 2rem;
}

.vs-header {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  background: var(--bg-2);
  border-bottom: 0.5px solid var(--border);
}

.vs-name {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  padding: 12px 16px;
  color: var(--text);
}

.vs-name.right { text-align: right; }

.vs-center-header {
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 0.5px solid var(--border);
  border-right: 0.5px solid var(--border);
}

.vs-badge {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 4px 10px;
  background: var(--purple-light);
  color: var(--purple-text);
  border-radius: 99px;
}

.vs-row {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  border-bottom: 0.5px solid var(--border);
}

.vs-row:last-child { border-bottom: none; }

.vs-cell {
  font-size: 13px;
  padding: 10px 16px;
  color: var(--text);
  display: flex;
  align-items: center;
}

.vs-cell.right { justify-content: flex-end; }

.vs-cell.winner { font-weight: 500; color: var(--purple-text); }

.vs-label {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-3);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 6px;
  border-left: 0.5px solid var(--border);
  border-right: 0.5px solid var(--border);
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.3;
}

/* ═══════════════════════════════════════
   PROS & CONS
═══════════════════════════════════════ */

.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 2rem;
}

.pc-col {
  border: 0.5px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.pc-header {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 9px 14px;
  border-bottom: 0.5px solid var(--border);
}

.pc-header.pros { background: var(--green-light); color: var(--green-dark); }
.pc-header.cons { background: var(--red-light); color: var(--red-dark); }

.pc-item {
  font-size: 13px;
  padding: 8px 14px;
  border-bottom: 0.5px solid var(--border);
  color: var(--text);
  display: flex;
  gap: 8px;
  align-items: flex-start;
  line-height: 1.45;
}

.pc-item:last-child { border-bottom: none; }

.pc-dot { flex-shrink: 0; font-size: 16px; line-height: 1.2; }
.pc-dot.pro { color: var(--green-dark); }
.pc-dot.con { color: var(--red-dark); }

/* ═══════════════════════════════════════
   FINAL VERDICT
═══════════════════════════════════════ */

.final-verdict {
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2rem;
}

.fv-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.4rem;
  border-bottom: 0.5px solid var(--border);
  background: var(--bg-2);
}

.fv-left { display: flex; flex-direction: column; gap: 3px; }

.fv-title {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-3);
}

.fv-product {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.fv-score { display: flex; align-items: baseline; gap: 4px; }

.fv-number {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--purple-dark);
  line-height: 1;
}

.fv-denom { font-size: 1.1rem; font-weight: 300; color: var(--text-3); }

.fv-body {
  padding: 1.25rem 1.4rem;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-2);
}

.fv-verdict-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: 99px;
  margin-bottom: 10px;
}

.verdict-buy { background: var(--green-light); color: var(--green-dark); }
.verdict-wait { background: var(--amber-light); color: var(--amber-dark); }

/* ═══════════════════════════════════════
   OPINION CALLOUT
═══════════════════════════════════════ */

.opinion-block {
  border: 0.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.25rem;
  margin: 2rem 0;
  background: var(--bg-2);
}

.opinion-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.75rem;
}

.opinion-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--amber-light);
  color: var(--amber-dark);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.opinion-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}

.opinion-text {
  font-size: 14.5px;
  font-style: italic;
  line-height: 1.65;
  color: var(--text);
  border-left: 2px solid var(--amber-mid);
  padding-left: 1rem;
  margin: 0;
}

/* ═══════════════════════════════════════
   SIDEBAR
═══════════════════════════════════════ */

.sidebar {
  padding: 3rem 0 6rem;
  position: sticky;
  top: 72px;
}

.sidebar-section { margin-bottom: 2rem; }

.sidebar-title {
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 0.5px solid var(--border);
}

.toc-list { list-style: none; }

.toc-list li {
  font-size: 13px;
  padding: 5px 0;
  border-bottom: 0.5px solid var(--border);
  color: var(--text-2);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.1s;
}

.toc-list li:hover { color: var(--text); }
.toc-list li:last-child { border-bottom: none; }

.toc-num {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  color: var(--text-3);
  width: 16px;
  flex-shrink: 0;
}

.sidebar-card {
  border: 0.5px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1rem;
}

.related-item {
  padding: 0.85rem 1rem;
  border-bottom: 0.5px solid var(--border);
  transition: background 0.1s;
  display: block;
  text-decoration: none;
}

.related-item:last-child { border-bottom: none; }
.related-item:hover { background: var(--bg-2); }

.related-badge {
  font-size: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--purple-text);
  margin-bottom: 4px;
}

.related-title {
  font-size: 13px;
  font-weight: 400;
  color: var(--text);
  line-height: 1.4;
}

/* WordPress default sidebar widgets */
.widget { margin-bottom: 2rem; }
.widget-title {
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 0.5px solid var(--border);
}
.widget ul { list-style: none; }
.widget ul li {
  font-size: 13px;
  padding: 5px 0;
  border-bottom: 0.5px solid var(--border);
  color: var(--text-2);
}
.widget ul li:last-child { border-bottom: none; }
.widget ul li a { color: var(--text-2); text-decoration: none; }
.widget ul li a:hover { color: var(--text); }

/* ═══════════════════════════════════════
   NEWSLETTER BOX
═══════════════════════════════════════ */

.newsletter-box {
  border: 0.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.1rem;
  background: var(--purple-light);
}

.newsletter-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--purple-dark);
  margin-bottom: 5px;
}

.newsletter-desc {
  font-size: 12.5px;
  color: var(--purple-text);
  line-height: 1.45;
  margin-bottom: 12px;
}

.newsletter-input {
  width: 100%;
  padding: 8px 10px;
  border: 0.5px solid var(--purple-mid);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 13px;
  background: var(--bg);
  color: var(--text);
  margin-bottom: 8px;
  outline: none;
}

.newsletter-input:focus { border-color: var(--purple-dark); }

.newsletter-btn {
  width: 100%;
  padding: 9px;
  background: var(--purple-dark);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.15s;
}

.newsletter-btn:hover { opacity: 0.85; }

/* ═══════════════════════════════════════
   SITE FOOTER
═══════════════════════════════════════ */

.site-footer {
  border-top: 0.5px solid var(--border);
  padding: 3rem 2rem;
  margin-top: auto;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
}

.footer-brand {}

.footer-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 0.75rem;
}

.footer-logo span { color: var(--purple-mid); }

.footer-tagline {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.5;
  max-width: 220px;
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 1rem;
}

.footer-nav { list-style: none; }
.footer-nav li { margin-bottom: 0.5rem; }
.footer-nav a {
  font-size: 13px;
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-nav a:hover { color: var(--text); }

.footer-bottom {
  max-width: 1100px;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 0.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-copy {
  font-size: 12px;
  color: var(--text-3);
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer-links a {
  font-size: 12px;
  color: var(--text-3);
  text-decoration: none;
}

.footer-links a:hover { color: var(--text-2); }

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */

@media (max-width: 860px) {
  .page-wrapper {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0 1.25rem;
  }
  .sidebar { display: none; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento-card.wide { grid-column: span 2; }
  .best-for-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-header { padding: 0 1.25rem; }
  .header-nav { display: none; }
  .posts-grid { grid-template-columns: 1fr 1fr; }
  .post-card.featured { grid-column: span 2; flex-direction: column; }
  .post-card.featured .post-card-thumb { width: 100%; aspect-ratio: 16/9; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 600px) {
  .posts-grid { grid-template-columns: 1fr; }
  .post-card.featured { grid-column: span 1; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
}

@media (max-width: 500px) {
  .bento { grid-template-columns: 1fr; }
  .bento-card.wide { grid-column: span 1; }
  .best-for-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pros-cons { grid-template-columns: 1fr; }
  .vs-header, .vs-row { grid-template-columns: 1fr 60px 1fr; }
  .home-layout { padding: 2rem 1.25rem 4rem; }
}
