/* =====================================================================
 * blog-detail.css — 博客详情页样式
 *
 * 【代码规范】
 * 1. 不重写 h1/h2/h3 标题元素（由 common.css 统一定义）
 * 2. 优先复用 common.css 工具类
 * 3. 本文件只写博客详情页独有的样式
 * ===================================================================== */

.blog-detail {
    margin-top: 80px;
    background: #f2f2f2;
}

/* ==================== Breadcrumb ==================== */
.breadcrumb-section {
    background: #f8f8f8;
    padding: 20px 0;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--secondary-color);
}

.breadcrumb .separator {
    color: #ccc;
}

.breadcrumb .current {
    color: #1a1a1a;
    font-weight: 500;
}

/* ==================== Article Layout ==================== */
.article-container.section-container {
    padding: 20px 0 60px;
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 20px;
}

/* ==================== Main Article ==================== */
.article-main {
    min-width: 0;
}

/* ==================== Advertisement Banner ==================== */
.ad-banner-container{
    background-color: #fff;
    padding: 15px;
}
.ad-banner {
    position: relative;
    display: flex;
    /* min-height: 180px; */
    gap: 0;
}

.ad-banner-footer{
    display: flex;
}

.ad-left {
    flex: 1;
    background:rgba(0, 0, 0, 0.5) url('/dist/img/banner/banner_01.webp');
    background-size: cover;
    background-position: center;
    background-blend-mode: multiply;
    padding: 30px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    clip-path: polygon(0 0, 100%, 0, 100% 100%, 0 100%);
}

.ad-title {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.5;
    /*text-transform: uppercase;*/
    color: #fff;
}

.ad-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 30px;
    background-color: var(--secondary-color);
    padding: 15px 20px;
}

.ad-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #fff;
}

.ad-features i {
    color: #ffd700;
    font-size: 16px;
}

.ad-right {
    flex: 1;
    background:rgba(50, 150, 148, 0.4) url('/dist/img/banner/certification-banner.webp');
    background-size: cover;
    background-position: center;
    background-blend-mode: multiply;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    clip-path: polygon(40px 0, 100% 0, 100% 100%, 0 100%);
    margin-left: -40px;
}

.ad-right .ad-title {
    margin-left: 5%;
}

