@import "/css/public-fcc5fda76142186ad094f59be9e8fb4f.css";

/* ================= Page Hero (来自 index.html 的 news/page-hero) ================= */
.detail-header{
    width: var(--frame-width);
    margin:0 auto;
    padding: 40px 0;
    text-align: center;
}
.detail-header h1 { font-size: 28px; font-weight: 700; margin-bottom: 20px; }
.detail-meta { font-size: 14px; color:var(--color-dark);}
.detail-meta  span { margin: 0 10px; }

/* ================= 详情页主体布局 ================= */
.detail-body { padding: 0 0 60px; }
.detail-container {  }
.detail-main { background: white; border-radius: 16px; padding: 0px 80px; box-shadow: 0 4px 20px rgba(0,0,0,0.05); }
.detail-content{
    min-height:300px;
}

/* ================= 加载动画（旋转圆环 + 文字） ================= */
.detail-main {
    position: relative;
}
.detail-main .loading-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 16px;
    z-index: 2;
    transition: opacity 0.4s ease;
}
.detail-main .loading-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}
.loading-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid #e8ecf4;
    border-top-color: #667eea;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
.loading-text {
    margin-top: 20px;
    font-size: 15px;
    color: #999;
    letter-spacing: 2px;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
.detail-content h2 { font-size: 24px; color: #1a1a2e; margin-bottom: 20px; margin-top: 30px; }
.detail-content h2:first-child { margin-top: 0; }
.detail-content p { font-size: 16px; color: #555; line-height: 1.9; margin-bottom: 16px; text-align: justify; }
.detail-content img { max-width: 100%; height: auto; border-radius: 12px; margin: 30px 0; }


.img-frm{
    width:100%;
    min-width:1400px;
    margin:0 auto;
    position: relative;
}
.img-frm.frm1{
    height:5797px;
    background: url("/images/p1-777a4533d0bce9d6e7ebb685dd231504.jpg") top center no-repeat;
}
.img-frm.frm1 .tools{
    padding-top:540px;
    display: flex;gap:20px;
}
.img-frm.frm1 .tools button{
    line-height:65px;border:0;margin:0;padding:0 35px;
    font-size:16px;background-color: var(--color-white);
    color: var(--color-black);
    border-radius: 32px;font-weight: bold;
    box-shadow: 0 1px 3px 0 rgba(0,0,0,0.1);
    transition: all 0.3s;
}
.img-frm.frm1 .tools button:hover{
     transform: translateY(-3px);
     box-shadow: 0 3px 10px 5px rgba(0,0,0,0.15);
 }
.img-frm.frm1 .tools button.active{
    color:var(--color-white);
    background: var(--bg-linear-1);
}
.img-frm.frm2{
    height:5565px;
    background: url("/images/p1-2-3fa9b79c11f83779390e2e82e386c899.jpg") top center no-repeat;
}
.gbook-frm{
    height:880px;
    padding:60px 0;
    background: linear-gradient(180deg, #1c388c 0%, #0f1b35 100%);
}
.panel{
    margin:0 auto;
    width: var(--frame-width);
}
.panel h1{
    font-size:42px;
    margin-bottom: 20px;
    color:var(--color-white);
    text-align: center;
}
.panel .des{
    font-size:1.2em;
    text-align: center;
    color:var(--color-light);
}
.gbook-panel{
    margin: 40px auto 0; padding:30px;
    background-color: var(--color-light-1);
    border-radius: 20px;
    width:890px;
}

/* ================= 详情页移动端 ================= */
@media (max-width: 768px) {
    .detail-header { width: 100%; padding: 30px 16px; }
    .detail-header h1 { padding: 0 !important; font-size: 22px; }
    .detail-main { padding: 20px 16px; }
    .detail-content h2 { font-size: 20px; }
    .detail-content p { font-size: 15px; }
    .detail-content img { width: 100% !important; height: auto !important; margin: 20px 0; }

    .img-frm { min-width: auto; }
    .img-frm.frm1 { height: auto; min-height: 300px; background-size: contain; }
    .img-frm.frm1 .tools { padding-top: 20px; flex-wrap: wrap; justify-content: center; }
    .img-frm.frm1 .tools button { line-height: 40px; padding: 0 20px; font-size: 14px; }
    .img-frm.frm2 { height: auto; min-height: 300px; background-size: contain; }

    .gbook-frm { height: auto; padding: 40px 16px; }
    .panel { width: 100%; }
    .panel h1 { font-size: 28px; }
    .gbook-panel { width: 100%; padding: 20px; }
}

