.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* 移动端菜单样式 */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 82, 204, 0.95);
    z-index: 50;
    padding: 2rem;
}

.mobile-menu.active {
    display: block;
}

body.overflow-hidden {
    overflow: hidden;
}

/* 新闻卡片样式 */
.news-card {
    transition: all 0.3s ease;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* 筛选标签样式 */
.filter-tag {
    transition: all 0.3s ease;
}

.filter-tag.active {
    background-color: #0052CC;
    color: white !important;
}

.filter-tag.active:hover {
    color: white !important;
}

/* 面包屑导航样式 */
.breadcrumb {
    color: #666;
}

.breadcrumb a {
    color: #0052CC;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #2684FF;
}

/* 新闻来源标签样式 */
.news-source {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

/* 默认来源样式 */
.news-source.default {
    background-color: #f3f4f6;
    color: #374151;
}

/* 官方来源样式 */
.news-source.official {
    background-color: #dbeafe;
    color: #2563eb;
}

/* 媒体来源样式 */
.news-source.media {
    background-color: #dcfce7;
    color: #16a34a;
}

/* 合作伙伴来源样式 */
.news-source.partner {
    background-color: #fef3c7;
    color: #d97706;
}

/* 内部来源样式 */
.news-source.internal {
    background-color: #fce7f3;
    color: #be185d;
}

/* 第三方来源样式 */
.news-source.external {
    background-color: #ede9fe;
    color: #7c3aed;
}

/* 其他来源样式 */
.news-source.other {
    background-color: #f0f9ff;
    color: #0284c7;
}

/* 置顶标识 */
.pinned-badge {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: bold;
}

/* 外链标识 */
.external-link-badge {
    background: linear-gradient(45deg, #00b894, #00a085);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: bold;
}

/* 外链新闻卡片特殊样式 */
.news-card[data-external="true"] {
    border-left: 4px solid #00b894;
}

.news-card[data-external="true"]:hover {
    border-left-color: #00a085;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.pagination button {
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    background: white;
    color: #374151;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.pagination button:hover {
    background-color: #f3f4f6;
}

.pagination button.active {
    background-color: #0052CC;
    color: white;
    border-color: #0052CC;
}

.pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* 阅读量样式 */
.read-count {
    color: #6b7280;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.read-count i {
    font-size: 12px;
}

/* 新闻摘要样式 */
.news-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}