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

/* === Base === */
body {
  font-family: 'Lora', Georgia, 'Times New Roman', serif;
  font-size: 18px;
  line-height: 1.8;
  color: #292929;
  background: #f8f7f5;
  -webkit-font-smoothing: antialiased;
}

/* === Header === */
header {
  border-bottom: 1px solid #e8e4de;
  background: #fffffe;
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 1.1em;
  font-weight: 700;
  color: #111;
  text-decoration: none;
  letter-spacing: -0.02em;
}
.logo:hover { color: #111; }
header nav a {
  font-family: 'Inter', sans-serif;
  font-size: 0.8em;
  color: #666;
  text-decoration: none;
  font-weight: 500;
}
header nav a:hover { color: #111; }

/* === Main === */
main {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px 60px;
  min-height: 80vh;
}

/* === Breadcrumb === */
.breadcrumb {
  font-family: 'Inter', sans-serif;
  font-size: 0.75em;
  color: #999;
  padding: 20px 0 8px;
  letter-spacing: 0.02em;
}
.breadcrumb a { color: #999; text-decoration: none; }
.breadcrumb a:hover { color: #555; }
.breadcrumb .sep { margin: 0 6px; }

article { padding-bottom: 40px; }

/* === Typography === */
h1 {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 2.1em;
  font-weight: 700;
  line-height: 1.2;
  color: #111;
  margin: 8px 0 20px;
  letter-spacing: -0.03em;
}
h2 {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 1.4em;
  font-weight: 700;
  color: #111;
  margin: 48px 0 16px;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
h3 {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 1.1em;
  font-weight: 600;
  color: #333;
  margin: 32px 0 12px;
  line-height: 1.4;
}
p { margin: 16px 0; }
strong { font-weight: 600; }
ul, ol { margin: 16px 0; padding-left: 24px; }
li { margin: 6px 0; }

/* === Links — subtle underlines, not buttons === */
a { color: #292929; }
article a {
  color: #292929;
  text-decoration: underline;
  text-decoration-color: #ccc;
  text-underline-offset: 3px;
}
article a:hover { text-decoration-color: #292929; }

.affiliate-link {
  color: #292929 !important;
  font-weight: 500;
  text-decoration: underline !important;
  text-decoration-color: #bbb !important;
  text-underline-offset: 3px;
  background: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  display: inline !important;
}
.affiliate-link:hover { text-decoration-color: #292929 !important; }

/* === TL;DR Box === */
.tldr-box {
  background: #fffffe;
  border: 1px solid #e4dfd7;
  border-radius: 6px;
  padding: 24px 28px;
  margin: 28px 0;
}
/* === Price Disclaimer === */
.price-disclaimer {
  font-family: 'Inter', sans-serif;
  font-size: 0.72em;
  color: #999;
  font-style: italic;
  margin: -16px 0 8px;
  letter-spacing: 0.01em;
}

.tldr-box h2 {
  font-size: 1em;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #555;
  margin: 0 0 16px;
  font-weight: 600;
}
.tldr-box table {
  font-family: 'Inter', sans-serif;
  font-size: 0.85em;
}
.tldr-box td, .tldr-box th { padding: 10px 12px; }

/* === Product Highlight === */
.product-highlight {
  font-family: 'Inter', sans-serif;
  font-size: 0.85em;
  color: #555;
  background: none;
  border: none;
  padding: 0;
  margin: 4px 0 16px;
}
.product-highlight a { font-weight: 500; color: #292929; }

/* === Pick Card (Wirecutter-style) === */
.pick-card {
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  padding: 0;
  margin: 32px 0;
  overflow: hidden;
  background: #fffffe;
}
.pick-card-header {
  background: #292929;
  color: #fff;
  padding: 12px 24px;
  font-family: 'Inter', sans-serif;
  font-size: 0.8em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.pick-card-header .pick-icon {
  font-size: 1.3em;
  line-height: 1;
}
.pick-card-header.budget { background: #2d6a4f; }
.pick-card-header.premium { background: #1a1a2e; }
.pick-card-header.upgrade { background: #7b4f2c; }
.pick-card-body {
  display: flex;
  gap: 28px;
  padding: 28px 24px 20px;
  align-items: flex-start;
}
.pick-card-image {
  flex: 0 0 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pick-card-image img {
  max-width: 180px;
  max-height: 180px;
  object-fit: contain;
  border-radius: 4px;
}
.pick-card-image img[src=""], .product-section-image img[src=""] { display: none; }
.pick-card-info {
  flex: 1;
  min-width: 0;
}
.pick-card-info h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.25em;
  font-weight: 700;
  color: #111;
  margin: 0 0 10px;
  line-height: 1.3;
}
.pick-card-info h3 a {
  color: #111;
  text-decoration: none;
}
.pick-card-info h3 a:hover { text-decoration: underline; }
.pick-card-image a { display: block; }
.pick-card-image a img { transition: opacity 0.15s; }
.pick-card-image a:hover img { opacity: 0.85; }
/* Rating badge */
.pick-card-rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #fffbf0 0%, #fef6e4 100%);
  border: 1px solid #e8d5a8;
  border-radius: 20px;
  padding: 6px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 0.78em;
  font-weight: 600;
  color: #8a6d2b;
  margin: 0 0 14px;
  text-decoration: none !important;
  transition: all 0.15s;
  letter-spacing: 0.01em;
}
a.pick-card-rating { display: inline-flex; }
a.pick-card-rating:hover { background: linear-gradient(135deg, #fef6e4 0%, #fdedc8 100%); border-color: #d4b978; }
.pick-card-rating .rating-stars { color: #d4a017; letter-spacing: 2px; font-size: 1.05em; }
.pick-card-rating .rating-score { font-weight: 700; color: #7a5f1a; }
.pick-card-rating .rating-sep { color: #d4c49a; font-weight: 300; }
.pick-card-rating .rating-count { color: #a89565; font-weight: 500; font-size: 0.95em; }
.pick-card-price {
  font-family: 'Inter', sans-serif;
  font-size: 1.15em;
  font-weight: 700;
  color: #111 !important;
  margin: 0 0 12px;
  display: block;
  text-decoration: none !important;
}
.pick-card-price:hover { text-decoration: underline !important; }
.pick-card-why {
  font-size: 0.92em;
  line-height: 1.7;
  color: #444;
  margin: 0;
}
.pick-card-why strong { color: #292929; }
/* Tradeoffs section */
.pick-card-tradeoffs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid #e8e8e8;
  font-family: 'Inter', sans-serif;
  font-size: 0.82em;
}
.pick-card-gets, .pick-card-misses {
  padding: 16px 24px;
}
.pick-card-gets { border-right: 1px solid #e8e8e8; }
.pick-card-gets h4, .pick-card-misses h4 {
  font-size: 0.85em;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 8px;
  font-weight: 700;
}
.pick-card-gets h4 { color: #2d6a4f; }
.pick-card-misses h4 { color: #922b21; }
.pick-card-gets ul, .pick-card-misses ul {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #555;
  line-height: 1.6;
}
.pick-card-gets li::before { content: "+  "; color: #2d6a4f; font-weight: 700; }
.pick-card-misses li::before { content: "−  "; color: #922b21; font-weight: 700; }
.pick-card-link {
  display: block;
  padding: 14px 24px;
  border-top: 1px solid #e8e8e8;
  font-family: 'Inter', sans-serif;
  font-size: 0.85em;
  font-weight: 600;
  color: #292929 !important;
  text-decoration: none !important;
  background: #fafafa;
}
.pick-card-link:hover {
  background: #f0f0f0;
  text-decoration: none !important;
}
.pick-card-link::after { content: " →"; }

/* === Product Section Image === */
.product-section-image {
  float: right;
  margin: -8px 0 16px 24px;
  max-width: 180px;
  clear: right;
}
.product-section-image img {
  max-width: 180px;
  max-height: 200px;
  object-fit: contain;
  display: block;
}

/* === Product Card === */
.product-card {
  background: #fafafa;
  border: 1px solid #e4dfd7;
  border-radius: 4px;
  padding: 14px 18px;
  margin: 16px 0;
  font-weight: 400;
  font-family: 'Inter', sans-serif;
  font-size: 0.9em;
}
.product-card a { text-decoration: none; color: #292929; }
.product-card a:hover { text-decoration: underline; }

/* === Tables === */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-family: 'Inter', sans-serif;
  font-size: 0.85em;
}
th, td { padding: 11px 14px; text-align: left; }
th {
  border-bottom: 2px solid #ddd;
  font-weight: 600;
  color: #555;
  text-transform: uppercase;
  font-size: 0.8em;
  letter-spacing: 0.05em;
}
td { border-bottom: 1px solid #eee; }
tr:last-child td { border-bottom: none; }

/* === Video Embeds === */
.video-embed {
  margin: 24px 0;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #e4dfd7;
}
.video-embed iframe {
  display: block;
  aspect-ratio: 16/9;
  width: 100%;
  height: auto;
}
.video-caption {
  padding: 14px 18px;
  background: #fafafa;
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: 0.82em;
  color: #666;
  line-height: 1.6;
}
.video-chapters {
  padding: 12px 18px 14px;
  background: #fafafa;
  border-top: 1px solid #eee;
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: 0.78em;
}
.video-chapters summary {
  cursor: pointer;
  color: #555;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.video-chapters summary:hover { color: #292929; }
.video-chapters ul {
  list-style: none;
  padding: 8px 0 0 0;
  margin: 0;
  columns: 2;
  column-gap: 24px;
}
.video-chapters li {
  padding: 3px 0;
  break-inside: avoid;
  color: #555;
  line-height: 1.5;
}
.video-chapters .ch-time {
  color: #2d6a4f;
  font-variant-numeric: tabular-nums;
  margin-right: 6px;
  font-weight: 500;
}
@media (max-width: 640px) {
  .video-chapters ul { columns: 1; }
}

/* === Dividers === */
hr { border: none; border-top: 1px solid #e4dfd7; margin: 40px 0; }

/* === Pros/Cons === */
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 24px 0; }
.pros, .cons { padding: 20px; border-radius: 6px; }
.pros { background: #f7fdf9; border: 1px solid #d1e7dd; }
.cons { background: #fdf7f7; border: 1px solid #e7d1d1; }
.pros h4 { color: #2d6a4f; font-family: 'Inter', sans-serif; font-size: 0.9em; }
.cons h4 { color: #922b21; font-family: 'Inter', sans-serif; font-size: 0.9em; }

/* === Verdict Box === */
.verdict-box {
  background: #fafafa;
  border-left: 3px solid #292929;
  padding: 20px 24px;
  margin: 28px 0;
}
.verdict-box h3 {
  font-size: 1em;
  color: #111;
  margin-top: 0;
}

/* === Related Articles === */
.related {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid #e8e8e8;
}
.related h3 {
  font-size: 0.85em;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #888;
  margin: 0 0 16px;
}
.related ul { list-style: none; padding: 0; }
.related li { margin: 10px 0; }
.related a {
  font-family: 'Inter', sans-serif;
  font-size: 0.92em;
  color: #292929;
  text-decoration: none;
}
.related a:hover { text-decoration: underline; }

/* Compat: old class name */
.related-articles {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid #e8e8e8;
  background: none;
  border-radius: 0;
  padding-left: 0;
  padding-right: 0;
}
.related-articles h3 {
  font-family: 'Inter', sans-serif;
  font-size: 0.85em;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #888;
  margin: 0 0 16px;
}
.related-articles ul { list-style: none; padding: 0; }
.related-articles li { margin: 10px 0; }
.related-articles a {
  font-family: 'Inter', sans-serif;
  font-size: 0.92em;
  color: #292929;
  text-decoration: none;
}
.related-articles a:hover { text-decoration: underline; }

/* === Category Sections (homepage) === */
.category-section { margin: 36px 0; }
.category-section h2 { font-size: 1.1em; text-transform: uppercase; letter-spacing: 0.04em; color: #555; }
.category-section ul { list-style: none; padding: 0; }
.category-section li { margin: 8px 0; }
.category-section a {
  font-family: 'Inter', sans-serif;
  font-size: 0.92em;
  color: #292929;
  text-decoration: none;
}
.category-section a:hover { text-decoration: underline; }

/* === TOC === */
.toc {
  background: #fafafa;
  border: 1px solid #e4dfd7;
  border-radius: 6px;
  padding: 20px 24px;
  margin: 24px 0;
}
.toc h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.85em;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #555;
  margin-bottom: 12px;
}
.toc ol { padding-left: 20px; }
.toc a { text-decoration: none; color: #292929; }
.toc a:hover { text-decoration: underline; }

/* === Footer === */
footer {
  border-top: 1px solid #e4dfd7;
  background: #f3f1ed;
  margin-top: 0;
}
.footer-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 24px;
}
.footer-disclosure {
  font-family: 'Inter', sans-serif;
  font-size: 0.75em;
  color: #888;
  line-height: 1.6;
  margin-bottom: 20px;
}
.footer-disclosure strong { color: #666; }
.footer-meta {
  font-family: 'Inter', sans-serif;
  font-size: 0.75em;
  color: #aaa;
  display: flex;
  justify-content: space-between;
}
.footer-meta a { color: #888; text-decoration: none; }
.footer-meta a:hover { color: #555; }

/* === Stars === */
.stars { color: #e8a735; font-size: 1.1em; letter-spacing: 1px; }

/* === Mobile === */
@media (max-width: 640px) {
  body { font-size: 16px; }
  h1 { font-size: 1.6em; }
  h2 { font-size: 1.2em; margin-top: 36px; }
  main { padding: 0 16px 40px; }
  .header-inner { padding: 14px 16px; }
  .footer-inner { padding: 24px 16px; }
  .footer-meta { flex-direction: column; gap: 4px; }
  table { font-size: 0.78em; }
  th, td { padding: 8px 10px; }
  .tldr-box { padding: 18px 16px; }
  .pros-cons { grid-template-columns: 1fr; }
  .video-embed iframe { aspect-ratio: 16/9; }
  .pick-card-body { flex-direction: column; gap: 16px; padding: 20px 16px; }
  .pick-card-image { flex: 0 0 auto; }
  .pick-card-image img { max-width: 140px; max-height: 140px; }
  .pick-card-tradeoffs { grid-template-columns: 1fr; }
  .pick-card-gets { border-right: none; border-bottom: 1px solid #e8e8e8; }
  .product-section-image { float: none; margin: 0 0 16px 0; max-width: 120px; }
  .product-section-image img { max-width: 120px; max-height: 120px; }
}
