.article-toc {
    --article-toc-fade-bg: #ededed;
    position: relative;
    max-height: calc(100vh - var(--aside-viewport-top, 7.5rem) - 2rem);
    overflow: hidden;
}

:root {
    --article-toc-scroll-offset: 200px;
}

.article__content .wp-block-heading[id],
.article__content h2[id] {
    scroll-margin-top: var(--article-toc-scroll-offset);
}

.article-toc__list {
    max-height: inherit;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.article-toc__list::-webkit-scrollbar {
    display: none;
}

.article-toc__link {
    display: inline;
}

.article-toc__text {
    display: inline;
}

.article-toc__nowrap {
    white-space: nowrap;
}

.article-toc__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1rem;
    height: 1rem;
    vertical-align: middle;
}

.article-toc__icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    margin-top: 1rem;
    color: #01083E99;
}

.article-meta__item {
    display: inline-flex;
    align-items: baseline;
    gap: 0.35rem;
}

.article-meta__label,
.article-meta__value {
    font-size: 1rem;
    line-height: 1.2;
}

.article-meta__value {
    color: #01083E;
}

.article-meta__label svg {
    display: block;
    width: 1rem;
    height: 1rem;
}

.article__content .wp-block-table {
    margin: 3.125rem 0 0;
    overflow-x: auto;
    scrollbar-width: thin;
}

.article__content .wp-block-table table {
    width: 100%;
    min-width: 42rem;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0;
}

.article__content .wp-block-table td,
.article__content .wp-block-table th {
    border: 0;
        padding: 12px 24px;
    color: #01083E;
    font-size: 16px;
    font-weight: 400;
    line-height: 130%;
    text-align: left;
    vertical-align: middle;
    background: transparent;
}

.article__content .wp-block-table tr:nth-child(odd) td,
.article__content .wp-block-table tr:nth-child(odd) th {
    background: #ededed;
}

.article__content .wp-block-table tr:first-child td,
.article__content .wp-block-table tr:first-child th {
    color: #01083E99;
}

.article__content .wp-block-table thead {
    border-bottom: 0;
}

.article__content .wp-block-table thead th {
    background: #ededed;
}

.article__content .wp-block-table table:has(thead) tbody tr:nth-child(odd) td,
.article__content .wp-block-table table:has(thead) tbody tr:nth-child(odd) th {
    background: transparent;
}

.article__content .wp-block-table table:has(thead) tbody tr:nth-child(even) td,
.article__content .wp-block-table table:has(thead) tbody tr:nth-child(even) th {
    background: #ededed;
}

.article__content .wp-block-table table:has(thead) tbody tr:first-child td,
.article__content .wp-block-table table:has(thead) tbody tr:first-child th {
    color: #01083E;
}

.article__content .wp-block-table tr:first-child td:first-child,
.article__content .wp-block-table tr:first-child th:first-child {
    border-top-left-radius: 24px;
}

.article__content .wp-block-table tr:first-child td:last-child,
.article__content .wp-block-table tr:first-child th:last-child {
    border-top-right-radius: 24px;
}

