/* batch6: prevent long English titles from breaking layout */
.webnav h2,
.webnavtit h2,
.webnavtit a h2,
.webnavag .webnavtit a,
.web_navcb a,
.web_aghdh li a,
.webshimenu li,
.web_xzmenu li a,
.web_zcyl {
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	box-sizing: border-box;
}

.web_tout p.cont2 em {
	width: 108px;
	overflow: hidden;
}
.web_tout p.cont2 em i {
	display: block;
	overflow: hidden;
}
.web_tout p.cont2 em i a {
	display: block;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.web_aghlb h2 a,
.web_lbkc dt a,
.zsffont dt a,
.web_black,
.train-title,
.webtit,
.webll,
.webwenzzb dt,
.webasklb dt a,
.entry-title a,
.article-title,
.article-card h2,
.source_name,
.indenews > span:first-child,
.indenews span:first-child,
.xiazaiaoc a.web_black,
.xiazailb dt a,
.xiazailb span a,
.web_aghyoub h2 a,
.web-mtypes .title,
.ellipsis2 {
	overflow: hidden;
	text-overflow: ellipsis;
	display: block;
}
.web_aghlb h2 a,
.web_lbkc dt a,
.zsffont dt a,
.web_black,
.train-title,
.webtit,
.webll,
.webwenzzb dt,
.webasklb dt a,
.xiazaiaoc a.web_black,
.xiazailb dt a,
.indenews > span:first-child,
.indenews span:first-child {
	white-space: nowrap;
}

.web-mtypes .title.ellipsis2,
.entry-title a {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	white-space: normal;
	word-break: break-word;
}

.friend-link p {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 8px;
	overflow: hidden;
	max-height: 72px;
}
.friend-link p a {
	max-width: 220px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	vertical-align: top;
}

.web_wxmenu h2,
.web-yc-show .describe h4,
.web-yc-show .describe p,
.webjrtit h2,
.web_rightlb span {
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.web_aghgr dd a,
.web_ctui h2 a,
h2.entry-title,
.post-grid .entry-title a,
.section-title span,
.section-title a,
.focusbox-title,
.cat-posts-wrapper .entry-title a {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 100%;
}

/* horinto poetry template (keep compatible) */
.main1 .cont .right .son1 {
	max-width: 560px;
	flex-wrap: wrap;
}
.main1 .cont .right .son1 a {
	width: auto;
	max-width: 100%;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.main3 .right .sons .cont a,
.main3 .left .sons .tag a {
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* generic list overflow safety */
.nav a, .menu a, .tag a, .tags a,
.list-title, .news-title, .item-title,
.title a, .tit a, .name a {
	max-width: 100%;
}
