/* ============================================
   å®å±±åŒºä¸“é¢˜é¡µé¢ - é¡µé¢æ ·å¼ (index.css)
   è®¾è®¡ç¨¿åŸºå‡†: 1920px, 1rem = 100px
   ============================================ */
body{
    background: linear-gradient(179deg, #1F71E4 10.01%, rgba(247, 247, 247, 0.50) 56.35%, #F7F7F7 93.47%);
}
/* ---- ä¸»å®¹å™¨ ---- */
.main-container {
    width: 100%;
    min-width: 12rem;
    background: transparent;
    position: relative;
    overflow: hidden;
}

/* ========== é¡¶éƒ¨æ¨ªå¹…åŒºåŸŸï¼ˆç»å¯¹å®šä½èƒŒæ™¯å±‚ï¼‰ ========== */
/* ========== 顶部横幅区域（绝对定位背景层） ========== */
.banner-overlay {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 19.2rem;
    height: 11.95rem;
    z-index: 2;
    overflow: hidden;
    pointer-events: none;
}

.banner-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.banner-inner {
    width: 19.2rem;
    height: 11.95rem;
    position: relative;
    margin: 0 auto;
    z-index: 1;
    pointer-events: auto;
}

/* 内容层 - 覆盖在banner上方 */
.page-content {
    position: relative;
    z-index: 3;
    padding-top: 6.86rem;
    pointer-events: none;
}

.page-content > * {
    pointer-events: auto;
}
/* ç®€ä»‹åŒºåŸŸ */
.intro-area {
    position: absolute;
    left: 3.48rem;
    top: 3.31rem;
    width: 3.45rem;
    height: 2.51rem;
    pointer-events: auto;
}

.intro-bg {
    width: 100%;
    height: auto;
}

.intro-text {
    position: absolute;
    left: 0.35rem;
    top: 0.43rem;
    width: 2.84rem;
    font-size: 0.15rem;
    font-weight: 400;
    color: #333333;
    line-height: 0.24rem;
    text-align: justify;
}

/* å…¥å£åŒºåŸŸ */
.entry-area {
    position: absolute;
    left: 6.88rem;
    top: 3.31rem;
    width: 8.91rem;
    height: 2.67rem;
    pointer-events: auto;
    cursor: pointer;
}

.entry-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.25s ease;
}

.entry-img.default {
    opacity: 1;
}

.entry-img.hover {
    opacity: 0;
}

.entry-area:hover .entry-img.default {
    opacity: 0;
}

.entry-area:hover .entry-img.hover {
    opacity: 1;
}

