/* Banner interior — shortcode [fcf_banner] */

/* —— Listagem (sem imagem): estilo Notícias / Plantel —— */
body.has-fcf-page-banner:not(.has-fcf-page-banner-article) {
	background: var(--fcf-blue-900, #051e33);
}

body.has-fcf-page-banner:not(.has-fcf-page-banner-article) #main-container {
	background: transparent;
}

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

body.has-fcf-page-banner .entry-content,
body.has-fcf-page-banner .entry-content.is-layout-constrained {
	padding-top: 0 !important;
	margin-top: 0 !important;
}

body.has-fcf-page-banner main.site-main > .ct-container,
body.has-fcf-page-banner main.site-main > .ct-container-full,
body.has-fcf-page-banner main.site-main > .ct-container-narrow {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0 !important;
}

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

.fcf-page-banner:not(.fcf-page-banner--article) {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	min-height: 100vh;
	min-height: 100dvh;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 0 var(--fcf-site-gutter, clamp(48px, 4vw, 80px));
	background: var(--fcf-blue-900, #051e33);
	color: #fff;
}

.fcf-page-banner:not(.fcf-page-banner--article) .fcf-page-banner__inner {
	width: 100%;
	max-width: var(--theme-normal-container-max-width, min(1920px, calc(100vw - (var(--fcf-site-gutter, 0px) * 2))));
	margin-inline: auto;
	padding-bottom: var(--fcf-page-head-margin-bottom, clamp(24px, 4vh, 40px));
}

.fcf-page-banner:not(.fcf-page-banner--article) .fcf-page-banner__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: var(--fcf-page-head-margin-bottom);
}

.fcf-page-banner:not(.fcf-page-banner--article) .fcf-page-banner__title {
	margin: 0 !important;
	color: #fff !important;
	text-transform: uppercase;
}

/* —— Artigo (com imagem): estilo notícia individual —— */
body.has-fcf-page-banner-article {
	background: #fff;
}

body.has-fcf-page-banner-article #main-container {
	background: #fff;
}

