.encyclopediaBg {
    width: 100%;
    position: relative;
}

.encyclopediaBg img {
    width: 100%;
    object-fit: cover;
}

.encyclopediaBtn {
    width: 178px;
    height: 45px;
    line-height: 45px;
    text-align: center;
    background: linear-gradient(269deg, #a5c9ff 0%, #0d6bff 99%);
    border-radius: 23px;
    box-shadow: 0px 0px 7px 0px rgba(73, 146, 255, 0.41);
    margin: 0 auto;
    margin-top: 30px;
}

.encyclopediaBtn a {
    font-size: 20px;
    font-family: Microsoft YaHei, Microsoft YaHei-Bold;
    font-weight: 700;
    font-style: italic;
    text-decoration: underline;
    color: #ffffff;
    letter-spacing: 0.8px;

}

.encyclopediaImg img {
    width: 377px;
    height: 70px;
}

.encyclopediaCon {
    width: max-content;
    position: absolute;
    left: 410px;
    top: 165px;

}

.seasonTab {
    margin: 50px auto;
    background: #fff;
    border-radius: 8px;
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
}

.seasonList {
    display: flex;
    justify-content: center;
    border-bottom: 1px solid #eee;
    padding: 30px 0px 0px 0px;
}

.seasonItem {
    display: flex;
    align-items: center;
    padding: 10px 0px;
    cursor: pointer;
    transition: all 0.3s;
    margin-right: 80px;
    height: 64px;
}

.seasonItem>span:last-child {
    font-size: 18px;
}

.seasonList>div:last-child {
    margin-right: 0px !important;
}

.seasonItem img {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.seasonItem.active {
    /* background: #e8f4ff; */
    color: #003FA3;
    border-bottom: 3px #003FA3 solid;
}

.seasonContent {
    padding: 30px;
}

.seasonPanel {
    display: none;
}

.seasonPanel.active {
    display: block;
}

.solarTerms {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.termItem {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s;
}

.termItem:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.termItem h3 {
    color: #333;
    margin-bottom: 10px;
}

.termItem p {
    color: #666;
    font-size: 14px;
}

.seasonAccordion {
    display: flex;
    width: 100%;
    height: 400px;
    margin-top: 30px;
}

.accordionItem {
    position: relative;
    flex: 1;
    overflow: hidden;
    transition: flex 0.6s ease;
    cursor: pointer;
}

.accordionItem:hover {
    flex: 3;
}

.seasonBg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.seasonBg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.seasonInfo {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    padding: 20px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    transform: translateX(0);
    transition: transform 0.3s ease;
    writing-mode: vertical-lr;
    /* 设置文字垂直排列 */
    letter-spacing: 2px;
    /* 调整字间距 */
}

.seasonInfoBox {
    /* width: 20px; */

}

.seasonInfo h2,
p {
    color: #ffffff;
}

.accordionItem:hover .seasonInfo {
    transform: translateX(100%);
}

.seasonInfo h2 {
    font-size: 24px;
    margin-bottom: 10px;
    height: max-content;
}

.seasonInfo p {
    display: inline-block;
    font-size: 14px;
    opacity: 0.8;
    writing-mode: vertical-lr;
    height: max-content;
}

/* 科普视频列表 */
.videoLoopCon {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.open {
    width: 60px;
    height: 60px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
}

.open img {
    width: 60px !important;
    height: 60px !important;
}

.videoLoopCon video {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: all 0.5s ease; 
}

.videoLoopCon img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: all 0.5s ease; 
}
.videoLoopCon video:hover{
    transform: scale(1.1); 
}
.videoLoopCon img:hover{
    transform: scale(1.1); 
}
.videoText a:hover{
    color: #003FA3;
}
.videoList {
    display: flex;
    flex-wrap: wrap;
    margin-top: 30px;
    margin-bottom: 50px;

}

.videoListLie {
    display: flex;
    flex-wrap: wrap;
    margin-top: 30px;
}

.imgList {
    display: flex;
    flex-wrap: wrap;
    margin-top: 30px;
    border-bottom: 1px solid rgba(177, 185, 208, .15);
    margin-bottom: 40px;
}
.imgListVideo{
    display: flex;
    flex-wrap: wrap;
    margin-top: 30px;
}
.imgListDiFang {
    border-bottom: none !important;
    margin-bottom: 0px !important;
}

.videoLoop {
    width: 30%;
    margin-right: 5%;
}

.videoLoopImg {
    width: 30%;
    margin-right: 5%;
    margin-bottom: 50px;
}

.videoList>div:nth-of-type(3n) {
    margin-right: 0px;
}

.videoListLie>div:nth-of-type(3n) {
    margin-right: 0px;
}

.imgList>div:nth-of-type(3n) {
    margin-right: 0px;
}
.imgListVideo>div:nth-of-type(3n) {
    margin-right: 0px;
}
.videoListLie>div {
    margin-bottom: 50px;
}

.videoText a {
    display: inline-block;
    width: 100%;
    font-size: 18px;
    text-align: center;
    margin-top: 25px;
   /* white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;*/
}

.contentVideo {
    margin-top: 40px;
    margin-bottom: 20px;
    /* padding-bottom: 50px; */
}

.contentVideoList {
    /* margin-top: 40px; */
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(177, 185, 208, .15);
    /* padding-bottom: 50px; */
}

::marker {
    color: #003fa3;
    font-size: 12px;
    vertical-align: top;
}

.moduleForeDwon {
    margin-top: 25px;
    padding-left: 10px;
}

.moduleForeDwon li {
    margin-left: 10px;
    margin-top: 30px;
    list-style-position: outside;
    /* 确保项目符号在内容外部 */
}

.moduleForeDwon a {
    font-size: 18px;
    cursor: pointer;
    position: relative;
    top: 3px;
    /* 调整文本位置，使其向上移动 */
}
.moduleForeDwon a:hover{
    color: #003FA3;
}
.knowledgeBox {
    width: 48%;
    margin-top: 30px;
}

.knowledge {
    display: flex;
    flex-wrap: wrap;
}

.knowledge>div:nth-of-type(2n-1) {
    margin-right: 4%;
}

.knowledgeBoxDwon {
    width: 48%;
}

.proverb {
    margin-bottom: 70px;
    background-image: url(/material/images/img/yanyu-bg.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    padding: 30px 0px 50px 0px;
}

.seasonActive {
    display: none;
}

.active .seasonActive {
    display: block !important;
}

.active .seasonTabBtn {
    display: none !important;
}

@media (max-width:1680px) {
    .encyclopediaCon {
        left: 17%;

    }
}

@media (max-width:1540px) {
    .encyclopediaCon {
        left: 14%;

    }
}

@media (max-width:1400px) {
    .encyclopediaCon {
        left: 10%;

    }
}

@media (max-width:1380px) {
    .encyclopediaCon {
        left: 260px;
        top: 132px;
    }

    .encyclopediaImg img {
        width: 250px;
        height: 45px;
    }

    .encyclopediaBtn {
        margin-top: 20px;
    }

}

@media (max-width:1300px) {
    .encyclopediaCon {
        left: 18%;

    }
}

@media (max-width:1280px) {
    .encyclopediaCon {
        left: 16%;

    }
}

@media (max-width:900px) {
    .videoList {
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .videoLoop {
        width: 100%;
        margin-right: 0px;
    }

    .videoList {
        display: block;
    }

    .videoText a {
        margin-top: 15px;
    }

    .videoLoop {
        margin-bottom: 30px;
    }

    .contentVideo {
        margin-top: 30px;
    }
.contentVideo
    .encyclopediaBg img {
        height: 120px;
    }

    .knowledge {
        display: block;
    }

    .knowledge>div:nth-of-type(2n-1) {
        margin-right: 0px;
    }

    .knowledgeBox {
        width: 100%;
    }

    .moduleForeDwon a {
        font-size: 16px;
        top: 1px;
    }

    .moduleForeDwon li {
        margin-top: 15px;
    }

    .knowledgeBoxDwon {
        width: 100%;
    }

    .seasonItem {
        margin-right: 15px;
    }

    .seasonAccordionBox {
        width: 100%;
        overflow-x: auto;
    }

    .seasonAccordionBox::-webkit-scrollbar {
        display: none;
    }

    .seasonAccordionBoxA {
        width: 200%;
    }

    .proverb {
        margin-bottom: 50px;
    }

    .content {
        /* margin-top: -168px; */
    }

    .videoLoopImg {
        width: 100%;
        margin-right: 0px;
        margin-bottom: 30px;
    }

    .videoText a {
        font-size: 16px;
    }

    .contentImg {
        /* margin-top: -175px; */
    }

    .videoListLie>div {
        margin-bottom: 30px;
    }

    .contentVideoList {
        /* margin-top: -175px; */
    }
    .videoLoopCon img{
        height: 350px;
    }
    .videoLoopCon video {

        height: 350px;

    }
    .videoLoopCon {
        height: 350px;
    }
}

@media (max-width:767px) {
    .videoLoopCon video {

        height: 210px;

    }
    .videoLoopCon {
        height: 210px;
    }
    .videoText a {
        font-size: 15px;
    }
    .moduleForeDwon a{
        font-size: 15px;
    }
    .videoLoopCon img {
        height: 210px;
    }
}