/* 详情页面主要样式 */
.detail-section {
    padding: 120px 0 60px;
    background: #fff;
}

/* 面包屑导航 */
.breadcrumb-nav {
    margin-bottom: 40px;
}

.breadcrumb-nav a {
    color: rgba(0, 0, 0, 0.5);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
}

.breadcrumb-nav a i {
    font-size: 16px;
}

.breadcrumb-nav a:hover {
    color: #1F3BC6;
}

/* 移除之前的箭头和分隔符相关样式 */
.breadcrumb-nav .separator,
.breadcrumb-nav .current {
    display: none;
}

/* 详情内容布局 */
.detail-content {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding-top: 40px;
}

/* 左侧主要内容 */
.detail-main {
    width: 1000px;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.detail-header {
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 24px;
}

.detail-type {
    color: #1F3BC6;
    font-size: 16px;
    margin-bottom: 12px;
    font-weight: 500;
}

.detail-header h1 {
    font-size: 28px;
    line-height: 1.4;
    margin-bottom: 12px;
    font-weight: normal;
    color: #000;
}

.detail-date {
    color: rgba(0, 0, 0, 0.3);
    font-size: 14px;
}

.detail-body {
    font-size: 16px;
    line-height: 1.8;
}

.detail-image {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 30px;
}

.detail-text p {
    margin-bottom: 24px;
    color: rgba(0, 0, 0, 0.7);
}

/* 右侧相关资源 */
.related-resources {
    width: 200px;
    flex: 0 0 auto;
    position: sticky;
    top: 100px;
    align-self: start;
}

.related-resources h2 {
    font-size: 24px;
    margin-bottom: 24px;
    font-weight: normal;
}

.resource-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.resource-item {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease;
}

.resource-item:hover {
    transform: translateY(-5px);
}

.resource-image {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 16px;
}

.resource-image img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.resource-item:hover .resource-image img {
    transform: scale(1.05);
}

.resource-info .resource-type {
    color: #1F3BC6;
    font-size: 16px;
    margin-bottom: 8px;
}

.resource-info h3 {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 8px;
    color: #000;
    font-weight: normal;
}

.resource-info .resource-date {
    color: rgba(0, 0, 0, 0.3);
    font-size: 14px;
}

/* 资源头部样式 */
.resource-header {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    align-items: flex-start;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.resource-header-image {
    width: 400px;
    flex-shrink: 0;
}

.resource-header-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.resource-header-info {
    flex: 1;
    padding-top: 20px;
}

.resource-header-info .detail-type {
    color: #1F3BC6;
    font-size: 16px;
    margin-bottom: 12px;
    font-weight: 500;
}

.resource-header-info h1 {
    font-size: 28px;
    line-height: 1.4;
    margin-bottom: 12px;
    font-weight: normal;
    color: #000;
}

.resource-header-info .detail-date {
    color: rgba(0, 0, 0, 0.3);
    font-size: 14px;
}

/* 视频部分 */
.detail-video {
    width: 100%;
}

.video-placeholder {
    width: 100%;
    position: relative;
    background: #fff;
    border-radius: 8px;
    margin-bottom: 40px;
}
.video-placeholder video{
    width: 100%;
    padding: 40px;
    background: #000;
}
.video-placeholder span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(0, 0, 0, 0.3);
    font-size: 16px;
}

/* 富文本部分 */
.detail-richtext {
    width: 100%;
    min-height: 500px;
    background: #fff;
    border-radius: 8px;
    /*display: flex;*/
    align-items: center;
    justify-content: center;
}
.detail-richtext img{
    width: 100%;
}

.detail-richtext a img{
    width: auto;
}
.richtext-placeholder {
    color: rgba(0, 0, 0);
    font-size: 16px;
    width: 100%;
    display: inline;
}

/* 容器样式 */
.container {
    max-width: 1240px;
    margin: 0 auto;
    width: 100%;
}

/* 响应式调整 */
@media (max-width: 1280px) {
    .detail-content {
        gap: 30px;
    }

    .detail-main {
        width: calc(100% - 240px);
    }
}

@media (max-width: 991px) {
    .detail-content {
        flex-direction: column;
        gap: 40px;
        padding-top: 30px;
    }

    .detail-main,
    .related-resources {
        width: 100%;
    }

    .detail-header h1 {
        font-size: 24px;
    }

    .resource-list {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }

    .resource-header {
        flex-direction: column;
        gap: 24px;
        margin-bottom: 30px;
        padding-bottom: 30px;
    }

    .resource-header-image {
        width: 100%;
        max-width: 600px;
    }

    .resource-header-info {
        padding-top: 0;
    }

    .detail-main {
        gap: 30px;
    }

    .detail-richtext {
        min-height: 400px;
    }
}

@media (max-width: 767px) {
    .detail-section {
        padding: 80px 0 30px;
    }

    .breadcrumb-nav {
        margin-bottom: 30px;
    }

    .detail-header {
        margin-bottom: 30px;
        padding-bottom: 20px;
    }

    .detail-body {
        font-size: 14px;
    }

    .resource-list {
        grid-template-columns: 1fr;
    }

    .breadcrumb-nav a {
        font-size: 14px;
    }
    
    .breadcrumb-nav a i {
        font-size: 18px;
    }

    .detail-type {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .detail-header h1 {
        font-size: 22px;
        margin-bottom: 8px;
    }

    .detail-date {
        font-size: 12px;
    }

    .resource-header {
        gap: 20px;
        margin-bottom: 24px;
        padding-bottom: 24px;
    }

    .resource-header-info .detail-type {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .resource-header-info h1 {
        font-size: 22px;
        margin-bottom: 8px;
    }

    .resource-header-info .detail-date {
        font-size: 12px;
    }

    .detail-main {
        gap: 24px;
    }

    .video-placeholder span,
    .richtext-placeholder {
        font-size: 14px;
    }

    .detail-content {
        padding-top: 24px;
    }

    .detail-richtext {
        min-height: 300px;
    }
}

@media (max-width: 1280px) {
    .container {
        max-width: 100%;
    }
} 