.hc-chart-table {
    padding-top: var(--top-spacing-desktop, var(--wp--preset--spacing--2-l, 70px));
    padding-bottom: var(--bottom-spacing-desktop, var(--wp--preset--spacing--2-l, 70px));
}

.hc-chart-table__container {
    max-width: var(--wp--custom--width--default, 1440px);
    margin: 0 auto;
    padding: 0 var(--wp--preset--spacing--s, 30px);
    width: 100%;
}

.hc-chart-table__header {
    text-align: center;
    margin-bottom: var(--wp--preset--spacing--2-l, 70px);
}

.hc-chart-table__title {
    text-transform: uppercase;
    margin: var(--wp--preset--spacing--s, 30px) 0 0 0;
}

.hc-chart-table__block-table {
    width: 100%;
    border-collapse: collapse;
}

.hc-chart-table__block thead {
    background-color: var(--wp--preset--color--deep-ocean, #193661);
}

.hc-chart-table__block thead th {
    color: var(--wp--preset--color--off-white, #FDF5ED);
}

.hc-chart-table__block thead th:not(:first-of-type) {
    color: var(--wp--preset--color--off-white, #FDF5ED);
    font-size: var(--wp--preset--font-size--subhead, 13px);
    line-height: 1.2;
    letter-spacing: var(--_letter-spacing, .02em);
    text-transform: uppercase;
    font-family: var(--font--subheaders, var(--font--body, "Futura PT", system-ui));
    padding: var(--wp--preset--spacing--xxs, 8px);
    text-align: center;
}

.hc-chart-table__block-table tr {
    border-bottom: 1px solid var(--wp--preset--color--deep-ocean, #193661);
    height: 50px;
    text-align: center;
}

.hc-chart-table__td {
    font-size: var(--wp--preset--font-size--subhead, 13px);
    line-height: 1.2;
    letter-spacing: var(--_letter-spacing, .02em);
    text-transform: uppercase;
    font-family: var(--font--subheaders, var(--font--body, "Futura PT", system-ui));
}

.hc-chart-table__block-table th,
.hc-chart-table__block-table .first-td {
    text-align: left;
    padding: var(--wp--preset--spacing--xxs, 8px) var(--wp--preset--spacing--xs, 20px);
    font-weight: 400;
    text-transform: uppercase;
    line-height: var(--_line-height, 1.5);
    letter-spacing: var(--_letter-spacing, normal);
    font-size: var(--wp--preset--font-size--body);
}

.hc-chart-table__block-table tbody tr.accordion-header {
    display: none;
}

.hc-chart-table__td.learn-more {
    display: none;
}

.hc-chart-table__bottom-text {
    text-align: center;
    margin-top: var(--wp--preset--spacing--s, 30px);
}

.hc-chart-table__block-table .first-td a {
    text-decoration: none;
    text-underline-offset: 3px;
}

.hc-chart-table__block-table .first-td a:hover {
    text-decoration: underline;
}

@media (max-width:1200px) {
    .hc-chart-table__bottom-text {
        display: none;
    }

    .hc-chart-table__block thead td {
        font-size: 9px;
        padding: 5px;
    }

    .hc-chart-table__block-table th,
    .hc-chart-table__block-table .first-td {
        padding: var(--wp--preset--spacing--xxs, 8px);
    }
}

@media (max-width:992px) {
    .hc-chart-table {
        padding-top: var(--top-spacing-mobile, var(--wp--preset--spacing--2-l, 70px));
        padding-bottom: var(--bottom-spacing-mobile, var(--wp--preset--spacing--2-l, 70px));
    }

    .hc-chart-table__block thead {
        display: none;
    }

    .hc-chart-table__block td {
        display: flex;
        width: 100%;
        align-items: center;
        text-align: center;
        border-bottom: 1px solid var(--wp--preset--color--deep-ocean, #193661);
    }

    .hc-chart-table__block tr {
        height: auto;
        display: flex;
        width: 100%;
        flex-wrap: wrap;
        border: 0;
        transition: opacity 0.4s ease;
    }

    .hc-chart-table__block tbody tr td::before {
        content: attr(data-title);
        display: inline-block;
        width: 50%;
        min-width: 100px;
        border-right: 1px solid var(--wp--preset--color--deep-ocean, #193661);
        box-sizing: border-box;
        padding: var(--wp--preset--spacing--xs, 20px);
        line-height: 1;
    }

    .hc-chart-table__block tbody tr.accordion-header td::before,
    .hc-chart-table__block tbody tr td.first-td::before {
        content: unset;
    }

    .hc-chart-table__block tbody tr.accordion-header td,
    .hc-chart-table__block tbody tr td.first-td {
        padding: var(--wp--preset--spacing--xxs, 8px) var(--wp--preset--spacing--xs, 20px);
        font-size: var(--wp--preset--font-size--h-3, 18px);
        line-height: 1.2;
        letter-spacing: 0.54px;
        position: relative;
        display: flex;
        justify-content: center;
        width: 100%;
        border-bottom: 1px solid var(--wp--preset--color--deep-ocean, #193661);
        padding: var(--wp--preset--spacing--xs, 20px);
        align-items: center;
    }

    .hc-chart-table__block-table tbody tr:nth-child(2) {
        background: transparent;
    }

    .hc-chart-table__block-table tbody tr.accordion-header td {
        justify-content: space-between;
    }

    .hc-chart-table__block-table tbody .accordion-header td::after {
        content: '';
        width: 17px;
        height: 17px;
        background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="17" height="18" viewBox="0 0 17 18" fill="none"><path d="M7.81517 9.60714H0V8.39286H7.81517V0.5H9.14455V8.39286H17V9.60714H9.14455V17.5H7.81517V9.60714Z" fill="%2315356E"/></svg>');
        display: block;
        background-repeat: no-repeat;
        background-position: center center;
        background-size: contain;
    }

    .hc-chart-table__block-table tbody tr:not(.accordion-header) {
        display: none;
    }

    .hc-chart-table__block-table tbody.active tr {
        display: flex;
    }

    .hc-chart-table__block-table tbody tr:nth-child(2) td.first-td {
        display: none;
    }

    .hc-chart-table__block-table {
        border-top: 1px solid var(--wp--preset--color--deep-ocean, #193661);
    }

    .hc-chart-table__block-table tbody tr.accordion-header {
        display: block;
        cursor: pointer;
        text-transform: uppercase;
    }

    .hc-chart-table__block-table tbody.active .accordion-header td::after {
        background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="15" height="2" viewBox="0 0 15 2" fill="none"><path d="M0.828125 0.5H14.5L14.1719 1.5H0.5L0.828125 0.5Z" fill="%23FAF9F7"/></svg>');
    }

    .hc-chart-table__block-table tbody.active .accordion-header td {
        background-color: var(--wp--preset--color--deep-ocean, #193661);
        color: var(--wp--preset--color--off-white, #fdf5ed);
    }

    .hc-chart-table__block td span,
    .hc-chart-table__block td .hc-chart-table__first-link {
        width: 50%;
        text-align: center;
        display: block;
    }

	.hc-chart-table__block-table .first-td {
	    background-color: var(--wp--preset--color--aqua-breeze, #C4DFCC);
	}

	.hc-chart-table__block-table .first-td span,
	.hc-chart-table__block-table .first-td .hc-chart-table__first-link {
	    width: 100%;
	    white-space: normal;
	    overflow-wrap: anywhere;
	    word-break: break-word;
	}

    .hc-chart-table__block-table .first-td a {
        pointer-events: none;
        text-decoration: none;
        color: inherit;
        cursor: default;
		width: 100%;
    }

	.hc-chart-table__block-table .first-td span {
		width: 100%;
    }

    .hc-chart-table__block-table .first-td a:hover {
        text-decoration: none;
    }

    .hc-chart-table__td.learn-more::before {
        content: unset;
    }

    .hc-chart-table__td.learn-more {
        justify-content: center;
        padding: var(--wp--preset--spacing--xs, 20px);
        background-color: var(--wp--preset--color--deep-ocean, #193661);
        color: var(--wp--preset--color--off-white, #fdf5ed);
        text-decoration: underline;
    }

    .hc-chart-table__td.learn-more a {
        color: var(--wp--preset--color--off-white, #fdf5ed);
    }

    .hc-chart-table__td.learn-more {
        display: flex;
    }
}
