html {
    font-size: 16px !important; /* 设置rem的基准值 */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
   background: linear-gradient(0deg, #F5F8FB 0%, #F5F8FB 100%), linear-gradient(0deg, #F7F9FC 0%, #F7F9FC 100%), #F7F9FC;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: #333;
}

.public-opinion {
   
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.comment-box .form {
    padding-left: 20%;
    padding-right: 20%;
}

.comment-box .title,
.public-opinion .title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #357AC0;
}

.containergbk2 {

    max-width: 1320px !important;
    padding: 20px 0;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

.left {
      max-width: 1020px ;
    /* width: 72%; */
    /* width: 880px; */
}

.yuyin {
    width: 100%;
    padding-top: 9.5%; /* (86 / 427) * 100% to maintain aspect ratio */
    background-image: url('../img/cp/yuyin.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    margin-bottom: 20px;
}
.comment-box,.public-opinion,
.left-main {
background: #FFF;
box-shadow: 0 2px 5px 0 #DDD;
padding: 20px 20px;

}
.comment-box,.public-opinion{
margin-top: 20px;
}
 
.left-main .title {
    font-size: 1.75rem; /* 28px / 16px */
    font-weight: bold;
    text-align: center;
    margin: 0 0 20px 0;
    padding: 0 70px;
  
}

.left-main .line {
    width: 100%;
    height: 1px;
    background-color: #eee;
    margin-bottom: 10px;
}

.left-main .source {
    text-align: center;
    color: #999;
    font-size: 0.875rem; /* 14px / 16px */
    margin-bottom: 20px;
    font-weight: 400;
}


.control-btn {
    background: none;
    border: none;
    cursor: pointer;
    margin: 0 5px;
}

.control-btn img {
    width: 24px;
    height: 24px;
}

.play-pause-btn {
    width: 32px;
    height: 32px;
    background-image: url('../img/cp/icon_cz.png');
    background-size: cover;
}

.progress-bar {
    flex-grow: 1;
    height: 5px;
    background-color: #EBEBEB;
    margin: 0 15px;
    border-radius: 2.5px;
}

.progress {
    width: 0;
    height: 100%;
    background-color: #357AC0;
    border-radius: 2.5px;
}

.time {
    font-size: 0.875rem; /* 14px / 16px */
    color: #666;
}

.volume {
    display: flex;
    align-items: center;
}
.content {
  margin: 10px;
}
.content .item {
    margin-bottom: 20px;
}

.content .item-title {
    font-weight: bold;
    margin-bottom: 10px;
    padding: 0 15px;
    color: #171717;

font-size: 1.25rem;

font-weight: 400;

}

.content .item-con {
    line-height: 1.8;
    color: #171717;
     font-size:  1.25rem !important;
     font-weight: 400;
     letter-spacing: -0.176px;
}

.content .item:not(.related-info) .item-con {
    text-indent: 2em;
}

.form .form-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 20px;
}

.form .form-row {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
}

.form .form-row .form-item {
    flex: 1;
    margin-bottom: 0;
}

.form label {
    width: auto;
    text-align: left;
    margin-right: 0;
    margin-bottom: 8px;
    font-size: 0.875rem;
    white-space: nowrap;
}

.form label.required::after {
    content: '*';
    color: #ff4d4f;
    margin-left: 2px;
}

.form input,
.form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    font-size: 0.875rem;
}

input[type="text"] {
    border: 1px solid #ccc; /* 默认边框颜色 */
    padding: 8px;
    border-radius: 4px;
    transition: border-color 0.3s ease; /* 添加过渡效果 */
}



textarea {
    border: 1px solid #ccc; /* 默认边框颜色 */
    padding: 8px;
    border-radius: 4px;
    transition: border-color 0.3s ease; /* 添加过渡效果 */
}

textarea:focus {
    border-color: #357AC0; /* 高亮颜色为主色 */
    outline: none; /* 去掉默认的聚焦样式 */
}

.form .form-item:has(#code) {
    flex-direction: column;
}

.form .form-item:has(#code) > div {
    display: flex;
    gap: 10px;
    width: 100%;
    align-items: center;
}

.form .form-item:has(#code) input {
    flex: 1;
}

.form textarea {
    height: 120px;
    resize: vertical;
}

.textarea-wrapper {
    position: relative;
    width: 100%;
}

.char-count {
    position: absolute;
    bottom: 8px;
    right: 12px;
    font-size: 0.75rem;
    color: #999;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 2px 4px;
    border-radius: 3px;
    pointer-events: none;
}

.char-count.warning {
    color: #ff6b35;
}

.char-count.danger {
    color: #ff4d4f;
}

.code-img {
    width: 95px;
    height: 36px;
    /* background-color: #f5f5f5;
    padding: 12px 20px;
    border-radius: 6px;
    border: 1px solid #d9d9d9;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    color: #666;
    min-width: 80px;
    text-align: center; */
}

.submit-btn {
    padding: 5px 40px;
    background-color: #357AC0;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.875rem;
    margin: 20px auto 0 auto;
    display: block;
}

.opinion-item {
    border-bottom: 1px solid #EBEBEB;
    padding-bottom: 15px;
    margin-bottom: 15px;
}
.opinion-item .top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.opinion-item .name {
 
    font-weight: 500;
}

.opinion-item .date {
    font-size: 1rem; /* 12px / 16px */
    color: #A3A3A3;
    font-weight: 400;
    margin: 5px 0;
}

.opinion-item .content {
    margin-bottom: 10px;
    margin-top: 5px;
}

.opinion-item .reply {
    background-color: #f5f5f5;
    padding: 10px;
    border-radius: 4px;
    color: #666;
    font-size: 0.875rem; /* 14px / 16px */
}

.opinion-item:last-child {
    border-bottom: none !important;
    /* margin-bottom: 0;
    padding-bottom: 0; */
}

.right {
      width: 278px;
    /* width: 300px; */
}

.info-box,
.file-box,
.recommend-box {
    background-color: #fff;
    padding: 16px;
    margin-bottom: 20px;
}

.info-box .item {
    display: flex;
    margin-bottom: 10px;
    font-size: 0.875rem; /* 14px / 16px */
}

.info-box .label2 {
    width: 80px;
    color: #666;
}

.file-box .title,
.recommend-box .title {
    font-size: 1.125rem; /* 18px / 16px */
    font-weight: bold;
    margin-bottom: 15px;
}

.file-img {
    text-align: center;
    margin-bottom: 15px;
    position: relative;
}

.file-img img {
    max-width: 100%;
    display: block;
}

.view-btn {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    padding: 8px 20px;
    background-color: rgba(53, 122, 192, 0.9);
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    font-size: 0.875rem;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.view-btn:hover {
    background-color: rgba(53, 122, 192, 1);
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.recommend-box .title-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.recommend-box .actions button {
    background: none;
    border: none;
    cursor: pointer;
    margin-left: 5px;
}

.recommend-list .item {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-size: 0.875rem; /* 14px / 16px */
    line-height: 1.6;
    word-wrap: break-word;
    word-break: break-all;
    white-space: normal;
    width: 100%;
}

.recommend-list .item .date {
    font-size: 0.75rem; /* 12px / 16px */
    color: #999;
    margin-top: 5px;
}

.related-info {
    background-color: #f5f5f5;
    padding: 20px;
    border-radius: 5px;
}

.related-info .item-title {
    color: #357AC0;
    font-size: 0.875rem; 
    font-weight: 700;
}

.related-info .item-con {
      line-height: 1.8;
   color: #A3A3A3;
    font-size:  1rem !important;
   
    font-weight: 400;
    position: relative;
    padding-left: 1.2em; /* 为伪元素留出空间 */
}

.related-info .item-con::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 5px;
    color: #357AC0; /* 蓝色圆点 */
    font-size: 1.2em; /* 调整圆点大小 */
    line-height: 1;
}

/* 没有更多留言样式 - 横线中间带文字 */
.no-more-message {
    position: relative;
    text-align: center;
    margin: 5px 0 20px 0;
    padding: 0 20px;
}

.no-more-message::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #e6e6e6;
    z-index: 1;
}

.no-more-message .text {
    position: relative;
    background-color: #fff;
    padding: 0 15px;
    color: #999;
    font-size: 0.6875rem;
    z-index: 2;
    display: inline-block;
}


    .related-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 15px;
        border-bottom: 1px solid #357AC0;
        padding-bottom: 10px;
    }

    .related-header h4 {
        margin: 0;
        font-size: 18px;
        font-weight: bold;
        margin-left: 5px;
    }

    .related-nav a {
        color: #999;
        text-decoration: none;
        font-size:1.25rem;
        margin-left: 10px;
    }

    .related-list ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .related-list li {
      
        border-bottom: 1px dashed #ddd;
        padding: 5px 0;
   
    }
    /* .related-list li:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    } */

    .related-list a {
        text-decoration: none;

       
        color: #000;



font-size: 1rem;

font-weight: 400;

    }

    .related-list a:hover {
        color: #357AC0;
    }

    .related-list .date {
        display: block;
        color: #999;
        font-size: 14px;
        margin-top: 5px;
    }
       .icon-tj{
        width: 24px;
        height: 24px;
    }
