@charset "utf-8";

/* ==========================================================================
   首页专用组件
   ========================================================================== */
.links li { float: left; }
.links li img { width: 180px; height: 49px; }

.search { height: 120px; background: #fff; }
.search form { margin: 10px; }
.search form input { position: relative; padding: 10px; }
.Search_select { padding: 10px 0; font-size: 16px; }

#FuZhuRenZhiChuang a { display: block; }
.fu-list { margin: 40px 0 35px 70px; }

#RenDaXinWen li { background: url("../images/ph_dot1.png") left no-repeat; }

.col ul,
.zl-list-1,
.zl-list-2 { background: #fff; }

.zl-list-1 a,
.zl-list-2 a { display: block; float: left; }
.zl-list-1 a img { width: 280px; height: 70px; padding: 10px; }
.zl-list-2 a img { width: 580px; height: 94px; padding: 10px; }

.gz { height: 50px; font-size: 18px; line-height: 50px; }
.gzp b { color: #00f; }

.ldcy { padding: 5px; }

.ldcy a {
    display: block;
    height: 50px;
    margin-bottom: 5px;
    padding-left: 50px;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    line-height: 50px;
    letter-spacing: 2px;
    text-align: center;
    background: url("../images/ldcy.png") no-repeat;
}

.Search { font-size: 16px; line-height: 35px; }
.Search_input { width: 160px; padding: 10px; font-size: 16px; }
.Search_submit { margin-top: 10px; padding: 10px; }

#TouGaoPaiMing {
    height: 375px;
    padding: 10px;
    font-size: 16px;
    background: url("../images/numbg.png") no-repeat bottom #fff;
}

#TouGaoPaiMing a { display: block; margin-bottom: 10px; }

#TouGaoPaiMing a b {
    display: block;
    float: left;
    width: 30px;
    margin-right: 30px;
    text-align: center;
}

#TouGaoPaiMing a b.i3 { color: #fff; background: #a00; }
#TouGaoPaiMing a b.in { background: #e0e0e0; }

.tgpm_more {
    display: block;
    float: right;
    padding: 0 10px;
    font-size: 16px;
    background: #e0e0e0;
}

.links_select { padding: 10px; font-size: 18px; text-align: center; }
#GXSQZXGZDT li { line-height: 38px; }

.dpgslzwhgz a,
.gzzdjgdj a { margin-right: 20px; font-size: 22px; }
.dpgslzwhgz .more,
.gzzdjgdj .more { margin-right: 10px; font-size: 18px; }

/* ==========================================================================
   首页大图轮播
   ========================================================================== */
.ph_img1 .swiper-container {
    position: relative;
    width: 790px;
    height: 503px;
    overflow: hidden;
    background: #111;
}

.ph_img1 .swiper-container .swiper-wrapper { height: 100%; }

.ph_img1 .swiper-container .swiper-slide {
    position: relative;
    height: 100%;
    overflow: hidden;
    text-align: left;
}

.ph_img1 .swiper-container .swiper-slide > a {
    display: block;
    width: 100%;
    height: 100%;
}

.ph_img1 .swiper-container .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
}

.ph_img1 .swiper-container .swiper-slide span {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 3;
    padding: 12px 18px;
    box-sizing: border-box;
    line-height: 1.5;
    text-align: left;
    background: linear-gradient(90deg, rgba(0, 0, 0, .76), rgba(0, 0, 0, .38));
}

.ph_img1 .swiper-container .swiper-slide span a {
    display: block;
    overflow: hidden;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ph_img1 .swiper-container .prev0,
.ph_img1 .swiper-container .next0 {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 44px;
    height: 44px;
    margin-top: -22px;
    padding: 0;
    color: #fff;
    font-size: 0;
    cursor: pointer;
    background: rgba(0, 0, 0, .42);
    border: 0;
    border-radius: 3px;
    transition: background .2s;
}

.ph_img1 .swiper-container .prev0 { left: 16px; }
.ph_img1 .swiper-container .next0 { right: 16px; }

.ph_img1 .swiper-container .prev0::before,
.ph_img1 .swiper-container .next0::before {
    display: block;
    font-size: 28px;
    line-height: 44px;
    text-align: center;
}

.ph_img1 .swiper-container .prev0::before { content: "\2039"; }
.ph_img1 .swiper-container .next0::before { content: "\203A"; }

.ph_img1 .swiper-container .prev0:hover,
.ph_img1 .swiper-container .next0:hover { background: rgba(181, 18, 27, .9); }

.ph_img1 .swiper-container .num0 {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 6;
    padding: 6px 12px;
    color: #fff;
    font-size: 14px;
    font-style: normal;
    line-height: 1;
    letter-spacing: 1px;
    background: rgba(0, 0, 0, .55);
    border-radius: 999px;
}

.ph_img1 .swiper-container .num0 .thisp {
    color: #ffd04b;
    font-weight: 700;
}

.ph_img1 .swiper-container .num0 .sep {
    margin: 0 3px;
    color: rgba(255, 255, 255, .72);
}

@media (max-width: 860px) {
    .ph_img1 .swiper-container { width: 100%; height: 300px; }
    .ph_img1 .swiper-container .swiper-slide span a { font-size: 15px; }

    .ph_img1 .swiper-container .prev0,
    .ph_img1 .swiper-container .next0 {
        width: 36px;
        height: 36px;
        margin-top: -18px;
    }

    .ph_img1 .swiper-container .prev0::before,
    .ph_img1 .swiper-container .next0::before {
        font-size: 24px;
        line-height: 36px;
    }
}

/* ==========================================================================
   首页左右分栏与双栏区块
   ========================================================================== */
.home-columns {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

接

.home-columns > .col {
    float: none;
    width: auto;
    margin: 0;
}

.home-main {
    flex: 1 1 0;
    min-width: 0;
}

.home-side {
    flex: 0 0 29.1667%;
    min-width: 0;
}

.home-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.home-row > .col {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    margin: 0;
    float: none;
}

@media (max-width: 900px) {
    .home-columns { flex-direction: column; }
    .home-main,
    .home-side { flex-basis: auto; width: 100%; }
    .home-side { order: 2; }
}

.home-wide a {
    display: block;
    line-height: 0;
}

.home-wide img {
    display: block;
    width: 100%;
    height: auto;
}

.home-wide {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    overflow: hidden;
}

.home-wide > * {
    min-width: 0;
}

/* 单图占满一行 */
.home-wide > :only-child {
    grid-column: 1 / -1;
}

/* 三图一排；四图仍按默认两列排成两排 */
.home-wide:has(> :nth-child(3):last-child) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-side img {
    display: block;
    width: 100%;
    height: auto;
}

/* 兼容不支持 :has() 的浏览器，可在容器上显式加 home-wide--3 */
.home-wide.home-wide--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* 清除 .cf 伪元素在 flex 容器中额外生成的间距 */
.home-columns::before,
.home-columns::after {
    display: none;
    content: none;
}
