body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #333;
    line-height: 1.7;
}

/* 顶部横幅 */
.hero-banner {
    position: relative;
    background: url('https://images.unsplash.com/photo-1498050108023-c5249f4df085?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    color: white;
    display: flex;
    align-items: flex-end;
      padding: 11rem 0 3rem;
}

.hero-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.container{
    padding:0 3rem;
}.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
}

.tag-label {
    display: inline-block;
    border: 1px solid white;
    border-radius: 2rem;
    padding: 0.3rem 1rem;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

.hero-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.hero-desc {
    font-size: 1rem;
    opacity: 0.9;
}

/* 文章元信息 */
.article-meta {
    font-size: 0.9rem;
    color: #666;
    padding: 1.5rem 0;
}

.article-meta span {
    margin-right: 1.5rem;
    display: inline-flex;
    align-items: center;
}

.article-meta span img {
    width: 1rem;
    margin-right: 0.4rem;
}

/* 文章内容 */
.article-content h2 {
    font-size: 1.5rem;
    font-weight: 500;
    margin: 2.5rem 0 1.25rem;
}

.article-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
}

.article-content p {
    margin-bottom: 1rem;
}

.article-content ul,
.article-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.article-content .example-item {
    margin: 0.5rem 0;
    color: #0D0D0D;
}

.article-content .highlight {
     color: #FF2200;
    font-weight: 500;
}

.article-content .checkmark {
    color: #28a745;
    margin-right: 0.5rem;
}

/* 图片容器 */
.article-img-box{
    width: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}.article-img {
    width: 100%;
    border-radius: 0.5rem;
    margin: 2rem 0;
}
.video-img-box{
    width: 90%;
    margin: 0 auto;
    border-radius: 1rem;
    overflow: hidden;
}
.video-img {
	   width: 100%;
    border-radius: 1rem;
    position: relative;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 1.5rem;
}

/* 引用块 */
.quote-block {
    padding: 1.5rem;
    margin: 2rem 0;
    position: relative;
    display: flex;
    justify-content: space-between;
}

.quote-block img {
    width: 2.5rem;
    height: 2.5rem;
}

.quote-block img:nth-child(1) {
    margin-right: 5px;
    position: absolute;
    top: 0;
    left: 0;
}

.quote-block img:nth-child(3) {
    margin-left: 5px;
    position: absolute;
    bottom: 0;
    right: 0;
}

.quote-block-content {
    font-size: 1.1rem;
    font-style: italic;
    margin: -20px 20px;
}

/* 总结部分 */
.summary-section {
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin: 2rem 0;
}

.summary-section h4 {
    color: #f59e0b;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* 滚动进场动画 */
.fade-in {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   更多文章（對齊首頁 blog-row，本頁未載入 index.css）
   ========================================= */
#blog.section {
    padding: 3rem 0 4rem;
}

#blog .section-title {
    margin-bottom: 2rem;
}

#blog .section-title h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0D0D0D;
    margin: 0;
}

#blog .blog-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    align-items: stretch;
}

#blog .blog-row > a {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

#blog .blog-card {
    border: 1px solid #E0E0E0;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s;
    margin-bottom: 0;
    padding: 1rem;
    height: 100%;
    background: #fff;
}

#blog .blog-card:hover {
    border-color: var(--appar-red, #FF2200);
    transform: translateY(-5px);
}

#blog .blog-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 1rem;
}

#blog .blog-body {
    padding: 1rem 0 0;
}

#blog .blog-tag {
    background: var(--appar-red, #FF2200);
    color: #FFFFFF;
    font-size: 0.8rem;
    padding: 0.2rem 0.6rem;
    border-radius: 7px;
    display: inline-block;
    margin-bottom: 0.8rem;
}

#blog .blog-card h4 {
    height: auto;
    min-height: 4rem;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--appar-dark, #0D0D0D);
    line-height: 1.5;
}

#blog .blog-meta {
    color: #808080;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0.25rem;
}

#blog .blog-meta img {
    width: 1rem;
    height: 1rem;
}

@media (max-width: 991px) {
    #blog .blog-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 767px) {
    #blog .blog-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    #blog .blog-card h4 {
        font-size: 1.1rem;
        min-height: 0;
    }
}

/* 响应式适配 */
@media (max-width: 768px) {
      .hero-banner {
        height: auto;
        padding-top: 6rem;
        padding-bottom: 2rem;
    }
    .tag-label{
        width: 7.5rem;
        height: 2.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0.5rem auto 1rem;
    }    .hero-title {
        font-size: 1.75rem;
    }

    .article-content h2 {
        font-size: 1.3rem;
    }

    .article-content h3 {
        font-size: 1.15rem;
    }

    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
    }

    .quote-block img {
        width: 2.5rem;
        height: 2.5rem;
    }
}