@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:ital,opsz,wght@0,8..60,300;0,8..60,400;0,8..60,500;0,8..60,600;0,8..60,700;1,8..60,300;1,8..60,400&display=swap');

body {
  background: #ffffff;
  font-family: 'Source Serif 4', Georgia, serif;
}

/* ── Post Layout ── */
.post-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 56px;
  padding: 52px 0 80px;
  align-items: start;
  min-width: 0;
}
.post-article { min-width: 0; overflow-x: hidden; }
.post-header { margin-bottom: 32px; }

/* Tag pill — uppercase, bordered */
.post-category-tag {
  display: inline-block;
  background: transparent;
  color: #1a1a1a;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: .7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .13em;
  padding: 4px 12px;
  border-radius: 100px;
  border: 1px solid #1a1a1a;
  margin-bottom: 18px;
}

.post-article h1 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.2;
  letter-spacing: -.01em;
  margin-bottom: 24px;
}

/* Author row — avatar initials + border separation */
.post-meta-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px 0;
  border-top: 1px solid #e4e0da;
  border-bottom: 1px solid #e4e0da;
  margin-bottom: 36px;
}
.post-author-mini { display: flex; align-items: center; gap: 10px; }
.post-author-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #1a1a1a;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: .82rem; font-weight: 700; color: white;
  border: 2px solid #f3f1ed;
  flex-shrink: 0;
}
.post-author-info { display: flex; flex-direction: column; }
.post-author-name {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: .875rem; font-weight: 600; color: #1a1a1a; display: block;
}
.post-author-role { font-size: .72rem; color: #6b6560; font-weight: 300; }
.post-meta-sep { width: 1px; height: 28px; background: #e4e0da; }
.post-meta-item {
  display: flex; align-items: center; gap: 5px;
  font-size: .78rem; color: #6b6560;
  font-family: 'Source Serif 4', Georgia, serif; font-weight: 300;
}
.post-meta-item svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }

/* ── Featured Image ── */
.post-featured-img {
  width: 100%; border-radius: 12px;
  overflow: hidden; margin-bottom: 36px;
  aspect-ratio: 16/8; background: #f3f1ed;
}
.post-featured-img img { width: 100%; height: 100%; object-fit: cover; }

/* ── Post Body ── */
.post-body {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.85;
  color: #1a1a1a;
}
.post-body > p { margin-bottom: 22px; }

.post-body h2 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.55rem; font-weight: 700; color: #1a1a1a;
  margin: 52px 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e4e0da;
  letter-spacing: -.01em; line-height: 1.25;
}
.post-body h3 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.15rem; font-weight: 600; color: #1a1a1a;
  margin: 36px 0 12px; letter-spacing: -.01em;
}

.post-body ul, .post-body ol { margin: 12px 0 20px; padding-left: 0; list-style: none; }
.post-body ul li { position: relative; padding-left: 18px; margin-bottom: 8px; font-weight: 300; }
.post-body ul li::before {
  content: ''; position: absolute; left: 0; top: 13px;
  width: 4px; height: 4px; border-radius: 50%; background: #1a1a1a;
}
.post-body ol { counter-reset: list-counter; }
.post-body ol li {
  position: relative; padding-left: 28px; margin-bottom: 8px;
  counter-increment: list-counter; font-weight: 300;
}
.post-body ol li::before {
  content: counter(list-counter); position: absolute; left: 0; top: 3px;
  width: 20px; height: 20px; background: #1a1a1a; color: white;
  border-radius: 50%; font-size: .68rem; font-weight: 700;
  font-family: 'Source Serif 4', Georgia, serif;
  display: flex; align-items: center; justify-content: center;
}

