html.gd-site-upgrade .header .hd-title {
    min-width: 0;
}

html.gd-site-upgrade .gd-article-body,
html.gd-site-upgrade .gd-static-page .con-all-r,
html.gd-site-upgrade .gd-footer-value {
    overflow-wrap: break-word;
    overflow-wrap: anywhere;
}

html.gd-site-upgrade .gd-table-scroll,
html.gd-site-upgrade .zb-fee-page .table-wrap {
    min-width: 0;
    max-width: 100%;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
}

@media screen and (max-width: 960px) {
    html.gd-site-upgrade .header {
        height: auto !important;
        min-height: 128px !important;
        padding: 10px 0 12px !important;
    }

    html.gd-site-upgrade .header > .pull-left {
        width: calc(100% - 56px) !important;
        height: auto !important;
        min-height: 56px !important;
    }

    html.gd-site-upgrade .header .hd-logo {
        width: 112px !important;
        height: 54px !important;
        margin-right: 12px !important;
    }

    html.gd-site-upgrade .header .hd-title {
        flex: 1 1 auto;
        padding-left: 12px !important;
    }

    html.gd-site-upgrade .header .hd-title h2,
    html.gd-site-upgrade .header .hd-title .gd-home-title {
        font-size: 22px !important;
        line-height: 1.45 !important;
        white-space: normal !important;
        overflow-wrap: break-word;
        letter-spacing: 0 !important;
    }

    html.gd-site-upgrade .header form {
        position: relative !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        width: 100% !important;
        height: 44px !important;
        margin: 8px 0 0 !important;
    }

    html.gd-site-upgrade .header form > .pull-right {
        position: static !important;
        width: 100% !important;
        height: 44px !important;
        transform: none !important;
    }

    html.gd-site-upgrade .header form input[name=keyword] {
        height: 42px !important;
        line-height: normal !important;
        font-size: 16px !important;
        -webkit-appearance: none;
        border-radius: 0;
    }

    html.gd-site-upgrade .header form button {
        height: 42px !important;
        line-height: 42px !important;
    }

    html.gd-site-upgrade #gd-menu-toggle {
        top: 16px !important;
        width: 44px !important;
        height: 44px !important;
    }

    html.gd-site-upgrade #gd-primary-nav {
        height: 100vh !important;
        height: 100dvh !important;
        padding-bottom: max(22px, env(safe-area-inset-bottom)) !important;
        visibility: hidden;
        overscroll-behavior-y: contain;
        -webkit-overflow-scrolling: touch;
    }

    html.gd-site-upgrade body.gd-menu-open #gd-primary-nav {
        visibility: visible;
    }

    html.gd-site-upgrade .gd-reading-tools {
        flex-wrap: wrap;
    }

    html.gd-site-upgrade .gd-reading-tools button,
    html.gd-site-upgrade .pager a {
        min-height: 44px;
    }
}

@media screen and (max-width: 540px) {
    html.gd-site-upgrade .header .hd-logo {
        width: 76px !important;
        height: 46px !important;
        margin-right: 8px !important;
    }

    html.gd-site-upgrade .header .hd-title {
        padding-left: 8px !important;
    }

    html.gd-site-upgrade .header .hd-title h2,
    html.gd-site-upgrade .header .hd-title .gd-home-title {
        font-size: 16px !important;
    }
}

@media screen and (min-width: 768px) and (max-width: 1200px) {
    html.gd-site-upgrade body.gd-home #bannerSwiper,
    html.gd-site-upgrade body.gd-home #bannerSwiper .swiper-wrapper,
    html.gd-site-upgrade body.gd-home #bannerSwiper .swiper-slide,
    html.gd-site-upgrade body.gd-home #bannerSwiper img {
        height: 23.4375vw !important;
        min-height: 0 !important;
    }

    html.gd-site-upgrade body.gd-home #bannerSwiper img {
        object-fit: contain !important;
    }
}

@media (pointer: coarse) and (max-width: 1200px) {
    html.gd-site-upgrade .zb-fee-page input,
    html.gd-site-upgrade .zb-fee-page select {
        font-size: 16px !important;
        min-height: 44px;
    }
}
