/* ================================
   ACF 3-Column Comparison Table
   Single source of truth styling
================================ */

/* Outer shell */
.acf-table-shell-6682f84d {
    width: 100%;
    overflow: hidden;

    border: 1px solid #E5E5E5;
    border-radius: 20px;
    box-shadow: 0 30px 70px -50px rgba(17, 24, 39, .5);

    background: #ffffff;
}

/* Table reset */
.acf-table-6682f84d {
    width: 100%;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0;

    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;

    font-family: "Manrope", sans-serif;
    font-size: 14px;
    background: transparent;
}

/* Stop transitions/hover animations inside this table */
.acf-table-shell-6682f84d,
.acf-table-shell-6682f84d *,
.acf-table-shell-6682f84d *::before,
.acf-table-shell-6682f84d *::after {
    transition: none !important;
    animation: none !important;
}

/* Base cell styling */
.acf-table-6682f84d th,
.acf-table-6682f84d td {
    padding: 22px 26px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    vertical-align: top;

    font-family: "Manrope", sans-serif;
    font-size: 14px;
    line-height: 1.45;

    border: none;
    border-bottom: 1px solid #EEEEEC;
    box-shadow: none !important;
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
}

/* Column dividers */
.acf-table-6682f84d td.col-2 {
    border-left: 1px solid #EEEEEC;
}

.acf-table-6682f84d td.col-3 {
    border-left: 1px solid #E2ECE6;
}

/* Default body column backgrounds */
.acf-table-6682f84d tbody tr:not(.acf-table-header-row) td.col-1,
.acf-table-6682f84d tbody tr:not(.acf-table-header-row) td.col-2 {
    background-color: #ffffff !important;
}

.acf-table-6682f84d tbody tr:not(.acf-table-header-row) td.col-3 {
    background-color: #F1F6F2 !important;
}

/* Header row backgrounds */
.acf-table-6682f84d tbody tr.acf-table-header-row td.col-1,
.acf-table-6682f84d tbody tr.acf-table-header-row td.col-2 {
    background-color: #F4F4F4 !important;
}

.acf-table-6682f84d tbody tr.acf-table-header-row td.col-3 {
    background-color: #14423D !important;
}

/* Odd body rows: rows 3, 5, 7 etc, excluding Playwise column */
.acf-table-6682f84d tbody tr:nth-child(odd):not(.acf-table-header-row) td.col-1,
.acf-table-6682f84d tbody tr:nth-child(odd):not(.acf-table-header-row) td.col-2 {
    background-color: #FAF9F9 !important;
}

/* Playwise column always remains pale green on body rows */
.acf-table-6682f84d tbody tr:nth-child(odd):not(.acf-table-header-row) td.col-3,
.acf-table-6682f84d tbody tr:nth-child(even):not(.acf-table-header-row) td.col-3 {
    background-color: #F1F6F2 !important;
}

/* Playwise row bottom border */
.acf-table-6682f84d td.col-3 {
    border-bottom: 1px solid #E2ECE6;
}

/* Remove final row bottom borders */
.acf-table-6682f84d tbody tr:last-child td {
    border-bottom: none;
}

/* Kill hover effects while preserving the correct base colours */
.acf-table-6682f84d tbody tr:hover,
.acf-table-6682f84d tbody tr:hover td,
.acf-table-6682f84d tbody tr:hover td *,
.acf-table-6682f84d tbody tr:hover th,
.acf-table-6682f84d tbody tr:hover th * {
    box-shadow: none !important;
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
    text-decoration: none !important;
}

/* Hover colour locks: header */
.acf-table-6682f84d tbody tr.acf-table-header-row:hover td.col-1,
.acf-table-6682f84d tbody tr.acf-table-header-row:hover td.col-2 {
    background-color: #F4F4F4 !important;
}

.acf-table-6682f84d tbody tr.acf-table-header-row:hover td.col-3 {
    background-color: #14423D !important;
}