.navleft{
    display: inline-block;
    width: 24px;
    height: 24px;
    background-image: url('../img/cp/nav_left.png');
    background-size: cover;
        vertical-align: text-bottom;

}
.navright{
        display: inline-block;
    width: 24px;
    height: 24px;
    background-image: url('../img/cp/nav_right.png');
    background-size: cover;
      vertical-align: text-bottom;
}
/* 响应式设计 */


@media (max-width: 1200px) {
    /* .containergbk2 {
        width: 95%;
    } */
}

@media (max-width: 992px) {
    .containergbk2 {
        flex-direction: column;
        padding: 20px;
    }

    .left,
    .right {
        width: 100%;
    }

    .right {
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px; /* 在中等屏幕上缩小基准字体 */
    }
    .code-img{
        width: 40px;
        height: 24px;
    }
  .no-more-message {
        margin: 25px 0 15px 0;
        padding: 0 15px;
    }
    
    .no-more-message .text {
        font-size: 0.8rem;
        padding: 0 12px;
    }
    .comment-box .form {
        padding: 0px;
    }

 
.left-main .title{
    padding: 0;
}
  

    .yuyin {
        padding-top: 12.5%;
    }

    .progress-bar {
        width: 100%;
        margin: 10px 0;
    }

    .form-row .form-item {
        margin-bottom: 15px;
    }

    .form-row .form-item label {
        font-size: 0.9rem;
    }

    .form-row .form-item input,
    .form-row .form-item textarea {
        padding: 8px;
        font-size: 0.9rem;
    }
}

