﻿/* 内容区域 */
/* 轮播 */
.content {
    margin-top: 20px;
}
.swiperall{
    margin-top: 20px;
}
.swiper-container1 {
    width: 580px;
    height: 400px;
    overflow: hidden;
    position: relative;
    /* 使箭头定位有效 */
}

.swiper-container1 .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #000000;
}

.swiper-slide  {
    width: 580px;
    height: 400px;
    object-fit: cover;
}
.swiper-slide img {
    width: 580px;
    height: 400px
}

.swiper-pagination {
    bottom: 10px !important;
    /* 指示点位置 */
    margin-left: 200px;
}

.swiper-pagination-bullet {
    width: 15px !important;
    /* 指示点宽度 */
    height: 15px !important;
    /* 指示点高度 */
    background: #ff2c2c !important;
    /* 指示点颜色 */
    opacity: 0.5;
    /* 不透明度 */
    border-radius: 50%;
    /* 圆形 */
}

.swiper-button-next,
.swiper-button-prev {
    color: #522a2a !important;
    /* 箭头颜色 */
}

.content-bgc {

    background-color: rgb(242, 242, 242);
    background-color: rgb(242, 242, 242);
}

.bgc {
    width: 100%;
    height: 20px;
    background-color: rgb(242, 242, 242);
}

.shadow {
    position: absolute;
    bottom: 0;
    width: 580px;
    height: 60px;
    background-color: #000000;
    z-index: 1;
    opacity: 0.5;
}

.swipero-content {
    display: flex;
    position: relative;
    width: 1200px;
    margin: auto;
}



/* tab栏 */
.swipero-right {
        max-width: 100%;
        min-width: 300px;
        flex: 1 1 auto;
}

.info-tabs {
    display: flex;
    justify-content: space-between;
    position: relative;
    border-bottom: 1px solid #e0e0e0;
    margin-left: 16px;
}

.info-tab {
    font-size: 18px;
    color: #656c74;
    padding: 10px 24px;
    padding-top: 0;
    cursor: pointer;
    transition: color 0.3s;
}

.info-tab.active {
    color: #2a5298;
}
.info-tab a{
    font-size: 18px;
    color: #656c74;
    text-decoration: none;
}

.info-underline {
    position: absolute;
    bottom: -1px;
    left: 0;
    height: 2px;
    background-color: #2a5298;
    transition: left 0.3s ease, width 0.3s ease;
}

.info-tab-content {
    margin-top: 10px;
}

.info-content {
     opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: none;
}

.info-content.active {
        opacity: 1;
    transform: translateY(0);
    display: block;
}

.policy-list {
    list-style-type: none;
}


/* .policy-title {
    flex: 1;
    margin-right: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
} */

.policy-date {
    color: #999;
    font-size: 14px;
}

.highlight {
    color: #2a5298;
    font-weight: bold;
}

/* 活动内容 */
.policy-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.policy-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 16px 0;
    border-bottom: 1px dashed #ccc;
    font-size: 17px;
    margin-left: 20px;
}

.policy-title a:hover {
    color: #2a5298;

}

.policy-title {
    flex-grow: 1;
    margin-right: 10px;
    font-size: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
}

.policy-title::before {
    content: " ";
    color: #999;
}

.policy-date {
    margin-right: 8px;
    color: #999;
    font-size: 12px;
    white-space: nowrap;
}
.policy-title a{
    color: black;
    text-decoration: none;
}


/* 轮播图的自适应 */
@media screen and (max-width: 1200px) {
    .swipero-content {
        width: 100%;
        flex-direction: column;
    }

    .swiper-container1,
    .swiper-slide,
    .shadow {
        width: 100%;
        height: auto;
    }
        .swiper-slide img{
            width: 100vw;
            height: 200px;
        }

    .swipero-right {
        margin-top: 20px;
    }
}