/* Hover colour locks: odd body rows */
.acf-table-6682f84d tbody tr:nth-child(odd):not(.acf-table-header-row):hover td.col-1,
.acf-table-6682f84d tbody tr:nth-child(odd):not(.acf-table-header-row):hover td.col-2 {
    background-color: #FAF9F9 !important;
}

/* Hover colour locks: even body rows */
.acf-table-6682f84d tbody tr:nth-child(even):not(.acf-table-header-row):hover td.col-1,
.acf-table-6682f84d tbody tr:nth-child(even):not(.acf-table-header-row):hover td.col-2 {
    background-color: #ffffff !important;
}

/* Hover colour locks: Playwise body column */
.acf-table-6682f84d tbody tr:not(.acf-table-header-row):hover td.col-3 {
    background-color: #F1F6F2 !important;
}

/* Column 1 heading */
.acf-table-6682f84d .col-1-heading,
.acf-table-6682f84d tbody tr:hover .col-1-heading {
    display: block;
    margin-bottom: 5px;

    font-family: "Manrope", sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    color: #14423d !important;
}

/* Column 1 subtext */
.acf-table-6682f84d .col-1-desc,
.acf-table-6682f84d tbody tr:hover .col-1-desc {
    display: block;

    font-family: "Manrope", sans-serif;
    font-size: 12.5px;
    font-weight: 400;
    line-height: 1.45;
    color: #9A9B92 !important;
}

/* Column 2 body text */
.acf-table-6682f84d td.col-2,
.acf-table-6682f84d tbody tr:hover td.col-2 {
    font-family: "Manrope", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.45;
    color: #5C6660 !important;
}

/* Column 2 body inner text */
.acf-table-6682f84d td.col-2 *:not(.table-header-name):not(.table-header-sub-label),
.acf-table-6682f84d tbody tr:hover td.col-2 *:not(.table-header-name):not(.table-header-sub-label) {
    font-family: "Manrope", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.45;
    color: #5C6660 !important;
}

/* Column 3 body text, excluding the pill */
.acf-table-6682f84d .col-3-text,
.acf-table-6682f84d tbody tr:hover .col-3-text {
    display: block;

    font-family: "Manrope", sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.45;
    color: #14423D !important;
}

/* Header names */
.acf-table-6682f84d .table-header-name {
    display: block;

    font-family: "Manrope", sans-serif;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.25;
}

/* Column 2 header name / competitor name */
.acf-table-6682f84d .table-header-name-col-2,
.acf-table-6682f84d tr.acf-table-header-row:hover .table-header-name-col-2 {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #5C6660 !important;
}

/* Playwise HQ header name */
.acf-table-6682f84d .table-header-name-col-3,
.acf-table-6682f84d tr.acf-table-header-row:hover .table-header-name-col-3 {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
}

/* Header sub labels */
.acf-table-6682f84d .table-header-sub-label {
    display: block;
    margin-top: 4px;

    font-family: "Manrope", sans-serif;
    font-size: 12.5px;
    font-weight: 400;
    line-height: 1.45;
}

/* Column 2 header sub label */
.acf-table-6682f84d .table-header-sub-label-col-2,
.acf-table-6682f84d tr.acf-table-header-row:hover .table-header-sub-label-col-2 {
    color: #9A9B92 !important;
}

/* Playwise HQ header sub label */
.acf-table-6682f84d .table-header-sub-label-col-3,
.acf-table-6682f84d tr.acf-table-header-row:hover .table-header-sub-label-col-3 {
    color: #9fb6ac !important;
}

/* Playwise HQ wins pill */
.acf-table-6682f84d .playwise-pill,
.acf-table-6682f84d tbody tr:hover .playwise-pill {
    display: inline-block;

    padding: 4px 10px;
    margin-bottom: 10px;

    background-color: #f2b134 !important;
    color: #14423d !important;
    border-radius: 999px;

    font-family: "Manrope", sans-serif;
    font-size: 0.85em;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    text-align: center;
}

/* ================================
   Tablet Responsive
   Keeps 3-column comparison layout
================================ */

