/* ========== 首页样式 - index.css ========== */

/* ==================== 双图轮播 ==================== */
.index_dual_slide {
    display: flex;
    gap: 12px;
    max-width: 1000px;
    margin: 14px auto 0;
    padding: 0 20px;
    height: 220px;
    position: relative;
}

.dual_slide_item {
    position: absolute;
    top: 0;
    width: calc(50% - 26px);
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
    pointer-events: none;
    overflow: hidden;
    border-radius: 4px;
}

.dual_slide_item.dual_as_left {
    left: 20px;
}

.dual_slide_item.dual_as_right {
    right: 20px;
}

.dual_slide_item.dual_active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}

.dual_slide_bg {
    display: block;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform .3s;
}

.dual_slide_bg:hover {
    transform: scale(1.03);
}

.hero-card .tag {
    display: inline-block;
    background: #c0392b;
    color: #fff;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 2px;
    margin-bottom: 6px;
}

.hero-card .tag.blue {
    background: #1a3a6b;
}

.slide_caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 18px 14px;
    background: linear-gradient(transparent, rgba(0,0,0,0.72));
    pointer-events: none;
}

.slide_badge {
    display: inline-block;
    background: #e74c3c;
    color: #fff;
    font-size: 12px;
    padding: 2px 10px;
    border-radius: 2px;
    margin-bottom: 6px;
}

.slide_title {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dual_slide_placeholder {
    background: #dce6f0;
}

/* 轮播指示点 */
.dual_slide_dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 8px;
}

.dual_dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,.5);
    cursor: pointer;
    transition: background .3s;
}

.dual_dot.active,
.dual_dot:hover {
    background: #fff;
}

/* 轮播左右箭头 */
.dual_slide_arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 60px;
    border: none;
    background: rgba(0,0,0,.3);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    transition: background .3s;
    outline: none;
    border-radius: 2px;
}

.dual_slide_arrow:hover {
    background: rgba(0,0,0,.6);
}

.dual_arrow_left {
    left: 20px;
}

.dual_arrow_right {
    right: 20px;
}

/* ==================== 主区域：快捷入口 + 重要发布 ==================== */
.main_content_row {
    display: grid;
    grid-template-columns: 230px 1fr;
    max-width: 1000px;
    margin: 0 auto 30px;
    padding: 0 20px;
    gap: 20px;
    align-items: stretch;
}

/* ---- 左侧纵向快捷入口 ---- */
.index_path_vertical {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-self: stretch;
    justify-content: space-between;
    padding-top: 64px;
}

.path_item {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    padding: 13px 16px;
    color: #fff;
    border-radius: 3px;
    cursor: pointer;
    transition: filter 0.2s, transform 0.15s;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 5px;
    position: relative;
    overflow: hidden;
}

/* 奇数项：深蓝渐变 */
.path_item:nth-child(odd) {
    background: linear-gradient(135deg, #0d2744 0%, #1a3a6b 45%, #2a5298 100%);
}

/* 偶数项：中蓝渐变 */
.path_item:nth-child(even) {
    background: linear-gradient(135deg, #1e4d8c 0%, #2d6ab0 45%, #4a8fd4 100%);
}

.path_item:last-child {
    margin-bottom: 0;
}

.path_item:hover {
    filter: brightness(1.18);
    transform: translateX(4px);
    color: #fff;
}

/* 左侧亮边装饰线 */
.path_item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: rgba(255,255,255,0.5);
    border-radius: 2px 0 0 2px;
}

.path_icon {
    width: 30px;
    height: 30px;
    background: rgba(255,255,255,0.18);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 15px;
}

.path_item span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    min-width: 0;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
}

/* ---- 右侧重要发布 ---- */
.important_notice {
    flex: 1;
    min-width: 0;
    background: #fff;
    padding: 20px 24px;
    border-radius: 4px;
    align-self: start;
}

.important_notice_hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid #e8e8e8;
    padding-bottom: 10px;
    margin-bottom: 14px;
}

.notice_title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 700;
    color: #1a3a6b;
}

.notice_title::before {
    content: '';
    display: block;
    width: 5px;
    height: 26px;
    background: #1a3a6b;
    border-radius: 2px;
    flex-shrink: 0;
}

