.blog-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.blog-wrap {
  position: relative;
  z-index: 1;
  flex: 1;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 120px 24px 80px;
}

.blog-index-intro {
  margin-bottom: 8px;
}

.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.blog-pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-color);
  background: transparent;
  color: var(--text-mid);
  font-family: inherit;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  line-height: 1;
  padding: 7px 14px;
  border-radius: 999px;
  cursor: pointer;
}

.blog-pill:hover {
  border-color: var(--accent-light);
  color: var(--text-dark);
}

.blog-pill.is-active {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: #fff;
}

.blog-pill-static {
  cursor: default;
  padding: 5px 10px;
  font-size: 0.72rem;
  color: var(--accent-primary);
  border-color: var(--accent-pale);
  background: var(--bg-secondary);
}

.blog-pill-static:hover {
  color: var(--accent-primary);
  border-color: var(--accent-pale);
}

.blog-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.article-top:not(:has(a)) {
  display: contents;
}

.article-top:has(a) {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 16px;
}

.article-top:has(a) .blog-card-tags {
  margin-right: auto;
  margin-bottom: 0;
}

.article-top .blog-back {
  margin-top: 0;
}

.blog-filter-empty {
  margin-top: 28px;
}

.blog-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-xsoft);
  margin-bottom: 12px;
}

.blog-page h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  line-height: 1.15;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.blog-lede,
.blog-byline,
.blog-card-date,
.blog-empty {
  color: var(--text-soft);
  line-height: 1.7;
}

.blog-byline {
  font-size: 0.92rem;
  margin-bottom: 32px;
}

.blog-byline:has(+ .guide-listen) {
  margin-bottom: 14px;
}

.guide-listen {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
}

.guide-listen-btn,
.guide-listen-stop,
.guide-listen-speed {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border-color);
  background: transparent;
  color: var(--text-mid);
  font-family: inherit;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  line-height: 1;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
}

.guide-listen-btn:hover,
.guide-listen-stop:hover,
.guide-listen-speed:hover {
  border-color: var(--accent-light);
  color: var(--text-dark);
}

.guide-listen-btn[aria-pressed="true"],
.guide-listen-speed[aria-pressed="true"] {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: #fff;
}

.guide-listen-btn:focus-visible,
.guide-listen-stop:focus-visible,
.guide-listen-speed:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}

.guide-listen-icon {
  width: 16px;
  height: 16px;
  display: block;
}

.guide-listen-btn[hidden],
.guide-listen-stop[hidden],
.guide-listen-icon[hidden],
.guide-listen-note[hidden] {
  display: none;
}

.guide-listen-stop,
.guide-listen-speed {
  padding: 8px 12px;
  color: var(--text-soft);
}

.guide-listen-stop:hover,
.guide-listen-speed:hover {
  color: var(--text-dark);
}

.guide-listen-speed[aria-pressed="true"]:hover {
  color: #fff;
}

.guide-listen-live {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.guide-listen-note {
  flex-basis: 100%;
  margin: 0;
  color: var(--text-soft);
  font-size: 0.85rem;
  line-height: 1.5;
}

.blog-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.blog-card {
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
}

.blog-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 6px;
}

.blog-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 1.7rem;
  line-height: 1.25;
  margin-bottom: 6px;
  min-width: 0;
}

.blog-card-head .blog-card-title {
  margin-bottom: 0;
  flex: 1;
}

.blog-card-head .blog-card-tags {
  margin: 0;
  flex-shrink: 0;
  justify-content: flex-end;
}

.blog-card-title a,
.blog-back a,
.blog-body a,
.blog-sources a {
  color: var(--accent-primary);
  text-decoration: none;
}

.blog-card-title a:hover,
.blog-back a:hover,
.blog-body a:hover,
.blog-sources a:hover {
  text-decoration: underline;
}

.blog-card-date {
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.blog-card-summary {
  color: var(--text-mid);
  line-height: 1.65;
}

.blog-body {
  color: var(--text-mid);
  font-size: 1.05rem;
  line-height: 1.75;
}

.blog-body > * + * {
  margin-top: 1em;
}

.blog-body h2,
.blog-body h3,
.blog-sources h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  color: var(--text-dark);
  line-height: 1.25;
  margin-top: 1.6em;
}

.blog-body h2 { font-size: 1.8rem; }
.blog-body h3 { font-size: 1.4rem; }

.blog-body ul,
.blog-body ol,
.blog-sources ol {
  padding-left: 1.25em;
}

.blog-body li + li,
.blog-sources li + li {
  margin-top: 0.4em;
}

.blog-table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.blog-body table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 0.95rem;
  line-height: 1.45;
}

.blog-body th,
.blog-body td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-color);
  vertical-align: top;
}

.blog-body th {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--bg-secondary);
}

.blog-body td {
  color: var(--text-mid);
}

.blog-body tbody tr:last-child td {
  border-bottom: none;
}

.blog-body blockquote {
  margin: 1.4em 0;
  padding: 18px 22px;
  background: #EEF2ED;
  border: none;
  border-left: 3px solid #7D9B7A;
  border-radius: 10px;
  color: #2D3748;
  font-style: normal;
}

.blog-body blockquote p {
  margin: 0;
  font-style: normal;
}

.blog-body blockquote a {
  color: #3F6B45;
  font-style: normal;
}

.blog-sources {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
}

.blog-sources h2 {
  font-size: 1.5rem;
  margin-top: 0;
  margin-bottom: 12px;
}

.blog-back {
  margin-top: 40px;
}

.compare-page .blog-wrap {
  max-width: 880px;
}

.compare-note {
  margin-top: 1.4em;
  padding: 14px 18px;
  background: var(--bg-secondary);
  border-radius: 10px;
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.6;
}

.compare-page .blog-body table {
  min-width: 680px;
}

@media (max-width: 700px) {
  .compare-page .blog-table-scroll {
    overflow: visible;
  }

  .compare-page .blog-body table {
    min-width: 0;
  }

  .compare-page .blog-body thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .compare-page .blog-body tr {
    display: block;
    padding: 14px 0;
  }

  .compare-page .blog-body th[scope="row"],
  .compare-page .blog-body td {
    display: block;
    width: auto;
    border: none;
    background: transparent;
    padding: 0;
  }

  .compare-page .blog-body th[scope="row"] {
    margin-bottom: 8px;
  }

  .compare-page .blog-body td + td {
    margin-top: 8px;
  }

  .compare-page .blog-body td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 2px;
    color: var(--text-soft);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }
}

.compare-page .blog-body th:first-child,
.compare-page .blog-body td:first-child {
  color: var(--text-dark);
  font-weight: 500;
}

.compare-cta {
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid var(--border-subtle);
}

.compare-cta h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.compare-cta p {
  color: var(--text-soft);
  line-height: 1.7;
  margin-bottom: 22px;
}

@media (max-width: 720px) {
  .blog-wrap { padding: 104px 20px 64px; }
  .blog-card-head { flex-wrap: wrap; }
  .blog-card-head .blog-card-tags { margin-left: auto; }
}
