:root {
    --custom-teal: #08B3BE;
    --custom-grey: #F3EEEB;
    --custom-text: #414141;
    --custom-yellow: #F7A941;
    --gray-200: #E5E7EB;
    --gray-500: #6B7280;
    --gray-50: #F9FAFB;
}

.section-provider-comparison .container {
    padding-bottom: 6vw;
}

.section-provider-comparison .provider-comparison-table-wrapper .container {
    padding: 6vw 0;

}

.section-provider-comparison .provider-comparison-table-wrapper {
    background-color: var(--custom-grey);
    padding-bottom: 4rem;
}

.section-provider-comparison .main-heading {
    font-size: 1.875rem;
    margin: 0;
    padding: 0;
    font-weight: 700;
    line-height: 1.2;
    color: #414141;
}

.section-provider-comparison .main-heading span {
    color: var(--custom-yellow);
}

.section-provider-comparison .intro-paragraph {
    color: var(--custom-teal);
    font-size: 18px;
    line-height: 1.5rem;
}

.sub-heading {
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 0;
}

.section-provider-comparison .provider-comparison-table-wrapper .provider-comparison-table {
    margin-bottom: 5rem;
}

.section-provider-comparison .provider-comparison-table-wrapper table {
    text-align: left;
}

.section-provider-comparison .provider-comparison-table .sub-heading .platform-text {
    color: var(--custom-text);
}

.section-provider-comparison .provider-comparison-table .sub-heading .platform-name {
    color: var(--custom-teal);
}

.reviews-io-heading {
    margin-top: 3rem;
    color: var(--custom-text);
}

.section-provider-comparison .provider-comparison-table .table-card {
    background-color: #ffffff;
    overflow: hidden;
}

.section-provider-comparison .provider-comparison-table .data-table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
}

.section-provider-comparison .provider-comparison-table .data-table thead {
    background-color: var(--custom-teal);
}

.section-provider-comparison .provider-comparison-table .data-table th {
    padding: 0.75rem 1.25rem;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-provider-comparison .provider-comparison-table .data-table th.align-right {
    text-align: right;
}

.section-provider-comparison .provider-comparison-table .data-table tbody tr {
    border-bottom: 1px solid var(--gray-200);
    transition: background-color 0.15s ease-in-out;
}

.section-provider-comparison .provider-comparison-table .data-table tbody tr:first-child {
    background-color: #E6F7F8;
    font-weight: 700;
}

.section-provider-comparison .provider-comparison-table .data-table tbody tr:first-child:hover {
    background-color: #D9F4F5; 
}

.section-provider-comparison .provider-comparison-table .data-table tbody tr:first-child td{
    color: var(--custom-teal);
    font-weight: 700;
}

.section-provider-comparison .provider-comparison-table .data-table tbody tr:last-child {
    border-bottom: none;
}

.section-provider-comparison .provider-comparison-table .data-table tbody tr:hover {
    background-color: var(--gray-50);
}

.section-provider-comparison .provider-comparison-table .data-table td {
    padding: 1rem 1.25rem;
    color: var(--custom-text);
    vertical-align: middle;
}

.section-provider-comparison .provider-comparison-table .data-table td.font-medium {
    font-weight: 500;
}

.section-provider-comparison .provider-comparison-table .data-table td.font-semibold {
    font-weight: 600;
}

.section-provider-comparison .provider-comparison-table .data-table td.align-right {
    text-align: right;
}

.section-provider-comparison .provider-comparison-table .table-caption, .section-provider-comparison .provider-comparison-table .table-explainer-text p{
    text-align: left;
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-top: 0.5rem;
    font-style: italic;
    padding: 0 1.25rem;
}

.section-provider-comparison .provider-comparison-table .table-explainer-text p {
    font-size: 1rem;
    font-style: normal;
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .section-provider-comparison .provider-comparison-table-wrapper .provider-comparison-table {
        background: white;
        padding: 2rem;
    } 
    .section-provider-comparison .container {
        padding-bottom: 3vw;
        max-width: 67vw;
        width: 67vw;
    }

    .section-provider-comparison .provider-comparison-table-wrapper .container {
        padding: 3vw 0;
        max-width: 60vw;
        width: 60vw;
    }

    .section-provider-comparison .provider-comparison-table .sub-heading {
        padding-top: 0;
        margin-top: 0;
        margin-bottom: 1rem;
        letter-spacing: 0.5px;
    }

    .section-provider-comparison .main-heading {
        font-size: 3vw;
    }

    .section-provider-comparison .intro-paragraph {
        font-size: 1.5rem;
        line-height: 2.6rem;
        font-weight: 400;
    }
}

@media (max-width: 767px) {

    .section-provider-comparison .intro-paragraph br {
        display: none;
    }

    .section-provider-comparison .provider-comparison-table .table-card {
        background-color: transparent;
        border-radius: 0;
        box-shadow: none;
        overflow: visible;
    }

    .section-provider-comparison .provider-comparison-table .table-responsive-wrapper {
        overflow-x: visible;
    }

    .section-provider-comparison .provider-comparison-table .data-table {
        width: 100%;
        min-width: 0;
        border-collapse: separate;
        border-spacing: 0 1.5rem;
    }

    .section-provider-comparison .provider-comparison-table .data-table thead {
        display: none;
    }

    .section-provider-comparison .provider-comparison-table .data-table tbody {
        display: block;
        width: 100%;
    }

    .section-provider-comparison .provider-comparison-table .data-table tr {
        display: block;
        width: 100%;
        background-color: #ffffff;
        border-radius: 0.5rem;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
        border-bottom: none;
        overflow: hidden;
    }

    .section-provider-comparison .provider-comparison-table .data-table tbody tr {
        margin-bottom: 1.5rem;
    }

    .section-provider-comparison .provider-comparison-table .data-table tbody tr:last-child {
        margin-bottom: 0;
    }

    .section-provider-comparison .provider-comparison-table .data-table td {
        display: block;
        width: 100%;
        vertical-align: middle;
        border-bottom: 1px solid var(--gray-200);
    }

    .section-provider-comparison .provider-comparison-table .data-table tr td:first-child {
        background-color: #999;
        color: #ffffff;
        font-weight: 700;
        font-size: 1.125rem;
        text-align: center;
        padding: 1rem 1.25rem;
        border-bottom: none;
    }

    .section-provider-comparison .provider-comparison-table .data-table tr:first-child td:first-child {
        background-color: var(--custom-teal);
    }

    .section-provider-comparison .provider-comparison-table .data-table tbody tr td:first-child{
        color: #fff
    }

    .section-provider-comparison .provider-comparison-table .data-table td:not(:first-child) {
        padding: 0.75rem 1.25rem;
        padding-left: 50%;
        text-align: right;
        position: relative;
        font-weight: 500;
    }

    .section-provider-comparison .provider-comparison-table .data-table td:not(:first-child)::before {
        content: attr(data-label);
        position: absolute;
        left: 1.25rem;
        width: calc(50% - 1.5rem);
        font-weight: 600;
        color: var(--custom-text);
        text-align: left;
        white-space: nowrap;
    }

    .section-provider-comparison .provider-comparison-table .data-table td:last-child {
        border-bottom: none;
    }

    .section-provider-comparison .provider-comparison-table .data-table td.font-semibold {
        font-weight: 700;
    }
}