em {font-style:normal}
.weizhi span{float: right;}
.more{color:#8c6d46; text-align: center; display:inline-block;padding:8px 20px;border:none;border-radius:4px;cursor:pointer;font-size:14px;transition:all 0.3s;}
.more:hover{transform:translateY(-2px);}
/************* 公共样式 **********/
.container{display:flex;max-width:1200px;margin:0 auto;margin-bottom:20px;gap:2%;}
.left-col,.left-column{width:70%;background:#fff;padding:30px;}
.right-col,.right-column{width:28%;background:#fff;padding:20px;}
.section-title{font-size:18px;color:#2c3e50;margin-bottom:15px;padding-bottom:8px;border-bottom:1px solid #eee;font-weight:bold;}
.exp-content{position:relative;overflow:hidden;transition:max-height 0.5s ease;margin-bottom:20px;}
.exp-content.collapsed{max-height:250px;}
.exp-content.expanded{max-height:none;overflow:visible;}
.exp-content.collapsed::after{content:'';position:absolute;bottom:0;left:0;width:100%;height:30px;pointer-events:none;}
.exp-content.expanded::after{content:none !important;}
.exp-btn-container{text-align:center;margin-bottom:30px;}
.exp-btn,.expand-btn{display:inline-block;padding:8px 20px;background-color:#e67e22;color:white;border:none;border-radius:4px;cursor:pointer;font-size:14px;transition:all 0.3s;box-shadow:0 2px 5px rgba(0,0,0,0.1);}
.exp-btn:hover,.expand-btn:hover{background-color:#d35400;transform:translateY(-2px);box-shadow:0 4px 8px rgba(0,0,0,0.15);}
.nav-link{display:block;padding:12px 20px;background-color:#f5f5f5;border-radius:6px;color:#555;text-decoration:none;text-align:center;transition:all 0.3s;}
.nav-link:hover{background-color:#e8e8e8;color:#333;}
.author-box{margin-bottom:40px;padding-bottom:20px;border-bottom:1px solid #eee;}
.author-box h2{font-size:22px;color:#2c3e50;margin-bottom:20px;padding-bottom:8px;border-bottom:1px solid #eee;font-weight:bold;}
.author-info{display:flex;gap:20px;}
.author-img{width:100px;height:100px;border-radius:50%;overflow:hidden;flex-shrink:0;}
.author-img img{width:100%;height:100%;object-fit:cover;}
.author-desc{flex:1;color:#555;line-height:1.8;}
.related-box{margin-top:30px;}
.related-box h2{font-size:22px;color:#2c3e50;margin-bottom:20px;padding-bottom:8px;border-bottom:1px solid #eee;font-weight:bold;}
.right-section{margin-bottom:30px;padding-bottom:20px;border-bottom:1px solid #eee;}
.right-section:last-child{border-bottom:none;margin-bottom:0;}
.famous-sentence-item{padding:7px 0;border-bottom:1px dashed #eee;font-size:14px;line-height:1.6;color:#555;}
.famous-sentence-item:last-child{border-bottom:none;}
.link-group{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px;}
.dynasty-link{display:block;width:calc(33.33% - 15.5px);padding:8px 5px;background-color:#f5f5f5;border-radius:4px;color:#555;font-size:13px;text-align:center;text-decoration:none;transition:all 0.3s;}
.type-link{display:block;width:calc(50% - 15px);padding:10px 5px;background-color:#f5f5f5;border-radius:4px;color:#555;font-size:14px;text-align:center;text-decoration:none;transition:all 0.3s;}
.dynasty-link:hover,.type-link:hover{background-color:#e8e8e8;color:#333;text-decoration:none;}

/************* 诗词页面样式 **********/
.GS-filter-bar{max-width:1200px;background:#fff;margin:0 auto;padding:20px 0;margin-bottom:20px;border-radius:6px;}
.GS-filter-container{max-width:1200px;margin:0 auto;padding:0 20px;}
.GS-filter-label{font-size:16px;color:#2c3e50;margin-bottom:12px;font-weight:bold;}


.GS-tags-primary{display:flex;flex-wrap:wrap;gap:12px;}
.GS-tags-secondary{display:none;flex-wrap:wrap;gap:8px;margin-top:10px;}
.GS-tags-secondary.expanded{display:flex;}


.GS-filter-link,.GS-expand-btn{display:inline-flex;align-items:center;justify-content:center;padding:4px 10px;background-color:#f5f5f5;border-radius:4px;color:#555;font-size:13px;text-decoration:none;transition:all 0.3s;cursor:pointer;border:none;line-height:1;height:26px;box-sizing:border-box;font-family:inherit;}
.GS-filter-link:hover,.GS-filter-link.active,.GS-expand-btn:hover{background-color:#e67e22;color:white;}
.GS-expand-btn:hover{background-color:#e67e22;color:white;}
.GS-filter-link:hover,.GS-filter-link.active{background-color:#e67e22;color:white;}
.GS-expand-btn{display:inline-block;padding:6px 12px;background-color:#e67e22;border-radius:4px;color:#fff;font-size:14px;text-decoration:none;transition:all 0.3s;cursor:pointer;border:none;}
.GS-expand-btn:hover{background-color:#e67e22;color:white;}
.GS-list{display:flex;flex-direction:column;gap:15px;}
.GS-item{padding:15px;border-radius:6px;border:1px solid #eee;transition:all 0.3s;}
.GS-item:hover{border-color:#e67e22;}
.GS-title{font-size:18px;color:#2c3e50;margin-bottom:8px;font-weight:bold;text-decoration:none;display:inline-block;}
.GS-title:hover{color:#e67e22;}
.GS-author{font-size:14px;color:#7f8c8d;display:inline-block;margin-left:10px; }
.GS-author a{color:#7f8c8d;}
.GS-preview{font-size:15px;line-height:1.7;color:#444;font-family:"SimSun","STSong",serif;margin-bottom:12px;padding-left:8px;border-left:2px solid #f5f5f5;}
.GS-tags{display:flex;flex-wrap:wrap;gap:6px;}
.GS-tag{display:inline-flex;align-items:center;justify-content:center;padding:2px 6px;background-color:#f5f5f5;border-radius:3px;color:#555;font-size:12px;text-decoration:none;transition:all 0.3s;line-height:1;height:20px;box-sizing:border-box;font-family:inherit;}
.GS-tag:hover{background-color:#e8e8e8;color:#333;}
.GS-pagination{display:flex;justify-content:center;align-items:center;margin-top:30px;}
.GS-pagination ul{display:flex;list-style:none;margin:0;padding:0;gap:4px;align-items:center;}
.GS-pagination li{display:flex;align-items:center;}
.GS-pagination a,.GS-pagination span{display:flex;align-items:center;justify-content:center;padding:6px 13px;border-radius:4px;text-decoration:none;color:#555;background-color:#f5f5f5;transition:all 0.3s;font-size:14px;line-height:1;height:28px;box-sizing:border-box;font-family:inherit;min-width:28px;}
.GS-pagination a:hover{background-color:#e67e22;color:white;}
.GS-pagination span{background-color:#e67e22;color:white;}
.showmore h3{line-height: 36px; color: #767676; padding-top: 15px;}
.showmore h2{font-size:20px;line-height:36px; color: #767676; border-bottom: 1px #C7C7C7 solid; margin-bottom:15px;}
.showmore p{line-height: 30px; font-size:16px;}
.showmore{line-height: 30px; font-size:16px;}

/************* 诗人页面样式 **********/
.dynasty-bar{max-width:1200px;background:#fff;margin:0 auto;border-radius:8px;padding:20px 0;margin-bottom:20px;}
.dynasty-container{max-width:1200px;margin:0 auto;padding:0 20px;}
.dynasty-title{font-size:18px;color:#2c3e50;margin-bottom:15px;font-weight:bold;}
.dylinkss{display:flex;flex-wrap:wrap;gap:10px;}
.dylinks{display:inline-block;padding:8px 16px;background-color:#f5f5f5;border-radius:4px;color:#555;text-decoration:none;transition:all 0.3s;}
.dylinks:hover,.dylinks.active{background-color:#e67e22;color:white;}
.famous-poets{margin-bottom:40px;padding-bottom:30px;border-bottom:1px solid #eee;}
.famous-poets-grid{display:grid;grid-template-columns:repeat(8,1fr);gap:15px;}
.famous-poet-card{text-align:center;transition:transform 0.3s;}
.famous-poet-card:hover{transform:translateY(-5px);}
.famous-poet-img{width:80px;height:80px;border-radius:50%;overflow:hidden;margin:0 auto 10px;border:3px solid #f5f5f5;transition:border-color 0.3s;}
.famous-poet-card:hover .famous-poet-img{border-color:#e67e22;}
.famous-poet-img img{width:100%;height:100%;object-fit:cover;}
.famous-poet-name{font-size:13px;color:#2c3e50;font-weight:bold;text-decoration:none;}
.famous-poet-name:hover{color:#e67e22;}
.main-container{display:flex;max-width:1200px;margin:0 auto;gap:2%;padding:0 20px;}
.poets-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:20px;margin-bottom:30px;}
.poet-card{text-align:center;transition:transform 0.3s;}
.poet-card:hover{transform:translateY(-5px);}
.poet-img{width:100%;height:120px;border-radius:8px;overflow:hidden;margin-bottom:10px;}
.poet-img img{width:100%;height:100%;object-fit:cover;}
.poet-namem{font-size:14px;color:#2c3e50;font-weight:bold;text-decoration:none;}
.poet-namem:hover{color:#e67e22;}
.pagination{display:flex;justify-content:center;align-items:center;margin-top:30px;}
.pagination a,.pagination span{display:inline-block;padding:8px 12px;border-radius:4px;text-decoration:none;color:#555;background-color:#f5f5f5;transition:all 0.3s;margin:0 3px;}
.pagination a:hover{background-color:#e67e22;color:white;}
.pagination span{background-color:#e67e22;color:white;}
.poet-header{display:flex;margin-bottom:30px;border-bottom:1px solid #eee;padding-bottom:20px;}
.poet-image{width:180px;height:240px;border-radius:4px;overflow:hidden;margin-right:25px;flex-shrink:0;}
.poet-image img{width:100%;height:100%;object-fit:cover;border-radius:4px;}
.poet-basic-info{flex:1;}
.poet-name-container{display:flex;align-items:baseline;margin-bottom:15px;border-bottom:2px solid #e67e22;padding-bottom:8px;}
.poet-name{font-size:28px;color:#2c3e50;margin-right:15px;}
.poet-dynasty{font-size:18px;color:#7f8c8d; display: flex; justify-content: space-between; align-items: baseline; flex: 1; /* 占据剩余空间 */}
.poet-dynasty span{font-size:14px; line-height:26px;}
.poet-intro{font-size:14px;line-height:1.8;color:#555;}
.poet-detail{margin-bottom:40px;}
.poet-detail h2{font-size:22px;color:#2c3e50;margin:25px 0 15px;padding:8px 0 8px 35px;position:relative;font-weight:bold;}
.poet-detail h2:before{content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);width:30px;height:30px;background:url('ren.png') no-repeat center;background-size:contain;}
.poet-detail h3{font-size:18px;color:#2c3e50;margin:20px 0 12px;padding-left:30px;position:relative;font-weight:bold;}
.poet-detail h3:before{content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);width:20px;height:20px;background:url('') no-repeat center;background-size:contain;}
.poet-detail strong {font-size:18px;color:#2c3e50;margin:20px 0 12px;position:relative;font-weight:bold;}
.poet-detail p{margin-bottom:15px;text-align:justify;line-height:1.8;color:#555; font-size:16px;}
.expandable-content{position:relative;overflow:hidden;transition:max-height 0.5s ease;}
.expandable-content.collapsed{max-height:250px;}
.expandable-content.expanded{max-height:10000px;}
.expandable-content.collapsed::after{content:'';position:absolute;bottom:0;left:0;width:100%;height:60px;background:linear-gradient(to bottom,rgba(255,255,255,0) 0%,rgba(255,255,255,0.9) 50%,rgba(255,255,255,1) 100%);pointer-events:none;}
.poems-section{margin-top:30px;}
.poems-section h2{font-size:22px;color:#2c3e50;margin-bottom:20px;padding:8px 0 8px 35px;position:relative;font-weight:bold;}
.poems-section h2:before{content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);width:30px;height:30px;background:url('zp.png') no-repeat center;background-size:contain;}
.poem-item{margin-bottom:30px;padding-bottom:20px;border-bottom:1px dashed #eee;}
.poem-item:last-child{border-bottom:none;}
.poem-title{font-size:20px;color:#2c3e50;margin-bottom:15px;font-weight:bold;padding-left:25px;position:relative;}
.poem-title:before{content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);width:20px;height:20px;background:url('dzt.png') no-repeat center;background-size:contain;}
.poem-content{line-height:1.9;color:#444;font-family:"SimSun","STSong",serif;}

/************* 名句页面样式 **********/
.s-header{margin-bottom:25px;padding-bottom:15px;border-bottom:1px solid #eee;}
.s-title{font-size:28px;color:#2c3e50;margin-bottom:10px;}
.s-source {display: flex; align-items: center; font-size:16px; color:#7f8c8d;}
.s-source a {color:#e67e22; text-decoration:none;}
.s-source a:hover {text-decoration:underline;}
.s-source span {margin-left: auto; font-size: 12px; color: #B7B7B7;  vertical-align: middle;}
.s-original{margin-bottom:30px;padding:25px;background-color:#fafafa;border-radius:8px;border-left:4px solid #e67e22;}
.s-original h2{font-size:20px;color:#2c3e50;margin-bottom:15px;font-weight:bold;}
.s-content{font-size:18px;line-height:1.8;color:#444;font-family:"SimSun","STSong",serif;}
.s-nav{display:flex;flex-direction:column;gap:15px;margin-bottom:30px;}
.s-item{margin-bottom:25px;padding-bottom:20px;border-bottom:1px dashed #eee;}
.s-item:last-child{border-bottom:none;}
.s-item-title{font-size:18px;color:#2c3e50;margin-bottom:10px;font-weight:bold;}
.s-item-content{font-size:16px;line-height:1.8;color:#666;font-family:"SimSun","STSong",serif;}

/************* 古诗词页面样式 **********/
.p-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px;padding-bottom:15px;border-bottom:1px solid #eee;}
.p-title{font-size:28px;color:#2c3e50;}
.p-info{text-align:right;color:#7f8c8d;font-size:16px;}
.p-info a{color:#8a8a8a;}
.p-info span{font-size: 12px; color: #B7B7B7;  vertical-align: middle; }
.p-content{font-size:18px;line-height:2.2;color:#444;text-align:left;margin-bottom:25px;padding:20px;background-color:#fafafa;border-radius:8px;}
.p-tags{display:flex;flex-wrap:wrap;gap:3px;margin-bottom:30px;}
.p-tags a{display:inline-block;padding:6px 6px;background-color:#f5f5f5;border-radius:4px;color:#555;font-size:14px;text-decoration:none;transition:all 0.3s;}
.p-tag:hover{background-color:#e8e8e8;color:#333;}
.p-nav{display:flex;flex-direction:column;gap:15px;margin-bottom:30px;}
.p-item{margin-bottom:25px;padding-bottom:20px;border-bottom:1px dashed #eee;}
.p-item:last-child{border-bottom:none;}
.p-item-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;}
.p-item-title{font-size:18px;color:#2c3e50;font-weight:bold;margin:0;}
.p-item-author{color:#7f8c8d;font-size:14px;}
.p-item-author a{color:#8a8a8a}
.p-item-content{font-size:16px;line-height:1.8;color:#666;font-family:"SimSun","STSong",serif;}

/************* 响应式样式 **********/
@media (max-width:1200px){.poets-grid{grid-template-columns:repeat(4,1fr);}}
@media (max-width:768px){.container{flex-direction:column;width:100%;}.left-col,.right-col,.left-column,.right-column{width:100%;margin-bottom:20px;box-sizing:border-box;max-width:100%;padding:20px 15px;}.p-header{flex-direction:column;align-items:flex-start;gap:10px;}.p-info{text-align:left;}.author-info{flex-direction:column;}.author-img{align-self:center;}.poets-grid{grid-template-columns:repeat(3,1fr);}.dylinkss{justify-content:left;}.famous-poets-grid{grid-template-columns:repeat(4,1fr);}.GS-tags-primary,.GS-tags-secondary{justify-content:center;}.poet-header{flex-direction:column;}.poet-image{width:100%;max-width:250px;margin:0 auto 20px;}.right-column{overflow:hidden;}.dynasty-link{width:calc(33.33% - 16px);}.type-link{width:calc(50% - 15px);}}