@media (max-width: 1024px) {
    .acf-table-shell-6682f84d {
        border-radius: 18px;
    }

    .acf-table-6682f84d th,
    .acf-table-6682f84d td {
        padding: 18px 18px;
        font-size: 13.5px;
        line-height: 1.45;
    }

    .acf-table-6682f84d .col-1-heading,
    .acf-table-6682f84d tbody tr:hover .col-1-heading {
        font-size: 14.5px;
    }

    .acf-table-6682f84d .col-1-desc,
    .acf-table-6682f84d tbody tr:hover .col-1-desc {
        font-size: 12.5px;
    }

    .acf-table-6682f84d td.col-2,
    .acf-table-6682f84d tbody tr:hover td.col-2,
    .acf-table-6682f84d td.col-2 *:not(.table-header-name):not(.table-header-sub-label),
    .acf-table-6682f84d tbody tr:hover td.col-2 *:not(.table-header-name):not(.table-header-sub-label),
    .acf-table-6682f84d .col-3-text,
    .acf-table-6682f84d tbody tr:hover .col-3-text {
        font-size: 13.5px;
    }

    .acf-table-6682f84d .table-header-name,
    .acf-table-6682f84d .table-header-name-col-2,
    .acf-table-6682f84d .table-header-name-col-3 {
        font-size: 17px !important;
    }
}

/* ================================
   Mobile Responsive
   Stacks each row into readable cards
================================ */

