html{
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    -moz-tab-size: 4;
    tab-size: 4;
    font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-feature-settings: normal;
    font-variation-settings: normal;
    -webkit-tap-highlight-color: transparent;
    font-size: 16px;
}

:root {
    --primary: #4caf50;
    --primary-dark: #388e3c;
    --secondary: #8d6e63;
    --accent: #ff9800;
    --light-bg: #f7fafc;
    --dark-text: #333333;
}

body {
    font-family: 'Noto Sans SC', system-ui, sans-serif;
    background: linear-gradient(135deg, #f0fdf4 0%, #f1f5f9 100%);
    min-height: 100vh;
    color: var(--dark-text);
}

.header{
    position: fixed;
    width: 100%;
    z-index: 99999;
}
.page-container {
    width: 100%;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    /*border-radius: 16px;*/
    overflow: hidden;
    background: white;
}

.px-8 {
    padding-left: 15rem;
    padding-right: 15rem;
}
.py-12 {
    padding-top: 3rem;
    padding-bottom: 1rem;
}

.cardNoHover,
.card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.bg-gradient-primary {
    background: linear-gradient(120deg, #2e7d32 0%, #4caf50 100%);
}

.divider {
    height: 3px;
    background: var(--primary);
    width: 50px;
    border-radius: 2px;
}

.slider-container {
    position: relative;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.slide.active {
    opacity: 1;
}

.slider-indicators {
    position: absolute;
    bottom: 15px;
    display: flex;
    justify-content: center;
    width: 100%;
}

.indicator {
    height: 8px;
    width: 30px;
    background: rgba(255, 255, 255, 0.6);
    margin: 0 5px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: white;
    width: 40px;
}

.btn-primary {
    background: linear-gradient(120deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border-radius: 50px;
    padding: 12px 24px;
    font-weight: 500;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(76, 175, 80, 0.4);
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(76, 175, 80, 0.5);
}

.tech-icon svg {
    width: 100% !important;
    height: 100% !important;
}

/* 微信小程序TabBar样式 */
.wechat-tabbar-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: white;
    border-top: 1px solid #e5e5e5;
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 1000;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
}

.tabbar-item {
    margin-bottom: 5px;
    height: 70px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #666;
}

.tabbar-item.active {
    color: #24C672;
}

.tabbar-icon {
    width: 24px;
    height: 24px;
    margin-bottom: 2px;
    transition: filter 0.3s ease;
}

.tabbar-text {
    font-size: 10px;
    line-height: 1;
    text-align: center;
}

.font-medium{
    font-size: 1.2rem;
}

.nav-tabs{
    display: inline-flex;
    align-items: stretch;
    border: 0;
}

.nav-tabs li{
    display: inline-flex;
    margin-right: 10px;
}
.nav-tabs li a{
    color: #6B7280;
    cursor: pointer;
    border: 0 !important;
}


.nav-tabs .active a{
    color:#2c7b30;
}

.nav-tabs .active h2{
    color: #2c7b30;
}



.nav-tabs .active h2::after {
    content: ''; /* 必须有这个属性，即使内容为空 */
    position: absolute;
    width: 50px;
    height: 3px;
    left: 15px;
    right: 0;
    bottom: -0.125rem; /* 根据需要调整距离文字的距离 */
    background-color: var(--primary); /* 横线的颜色 */
}

.page-container .banner{
    height: 20rem;
    margin-top: 5rem;
}

.tac {
    text-align: center;
    margin-top: 15px;
}

.container-div ul.uk-subnav.user_nav.el{
    border-bottom: solid #ddd;
    width: auto;
    float: none;
    display: inline-flex;
    padding-bottom: 15px;
}

.container-div ul.uk-subnav.user_nav.el li {
    padding: 0;
    margin: 0 40px;
    list-style: none;
    font-size: 1.2rem;
}

.uk-active {
    color: var(--primary); /* 横线的颜色 */
}

header .menuItem.active{
    color:#4caf50
}

.container-div {
    width: 80%;
    margin: auto;
    padding-bottom: 60px;
}

.article-view {
    border-radius: 8px;
    padding: 10px 50px;
}
.article-title {
    color: #333;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    border-bottom: 1px solid #ddd;
    padding: 15px 20px 20px 20px;
}
.article-desc {
    padding: 8px 10px 8px;
    margin: 10px 20px 20px 35px;
    font-size: 1.1rem;
}
.article-content {
    padding-top: 20px;
}

.article-info {
    border-top: 1px solid #ddd;
    padding: 10px;
    margin: 30px 0 0;
    font-size: 1.1rem;
}

.pagination > .active > a, .pagination > .active > a:focus, .pagination > .active > a:hover, .pagination > .active > span, .pagination > .active > span:focus, .pagination > .active > span:hover{
    background-color: #2c7b30;
    border-color: #2c7b30;
}
.pagination > li > a, .pagination > li > span{
    color: #2c7b30;
}

/* 小屏幕适配 */
@media (max-width: 550px) {
    .h5{
       display: none !important;
    }
    .wechat-tabbar-container {
        height: 70px;
    }

    .tabbar-icon {
        width: 24px;
        height: 24px;
    }

    .tabbar-text {
        font-size: 12px;
    }

    .tech-icon svg {
        width: 100% !important;
        height: 100% !important;
    }

    .px-8 {
         padding-left: 1rem;
         padding-right: 1rem;
    }
    .grid{
        display: block;
    }
    #warningSwiper{
        height: 350px;
    }

    .mainContainer .banner{
        height: 15rem;
    }
    .text-3xl{
        font-size: 1.5rem;
        line-height: 2rem;
    }

    .container-div ul.uk-subnav.user_nav.el li{
        margin: 0 5px;
    }
}