/* ========== æœç´¢æ  ========== */
.search-section {
    position: absolute;
    top: 5.96rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.search-bar {
    display: flex;
    align-items: center;
    width: 8rem;
    height: 0.6rem;
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid #FFFFFF;
    border-radius: 0.05rem;
    overflow: hidden;
    box-shadow: 0 0.04rem 0.2rem rgba(50, 127, 253, 0.12);
}

.search-input {
    flex: 1;
    height: 100%;
    padding: 0 0.2rem;
    font-size: 0.2rem;
    color: #333333;
    background: transparent;
    border: none;
}

.search-input::placeholder {
    color: #BEC8D6;
}

.search-btn {
    width: 1.41rem;
    height: 100%;
    background: linear-gradient(180deg, #3488FF 0%, #327EFD 100%);
    color: #FFFFFF;
    font-size: 0.24rem;
    font-weight: 500;
    border: none;
    letter-spacing: 0.02rem;
    transition: opacity 0.2s;
}

.search-btn:hover {
    opacity: 0.9;
}

/* æœç´¢å›¾æ ‡ */
.search-bar {
    position: relative;
    padding-left: 0.52rem;
}

.search-icon {
    position: absolute;
    left: 0.2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 0.22rem;
    height: 0.22rem;
    opacity: 0.5;
    pointer-events: none;
    z-index: 2;
}

/* ========== é€šç”¨åŒºå—å¡ç‰‡ ========== */
.section-card {
    width: 12rem;
    margin: 0 auto;
    background: #FFFFFF;
    border-radius: 0.08rem;
    box-shadow: 0 0.02rem 0.12rem rgba(0, 0, 0, 0.04);
}

.section-header {
    display: flex;
    align-items: center;
    padding: 0.24rem 0.28rem 0;
    position: relative;
}

.section-icon {
    width: 0.4rem;
    height: 0.4rem;
    margin-right: 0.08rem;
}

.section-title {
    font-size: 0.26rem;
    font-weight: 500;
    color: #333333;
    line-height: 0.34rem;
}

.section-header-more {
    display: flex;
    align-items: center;
    margin-left: auto;
    cursor: pointer;
    color: rgba(78, 94, 121, 0.5);
    font-size: 0.16rem;
    font-family: 'SourceHanSansCN', sans-serif;
    transition: color 0.2s;
}

.section-header-more:hover {
    color: #327EFD;
}

.more-arrow {
    width: 0.14rem;
    height: 0.14rem;
    margin-left: 0.06rem;
    display: inline-block;
    line-height: 1;
}

.section-header-line {
    width: calc(100% - 0.56rem);
    height: 1px;
    background: #E8ECF2;
    margin: 0.12rem auto 0;
}

/* ========== è¿‘æœŸçƒ­é—¨æ”¿ç­– ========== */
.policy-section {
    margin-top: 0;
}

.policy-card {
    height: 3.9rem;
    background: linear-gradient(180deg, #F0F6FF 0%, #FFFFFF 40%);
    padding-bottom: 0.28rem;
    overflow: hidden;
}

.policy-swiper-container {
    position: relative;
    padding: 0.2rem 0.28rem 0;
}

/* æ”¿ç­–åˆ—è¡¨ */
.policy-list {
    padding: 0.04rem 0.28rem 0;
}

.policy-item {
    display: flex;
    align-items: center;
    padding: 0.12rem 0.16rem;
    border-radius: 0.04rem;
    transition: background 0.2s;
    cursor: pointer;
    position: relative;
}

.policy-item:hover {
    background: rgba(50, 127, 253, 0.04);
}

.policy-item:hover .policy-title-text {
    color: #327FFD;
}

.policy-item:hover .policy-date {
    color: #327FFD;
}

.policy-item + .policy-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0.16rem;
    right: 0.16rem;
    height: 1px;
    background: #E8ECF2;
}

.policy-title {
    flex: 1;
    font-size: 0.18rem;
    color: #333333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-right: 0.16rem;
    min-width: 0; /* å…è®¸åœ¨flexå®¹å™¨ä¸­æ”¶ç¼© */
}

.policy-title.blue {
    color: #327FFD;
}

.policy-item-tags {
    display: flex;
    gap: 0.08rem;
    flex-shrink: 0;
    margin-right: 0.16rem;
}

.policy-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 0.24rem;
    padding: 0 0.12rem;
    border-radius: 0.2rem;
    font-size: 0.14rem;
    color: #FFFFFF;
    white-space: nowrap;
    background: #3280FE;
}

/* ========== policy-tag handle 弹窗 ========== */
.policy-tag.tag-handle {
    position: relative;
    cursor: pointer;
}

/* 办 */
.policy-tag.tag-handle.tag-ban {
    background-color: #4FA7F4;
    color: #FFFFFF;
}
/* 解读 */
.policy-tag.tag-handle.tag-jiedu {
    background-color: #3280FE;
    color: #FFFFFF;
}
/* 历史沿革 */
.policy-tag.tag-handle.tag-shiyan {
    background-color: #01AEF0;
    color: #FFFFFF;
}

.tag-bd {
    display: none;
    cursor: auto;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding-top: 0.04rem;
    z-index: 10;
}

.policy-tag.tag-handle:hover .tag-bd {
    display: block;
}

.tag-list {
    display: block;
    border-radius: 0.04rem;
    background: #FFFFFF;
    box-shadow: 0 0.04rem 0.12rem rgba(0, 0, 0, 0.15);
    padding: 0.08rem 0;
    min-width: 2rem;
}

.tag-item {
    display: block;
    height: 0.32rem;
}

.tag-name {
    display: block;
    height: 100%;
    padding: 0 0.16rem;
    line-height: 0.32rem;
    font-size: 0.14rem;
    color: #333333;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.2s;
}

.tag-name:hover {
    background: rgba(50, 127, 253, 0.1);
    color: #327EFD;
}

.policy-date {
    font-family: 'D-DIN', sans-serif;
    font-size: 0.18rem;
    color: #4E5E79;
    white-space: nowrap;
    flex-shrink: 0;
}

.policy-date.blue {
    color: #327FFD;
}

/* Swiper åˆ†é¡µ */
.swiper-pagination {
    position: relative;
    bottom: auto;
    margin-top: 0.16rem;
    text-align: center;
}

.swiper-pagination-bullet {
    width: 0.08rem;
    height: 0.08rem;
    background: #CCD5E3;
    opacity: 1;
    margin: 0 0.04rem;
}

.swiper-pagination-bullet-active {
    background: #327EFD;
    width: 0.2rem;
    border-radius: 0.04rem;
}

/* ========== ç”³æŠ¥é€šçŸ¥ ========== */
.notice-section {
    margin-top: 0.3rem;
}

.notice-card {
    padding-bottom: 0.28rem;
}

.notice-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.16rem 0.2rem;
    padding: 0.2rem 0.28rem 0;
}

.notice-item {
    min-height: 1.4rem;
    padding: 0.2rem 0.24rem;
    background: #F8FAFD;
    border-radius: 0.06rem;
    border: 1px solid #E8EDF4;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    overflow: visible;
    position: relative;
}

