@import url("https://fontsapi.zeoseven.com/69/main/result.css");
@import url("https://fontsapi.zeoseven.com/285/main/result.css");

.newspaper-shadow {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.logo-text {
    font-family: 'Noto Serif CJK', serif;
    font-weight: 700;
}

.date-number {
    font-size: 48px;
    line-height: 1;
    font-weight: 700;
    color: #c41e3a;
}

.nav-item {
    transition: all 0.2s ease;
}

.nav-item:hover {
    background-color: #e8e8e8;
}

.nav-item.active {
    background-color: #c41e3a;
    color: white;
}

.article-item:hover {
    background-color: #f9f9f9;
}

.article-card {
    transition: all 0.2s ease;
}

.article-card:hover {
    background-color: #f9f9f9;
}

.article-content {
    font-family: 'Noto Serif CJK', serif;
    line-height: 1.8;
}

.article-content p {
    margin-bottom: 1.5em;
    text-indent: 2em;
    overflow: hidden;
}

.article-content img {
    max-width: 100%;
    height: auto;
    margin: 1.5rem auto;
    border-radius: 0.25rem;
    object-fit: contain;
    box-sizing: border-box;
}

.zoom-btn {
    transition: all 0.2s ease;
}

.zoom-btn:hover {
    background-color: #c41e3a;
    color: white;
}

.action-btn {
    transition: all 0.2s ease;
}

.action-btn:hover {
    background-color: #f0f0f0;
}

.pagination-btn {
    transition: all 0.2s ease;
}

.pagination-btn:hover {
    background-color: #c41e3a;
    color: white;
    border-color: #c41e3a;
}

.pagination-btn.active {
    background-color: #c41e3a;
    color: white;
    border-color: #c41e3a;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination li {
    display: flex;
}

.pagination li a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    color: #666666;
    background-color: #ffffff;
    border: 1px solid #e5e5e5;
    text-decoration: none;
    transition: all 0.2s ease;
    min-width: 2.5rem;
    height: 2.25rem;
}

.pagination li a:hover {
    background-color: #c41e3a;
    color: #ffffff;
    border-color: #c41e3a;
}

.pagination li span {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    color: #ffffff;
    background-color: #c41e3a;
    border: 1px solid #c41e3a;
    min-width: 2.5rem;
    height: 2.25rem;
    cursor: default;
}

.pagination li:first-child a,
.pagination li:last-child a {
    padding: 0.5rem 0.75rem;
    min-width: 2.25rem;
}

/* 中小屏幕下图片溢出修复 */
@media (max-width: 991px) {
    .article-content img {
        max-width: 100% !important;
        width: auto !important;
        height: auto !important;
    }
}
