/* Seção PIANC-YP da home: proporções e espaçamentos da referência. */
.home-young .home-young__layout {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr);
	align-items: center !important;
	gap: 4rem;
}

.home-young .home-young__layout > .wp-block-column {
	flex-basis: auto !important;
	width: auto !important;
	min-width: 0;
}

.home-young .home-young__layout > .wp-block-column:first-child {
	order: 2;
}

.home-young .home-young__layout > .wp-block-column:last-child {
	order: 1;
}

.home-young .eyebrow {
	color: var(--navy-mid);
	line-height: 1.2;
}

.home-young .wp-block-heading.display-md {
	margin-top: 1.25rem;
}

.home-young .lede {
	margin-top: 1.75rem;
	color: var(--muted-color);
	font-size: 1.25rem;
	line-height: 1.625;
	text-wrap: pretty;
}

.home-young .wp-block-buttons {
	margin-top: 2.5rem;
}

.home-young .wp-block-button__link {
	display: inline-flex;
	min-height: 3rem;
	font-family: var(--font-display);
	letter-spacing: 0;
	text-decoration: none;
	text-transform: uppercase;
	border: 1px solid transparent;
	justify-content: center;
	align-items: center;
	gap: 0.75rem;
	padding: 0.875rem 1.75rem;
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1.2;
}

.home-young.section--mist {
	border-block: 0;
}

.home-young .figure-frame {
	box-shadow: var(--shadow-editorial);
}

.home-young .figure-frame figcaption {
	margin: 0;
}

.home-young .figure-frame img {
	aspect-ratio: 3 / 2;
}

.home-young .wp-block-button__link .icon {
	width: 1rem;
	height: 1rem;
}

@media (min-width: 1024px) {
	.home-young .home-young__layout {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	}

	.home-young .home-young__layout > .wp-block-column:first-child {
		order: 1;
	}

	.home-young .home-young__layout > .wp-block-column:last-child {
		order: 2;
	}
}
