/************************************************************
** 请将全局样式拷贝到项目的全局 CSS 文件或者当前页面的顶部 **
** 否则页面将无法正常显示                                  **
************************************************************/

html {
    font-size: 16px;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans',
    'Droid Sans', 'Helvetica Neue', 'Microsoft Yahei', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 100vw;
    height: 100vh;
}

body * {
    box-sizing: border-box;
    flex-shrink: 0;
}

.componests-flex-row {
    display: flex;
    flex-direction: row;
}

.componests-flex-col {
    display: flex;
    flex-direction: column;
}

.componests-justify-start {
    justify-content: flex-start;
}

.componests-justify-end {
    justify-content: flex-end;
}

.componests-justify-center {
    justify-content: center;
}

.componests-justify-between {
    justify-content: space-between;
}

.componests-justify-around {
    justify-content: space-around;
}

.componests-justify-evenly {
    justify-content: space-evenly;
}

.componests-items-start {
    align-items: flex-start;
}

.componests-items-end {
    align-items: flex-end;
}

.componests-items-center {
    align-items: center;
}

.componests-items-baseline {
    align-items: baseline;
}

.componests-items-stretch {
    align-items: stretch;
}

.componests-self-start {
    align-self: flex-start;
}

.componests-self-end {
    align-self: flex-end;
}

.componests-self-center {
    align-self: center;
}

.componests-self-baseline {
    align-self: baseline;
}

.componests-self-stretch {
    align-self: stretch;
}

.componests-flex-1 {
    flex: 1 1 0%;
}

.componests-flex-auto {
    flex: 1 1 auto;
}

.componests-grow {
    flex-grow: 1;
}

.componests-grow-0 {
    flex-grow: 0;
}

.componests-shrink {
    flex-shrink: 1;
}

.componests-shrink-0 {
    flex-shrink: 0;
}

.componests-relative {
    position: relative;
}

.componests-ml-2 {
    margin-left: 2px;
}

.componests-mt-2 {
    margin-top: 2px;
}

.componests-ml-4 {
    margin-left: 4px;
}

.componests-mt-4 {
    margin-top: 4px;
}

.componests-ml-6 {
    margin-left: 6px;
}

.componests-mt-6 {
    margin-top: 6px;
}

.componests-ml-8 {
    margin-left: 8px;
}

.componests-mt-8 {
    margin-top: 8px;
}

.componests-ml-10 {
    margin-left: 10px;
}

.componests-mt-10 {
    margin-top: 10px;
}

.componests-ml-12 {
    margin-left: 12px;
}

.componests-mt-12 {
    margin-top: 12px;
}

.componests-ml-14 {
    margin-left: 14px;
}

.componests-mt-14 {
    margin-top: 14px;
}

.componests-ml-16 {
    margin-left: 16px;
}

.componests-mt-16 {
    margin-top: 16px;
}

.componests-ml-18 {
    margin-left: 18px;
}

.componests-mt-18 {
    margin-top: 18px;
}

.componests-ml-20 {
    margin-left: 20px;
}

.componests-mt-20 {
    margin-top: 20px;
}

.componests-ml-22 {
    margin-left: 22px;
}

.componests-mt-22 {
    margin-top: 22px;
}

.componests-ml-24 {
    margin-left: 24px;
}

.componests-mt-24 {
    margin-top: 24px;
}

.componests-ml-26 {
    margin-left: 26px;
}

.componests-mt-26 {
    margin-top: 26px;
}

.componests-ml-28 {
    margin-left: 28px;
}

.componests-mt-28 {
    margin-top: 28px;
}

.componests-ml-30 {
    margin-left: 30px;
}

.componests-mt-30 {
    margin-top: 30px;
}

.componests-ml-32 {
    margin-left: 32px;
}

.componests-mt-32 {
    margin-top: 32px;
}

.componests-ml-34 {
    margin-left: 34px;
}

.componests-mt-34 {
    margin-top: 34px;
}

.componests-ml-36 {
    margin-left: 36px;
}

.componests-mt-36 {
    margin-top: 36px;
}

.componests-ml-38 {
    margin-left: 38px;
}

.componests-mt-38 {
    margin-top: 38px;
}

.componests-ml-40 {
    margin-left: 40px;
}

.componests-mt-40 {
    margin-top: 40px;
}

.componests-ml-42 {
    margin-left: 42px;
}

.componests-mt-42 {
    margin-top: 42px;
}

.componests-ml-44 {
    margin-left: 44px;
}

.componests-mt-44 {
    margin-top: 44px;
}

.componests-ml-46 {
    margin-left: 46px;
}

.componests-mt-46 {
    margin-top: 46px;
}

.componests-ml-48 {
    margin-left: 48px;
}

.componests-mt-48 {
    margin-top: 48px;
}

.componests-ml-50 {
    margin-left: 50px;
}

.componests-mt-50 {
    margin-top: 50px;
}