@media screen and (max-width: 768px) {
    .info-tabs {
        justify-content: space-between;
    }

    .info-tab {
        font-size: 16px;
        padding: 10px 15px;
    }

    .policy-item {
        flex-direction: column;
        align-items: flex-start;
        overflow: hidden;
    }

    .policy-title {
        margin-bottom: 5px;
    }

    .policy-date {
        align-self: flex-end;
    }
}

@media screen and (max-width: 480px) {
    .info-tab {
        font-size: 14px;
        padding: 10px 10px;
    }

    .policy-title {
        font-size: 14px;
    }

    .policy-date {
        font-size: 12px;
    }

    .swiper-pagination {
        margin-left: 0;
        left: 50%;
        transform: translateX(-50%);
    }
}


/* 背景图 */
.img_bgc {
    width: 100%;
    max-width: 1200px;
    margin: 20px auto 0;
    overflow: hidden;
}

.img_bgc img {
    width: 100%;
    height: 100px;
    display: block;
    /* object-fit: cover; */
}

.img_flex{
     width: 1200px;
    display: flex;
    margin: auto;
}

@media (max-width: 1220px) {
    .img_bgc {
        margin: 20px 10px 0;
        width: calc(100% - 20px);
    }
}

@media (max-width: 768px) {
    .img_bgc {
        margin: 10px 5px 0;
        width: calc(100% - 10px);
    }
}


  /* 政府信息公开和视频点播样式 */
        .container3 {
            max-width: 1200px;
            display: flex;
            gap: 20px;
            margin: auto;
            margin-top: 20px;
            border-radius: 12px;
        }


        .containerPublic {
            width: 500px;
            background: #fff;
            box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
        }

        .headerPublic {
            background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
            padding: 20px;
            text-align: center;
            box-shadow: 0 4px 12px rgba(30, 58, 138, 0.1);
        }

        .titlePublic {
            color: white;
            font-size: 24px;
            font-weight: bold;
            margin: 0;
        }

        .gridPublic {
            padding: 20px;
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 25px;
        }

        .cardPublic {
            background: white;
            border-radius: 8px;
            padding: 20px 12px;
            display: flex;
            align-items: center;
            gap: 10px;
            cursor: pointer;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
            border: 1px solid #e5e7eb;
        }

        .cardPublic:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(30, 58, 138, 0.1);
            border-color: #1e3a8a;
        }

        .iconPublic {
            width: 24px;
            height: 24px;
            color: #1e3a8a;
        }

        .textPublic {
            font-size: 14px;
            color: #333;
        }

        .textPublic a {
            font-size: 16px;
            color: #333;
            text-decoration: none;

        }

        .applyCardPublic {
            grid-column: 1 / -1;
            background: #f0f7ff;
            border: 1px dashed #93c5fd;
        }

        .applyCardPublic .iconPublic {
            color: #1e3a8a;
        }

        .applyCardPublic .textPublic {
            color: #1e3a8a;
        }

        /* 机关简介 */

        /* 机关简介容器 */
        .organization-intro {
            flex: 1;
            background: #ffffff;
            border-radius: 12px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
            overflow: hidden;
            position: relative;
        }



        .intro-title {
            font-size: 28px;
            font-weight: 700;
            margin-bottom: 8px;
            position: relative;
            z-index: 2;
        }

        .intro-subtitle {
            font-size: 16px;
            opacity: 0.9;
            position: relative;
            z-index: 2;
        }


        /* 机构信息网格 */
        .info-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
            margin-bottom: 35px;
        }

        .info-card {
            background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
            padding: 25px;
            border-radius: 10px;
            border-left: 4px solid #2563eb;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .info-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(37, 99, 235, 0.02) 0%, rgba(59, 130, 246, 0.02) 100%);
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .info-card:hover::before {
            opacity: 1;
        }

        .info-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(37, 99, 235, 0.15);
        }

        .info-card-title {
            font-size: 18px;
            font-weight: 600;
            color: #1e40af;
            margin-bottom: 12px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .info-card-content {
            color: #4b5563;
            line-height: 1.7;
            position: relative;
            z-index: 2;
        }

        /* 详细介绍区域 */
        .detailed-intro {
            background: #ffffff;
            border-radius: 10px;
            padding: 20px;
        }

        .detailed-intro h3 {
            font-size: 20px;
            color: #1e40af;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 2px solid #e5e7eb;
            position: relative;
        }

        .detailed-intro h3::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 60px;
            height: 2px;
            background: #2563eb;
        }

        .detailed-intro p {
            margin-bottom: 15px;
            color: #374151;
            text-align: justify;
            line-height: 1.8;
        }


        /* 响应式设计 */

        /* 大屏幕 (1200px以上) */
        @media screen and (min-width: 1200px) {

            .info-grid {
                gap: 40px;
            }
        }

        /* 中等屏幕 (768px - 1199px) */
        @media screen and (max-width: 1199px) {
            .organization-intro {
                margin: 20px 15px;
            }

            .intro-content {
                padding: 30px 25px;
            }

            .intro-title {
                font-size: 24px;
            }
        }

        /* 平板屏幕 (600px - 767px) */
        @media screen and (max-width: 767px) {
            .info-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }


            .intro-content {
                padding: 25px 20px;
            }

            .intro-title {
                font-size: 22px;
            }

            .intro-subtitle {
                font-size: 14px;
            }

        }

        /* 手机屏幕 (480px - 599px) */
        @media screen and (max-width: 599px) {
            .organization-intro {
                margin: 15px 10px;
                border-radius: 8px;
            }

            .intro-header {
                padding: 18px 15px;
            }

            .intro-content {
                padding: 20px 15px;
            }

            .intro-title {
                font-size: 20px;
            }



        }

        /* 超小屏幕 (480px以下) */
        @media screen and (max-width: 479px) {
            .organization-intro {
                margin: 10px 5px;
                border-radius: 6px;
            }



            .intro-content {
                padding: 18px 12px;
            }

            .intro-title {
                font-size: 18px;
            }

            .intro-subtitle {
                font-size: 13px;
            }

        }

        @media (max-width: 900px) {
            .container3 {
                flex-direction: column;
                width: 100%;
                gap: 16px;
                padding: 0 10px;
            }

            .containerPublic {
                width: 100%;
                margin: 0 auto;
            }
        }

        @media (max-width: 600px) {
            .container3 {
                flex-direction: column;
                width: 100%;
                gap: 10px;
                padding: 0 4px;
            }

            .containerPublic {
                width: 100%;
                min-width: 0;
                box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
                padding: 0;
            }

            .headerPublic {
                padding: 12px 6px;
                font-size: 18px;
                border-radius: 10px;
            }

            .titlePublic {
                font-size: 18px;
            }

            .gridPublic {
                padding: 10px 4px;
                grid-template-columns: 1fr;
                gap: 10px;
            }

            .cardPublic {
                padding: 12px 8px;
                font-size: 13px;
            }
        }

