/* SSYCMS pure-static compatibility layer. Replaces legacy remote MIP CSS. */
*, *::before, *::after {
    box-sizing: border-box;
}

mip-img,
mip-carousel,
mip-fixed,
mip-form,
mip-history,
mip-gototop,
mip-vd-tabs,
mip-iframe {
    display: block;
}

mip-img,
.ssycms-static-img {
    max-width: 100%;
}

.ssycms-static-img {
    display: block;
    height: auto;
}

.ssycms-static-img[data-mip-layout="fill"] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

mip-fixed[type="top"] {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
}

mip-fixed[type="bottom"] {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;
}

mip-fixed[type="gototop"] {
    position: fixed;
    right: 18px;
    bottom: 24px;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease;
}

mip-fixed[type="gototop"].is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

mip-gototop {
    width: 42px;
    height: 42px;
    border-radius: 4px;
    background: rgba(0, 0, 0, .62);
    color: #fff;
    cursor: pointer;
    line-height: 42px;
    text-align: center;
    user-select: none;
}

mip-gototop::before {
    content: "\2191";
    font-size: 24px;
}

mip-history {
    cursor: pointer;
}

.ssycms-static-carousel {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
}

.ssycms-static-carousel > .ssycms-carousel-slide {
    display: none;
    width: 100%;
}

.ssycms-static-carousel > .ssycms-carousel-slide.is-active {
    display: block;
}

.ssycms-static-carousel > .ssycms-carousel-slide img {
    width: 100%;
}

.ssycms-carousel-button {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 36px;
    height: 44px;
    margin-top: -22px;
    padding: 0;
    border: 0;
    background: rgba(0, 0, 0, .42);
    color: #fff;
    cursor: pointer;
    font-size: 24px;
    line-height: 44px;
}

.ssycms-carousel-prev {
    left: 0;
}

.ssycms-carousel-next {
    right: 0;
}

.ssycms-carousel-indicators {
    position: absolute;
    right: 0;
    bottom: 8px;
    left: 0;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ssycms-carousel-indicators button {
    display: block;
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .62);
    cursor: pointer;
}

.ssycms-carousel-indicators button.is-active {
    background: #fff;
}

mip-vd-tabs > section:first-child {
    display: flex;
    overflow-x: auto;
    margin: 0;
    padding: 0;
    list-style: none;
    -webkit-overflow-scrolling: touch;
}

mip-vd-tabs > section:first-child > li {
    flex: 0 0 auto;
    padding: 10px 14px;
    cursor: pointer;
    list-style: none;
}

mip-vd-tabs > section:first-child > li.is-active {
    color: #1688e8;
    border-bottom: 2px solid #1688e8;
}

mip-vd-tabs > .ssycms-tab-panel {
    display: none;
}

mip-vd-tabs > .ssycms-tab-panel.is-active {
    display: block;
}

.ssycms-tag-symbol {
    display: inline-block;
    color: inherit;
    font-family: Arial, sans-serif;
    font-size: 35px;
    font-style: normal;
    line-height: 1;
}

@media (max-width: 575.98px) {
    mip-fixed[type="gototop"] {
        right: 12px;
        bottom: 16px;
    }

    mip-gototop {
        width: 38px;
        height: 38px;
        line-height: 38px;
    }
}
