/* Listagem de notícias */
body.has-fcf-news-archive {
	background: var(--fcf-blue-900, #051e33);
}

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

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

body.has-fcf-news-archive .hero-section,
body.has-fcf-news-archive .entry-header,
body.has-fcf-news-archive .page-title,
body.has-fcf-news-archive .ct-breadcrumbs {
	display: none !important;
}

.fcf-news-archive {
	color: #fff;
	padding: var(--fcf-page-section-padding-top) 0 var(--fcf-page-section-padding-bottom);
	--fcf-archive-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes fcf-news-archive-fade-up {
	from {
		opacity: 0;
		transform: translate3d(0, 36px, 0);
	}

	to {
		opacity: 1;
		transform: translate3d(0, 0, 0);
	}
}

.fcf-news-archive:not(.is-archive-entered) .fcf-news-archive__title,
.fcf-news-archive:not(.is-archive-entered) .fcf-news-archive__filter,
.fcf-news-archive:not(.is-archive-entered) .fcf-news-archive__pagination,
.fcf-news-archive:not(.is-archive-entered) .fcf-news-archive__empty {
	opacity: 0;
}

.fcf-news-archive:not(.is-archive-entered) .fcf-news-card__image,
.fcf-news-archive:not(.is-archive-entered) .fcf-news-card__logo {
	opacity: 0;
}

.fcf-news-archive:not(.is-archive-entered) .fcf-news-card__panel {
	clip-path: inset(0 100% 0 0);
}

.fcf-news-archive:not(.is-archive-entered) .fcf-news-card__badge {
	opacity: 0;
}

@keyframes fcf-news-card-image-in {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@keyframes fcf-news-card-panel-grow {
	from {
		clip-path: inset(0 100% 0 0);
	}

	to {
		clip-path: inset(0 0 0 0);
	}
}

@keyframes fcf-news-card-badge-in {
	from {
		opacity: 0;
		transform: translate3d(0, 8px, 0);
	}

	to {
		opacity: 1;
		transform: translate3d(0, 0, 0);
	}
}

.fcf-news-archive.is-archive-entered .fcf-news-archive__title {
	animation: fcf-news-archive-fade-up 0.9s var(--fcf-archive-ease) both;
}

.fcf-news-archive.is-archive-entered .fcf-news-archive__filter {
	animation: fcf-news-archive-fade-up 0.9s var(--fcf-archive-ease) 0.1s both;
}

.fcf-news-archive.is-archive-entered .fcf-news-card__image,
.fcf-news-archive.is-archive-entered .fcf-news-card__logo {
	animation: fcf-news-card-image-in 0.85s var(--fcf-archive-ease) both;
	animation-delay: calc(0.15s + (var(--fcf-card-index, 0) * 0.28s));
}

.fcf-news-archive.is-archive-entered .fcf-news-card__panel {
	animation: fcf-news-card-panel-grow 0.85s var(--fcf-archive-ease) both;
	animation-delay: calc(0.42s + (var(--fcf-card-index, 0) * 0.28s));
}

.fcf-news-archive.is-archive-entered .fcf-news-card__badge {
	animation: fcf-news-card-badge-in 0.55s var(--fcf-archive-ease) both;
	animation-delay: calc(0.55s + (var(--fcf-card-index, 0) * 0.28s));
}

.fcf-news-archive.is-archive-entered .fcf-news-archive__pagination {
	animation: fcf-news-archive-fade-up 0.85s var(--fcf-archive-ease) both;
	animation-delay: calc(0.15s + (min(var(--fcf-card-count, 12), 9) * 0.28s) + 0.95s);
}

.fcf-news-archive.is-archive-entered .fcf-news-archive__empty {
	animation: fcf-news-archive-fade-up 0.85s var(--fcf-archive-ease) 0.22s both;
}

.fcf-news-archive__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	position: relative;
	z-index: 40;
	margin-bottom: var(--fcf-page-head-margin-bottom);
}

.fcf-news-archive__title {
	color: #fff !important;
}

.fcf-news-archive__filter {
	flex: 0 0 auto;
	min-width: min(100%, 280px);
}

.fcf-news-filter {
	position: relative;
	z-index: 2;
	width: 100%;
}

.fcf-news-filter__trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	min-height: 48px;
	padding: 12px 18px;
	border: 1px solid rgba(255, 255, 255, 0.72);
	border-radius: 0;
	background: transparent;
	color: #fff;
	font-family: var(--fcf-font-display, "korolev-compressed", sans-serif);
	font-size: 0.9375rem;
	font-weight: 500;
	letter-spacing: 0.05em;
	line-height: 1.2;
	text-align: left;
	text-transform: uppercase;
	cursor: pointer;
	transition: border-color 0.2s ease, background 0.2s ease;
}

.fcf-news-filter__trigger:hover,
.fcf-news-filter__trigger:focus-visible {
	border-color: #edca57;
	outline: none;
}

.fcf-news-filter.is-open .fcf-news-filter__trigger {
	border-color: #edca57;
	background: rgba(255, 255, 255, 0.04);
}

.fcf-news-filter__label {
	flex: 1 1 auto;
	min-width: 0;
	font-weight: 700;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.fcf-news-filter__chevron {
	flex: 0 0 auto;
	width: 10px;
	height: 10px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
	transition: transform 0.25s var(--fcf-archive-ease, cubic-bezier(0.22, 1, 0.36, 1));
}

.fcf-news-filter.is-open .fcf-news-filter__chevron {
	transform: rotate(225deg) translateY(2px);
}

.fcf-news-filter__panel {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	right: 0;
	z-index: 50;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.28);
	background: linear-gradient(180deg, rgba(24, 62, 103, 0.98) 0%, rgba(18, 51, 87, 0.98) 100%);
	box-shadow: 0 20px 48px rgba(5, 30, 51, 0.42);
	backdrop-filter: blur(10px);
}

.fcf-news-filter__panel[hidden] {
	display: none;
}

.fcf-news-filter.is-open .fcf-news-filter__panel {
	animation: fcf-news-filter-panel-in 0.28s var(--fcf-archive-ease, cubic-bezier(0.22, 1, 0.36, 1)) both;
}

@keyframes fcf-news-filter-panel-in {
	from {
		opacity: 0;
		transform: translate3d(0, -8px, 0);
	}

	to {
		opacity: 1;
		transform: translate3d(0, 0, 0);
	}
}

.fcf-news-filter__list {
	max-height: min(420px, 58vh);
	margin: 0;
	padding: 8px 0;
	overflow-y: auto;
	list-style: none;
}

.fcf-news-filter__item {
	margin: 0;
	padding: 0;
}

.fcf-news-filter__option {
	display: block;
	padding: 11px 18px;
	color: rgba(255, 255, 255, 0.86);
	font-family: var(--fcf-font-display, "korolev-compressed", sans-serif);
	font-size: 0.875rem;
	font-weight: 500;
	letter-spacing: 0.05em;
	line-height: 1.2;
	text-decoration: none;
	text-transform: uppercase;
	transition: color 0.2s ease, background 0.2s ease;
}

.fcf-news-filter__option::before {
	content: "";
	display: inline-block;
	width: 1.1em;
	margin-right: 0.35em;
}

.fcf-news-filter__option.is-selected {
	color: #edca57;
}

.fcf-news-filter__option.is-selected::before {
	content: "✓";
	width: auto;
	margin-right: 0.5em;
}

.fcf-news-filter__option:hover,
.fcf-news-filter__option:focus-visible {
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	outline: none;
}

.fcf-news-filter__option.is-selected:hover,
.fcf-news-filter__option.is-selected:focus-visible {
	color: #edca57;
}

.fcf-news-archive__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(48px, 5vw, 64px) clamp(18px, 2.2vw, 28px);
	position: relative;
	z-index: 1;
}

