/* ========== SINGLE BLOG POST 新增样式 ========== */
.single-post-hero {
    height: 36vh;
    min-height: 280px;
    color: #fff;
}
.single-hero-bg {
    width:100%;
    height:100%;
    background: url('../images/banner2.png') center center / cover no-repeat;
    position: relative;
}
.single-hero-content {

    

    padding-top:150px;
      position: relative;
    z-index: 2;
    color: #fff;



    /* padding-top: 40px; */
}


.single-hero-bg .hero-overlay {
    position: absolute;
    background-color: rgba(10, 25, 45, 0.68);
    z-index: 1;
    inset: 0px;
}



.back-blog-link {
    display: inline-flex;
    align-items: center;
    gap:6px;
    color:#fff;
    text-decoration: none;
    font-size:14px;
    margin-bottom:14px;
}
.single-hero-content h1 {
    font-size: 36px;
    line-height:1.25;
    margin:12px 0;
}
.post-meta-top {
    display:flex;
    gap:20px;
    font-size:14px;
    opacity:0.9;
}
.post-meta-top span {
    display:flex;
    align-items:center;
    gap:4px;
}

.single-post-section {
    padding:48px 0;
}
.single-grid-wrap {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap:32px;
}
.post-featured-img img {
    width:100%;
    border-radius:8px;
    margin-bottom:24px;
}
.article-body p {
    color:#444;
    line-height:1.7;
    font-size:15px;
    margin-bottom:20px;
}
.step-item {
    display:flex;
    gap:16px;
    margin:28px 0;
}
.step-number {
    width:32px;
    height:32px;
    flex-shrink:0;
    background:#ffc800;
    color:#000;
    font-weight:bold;
    border-radius:50%;
    display:grid;
    place-items:center;
}
.step-content h3 {
    font-size:18px;
    margin:0 0 8px;
}
.step-content p {
    margin:0;
}
.type-list {
    padding-left:16px;
    margin:10px 0 0;
}
.type-list li {
    margin:8px 0;
    line-height:1.6;
}

.inner-cta-box {
    display:flex;
    align-items:center;
    gap:14px;
    background:#fff9dd;
    border:1px solid #ffe680;
    border-radius:8px;
    padding:20px;
    margin:36px 0;
}
.cta-icon {
    width:40px;
    height:40px;
    flex-shrink:0;
    background:#ffc800;
    border-radius:50%;
    display:grid;
    place-items:center;
}
.cta-text h4 {
    margin:0 0 4px;
    font-size:16px;
}
.cta-text p {
    margin:0;
    font-size:13px;
    color:#555;
}

.related-posts-block {
    margin-top:50px;
}
.related-header {
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:20px;
}
.related-header h3 {
    font-size:20px;
}
.view-more-link {
    color:#222;
    text-decoration:none;
    font-size:14px;
    display:flex;
    align-items:center;
    gap:4px;
}
.related-cards-grid {
    display:grid;
    grid-template-columns: repeat(4, 1fr);
    gap:16px;
}
.related-card {
    overflow:hidden;
}
.related-card img {
    width:100%;
    height:120px;
    object-fit:cover;
    border-radius:6px;
}
.related-card h4 {
    font-size:14px;
    margin:10px 0 4px;
    line-height:1.4;
}
.related-card h4 a {
    color:#222;
    text-decoration:none;
}
.rel-date {
    font-size:11px;
    color:#777;
    display:flex;
    align-items:center;
    gap:4px;
}

/* 响应式适配 */
@media(max-width:992px){
    .single-grid-wrap {
        grid-template-columns:1fr;
    }
    .related-cards-grid {
        grid-template-columns: repeat(2,1fr);
    }
}
@media(max-width:768px){
    .single-hero-content h1 {
        font-size:28px;
    }
    .post-meta-top {
        flex-wrap:wrap;
        gap:10px;
    }
    .step-item {
        gap:12px;
    }
    .inner-cta-box {
        flex-direction:column;
        align-items:flex-start;
    }
    .related-cards-grid {
        grid-template-columns: 1fr;
    }
}





/* ========== Blog Sidebar 侧边栏完整样式 ========== */
.blog-sidebar-col {
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.sidebar-widget {
    background: #ffffff;
    border-radius: 6px;
    overflow: hidden;
}
.sidebar-widget h3 {
    font-size: 18px;
    color: #111;
    margin: 0 0 16px;
    font-weight: 700;
}

/* 搜索框 */
.blog-search-box {
    display: flex;
    width: 100%;
}
.blog-search-box input {
    flex: 1;
    padding: 11px 14px;
    border: 1px solid #ddd;
    border-right: none;
    border-radius: 4px 0 0 4px;
    font-size: 14px;
    outline: none;
}
.blog-search-box input:focus {
    border-color: #222;
}
.blog-search-box button {
    width: 44px;
    background: #122846;
    color: #fff;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: 0.2s;
}
.blog-search-box button:hover {
    background: #09172b;
}

/* Recent Posts 最新文章列表 */
.recent-post-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.recent-post-list li {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}
.recent-post-list li:last-child {
    border-bottom: none;
}
.recent-post-list li img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}
.recent-post-list li div a {
    display: block;
    font-size: 14px;
    color: #222;
    text-decoration: none;
    line-height: 1.45;
    margin-bottom: 4px;
}
.recent-post-list li div a:hover {
    color: #ffc800;
}
.recent-post-list li div span {
    font-size: 12px;
    color: #777;
}

/* Categories 分类列表 */
.cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.cat-list li {
    padding: 9px 0;
    border-bottom: 1px solid #eee;
}
.cat-list li:last-child {
    border-bottom: none;
}
.cat-list li a {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #333;
    text-decoration: none;
}
.cat-list li a:hover {
    color: #ffc800;
}
.cat-list li a span {
    color: #777;
}

/* 侧边栏CTA深色卡片（和原图深蓝色背景一致） */
.cta-widget {
    background: #122846 !important;
    color: #fff;
    padding: 24px 20px;
}
.cta-widget h3 {
    color: #fff;
    font-size: 17px;
    margin-bottom: 10px;
}
.cta-widget p {
    font-size: 14px;
    opacity: 0.85;
    margin-bottom: 18px;
    line-height: 1.5;
}
.cta-widget .btn-yellow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #ffc800;
    color: #000;
    padding: 10px 18px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: 0.2s;
}
.cta-widget .btn-yellow:hover {
    background-color: #ffd43a;
}




.sidebar-widget {
    background: #ffffff;
    border-radius: 6px;
    overflow: hidden;
    padding: 20px;  
}
