/* Insights category filter and equal-height card rhythm. */
.insights-filter-panel {
    display: grid;
    grid-template-columns: minmax(190px, 0.7fr) minmax(0, 2fr);
    align-items: end;
    gap: 28px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 24px;
}

.insights-filter-label {
    color: var(--ink);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.insights-filter-help {
    margin-top: 7px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}

.insights-page .insights-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
    margin: 0;
}

.insights-page .insights-filters button {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    gap: 10px;
    border-color: var(--line);
    padding: 9px 16px;
    transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.insights-page .insights-filters button::before {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border: 1px solid currentColor;
    border-radius: 50%;
    content: "";
}

.insights-page .insights-filters button:hover {
    border-color: var(--ink);
}

.insights-page .insights-filters button[aria-pressed="true"]::before {
    border-color: var(--signal);
    background: var(--signal);
}

.insights-page .insights-filters button:focus-visible {
    outline: 2px solid var(--signal);
    outline-offset: 3px;
}

.insights-results-status {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-align: right;
    text-transform: uppercase;
}

.insights-page .insights-hero-line {
    display: block;
}

.insights-page.compact-hero-page .hero-subtitle {
    max-width: 980px;
}

@media (min-width: 821px) {
    .insights-page .insights-hero-line {
        white-space: nowrap;
    }
}

.insights-page .insight-card {
    display: flex;
}

.insights-page .insight-card[hidden] {
    display: none;
}

.insights-page .insight-card-link {
    display: grid;
    width: 100%;
    height: 100%;
    grid-template-rows: auto 1fr;
}

.insights-page .insight-card-content {
    display: flex;
    height: 100%;
    flex-direction: column;
}

.insights-page .insight-card-eyebrow {
    min-height: 28px;
    align-items: center;
}

.insights-page .insight-card h2 {
    min-height: var(--insight-title-row, 0);
}

.insights-page .insight-card-excerpt {
    min-height: var(--insight-summary-row, 0);
    flex: 1 1 auto;
}

.insights-page .insight-card-meta {
    margin-top: 34px;
}

.insights-page .insight-card-actions {
    min-height: 20px;
}

@media (max-width: 1000px) {
    .insights-page .insight-card h2,
    .insights-page .insight-card-excerpt {
        min-height: 0;
    }
}

@media (max-width: 760px) {
    .insights-filter-panel {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 18px;
    }

    .insights-page .insights-filters {
        justify-content: flex-start;
    }

    .insights-results-status {
        text-align: left;
    }
}

@media (prefers-reduced-motion: reduce) {
    .insights-page .insights-filters button {
        transition: none;
    }
}