.notice_bar {
    display: none;
}

.notice_more {
    font-size: 13px;
    color: #888;
    display: flex;
    align-items: center;
    gap: 4px;
}

.notice_more:hover {
    color: #1a3a6b;
}

.notice_list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.notice_list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px dashed #e8e8e8;
    gap: 12px;
}

.notice_list li:last-child {
    border-bottom: none;
}

.notice_list li:hover a {
    color: #1a3a6b;
}

.notice_dot {
    width: 7px;
    height: 7px;
    background: #1a3a6b;
    border-radius: 50%;
    flex-shrink: 0;
    font-size: 0;
    overflow: hidden;
}

.notice_list li a {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    color: #333;
    line-height: 1.5;
    cursor: pointer;
    transition: color 0.2s;
}

.notice_list li a:hover {
    color: #1a3a6b;
}

.notice_date {
    flex-shrink: 0;
    margin-left: 16px;
    font-size: 12px;
    color: #999;
}

/* ==================== 模块3 - 出版物 / 合作网站 / 友情链接 ==================== */
.index_box {
    width: 1200px;
    margin: 18px auto;
    background: #fff;
    border-radius: 4px;
}

.index_box03 {
    overflow: hidden;
    padding: 0;
}

.index_box_top {
    display: flex;
    align-items: flex-start;
    padding: 22px 30px 0;
    border-bottom: 1px solid #D8D8D8;
}

.index_box_top dl {
    overflow: hidden;
}

.index_box_top dt {
    height: 20px;
    border-left: 3px solid #16B1B7;
    padding-left: 13px;
    line-height: 20px;
    font-size: 18px;
    color: #424242;
    letter-spacing: 1px;
}

.publish_thing dd {
    padding-top: 18px;
}

.publish_thing dd a {
    float: left;
    text-align: center;
    font-size: 14px;
    color: #424242;
    padding: 26px 10px 16px;
}

.publish_thing dd a:hover {
    color: #1DA5EA;
    background: #F2F2F2;
}