@media (max-width: 767px) {
    .acf-table-shell-6682f84d {
        border-radius: 16px;
        box-shadow: 0 24px 50px -42px rgba(17, 24, 39, .55);
    }

    .acf-table-6682f84d,
    .acf-table-6682f84d tbody,
    .acf-table-6682f84d tr,
    .acf-table-6682f84d td {
        display: block;
        width: 100%;
    }

    .acf-table-6682f84d {
        table-layout: auto;
    }

    .acf-table-6682f84d tbody tr {
        border-bottom: 1px solid #EEEEEC;
    }

    .acf-table-6682f84d tbody tr:last-child {
        border-bottom: none;
    }

    .acf-table-6682f84d th,
    .acf-table-6682f84d td {
        padding: 16px 18px;
        border-left: none !important;
        border-bottom: 1px solid #EEEEEC;
    }

    .acf-table-6682f84d tbody tr td:last-child {
        border-bottom: none;
    }

    /* Mobile header row */
    .acf-table-6682f84d tbody tr.acf-table-header-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        border-bottom: 1px solid #EEEEEC;
    }

    .acf-table-6682f84d tbody tr.acf-table-header-row td.col-1 {
        grid-column: 1 / -1;
        background-color: #F4F4F4 !important;
        border-bottom: 1px solid #EEEEEC;
    }

    .acf-table-6682f84d tbody tr.acf-table-header-row td.col-2 {
        background-color: #F4F4F4 !important;
        border-bottom: none;
        border-right: 1px solid #EEEEEC;
    }

    .acf-table-6682f84d tbody tr.acf-table-header-row td.col-3 {
        background-color: #14423D !important;
        border-bottom: none;
    }

    /* Mobile body rows */
    .acf-table-6682f84d tbody tr:not(.acf-table-header-row) td.col-1 {
        background-color: inherit !important;
    }

    .acf-table-6682f84d tbody tr:not(.acf-table-header-row) td.col-2 {
        background-color: inherit !important;
    }

    .acf-table-6682f84d tbody tr:not(.acf-table-header-row) td.col-3 {
        background-color: #F1F6F2 !important;
        border-top: 1px solid #E2ECE6;
    }

    /* Mobile odd body rows: rows 3, 5, 7 etc */
    .acf-table-6682f84d tbody tr:nth-child(odd):not(.acf-table-header-row) {
        background-color: #FAF9F9 !important;
    }

    .acf-table-6682f84d tbody tr:nth-child(even):not(.acf-table-header-row) {
        background-color: #ffffff !important;
    }

    /* Mobile column labels pulled from first-row ACF values */
    .acf-table-6682f84d tbody tr:not(.acf-table-header-row) td.col-2::before,
    .acf-table-6682f84d tbody tr:not(.acf-table-header-row) td.col-3::before {
        content: attr(data-mobile-label);
        display: block;

        margin-bottom: 8px;

        font-family: "Manrope", sans-serif;
        font-size: 11px;
        font-weight: 700;
        line-height: 1.2;
        letter-spacing: 0.04em;
        text-transform: uppercase;
    }

    .acf-table-6682f84d tbody tr:not(.acf-table-header-row) td.col-2::before {
        color: #9A9B92 !important;
    }

    .acf-table-6682f84d tbody tr:not(.acf-table-header-row) td.col-3::before {
        color: #14423D !important;
    }

    /* Mobile hover locks */
    .acf-table-6682f84d tbody tr:nth-child(odd):not(.acf-table-header-row):hover,
    .acf-table-6682f84d tbody tr:nth-child(odd):not(.acf-table-header-row):hover td.col-1,
    .acf-table-6682f84d tbody tr:nth-child(odd):not(.acf-table-header-row):hover td.col-2 {
        background-color: #FAF9F9 !important;
    }

    .acf-table-6682f84d tbody tr:nth-child(even):not(.acf-table-header-row):hover,
    .acf-table-6682f84d tbody tr:nth-child(even):not(.acf-table-header-row):hover td.col-1,
    .acf-table-6682f84d tbody tr:nth-child(even):not(.acf-table-header-row):hover td.col-2 {
        background-color: #ffffff !important;
    }

    .acf-table-6682f84d tbody tr:not(.acf-table-header-row):hover td.col-3 {
        background-color: #F1F6F2 !important;
    }

    /* Mobile typography */
    .acf-table-6682f84d .col-1-heading,
    .acf-table-6682f84d tbody tr:hover .col-1-heading {
        font-size: 15px;
    }

    .acf-table-6682f84d .col-1-desc,
    .acf-table-6682f84d tbody tr:hover .col-1-desc {
        font-size: 12.5px;
    }

    .acf-table-6682f84d td.col-2,
    .acf-table-6682f84d tbody tr:hover td.col-2,
    .acf-table-6682f84d td.col-2 *:not(.table-header-name):not(.table-header-sub-label),
    .acf-table-6682f84d tbody tr:hover td.col-2 *:not(.table-header-name):not(.table-header-sub-label),
    .acf-table-6682f84d .col-3-text,
    .acf-table-6682f84d tbody tr:hover .col-3-text {
        font-size: 14px;
        line-height: 1.45;
    }

    .acf-table-6682f84d .table-header-name,
    .acf-table-6682f84d .table-header-name-col-2,
    .acf-table-6682f84d .table-header-name-col-3 {
        font-size: 16px !important;
    }

    .acf-table-6682f84d .table-header-sub-label {
        font-size: 12px;
    }

    .acf-table-6682f84d .playwise-pill,
    .acf-table-6682f84d tbody tr:hover .playwise-pill {
        display: inline-block;
        width: fit-content;
        margin-bottom: 8px;
        font-size: 11px;
    }
}

/* ================================
   Small Mobile
================================ */

@media (max-width: 480px) {
    .acf-table-shell-6682f84d {
        border-radius: 14px;
    }

    .acf-table-6682f84d th,
    .acf-table-6682f84d td {
        padding: 14px 16px;
    }

    .acf-table-6682f84d tbody tr.acf-table-header-row {
        grid-template-columns: 1fr;
    }

    .acf-table-6682f84d tbody tr.acf-table-header-row td.col-2 {
        border-right: none;
        border-bottom: 1px solid #EEEEEC;
    }

    .acf-table-6682f84d .table-header-name,
    .acf-table-6682f84d .table-header-name-col-2,
    .acf-table-6682f84d .table-header-name-col-3 {
        font-size: 16px !important;
    }
}