﻿/* 隐藏的菜单层样式 */
.sidebar-menu {
    position: fixed;
    top: 0;
    left: -250px; /* 初始位置在屏幕左侧隐藏 */
    width: 250px;
    height: 100%;
    font-size: 14px;
    background-color: black;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    z-index: 999
}

    .sidebar-menu ul {
        list-style-type: none;
        margin: 0;
        padding: 0;
        padding-top: 30px
    }

        .sidebar-menu ul li {
            padding: 10px 20px;
            border-bottom: 0.5px solid #FFD699
        }

            .sidebar-menu ul li a {
                text-decoration: none;
                color: #FFD699;
            }
    /* 当菜单层显示时的样式调整 */
    .sidebar-menu.active {
        left: 0
    }

/* 后退箭头图标样式，这里假设使用了Font Awesome图标库，你可根据实际情况替换 */
.back-arrow {
    color: #FFD699; /* 可根据需求调整颜色 */
    font-size: 20px; /* 可根据需求调整大小 */
}

/* banner图片样式 */
.banner-image {
    width: 100%;
    display: block;
}

/* 居中标题样式 */
.main-title {
    text-align: center;
    margin-top: 20px; /* 可根据需求调整距离banner图片的间距 */
    font-size: 16px;
}

/* 大段文字样式 */
.text-content {
    text-align: justify;
    font-size: 14px;
}

.slick-dots {
    display: flex;
    justify-content: center;
    bottom: 10px;
    left: 0;
    right: 0;
    z-index: 1;
}

/* 新增的黑色背景框样式 */
.banner-extra {
    background-color: black;
    height: 80px;
    margin: 0 20px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 0 0px 0px gold, 0 0 0px 0px rgba(255, 215, 0, 0.8), 0 0 0px 0px rgba(255, 215, 0, 0.6), 0 0 5px 0px rgba(255, 215, 0, 0.4);
}

    /* 图标图片样式 */
    .banner-extra img {
        width: 28px;
        height: 28px;
        margin-bottom: 5px;
    }

    /* 文字样式 */
    .banner-extra p {
        color: white;
        margin: 0;
        text-align: center;
        font-family: PingFang SC, PingFang SC;
        font-weight: 400;
        font-size: 12px;
        color: #FFFFFF;
        line-height: 14px;
        text-align: left;
        font-style: normal;
        text-transform: none;
    }

    .banner-extra div {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }





/* 针对新增的new-layer层及内部左右块的样式设置 */
.new-layer {
    display: flex;
    margin: 0 20px;
    display: flex; /* 使用flex布局实现左右分块 */
    justify-content: space-between; /* 左右两块间隔排列 */
    padding: 10px 10px 0 10px;
    color: #9B5810;
    font-size: 10px;
    background: linear-gradient( 135deg, #FFD39C 0%, #FAE0C5 48%, #FFD39C 100%);
    border-radius: 4px 4px 4px 4px;
    margin-top: 10px;
}

.left-block {
    width: 60%; /* 左边块占60% */
    padding: 10px;
}

    .left-block p:first-of-type {
        margin-top: 0; /* 控制第一段文字上边距 */
        font-size: 12px;
    }

    .left-block p:last-of-type {
        text-align: right; /* 靠右对齐详情文字 */
    }

        .left-block p:last-of-type a {
            color: #9B5810;
            font-size: 12px;
        }

.right-block {
    width: 40%; /* 右边块占40% */
    padding: 10px;
    position: relative; /* 相对定位，便于内部元素基于此进行定位调整 */
}

    .right-block img {
        width: 90%; /* 图片宽度占满右边块 */
        height: auto; /* 保持图片比例 */
        position: absolute; /* 绝对定位，使其脱离文档流，可以进行位置调整 */
        top: -30%; /* 将图片向上移动，使其有20%的高度在外层上面 */
        right: 10px; /* 靠右对齐 */
        border-radius: 4px 4px 4px 4px;
    }

.right-block1 {
    width: 60%; /* 左边块占60% */
    padding: 10px;
    text-align: right;
}

    .right-block1 p:first-of-type {
        margin-top: 0; /* 控制第一段文字上边距 */
        font-size: 12px;
        text-align: left;
    }

    .right-block1 p:last-of-type {
        text-align: left; /* 靠右对齐详情文字 */
    }

        .right-block1 p:last-of-type a {
            color: #9B5810;
            font-size: 12px;
        }

.left-block1 {
    width: 40%; /* 右边块占40% */
    padding: 10px;
    position: relative; /* 相对定位，便于内部元素基于此进行定位调整 */
}

    .left-block1 img {
        width: 90%; /* 图片宽度占满右边块 */
        height: auto; /* 保持图片比例 */
        position: absolute; /* 绝对定位，使其脱离文档流，可以进行位置调整 */
        top: -30%; /* 将图片向上移动，使其有20%的高度在外层上面 */
        left: 10px; /* 靠右对齐 */
        border-radius: 4px 4px 4px 4px;
    }

/* Slick轮播样式 */
.slick-carousel {
    background-color: #131313;
    display: flex;
    padding-bottom: 20px;
}

.no-color {
    background-color: black;
}

.slick-carousel img {
    width: 100%; /* 图片宽度设置为轮播容器的宽度 */
    height: auto; /* 高度自适应 */
    border-radius: 4px 4px 4px 4px;
    margin: 0 20px 0 20px;
}

/* Slick轮播样式 */
.slick-certificate {
    display: flex;
}

    .slick-certificate img {
        width: 100%; /* 图片宽度设置为轮播容器的宽度 */
        height: auto; /* 高度自适应 */
        border-radius: 4px 4px 4px 4px;
        margin: 0 20px 0 20px;
    }

/* 标题文字样式 */
.left-block p:first-child,
.right-block1 p:first-child {
    min-height: 3em; /* 设置最小高度为两行 */
    line-height: 1.5; /* 行高 */
    display: -webkit-box;
    -webkit-line-clamp: 2; /* 限制最多显示两行 */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis; /* 超出显示省略号 */
    margin-bottom: 10px;
    font-size: 12px; /* 设置字体大小 */
}

/* 日期样式 */
.left-block p:nth-child(2),
.right-block1 p:nth-child(2) {
    margin: 10px 0;
    color: #666;
}

/* 链接样式 */
.left-block p:last-child,
.right-block1 p:last-child {
    margin-top: 10px;
}

/* 文章详情样式 */
.article-detail {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.article-title {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
}

.article-meta {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    font-size:14px;
}

.article-meta span {
    margin: 0 10px;
}

.article-main-image {
    text-align: center;
    margin-bottom: 30px;
}

.article-main-image img {
    max-width: 100%;
    height: auto;
}

.article-content {
    line-height: 1.8;
    color: #666;
    font-size:14px;
}

.article-content p {
    margin-bottom: 1em;
}