.post-body strong { color: #1a1a1a; font-weight: 600; }
.post-body a { color: #1a1a1a; text-decoration: underline; text-underline-offset: 3px; }
.post-body a:hover { text-decoration: none; }
.post-body .btn-affiliate { color: #ffffff; text-decoration: none; }
.post-body .btn-affiliate:hover { color: #ffffff; text-decoration: none; }
.post-body img { width: 100%; border-radius: 12px; margin: 32px 0; }

/* ── Table ── */
.table-scroll {
  width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch;
  margin: 28px 0; border-radius: 12px; border: 1px solid #e4e0da;
}
.table-scroll table {
  width: 100%; border-collapse: collapse; font-size: .875rem;
  border-radius: 0; border: none; white-space: nowrap; min-width: 500px;
  font-family: 'Source Serif 4', Georgia, serif; font-weight: 300;
}
.table-scroll thead th {
  background: #1a1a1a; color: white; text-align: left;
  padding: 12px 16px; font-weight: 600; font-size: .75rem;
  text-transform: uppercase; letter-spacing: .08em;
}
.table-scroll tbody tr { border-bottom: 1px solid #e4e0da; }
.table-scroll tbody tr:last-child { border-bottom: none; }
.table-scroll tbody tr:nth-child(even) { background: #f3f1ed; }
.table-scroll tbody td { padding: 11px 16px; color: #1a1a1a; vertical-align: middle; }

/* ── Specs grid ── */
.specs-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px; margin: 20px 0 24px;
}
.spec-item { background: #f3f1ed; border-radius: 6px; padding: 12px 14px; }
.spec-label {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: .65rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .1em;
  color: #6b6560; margin-bottom: 4px;
}
.spec-value {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: .875rem; font-weight: 600; color: #1a1a1a;
}

/* ── Pros / Cons ── */
.pros-cons { margin: 22px 0 12px; }

.pros-cons-title {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: .875rem; font-weight: 600; margin-bottom: 8px; color: #1a1a1a;
}

/* ── Affiliate Buy Button — Always visible, pill-shaped, matte black ── */
.buy-btn-wrap { margin: 28px 0 8px; }
.btn-affiliate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #1a1a1a;
  color: #ffffff;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .02em;
  padding: 14px 28px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow:
    0 2px 8px rgba(0,0,0,.18),
    0 0 0 1px rgba(255,255,255,.04) inset;
  transition: box-shadow .2s ease, transform .15s ease;
}

.btn-affiliate:hover {
  color: #ffffff;
  text-decoration: none;
  box-shadow:
    0 6px 20px rgba(0,0,0,.28),
    0 2px 8px rgba(0,0,0,.18),
    0 0 0 1px rgba(255,255,255,.06) inset;
  transform: translateY(-1px);
}
.btn-affiliate:active {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(0,0,0,.2);
}
.btn-affiliate svg {
  width: 15px; height: 15px; fill: none; stroke: #fff;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0;
}

/* ── Sidebar ── */
.post-sidebar { position: sticky; top: 80px; }
.post-sidebar-card {
  background: #f3f1ed; border: 1px solid #e4e0da;
  border-radius: 12px; padding: 22px; margin-bottom: 20px;
}
.post-sidebar-title {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: .9rem; font-weight: 700; color: #1a1a1a;
  margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid #e4e0da;
}
.toc-list { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.toc-list a {
  display: block; font-family: 'Source Serif 4', Georgia, serif;
  font-size: .8rem; font-weight: 300;
  color: #6b6560; padding: 5px 8px; border-radius: 6px;
  transition: all .22s ease; border-left: 2px solid transparent;
}
.toc-list a:hover { color: #1a1a1a; background: #ffffff; border-left-color: #1a1a1a; }

.product-highlight {
  background: white; border: 1px solid #e4e0da;
  border-radius: 12px; padding: 20px; text-align: center; margin-bottom: 20px;
}
.product-highlight-label {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: .68rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .12em; color: #6b6560; margin-bottom: 10px;
}
.product-highlight-name {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1rem; font-weight: 700; color: #1a1a1a; margin-bottom: 6px;
}
.product-highlight-note {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: .8rem; font-weight: 300; color: #6b6560; margin-bottom: 14px;
}
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: #1a1a1a; color: white;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: .85rem; font-weight: 700;
  padding: 11px 20px; border-radius: 100px; border: none;
  cursor: pointer; width: 100%; transition: all .22s ease;
  letter-spacing: .01em;
}
.btn-primary:hover { background: #333; transform: translateY(-1px); color: white; }


/* ── Responsive ── */
@media (max-width: 1024px) {
  .post-layout { grid-template-columns: 1fr; gap: 0; padding: 32px 0 60px; }
  .post-sidebar {
    position: static; display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 16px; order: 2; margin-top: 40px;
  }
  .post-sidebar .post-sidebar-card,
  .post-sidebar .product-highlight { margin: 0; }
  .post-sidebar .post-sidebar-card:first-child { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .post-layout { padding: 24px 0 48px; }
  .post-header { margin-bottom: 24px; }
  .post-article h1 { font-size: clamp(1.5rem, 5vw, 2rem) !important; }
  .post-meta-sep { display: none; }
  .post-body h2 { font-size: 1.35rem; margin: 40px 0 14px; }
  .post-body h3 { font-size: 1.1rem; margin: 28px 0 10px; }
  .post-sidebar { grid-template-columns: 1fr; }
  .post-sidebar .post-sidebar-card:first-child { grid-column: auto; }
}
@media (max-width: 480px) {
  .post-layout { padding: 16px 0 40px; }
  .post-article h1 { font-size: 1.4rem !important; }
  .post-body h2 { font-size: 1.2rem; }
  .post-body h3 { font-size: 1.05rem; }
  .post-body { font-size: .97rem; line-height: 1.8; }
  .specs-grid { grid-template-columns: repeat(2, 1fr); }
  .btn-affiliate { width: 100%; font-size: .88rem; padding: 14px 20px; }
  .post-sidebar { grid-template-columns: 1fr; gap: 12px; margin-bottom: 24px; }
}
