
/* 原有PC端样式（完全保留） */
.cardiology-nav-tabs {
    display: flex;
    align-items: end;
    justify-content: center;
    min-height: 110px;
    background: #eff6fc;
    border-radius: 0;
    overflow: visible;
}
@media (min-width: 1000px) {
    .cardiology-nav-tabs .nav-tabs-item {
        display: flex;
        flex-wrap: nowrap;
        align-items: flex-end;
    }
    .cardiology-nav-tabs .tab-item {
        white-space: normal;
        word-break: break-word;
        text-align: center;
        padding: 20px 40px;
    }
    .cardiology-nav-tabs .tab-item::after {
        content: '';
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 2px;
        height: 30px;
        background-color: #bfceda;
    }
    .cardiology-nav-tabs .tab-item:last-child::after {
        display: none;
    }
    .cardiology-nav-tabs .tab-item.active::after {
        display: none;
    }
    .cardiology-nav-tabs .tab-item:has(+ .active)::after {
        display: none;
    }
    /* 移动端下拉仅在小屏隐藏 */
    .mobile-dropdown {
        display: none;
    }
}
@media screen and (min-width: 1730px) {
    .cardiology-nav-tabs {min-height: 100px;}
    .cardiology-nav-tabs .tab-item {padding: 20px 40px;}
}
.cardiology-nav-tabs .tab-item {
    cursor: pointer;
    border: none;
    background: transparent;
    font-size: 16px;
    color: #2874a6;
    font-family: 'Open Sans', sans-serif;
    transition: all 0.2s ease;
    position: relative;
    font-weight: 600;
}
.cardiology-nav-tabs .tab-item.active {
    background: #ffffff;
    color: #4d5776;
    clip-path: polygon(5% 0%, 95% 0%, 100% 100%, 0% 100%);
}
.ly_article_1 .disease-section {
    display: none;
}
.ly_article_1 .disease-section.active {
    display: block;
}

/* 新增移动端下拉样式（仅<1000px生效） */
@media (max-width: 999px) {
    /* 隐藏PC端导航 */
    .cardiology-nav-tabs .nav-tabs-item {
        display: none;
    }
    /* 显示移动端下拉容器 */
    .cardiology-nav-tabs .mobile-dropdown {
        display: block;
        width: 100%;
        padding: 25px 20px;
        box-sizing: border-box;
    }
    /* 下拉标题文字 */
    .mobile-dropdown .dropdown-title {
        display: block;
        font-size: 18px;
        color: #666;
        margin-bottom: 12px;
    }
    /* 选中项头部（带下划线+箭头） */
    .mobile-dropdown .selected-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 20px;
        color: #2b3a68;
        font-weight: 600;
        padding-bottom: 10px;
        border-bottom: 2px solid #bfceda;
        cursor: pointer;
    }
    /* 箭头样式（点击旋转） */
    .mobile-dropdown .arrow {
        font-size: 28px;
        color: #999;
        transition: transform 0.2s ease;
    }
    .mobile-dropdown .arrow.open {
        transform: rotate(90deg);
    }
    /* 下拉选项列表 */
    .mobile-dropdown .dropdown-options {
        display: none;
        list-style: none;
        padding: 0;
        margin: 15px 0 0 0;
        background: #fff;
        border-radius: 4px;
        box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    }
    .mobile-dropdown .dropdown-options.open {
        display: block;
    }
    /* 选项样式 */
    .mobile-dropdown .dropdown-options li {
        padding: 15px 20px;
        font-size: 16px;
        color: #2874a6;
        cursor: pointer;
        transition: background 0.2s ease;
    }
    .mobile-dropdown .dropdown-options li:hover {
        background: #eff6fc;
    }
}