/* tab2 */
    .container4 {
      margin-top: 20px;
    }

    .containerPolicy {
      flex: 1;
      margin: 0 auto;
      background: #fff;
      box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
      overflow: hidden;
    }

    .headerPolicy {
      padding: 20px;
      border-bottom: 1px solid #eee;
      padding-bottom: 10px;
    }

    .tabsPolicy {
      display: flex;
      gap: 20px;
      position: relative;
    }

    .tabPolicy {
      font-size: 18px;
      color: #666;
      cursor: pointer;
      padding: 0 4px 10px;
      position: relative;
      transition: all 0.3s ease;
    }

    .tabPolicy a {
      font-size: 18px;
       color: #666;
      text-decoration: none;
    }

    .tabPolicy.activePolicy  {
      color: #e31c1c;
    }

    .tabPolicy.activePolicy::after {
      content: none;
    }

    .tab-underline {
      position: absolute;
      bottom: 0;
      left: 0;
      height: 2px;
      background: #e31c1c;
      border-radius: 1px;
      transition: all 0.3s cubic-bezier(.4, 0, .2, 1);
      will-change: left, width;
      z-index: 1;
    }

    .listPolicy {
      height: 305px;
      overflow-y: auto;
      padding: 0 20px;
      display: none;
    }

    .listPolicy.activePolicy {
      display: block;
    }

    .listPolicy::-webkit-scrollbar {
      width: 6px;
    }

    .listPolicy::-webkit-scrollbar-thumb {
      background: #ddd;
      border-radius: 3px;
    }

    .itemPolicy {
      display: flex;
      justify-content: space-between;
      align-items: baseline;
      padding: 20px 0;
      border-bottom: 1px solid #eee;
      transition: all 0.3s ease;
    }


    .contentPolicy {
      flex: 1;
      margin-right: 20px;
    }

    .tagPolicy {
      color: #666;
      margin-right: 8px;
    }

    .textPolicy {
      color: #333;
      text-decoration: none;
      transition: color 0.3s ease;
    }

    .textPolicy:hover {
      color: #e31c1c;
    }

    .datePolicy {
      color: #999;
      font-size: 14px;
      white-space: nowrap;
    }

    @media (max-width: 768px) {
      .containerPolicy {
          width: 100%;
        border-radius: 8px;
      }

      .headerPolicy {
        padding: 15px;
      }

      .tabPolicy {
        font-size: 16px;
      }

      .listPolicy {
        padding: 0 15px;
      }

      .itemPolicy {
        padding: 15px 0;
        flex-direction: column;
        gap: 8px;
      }

      .contentPolicy {
        margin-right: 0;
      }

      .datePolicy {
        align-self: flex-end;
      }
      .img_flex{
          width: 100%;
          flex-direction: column;
      }
    }

    @media (max-width: 480px) {
      .tabPolicy {
        font-size: 14px;
      }

      .tagPolicy {
        display: block;
        margin-bottom: 4px;
      }
    }



   



