/* Blog List Hero */
.blog-list-hero {
    position: relative;
    min-height: 280px;
    display: flex;
    align-items: center;
    color: #fff;
    padding-top: 80px;
}
.blog-list-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0,0,0,0.48), rgba(0,0,0,0.52)), url("../images/banner.jpg");
    background-size: cover;
    background-position: center;
    z-index: -1;
}
.blog-list-hero-content {
    padding: 30px 0;
}
.blog-list-hero .breadcrumb {
    font-size: 13px;
    opacity: 0.85;
    margin-bottom: 14px;
}
.blog-list-hero .breadcrumb a {
    color: #fff;
}
.blog-list-hero h1 {
    font-size: 44px;
    font-weight: 700;
    margin-bottom: 12px;
}
.blog-list-hero p {

    color: #fff;
    
    font-size: 16px;
    opacity: 0.9;
    max-width: 620px;
}

/* Layout Wrap */
.blog-list-wrap {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 36px;
    padding: 50px 0;
}

/* Sidebar */
.blog-list-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.sidebar-widget {
    background: #ffffff;
    border-radius: 4px;
}
.widget-title {
    font-size: 17px;
    font-weight: 700;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    margin-bottom: 16px;
    position: relative;
    color:#111;
}
.widget-title::before {
    content:"";
    position:absolute;
    left:0;
    bottom:-1px;
    width:32px;
    height:2px;
    background:#0f3460;
}
.category-list {
    list-style: none;
    padding:0;
}
.category-list li {
    border-bottom: 1px solid #f2f2f2;
}
.category-list a {
    display:flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    color:#333;
    font-size:14px;
    gap:8px;
}
.category-list a i {
    color:#0f3460;
    width:16px;
}
.category-list a:hover {
    color:#0f3460;
}
.category-list a span {
    color:#777;
}

/* Recent Posts Sidebar */
.recent-post-list {
    display:flex;
    flex-direction:column;
    gap:16px;
}
.recent-post-item {
    display:grid;
    grid-template-columns:80px 1fr;
    gap:10px;
    text-decoration:none;
    color:#222;
}
.recent-post-item:hover h4 {
    color:#0f3460;
}
.rp-img {
    height:60px;
    width:100%;
    object-fit:cover;
    border-radius:2px;
}
.rp-text h4 {
    font-size:13px;
    line-height:1.4;
    margin:0 0 4px;
    transition:0.2s;
}
.rp-text span {
    font-size:11px;
    color:#777;
}

/* Newsletter Widget */
.newsletter-widget {
    background:#f0f6ff;
    padding:24px;
    border-radius:4px;
}
.newsletter-icon {
    width:40px;
    height:40px;
    background:#0f3460;
    color:#fff;
    border-radius:50%;
    display:grid;
    place-items:center;
    margin-bottom:12px;
}
.newsletter-widget p {
    font-size:13px;
    color:#444;
    margin-bottom:14px;
}
.newsletter-form {
    display:flex;
    flex-direction:column;
    gap:10px;
}
.newsletter-form input {
    padding:10px 12px;
    border:1px solid #ddd;
    border-radius:2px;
    outline:none;
    font-size:14px;
}
.btn-blue {
    background:#0f3460;
    color:#fff;
    width:100%;
    justify-content:center;
}
.btn-blue:hover {
    background:#092542;
}

/* Main Blog Area */
.blog-list-main {
    display:flex;
    flex-direction:column;
    gap:24px;
}
.blog-list-top-bar {
    display:flex;
    justify-content:flex-end;
}
.search-box {
    display:flex;
    border:1px solid #ddd;
    border-radius:2px;
    overflow:hidden;
    width:280px;
}
.search-box input {
    flex:1;
    padding:10px 12px;
    border:none;
    outline:none;
    font-size:14px;
}
.search-box button {
    width:42px;
    border:none;
    background:#0f3460;
    color:#fff;
    cursor:pointer;
}

/* Blog Card Grid */
.blog-card-grid {
    display:grid;
    grid-template-columns: repeat(3,1fr);
    gap:24px;
}
.blog-card {
    background:#fff;
    border-radius:4px;
    overflow:hidden;
    box-shadow:0 1px 4px rgba(0,0,0,0.06);
    transition:0.25s ease;
}
.blog-card:hover {
    transform: translateY(-4px);
    box-shadow:0 6px 16px rgba(0,0,0,0.1);
}
.blog-card-img {
    width:100%;
    height:170px;
}
.blog-card-body {
    padding:16px;
}
.card-tag {
    display:inline-block;
    background:#0f3460;
    color:#fff;
    font-size:11px;
    padding:3px 8px;
    border-radius:2px;
    margin-bottom:10px;
}
.blog-card h3 {
    font-size:16px;
    line-height:1.35;
    margin-bottom:10px;
}
.blog-card h3 a {
    color:#111;
}
.blog-card h3 a:hover {
    color:#0f3460;
}
.blog-card p {
    font-size:13px;
    color:#555;
    line-height:1.6;
    margin-bottom:14px;
}
.card-meta {
    display:flex;
    gap:16px;
    font-size:12px;
    color:#777;
}
.card-meta span i {
    margin-right:4px;
}

