/* Merit PC footer layout — loaded after custom.css */
html.is-web .layout-footer-holder-bc,
html.is-web .layout-footer-holder-bc .footerWrapper,
html.is-web .layout-footer-holder-bc .footerContainerWrapper {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
}

html.is-web .layout-footer-holder-bc .footerContainer {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: var(--layout-width, 1670px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
}

html.is-web .layout-footer-holder-bc .footerLinksSection {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
}

html.is-web .layout-footer-holder-bc .footerLinkCols {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 16px 24px !important;
    width: 100% !important;
    max-width: 100% !important;
}

html.is-web .layout-footer-holder-bc .footerLinkCol,
[class*="is-web"] .layout-footer-holder-bc .footerLinkCol {
    display: block !important;
    flex: none !important;
    margin: 0 !important;
    max-width: none !important;
    min-width: 0 !important;
}

[class*="is-web"] .layout-footer-holder-bc .footerLinkCol:not(:last-child) {
    margin-right: 0 !important;
}

html.is-web .layout-footer-holder-bc .sliderGroup,
html.is-web .layout-footer-holder-bc .footerContainer > .sliderContent,
html.is-web .layout-footer-holder-bc .copyRightBlock {
    width: 100% !important;
}

html.is-web .layout-footer-holder-bc .horizontalSliderRow {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    white-space: normal !important;
    width: 100% !important;
}

@media (max-width: 992px) {
    html.is-web .layout-footer-holder-bc .footerLinkCols {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}
