/* ==========================================================================
   SETLAB - COMPARE PAGE
   The comparison table (a normal WordPress Table block) and a few small pieces.
   Shared pieces (cards, grid, buttons, CTA) are in blocks.css and home.css.
   ========================================================================== */

/* ---------- Table ---------- */

.sl-page .sl-compare {
    margin: 0;
    overflow-x: auto;
    border: 1px solid var(--sl-border);
    border-radius: var(--sl-radius-lg);
    background: rgba(255, 255, 255, .02);
}

.sl-page .sl-compare table {
    width: 100%;
    min-width: 700px;
    margin: 0;
    border: 0;
    border-collapse: separate;
    border-spacing: 0;
}

.sl-page .sl-compare th,
.sl-page .sl-compare td {
    padding: 16px 18px;
    border: 0 !important;
    border-bottom: 1px solid var(--sl-border-soft) !important;
    background: transparent;
    color: var(--sl-text-soft);
    font-size: 15px;
    line-height: 1.7;
    text-align: center;
}

.sl-page .sl-compare tbody tr:last-child td {
    border-bottom: 0 !important;
}

/* first column: the feature name (stays visible when the table scrolls) */
.sl-page .sl-compare th:first-child,
.sl-page .sl-compare td:first-child {
    position: sticky;
    inset-inline-start: 0;
    z-index: 1;
    min-width: 230px;
    background: var(--sl-bg);
    color: var(--sl-text);
    text-align: start;
}

.sl-page .sl-compare thead th {
    background: var(--sl-panel-deep);
    color: var(--sl-text-soft);
    font-size: 14px;
    font-weight: 700;
}

/* SetLab column */
.sl-page .sl-compare th:nth-child(2),
.sl-page .sl-compare td:nth-child(2) {
    background: var(--sl-accent-soft);
    color: var(--sl-text);
    font-weight: 700;
}

.sl-page .sl-compare thead th:nth-child(2) {
    color: var(--sl-accent);
    font-size: 16px;
}

/* marks */
.sl-page .sl-compare td:nth-child(n+2) {
    font-size: 16px;
}

/* the two rows that show the research layer */
.sl-page .sl-compare tbody tr:nth-child(7) td,
.sl-page .sl-compare tbody tr:nth-child(8) td {
    border-bottom-color: var(--sl-accent-border) !important;
}

.sl-page .sl-compare tbody tr:nth-child(7) td:first-child,
.sl-page .sl-compare tbody tr:nth-child(8) td:first-child {
    color: var(--sl-accent);
    font-weight: 700;
}

.sl-page .sl-legend {
    margin-top: 14px;
    color: var(--sl-dim);
    font-size: 13px;
    text-align: center;
}

/* hint that the table scrolls sideways (phones only) */
.sl-page .sl-scrollhint {
    display: none;
    margin-top: 4px;
}

@media (max-width: 760px) {
    .sl-page .sl-scrollhint { display: block; }
}

/* ---------- Boundary card ---------- */

.sl-page .sl-boundary {
    max-width: 860px;
    margin-inline: auto;
    gap: 14px;
}

.sl-page .sl-boundary .sl-kicker {
    margin: 0;
}

.sl-page .sl-boundary p {
    font-size: 16px;
    line-height: 2.05;
}

/* ---------- Neutral bullet list ---------- */

.sl-page .sl-dots {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sl-page .sl-dots li {
    position: relative;
    padding-inline-start: 28px;
    color: var(--sl-text-soft);
    font-size: 15px;
    line-height: 1.95;
}

.sl-page .sl-dots li::before {
    content: "";
    position: absolute;
    top: .85em;
    inset-inline-start: 6px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--sl-dim);
}
