/* 党建群团页使用 Figma 440 像素横幅和统一栏目配色。 */
.party-group-page .inner-hero { height: 440px; background: none; }
.party-group-page .inner-banner-copy { top: 238px; }
/* 新闻列表固定为设计稿的 1440 像素内容宽度。 */
.party-news-main { width: 1440px; margin: 0 auto; padding-top: 60px; }
.party-news-item { display: grid; min-height: 400px; padding: 0 0 40px; margin-bottom: 40px; grid-template-columns: 660px 1fr; gap: 40px; overflow: hidden; color: inherit; border-bottom: 1px solid #ddd; }
.party-news-item > img { width: 660px; height: 400px; object-fit: cover; transition: transform .3s ease; transform-origin: center; }
.party-news-item > div { position: relative; padding-top: 60px; }
.party-news-item > div::before { position: absolute; top: 60px; left: 189px; width: 550px; height: 40px; content: ""; pointer-events: none; background: linear-gradient(90deg, rgba(221,221,221,.5), rgba(221,221,221,0)); }
.party-news-item time { display: block; padding-left: 24px; color: #333; font-size: 24px; line-height: 40px; border-left: 4px solid var(--blue); }
.party-news-item h2 { margin: 56px 0 24px; font-size: 18px; font-weight: 400; line-height: 30px; }
.party-news-item p { display: -webkit-box; overflow: hidden; margin: 0; color: #999; font-size: 16px; line-height: 30px; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.party-news-more { position: relative; width: 120px; height: 30px; margin-top: 36px; padding: 0 10px; display: none; align-items: center; color: #fff; font-size: 14px; line-height: 30px; background: var(--blue); }
.party-news-more::before { position: absolute; top: 0; right: -6px; width: 4px; height: 30px; content: ""; background: var(--orange); }
.party-news-more::after { width: 12px; height: 12px; margin-left: auto; content: ""; background: url("../images/party-news-more-icon.png") center / contain no-repeat; }
.party-news-item:hover > div::before, .party-news-item:focus-within > div::before { background: linear-gradient(90deg, #fd9600, rgba(253,150,0,0)); }
.party-news-item:hover > img, .party-news-item:focus-visible > img { transform: scale(1.03); }
.party-news-item:hover .party-news-more, .party-news-item:focus-within .party-news-more { display: flex; }
/* Figma 无图新闻：内容从列表左侧开始，日期、标题和摘要按设计稿垂直排列。 */
.party-news-item--no-image { display: block; min-height: 240px; padding-bottom: 0; }
.party-news-item--no-image > div { padding-top: 0; }
.party-news-item--no-image > div::before { top: 0; left: 189px; }
.party-news-item--no-image p { -webkit-line-clamp: 2; }
/* 无图新闻激活态按钮按 Figma 节点 79:340 对齐，右侧预留黄色竖线空间。 */
.party-news-item--no-image .party-news-more { position: absolute; top: 0; right: 6px; margin-top: 0; }
.party-news-item--no-image:hover .party-news-more,
.party-news-item--no-image:focus-within .party-news-more { display: flex; }
.party-group-page .site-footer { margin-top: 100px; border-top: 6px solid var(--blue); }
/* 手机端按图、日期、标题、摘要顺序纵向显示。 */
html.is-mobile .party-group-page .inner-hero { height: 430px; }
html.is-mobile .party-group-page .inner-banner-copy { top: 138px; left: 20px; }
html.is-mobile .party-news-main { width: auto; margin: 0 16px; padding-top: 40px; }
html.is-mobile .party-news-item { display: block; min-height: 0; padding-bottom: 28px; margin-bottom: 28px; }
html.is-mobile .party-news-item > img { width: 100%; height: auto; aspect-ratio: 1.65; }
html.is-mobile .party-news-item > div { padding-top: 24px; }
html.is-mobile .party-news-item > div::before { top: 24px; left: 145px; width: calc(100% - 145px); height: 30px; }
html.is-mobile .party-news-item time { padding-left: 14px; font-size: 18px; line-height: 30px; border-left-width: 3px; }
html.is-mobile .party-news-item h2 { margin: 24px 0 12px; font-size: 17px; line-height: 28px; }
html.is-mobile .party-news-item p { font-size: 15px; line-height: 28px; }
/* 手机端无图新闻不预留图片空间，保持日期、标题和摘要的纵向间距。 */
html.is-mobile .party-news-item--no-image { min-height: 0; }
html.is-mobile .party-news-item--no-image > div { padding-top: 0; }
html.is-mobile .party-news-item--no-image > div::before { top: 0; left: 145px; width: calc(100% - 145px); }
html.is-mobile .party-news-item--no-image p { -webkit-line-clamp: 2; }
html.is-mobile .party-news-item--no-image .party-news-more { right: 0; }
/* 移动端隐藏本页全部“查看更多”入口，整条新闻仍可点击。 */
html.is-mobile .party-group-page .party-news-more { display: none; }
html.is-mobile .party-group-page .site-footer { margin-top: 56px; border-top-width: 4px; }
