﻿/* SiteV4.css - Official style for IndexV2 (non-responsive) */
html, body {
    height: 100%;
    margin: 0;
    font-family: "Microsoft Yahei", "Segoe UI", Arial, sans-serif;
    color: #2b2b2b
}

.page-wrap {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    min-width: 1200px;
}


/* Header: white background, refined visual */
header.topbar {
    width: 100%;
    color: #213547;
    border-bottom: 1px solid rgba(33,53,71,0.06);
    box-shadow: 0 6px 16px rgba(33,53,71,0.04);
    position: relative; /* allow absolutely positioned nav */
    padding-bottom: 60px; /* reserve space so absolute-positioned main-nav does not overlap the nav-title */
}

.nav-title {
    /*width:100%;*/
    /*height:360px;*/
}

.topbar .inner {
    /* keep layout simple for header content */
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Main nav: full-width bar */
nav.main-nav {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    transform: none;
    /* use a background image with a semi-transparent white overlay for readability; place navbg.jpg in wwwroot/images and reference via absolute path from site root */
    background: url('/image/navbg.jpg') repeat;
    padding: 1px 0; /* horizontal padding handled by inner ul */
    border-radius: 0; /* full-width bar shouldn't be rounded */
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    z-index: 10;
}

    /* keep nav content constrained and centered */
    nav.main-nav ul {
        margin: 0 auto;
        padding: 0 1px; /* horizontal padding inside bar */
        display: flex;
        gap: 18px;
        list-style: none;
        align-items: center;
        max-width: 1200px;
        justify-content: center;
    }

    /* ensure nav links are vertically centered and use relative positioning for pseudo element */
    nav.main-nav a {
        color: #154357;
        text-decoration: none;
        padding: 8px 12px;
        border-radius: 8px;
        font-weight: 600;
        transition: all .14s;
        display: inline-flex;
        align-items: center;
        height: 44px;
        position: relative
    }
        /* underline implemented with absolute pseudo-element to avoid layout shifts */
        nav.main-nav a::after {
            content: '';
            position: absolute;
            left: 12px;
            right: 12px;
            bottom: 8px;
            height: 3px;
            background: linear-gradient(90deg,#2e4057,#b7410e,#f1c40f);
            border-radius: 3px;
            transform-origin: left center;
            transform: scaleX(0);
            transition: transform .18s cubic-bezier(.2,.8,.2,1);
            pointer-events: none
        }

        nav.main-nav a:hover {
            color: #0b3b66;
            transform: translateY(-2px)
        }

            nav.main-nav a:hover::after {
                transform: scaleX(1)
            }

/* small accent strip under header for colorfulness */
/* NEW ACCENT STRIP: matching dignified gradient */
.header-accent {
    height: 6px;
    background: linear-gradient(90deg,#2e4057 0%,#b7410e 50%,#f1c40f 100%)
}

/* hero */
.hero {
    max-width: 1200px;
    margin: 26px auto 0;
    display: flex;
    gap: 22px;
    align-items: stretch
}

.carousel {
    flex: 1;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
/*    height: 420px
*/}

    .carousel .slides-track {
        display: flex;
        transition: transform .6s cubic-bezier(.2,.8,.2,1);
        will-change: transform;
        height: 100%;
        align-items: stretch
    }

    .carousel .slide {
        min-width: 100%;
        box-sizing: border-box;
        display: block;
        background-size: cover;
        background-position: center center;
        color: #fff;
        padding: 40px;
        position: relative;
        min-height: 100%
    }

        .carousel .slide .shade {
            position: absolute;
            inset: 0;
            background: linear-gradient(180deg,rgba(0,0,0,0.08),rgba(0,0,0,0.45))
        }

        .carousel .slide .content {
            position: relative;
            z-index: 2;
/*            max-width: 60%;
*/           padding-top:360px;
            transition: transform .5s ease, opacity .45s ease
        }

            .carousel .slide .content h1 {
                margin: 0 0 10px;
                font-size: 24px;
                letter-spacing: 1px
            }

            .carousel .slide .content .lead {
                margin: 0;
                color: rgba(255,255,255,0.9);
                font-size: 16px
            }

        /* slide visible slight transform for active state (optional) */
        .carousel .slide.active .content {
            transform: translateY(0);
            opacity: 1
        }

        .carousel .slide .content {
            transform: translateY(8px);
            opacity: 0.95
        }

    .carousel .dots {
        position: absolute;
        left: 18px;
        bottom: 18px;
        display: flex;
        gap: 8px;
        z-index: 6
    }

        .carousel .dots button {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            border: none;
            background: rgba(255,255,255,0.4);
            cursor: pointer
        }

            .carousel .dots button.active {
                background: #b7410e
            }

.hero .side-widgets {
    width: 360px;
    display: flex;
    flex-direction: column;
    gap: 18px
}

.panel {
    background: #fff;
    border-radius: 10px;
    padding: 14px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08)
}

    .panel h3 {
        margin: 0 0 10px;
        font-size: 20px;
        color: #164a76;
        border-left: 4px solid #f1c40f;
        padding-left: 10px;
        letter-spacing: 4px;
    }

        .panel h3 a {
            color: #164a76;
            text-decoration: none;
            position: relative;
        }

            .panel h3 a::after {
                content: '';
                position: absolute;
                left: 0;
                right: 0;
                bottom: -2px;
                height: 2px;
                background: linear-gradient(90deg, rgba(23,86,129,0.95), rgba(183,65,14,0.95));
                border-radius: 2px;
                transform-origin: left center;
                transform: scaleX(0);
                transition: transform .18s cubic-bezier(.2,.8,.2,1);
                pointer-events: none;
            }

            .panel h3 a:hover {
                color: #0b3b66;
                transform: translateY(-1px);
            }

                .panel h3 a:hover::after {
                    transform: scaleX(1);
                }

.list-item {
    display: flex;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px dashed #eee
}

    .list-item:last-child {
        border-bottom: none
    }

    .list-item .title {
        color: #333;
    }

    .list-item > div {
        display: flex;
        flex-direction: column;
        width: 100%
    }

    .list-item .meta {
        color: #888;
        font-size: 12px;
        text-align: right;
        margin-top: 6px
    }
/* content area: three equal columns */
.content-area {
    max-width: 1200px;
    margin: 24px auto;
    padding: 0 10px;
    display: flex;
    gap: 22px
}

    .content-area > .col-1,
    .content-area > .col-2,
    .content-area > .col-3 {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 18px;
        min-width: 0;
    }

/* convenience aliases (for any legacy references) */
.col-left {
    flex: 1
}

.col-right {
    flex: 1
}

.tabs {
    background: #fff;
    border-radius: 10px;
    padding: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06)
}

    .tabs .tab-heads {
        display: flex;
        gap: 12px;
        margin-bottom: 12px
    }

        .tabs .tab-heads button {
            border: none;
            background: linear-gradient(90deg,#f3f6fb,#ffffff);
            padding: 8px 12px;
            border-radius: 6px;
            cursor: pointer;
            font-weight: 600
        }

            .tabs .tab-heads button.active {
                background: linear-gradient(90deg,#164a76,#2a7fb5);
                color: #fff
            }

    .tabs .tab-body .news-list {
        display: flex;
        flex-direction: column;
        gap: 12px
    }

/* Footer (migrated from SiteV3) */
.footer {
    height: 300px;
    background-color: #313131;
    background-image: url('/image/footerbg.jpg');
    background-repeat: repeat-x;
    background-position: top;
    color: lightgrey;
    margin-top: 30px;
    font-size: 14px;
}

    .footer a {
        color: lightgrey;
        text-decoration: none; /* remove underline in footer links */
    }

        .footer a:hover {
            color: white;
            text-decoration: none; /* keep no-underline on hover */
        }

        .footer a:focus {
            text-decoration: none;
        }

        /* disable animated pseudo-underline for footer links */
        .footer a::after {
            display: none !important;
        }

    .footer p {
        font-size: 1.1em;
        text-align: center;
        /*margin: 1em auto 0 auto;*/
    }

.footer-nav {
    padding-top: 20px;    
    height: 217px;
    text-align: center;
    margin: 0 auto;
    width: 1200px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

    .footer-nav > div:first-child {
        flex: 0 0 160px;
    }

    .footer-nav ul {
        list-style: none;
        padding: 0;
        margin: 0;
        flex: 1;
    }

        .footer-nav ul li {
            padding: 2px 0 2px 0;
            text-align: left;
        }

            .footer-nav ul li:first-child a {
                color: white;
                font-size: 16px;
            }

.qrimage {
    float: left;
}

.footer_banner {
    max-width: 1920px;
    margin: 0 auto;
}

.banner-area img {
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08)
}


/* Ensure footer links keep white color on hover/focus and do not translate */
footer.site-footer a,
footer.site-footer a:hover,
footer.site-footer a:focus {
    color: rgba(255,255,255,0.95);
    transform: none;
}

.panel a:focus, .tabs a:focus, .content-area a:focus, .side-widgets a:focus, .list-item .title a:focus, .panel .title a:focus, footer a:focus {
    outline: 3px solid rgba(38,125,173,0.14);
    outline-offset: 3px;
}

/* industry two-column section */
.industry-row {
    max-width: 1200px;
    margin: 20px auto;
    display: flex;
    gap: 18px;
    padding: 0 10px;
    align-items: stretch
}

    .industry-row .industry-col {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 14px
    }

        .industry-row .industry-col > .panel {
            flex: 1;
            display: flex;
            flex-direction: column
        }

        .industry-row .industry-col .panel .news-list {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 8px;
            padding-right: 0
        }

        .industry-row .industry-col .panel .list-item {
            flex: 0 0 auto
        }

    /* remove scrolling: let lists expand naturally */
    .industry-row .panel .news-list {
        max-height: none;
        overflow: visible;
        padding-right: 0
    }

/* Title links: ensure black text and underline only on hover. Disable animated pseudo-underline for these selectors */
.list-item .title a,
.panel .title a {
    color: #000;
    text-decoration: none;
    position: relative;
}

    .list-item .title a::after,
    .panel .title a::after {
        display: none !important;
    }

    .list-item .title a:hover,
    .panel .title a:hover {
        color: #000;
        text-decoration: underline;
        transform: none; /* avoid translate on hover */
    }

    .list-item .title a:focus,
    .panel .title a:focus {
        outline: 3px solid rgba(38,125,173,0.14);
        outline-offset: 3px;
        text-decoration: underline;
    }


.subassociation {
    width: 1100px;
    height: 333px;
    margin: 0 auto;
    overflow: hidden;
}

.subassociationbg {
    padding: 20px 0 20px 0;
    background: url('/image/subassociationbg.gif') repeat;
}

.subassociation_ul {
    list-style: none;
    padding: 0;
    height: 333px;
}

.subassociation_li {
    float: left;
    width: 100px;
    overflow: hidden;
    float: left;
    height: 333px;
    transition: width .4s;
}



.subassociation_block {
    /*    border: 1px solid #666666;*/
    /*    width: 105px;*/
}

.subassociation_active {
    width: 700px;
}

.subassociation_block_left {
    width: 100px;
    color: white;
    height: 333px;
    font-size: 22px;
    padding: 35px 0 0 40px;
    line-height: 23px;
    float: left;
    background: rgba(137, 137, 137, .9);
}

.subassociation_block_left_garkbg {
    background: rgba(55, 55, 55, .9);
}

.subassociation_block_right {
    float: left;
    width: 425px;
    height: 300px;
}

.subassociation_block_righttext {
    font-size: 16px;
    padding: 20px;
    color: white;
    background: rgba(0, 0, 0, .8);
    width: 400px;
    margin: 40px 0 0 40px;
}

    .subassociation_block_righttext p {
        text-indent: 2em;
    }

    .subassociation_block_righttext a {
        color: white;
    }

        .subassociation_block_righttext a:hover {
            color: red;
        }

.subassociation_link {
    text-align: right;
}

    .subassociation_link a {
        color: white;
    }

.subassociation_active .subassociation_block .subassociation_block_left {
    background: rgba(20, 122, 194, .9);
}

.news_block_right_title {
    font-size: 22px;
    font-family: '黑体','Adobe Heiti Std',SimHei;
    color: lightgrey;
    line-height: 18px;
    text-align: center;
    letter-spacing: -1px;
    width: 200px;
    margin-left: 70px;
    margin-top: 30px;
/*    margin-bottom: 30px;
*/}

    .news_block_right_title p:first-child {
        letter-spacing: 6px;
        color: white;
    }

.news_block_member {
/*    float: right;
*/    width: 360px;
    background-color: #20b2d3;
    /*    margin-top: 10px;
*/
    display: flex;
    flex-direction: column;
    gap: 18px
}
.news_block_member_table {
    width: 100%;
}

    .news_block_member_table a {
        color: white;
    }

    .news_block_member_table td {
        text-align: left;
        padding: 11px 0 13px 60px;
        border-top: 1px solid #fff;
    }

.news_block_member_table_icon {
    font-size: 22px;
    color: white;
    padding-right: 10px;
}

.news_block_member_table_link {
    font-size: 18px;
    /*    vertical-align: top;
*/
}

