#common .first-screen {
    height: 21.76rem;
    aspect-ratio: 1920 / 2176;
    width: auto;
    max-width: 100vw;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

#common .first-screen-content {
    width: 60%;
    height: 80%;
    margin: 0  auto;
    display: flex;
}

#common .real-time-info {
    margin-top: 55%;
    height: 11.97rem;
    aspect-ratio: 1200 / 1197;
    width: auto;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}


#common .real-time-info .nav {
    display: flex;
    align-items: center;
    width: 70%;
    justify-content: space-between;
    margin: 0 auto;
    font-size: 0.25rem;
    margin-top: 5%;
    align-items: center;
}

#common .real-time-info .news-nav-btn {
    position: relative;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #404040;
    font-weight: 500;
    background: none;
    border: none;
    outline: none;
    transition: color 0.2s;
    cursor: pointer;
}

#common .real-time-info .news-nav-btn.selected,
#common .real-time-info .news-nav-btn:hover {
    color: #188dac;
}

/* 横线span一直存在，只是初始收缩且透明 */
#common .real-time-info .news-nav-btn span:last-child {
    position: absolute;
    left: -20%;
    right: -20%;
    bottom: 0.05rem;
    height: 0.1rem;
    background: #cceaf1;
    border-radius: 1rem;
    opacity: 0;
    transform: scaleX(0.4);
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.3s;
    pointer-events: none;
    z-index: 0;
    display: block;
}

#common .real-time-info .news-nav-btn span:first-child {
    position: relative;
    z-index: 1;
}

#common .real-time-info .news-nav-btn.selected span:last-child,
#common .real-time-info .news-nav-btn:hover span:last-child {
    opacity: 0.85;
    transform: scaleX(1);
}

#common .real-time-info .nav .enter-selected {
    width: 0.25rem;
    height: 0.25rem;
    background-color: #428BA9; /* 背景色 */
    position: relative; /* 用于绝对定位 */
    transform: rotate(45deg); /* 旋转 45 度 */
    display: flex; /* 使用 flexbox 布局 */
    justify-content: center; /* 水平居中 */
    align-items: center; /* 垂直居中 */
    transition: transform 0.22s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow 0.22s;
    cursor: pointer;
}

#common .real-time-info .nav .enter-selected .plus-sign {
    width: 90%; /* 加号的宽度为容器的 50% */
    height: 90%; /* 加号的高度为容器的 50% */
    position: relative; /* 用于绝对定位伪元素 */
    transform: rotate(-45deg); /* 反向旋转 45 度 */
}

#common .real-time-info .nav .enter-selected .plus-sign::before,
#common .real-time-info .nav .enter-selected .plus-sign::after {
    content: ''; /* 伪元素必须有 content 属性 */
    position: absolute;
    background-color: white; /* 加号的颜色 */
}

#common .real-time-info .nav .enter-selected .plus-sign::before {
    width: 100%;
    height: 10%;
    top: 50%; /* 横线的垂直居中 */
    left: 0; /* 横线的水平起始位置 */
    transform: translateY(-50%); /* 精确垂直居中 */
}

#common .real-time-info .nav .enter-selected .plus-sign::after {
    width: 10%;
    height: 100%;
    top: 0; /* 竖线的垂直起始位置 */
    left: 50%; /* 竖线的水平居中 */
    transform: translateX(-50%); /* 精确水平居中 */
}


#common .real-time-info .nav .enter-selected:hover,
#common .real-time-info .nav .enter-selected:focus {
    transform: rotate(45deg) scale(1.2);
    box-shadow: 0 6px 16px rgba(10, 160, 176, 0.13);
}

#common .real-time-info .nav-content {
    width: 100%;
    margin: 0 auto;
    margin-top: 5%;
    height: 100%;
}

#common .real-time-info .nav-content .news-nav-content {
    display: none;
    width: 100%;
    height: 80%;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 0.2rem;
    justify-content: flex-start;
    align-content: flex-start;
}
#common .real-time-info .nav-content .news-nav-content .container {
    width: 100%;
    height: 100%;
}

#common .real-time-info .nav-content .news-nav-content.selected {
    display: flex;
}
#common .real-time-info .nav-content .news-nav-content .flex {
    display: flex;
    flex-direction: column;
    width: 100%;
}
#common .real-time-info .nav-content .news-nav-content hr {
    margin: 0.15rem 0.05rem;
}
#common .real-time-info .nav-content .news-nav-content .item {
    display: flex;
    align-items: center;
    padding: 0.1rem;
    border-radius: 15px;
    cursor: pointer;
    position: relative;
    z-index: 1;
    font-size: 0.26rem;
    width: 100%;
    margin: 0 auto;
    transition: background 0.2s, box-shadow 0.2s;
}
#common .real-time-info .nav-content .news-nav-content .item:hover,
#common .real-time-info .nav-content .news-nav-content .item:focus {
    background: #eaf7fa;
    box-shadow: 0 2px 8px rgba(24, 141, 172, 0.08);
}

