.white-boxed-table-section {
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: clip;
    max-width: 100%;
}

.white-boxed-table-section .section--inner {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    overflow-x: clip;
}

.white-boxed-table-section .section--inner .section--content-header {
    width: 100%;
    gap: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.white-boxed-table-section .section--inner .section--content-header h3 {
    margin: 0;
    text-align: center;
    text-transform: capitalize;
    font-style: italic;
    color: #020202;
}

.white-boxed-table-section .section--inner .wysiwyg-content {
    color: #454545;
}

.white-boxed-table-section .section--inner .section--content-header .section--description {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: visible;
    color: #454545;
}

.white-boxed-table-section .section--inner .section--content-header .section--description > :not(table),
.white-boxed-table-section .section--inner .section--content-header .section--description > :not(table) * {
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    leading-trim: NONE;
    line-height: 24px;
    letter-spacing: 0%;
    text-align: center;
}

.white-boxed-table-section .section--inner .section--content-header .section--description > :not(table):first-child,
.white-boxed-table-section .section--inner .section--content-header .section--description > :not(table) *:first-child {
    margin-top: 0;
}

.white-boxed-table-section .section--inner .section--content-header .section--description > :not(table):last-child,
.white-boxed-table-section .section--inner .section--content-header .section--description > :not(table) *:last-child {
    margin-bottom: 0;
}

.white-boxed-table-section .section--inner .section--body-content {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    align-self: stretch;
    overflow-x: hidden;
    color: #454545;
}

.white-boxed-table-section .section--inner .section--body-content > * {
    margin-top: 12px;
}

.white-boxed-table-section .section--inner .section--body-content > *:first-child {
    margin-top: 0;
}

.white-boxed-table-section .section--inner .section--body-content > p,
.white-boxed-table-section .section--inner .section--body-content > ul,
.white-boxed-table-section .section--inner .section--body-content > ol {
    /* margin-top: 0; */
    margin-bottom: 0;
}

.white-boxed-table-section .section--inner .section--body-content .table-scroll-wrapper {
    width: 100%;
    max-width: 100%;
    margin-top: 16px;
    margin-bottom: 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
}

.white-boxed-table-section .section--inner .section--body-content > .table-scroll-wrapper:first-child,
.white-boxed-table-section .section--inner .section--content-header .section--description > .table-scroll-wrapper:first-child,
.white-boxed-table-section .section--inner .section--footer-content .section--footer-content-text > .table-scroll-wrapper:first-child {
    margin-top: 0;
}

.white-boxed-table-section .section--inner .section--body-content > .table-scroll-wrapper:last-child,
.white-boxed-table-section .section--inner .section--content-header .section--description > .table-scroll-wrapper:last-child,
.white-boxed-table-section .section--inner .section--footer-content .section--footer-content-text > .table-scroll-wrapper:last-child {
    margin-bottom: 0;
}

.white-boxed-table-section .section--inner .section--content-header .section--description .table-scroll-wrapper,
.white-boxed-table-section .section--inner .section--footer-content .section--footer-content-text .table-scroll-wrapper {
    width: 100%;
    max-width: 100%;
    margin-top: 16px;
    margin-bottom: 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
}

.white-boxed-table-section .section--inner .section--body-content > :not(table):not(.table-scroll-wrapper) {
    text-align: left;
}

.white-boxed-table-section .section--inner .wysiwyg-content > table:not(:first-child),
.white-boxed-table-section .section--inner .wysiwyg-content > figure:not(:first-child),
.white-boxed-table-section .section--inner .wysiwyg-content > .wp-block-table:not(:first-child) {
    margin-top: 16px;
}

.white-boxed-table-section .section--inner .wysiwyg-content > table:not(:last-child),
.white-boxed-table-section .section--inner .wysiwyg-content > figure:not(:last-child),
.white-boxed-table-section .section--inner .wysiwyg-content > .wp-block-table:not(:last-child) {
    margin-bottom: 16px;
}

.white-boxed-table-section .section--inner table {
    width: 100%;
    max-width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    border-spacing: 0;
    background-color: #fff;
}

.white-boxed-table-section .section--inner table thead tr {
    border-bottom: 1px solid #DEDEDE;
}

.white-boxed-table-section .section--inner table tbody tr {
    background-color: #fff;
}

.white-boxed-table-section .section--inner table tbody tr:nth-child(odd) {
    background-color: #F6F6F6;
}

.white-boxed-table-section .section--inner table thead tr th {
    padding: 8px 16px;
    color: #fff;
    font-weight: 500;
    font-style: Medium;
    font-size: 18px;
    leading-trim: NONE;
    line-height: 26px;
    letter-spacing: 6%;
    text-align: center;
    text-transform: uppercase;
    background: #126B57;
    min-width: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.white-boxed-table-section .section--inner table thead tr th:not(:first-child) {
    background: #143830;
    min-width: 0;
}

.white-boxed-table-section .section--inner table thead tr th+th {
    border-left: 1px solid #DEDEDE;
}

.white-boxed-table-section .section--inner table tbody tr:not(:last-child) {
    border-bottom: 1px solid #DEDEDE;
}

.white-boxed-table-section .section--inner table tbody tr td,
.white-boxed-table-section .section--inner table tbody tr th {
    padding: 8px 16px;
    color: #000;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    leading-trim: NONE;
    line-height: 24px;
    letter-spacing: 0%;
    text-align: left;
    vertical-align: top;
    min-width: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.white-boxed-table-section .section--inner table tbody tr td *,
.white-boxed-table-section .section--inner table tbody tr th * {
    color: #000;
    letter-spacing: 0 !important;
    font-weight: 400 !important;
}

.white-boxed-table-section .section--inner table tbody tr td strong {
    font-weight: 600 !important;
}

.white-boxed-table-section .section--inner table tbody tr td:first-child,
.white-boxed-table-section .section--inner table tbody tr th[scope="row"] {
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    text-align: left;
    color: #041C4C;
}

.white-boxed-table-section .section--inner table tbody tr th+td,
.white-boxed-table-section .section--inner table tbody tr td+td {
    border-left: 1px solid #DEDEDE;
}

.white-boxed-table-section .section--inner table tbody tr td ul:first-child {
    margin-top: 0;
}

.white-boxed-table-section .section--inner table tbody tr td ul:last-child {
    margin-bottom: 0;
}

.white-boxed-table-section .section--inner table tbody tr td ul {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
    display: flex;
    flex-flow: column nowrap;
    gap: 10px;
}

.white-boxed-table-section .section--inner table tbody tr td ul li {
    position: relative;
    padding-left: 34px;
    text-align: left;
}

.white-boxed-table-section .section--inner table tbody tr td ul li:before {
    content: '';
    width: 24px;
    height: 24px;
    position: absolute;
    top: 2px;
    left: 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xMiAyMC4zMDc2QzE2LjU4ODIgMjAuMzA3NiAyMC4zMDc2IDE2LjU4ODIgMjAuMzA3NiAxMkMyMC4zMDc2IDcuNDExNzQgMTYuNTg4MiAzLjY5MjI2IDEyIDMuNjkyMjZDNy40MTE3NCAzLjY5MjI2IDMuNjkyMjYgNy40MTE3NCAzLjY5MjI2IDEyQzMuNjkyMjYgMTYuNTg4MiA3LjQxMTc0IDIwLjMwNzYgMTIgMjAuMzA3NlpNMTYuNTEyMSAxMC43NjA2QzE2Ljg4NjQgMTAuMzg2MyAxNi44ODY0IDkuNzc5MzIgMTYuNTEyMSA5LjQwNDk3QzE2LjEzNzcgOS4wMzA2MyAxNS41MzA4IDkuMDMwNjMgMTUuMTU2NSA5LjQwNDk3TDExLjI3MDkgMTMuMjkwNUw5LjM3OTgzIDExLjg3MjFDOC45NTYzMSAxMS41NTQ1IDguMzU1NDcgMTEuNjQwMyA4LjAzNzgyIDEyLjA2MzlDNy43MjAxOCAxMi40ODc0IDcuODA2MDEgMTMuMDg4MiA4LjIyOTU0IDEzLjQwNTlMMTAuNzg1OCAxNS4zMjNDMTEuMTY3NCAxNS42MDkzIDExLjcwMTQgMTUuNTcxMyAxMi4wMzg3IDE1LjIzNEwxNi41MTIxIDEwLjc2MDZaIiBmaWxsPSIjOTUwMzA0Ii8+Cjwvc3ZnPgo=');
}

.white-boxed-table-section .section--inner .section--footer-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.white-boxed-table-section .section--inner .section--footer-content .section--footer-content-text {
    width: 100%;
}

.white-boxed-table-section .section--inner .section--footer-content .section--footer-content-text * {
    color: #454545;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    leading-trim: NONE;
    line-height: 24px;
    letter-spacing: 0%;
    text-align: center;
}

.white-boxed-table-section .section--inner .section--footer-content .section--footer-content-button {
    width: 100%;
    padding: 22px 32px;
    border: 1px solid #041C4C;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    font-style: Bold;
    font-size: 18px;
    leading-trim: NONE;
    line-height: 18px;
    letter-spacing: 4%;
    vertical-align: middle;
    text-transform: uppercase;
    border-radius: 200px;
    color: #041C4C;
    text-decoration: none;
    background: transparent;
}

.white-boxed-table-section .section--inner .section--footer-content .section--footer-content-button:hover {
    background: #041C4C;
    border-color: #041C4C;
    color: #fff;
}

@media (min-width: 768px) {
    .white-boxed-table-section {
        padding: 60px 20px;
    }

    .white-boxed-table-section .section--inner {
        max-width: 1120px;
    }

    .white-boxed-table-section .section--inner .section--footer-content {
        align-items: center;
    }

    .white-boxed-table-section .section--inner .section--footer-content .section--footer-content-button {
        max-width: -webkit-fit-content;
        max-width: -moz-fit-content;
        max-width: fit-content;
    }
}

@media (min-width: 1024px) {
    .white-boxed-table-section {
        padding: 80px 40px;
    }
}

@media (min-width: 1280px) {
    .white-boxed-table-section {
        padding: 80px 40px;
    }

    .white-boxed-table-section .section--inner {
        gap: 48px;
    }

    .white-boxed-table-section .section--inner .section--content-header h3 {
        font-size: 40px;
        line-height: 50px;
    }

    .white-boxed-table-section .section--inner .section--content-header .section--description > :not(table),
    .white-boxed-table-section .section--inner .section--content-header .section--description > :not(table) * {
        font-size: 18px;
        line-height: 26px;
    }

    .white-boxed-table-section .section--inner table thead tr th {
        padding: 16px 24px;
        font-size: 18px;
        line-height: 26px;
    }

    .white-boxed-table-section .section--inner table tbody tr td,
    .white-boxed-table-section .section--inner table tbody tr th {
        padding: 24px;
    }

    .white-boxed-table-section .section--inner table tbody tr td ul li {
        padding-left: 36px;
    }

    .white-boxed-table-section .section--inner table tbody tr td ul li:before {
        width: 26px;
        height: 26px;
    }

    .white-boxed-table-section .section--inner .section--footer-content .section--footer-content-text * {
        font-size: 18px;
        line-height: 26px;
    }
}

@media only screen and (max-width: 767px) {
    .white-boxed-table-section {
        padding: 40px 20px;
    }

    .white-boxed-table-section .section--inner .section--body-content {
        display: block;
        width: 100%;
        max-width: 100%;
        align-self: stretch;
        overflow-x: hidden;
    }

    .white-boxed-table-section .section--inner .section--body-content > p,
    .white-boxed-table-section .section--inner .section--body-content > *:not(table):not(.table-scroll-wrapper) {
        width: 100%;
        max-width: 100%;
    }

    .white-boxed-table-section .section--inner .section--body-content .table-scroll-wrapper {
        display: block;
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
    }

    .white-boxed-table-section .section--inner .section--body-content figure,
    .white-boxed-table-section .section--inner .section--body-content .wp-block-table {
        display: block;
        width: 100%;
        max-width: 100%;
        margin: 0;
        overflow: visible;
    }

    .white-boxed-table-section .section--inner table {
        width: max-content;
        min-width: 100%;
        max-width: none;
        table-layout: auto;
    }

    .white-boxed-table-section .section--inner table thead tr th,
    .white-boxed-table-section .section--inner table tbody tr td,
    .white-boxed-table-section .section--inner table tbody tr th {
        padding: 8px 16px;
        font-size: 14px;
        line-height: 22px;
        width: 200px;
        min-width: 200px;
        max-width: 200px;
        white-space: normal;
        word-wrap: normal;
        overflow-wrap: normal;
    }

    .white-boxed-table-section .section--inner table thead tr th:first-child,
    .white-boxed-table-section .section--inner table tbody tr td:first-child,
    .white-boxed-table-section .section--inner table tbody tr th:first-child {
        width: 250px;
        min-width: 250px;
        max-width: 250px;
    }
}

/* =========================================================
   Table Block in Mobile (opt-in via ACF toggle)
   Stacked card rows — Figma node 19890:10653
   Applies ≤1023px (mobile layout + tablet)
   ========================================================= */
@media only screen and (max-width: 1023px) {
    .white-boxed-table-section.table-block-mobile .section--content-header {
        gap: 12px;
    }

    .white-boxed-table-section.table-block-mobile .section--inner .section--content-header h3,
    .white-boxed-table-section.table-block-mobile .section--inner .section--content-header .section--title {
        font-family: "Cormorant Garamond", serif;
        font-size: 38px;
        font-weight: 500;
        font-style: italic;
        line-height: 46px;
        color: #020202;
    }

    .white-boxed-table-section.table-block-mobile .section--inner .section--body-content {
        overflow-x: visible;
    }

    .white-boxed-table-section.table-block-mobile .section--inner .section--body-content .table-scroll-wrapper {
        overflow: visible;
        background-color: #dedede;
        margin-top: 0;
        margin-bottom: 0;
    }

    .white-boxed-table-section.table-block-mobile .section--inner .section--body-content .table-scroll-wrapper::before {
        content: "";
        display: block;
        width: 100%;
        height: 12px;
        background-color: #126b57;
    }

    .white-boxed-table-section.table-block-mobile .section--inner .section--body-content figure,
    .white-boxed-table-section.table-block-mobile .section--inner .section--body-content .wp-block-table {
        overflow: visible;
    }

    .white-boxed-table-section.table-block-mobile .section--inner table {
        display: block;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        table-layout: auto;
        border-collapse: collapse;
        border-spacing: 0;
        background: transparent;
    }

    .white-boxed-table-section.table-block-mobile .section--inner table thead {
        display: none;
    }

    .white-boxed-table-section.table-block-mobile .section--inner table tbody {
        display: flex;
        flex-flow: column nowrap;
        gap: 1px;
        width: 100%;
        background-color: #dedede;
    }

    .white-boxed-table-section.table-block-mobile .section--inner table tbody tr {
        display: flex;
        flex-flow: column nowrap;
        align-items: flex-start;
        gap: 0;
        width: 100%;
        margin: 0;
        padding: 24px 20px;
        border-bottom: 0;
        background-color: #ffffff;
    }

    .white-boxed-table-section.table-block-mobile .section--inner table tbody tr:nth-child(odd) {
        background-color: #ffffff;
    }

    .white-boxed-table-section.table-block-mobile .section--inner table tbody tr:nth-child(even) {
        background-color: #f6f6f6;
    }

    .white-boxed-table-section.table-block-mobile .section--inner table tbody tr td,
    .white-boxed-table-section.table-block-mobile .section--inner table tbody tr th {
        display: block;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        padding: 0 !important;
        border: 0 !important;
        color: #454545;
        font-family: "Poppins", sans-serif;
        font-size: 16px;
        font-weight: 400;
        font-style: normal;
        line-height: 24px;
        text-align: left;
        vertical-align: top;
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: normal;
    }

    .white-boxed-table-section.table-block-mobile .section--inner table tbody tr th + td,
    .white-boxed-table-section.table-block-mobile .section--inner table tbody tr td + td {
        border-left: 0 !important;
    }

    /* Col 1: treatment title */
    .white-boxed-table-section.table-block-mobile .section--inner table tbody tr td:first-child,
    .white-boxed-table-section.table-block-mobile .section--inner table tbody tr th[scope="row"],
    .white-boxed-table-section.table-block-mobile .section--inner table tbody tr th:first-child {
        color: #020202;
        font-family: "Cormorant Garamond", serif;
        font-size: 24px;
        font-weight: 700;
        font-style: normal;
        line-height: 32px;
        text-transform: capitalize;
    }

    .white-boxed-table-section.table-block-mobile .section--inner table tbody tr td:first-child *,
    .white-boxed-table-section.table-block-mobile .section--inner table tbody tr th[scope="row"] *,
    .white-boxed-table-section.table-block-mobile .section--inner table tbody tr th:first-child * {
        color: inherit !important;
        font-family: inherit !important;
        font-size: inherit !important;
        font-weight: inherit !important;
        line-height: inherit !important;
        letter-spacing: normal !important;
        text-decoration: none;
    }

    /* Description cell */
    .white-boxed-table-section.table-block-mobile .section--inner table tbody tr.wbts-cols-2 td:nth-child(2),
    .white-boxed-table-section.table-block-mobile .section--inner table tbody tr.wbts-cols-3 td:nth-child(2) {
        margin-top: 12px;
        color: #454545;
    }

    .white-boxed-table-section.table-block-mobile .section--inner table tbody tr.wbts-cols-2 td:nth-child(2) *,
    .white-boxed-table-section.table-block-mobile .section--inner table tbody tr.wbts-cols-3 td:nth-child(2) * {
        color: #454545 !important;
        font-weight: 400 !important;
        letter-spacing: normal !important;
    }

    /* Learn More / link cell spacing */
    .white-boxed-table-section.table-block-mobile .section--inner table tbody tr.wbts-cols-3 td:last-child,
    .white-boxed-table-section.table-block-mobile .section--inner table tbody tr.wbts-cols-2-link td:last-child {
        margin-top: 24px;
    }

    .white-boxed-table-section.table-block-mobile .section--inner table tbody tr td a {
        display: inline-flex;
        flex-flow: row nowrap;
        align-items: center;
        gap: 8px;
        color: #044db4 !important;
        font-family: "Poppins", sans-serif !important;
        font-size: 16px !important;
        font-weight: 600 !important;
        font-style: normal !important;
        line-height: 24px !important;
        text-decoration: none !important;
        letter-spacing: normal !important;
        white-space: nowrap;
    }

    .white-boxed-table-section.table-block-mobile .section--inner table tbody tr td a:hover {
        text-decoration: underline !important;
        opacity: 0.85;
    }

    .white-boxed-table-section.table-block-mobile .section--inner table tbody tr td a::after {
        content: "";
        display: inline-block;
        width: 14px;
        height: 11px;
        flex-shrink: 0;
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='11' viewBox='0 0 14 11' fill='none'%3E%3Cpath d='M1 5.5H13M13 5.5L8.5 1M13 5.5L8.5 10' stroke='%23044DB4' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    }

    /* Links inside description (2-col with inline learn more) */
    .white-boxed-table-section.table-block-mobile .section--inner table tbody tr.wbts-cols-2 td:nth-child(2) a {
        margin-top: 24px;
    }
}

/* Tablet: mobile card layout + desktop fonts */
@media only screen and (min-width: 768px) and (max-width: 1023px) {
    .white-boxed-table-section.table-block-mobile .section--inner .section--content-header h3,
    .white-boxed-table-section.table-block-mobile .section--inner .section--content-header .section--title {
        font-size: 54px;
        line-height: 64px;
    }

    .white-boxed-table-section.table-block-mobile .section--inner table tbody tr td:first-child,
    .white-boxed-table-section.table-block-mobile .section--inner table tbody tr th[scope="row"],
    .white-boxed-table-section.table-block-mobile .section--inner table tbody tr th:first-child {
        font-size: 26px;
        line-height: 34px;
    }
}
