.apefp-videos-home {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr);
	column-gap: 46px;
	width: 100%;
}

/* Vídeo principal */

.apefp-video-principal {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: 20px;
}

.apefp-video-principal::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgb(0 0 0 / 20%);
	pointer-events: none;
}

.apefp-video-principal .apefp-video-thumbnail__imagem {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.apefp-video-iframe {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #000;
	border: 0;
	border-radius: 20px;
}

.apefp-video-iframe[hidden],
.apefp-video-principal[hidden] {
	display: none;
}

.apefp-videos-home__principal h3 {
	margin: 17px 0 16px;
    font-family: "Montserrat", sans-serif;
	color: #002050;
	font-size: 30px;
    font-weight: 800;
	line-height: 100%;
}

.apefp-video-resumo {
	margin: 0;
	font-size: 15px;
    line-height: 22px;
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    color: #000000;
}

/* Filtros */

.apefp-videos-filtros {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 17px;
}

.apefp-videos-filtro {
	min-width: 90px;
	padding: 10px 28px;
	color: #04203E;
	font: inherit;
	font-size: 15px;
    font-family: "Montserrat", sans-serif;
	font-weight: 700;
	background: #fff;
	border: 1px solid #CBCBCB;
	border-radius: 30px;
	cursor: pointer;
}

.apefp-videos-filtro:hover,
.apefp-videos-filtro.is-active {
	color: #fff;
	background: #FF7E17;
	border-color: #FF7E17;
}

/* Lista lateral */

.apefp-videos-home__lista {
	display: flex;
	flex-direction: column;
	gap: 24px;
	margin-top: 7px;

}

.apefp-video-card {
	position: relative;
	z-index: 0;
	display: grid;
	grid-template-columns: 180px minmax(0, 1fr);
	gap: 16px;
	align-items: center;
	padding: 0;
}

.apefp-video-card.is-active {
	background: transparent;
}

.apefp-video-card.is-active::before {
	content: "";
	position: absolute;
	z-index: -1;
	inset: -7px -10px;
	background: #BAC7DB;
	border-radius: 30px;
	pointer-events: none;
}

.apefp-video-card__imagem {
	position: relative;
	width: 100%;
	display: block;
	overflow: hidden;
    border-radius: 16px;
}

.apefp-video-card__imagem .apefp-video-thumbnail__imagem {
	display: block;
	width: 100%;
	object-fit: cover;
}

.apefp-video-card__categoria {
	display: block;
	margin-bottom: 5px;
	color: #FF7E17;
	font-size: 15px;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    line-height: 22px;
}

.apefp-video-card h3 {
	margin: 0 0 5px;
	color: #000000;
	font-size: 20px;
	line-height: 22px;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
}

.apefp-video-card__estado span{
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 22px;
    color: #000000;
}

/* Botão play */

.apefp-video-thumbnail__play {
	position: absolute;
	z-index: 2;
	top: 50%;
	left: 50%;
	display: grid;
	width: 64px;
	height: 64px;
	background: #FF7E17;
	border-radius: 50%;
	transform: translate(-50%, -50%);
	place-items: center;
}

.apefp-video-thumbnail__play::before {
	content: "";
	width: 0;
	height: 0;
	margin-left: 5px;
	border-top: 12px solid transparent;
	border-bottom: 12px solid transparent;
	border-left: 19px solid white;
}

.apefp-video-card .apefp-video-thumbnail__play {
	width: 38px;
	height: 38px;
}

.apefp-video-card .apefp-video-thumbnail__play::before {
	margin-left: 3px;
	border-top-width: 7px;
	border-bottom-width: 7px;
	border-left-width: 11px;
}
span.apefp-video-card__estado{
font-family: "Montserrat", sans-serif;
font-weight: 400;
font-style: Regular;
font-size: 12px;
line-height: 100%;
letter-spacing: 0%;

}



@media (max-width: 767px) {
	.apefp-videos-home {
		grid-template-columns: 1fr;
	}

	.apefp-video-card {
		grid-template-columns: 142px minmax(0, 1fr);
		gap: 16px;
	}

	.apefp-video-card__imagem {
		width: 142px;
		height: 80px;
		aspect-ratio: 142 / 80;
		flex: 0 0 142px;
	}

	.apefp-video-card__imagem .apefp-video-thumbnail__imagem {
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: center;
	}

	.apefp-videos-home__principal h3 {
		font-size: 21px;
	}
	.apefp-videos-filtro{
		font-size: 12px;
	}
	.apefp-video-resumo{
		font-size: 12px;
	}
	span.apefp-video-card__estado{
		font-size: 12px;
	}
	.apefp-videos-home__principal h3{
		margin: 20px 0 8px
	}
	.apefp-video-card h3{
		font-size: 15px;
	}
	.apefp-video-card__categoria{
		font-size: 12px;
	}
	.apefp-video-card.is-active::before{
		border-radius: 20px;
	}
}
.apefp-video-card {
	cursor: pointer;
}

.apefp-video-card:focus-visible {
	outline: 3px solid #ff7417;
	outline-offset: 3px;
}

.apefp-video-card.is-hidden {
	display: none;
}
@media (max-width: 1024px) {
	.apefp-videos-home {
		grid-template-columns: 1fr;
		column-gap: 0;
		row-gap: 32px;
	}
}
