/* -------- 方案B：横幅式大背景区（Hero Header） -------- */
.hero-header {
    background: radial-gradient(ellipse at 50% 0%, #e8f0fe 0%, #f8faff 80%);
    padding: 3.2rem 0 2.8rem;
    border-radius: 0 0 3rem 3rem;
    margin-bottom: 1.5rem;
    box-shadow: inset 0 -2px 10px rgba(0, 0, 0, 0.02);
}
/* 关键词排列：探索 · 分享 · 成长 */
.hero-keywords {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.8rem;
    font-weight: 700;
    color: #0b1a33;
    letter-spacing: 1px;
    margin-bottom: 0.2rem;
}
.hero-keywords .dot {
    color: #006ACD;
    font-size: 1.8rem;
    font-weight: 300;
    line-height: 1;
}
.hero-sub {
    font-size: 0.95rem;
    color: #6c7a8a;
    margin-bottom: 1.8rem;
    letter-spacing: 0.5px;
}
/* 搜索框（在横幅内增强） */
.hero-header .search-box {
    max-width: 640px;
    margin: 0 auto;
}
.hero-header .search-box .input-group {
    background: #fff;
    border-radius: 60px;
    box-shadow: 0 8px 30px rgba(0, 106, 205, 0.10);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}
.hero-header .search-box .input-group:focus-within {
    box-shadow: 0 8px 36px rgba(0, 106, 205, 0.18);
}
.hero-header .search-box .form-control {
    border: none;
    padding: 0.9rem 2rem;
    font-size: 1.05rem;
    border-radius: 60px 0 0 60px;
    background: transparent;
}
.hero-header .search-box .form-control:focus {
    box-shadow: none;
    border-color: transparent;
}
.hero-header .search-box .btn-search {
    border: none;
    background: #006ACD;
    color: #fff;
    padding: 0 2.5rem;
    border-radius: 0 60px 60px 0;
    font-weight: 500;
    font-size: 1.05rem;
    transition: background 0.2s;
}
.hero-header .search-box .btn-search:hover {
    background: #0052a3;
}

/* -------- 文章列表主体（下方区域） -------- */
.article-section {
    padding: 20px 0 60px;
    background: #f8faff;
}

/* ===== 推荐文章：左右结构，无外框 ===== */
.featured-wrapper {
    display: flex;
    gap: 2rem;
    margin: 1.5rem 0 3rem;
}

/* 左侧主推荐 */
.featured-main {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    background: #f0f4fa;
    border-radius: 1rem;
    overflow: hidden;
}
.featured-main img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.featured-main .main-content {
    padding: 1.2rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.featured-main .main-content .main-tag {
    background: rgba(0, 106, 205, 0.10);
    color: #006ACD;
    padding: 0.1rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    align-self: flex-start;
    margin-bottom: 0.4rem;
}
.featured-main .main-content h4 {
    font-weight: 700;
    color: #0b1a33;
    margin-bottom: 0.3rem;
}
.featured-main .main-content h4 a {
    color: inherit;
    text-decoration: none;
}
.featured-main .main-content h4 a:hover {
    color: #006ACD;
}
.featured-main .main-content .main-meta {
    font-size: 0.85rem;
    color: #8a98a8;
    margin-bottom: 0.5rem;
}
.featured-main .main-content .main-meta i {
    margin-right: 4px;
}
.featured-main .main-content .main-summary {
    color: #4b5a6a;
    font-size: 0.95rem;
    line-height: 1.7;
    flex: 1;
}
.featured-main .main-content .main-footer {
    margin-top: 0.8rem;
    display: flex;
    justify-content: flex-end;
}
.featured-main .main-content .main-footer .read-more {
    color: #006ACD;
    font-weight: 500;
    text-decoration: none;
}
.featured-main .main-content .main-footer .read-more:hover {
    text-decoration: underline;
}

/* 右侧两个小推荐（充满高度，图片160px宽，带简介） */
.featured-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.side-item {
    display: flex;
    flex: 1;
    background: #f8faff;
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.2s;
    border: 1px solid transparent;
    align-items: stretch;
}
.side-item:hover {
    border-color: rgba(0, 106, 205, 0.12);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}
.side-item img {
    width: 160px;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
    background: #e9edf4;
}
.side-item .side-body {
    padding: 0.8rem 1.2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}
.side-item .side-body .side-title {
    font-weight: 600;
    font-size: 1rem;
    color: #0b1a33;
    line-height: 1.4;
}
.side-item .side-body .side-title a {
    color: inherit;
    text-decoration: none;
}
.side-item .side-body .side-title a:hover {
    color: #006ACD;
}
.side-item .side-body .side-meta {
    font-size: 0.8rem;
    color: #8a98a8;
    margin-top: 0.2rem;
}
.side-item .side-body .side-meta i {
    margin-right: 3px;
}
.side-item .side-body .side-summary {
    font-size: 0.85rem;
    color: #4b5a6a;
    line-height: 1.5;
    margin-top: 0.3rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 响应式：推荐文章 */
@media (max-width: 767.98px) {
    .featured-wrapper {
        flex-direction: column;
    }
    .side-item img {
        width: 120px;
        height: 90px;
    }
    .side-item {
        flex: 0 0 auto;
    }
    .side-item .side-body .side-summary {
        -webkit-line-clamp: 1;
    }
}
@media (max-width: 575.98px) {
    .featured-wrapper {
        gap: 1.2rem;
    }
    .featured-main img {
        height: 130px;
    }
    .side-item img {
        width: 100px;
        height: 80px;
    }
    .side-item .side-body {
        padding: 0.5rem 0.8rem;
    }
    .side-item .side-body .side-title {
        font-size: 0.9rem;
    }
    .side-item .side-body .side-summary {
        font-size: 0.75rem;
        -webkit-line-clamp: 1;
    }
    .hero-keywords {
        font-size: 1.2rem;
        gap: 0.4rem;
    }
    .hero-keywords .dot {
        font-size: 1.4rem;
    }
    .hero-sub {
        font-size: 0.85rem;
        margin-bottom: 1.2rem;
    }
    .hero-header {
        padding: 2rem 0 1.8rem;
    }
    .hero-header .search-box .form-control {
        padding: 0.6rem 1.2rem;
        font-size: 0.95rem;
    }
    .hero-header .search-box .btn-search {
        padding: 0 1.2rem;
        font-size: 0.95rem;
    }
}

/* -------- 文章列表（一行一个，左侧图片） -------- */
.article-list {
    margin-top: 1.5rem;
}
.list-item {
    display: flex;
    align-items: stretch;
    background: #fff;
    border-radius: 1.2rem;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: all 0.25s ease;
    border: 1px solid transparent;
    margin-bottom: 1.5rem;
}
.list-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 106, 205, 0.07);
    border-color: rgba(0, 106, 205, 0.10);
}
.list-item .list-img {
    flex: 0 0 240px;
    height: 160px;
    object-fit: cover;
    background: #e9edf4;
}
.list-item .list-content {
    flex: 1;
    padding: 1.2rem 1.8rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.list-item .list-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #0b1a33;
    margin-bottom: 0.4rem;
}
.list-item .list-title a {
    color: inherit;
    text-decoration: none;
}
.list-item .list-title a:hover {
    color: #006ACD;
}
.list-item .list-meta {
    font-size: 0.85rem;
    color: #8a98a8;
    margin-bottom: 0.4rem;
}
.list-item .list-meta i {
    margin-right: 4px;
}
.list-item .list-summary {
    color: #4b5a6a;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.6rem;
}
.list-item .list-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.list-item .list-footer .tag {
    background: rgba(0, 106, 205, 0.08);
    color: #006ACD;
    padding: 0.15rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}
.list-item .list-footer .read-more {
    color: #006ACD;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
}
.list-item .list-footer .read-more:hover {
    text-decoration: underline;
}

/* 响应式列表 */
@media (max-width: 767.98px) {
    .list-item {
        flex-direction: column;
    }
    .list-item .list-img {
        flex: 0 0 auto;
        width: 100%;
        height: 180px;
    }
    .list-item .list-content {
        padding: 1.2rem;
    }
}
@media (max-width: 575.98px) {
    .list-item .list-img {
        height: 140px;
    }
    .list-item .list-content {
        padding: 1rem;
    }
    .list-item .list-title {
        font-size: 1rem;
    }
}

/* 分页 */
.pagination-wrap {
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
}
.pagination .page-link {
    color: #006ACD;
    border: none;
    padding: 0.5rem 1rem;
    margin: 0 4px;
    border-radius: 30px;
    background: transparent;
    transition: all 0.2s;
}
.pagination .page-link:hover {
    background: rgba(0, 106, 205, 0.06);
    color: #0052a3;
}
.pagination .page-item.active .page-link {
    background: #006ACD;
    color: #fff;
    border-radius: 30px;
    box-shadow: 0 4px 12px rgba(0, 106, 205, 0.2);
}
.pagination .page-item.disabled .page-link {
    color: #b0b8c0;
    background: transparent;
}