/* Comparison tables for the AI Overviews article. */
@layer site-typography {
    body.ai-overview-blog .single-article__content :is(h2, h3, h4) {
        font-weight: 700 !important;
    }
}

.ai-overview-blog .single-article__content :is(strong, b) {
    font-weight: 700;
}

.ai-overview-blog .single-article__content :is(.ai-article-points, .ai-article-mistakes) {
    margin: 0 0 28px;
    padding-left: 26px;
    list-style: disc outside;
}

.ai-overview-blog .single-article__content :is(.ai-article-points, .ai-article-mistakes) li {
    margin-bottom: 12px;
    padding-left: 4px;
    list-style: disc outside;
    font-size: 16px;
    line-height: 1.8;
}

.ai-overview-blog .single-article__content :is(.ai-article-points, .ai-article-mistakes) li::marker {
    color: #202020;
    font-size: 1.15em;
    font-weight: 900;
}

.ai-table-wrapper {
    margin: 28px 0 44px;
    overflow: hidden;
    border: 1px solid #e4e4e7;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(21, 21, 21, .04);
}

.ai-comparison-table {
    width: 100%;
    margin: 0;
    border: 0;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
    color: #414141;
    font-family: Roboto, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
}

.ai-comparison-table th,
.ai-comparison-table td {
    padding: 22px 24px;
    border: 0;
    text-align: left;
    vertical-align: top;
    overflow-wrap: break-word;
}

.ai-comparison-table thead th {
    padding-top: 19px;
    padding-bottom: 19px;
    background: #202020;
    color: #fff;
    font-weight: 600;
    line-height: 1.5;
}

.ai-comparison-table thead th:first-child {
    background: #c90026;
}

.ai-comparison-table tbody tr + tr > * {
    border-top: 1px solid #e9e9eb;
}

.ai-comparison-table tbody tr:nth-child(even) {
    background: #fafafa;
}

.ai-comparison-table tbody th {
    color: #202020;
    font-weight: 600;
}

.ai-comparison-table tr > * + * {
    border-left: 1px solid #ececee;
}

.ai-comparison-table thead th + th {
    border-left-color: #3b3b3b;
}

.ai-table-one tr > :first-child { width: 26%; }
.ai-table-one tr > :nth-child(2) { width: 32%; }
.ai-table-one tr > :nth-child(3) { width: 42%; }
.ai-table-two tr > :first-child { width: 34%; }
.ai-table-two tr > :last-child { width: 66%; }
.ai-comparison-table .green-text { color: #137739; }

@media (min-width: 768px) and (max-width: 991px) {
    .ai-comparison-table { font-size: 15px; }
    .ai-comparison-table th,
    .ai-comparison-table td { padding: 18px 16px; }
}

@media (max-width: 767px) {
    .ai-table-wrapper {
        margin: 22px 0 32px;
        overflow: visible;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .ai-comparison-table,
    .ai-comparison-table tbody,
    .ai-comparison-table tbody tr,
    .ai-comparison-table tbody th,
    .ai-comparison-table tbody td {
        display: block;
        width: 100%;
        min-width: 0;
    }

    /* Keep column headers available to assistive technology. */
    .ai-comparison-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }

    .ai-comparison-table { background: transparent; font-size: 15px; }

    .ai-comparison-table tbody tr {
        overflow: hidden;
        margin-bottom: 18px;
        border: 1px solid #e4e4e7;
        border-radius: 12px;
        background: #fff;
    }

    .ai-comparison-table tbody tr:last-child { margin-bottom: 0; }

    .ai-table-wrapper .ai-comparison-table tbody tr > * {
        width: 100%;
        padding: 18px 20px;
        border: 0;
    }

    .ai-comparison-table tbody tr > * + * { border-top: 1px solid #ececee; }

    .ai-comparison-table tbody th {
        background: #fff0f3;
        color: #202020;
        border-left: 3px solid #c90026;
        font-size: 16px;
    }

    .ai-comparison-table [data-label]::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 7px;
        color: #a80020;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: .04em;
        text-transform: uppercase;
    }
}
