.ecf-reference-header {
    position: relative;
    z-index: 30;
    width: 100%;
    background: #fff;
    color: #111;
}
.ecf-header-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    box-sizing: border-box;
}
.ecf-topbar {
    height: 34px;
    background: #0161b7;
    color: #fff;
    font-size: 12px;
}
.ecf-topbar .ecf-header-container {
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.ecf-topbar-links {
    display: flex;
    align-items: center;
    gap: 12px;
}
.ecf-topbar-links a {
    color: #fff;
    text-decoration: none;
}
.ecf-topbar-links a:hover {
    text-decoration: underline;
}
.ecf-topbar-links i {
    width: 1px;
    height: 13px;
    background: rgba(255, 255, 255, .55);
}
.ecf-nav-wrap {
    height: 96px;
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .04);
}
.ecf-nav-container {
    height: 96px;
    display: flex;
    align-items: center;
    gap: 42px;
}
.ecf-brand-dark {
    flex: 0 0 auto;
    min-width: 245px;
    color: #111;
    text-decoration: none;
}
.ecf-brand-dark img {
    display: block;
    width: auto;
    max-width: 245px;
    height: 58px;
    object-fit: contain;
}
.ecf-reference-header .ecf-nav {
    display: flex;
    flex: 1;
    justify-content: flex-end;
}
.ecf-reference-header .ecf-nav ul {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 28px;
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: right;
}
.ecf-reference-header .ecf-nav-item {
    position: relative;
    list-style: none;
}
.ecf-reference-header .ecf-nav-item a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 38px 0 35px;
    color: #111;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    text-align: right;
    white-space: nowrap;
    transition: color .2s;
}
.ecf-reference-header .ecf-nav-item a:hover,
.ecf-reference-header .ecf-nav-item.is-active a {
    color: #0161b7;
}
.ecf-reference-header .ecf-nav-item.is-active a::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 3px;
    background: #f48120;
    content: "";
}
.ecf-reference-header .ecf-nav-item i {
    color: #555;
    font-size: 12px;
}
.ecf-hotline {
    display: flex;
    min-width: 190px;
    flex-direction: column;
    gap: 4px;
    padding-left: 28px;
    border-left: 1px solid #e6e6e6;
}
.ecf-hotline span {
    color: #777;
    font-size: 12px;
}
.ecf-hotline strong {
    color: #111;
    font: 700 22px Arial, sans-serif;
    letter-spacing: .5px;
}
.ecf-reference-header .ecf-menu-toggle {
    display: none;
}
.ecf-reference-header + .ecf-mobile-nav {
    display: none;
}
.ecf-header-banner {
    position: relative;
    width: 100%;
    height: 480px;
    overflow: hidden;
    background: #0788c9;
}
.ecf-banner-slider,
.ecf-banner-slide,
.ecf-banner-slide img {
    width: 100%;
    height: 100%;
}
.ecf-banner-slider {
    position: relative;
}
.ecf-banner-slide {
    position: absolute;
    inset: 0;
    visibility: hidden;
    opacity: 0;
    transition: opacity .6s ease, visibility .6s ease;
}
.ecf-banner-slide.is-active {
    z-index: 1;
    visibility: visible;
    opacity: 1;
}
.ecf-banner-slide img {
    display: block;
    object-fit: cover;
    object-position: center center;
}
.ecf-banner-arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 42px;
    height: 62px;
    margin-top: -31px;
    border: 0;
    background: rgba(0, 0, 0, .25);
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    transition: opacity .25s, background .25s;
}
.ecf-header-banner:hover .ecf-banner-arrow {
    opacity: 1;
}
.ecf-banner-arrow:hover {
    background: rgba(1, 97, 183, .85);
}
.ecf-banner-prev {
    left: 20px;
}
.ecf-banner-next {
    right: 20px;
}
.ecf-banner-dots {
    position: absolute;
    bottom: 22px;
    left: 50%;
    z-index: 4;
    display: flex;
    gap: 9px;
    transform: translateX(-50%);
}
.ecf-banner-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 1px solid #fff;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    opacity: .85;
}
.ecf-banner-dot.is-active {
    width: 27px;
    border-radius: 8px;
    background: #fff;
}
.ecf-site .ecf-hero {
    display: none;
}
@media (max-width: 1100px) {
    .ecf-nav-container {
        gap: 20px;
    }
    .ecf-reference-header .ecf-nav ul {
        gap: 15px;
    }
    .ecf-hotline {
        min-width: 160px;
        padding-left: 14px;
    }
    .ecf-hotline strong {
        font-size: 18px;
    }
    .ecf-brand-dark {
        min-width: 210px;
    }
    .ecf-brand-dark img {
        max-width: 210px;
        height: 50px;
    }
}
@media (max-width: 900px) {
    .ecf-header-container {
        padding-right: 20px;
        padding-left: 20px;
    }
    .ecf-topbar,
    .ecf-topbar .ecf-header-container {
        height: 32px;
    }
    .ecf-topbar > .ecf-header-container > span {
        max-width: 70%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .ecf-topbar-links {
        gap: 7px;
        font-size: 11px;
    }
    .ecf-nav-wrap,
    .ecf-nav-container {
        height: 76px;
    }
    .ecf-nav-container {
        gap: 0;
    }
    .ecf-reference-header .ecf-nav,
    .ecf-hotline {
        display: none;
    }
    .ecf-brand-dark {
        min-width: 0;
    }
    .ecf-brand-dark img {
        max-width: 180px;
        height: 44px;
    }
    .ecf-reference-header .ecf-menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 6px;
        margin-left: auto;
        padding: 8px;
        border: 0;
        background: transparent;
    }
    .ecf-reference-header .ecf-menu-toggle span {
        display: block;
        width: 25px;
        height: 2px;
        background: #111;
        transition: .2s;
    }
    .ecf-reference-header .ecf-menu-toggle.is-open span:first-child {
        transform: translateY(4px) rotate(45deg);
    }
    .ecf-reference-header .ecf-menu-toggle.is-open span:last-child {
        transform: translateY(-4px) rotate(-45deg);
    }
    .ecf-reference-header + .ecf-mobile-nav {
        position: fixed;
        top: 108px;
        right: 0;
        left: 0;
        z-index: 99999;
        display: none;
        flex-direction: column;
        padding: 10px 20px 18px;
        border-bottom: 1px solid #ddd;
        background: #fff;
        box-shadow: 0 5px 12px rgba(0, 0, 0, .1);
    }
    .ecf-reference-header + .ecf-mobile-nav.is-open {
        display: flex;
    }
    .ecf-reference-header + .ecf-mobile-nav a {
        padding: 13px 0;
        border-bottom: 1px solid #eee;
        color: #111;
        font-size: 14px;
        text-decoration: none;
    }
    .ecf-header-banner {
        height: 550px;
    }
    .ecf-banner-arrow {
        width: 32px;
        height: 46px;
        margin-top: -23px;
        font-size: 18px;
    }
    .ecf-banner-prev {
        left: 8px;
    }
    .ecf-banner-next {
        right: 8px;
    }
    .ecf-banner-dots {
        bottom: 12px;
    }
}