.ad-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.contact-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.contact-phone {
    font-size: 28px;
    font-weight: 700;
    color: var(--secondary-color);
    text-decoration: none;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.contact-phone:hover {
    color: var(--secondary-hover-color);
    transform: scale(1.05);
}

.rfq-container{
    background-color:var(--secondary-hover-color);
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rfq-container a{
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;

}

.rfq-container a:hover{
    text-decoration: underline;
}

.rfq-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 28px;
    background: var(--secondary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(66, 74, 210, 0.3);
}

.rfq-btn:hover {
    background: var(--secondary-hover-color);
}


.contact-phone:hover {
    color: var(--secondary-hover-color);
    transform: scale(1.05);
}

.article{
    background-color: #fff;
    padding: 30px 15px;
    margin-top: 20px;
}

.article-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ccc;
}

.article-header h1{
    font-size: 32px;
    line-height: 36px;
}

.article-meta-top {
    display: flex;
    align-items: center;
    gap: 24px;
    justify-content: space-between;
    margin-top: 20px;
    font-size: 14px;
    color: #666;
}

.article-meta-top i {
    color: var(--secondary-color);
    margin-right: 6px;
}

/* 只调整 h1 的颜色，不重写字号 */
.article-header h1 {
    color: #1a1a1a;
    margin-bottom: 0;
}

.article-featured-image {
    width: 100%;
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
}

.article-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.article-content img {
    width: 100%;
    height: auto;
    display: block;
}

.article-content {
    background-color:white;
    padding:40px;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.article-content .lead-paragraph {
    font-size: 18px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 30px;
    padding-left: 20px;
    border-left: 4px solid var(--secondary-color);
}

/* 只调整 h2/h3 的颜色和间距，不重写字号 */
.article-content h2 {
    color: #1a1a1a;
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
    font-size: 28px !important;
}

.article-content h3 {
    color: #1a1a1a;
    margin-top: 30px;
    margin-bottom: 15px;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content ul,
.article-content ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.article-content li {
    margin-bottom: 10px;
}

.article-content strong {
    color: #1a1a1a;
    font-weight: 600;
}

.article-content a {
    color: var(--secondary-color);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.article-content a:hover {
    color: #3640b8;
}

/* ==================== Article Footer ==================== */
.article-footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.article-tags {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.tags-label {
    font-weight: 600;
    color: #1a1a1a;
}

.tag {
    display: inline-block;
    padding: 6px 16px;
    background: #f5f5f5;
    border-radius: 20px;
    font-size: 14px;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tag:hover {
    background: var(--secondary-color);
    color: #fff;
}

.article-share {
    display: flex;
    align-items: center;
    gap: 12px;
}

.share-label {
    font-weight: 600;
    color: #1a1a1a;
}

.share-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 50%;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
}

.share-btn:hover {
    background: var(--secondary-color);
    color: #fff;
    transform: translateY(-2px);
}

/* ==================== Author Bio ==================== */
.author-bio {
    margin-top: 36px;
    padding: 0;
    display: flex;
    gap: 24px;
}

.author-bio .author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary-color);
    color: #fff;
    font-size: 30px;
    font-weight: 700;
}

.author-bio .author-info {
    flex: 1;
}

/* 只调整 h3 的颜色和间距，不重写字号 */
.author-bio .author-name {
    color: #1a1a1a;
    margin-bottom: 5px;
}

.author-bio .author-title {
    font-size: 14px;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.author-bio .author-description {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* ==================== Related Articles ==================== */
.related-articles {
    margin-top: 20px;
    padding: 30px 15px;
    background: #fff;
}

/* 只调整 h2 的颜色，不重写字号 */
.related-articles h2 {
    color: #1a1a1a;
    margin-bottom: 30px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.related-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 5px;
    overflow: hidden;
    transition: all 0.3s ease;
}


.related-card a {
    display: block;
    color: #1a1a1a;
    text-decoration: none;
}

.related-card img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    display: block;
}

.related-card h3 {
    color: #1a1a1a;
    padding: 15px 15px 0;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.related-card h3:hover{
    color: var(--text-hover-color);
}

.related-card p {
    font-size: 16px;
    /*padding: 15px;*/
    padding: 15px 15px 0;
    margin-bottom: 15px;
    color: var(--text-color);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.related-card-date {
    display: block;
    padding: 0 15px 15px;
    font-size: 13px;
    color: #8a8f97;
}

.article-sidebar {
    align-self: stretch;
}

.sidebar-widget {
    background: #fff;
    padding: 15px;
    margin-bottom: 20px;
}

/* 只让联系表单 widget 固定 */
.contact-widget {
    position: sticky;
    top: 100px;
    background-color: #fff;
}

/* 只调整 widget-title 的颜色，不重写字号 */
.widget-title {
    color: #1a1a1a;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e5e5e5;
}

/* Table of Contents */
.toc-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-nav li {
    margin-bottom: 12px;
}

.toc-nav a {
    display: block;
    color: #666;
    text-decoration: none;
    font-size: 15px;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.toc-nav a:hover {
    background: #fff;
    color: var(--secondary-color);
    padding-left: 16px;
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 10px;
    text-align: left;
    display: block;
    overflow-x: auto;
    white-space: nowrap;
}

table th,
table td {
    padding: 15px;
    text-align: left;
    border: 1px solid #e1e8ed;
}

table th {
    background-color: var(--secondary-color);
    color: #ffffff;
    font-weight: 600;
}

table tr:nth-child(even) {
    background-color: #f8f9fa;
}

/* About Widget */
.about-description {
    margin-bottom: 20px;
}

.widget-btn {
    width: 100%;
    display: inline-block;
    padding: 10px 24px;
    background: var(--secondary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
}

.widget-btn:hover {
    background: var(--accent-color);
}

/* Contact Form Widget */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.required {
    color: #e53e3e;
}

.form-group input,
.form-group textarea {
    padding: 8px 10px;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(66, 74, 210, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.submit-btn {
    padding: 12px 24px;
    background: var(--secondary-color);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.submit-btn:hover {
    background: var(--secondary-hover-color);
}

/* ==================== Responsive Design ==================== */

/* Tablet */
@media (max-width: 1024px) {
    .article-layout {
        grid-template-columns: 1fr 320px;
        gap: 20px;
    }

    .related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .ad-features {
        gap: 20px;
        font-size: 13px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .blog-detail {
        margin-top: 80px;
    }

    .blog-detail  .section-content{
        padding-left: 15px;
        padding-right: 15px;
    }

    .breadcrumb-section {
        padding: 15px 0;
    }

    .article-container.section-container {
        padding: 10px 0 40px;
    }

    .article-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .article-sidebar {
        position: static;
    }

    /* 广告横幅优化 */
    .ad-banner-container {
        padding: 10px;
    }

    .ad-banner {
        flex-direction: column;
        min-height: auto;
    }

    .ad-left,
    .ad-right {
        padding: 20px 15px;
        clip-path: none;
        margin-left: 0;
    }

    .ad-right .ad-title {
        margin-left: 0;
    }

    .ad-title {
        font-size: 16px;
        line-height: 1.4;
    }

    .ad-banner-footer {
        flex-direction: column;
        gap: 0;
    }

    .ad-features {
        flex-direction: column;
        gap: 12px;
        padding: 15px;
    }

    .ad-features li {
        font-size: 13px;
    }

    .rfq-container {
        padding: 15px;
    }

    .rfq-container a {
        font-size: 14px;
    }

    .contact-phone {
        font-size: 24px;
    }

    /* 文章内容优化 */
    .article {
        padding: 20px 5px;
        margin-top: 10px;
    }

    .article-header {
        margin-bottom: 20px;
        padding-bottom: 15px;
    }

    .article-header h1 {
        font-size: 24px;
        line-height: 1.3;
    }

    .article-meta-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        font-size: 13px;
    }

    .article-content {
        font-size: 16px;
        line-height: 1.7;
        padding: 15px;
    }

    .article-content .lead-paragraph {
        font-size: 16px;
        padding-left: 15px;
        margin-bottom: 20px;
    }

    .article-content h2 {
        font-size: 20px;
        margin-top: 30px;
        margin-bottom: 15px;
    }

    .article-content h3 {
        font-size: 18px;
        margin-top: 20px;
        margin-bottom: 12px;
    }

    .article-content p {
        margin-bottom: 15px;
    }

    .article-content ul,
    .article-content ol {
        padding-left: 20px;
        margin-bottom: 15px;
    }

    .article-content li {
        margin-bottom: 8px;
    }

    /* 作者信息优化 */
    .author-bio {
        margin-top: 30px;
        padding: 20px 15px;
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .author-bio .author-avatar {
        width: 70px;
        height: 70px;
        margin: 0 auto;
    }

    .author-bio .author-name {
        font-size: 18px;
    }

    .author-bio .author-title {
        font-size: 13px;
    }

    .author-bio .author-description {
        font-size: 14px;
        text-align: left;
    }

    /* 相关文章优化 */
    .related-articles {
        margin-top: 10px;
        padding: 20px 15px;
    }

    .related-articles h2 {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .related-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .related-card img {
        height: 200px;
    }

    .related-card h3 {
        font-size: 16px;
        padding: 12px 15px;
    }

    .related-card p {
        font-size: 14px;
        padding: 0 15px 12px;
    }

    /* 侧边栏优化 */
    .sidebar-widget {
        padding: 20px 15px;
    }

    .contact-widget {
        position: static;
        top: auto;
    }

    .widget-title {
        font-size: 18px;
        margin-bottom: 15px;
        padding-bottom: 12px;
    }

    .about-description {
        font-size: 14px;
        margin-bottom: 15px;
    }

    .widget-btn {
        display: block;
        text-align: center;
        padding: 10px 20px;
    }

    /* 表单优化 */
    .contact-form {
        gap: 14px;
    }

    .form-group label {
        font-size: 13px;
    }

    .form-group input,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 14px;
    }

    .submit-btn {
        padding: 12px 20px;
        font-size: 14px;
        width: 100%;
    }

    .article-footer {
        margin-top: 30px;
        padding-top: 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .article-tags,
    .article-share {
        width: 100%;
    }

    .tag {
        font-size: 13px;
        padding: 5px 14px;
    }
}

@media (max-width: 480px) {
    /* 面包屑导航 */
    .breadcrumb {
        font-size: 12px;
        flex-wrap: wrap;
        gap: 6px;
    }

    .breadcrumb .current {
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* 广告横幅 */
    .ad-banner-container {
        padding: 8px;
    }

    .ad-left,
    .ad-right {
        padding: 15px 12px;
    }

    .ad-title {
        font-size: 14px;
    }

    .ad-features {
        padding: 12px;
        gap: 10px;
    }

    .ad-features li {
        font-size: 12px;
    }

    .ad-features i {
        font-size: 14px;
    }

    .rfq-container {
        padding: 12px;
    }

    .rfq-container a {
        font-size: 13px;
    }

    /* 文章主体 */
    .article {
        padding: 15px 12px;
    }

    .article-header h1 {
        font-size: 20px;
        line-height: 1.3;
    }

    .article-meta-top {
        font-size: 12px;
    }

    .article-content {
        font-size: 14px;
    }

    .article-content .lead-paragraph {
        font-size: 15px;
        padding-left: 12px;
        border-left-width: 3px;
    }

    .article-content h2 {
        font-size: 18px;
        margin-top: 25px;
        margin-bottom: 12px;
    }

    .article-content h3 {
        font-size: 16px;
        margin-top: 18px;
        margin-bottom: 10px;
    }

    .article-content ul,
    .article-content ol {
        padding-left: 18px;
    }

    /* 作者信息 */
    .author-bio {
        padding: 15px 12px;
    }

    .author-bio .author-avatar {
        width: 60px;
        height: 60px;
    }

    .author-bio .author-name {
        font-size: 16px;
    }

    .author-bio .author-description {
        font-size: 13px;
    }

    /* 相关文章 */
    .related-articles {
        padding: 15px 12px;
    }

    .related-articles h2 {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .related-card img {
        height: 180px;
    }

    .related-card h3 {
        font-size: 15px;
        padding: 10px 12px;
    }

    .related-card p {
        font-size: 13px;
        padding: 0 12px 10px;
    }

    /* 侧边栏 */
    .sidebar-widget {
        padding: 15px 12px;
    }

    .widget-title {
        font-size: 16px;
    }

    .about-description {
        font-size: 13px;
    }

    .widget-btn {
        padding: 10px 18px;
        font-size: 14px;
    }

    /* 表单 */
    .form-group input,
    .form-group textarea {
        padding: 10px;
        font-size: 14px;
    }

    .form-group textarea {
        min-height: 90px;
    }

    .submit-btn {
        padding: 11px 18px;
    }

    /* 标签和分享 */
    .tag {
        font-size: 12px;
        padding: 4px 12px;
    }

    .share-btn {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
}


/* ==========================================================================
   Blog detail — hero banner + sidebar (2026-11)
   ========================================================================== */
.blog-hero {
  position: relative;
  padding: 60px 0 30px;
  overflow: hidden;
  background: #0b0b0d;
}

.blog-hero-bg {
  position: absolute;
  inset: 0;
  background: url("/dist/img/blog/blog-hero.webp") top right / cover no-repeat;
  transform: scale(1.02);
}

.blog-hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(255, 255, 255, 0.22) 0%,
      rgba(255, 255, 255, 0.1) 38%,
      rgba(255, 255, 255, 0) 70%);
}

.blog-hero-inner {
  position: relative;
  z-index: 1;
  padding: 0;
}

.blog-hero-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #6b6f76;
  margin-bottom: 18px;
}

.blog-hero-crumb a {
  color: #6b6f76;
  text-decoration: none;
  transition: color 0.2s;
}

.blog-hero-crumb a:hover {
  color: var(--secondary-color);
}

.blog-hero-crumb i {
  font-size: 11px;
  margin-right: 4px;
}

.blog-hero-title {
  margin: 0 0 50px;
  font-size: clamp(28px, 3.4vw, 32px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #14161a;
}

.blog-hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  font-size: 13.5px;
  color: #5b6068;
}

.blog-hero-meta i {
  margin-right: 6px;
  color: #7a7f87;
}

.blog-hero-sep {
  width: 1px;
  height: 14px;
  background: #c9ccd1;
}

/* ---------- article body ---------- */
.article-cover {
  margin: 0 0 26px;
  border-radius: 8px;
  overflow: hidden;
}

.article-cover img {
  display: block;
  width: 100%;
  height: auto;
}

.article-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid #ececec;
}

.article-back {
  font-size: 14px;
  color: var(--secondary-color);
  text-decoration: none;
}

.article-back i {
  margin-right: 6px;
}

.article-cta {
  display: inline-block;
  padding: 11px 22px;
  border-radius: 4px;
  background: var(--secondary-color);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

/* ---------- sidebar ---------- */
.blog-side-card {
  position: relative;
  margin-bottom: 20px;
  padding: 26px 22px 26px;
  border-radius: 5px;
  overflow: hidden;
  color: #fff;
  background:
      linear-gradient(180deg, rgba(9, 9, 11, 0.9) 0%, rgba(9, 9, 11, 0.55) 55%, rgba(9, 9, 11, 0.05) 100%),
      url("/dist/img/blog/blog-sidebar.webp") right bottom / cover no-repeat,
      #0b0b0d;
}

.blog-side-card-title {
  margin: 0 0 12px;
  font-size: 21px;
  line-height: 1.3;
  font-weight: 800;
  color: #fff;
}

.blog-side-card-desc {
  margin: 0 0 18px;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
}

.blog-side-card-btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 4px;
  background: #e0222c;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s;
}

.blog-side-card-btn:hover {
  background: #c01a24;
}

.blog-side-block {
  margin-bottom: 20px;
  padding: 20px 18px 8px;
  background: #fff;
  border-radius: 8px;
}

.blog-side-title {
  position: relative;
  margin: 0 0 16px;
  padding-left: 14px;
  font-size: 16px;
  font-weight: 700;
  color: var(--title-color);
}

.blog-side-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  bottom: 3px;
  width: 4px;
  border-radius: 2px;
  background: var(--secondary-color);
}

.blog-side-post {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  text-decoration: none;
  border-bottom: 1px solid #f0f0f0;
}

.blog-side-post:last-child {
  border-bottom: none;
}

.blog-side-thumb {
  flex: 0 0 84px;
  width: 84px;
  height: 60px;
  border-radius: 5px;
  overflow: hidden;
  background: linear-gradient(135deg, #eef2f7 0%, #dfe6ee 100%);
}

.blog-side-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-side-post-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.blog-side-post-text strong {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--title-color);
  transition: color 0.2s;
}

.blog-side-post:hover .blog-side-post-text strong {
  color: var(--secondary-color);
}

.blog-side-post-text em {
  font-style: normal;
  font-size: 12px;
  color: #8a8f97;
}

.blog-side-post-text em i {
  margin-right: 5px;
}

.blog-side-cat {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 0;
  font-size: 14px;
  color: var(--title-color);
  text-decoration: none;
  border-bottom: 1px solid #f0f0f0;
  transition: color 0.2s;
}

.blog-side-cat:hover {
  color: var(--secondary-color);
}

.blog-side-cat-count {
  font-size: 13px;
  color: #8a8f97;
}

.blog-side-cat i {
  margin-left: auto;
  font-size: 12px;
  color: #b9bdc4;
}

@media (max-width: 992px) {
  .blog-hero {
    padding: 34px 0 40px;
  }

  .blog-hero-veil {
    background: linear-gradient(90deg,
        rgba(0, 0, 0, 0.97) 0%,
        rgba(0, 0, 0, 0.9) 55%,
        rgba(0, 0, 0, 0.6) 100%);
  }
}

/* 详情页正文容器：去掉旧卡片内缩进，与 hero 左对齐 */
.blog-detail .article {
  background: transparent;
  padding: 0;
  margin-top: 0;
}

.blog-detail .article-container.section-container {
  padding: 30px 0 70px;
}

@media (max-width: 992px) {
  .blog-detail .article-container.section-container {
    padding: 24px 0 50px;
  }
}

/* 页面已用 margin-top 让出头部，hero 只留面包屑上方呼吸 */
.blog-hero {
  padding-top: 30px;
}

@media (max-width: 992px) {
  .blog-hero {
    padding-top: 24px;
  }
}