/* Pagination */



.pagination {
    display: flex;
    gap: 8px;
    margin-top: 36px;
    justify-content: center;
}
.page-btn {

     display: inline-flex;
    align-items: center;
    justify-content: center;

    
    width: 34px;
    height: 34px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 3px;
    cursor: pointer;
    font-size: 14px;
}
.page-btn.active {
    background: #ffc120;
    border-color: #ffc120;
    color: #111;
    font-weight: 600;
}





/* 
.pagination {
    display:flex;
    justify-content:center;
    gap:6px;
    margin-top:20px;
}
.page-link {
    width:34px;
    height:34px;
    display:grid;
    place-items:center;
    border:1px solid #ddd;
    color:#333;
    border-radius:2px;
    font-size:14px;
}
.page-link.active {
    background:#0f3460;
    color:#fff;
    border-color:#0f3460;
}
.page-link:hover:not(.active) {
    background:#f0f6ff;
    border-color:#0f3460;
} */

/* Responsive */
@media(max-width:992px) {
    .blog-list-wrap {
        grid-template-columns: 1fr;
    }
    .blog-card-grid {
        grid-template-columns: repeat(2,1fr);
    }
    .blog-list-top-bar {
        justify-content:flex-start;
    }
    .blog-list-hero h1 {
        font-size:36px;
    }
}
@media(max-width:640px) {
    .blog-card-grid {
        grid-template-columns:1fr;
    }
    .pagination {
        flex-wrap:wrap;
    }
    .blog-list-hero h1 {
        font-size:30px;
    }
}










/* Blog Card */
.blog-card {
    background: #fff;
    border: 1px solid #e9edf1;
    overflow: hidden;
    transition: all .35s ease;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(16, 44, 70, .09);
    border-color: transparent;
}

/* Blog 图片 */
.blog-card-img {
    width: 100%;
    height: 245px;
    overflow: hidden;
    background: #f3f5f7;
}

.blog-card-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.blog-card:hover .blog-card-img img {
    transform: scale(1.06);
}

/* 内容区域 */
.blog-card-body {
    padding: 25px 24px 22px;
}

/* 分类标签 */
.card-tag {
    display: inline-block;
    padding: 6px 12px;
    background: #fff4db;
    color: #bd8000;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

/* 文章标题 */
.blog-card-body h3 {
    font-size: 20px;
    line-height: 1.45;
    font-weight: 700;
    margin: 0 0 14px;
}

.blog-card-body h3 a {
    color: #102c46;
    text-decoration: none;
    transition: color .3s ease;
}

.blog-card-body h3 a:hover {
    color: #d99500;
}

/* 摘要 */
.blog-card-body > p {
    color: #7b8792;
    font-size: 14px;
    line-height: 1.8;
    margin: 0 0 22px;

    /* 最多显示3行 */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 底部信息 */
.card-meta {
    display: flex;
    align-items: center;
    gap: 22px;
    padding-top: 17px;
    border-top: 1px solid #edf0f2;
    color: #929da7;
    font-size: 12px;
}

.card-meta span {
    display: flex;
    align-items: center;
    gap: 7px;
}

.card-meta i {
    color: #e9a000;
    font-size: 13px;
}

/* 平板 */
@media (max-width: 991px) {
    .blog-card-img {
        height: 220px;
    }

    .blog-card-body h3 {
        font-size: 18px;
    }
}

/* 手机 */
@media (max-width: 576px) {
    .blog-card-img {
        height: 180px;
    }

    .blog-card-body {
        padding: 18px 16px;
    }

    .blog-card-body h3 {
        font-size: 16px;
    }

    .blog-card-body > p {
        font-size: 13px;
    }

    .card-meta {
        gap: 12px;
        font-size: 11px;
    }
}






/* Recent Post Item */
.recent-post-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #e9edf1;
    text-decoration: none;
    transition: all .3s ease;
}

.recent-post-item:first-child {
    padding-top: 0;
}

.recent-post-item:last-child {
    border-bottom: none;
}

/* 图片 */
.rp-img {
    flex: 0 0 95px;
    width: 95px;
    height: 75px;
    overflow: hidden;
    background: #f3f5f7;
}

.rp-img img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .4s ease;
}

.recent-post-item:hover .rp-img img {
    transform: scale(1.08);
}

/* 文字区域 */
.rp-text {
    flex: 1;
    min-width: 0;
}

.rp-text h4 {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.55;
    color: #102c46;
    margin: 0 0 9px;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;

    transition: color .3s ease;
}

.recent-post-item:hover .rp-text h4 {
    color: #d99500;
}

/* 日期 */
.rp-text span {
    display: block;
    font-size: 12px;
    color: #929da7;
}

/* 手机 */
@media (max-width: 576px) {
    .rp-img {
        flex: 0 0 85px;
        width: 85px;
        height: 68px;
    }

    .rp-text h4 {
        font-size: 13px;
    }
}