#common .real-time-info .nav-content .news-nav-content .type {
    color: #188dac;
    flex: 0 0 7%;
}

#common .real-time-info .nav-content .news-nav-content .title {
    flex: 0 0 65%;
    margin: 0 auto;
    display: -webkit-box;
    -webkit-line-clamp: 1; /* 最多显示两行 */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-all;
}

#common .real-time-info .nav-content .news-nav-content .date {
    margin-left: auto;
    flex: 0 0 25%;
    text-align: right;
    color: #404040;
}

#common .news-nav-content nav {
    width: 100%;
    margin: 0   auto;
}
#common .pagination {
    font-size: 0.25rem;
    margin: 0   auto;
    margin-bottom: unset;
    display: flex;
    justify-content: center;
    gap: 5%;
}
#common .page-link {
    font-size: 0.25rem;
    margin: unset;
    padding: unset;
    background-color: unset;
    border: unset;
    color: black;
}
#common .disabled>.page-link, .page-link.disabled{
    color: rgba(33, 37, 41, 0.75);
}
#common .active>.page-link, .page-link.active {
    color: #188dac;
}
#common .page-item:first-child .page-link {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}
#common .page-item:last-child .page-link {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

/* 移动端特殊处理（如果需要） */
@media (max-width: 768px) and (orientation: portrait) {
    #common .first-screen {
        aspect-ratio: 1246 / 700;
        height: 7rem;
    }
    #common .first-screen-content {
        width: 100vw;
        height: 80%;
    }
    #common .real-time-info {
        aspect-ratio: 1246 / 700;
        width: 90%;
        height: 100%;
        margin: 0   auto;
        margin-top: 25%;
        background-size: 100% 100%;
    }
    #common .real-time-info .nav {
        width: 90%;
    }
    #common .real-time-info .nav {
        font-size: 0.16rem;
    }
    #common .real-time-info .news-nav-btn span:last-child {
        left: -10%;
        right: -10%;
    }
    #common .real-time-info .nav-content {
        height: 85%;
    }
    #common .real-time-info .nav-content .news-nav-content {
        height: 85%;
    }
    #common .real-time-info .nav-content .news-nav-content .container {
        padding: unset;
        overflow-y: auto;
    }
    #common .real-time-info .nav-content .news-nav-content .item {
        font-size: 0.16rem;
        flex-wrap: wrap;
        gap: 5%;
    }
    #common .real-time-info .nav-content .news-nav-content .type {
        flex: 0 0 15%;
    }
    #common .real-time-info .nav-content .news-nav-content .title {
        flex: 0 0 75%;
        text-align: right;
        font-size: 0.18rem;
    }
    #common .real-time-info .nav-content .news-nav-content .date {
        flex: 0 0 100%;
    }
    #common .real-time-info .nav-content .news-nav-content hr {
        margin: 0.1rem 0.05rem;
    }
    #common .pagination {
        font-size: 0.16rem;
        margin-top: 10%;
    }
    #common .page-link {
        font-size: 0.16rem;
    }

}
@media (max-width: 1024px) and (orientation: landscape) {
    #common .first-screen {
        aspect-ratio: 1246 / 700;
        height: unset;
    }
    #common .first-screen-content {
        width: 100vw;
        height: 80%;
    }
    #common .real-time-info {
        aspect-ratio: 1246 / 700;
        width: 90%;
        height: 100%;
        margin: 0   auto;
        margin-top: 5%;
        background-size: 100% 100%;
    }
    #common .real-time-info .nav {
        font-size: 0.08rem;
        width: 50%;
    }
    #common .real-time-info .news-nav-btn span:last-child {
        left: -40%;
        right: -40%;
        height: 0.05rem;
        bottom: 0.01rem;
    }
    #common .real-time-info .nav-content {
        height: 70%;
    }
    #common .real-time-info .nav-content .news-nav-content {
        height: 85%;
    }
    #common .real-time-info .nav-content .news-nav-content .container {
        padding: unset;
        overflow-y: auto;
        width: 90%;
        margin: 0 auto;
    }
    #common .real-time-info .nav-content .news-nav-content .item {
        font-size: 0.08rem;
        flex-wrap: wrap;
        gap: 5%;
        padding: 0.01rem;
    }
    #common .real-time-info .nav-content .news-nav-content .type {
        flex: 0 0 30%;
    }
    #common .real-time-info .nav-content .news-nav-content .title {
        flex: 0 0 65%;
        text-align: right;
        font-size: 0.16rem;
    }
    #common .real-time-info .nav-content .news-nav-content .date {
        flex: 0 0 100%;
    }
    #common .real-time-info .nav-content .news-nav-content hr {
        margin: 0.1rem 0.05rem;
    }
    #common .pagination {
        font-size: 0.08rem;
        margin-top: unset;
    }
    #common .page-link {
        font-size: 0.08rem;
    }

}