@charset "utf-8";
/* =====================================================================
   gjgs-custom.css  ·  云南财经大学国际工商学院 自定义覆盖样式
   ---------------------------------------------------------------------
   用途：集中存放所有"改版/修复"样式，不动厂商原始 CSS，便于维护与部署。
   部署：① 上传本文件到正式站 dfiles/12820/pub/gjgs/css/
        ② 在需要的模板 <head> 末尾加一行（放在其它 CSS 之后以便覆盖）：
           <link rel="stylesheet" type="text/css"
                 href="dfiles/12820/pub/gjgs/css/gjgs-custom.css">
   ===================================================================== */

/* ---------- 1. 正文：消除标题下方"不明空白" ----------
   content.jsp 的正文模板里有一个【空的第二个 <h1 class="title">】，
   自带 padding-bottom:33px，于是每篇文章标题下方都多出一段固定空白。 */
.post-content h1.title:empty,
.entry-wrapper .post-content h1.title:empty {
    display: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* ---------- 2. 正文段落：统一行距，覆盖 Word 粘贴的内联样式 ----------
   文章正文里大量 <p style="line-height:35px"> / 43px，导致段间距忽大忽小。
   外部 !important 可覆盖元素上的非 !important 内联样式。 */
.art-content p {
    line-height: 1.9 !important;
    margin: 0 0 12px !important;
}

/* ---------- 3. 正文 H2 / H3 小标题：规范间距 ---------- */
.art-content h2 { font-size: 18px; line-height: 1.6; margin: 18px 0 10px !important; }
.art-content h3 { font-size: 16px; line-height: 1.6; margin: 14px 0 8px  !important; }


.art-content p:empty { display: none !important; }

/* ---------- 5. 横幅 banner：高度 + 图片填充 ----------
   原主题 .swiper-slide img 用 height:100% 易变形/留白；改用 object-fit:cover 等比裁剪填满。
   只需改下面这一个变量即可统一调整横幅高度。 */
:root { --gjgs-banner-h: 700px; }
.tp-banner-container { max-height: var(--gjgs-banner-h) !important; }
.tp-banner, .tp-banner .swiper, .tp-banner .swiper-slide { height: var(--gjgs-banner-h); }
.tp-banner .swiper-slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;       /* 等比裁剪填满，不变形、不留白 */
    object-position: center;
}
/* 英文副标题字号（中文标题 h2 主题已是 48px；如需微调英文取消注释）
.tp-banner .field-type-text-long .field-item-single { font-size: 18px; } */