.article__content .wp-block-table table:has(thead) tbody tr:first-child td:first-child,
.article__content .wp-block-table table:has(thead) tbody tr:first-child th:first-child,
.article__content .wp-block-table table:has(thead) tbody tr:first-child td:last-child,
.article__content .wp-block-table table:has(thead) tbody tr:first-child th:last-child {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.article__content .wp-block-table table:has(thead) thead tr:last-child th:first-child,
.article__content .wp-block-table table:has(thead) thead tr:last-child th:last-child {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.article__content .wp-block-table tr:last-child td:first-child,
.article__content .wp-block-table tr:last-child th:first-child {
    border-bottom-left-radius: 24px;
}

.article__content .wp-block-table tr:last-child td:last-child,
.article__content .wp-block-table tr:last-child th:last-child {
    border-bottom-right-radius: 24px;
}


.article__content .wp-block-table strong {
    font-weight: 500;
}

.partners__swiper .swiper-slide {
    margin-top: 0;
}

.partners__swiper .swiper-slide:nth-child(3n) {
    margin-top: 0;
}

.partners__swiper .swiper-slide:nth-child(9n + 1),
.partners__swiper .swiper-slide:nth-child(9n + 6) {
    margin-top: 5.625rem;
}

.partners__swiper .swiper-slide:has(.is-empty) {
    display: none;
}

.item-partner__title {
    color: #EDEDED66;
}

.reviews__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.reviews__slider {
    overflow: hidden;
}

.partners__swiper.swiper,
.reviews__slider.swiper,
.cards__slider.swiper {
    height: auto !important;
}

.partners__swiper .swiper-wrapper,
.reviews__slider .swiper-wrapper,
.cards__slider .swiper-wrapper {
    height: auto !important;
}

.partners__swiper .swiper-slide,
.reviews__slider .swiper-slide,
.cards__slider .swiper-slide {
    height: auto !important;
}

.reviews__slide {
    height: auto;
}

.reviews__slide .item-review {
    height: 100%;
}

.modal__image-link {
    display: block;
    width: 100%;
    height: 100%;
    cursor: zoom-in;
}

.modal__image-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fancybox__container {
    z-index: 10001;
}

.modal-image-viewer {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: rgba(1, 8, 62, 0.88);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--transition), visibility var(--transition);
}

.modal-image-viewer.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.modal-image-viewer__image {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: calc(100vh - 4rem);
    object-fit: contain;
}

.modal-image-viewer__close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.625rem;
    color: var(--indigo);
    background: var(--white-gr);
}

.modal-image-viewer__close svg {
    width: 1.5rem;
    height: 1.5rem;
}

.modal-image-viewer__caption {
    position: absolute;
    left: 2rem;
    right: 2rem;
    bottom: 1.25rem;
    color: var(--white-gr);
    text-align: center;
}

.article__content .wp-block-yoast-faq-block {
    display: flex;
    flex-direction: column;
    max-width: none;
    margin-top: 3.125rem;
}

.article__content .wp-block-yoast-faq-block .schema-faq-section {
    margin: 0;
}

.article__content .yoast-faq .faq__item {
    background: var(--indigo-bg-light);
}

.article__content .yoast-faq .faq__question {
    color: var(--white-gr);
}

.article__content .yoast-faq .faq__question-text {
    color: inherit;
}

.article__content .yoast-faq .faq__question-text strong {
    font-weight: inherit;
}

.article__content .yoast-faq .faq__answer {
    color: var(--white-gr);
}

.article__content .yoast-faq .faq__text {
    margin: 0;
    color: inherit;
}

.article__content .yoast-faq .faq__text a {
    color: #ea8c5e;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.article-toc.is-scrollable .article-toc__list {
    padding-bottom: 1.5rem;
}

.article-toc.is-scrollable:not(.is-at-bottom)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: block;
    height: 2.5rem;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(237, 237, 237, 0), var(--article-toc-fade-bg) 80%);
}

@media (max-width: 48em) {
.article__content .wp-block-table {
    border-top-left-radius: 16px;
}

.article__content .wp-block-table{
    border-top-right-radius: 16px;
}

.article__content .wp-block-table{
    border-bottom-left-radius: 16px;
}

.article__content .wp-block-table {
    border-bottom-right-radius: 16px;
}

    .article__content .wp-block-table {
        padding: 16px;
}
    .reviews__nav {
        display: flex;
    }

    .article__content .wp-block-yoast-faq-block {
        margin-top: 1.25rem;
    }

    .article-toc {
        max-height: none;
        overflow: visible;
    }

    .article-toc__list {
        max-height: none;
        overflow: visible;
    }

    .article-toc.is-scrollable .article-toc__list {
        padding-bottom: 0;
    }

    .article-toc.is-scrollable::after {
        display: none;
    }

    .article__content .wp-block-table {
        margin-top: 1.25rem;
    }

    .article__content .wp-block-table table {
        min-width: 38rem;
    }

    .article__content .wp-block-table td,
    .article__content .wp-block-table th {
        padding: 0.875rem 1rem;
        font-size: 0.875rem;
    }
}