.notice-item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.notice-item:hover {
    border-color: #327EFD;
    box-shadow: 0 0.04rem 0.16rem rgba(50, 126, 253, 0.15);
    background: linear-gradient(180deg, #FBFCFF 0%, #FFFFFF 100%);
}

.notice-item:hover .notice-title {
    color: #327FFD;
}

.notice-highlight {
    border-color: #327EFD;
    box-shadow: 0 0.02rem 0.1rem rgba(50, 126, 253, 0.08);
    background: linear-gradient(180deg, #FBFCFF 0%, #FFFFFF 100%);
}

.notice-title {
    font-size: 0.18rem;
    font-weight: 500;
    color: #333333;
    line-height: 0.28rem;
    word-break: break-word;
    flex-shrink: 0;
    min-height: 0.56rem; /* 2è¡Œæ–‡å­—çš„æœ€å°é«˜åº¦ */
}

.notice-title.blue {
    color: #327FFD;
}

.notice-item-tags {
    display: flex;
    gap: 0.08rem;
    flex-wrap: wrap;
    margin-top: 0.08rem;
    flex-shrink: 0;
}

.notice-item-tags .policy-tag {
    height: 0.24rem;
    padding: 0 0.12rem;
    border-radius: 0.2rem;
    font-size: 0.14rem;
}

.notice-item-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 0.08rem;
    border-top: 1px solid #E8ECF2;
    flex-shrink: 0;
}

.notice-date {
    font-family: 'D-DIN', sans-serif;
    font-size: 0.14rem;
    color: #4E5E79;
}

.notice-detail {
    display: flex;
    align-items: center;
    color: rgba(78, 94, 121, 0.5);
    font-size: 0.16rem;
    cursor: pointer;
    transition: color 0.2s;
}

.notice-detail:hover {
    color: #327EFD;
}

.detail-arrow {
    width: 0.2rem;
    height: 0.2rem;
    margin-left: 0.04rem;
}

/* ========== æ¨ªå¹…åŒºåŸŸ ========== */
.banner-row {
    width: 12rem;
    margin: 0.2rem auto 0;
    display: flex;
    justify-content: space-between;
    gap: 0.3rem;
}

.banner-item {
    flex: 1;
    height: 1.6rem;
    position: relative;
    cursor: pointer;
    border-radius: 0.08rem;
    overflow: hidden;
}

.banner-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.08rem;
    transition: opacity 0.25s ease;
}

.banner-img.default {
    opacity: 1;
}

.banner-img.hover {
    opacity: 0;
}

.banner-item:hover .banner-img.default {
    opacity: 0;
}

.banner-item:hover .banner-img.hover {
    opacity: 1;
}

/* ========== å¤šæ¸ é“å…¥å£ ========== */
.channel-section {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.channel-card {
    padding-bottom: 0.28rem;
}

.channel-grid {
    display: flex;
    justify-content: space-between;
    padding: 0.24rem 0.28rem 0;
    gap: 0.16rem;
}

.channel-item {
    flex: 1;
    height: 1.09rem;
    position: relative;
    cursor: pointer;
    border-radius: 0.06rem;
    overflow: visible;
}

.channel-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.25s ease;
}

.channel-img.default {
    opacity: 1;
}

.channel-img.hover {
    opacity: 0;
}

.channel-item:hover .channel-img.default {
    opacity: 0;
}

.channel-item:hover .channel-img.hover {
    opacity: 1;
}

/* äºŒç»´ç å¼¹çª— */
.channel-qr-popup {
    position: absolute;
    bottom: 1.2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 1.6rem;
    padding: 0.16rem;
    background: #FFFFFF;
    border-radius: 0.08rem;
    box-shadow: 0 0.06rem 0.24rem rgba(0, 0, 0, 0.15);
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 20;
}

.channel-qr-popup::after {
    content: '';
    position: absolute;
    bottom: -0.08rem;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 0.08rem solid transparent;
    border-right: 0.08rem solid transparent;
    border-top: 0.08rem solid #FFFFFF;
}

.channel-item:hover .channel-qr-popup {
    opacity: 1;
    pointer-events: auto;
}

.channel-qr-popup img {
    width: 1.2rem;
    height: 1.2rem;
    margin: 0 auto;
}

.channel-qr-popup p {
    font-size: 0.13rem;
    color: #666666;
    margin-top: 0.08rem;
}

/* ========== å“åº”å¼å¤„ç† ========== */
@media screen and (max-width: 768px) {
    .section-card {
        width: calc(100% - 0.32rem);
    }

    .banner-row {
        width: calc(100% - 0.32rem);
        flex-direction: column;
    }

    .notice-grid {
        grid-template-columns: 1fr;
    }

    .channel-grid {
        flex-wrap: wrap;
    }

    .channel-item {
        width: calc(50% - 0.08rem);
        flex: none;
    }
}
