/* ============================================================
   内容页 / 子页面专用样式：Banner / 内容卡片 / 列表 / 详情
   ============================================================ */

/* ===== Banner 区域 ===== */
.banner-section {
    width: 100%;
    height: 350px;
    margin-top: 72px;
    overflow: hidden;
    background: #0a0e17;
    position: relative;
    flex-shrink: 0;
}

.banner-section .banner-wrap {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.banner-section .banner-wrap img {
    width: 1920px;
    min-width: 1920px;
    height: 100%;
    flex-shrink: 0;
    object-fit: cover;
    object-position: center center;
    display: block;
}

/* ===== 面包屑 ===== */
.breadcrumb {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 14px;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumb a:hover {
    color: #ff3333;
}

.breadcrumb .sep {
    margin: 0 8px;
    color: rgba(255, 255, 255, 0.2);
}

/* ===== 内容卡片 ===== */
.content-card {
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);
    border-radius: 24px;
    padding: 32px 36px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 30px;
}

.content-card .card-title {
    font-size: 22px;
    font-weight: 700;
    padding-bottom: 16px;
    border-bottom: 2px solid rgba(255, 51, 51, 0.15);
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.content-card .card-title .icon {
    color: #ff3333;
}

.content-card .card-title .highlight {
    color: #ff3333;
}

.content-card p {
    font-size: 16px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 18px;
}

.content-card p:last-child {
    margin-bottom: 0;
}

.content-card .sub-section {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.content-card .sub-section .sub-title {
    font-size: 18px;
    font-weight: 700;
    color: #ff3333;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.content-card .sub-section .sub-title .icon {
    font-size: 20px;
}

.content-card .tag-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-top: 6px;
}

.content-card .tag-group a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    padding: 2px 0;
    border-bottom: 1px solid transparent;
    transition: 0.2s;
}

.content-card .tag-group a:hover {
    color: #ff3333;
    border-bottom-color: #ff3333;
}

.content-card .list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.content-card .list-item .tag {
    font-size: 11px;
    font-weight: 700;
    color: #ff3333;
    background: rgba(255, 51, 51, 0.08);
    padding: 0 12px;
    border-radius: 20px;
    line-height: 22px;
    flex-shrink: 0;
}

.content-card .list-item .date {
    color: rgba(255, 255, 255, 0.2);
    font-size: 12px;
    margin-left: auto;
    flex-shrink: 0;
}

.content-card .grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 30px;
    margin-top: 6px;
}

.content-card .grid-2col .col-item {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.content-card .grid-2col .col-item .col-title {
    font-weight: 700;
    color: #ff3333;
    margin-bottom: 6px;
    font-size: 15px;
}

.content-card .grid-2col .col-item .sub-links {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 14px;
}

.content-card .grid-2col .col-item .sub-links a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.content-card .grid-2col .col-item .sub-links a:hover {
    color: #ff3333;
}

/* ===== 详情内容（子页面正文） ===== */
.detail-content {
    line-height: 1.9;
}

.detail-content h2 {
    font-size: 20px;
    color: #ff3333;
    margin: 22px 0 12px;
}

.detail-content h3 {
    font-size: 17px;
    color: #fff;
    margin: 18px 0 10px;
}

.detail-content p {
    font-size: 16px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 14px;
}

.detail-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 12px 0;
}

.detail-content ul,
.detail-content ol {
    padding-left: 22px;
    margin-bottom: 14px;
}

.detail-content li {
    font-size: 15px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.75);
}

.detail-meta {
    display: inline-block;
    background: rgba(255, 51, 51, 0.08);
    color: #ff3333;
    font-size: 13px;
    padding: 4px 16px;
    border-radius: 20px;
    margin-bottom: 18px;
}

.content-note {
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.3);
    font-size: 13px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 18px;
}

.not-found {
    text-align: center;
    padding: 60px 20px;
}

.not-found .nf-icon {
    font-size: 56px;
    margin-bottom: 16px;
}

.not-found p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
}

.not-found .btn-back {
    display: inline-block;
    background: linear-gradient(135deg, #ff3333, #cc0000);
    color: #fff;
    padding: 10px 30px;
    border-radius: 30px;
    font-weight: 700;
}

.not-found .btn-back:hover {
    color: #fff;
    transform: translateY(-2px);
}

/* ===== 响应式 ===== */
@media (max-width: 1100px) {
    .banner-section {
        height: 280px;
    }
    .content-card {
        padding: 24px 20px;
    }
    .content-card .grid-2col {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 850px) {
    .banner-section {
        height: auto;
        margin-top: 0;
    }
    .banner-section .banner-wrap img {
        width: 100%;
        min-width: 0;
        height: auto;
    }
    .content-card {
        padding: 18px 14px;
    }
    .content-card .card-title {
        font-size: 19px;
    }
    .content-card .grid-2col {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 500px) {
    .banner-section {
        height: auto;
        margin-top: 0;
    }
    .content-card {
        padding: 14px 12px;
    }
    .content-card .card-title {
        font-size: 17px;
        flex-wrap: wrap;
    }
    .content-card p {
        font-size: 14px;
    }
    .content-card .list-item {
        flex-wrap: wrap;
        gap: 4px 8px;
        font-size: 14px;
    }
    .content-card .list-item .date {
        margin-left: auto;
    }
    .breadcrumb {
        font-size: 12px;
        margin-bottom: 10px;
    }
    .detail-content p,
    .detail-content li {
        font-size: 14px;
    }
    .detail-content h2 {
        font-size: 18px;
    }
    .detail-content h3 {
        font-size: 16px;
    }
    .content-note {
        font-size: 12px;
    }
}
