/* Presidentes â€” grelha */
body.has-fcf-presidentes {
	background: var(--fcf-blue-900, #051e33);
}

body.has-fcf-presidentes #main-container {
	background: var(--fcf-blue-900, #051e33);
}

body.has-fcf-presidentes main.site-main {
	padding-top: 0 !important;
}

body.has-fcf-presidentes .hero-section,
body.has-fcf-presidentes .entry-header,
body.has-fcf-presidentes .page-title,
body.has-fcf-presidentes .ct-breadcrumbs,
body.has-fcf-presidentes main.site-main > .ct-container > .entry-header {
	display: none !important;
}

.fcf-presidentes {
	--fcf-presidentes-accent: #edca57;
	--fcf-presidentes-visual-bg: #123357;
	--fcf-presidentes-gap: clamp(12px, 1.25vw, 20px);
	--fcf-presidentes-row-gap: clamp(36px, 4.5vw, 64px);
	--fcf-presidentes-ease: cubic-bezier(0.22, 1, 0.36, 1);
	color: #fff;
	padding: var(--fcf-page-section-padding-top) 0 var(--fcf-page-section-padding-bottom);
}

.fcf-presidentes__inner {
	width: var(--theme-container-width, min(100%, var(--theme-normal-container-max-width, min(1920px, calc(100vw - (var(--fcf-site-gutter, 0px) * 2))))));
	max-width: var(--theme-normal-container-max-width, min(1920px, calc(100vw - (var(--fcf-site-gutter, 0px) * 2))));
	margin-inline: auto;
}

.fcf-presidentes__head {
	margin-bottom: clamp(32px, 4.5vh, 56px);
}

.fcf-presidentes__title {
	margin: 0 !important;
	color: #fff !important;
	text-transform: uppercase;
}

.fcf-presidentes__empty {
	margin: 0;
	color: rgba(255, 255, 255, 0.72);
	font-size: var(--fcf-body-size);
}

.fcf-presidentes__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	column-gap: var(--fcf-presidentes-gap);
	row-gap: var(--fcf-presidentes-row-gap);
	margin: 0;
	padding: 0;
	list-style: none;
}

.fcf-presidentes__card {
	min-width: 0;
}

.fcf-presidentes__card-inner {
	display: flex;
	flex-direction: column;
	min-height: 100%;
}

.fcf-presidentes__visual {
	position: relative;
	width: 100%;
	aspect-ratio: 3 / 5;
	background: var(--fcf-presidentes-visual-bg);
	overflow: hidden;
	isolation: isolate;
}

.fcf-presidentes__visual::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(
		180deg,
		rgb(5, 30, 51) 0%,
		rgba(5, 30, 51, 0.72) 38%,
		rgba(5, 30, 51, 0) 68%
	);
	pointer-events: none;
}

.fcf-presidentes__overlay {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center bottom;
	pointer-events: none;
	user-select: none;
	-webkit-user-drag: none;
}

.fcf-presidentes__caption {
	position: absolute;
	inset: auto 0 0 0;
	z-index: 3;
	padding: clamp(16px, 2vw, 24px);
	pointer-events: none;
}

.fcf-presidentes__meta {
	user-select: text;
}

.fcf-presidentes__name {
	display: -webkit-box;
	overflow: hidden;
	margin: 0 !important;
	min-height: calc(2 * 1.02em);
	max-height: calc(2 * 1.02em);
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	color: #fff !important;
	font-family: var(--fcf-font-display, "korolev-compressed", sans-serif) !important;
	font-size: 2.7rem !important;
	font-weight: 700 !important;
	line-height: 1.02 !important;
	letter-spacing: 0.03em !important;
	text-transform: uppercase;
	text-wrap: balance;
}

.fcf-presidentes__year {
	margin: 8px 0 0;
	color: var(--fcf-presidentes-accent);
	font-family: var(--fcf-font-display, "korolev-compressed", sans-serif);
	font-size: 2rem !important;
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: 0.04em;
}

.fcf-presidentes__description {
	margin-top: clamp(12px, 1.5vw, 18px);
	color: rgba(255, 255, 255, 0.82);
	font-size: var(--fcf-content-text-size);
	line-height: var(--fcf-content-text-line);
	max-height: 0;
	overflow: hidden;
	opacity: 0;
	transition:
		max-height 0.45s var(--fcf-presidentes-ease),
		opacity 0.35s var(--fcf-presidentes-ease);
}

.fcf-presidentes__description p {
	margin: 0 0 0.75em;
}

.fcf-presidentes__description p:last-child {
	margin-bottom: 0;
}

.fcf-presidentes__card:hover .fcf-presidentes__description,
.fcf-presidentes__card:focus-within .fcf-presidentes__description {
	max-height: 24rem;
	opacity: 1;
}

@media (max-width: 1024px) {
	.fcf-presidentes__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 576px) {
	.fcf-presidentes__name {
		font-size: clamp(1.35rem, 2.5vw, 2.5rem) !important;
	}

	.fcf-presidentes__year {
		font-size: clamp(1.2rem, 2.75vw, 2.875rem) !important;
	}

	.fcf-presidentes__card:hover .fcf-presidentes__description,
	.fcf-presidentes__card:focus-within .fcf-presidentes__description {
		max-height: none;
		opacity: 1;
	}
}

@media (prefers-reduced-motion: reduce) {
	.fcf-presidentes__description {
		transition: none;
		max-height: none;
		opacity: 1;
	}
}