.componests-ml-52 {
    margin-left: 52px;
}

.componests-mt-52 {
    margin-top: 52px;
}

.componests-ml-54 {
    margin-left: 54px;
}

.componests-mt-54 {
    margin-top: 54px;
}

.componests-ml-56 {
    margin-left: 56px;
}

.componests-mt-56 {
    margin-top: 56px;
}

.componests-ml-58 {
    margin-left: 58px;
}

.componests-mt-58 {
    margin-top: 58px;
}

.componests-ml-60 {
    margin-left: 60px;
}

.componests-mt-60 {
    margin-top: 60px;
}

.componests-ml-62 {
    margin-left: 62px;
}

.componests-mt-62 {
    margin-top: 62px;
}

.componests-ml-64 {
    margin-left: 64px;
}

.componests-mt-64 {
    margin-top: 64px;
}

.componests-ml-66 {
    margin-left: 66px;
}

.componests-mt-66 {
    margin-top: 66px;
}

.componests-ml-68 {
    margin-left: 68px;
}

.componests-mt-68 {
    margin-top: 68px;
}

.componests-ml-70 {
    margin-left: 70px;
}

.componests-mt-70 {
    margin-top: 70px;
}

.componests-ml-72 {
    margin-left: 72px;
}

.componests-mt-72 {
    margin-top: 72px;
}

.componests-ml-74 {
    margin-left: 74px;
}

.componests-mt-74 {
    margin-top: 74px;
}

.componests-ml-76 {
    margin-left: 76px;
}

.componests-mt-76 {
    margin-top: 76px;
}

.componests-ml-78 {
    margin-left: 78px;
}

.componests-mt-78 {
    margin-top: 78px;
}

.componests-ml-80 {
    margin-left: 80px;
}

.componests-mt-80 {
    margin-top: 80px;
}

.componests-ml-82 {
    margin-left: 82px;
}

.componests-mt-82 {
    margin-top: 82px;
}

.componests-ml-84 {
    margin-left: 84px;
}

.componests-mt-84 {
    margin-top: 84px;
}

.componests-ml-86 {
    margin-left: 86px;
}

.componests-mt-86 {
    margin-top: 86px;
}

.componests-ml-88 {
    margin-left: 88px;
}

.componests-mt-88 {
    margin-top: 88px;
}

.componests-ml-90 {
    margin-left: 90px;
}

.componests-mt-90 {
    margin-top: 90px;
}

.componests-ml-92 {
    margin-left: 92px;
}

.componests-mt-92 {
    margin-top: 92px;
}

.componests-ml-94 {
    margin-left: 94px;
}

.componests-mt-94 {
    margin-top: 94px;
}

.componests-ml-96 {
    margin-left: 96px;
}

.componests-mt-96 {
    margin-top: 96px;
}

.componests-ml-98 {
    margin-left: 98px;
}

.componests-mt-98 {
    margin-top: 98px;
}

.componests-ml-100 {
    margin-left: 100px;
}

.componests-mt-100 {
    margin-top: 100px;
}

/* 添加对container-fluid的宽度控制 */
.container-fluid {
    max-width: 90vw;
    overflow-x: hidden;
    padding-left: 0;
    padding-right: 0;
}

/* 无数据提示样式 */
.academic-no-data,
.party-no-data,
.party-no-more-data {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
    padding: 40px 20px;
}

.no-data-message {
    text-align: center;
    color: #666;
    max-width: 400px;
}

.no-data-message h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #333;
}

.no-data-message h5 {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 10px;
    color: #333;
}

.no-data-message p {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    opacity: 0.8;
}

/* 新闻卡片点击效果 */
.hero-news-card,
.news-card,
.academic-news-item,
.party-news-item,
.party-image-group {
    cursor: pointer;
    transition: all 0.3s ease;
}


/* 文章详情页面样式 */
.article-meta {
    margin-bottom: 20px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    color: #666;
}

.meta-separator {
    margin: 0 10px;
    color: #ccc;
}

.meta-date,
.meta-author,
.meta-views {
    color: #666;
}

/* 无新闻数据时的样式 */
.no-news-data,
.error-message {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
    padding: 40px 20px;
}

.back-home-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #0066cc;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.back-home-btn:hover {
    background-color: #0052a3;
    text-decoration: none;
    color: white;
}

/* 上下篇导航样式优化 */
.nav-item1.no-article {
    opacity: 0.5;
    background-color: #f8f9fa;
}

.nav-item1.no-article .nav-title {
    color: #999;
}

.nav-item1.no-article .nav-description {
    color: #bbb;
}

/* 板块更多按钮样式 */
.section-header {
    position: relative;
}

.section-more-btn {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    transition: color 0.3s ease;
}

.section-more-btn:hover {
    color: #dc3545;
    text-decoration: none;
}

/* 轮播图点击样式 */
.news-featured {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-featured:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}