/* @media (max-width: 480px) {
    html {
        font-size: 12px;
    }

    .comment-box .form {
        padding: 15px;
    }

    .containergbk2 {
        padding: 5px;
    }

    .left,
    .right {
        padding: 5px;
    }

    .form .form-row {
        flex-direction: column;
        gap: 15px;
    }

    .form-row .form-item {
        width: 100%;
        margin-bottom: 10px;
    }

    .form-row .form-item label {
        font-size: 0.85rem;
        margin-bottom: 5px;
    }

    .form-row .form-item input,
    .form-row .form-item textarea {
        padding: 6px;
        font-size: 0.85rem;
    }

    .submit-btn {
        width: 100%;
        margin: 20px 0 0 0;
        padding: 10px;
        font-size: 0.9rem;
    }

    .yuyin {
        padding: 10px;
        padding-top: 15%;
    }

    .related-info {
        padding: 15px;
    }

    .related-info .item-con {
        font-size: 0.9rem !important;
        line-height: 1.6;
        padding-left: 1em;
    }
}

/* 新的相关推荐区域样式 */
.related-posts {
    background-color: #fff;
    padding: 16px;
    margin-bottom: 20px;
}

.related-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.related-header h4 {
    font-size: 1.125rem;
    font-weight: bold;
    margin: 0 0 0 8px;
    color: #333;
}

.icon-tj {
    width: 20px;
    height: 20px;
}

.related-nav a {
    display: inline-block;
    width: 24px;
    height: 24px;
    text-align: center;
    line-height: 24px;
    margin-left: -7px;
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: none;
    color: #666;
    font-size: 14px;
}

.related-nav a:hover {
    color: #357AC0;
}

.related-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.related-list li {
   
    border-bottom: 1px solid #eee;
    line-height: 1.6;
}


.related-list li a {
    display: block;
    font-size: 0.95rem;
    color: #000;
    text-decoration: none;
    line-height: 1.6;
    word-wrap: break-word;
    word-break: break-all;
    white-space: normal;
    width: 100%;
    margin-bottom: 5px;
    
}

.related-list li a:hover {
    color: #357AC0;
}

.related-list li .date {
    font-size: 0.875rem;
    color: #999;
    display: block;
}

/* 响应式适配 */
@media (max-width: 768px) {
    .related-posts {
        padding: 15px;
    }
    
    .related-header h4 {
        font-size: 1rem;
    }
    
    .related-list li a {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .related-posts {
        padding: 10px;
    }
    
    .related-list li a {
        font-size: 0.75rem;
    }
}