/* Banner 按原图比例显示，避免 cover 裁切造成文字发虚 */
.ecf-header-banner {
    height: auto;
    aspect-ratio: 1903 / 550;
}
.ecf-banner-slide img {
    object-fit: contain;
    object-position: center center;
}
@media (max-width: 900px) {
    .ecf-header-banner {
        height: auto;
        aspect-ratio: 1903 / 550;
    }
}




/* Banner 下方五项展会优势 */
.ecf-advantage-bar {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    width: 100%;
    min-height: 170px;
    padding: 28px 32px 24px;
    box-sizing: border-box;
    background: #fff;
}
.ecf-advantage-item {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    color: #0161b7;
    text-align: center;
}
.ecf-advantage-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 8px;
}
.ecf-advantage-icon svg {
    width: 38px;
    height: 38px;
    fill: none;
    stroke: #0161b7;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
}
.ecf-advantage-item strong {
    font-size: 22px;
    font-weight: 400;
    line-height: 1.35;
    white-space: nowrap;
}
.ecf-advantage-item i {
    display: block;
    width: 40px;
    height: 1px;
    margin: 9px 0 8px;
    background: #0161b7;
}
.ecf-advantage-item > span:last-child {
    font-size: 16px;
    line-height: 1.4;
    white-space: nowrap;
}
@media (max-width: 900px) {
    .ecf-advantage-bar {
        grid-template-columns: repeat(3, 1fr);
        gap: 22px 8px;
        min-height: 0;
        padding: 28px 14px;
    }
    .ecf-advantage-item strong {
        font-size: 18px;
    }
    .ecf-advantage-item > span:last-child {
        font-size: 13px;
    }
}

/* 首页主内容区域最大宽度 */
.ecf-site .ep-main {
    width: 100%;
    max-width: 1240px;
    margin-right: auto;
    margin-left: auto;
}

.ecf-topbar-links .ecf-wechat-trigger,
.ecf-social-wechat {
    position: relative;
}

.ecf-wechat-qrcode {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    z-index: 300;
    display: block;
    width: 125px;
    padding: 8px;
    border: 1px solid #e2e8ed;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(20, 52, 76, .2);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 6px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
    visibility: hidden;
    box-sizing: border-box;
}

.ecf-wechat-qrcode::before {
    position: absolute;
    top: -6px;
    left: 50%;
    width: 10px;
    height: 10px;
    border-top: 1px solid #e2e8ed;
    border-left: 1px solid #e2e8ed;
    background: #fff;
    content: "";
    transform: translateX(-50%) rotate(45deg);
}

.ecf-wechat-qrcode img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
}

.ecf-topbar-links .ecf-wechat-trigger:hover .ecf-wechat-qrcode,
.ecf-topbar-links .ecf-wechat-trigger:focus .ecf-wechat-qrcode,
.ecf-social-wechat:hover .ecf-wechat-qrcode,
.ecf-social-wechat:focus .ecf-wechat-qrcode {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
    visibility: visible;
}

.ecf-social-wechat .ecf-wechat-qrcode {
    top: calc(100% + 12px);
}

.ecf-topbar-links .ecf-wechat-trigger > .ecf-wechat-qrcode,
.ecf-social-wechat > .ecf-wechat-qrcode {
    display: none !important;
    opacity: 0;
    visibility: hidden;
}

.ecf-topbar-links .ecf-wechat-trigger:hover > .ecf-wechat-qrcode,
.ecf-social-wechat:hover > .ecf-wechat-qrcode {
    display: block !important;
    opacity: 1;
    visibility: visible;
}
