:root {
    --primary-teal: #08B3BE;
    --bg-gray: #F3EEEB;
    --text-dark: #444;
    --text-light: #676767;
    --white: #ffffff;
    --border-color: #eee;
}

.section-compare-providers-reviews {
    background-color: #F3EEEB;
    padding-bottom: 50px;
}

.section-compare-providers-reviews .section-compare-providers__head__header {
    color: #414141;
}

.section-compare-providers-reviews .section-compare-providers__head__subheader {
    color: var(--primary-teal);
}

.section-compare-providers-reviews .container {
    max-width: 1100px;
    margin: 0 auto;
}

.section-compare-providers-reviews .header {
    text-align: center;
    margin-bottom: 40px;
}

.section-compare-providers-reviews .header h1 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #222;
}

.section-compare-providers-reviews .header p {
    color: var(--primary-teal);
    font-size: 1.2rem;
    font-weight: 500;
    max-width: 700px;
    margin: 0 auto;
}

.section-compare-providers-reviews .card {
    background: var(--white);
    padding: 40px 0;
}

.table-content-wrapper.is-hidden {
    display: none !important;
}

.table-content-wrapper {
    padding: 0 40px;
}

.section-compare-providers-reviews .filter-section {
    text-align: center;
    margin-bottom: 40px;
}

.section-compare-providers-reviews .filter-label {
    color: var(--text-dark);
    font-size: 1rem;
    margin-bottom: 25px;
    display: block;
}

.section-compare-providers-reviews .logo-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.section-compare-providers-reviews .logo-bar:hover {
    opacity: 1;
}

.section-compare-providers-reviews .source-item {
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding: 5px;
    flex-shrink: 0;
}

.section-compare-providers-reviews .source-item.active {
    opacity: 1;
}

.section-compare-providers-reviews .source-item.active::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid var(--primary-teal);
}

.section-compare-providers-reviews .table-title {
    text-align: center;
    color: var(--primary-teal);
    font-size: 1.75rem;
    font-weight: 700;
    margin: 50px 0 25px;
}

.section-compare-providers-reviews .table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 0;
}

.section-compare-providers-reviews table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    min-width: 600px;
}

.section-compare-providers-reviews thead tr {
    background-color: var(--primary-teal);
    color: white;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

.section-compare-providers-reviews thead tr small {
    text-transform: capitalize;
}

.section-compare-providers-reviews th {
    padding: 5px 16px;
    font-weight: 700;
    white-space: nowrap;
}

.section-compare-providers-reviews th:last-child {
    border-right: none;
}

.section-compare-providers-reviews td {
    padding: 16px;
    vertical-align: middle;
}

.section-compare-providers-reviews tr:nth-child(even) {
    background-color: #fafafa;
}

.section-compare-providers-reviews .provider-cell {
    display: flex;
    align-items: center;
    gap: 15px;
}

.section-compare-providers-reviews .provider-logo {
    border-radius: 0;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 10px;
    line-height: 1;
    text-align: center;
    object-fit: contain;
}

.section-compare-providers-reviews .provider-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-compare-providers-reviews .provider-name {
    font-weight: 600;
    color: #444;
    font-size: 0.95rem;
    white-space: nowrap;
}

.section-compare-providers-reviews .review-link {
    color: var(--primary-teal);
    font-size: 0.8rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    font-weight: 500;
    border-bottom: 1px dotted;
}

.section-compare-providers-reviews .stat-val {
    text-align: center;
    font-weight: 600;
    color: var(--text-light);
}

.section-compare-providers-reviews .rating-val {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-light);
}

.section-compare-providers-reviews .highlighted {
    color: var(--primary-teal);
}

.section-compare-providers-reviews .row--highlighted {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
    position: relative;
    z-index: 5;
}

.section-compare-providers-reviews .footer-note {
    margin-top: 25px;
    color: var(--text-light);
    font-size: 0.85rem;
    font-style: italic;
    text-align: left;
    padding: 0 40px;
    font-weight: 500;
}

@media (min-width: 768px) {
    .section-compare-providers-reviews .logo-bar {
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
        width: 100%;
    }

    .section-compare-providers-reviews .source-item {
        flex: 1 1 auto;
        text-align: center;
        min-width: 0;
    }

    .section-compare-providers-reviews .source-item img {
        max-width: 100%;
        height: auto;
        max-height: 35px;
        object-fit: contain;
    }
}

@media (max-width: 768px) {

    .section-compare-providers-reviews .header h1 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .section-compare-providers-reviews .header p {
        font-size: 0.95rem;
    }

    .section-compare-providers-reviews .card {
        padding: 20px 15px;
    }

    .section-compare-providers-reviews .logo-bar {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: 10px 10px 30px;
        gap: 25px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .section-compare-providers-reviews .logo-bar::-webkit-scrollbar {
        display: none;
    }

    .section-compare-providers-reviews .source-item.active::after {
        bottom: -15px;
    }

    .section-compare-providers-reviews .table-title {
        margin: 30px 0 20px;
        font-size: 1.4rem;
    }

    .section-compare-providers-reviews .provider-cell {
        flex-wrap: wrap;
        gap: 4px 12px;
    }

    .section-compare-providers-reviews .provider-name {
        flex-grow: 1;
    }

    .section-compare-providers-reviews .review-link {
        margin-left: 44px;
        width: 100%;
        justify-content: flex-start;
    }

    .section-compare-providers-reviews td {
        padding: 12px 10px;
    }

    .section-compare-providers-reviews .rating-val {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {

    .section-compare-providers-reviews .filter-section::after {
        content: 'Swipe for more sources ↔';
        display: block;
        font-size: 10px;
        color: #ccc;
        margin-top: -20px;
    }
}