body.sffm-bdb-page main.wp-block-group {
  margin-block-start: 0 !important;
}

body.sffm-bdb-page main.wp-block-group > .wp-block-group {
  padding-block-start: 0 !important;
}

body.sffm-bdb-page .wp-block-post-title {
  display: none;
}

body.sffm-bdb-page .wp-block-post-content {
  margin-block-start: 0 !important;
}

.sffm-bdb {
  --bdb-ink: var(--sffm-ink, #111312);
  --bdb-muted: var(--sffm-muted, #686d69);
  --bdb-line: var(--sffm-line, #d9ddd9);
  --bdb-soft: var(--sffm-soft, #f4f5f2);
  box-sizing: border-box;
  position: relative;
  left: 50%;
  width: min(var(--sffm-wide, 1180px), calc(100vw - (var(--sffm-gutter, 20px) * 2)));
  max-width: none !important;
  margin: 0 0 5rem !important;
  transform: translateX(-50%);
  color: var(--bdb-ink);
}

.sffm-bdb *, .sffm-bdb *::before, .sffm-bdb *::after {
  box-sizing: border-box;
}

.sffm-bdb-hero {
  padding: clamp(64px, 10vw, 132px) 0 0;
}

.sffm-bdb-kicker-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--bdb-ink);
  color: var(--bdb-muted);
  font-size: .67rem;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.sffm-bdb-hero h1 {
  max-width: 1040px;
  margin: clamp(30px, 5vw, 68px) 0 24px;
  font-size: var(--sffm-display-title-size, clamp(2.15rem, 4.2vw, 4rem));
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.065em;
  text-wrap: balance;
}

.sffm-bdb-intro {
  max-width: 780px;
  margin: 0 0 clamp(34px, 6vw, 72px);
  color: #313532;
  font-size: clamp(1rem, 1.55vw, 1.28rem);
  line-height: 1.8;
}

.sffm-bdb-scroll {
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  border-top: 1px solid var(--bdb-ink);
  border-bottom: 1px solid var(--bdb-ink);
}

.sffm-bdb-scroll:focus-visible,
.sffm-bdb a:focus-visible {
  outline: 2px solid var(--sffm-technical, #245b91);
  outline-offset: 3px;
}

.sffm-bdb-scroll:focus:not(:focus-visible),
.sffm-bdb a:focus:not(:focus-visible) {
  outline: none;
}

.sffm-bdb-table {
  width: 100%;
  min-width: 1040px;
  margin: 0;
  border: 0;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  font-size: .82rem;
  line-height: 1.5;
}

.sffm-bdb-table caption {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.sffm-bdb-table th,
.sffm-bdb-table td {
  height: 72px;
  padding: .75rem .45rem;
  border: 0;
  border-bottom: 1px solid var(--bdb-line);
  vertical-align: middle;
}

.sffm-bdb-table thead th {
  height: 72px;
  background: var(--bdb-soft);
  color: var(--bdb-muted);
  font-size: .7rem;
  font-weight: 700;
  text-align: right;
  line-height: 1.25;
  vertical-align: middle;
}

.sffm-bdb-table thead th:first-child,
.sffm-bdb-table thead th:nth-child(2) {
  text-align: left;
}

.sffm-bdb-table thead th[aria-sort="ascending"],
.sffm-bdb-table thead th[aria-sort="descending"] {
  color: var(--bdb-ink);
}

.sffm-bdb-table th a,
.sffm-bdb-table td a {
  color: inherit;
  text-decoration: none;
}

.sffm-bdb-table thead th a {
  display: flex;
  width: 100%;
  align-items: flex-end;
  justify-content: flex-end;
  gap: .2rem;
  text-align: right;
}

.sffm-bdb-label > span {
  display: block;
  white-space: nowrap;
}

.sffm-bdb-table th a:hover,
.sffm-bdb-table td a:hover {
  text-decoration: underline;
  text-underline-offset: .2em;
}

.sffm-bdb-arrow {
  order: -1;
  flex: 0 0 auto;
  white-space: nowrap;
}

.sffm-bdb-table tbody th {
  font-weight: 700;
  text-align: left;
}

.sffm-bdb-table tbody tr:last-child th,
.sffm-bdb-table tbody tr:last-child td {
  border-bottom: 0;
}

.sffm-bdb-product {
  position: sticky;
  z-index: 2;
  left: 0;
  width: 132px;
  min-width: 132px;
  background: #fff;
  box-shadow: 1px 0 var(--bdb-line);
}

.sffm-bdb-table thead .sffm-bdb-product {
  z-index: 4;
  background: var(--bdb-soft);
}

.sffm-bdb-cpu {
  position: sticky;
  z-index: 1;
  left: 132px;
  width: 140px;
  min-width: 140px;
  background: #fff;
  box-shadow: 1px 0 var(--bdb-line);
}

.sffm-bdb-table thead .sffm-bdb-cpu {
  z-index: 3;
  background: var(--bdb-soft);
}

.sffm-bdb-cpu-vendor {
  display: block;
}

.sffm-bdb-number {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.sffm-bdb-table th:nth-child(3),
.sffm-bdb-table th:nth-child(4),
.sffm-bdb-table th:nth-child(5),
.sffm-bdb-table th:nth-child(8) {
  width: 94px;
}

.sffm-bdb-table th:nth-child(6) {
  width: 88px;
}

.sffm-bdb-table th:nth-child(7) {
  width: 66px;
}

.sffm-bdb-table th:nth-child(9) {
  width: 100px;
}

.sffm-bdb-table th:nth-child(10) {
  width: 138px;
}

.sffm-bdb-sort-status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.sffm-bdb-note {
  max-width: 860px;
  margin: 1.15rem 0 0;
  color: var(--bdb-muted);
  font-size: .82rem;
  line-height: 1.75;
}

@media (max-width: 800px) {
  .sffm-bdb-hero {
    padding-top: 52px;
  }

  .sffm-bdb-hero h1 {
    letter-spacing: -.055em;
  }
}

@media (max-width: 700px) {
  .sffm-bdb-table {
    font-size: .78rem;
  }

  .sffm-bdb-product {
    width: 132px;
    min-width: 132px;
  }

  .sffm-bdb-cpu {
    position: static;
    width: 148px;
    min-width: 148px;
    box-shadow: none;
  }
}

@media (max-width: 520px) {
  .sffm-bdb-kicker-row {
    display: block;
  }

  .sffm-bdb-kicker-row span:last-child {
    display: none;
  }
}