.fcf-page-banner--article {
	--fcf-page-banner-hero-height: 60vh;
	--fcf-page-banner-hero-height: 60dvh;
	--fcf-page-banner-panel-overlap: clamp(72px, 10vh, 132px);
	--fcf-page-banner-pad-x: clamp(24px, 4vw, 72px);
	--fcf-page-banner-pad-y: clamp(32px, 4.5vw, 56px);
	color: var(--fcf-blue-900, #051e33);
}

.fcf-page-banner--article .fcf-page-banner__hero {
	position: relative;
	z-index: 1;
	width: 100vw;
	max-width: 100vw;
	height: var(--fcf-page-banner-hero-height);
	min-height: var(--fcf-page-banner-hero-height);
	margin: 0 calc(50% - 50vw);
	overflow: hidden;
	background: var(--fcf-blue-700, #183e67);
	isolation: isolate;
}

.fcf-page-banner--article .fcf-page-banner__hero-image {
	position: absolute;
	inset: 0;
	z-index: 0;
	background-position: var(--fcf-page-banner-position, center 22%);
	background-repeat: no-repeat;
	background-size: cover;
	transform: translateZ(0);
	backface-visibility: hidden;
}

.fcf-page-banner--article .fcf-page-banner__hero-map {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
}

.fcf-page-banner--article .fcf-page-banner__hero-map iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

.fcf-page-banner--map .fcf-page-banner__map-marker {
	position: absolute;
	left: 50%;
	top: 52%;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: min(280px, calc(100% - 48px));
	transform: translate(-50%, -100%);
	pointer-events: none;
}

.fcf-page-banner--map .fcf-page-banner__map-marker-card {
	display: flex;
	flex-direction: column;
	gap: 2px;
	width: 100%;
	margin-bottom: 10px;
	padding: 12px 16px;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 10px 28px rgba(5, 30, 51, 0.22);
	color: var(--fcf-blue-900, #051e33);
	text-align: center;
}

.fcf-page-banner--map .fcf-page-banner__map-marker-title {
	font-family: var(--fcf-font-display, "korolev-compressed", sans-serif);
	font-size: clamp(1rem, 2vw, 1.25rem);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.fcf-page-banner--map .fcf-page-banner__map-marker-subtitle {
	font-family: var(--fcf-font-body, "Poppins", sans-serif);
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.3;
	color: var(--fcf-gold-500, #c5a021);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.fcf-page-banner--map .fcf-page-banner__map-marker-pin {
	position: relative;
	width: 22px;
	height: 22px;
	border-radius: 50% 50% 50% 0;
	background: var(--fcf-gold-500, #c5a021);
	box-shadow: 0 4px 12px rgba(5, 30, 51, 0.28);
	transform: rotate(-45deg);
}

.fcf-page-banner--map .fcf-page-banner__map-marker-pin::after {
	content: "";
	position: absolute;
	inset: 6px;
	border-radius: 50%;
	background: #fff;
}

.fcf-page-banner--map .fcf-page-banner__hero-overlay {
	background:
		linear-gradient(
			180deg,
			rgba(5, 30, 51, 0.42) 0%,
			rgba(5, 30, 51, 0.18) 34%,
			rgba(5, 30, 51, 0.08) 62%,
			rgba(5, 30, 51, 0.04) 100%
		),
		rgba(5, 30, 51, 0.08);
}

.fcf-page-banner--article .fcf-page-banner__hero-overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		linear-gradient(
			180deg,
			rgba(5, 30, 51, 0.84) 0%,
			rgba(5, 30, 51, 0.62) 28%,
			rgba(5, 30, 51, 0.38) 52%,
			rgba(5, 30, 51, 0.18) 78%,
			rgba(5, 30, 51, 0.1) 100%
		),
		rgba(5, 30, 51, 0.28);
	pointer-events: none;
}

/* Overlay: opaco em baixo → transparente em cima */
.fcf-page-banner--fade-up .fcf-page-banner__hero-overlay {
	background: linear-gradient(
		180deg,
		rgba(5, 30, 51, 0) 0%,
		rgba(5, 30, 51, 0.35) 45%,
		rgba(5, 30, 51, 0.78) 75%,
		rgba(5, 30, 51, 1) 100%
	);
}

/* Calendário / Resultados: título sobre o hero, sem painel branco */
.fcf-page-banner--match {
	--fcf-page-banner-hero-height: 52vh;
	--fcf-page-banner-hero-height: 52dvh;
	--fcf-page-banner-panel-overlap: 0px;
}

.fcf-page-banner--match .fcf-page-banner__hero {
	position: relative;
}

.fcf-page-banner--match .fcf-page-banner__main {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	margin-top: 0;
	padding-bottom: clamp(1.25rem, 3vw, 2.25rem);
	pointer-events: none;
}

.fcf-page-banner--match .fcf-page-banner__panel {
	background: transparent;
	padding: 0 var(--fcf-page-banner-pad-x);
}

.fcf-page-banner--match .fcf-page-banner__title {
	margin: 0 !important;
	color: #fff !important;
	text-shadow: 0 2px 24px rgba(5, 30, 51, 0.45);
}

@media (max-width: 768px) {
	.fcf-page-banner--match {
		--fcf-page-banner-hero-height: 42vh;
		--fcf-page-banner-hero-height: 42dvh;
	}
}

.fcf-page-banner--article .fcf-page-banner__main {
	position: relative;
	z-index: 2;
	margin-top: calc(var(--fcf-page-banner-panel-overlap) * -1);
	padding-bottom: 0;
}

.fcf-page-banner--article.fcf-page-banner--overlap .fcf-page-banner__main {
	padding-bottom: 0;
}

.fcf-page-banner--article:not(.fcf-page-banner--overlap) .fcf-page-banner__main {
	padding-bottom: clamp(48px, 8vh, 96px);
}

.fcf-page-banner--article .fcf-page-banner__container {
	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-page-banner--article .fcf-page-banner__panel {
	background: #fff;
	padding: var(--fcf-page-banner-pad-y) var(--fcf-page-banner-pad-x) 0;
}

.fcf-page-banner--article.fcf-page-banner--overlap .fcf-page-banner__panel {
	padding-bottom: 0;
	position: relative;
	z-index: 1;
}

.fcf-page-banner--article .fcf-page-banner__eyebrow {
	display: inline-block;
	margin: 0 0 18px;
	color: #a2bacc;
	font-family: var(--fcf-font-display, "korolev-compressed", sans-serif);
	font-size: var(--fcf-h5-size);
	font-weight: var(--fcf-h5-weight);
	letter-spacing: var(--fcf-h5-spacing);
	line-height: var(--fcf-h5-line);
	text-transform: uppercase;
}

.fcf-page-banner--article .fcf-page-banner__title {
	margin: 0 0 clamp(32px, 4.5vh, 52px) !important;
	padding: 0 !important;
	border: 0 !important;
	max-width: min(920px, 100%);
	color: var(--fcf-blue-900, #051e33) !important;
	background: none !important;
	font-family: var(--fcf-font-display, "korolev-compressed", sans-serif) !important;
	font-size: var(--fcf-h1-size) !important;
	font-weight: var(--fcf-h1-weight) !important;
	line-height: 1.05 !important;
	letter-spacing: var(--fcf-h1-spacing) !important;
	text-transform: uppercase;
	text-wrap: pretty;
	overflow: visible;
	scroll-margin-top: calc(var(--header-height, 120px) + 12px);
}

.fcf-page-banner--article.fcf-page-banner--overlap .fcf-page-banner__title {
	margin-bottom: clamp(28px, 4vh, 40px) !important;
}

.fcf-page-banner--article .fcf-page-banner__date {
	display: block;
	margin: 0 0 clamp(28px, 4vh, 40px);
	color: #111827;
	font-family: var(--fcf-font-display, "korolev-compressed", sans-serif);
	font-size: var(--fcf-h5-size);
	font-weight: var(--fcf-h5-weight);
	letter-spacing: var(--fcf-h5-spacing);
	line-height: var(--fcf-h5-line);
	text-transform: uppercase;
}

@media (max-width: 768px) {
	.fcf-page-banner--article {
		--fcf-page-banner-panel-overlap: clamp(64px, 12vh, 96px);
	}

	.fcf-page-banner--article .fcf-page-banner__hero-image {
		background-position: center 18%;
	}

	.fcf-page-banner--article .fcf-page-banner__eyebrow {
		margin-bottom: 14px;
	}

	.fcf-page-banner--article .fcf-page-banner__title {
		max-width: none;
		margin-bottom: clamp(24px, 5vh, 36px) !important;
	}

	.fcf-page-banner--article .fcf-page-banner__date {
		margin-bottom: 24px;
	}

	.fcf-page-banner:not(.fcf-page-banner--article) .fcf-page-banner__head {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
	}
}

@media (min-width: 1000px) {
	.fcf-page-banner--article .fcf-page-banner__title {
		max-width: min(1040px, 100%);
	}
}
