html, body { height: 100%; }
body { min-height: 100vh; display: flex; flex-direction: column; background: #f7f9fc; }
main, .main-content { flex: 1 0 auto; display: flex; flex-direction: column; justify-content: center; }
.hero {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 0;
    background: #fff;
    padding: 0 0 36px 0;
    border-bottom: 1px solid #ececec;
}
.hero .container {
    position: relative;
    z-index: 2;
}
.hero-title {
    font-size: 2.1rem;
    font-weight: 800;
    color: #222;
    letter-spacing: 1px;
    margin-top: 48px;
    margin-bottom: 8px;
}
.hero .subtitle {
    color: #666;
    font-size: 1.08rem;
    font-weight: 400;
    margin-bottom: 32px;
}
.article-list {
    margin: 0 auto;
    max-width: 900px;
    margin-top: -18px;
    position: relative;
    z-index: 3;
}
.article-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 6px rgba(82,96,255,0.04), 0 1.5px 8px rgba(0,0,0,0.03);
    padding: 0;
    margin-bottom: 22px;
    display: flex;
    align-items: stretch;
    transition: box-shadow 0.18s, transform 0.13s;
    overflow: hidden;
    border: 1px solid #f0f0f0;
}
.article-card:hover {
    box-shadow: 0 4px 18px rgba(82,96,255,0.08);
    transform: translateY(-2px) scale(1.01);
}
.article-cover {
    width: 110px;
    min-width: 110px;
    height: 90px;
    background: #f5f6fa url('../images/thumbnail-placeholder.jpg') center/cover no-repeat;
    border-radius: 0.6 !important;
    margin-right: 22px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 28px;
    margin-left: 3px;
}
.article-content {
    flex: 1;
    padding: 18px 18px 14px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
}
.article-title {
    font-size: 1.13rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 6px;
    line-height: 1.3;
    transition: color 0.18s;
}
.article-card:hover .article-title {
    color: #5260ff;
}
.article-meta {
    color: #aaa;
    font-size: 0.97rem;
    margin-bottom: 8px;
}
.article-desc {
    color: #444;
    font-size: 1.01rem;
    line-height: 1.7;
}
.pagination-container {
    display: flex;
    justify-content: center;
    margin: 28px 0 0 0;
}
.pagination {
    display: flex;
    gap: 6px;
}
.page-btn {
    background: #f7f9fc;
    border: 1px solid #ececec;
    border-radius: 22px;
    padding: 6px 16px;
    font-size: 1rem;
    color: #5260ff;
    cursor: pointer;
    transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.12s;
    box-shadow: none;
    font-weight: 500;
}
.page-btn.active, .page-btn:hover {
    background: #5260ff;
    color: #fff;
    box-shadow: 0 2px 8px rgba(82,96,255,0.10);
    transform: translateY(-1px) scale(1.04);
}
.page-btn[disabled] {
    background: #f0f0f0;
    color: #bbb;
    cursor: not-allowed;
    box-shadow: none;
}
.article-title, .article-meta, .article-desc {
    text-align: left !important;
}
@media (max-width: 900px) {
    .article-list { max-width: 100%; }
    .article-card { flex-direction: column; align-items: stretch; }
    .article-cover { width: 100%; min-width: 0; height: 140px; margin-right: 0; border-radius: 8px 8px 0 0; }
    .article-content { padding: 12px 12px 10px 12px; }
}
@media (max-width: 768px) {
    .hero-title { font-size: 1.2rem; margin-top: 18px; }
    .article-list { padding: 0 2px; }
    .article-card { margin-bottom: 12px; }
    .article-content { padding: 8px 4px 8px 4px; }
    .article-cover { height: 90px; }
}
footer { flex-shrink: 0; }