body {
    margin: 0;
    font-family: "Noto Serif SC", SimSun, "宋体", serif;
    padding-top: 125px;
    background-color: #112041;
    transition: padding-top 0.3s ease;
    font-size: 1rem; 
}

.title {
    padding: 30px 10% 10px;
    justify-content: center;
    align-items: center;
    position: relative;
    color: #fa7057;
    font-size: 3.5rem;
    font-weight: bold;
    max-width: 80vw;
}

.title1 {
    padding: 30px 10% 10px;
    justify-content: center;
    align-items: center;
    position: relative;
    color: #fa7057;
    font-size: 3.5rem;
    font-weight: bold;
    max-width: 80vw;
    text-align: center;
}

.preface {
    padding: 20px 10%;
    max-width: 80vw;
    margin: 0 auto;
    line-height: 1.6;
    font-size: 1.3rem;
    color: #fa7057;
}
.text {
    max-width: 80vw;
    margin: 0 auto;
    line-height: 1.6;
    font-size: 1.3rem;
    color: #b0bbdc;
}

.text .p {
    text-indent: 2em;
}
.text .s {
    font-size: 1.0rem;
}
.text .m {
    font-size: 1.3rem;
}
.text .l {
    font-size: 1.9rem;
}

/*===下划线===*/
u {
    /* 核心：控制下划线样式，顺序为「样式 颜色 粗细」 */
    text-decoration: underline solid #6287ac 1px; 
    /* 可选：调整下划线与文字的间距（避免紧贴文字） */
    text-underline-offset: 2px; 
}
/*===蓝色重点===*/
em{
    color: #6287ac;
}

/*===插图===*/
.illubox {
    padding: 10px 0 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.illustration, .illustration1 {
    max-height: 50vh;
    margin: 10px 0;
    border-radius: 3px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
.illustration {
    max-width: 60%;
}
.illustration1 {
    max-width: 90%;
}


.illutext {
    font-size: 1.0rem;
    color: #6287ac;
}

.poem {
    white-space: pre-wrap;
}
.quote {
    color: #6287ac;
    font-style: italic;
}
.textLink {
    text-decoration: none;
    color: #3b658e;
    transition: color 0.3s ease;
}
.textLink:hover {
    color: #CA462F;
}

.colophon {
    text-align: right;
    max-width: 80vw;
    padding: 100px 20px 20px;
    line-height: 1.6;
    font-size: 1.4rem;
    color: #b0bbdc;
}

.section {
    padding: 30px 10% 30px;
    background-color: transparent;
    position: relative;
    display: flex;
    flex-direction: row;
    overflow: hidden;
} 
.left {
    width: 70%;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
}
.right {
    width: 20%;
    margin: 0 20px;
    display: flex;
    flex-direction: column;
}

/* =====侧边栏===== */
.content {
    text-align: center;
}

/*============================随机推荐============================*/   
.random-articles {
    margin-top: 4rem;
    padding: 1rem;
    border-radius: 12px;
}

.random-articles h3 {
    font-size: 1.2rem;
    color: #CA462F;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #6287ac;
    text-align: center;
}

.random-article-item {
    margin-bottom: 0.8rem;
    padding: 0.8rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: 1px solid #6287ac;
}

.random-article-item:hover {
    background-color: rgba(98, 135, 172, 0.2);
}

.random-article-item a {
    text-decoration: none;
    color: #6287ac;
    display: block;
}

.random-article-item h4 {
    font-size: 1rem;
    margin: 0.3rem 0 0.7rem;
    transition: color 0.3s ease;
}

.random-article-item:hover h4 {
    color: #CA462F;
}

.random-article-meta {
    font-size: 0.8rem;
    color: #6287ac;
    display: flex;
    justify-content: space-between;
}
.random-article-item:hover .random-article-meta {
    color: #b0bbdc;
}

@media (max-width: 700px) {
    .random-articles {
        margin-top: 1.5rem;
        padding: 0.8rem;
    }
    
    .random-article-item {
        padding: 0.6rem;
    }
    .text {
        max-width: 90vw;
        font-size: 1.4rem;
    }
    .text .s {
        font-size: 1.2rem;
    }
    .text .m {
        font-size: 1.4rem;
    }
    .text .l {
        font-size: 2.0rem;
    }
    .illutext {
        font-size: 1.2rem;
    }
    .preface {
        font-size: 1.4rem;
    }
    
    .title {
        padding: 30px 5% 10px;
        font-size: 2.5rem;
        max-width: 100vw;
    }

    .title1 {
        padding: 30px 5% 5px;
        max-width: 100vw;
        line-height: 2.5rem;
    }
    .preface {
        padding: 20px 7%;
        max-width: 100vw;
        margin: 0 auto;
        line-height: 1.6;
        font-size: 1.3rem;
        color: #fa7057;
    }
}

@media (max-width: 1000px) {
    .section {
        padding: 0 0 0;
        flex-direction: column;
    } 
    .left {
        width: 100%;
        padding: 0;
        display: flex;
        flex-direction: column;
    }
    .right {
        width: 100%;
        padding: 0 ;
        margin: 0;
    }

    .illustration {
        max-width: 75%;
    }
    .illustration1 {
        max-width: 75%;
    }
}
