/* V0.7.17. Reference layout, scoped to the XGZX home page. */
.xgzx-home-page .list-text { margin:0; padding:0; list-style:none; }
.xgzx-home-page ul.list-text li { margin:15px 0; padding-left:15px; }
.xgzx-home-page ul.list-text li > a { display:flex; align-items:center; gap:20px; min-width:0; }
.xgzx-home-page ul.list-text li .names { flex:1; min-width:0; font-size:18px; line-height:1.6; display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.xgzx-home-page ul.list-text li .dates { flex:none; white-space:nowrap; color:#9a9a9a; font-size:14px; font-weight:400; }
.xgzx-home-page .xgzx-module { grid-template-columns:repeat(3,minmax(0,1fr)); }
.xgzx-home-page .xgzx-module .news { grid-template-columns:repeat(2,minmax(0,1fr)); }
.xgzx-home-page .xgzx-module .items,.xgzx-home-page .xgzx-module .listing { min-width:0; }
.xgzx-home-page .xgzx-compose { grid-template-columns:repeat(3,minmax(0,1fr)); }
.xgzx-home-page .xgzx-compose .items { min-width:0; }
.xgzx-home-page .swiper-news .names { padding-right:65px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.xgzx-home-page .swiper-news .floating-layer { z-index:2; }
.xgzx-home-page .grammar-pioneer .items { width:440px; max-width:78vw; margin-right:20px; }
.xgzx-home-page .grammar-pioneer .items .images { width:100%; height:348px; }
.xgzx-home-page .grammar-pioneer .items .names { color:#fff; display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.xgzx-home-page .home-honor .singles,
.xgzx-home-page .home-peaches .singles { width:244px; height:auto; margin-right:15px; vertical-align:top; text-align:center; }
.xgzx-home-page .home-honor .singles .images,
.xgzx-home-page .home-peaches .singles .images { width:244px; height:212px; overflow:hidden; }
.xgzx-home-page .home-honor .singles .images { background:#f7f7f7; }
.xgzx-home-page .home-honor .singles .images img { width:100%; height:100%; max-width:unset; max-height:unset; object-fit:contain; display:block; }
.xgzx-home-page .home-peaches .singles .images img { width:100%; height:100%; max-width:unset; max-height:unset; object-fit:cover; display:block; }
.xgzx-home-page .home-honor .names,
.xgzx-home-page .home-peaches .names { display:block; margin-top:5px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.xgzx-home-page .xgzx-restored-banner-image { width:100%; height:auto; display:block; }
/* Header-level More links remain; suppress only component-generated chrome. */
.xgzx-home-page #home-banner .more,.xgzx-home-page #xgzx-module .contents .more,
.xgzx-home-page #xgzx-compose .contents .more,.xgzx-home-page #grammar-pioneer .more,
.xgzx-home-page .xgzx-module .switch .more { display:none !important; }
@media(max-width:991px) {
 .xgzx-home-page .xgzx-module,.xgzx-home-page .xgzx-compose { grid-template-columns:minmax(0,1fr); }
 .xgzx-home-page .xgzx-module .news { grid-column:auto; grid-template-columns:minmax(0,1fr); }
 .xgzx-home-page .xgzx-module .news .listing { padding-left:0; }
 .xgzx-home-page .grammar-pioneer .items .images { height:61.7vw; max-height:348px; }
 .xgzx-home-page ul.list-text li .names { font-size:16px; }
}

/* V0.7.15: wide home content and the reference footer composition. */
@media(min-width:992px) {
 .xgzx-home-page #xgzx-module > .container,
 .xgzx-home-page #xgzx-compose > .container,
 .xgzx-home-page #footer > .container { width:96%; max-width:1920px; }
}
.xgzx-home-page #footer {
 background:#801a18 url('../img/xgzx-footer-bg.jpg') center center / cover no-repeat;
 padding:50px 0 60px;
}
.xgzx-home-page #footer .footer { margin:0 10%; }
.xgzx-home-page #footer .friend-link { flex-wrap:wrap; gap:10px; }
.xgzx-home-page #footer .links_xgzx { display:flex; flex-wrap:wrap; justify-content:center; gap:8px 28px; }
.xgzx-home-page #footer .links_xgzx li::after { top:4px; right:-14px; }
.xgzx-home-page #footer .footer-info { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:40px; margin-top:50px; }
.xgzx-home-page #footer .footer-info .lefts { display:grid; grid-template-columns:minmax(240px,1fr) minmax(340px,1.15fr); gap:50px; margin-right:0; }
.xgzx-home-page #footer .footer-info .columns { min-width:0; }
.xgzx-home-page #footer .footer-info .columns::after { right:-25px; }
.xgzx-home-page #footer .columns .logos img { max-width:100%; height:auto; }
.xgzx-home-page #footer .columns ul.links { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px 16px; justify-content:start; }
.xgzx-home-page #footer .columns ul.links li { width:auto; }
.xgzx-home-page #footer .contacts { white-space:normal; line-height:1.8; }
.xgzx-home-page #footer .rights { min-width:0; }
.xgzx-home-page #footer .xgzx-footer-codes { display:flex; flex-wrap:wrap; gap:24px; justify-content:center; }
.xgzx-home-page #footer .qrcode { text-align:center; }
.xgzx-home-page #footer .qrcode img { display:block; width:100px; height:100px; object-fit:contain; margin:auto; }
.xgzx-home-page #footer .qrcode p { margin-top:10px; font-size:14px; }
@media(min-width:992px) and (max-width:1399px) {
 .xgzx-home-page #footer .footer { margin:0 4%; }
 .xgzx-home-page #footer .footer-info { grid-template-columns:1fr; gap:30px; }
}
@media(max-width:991px) {
 .xgzx-home-page #footer { padding:30px 0; }
 .xgzx-home-page #footer .footer { margin:0; }
 .xgzx-home-page #footer .footer-info,
 .xgzx-home-page #footer .footer-info .lefts { grid-template-columns:minmax(0,1fr); gap:25px; }
 .xgzx-home-page #footer .footer-info .columns::after { display:none; }
 .xgzx-home-page #footer .footer-info .logos { text-align:center; }
 .xgzx-home-page #footer .qrcode p { white-space:normal; }
}

/* V0.7.24: More button belongs to the same simpleNews window as its list content.
   Keep the Chinese label visible and suppress any default English More text. */
.xgzx-home-page .header-five .xgzx-home-more-panel {
 display:flex;
 align-items:center;
 flex:0 0 auto;
 margin-left:auto;
 font-size:0;
}
.xgzx-home-page .header-five .xgzx-home-more-panel [frag="按钮"] {
 display:flex;
 align-items:center;
}
.xgzx-home-page .header-five .xgzx-home-more-panel .more {
 font-size:0 !important;
}
.xgzx-home-page .header-five .xgzx-home-more-panel .mores {
 display:inline-block;
 font-size:14px !important;
 line-height:1.5;
 white-space:nowrap;
 color:#333;
}
