/* 6.4 Descrição curta. Tokens da marca em common.css. */

.apw-short-description {
	--apw-desc-max: 65ch;
	--apw-desc-lines: 4;

	max-width: var(--apw-desc-max);
	font-family: var(--apw-font-text);
}

.apw-short-description .apw-short-description__text {
	font-size: 16px;
	line-height: 1.6;
	color: var(--apw-dark);
}

.apw-short-description__text > :first-child {
	margin-top: 0;
}

.apw-short-description__text > :last-child {
	margin-bottom: 0;
}

/* O corte só vale com JavaScript ativo (classe apw-js no <html>); sem ele o texto aparece inteiro. */
:is(.apw-js .apw-short-description, .apw-short-description.is-ready).is-clamped:not(.is-expanded) .apw-short-description__text {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: var(--apw-desc-lines);
	line-clamp: var(--apw-desc-lines);
}

.apw-short-description .apw-short-description__toggle {
	margin: 8px 0 0;
	padding: 0;
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	color: var(--apw-dark);
	background: none;
	border: 0;
	border-radius: 0;
	box-shadow: none; /* taste-skill-ignore: neutraliza sombra do tema/Kit */
	text-decoration: underline;
	text-decoration-color: var(--apw-line-strong);
	text-underline-offset: 4px;
	cursor: pointer;
	transition: text-decoration-color 0.2s;
}

.apw-short-description .apw-short-description__toggle:is(:hover, :focus) {
	color: var(--apw-dark);
	text-decoration-color: currentColor;
	background: none;
}

.apw-short-description .apw-short-description__toggle[hidden],
html:not(.apw-js) .apw-short-description .apw-short-description__toggle {
	display: none;
}