.fcf-news-card {
	display: flex;
	flex-direction: column;
	min-height: 100%;
}

.fcf-news-card__inner {
	position: relative;
	margin-bottom: clamp(96px, 9.2vw, 108px);
}

.fcf-news-card__media {
	position: relative;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: var(--fcf-blue-700, #183e67);
}

.fcf-news-card__media::after {
	content: none;
}

.fcf-news-card__media--placeholder {
	--fcf-news-placeholder-logo: #051e33;
	--fcf-news-placeholder-logo-opacity: 0.42;
	background: linear-gradient(180deg, #183e67 0%, #123357 100%);
}

.fcf-news-card__media--placeholder .fcf-news-card__media-link {
	display: flex;
	align-items: center;
	justify-content: center;
}

.fcf-news-card__logo {
	display: block;
	flex: 0 0 auto;
	width: clamp(15rem, 86%, 24rem);
	max-width: 92%;
	height: auto;
	aspect-ratio: 53.203 / 53.17;
	max-height: 90%;
	background-color: var(--fcf-news-placeholder-logo, #051e33);
	opacity: var(--fcf-news-placeholder-logo-opacity, 0.42);
	mask-image: url('../../images/logo-famalicao.svg');
	mask-repeat: no-repeat;
	mask-position: center;
	mask-size: contain;
	-webkit-mask-image: url('../../images/logo-famalicao.svg');
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-position: center;
	-webkit-mask-size: contain;
	transition:
		transform 0.55s var(--fcf-archive-ease, cubic-bezier(0.22, 1, 0.36, 1)),
		opacity 0.45s var(--fcf-archive-ease, cubic-bezier(0.22, 1, 0.36, 1));
	will-change: transform;
}

.fcf-news-card__media-link {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	overflow: hidden;
	isolation: isolate;
}

.fcf-news-card__media-link::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(
		0deg,
		rgb(2, 15, 26) 0%,
		rgba(2, 15, 26, 0.72) 38%,
		rgba(2, 15, 26, 0) 100%
	);
	opacity: 0;
	transition: opacity 0.5s var(--fcf-archive-ease, cubic-bezier(0.22, 1, 0.36, 1));
	pointer-events: none;
}

.fcf-news-card__media-link:hover::after,
.fcf-news-card__media-link:focus-visible::after,
.fcf-news-card:focus-within .fcf-news-card__media-link::after {
	opacity: 1;
}

.fcf-news-card__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.55s var(--fcf-archive-ease, cubic-bezier(0.22, 1, 0.36, 1));
	will-change: transform;
}

.fcf-news-card__badge {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
	display: inline-block;
	padding: 10px 16px;
	background: #edca57;
	color: #051e33;
	font-family: var(--fcf-font-display, "korolev-compressed", sans-serif);
	font-size: clamp(0.875rem, 1.1vw, 1.0625rem);
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.1;
	text-decoration: none;
	text-transform: uppercase;
	transition:
		transform 0.3s var(--fcf-archive-ease, cubic-bezier(0.22, 1, 0.36, 1)),
		opacity 0.3s ease;
}

.fcf-news-card__badge:hover,
.fcf-news-card__badge:focus-visible {
	color: #051e33;
	background: #edca57;
	opacity: 0.95;
	outline: none;
	transform: translateY(-2px);
}

.fcf-news-card__panel {
	display: flex;
	flex-direction: column;
	align-self: flex-start;
	width: 78%;
	height: clamp(162px, 15.5vw, 184px);
	min-height: clamp(162px, 15.5vw, 184px);
	padding: clamp(15px, 1.85vw, 21px) clamp(15px, 1.7vw, 19px) clamp(17px, 2vw, 23px);
	background: #fff;
	color: var(--fcf-blue-900, #051e33);
	text-decoration: none;
	position: absolute;
	left: 0;
	bottom: 0;
	z-index: 2;
	transform: translateY(50%);
	transform-origin: left bottom;
	box-shadow: 0 12px 32px rgba(5, 30, 51, 0.1);
	transition:
		transform 0.45s var(--fcf-archive-ease, cubic-bezier(0.22, 1, 0.36, 1)),
		box-shadow 0.45s var(--fcf-archive-ease, cubic-bezier(0.22, 1, 0.36, 1));
	overflow: hidden;
}

.fcf-news-card__panel::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 0;
	height: 3px;
	background: #edca57;
	transition: width 0.45s var(--fcf-archive-ease, cubic-bezier(0.22, 1, 0.36, 1));
}

.fcf-news-card__media-link:hover .fcf-news-card__image,
.fcf-news-card__media-link:focus-visible .fcf-news-card__image,
.fcf-news-card:focus-within .fcf-news-card__media-link .fcf-news-card__image,
.fcf-news-card__media-link:hover .fcf-news-card__logo,
.fcf-news-card__media-link:focus-visible .fcf-news-card__logo,
.fcf-news-card:focus-within .fcf-news-card__media-link .fcf-news-card__logo {
	transform: scale(1.06);
}

.fcf-news-card:hover .fcf-news-card__panel,
.fcf-news-card:focus-within .fcf-news-card__panel,
.fcf-news-card__panel:hover,
.fcf-news-card__panel:focus-visible {
	transform: translateY(calc(50% - 12px));
	box-shadow: 0 24px 52px rgba(5, 30, 51, 0.22);
	color: var(--fcf-blue-900, #051e33);
	outline: none;
}

.fcf-news-card:hover .fcf-news-card__panel::before,
.fcf-news-card:focus-within .fcf-news-card__panel::before,
.fcf-news-card__panel:hover::before,
.fcf-news-card__panel:focus-visible::before {
	width: 100%;
}

.fcf-news-card:hover .fcf-news-card__meta,
.fcf-news-card:focus-within .fcf-news-card__meta,
.fcf-news-card__panel:hover .fcf-news-card__meta,
.fcf-news-card__panel:focus-visible .fcf-news-card__meta {
	color: #a2bacc;
}

.fcf-news-card:hover .fcf-news-card__title,
.fcf-news-card:focus-within .fcf-news-card__title,
.fcf-news-card__panel:hover .fcf-news-card__title,
.fcf-news-card__panel:focus-visible .fcf-news-card__title {
	color: var(--fcf-blue-900, #051e33) !important;
}

.fcf-news-card__meta {
	display: block;
	flex: 0 0 auto;
	margin-bottom: 8px;
	color: #6f8faf;
	font-family: var(--fcf-font-display, "korolev-compressed", sans-serif);
	font-size: clamp(1.125rem, 1.65vw, 1.5rem);
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.1;
	text-transform: uppercase;
	transition: color 0.35s ease;
}

.fcf-news-card__title {
	flex: 1 1 auto;
	min-height: 0;
	margin: 0 0 8px !important;
	padding: 0.15em 0 0 !important;
	border: 0 !important;
	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-h3-size) !important;
	font-weight: var(--fcf-h3-weight) !important;
	font-synthesis: none;
	line-height: var(--fcf-h3-line) !important;
	letter-spacing: var(--fcf-h3-spacing) !important;
	text-transform: uppercase;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	overflow: hidden;
	text-overflow: ellipsis;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}

.fcf-news-card__title .fcf-glyph-composed {
	display: inline;
	overflow: visible;
	vertical-align: baseline;
}

.fcf-news-card__arrow {
	display: inline-flex;
	flex: 0 0 auto;
	margin-top: auto;
}

.fcf-news-card__arrow img {
	display: block;
	width: clamp(28px, 3vw, 40px);
	height: auto;
	filter: brightness(0) saturate(100%);
	transform: scaleX(-1);
	transition: transform 0.4s var(--fcf-archive-ease, cubic-bezier(0.22, 1, 0.36, 1));
}

.fcf-news-card:hover .fcf-news-card__arrow img,
.fcf-news-card:focus-within .fcf-news-card__arrow img,
.fcf-news-card__panel:hover .fcf-news-card__arrow img,
.fcf-news-card__panel:focus-visible .fcf-news-card__arrow img {
	transform: scaleX(-1) translateX(-10px);
}

.fcf-news-archive__empty {
	margin: 0;
	color: rgba(255, 255, 255, 0.82);
	font-size: 1.0625rem;
}

.fcf-news-archive__pagination {
	margin-top: clamp(56px, 8vh, 96px);
	display: flex;
	justify-content: center;
}

.fcf-news-archive__pagination-pages {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: clamp(10px, 1.5vw, 16px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.fcf-news-archive__pagination-pages-item {
	margin: 0;
	padding: 0;
}

.fcf-news-archive__page,
.fcf-news-archive__dots {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.6em;
	color: #a2bacc;
	font-family: var(--fcf-font-display, "korolev-compressed", sans-serif);
	font-size: clamp(1.125rem, 1.55vw, 1.375rem);
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.02em;
	text-decoration: none;
	transition: color 0.2s ease, opacity 0.2s ease;
}

.fcf-news-archive__page {
	position: relative;
	padding: 0.1em 0.05em 0.35em;
}

.fcf-news-archive__page.is-current {
	color: #fff;
	cursor: default;
}

.fcf-news-archive__page.is-current::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0;
	width: 1.15em;
	height: 1px;
	background: currentColor;
	transform: translateX(-50%);
}

.fcf-news-archive__page:not(.is-current):hover,
.fcf-news-archive__page:not(.is-current):focus-visible {
	color: #c5d4e3;
	outline: none;
}

.fcf-news-archive__dots {
	min-width: 0;
	padding: 0 0.1em;
	color: rgba(162, 186, 204, 0.5);
	font-size: clamp(1rem, 1.35vw, 1.125rem);
	pointer-events: none;
}

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

@media (max-width: 768px) {
	.fcf-news-archive__head {
		flex-direction: row;
		align-items: flex-end;
		justify-content: space-between;
		gap: clamp(12px, 3.5vw, 20px);
	}

	.fcf-news-archive__title {
		flex: 0 1 auto;
		min-width: 0;
	}

	.fcf-news-archive__filter {
		flex: 1 1 auto;
		width: auto;
		min-width: 0;
		max-width: min(58%, 220px);
	}

	.fcf-news-filter__trigger {
		min-height: 44px;
		padding: 10px 12px;
		gap: 10px;
		font-size: 0.8125rem;
	}

	.fcf-news-archive__grid {
		grid-template-columns: 1fr;
		gap: clamp(48px, 10vw, 64px);
	}

	.fcf-news-card__inner {
		margin-bottom: clamp(88px, 14vw, 98px);
	}

	.fcf-news-card__panel {
		width: 78%;
		height: clamp(147px, 31vw, 166px);
		min-height: clamp(147px, 31vw, 166px);
	}
}

@media (prefers-reduced-motion: reduce) {
	.fcf-news-archive:not(.is-archive-entered) .fcf-news-archive__title,
	.fcf-news-archive:not(.is-archive-entered) .fcf-news-archive__filter,
	.fcf-news-archive:not(.is-archive-entered) .fcf-news-archive__pagination,
	.fcf-news-archive:not(.is-archive-entered) .fcf-news-archive__empty {
		opacity: 1;
	}

	.fcf-news-archive:not(.is-archive-entered) .fcf-news-card__image,
	.fcf-news-archive:not(.is-archive-entered) .fcf-news-card__logo,
	.fcf-news-archive:not(.is-archive-entered) .fcf-news-card__badge {
		opacity: 1;
	}

	.fcf-news-archive:not(.is-archive-entered) .fcf-news-card__panel {
		opacity: 1;
		clip-path: none;
		transform: translateY(50%);
	}

	.fcf-news-archive.is-archive-entered .fcf-news-archive__title,
	.fcf-news-archive.is-archive-entered .fcf-news-archive__filter,
	.fcf-news-archive.is-archive-entered .fcf-news-card__image,
	.fcf-news-archive.is-archive-entered .fcf-news-card__logo,
	.fcf-news-archive.is-archive-entered .fcf-news-card__panel,
	.fcf-news-archive.is-archive-entered .fcf-news-card__badge,
	.fcf-news-archive.is-archive-entered .fcf-news-archive__pagination,
	.fcf-news-archive.is-archive-entered .fcf-news-archive__empty {
		animation: none;
	}

	.fcf-news-filter.is-open .fcf-news-filter__panel {
		animation: none;
	}

	.fcf-news-card__image,
	.fcf-news-card__logo,
	.fcf-news-card__panel,
	.fcf-news-card__panel::before,
	.fcf-news-card__arrow img,
	.fcf-news-card__media-link::after,
	.fcf-news-card__badge {
		transition: none;
	}

	.fcf-news-card__media-link:hover .fcf-news-card__image,
	.fcf-news-card__media-link:focus-visible .fcf-news-card__image,
	.fcf-news-card__media-link:hover .fcf-news-card__logo,
	.fcf-news-card__media-link:focus-visible .fcf-news-card__logo {
		transform: none;
	}

	.fcf-news-card:hover .fcf-news-card__panel,
	.fcf-news-card:focus-within .fcf-news-card__panel,
	.fcf-news-card__panel:hover,
	.fcf-news-card__panel:focus-visible {
		transform: translateY(50%);
	}

	.fcf-news-card:hover .fcf-news-card__arrow img,
	.fcf-news-card:focus-within .fcf-news-card__arrow img,
	.fcf-news-card__panel:hover .fcf-news-card__arrow img,
	.fcf-news-card__panel:focus-visible .fcf-news-card__arrow img {
		transform: scaleX(-1);
	}
}
