.ci-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    border-bottom: 2px solid #e5e7eb;
}

.ci-tab {
    background: #f1f5f9;
    border: none;
    padding: 10px 16px;
    cursor: pointer;
    font-weight: 600;
}

.ci-tab.active {
    background: #0f172a;
    color: #fff;
}

.ci-tab-content {
    display: none;
}

.ci-tab-content.active {
    display: block;
}

.ci-article img {
    margin: 15px 0;
    max-width: 100%;
}

/* Base table styling */
.ci-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

/* Header alignment */
.ci-table th {
    text-align: center;
    vertical-align: middle;
    white-space: normal;        /* Allow wrapping */
    line-height: 1.25;
    padding: 10px 8px;
}

/* Default body cells */
.ci-table td {
    padding: 8px 8px;
}

/* Right-align numeric columns */
.ci-table td:not(:first-child) {
    text-align: center;
}

/* Keep first column left-aligned (Sector, Ticker, Year) */
.ci-table td:first-child {
    text-align: left;
    font-weight: 500;
}
/* Space between consecutive tables */
.ci-table-wrapper {
    margin: 25px 0;
}