.publish_thing dd img {
    height: 32px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.publish_thing dd a p {
    margin: 0;
    font-size: 14px;
    color: inherit;
}

.index_box_top .line {
    width: 1px;
    flex-shrink: 0;
    align-self: stretch;
    margin-top: 24px;
    margin-bottom: 16px;
    background: #D8D8D8;
}

.cooperation_web {
    flex: 1;
    min-width: 0;
    padding-left: 45px;
}

.cooperation_web dd {
    display: flex;
    flex-wrap: wrap;
}

.cooperation_web a {
    width: 260px;
    height: 60px;
    line-height: 32px;
    padding-top: 28px;
    color: #424242;
}

.cooperation_web a span {
    padding-left: 8px;
    font-size: 14px;
    letter-spacing: 0;
}

.cooperation_web a:hover {
    color: #1DA5EA;
}

.cooperation_web .fuhao_logo {
    width: 30px;
    vertical-align: middle;
}

.cooperation_web .to_more {
    float: right;
    width: auto;
    height: 20px;
    line-height: 20px;
    padding-top: 0;
    font-size: 14px;
    color: #999;
    text-decoration: none;
}

/* 友情链接 */
.index_box_bottom {
    padding: 20px 30px 10px;
}

.index_box_bottom dt {
    height: 20px;
    line-height: 20px;
    padding-left: 13px;
    border-left: 3px solid #16B1B7;
    font-size: 18px;
    color: #424242;
    letter-spacing: 0;
}

.index_box_bottom dd {
    width: 1140px;
    overflow: hidden;
    padding-top: 20px;
}

.index_box_bottom dd a {
    float: left;
    padding-right: 64px;
    padding-bottom: 20px;
    font-size: 14px;
    color: #424242;
}

.index_box_bottom dd a:hover {
    color: #1DA5EA;
}

.to_more_x {
    float: right;
    font-size: 14px;
    font-weight: normal;
    color: #999;
}

/* 分割线 */
.line {
    width: 1px;
    flex-shrink: 0;
    background: #f0f0f0;
    margin: 0 20px;
}

/* 3.1 re_fuhao */
.re_fuhao {
    position: relative;
}

.re_fuhao .wai_box {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.re_fuhao .wai_box img {
    position: absolute;
    width: 260px;
    height: 130px;
}

.re_fuhao .wai_box .sj_top {
    top: 0;
    left: 55%;
}

.re_fuhao .wai_box .sj_bottom {
    bottom: 0;
    left: 6%;
}

.re_fuhao .re_main_box {
    position: absolute;
    top: 0;
    left: 0;
    padding: 0 24px;
    z-index: 2;
}

.re_fuhao .re_main_box h4 {
    font-size: 18px;
    color: #424242;
    line-height: 25px;
    padding-top: 22px;
    margin-bottom: 20px;
}

.re_ct_box img {
    width: 50px;
    height: 139px;
    float: left;
    margin-right: 16px;
}

.vip_show .re_ct_box .re_lists {
    float: left;
}

.vip_show .re_ct_box .re_lists p {
    font-size: 12px;
    color: #424242;
    line-height: 17px;
}

.vip_show .re_ct_box .re_btn {
    float: right;
    margin-left: 63px;
    margin-top: 106px;
    cursor: pointer;
}

/* 辅助类 */
.cc {
    position: relative;
}

/* ==================== 响应式设计 - 平板 (<=1024px) ==================== */
@media screen and (max-width: 1024px) {
    .index_dual_slide {
        max-width: 100%;
        padding: 12px 15px 0;
        height: 180px;
    }

    .dual_slide_item {
        width: calc(50% - 6px);
    }

    .main_content_row {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }

    .index_path_vertical {
        flex-direction: row;
        flex-wrap: wrap;
        padding-top: 0;
    }

    .path_item {
        flex: 1 1 calc(50% - 6px);
    }

    .index_box {
        width: 100%;
        box-sizing: border-box;
        margin: 12px auto;
    }

    .index_box_bottom dd {
        width: 100%;
    }

    .cooperation_web a {
        width: 200px;
    }
}

/* ==================== 响应式设计 - 手机 (<=768px) ==================== */
@media screen and (max-width: 768px) {
    .index_dual_slide {
        height: 170px;
        padding: 10px 10px 0;
    }

    .dual_slide_item {
        width: calc(50% - 6px);
        height: 100%;
    }

    .main_content_row {
        grid-template-columns: 1fr;
        padding: 0 10px;
        margin-top: 14px;
    }

    .index_path_vertical {
        flex-direction: row;
        flex-wrap: wrap;
        padding-top: 0;
    }

    .path_item {
        flex: 1 1 calc(50% - 6px);
    }

    .important_notice {
        border-radius: 0 0 4px 4px;
        padding: 16px;
    }

    /* 模块3 */
    .index_box {
        width: 100%;
        margin: 10px auto;
        padding: 0;
        box-sizing: border-box;
    }

    .index_box03 {
        overflow: visible;
    }

    .index_box_top {
        flex-direction: column;
        padding: 15px;
    }

    .index_box_top .line {
        width: 100%;
        height: 1px;
        margin: 10px 0;
    }

    .cooperation_web {
        padding-left: 0;
    }

    .cooperation_web dd {
        flex-direction: column;
    }

    .cooperation_web a {
        width: 100%;
        height: auto;
        padding: 10px 0;
        line-height: 1.5;
    }

    .publish_thing dd a {
        padding: 15px 8px 10px;
    }

    .publish_thing dd img {
        height: 24px;
        margin-bottom: 10px;
    }

    .publish_thing dd a p {
        font-size: 12px;
    }

    .index_box_bottom {
        padding: 15px;
    }

    .index_box_bottom dd {
        width: 100%;
    }

    .index_box_bottom dd a {
        float: none;
        display: inline-block;
        padding-right: 20px;
        padding-bottom: 10px;
        font-size: 13px;
    }
}

/* ==================== 响应式设计 - 小屏手机 (<=480px) ==================== */
@media screen and (max-width: 480px) {
    .dual_slide_item {
        height: 100%;
    }

    .path_item span {
        font-size: 13px;
    }

    .notice_list li a {
        font-size: 13px;
    }

    .cooperation_web a span {
        font-size: 13px;
    }
}
