/* 超出一行显示省略号 */
.ellipsis,
.ellipsis-1 {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* 超出两行显示省略号 */
.ellipsis-2 {
	overflow: hidden;
	text-overflow: ellipsis;
	overflow: hidden;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	display: -webkit-box;
}

/* 超出3行显示省略号 */
.ellipsis-3 {
	overflow: hidden;
	text-overflow: ellipsis;
	overflow: hidden;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	display: -webkit-box;
}

/* 超出4行显示省略号 */
.ellipsis-4 {
	overflow: hidden;
	text-overflow: ellipsis;
	overflow: hidden;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	display: -webkit-box;
}

/* 超出5行显示省略号 */
.ellipsis-5 {
	overflow: hidden;
	text-overflow: ellipsis;
	overflow: hidden;
	-webkit-line-clamp: 5;
	-webkit-box-orient: vertical;
	display: -webkit-box;
}

.app-layout-content {
	max-width: var(--app-layout-content-max-width);
	margin: 0 auto;
}

.common-transition {
	transition: all 250ms linear;
}

/* 按钮 */
.app-button {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	border-radius: 4px;
	transition: all 250ms linear;
	user-select: none;
	gap: 0.75em;
	font-size: 1.14em;
	padding: 1em 2.75em;
}

.app-button__icon {
	font-size: 0.8em;
}

.app-button__img-icon {
	height: 2em;
	width: auto;
	display: block;
}

.app-button--default {
	background: #ffffff;
	color: var(--app-theme-secondary);
	border: 1px solid currentColor;
}

.app-button--default:hover {
	background: var(--app-theme-tertiary);
}

.app-button--primary {
	background: var(--app-linear-primary);
	color: #ffffff;
	box-shadow: 0px 14px 30px 0px rgba(37, 99, 235, 0.4);
}

.app-button--primary:hover {
	opacity: 0.8;
}

.app-button--plain {
	color: var(--app-theme-secondary);
}

.app-button--plain:hover {
	opacity: 0.8;
}

.app-button.round {
	border-radius: 200px;
}

.app-button.is-link {
	background: transparent;
	color: var(--app-linear-primary);
	border: none;
}

.app-button.is-link:hover {
	opacity: 0.8;
}

/* 通用标题 */
body {
	--common-title-font-size: 2.85em;
	--common-title-color: #1f2329;
	--common-title-line-height: 1.4;
	--common-title-desc-font-size: 1.14em;
	--common-title-desc-line-height: 1.375;
	--common-title-desc-color: #646d80;
}

.common-title {
	font-size: var(--common-title-font-size);
	color: var(--common-title-color);
	line-height: var(--common-title-line-height);
	margin-bottom: 3px;
	font-weight: 500;
	text-align: center;
}

.common-title-desc {
	font-size: var(--common-title-desc-font-size);
	color: var(--common-title-desc-color);
	line-height: var(--common-title-desc-line-height);
	text-align: center;
}

/* 面包屑导航 */

.crumbs {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 0.75em;
	font-size: 1.14em;
	margin-bottom: 50px;
	margin-top: 10px;
	flex-wrap: wrap;
}

.crumbs-li {
	display: flex;
	flex-direction: row;
	align-items: center;
	color: var(--app-text-color-6);
}

.crumbs-li:hover {
	color: var(--app-theme-secondary) !important;
}

.crumbs-li:last-child {
	color: var(--app-text-color-2);
}

.crumbs-li:last-child .crumbs-arrow {
	display: none;
}

@media screen and (max-width: 768px) {
	body {
		--common-title-font-size: 1.71em;
		--common-title-desc-font-size: 1em;
	}
}