/* swiper2 */
.container2 {
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 20px;
}

.section-title {
    width: 64px;
    background: #2a5298;
    color: white;
    padding: 15px 20px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 4px;
    display: inline-block;
    z-index: 999;
}

.logo-carousel2 {
    display: flex;
    background: white;
    padding: 20px 11px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.swiper2 {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.swiper2 .swiper-slide {
    text-align: center;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s;
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 20px;
    height: 120px;
}

.swiper2 .swiper-slide:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.swiper2 .swiper-slide img {
    max-width: 100%;
    max-height: 80px;
    object-fit: cover;

}

@media (max-width: 768px) {
    .logo-carousel {
        padding: 15px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }
}

     /* 专栏 */
.zhuanlan {
    max-width: 1200px;
    margin: 20px auto;
    background-color: #fff;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.zhuanlan_img {
    width: 100%;
    margin-bottom: 20px;
}

.zhuanlan_img img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

.swiper-container3 {
    width: 100%;
    padding-bottom: 30px;
}

.zhuanlan .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 300ms;
}

.zhuanlan .swiper-slide img {
    width: 100%;
    height: auto;
    max-width: 274px;
    max-height: 105px;
    object-fit: cover;
    border-radius: 5px;
}

.zhuanlan .swiper-slide-active {
    transform: scale(1.2);
}


@media (max-width: 768px) {
    .zhuanlan .swiper-slide img {
        /* max-width: 100%; */
    }
}

/* 链接 */
        .container5 {
            max-width: 1200px;
            margin: 0 auto;
            box-sizing: border-box;
        }

        .link-bar {
            width: 100%;
            display: flex;
            align-items: stretch;
            background: #fff;
            border-radius: 6px;
            box-shadow: 0 2px 12px rgba(25, 118, 210, 0.05);
            margin: 30px 0;
            min-width: 320px;
            overflow: hidden;
        }

        .link-label {
            background: #12508e;
            color: #fff;
            font-size: 1.18rem;
            font-weight: bold;
            padding: 0 32px;
            display: flex;
            align-items: center;
            letter-spacing: 2px;
            min-width: 90px;
            justify-content: center;
        }

        .link-list {
            display: flex;
            align-items: center;
            background: #f5f5f5;
            flex: 1;
            padding: 0 0 0 45px;
            gap: 100px;
            min-height: 60px;
        }

        .link-list a {
            color: #222;
            text-decoration: none;
            font-size: 1.08rem;
            transition: color 0.2s;
            font-weight: 400;
        }

        .link-list a:hover {
            color: #1976d2;
        }

        @media (max-width: 1250px) {
            .container {
                width: 98vw;
                min-width: unset;
            }

            .link-bar {
                width: 100%;
            }
        }

        @media (max-width: 700px) {
            .container {
                width: 100vw;
                min-width: unset;
                padding: 0;
            }

            .link-bar {
                flex-direction: column;
                border-radius: 8px;
                width: 100%;
            }

            .link-label {
                min-width: unset;
                width: 100%;
                justify-content: flex-start;
                padding: 12px 18px;
                border-radius: 8px 8px 0 0;
            }

            .link-list {
                flex-direction: column;
                align-items: flex-start;
                gap: 18px;
                padding: 16px 18px;
                min-height: unset;
            }
        }





        /* 行政公示专栏 */
               .container-letter {
            max-width: 1200px;
            margin: 0 auto;
            margin-top: 20px;
            background: white;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
            overflow: hidden;
        }

        .header-letter {
            background: linear-gradient(135deg, rgb(35, 70, 130) 0%, rgb(52, 88, 157) 100%);
            color: white;
            padding: 13px;
            text-align: center;
        }

        .header-letter h1 {
            font-size: 28px;
            font-weight: 300;
            margin-bottom: 8px;
        }

        .header-letter p {
            font-size: 16px;
            opacity: 0.9;
        }

        .services-letter {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 0;
        }

        .service-letter {
            height: 100%;
            padding: 25px 30px;
            text-align: center;
            border-right: 1px solid #e2e8f0;
            transition: all 0.3s ease;
            cursor: pointer;
            position: relative;
            overflow: hidden;
        }

        .service-letter:hover{
            background-color: rgb(243, 243, 244);
        }

        .service-letter:nth-child(even) {
            border-right: none;
        }

        .service-letter:nth-child(3),
        .service-letter:nth-child(4) {
            border-bottom: none;
        }


        .icon-letter {
            width: 64px;
            height: 64px;
            margin: 0 auto 20px;
            background: linear-gradient(135deg, rgb(35, 70, 130), rgb(52, 88, 157));
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 28px;
            color: white;
            transition: all 0.3s ease;
        }



        .title-letter {
            font-size: 20px;
            font-weight: 500;
            color: #1a365d;
            margin-bottom: 12px;
            transition: color 0.3s ease;
        }



        .description-letter {
            font-size: 14px;
            color: #4a5568;
            line-height: 1.6;
            max-width: 200px;
            margin: 0 auto;
        }

        .footer-letter {
            background: #f7f9fc;
            padding: 25px;
            text-align: center;
            border-top: 1px solid #e2e8f0;
        }

        .footer-letter p {
            color: #4a5568;
            font-size: 14px;
        }

        @media (max-width: 768px) {
            .services-letter {
                grid-template-columns: 1fr;
            }

            .service-letter {
                border-right: none;
                border-bottom: 1px solid #e2e8f0;
            }

            .service-letter:last-child {
                border-bottom: none;
            }

            .header-letter {
                padding: 20px;
            }

            .header-letter h1 {
                font-size: 24px;
            }
        }