/*******************************************************
 * BAANNNG · Eventos - Shortcode Styles
 * Estilos para o shortcode [eventos_home]
 *******************************************************/

/* Cores definidas */
:root {
	--eventos-red: #BA2229;
	--eventos-black: #1A1919;
	--eventos-white: #FFFFFF;
	--eventos-light-gray: #f0f0f0;
	--eventos-medium-gray: #999999;
	--eventos-dark-gray: #666666;
}

/* Wrapper Principal */
.eventos-home-wrapper {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	background: var(--eventos-white);
}

/* Header com título e navegação */
.eventos-home-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 40px;
	padding: 30px 20px 20px;
	background: var(--eventos-white);
}

.eventos-header-left {
	display: flex;
	flex-direction: row;
	gap: 20px;
}
.eventos-titulo-evento,
.eventos-titulo-evento a,
.eventos-titulo-evento a:hover {
	font-family: "Exo 2", sans-serif !important;
	font-size: 3rem!important;
	font-weight: 600 !important;
	text-transform: uppercase;
	line-height: 1;
	padding: 0 0 14px 0;
	text-decoration: none;
	transition: color 0.3s ease;
}
.eventos-home-title {
	font-size: 48px;
	font-weight: 500;
	color: var(--eventos-black);
	margin: 0;
	line-height: 1.1;
}

.eventos-home-nav {
	display: flex;
	gap: 10px;
	align-items: center;
}

.eventos-nav-btn {
	background: none !important;
	border: none;
	font-family: "Exo 2", sans-serif;
	font-size: 14px;
	font-weight: 500!important;
	color: var(--eventos-dark-gray) !important;
	text-transform: uppercase;
	cursor: pointer;
	padding: 5px 10px !important;
	position: relative;
	transition: color 0.3s ease;
}

.eventos-nav-btn:hover {
	color: var(--eventos-red) !important;
}

.eventos-nav-btn.active {
	color: var(--eventos-red) !important;
	font-weight: 600;
}

/* Animação da linha no hover */
.eventos-nav-btn::after {
	content: '';
	position: absolute;
	bottom: -5px;
	left: 50%;
	transform: translateX(-50%) scaleX(0);
	width: 24px;
	height: 2px;
	background: var(--eventos-red);
	transition: transform 0.3s ease;
}

.eventos-nav-btn:hover::after {
	transform: translateX(-50%) scaleX(1);
}

.eventos-nav-btn.active::after {
	transform: translateX(-50%) scaleX(1);
}

.eventos-header-right {
	display: flex;
	align-items: flex-start;
}

.eventos-ver-todos {
	font-family: "Exo 2", sans-serif;
	margin-top: 4px;
	font-size: 14px;
	font-weight: 500!important;
	color: var(--eventos-dark-gray)!important;
	text-decoration: none!important;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	display: flex;
	align-items: center;
	gap: 12px;
	transition: color 0.3s ease;
}

a.eventos-ver-todos:hover {
	font-family: "Exo 2", sans-serif!important;
	/* width: 13px; */
	margin-top: 2px;
	color: var(--eventos-red)!important;
}
a.eventos-ver-todos:hover > .eventos-arrow svg path{
	fill: var(--eventos-red);
}
.eventos-arrow {
	font-size: 15px;
	font-weight: bold;
	width: 14px;
}

/* Container de Colunas */
.eventos-home-columns {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3em;
	padding: 0 20px;
	align-items: start;
}

/* Coluna Esquerda - Evento em Destaque */
.eventos-home-column-left {
	background: var(--eventos-white);
}

.eventos-home-destaque {
	background: var(--eventos-white);
	overflow: hidden;
}

.eventos-destaque-imagem-container {
	position: relative;
	width: 100%;
}

.eventos-destaque-imagem-container img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.eventos-destaque-imagem-container .eventos-no-image {
	width: 100%;
	height: 100%;
	font-family: "Exo 2", sans-serif;
	font-size: 24px;
	text-align: center;
	margin-left: -9rem!important;
	display: flex;
	align-items: center !important;
	justify-content: center !important;
	background: var(--eventos-light-gray);
	color: var(--eventos-medium-gray);
}

/* Banner preto sobreposto - Grande */
.eventos-event-banner {
	position: absolute;
	top: 0;
	right: 0;
	width: 200px;
	height: 100%;
	background: var(--eventos-black);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 30px 20px;
	color: var(--eventos-white);
}

.eventos-banner-content {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
}

.eventos-banner-top {
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.eventos-banner-event-name {
	display: block;
	margin-bottom: 5px;
}

.eventos-banner-middle {
	text-align: center;
}

.eventos-banner-dates {
	display: block;
	font-size: 16px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 10px;
}

.eventos-banner-year {
	display: block;
	font-size: 24px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 2px;
}

.eventos-banner-bottom {
	font-size: 12px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.eventos-destaque-info {
	margin-top: 16px;
	padding: 0px;
}

.eventos-destaque-meta {
	display: flex;
	flex-direction: column;
	gap: 5px;
	margin-bottom: 10px;
	font-family: "Exo 2", sans-serif;
}

.eventos-categoria {
	background-color: var(--eventos-red);
	width: fit-content;
	padding: 5px 10px;
	font-size: 14px;
	font-weight: bold;
	color: var(--eventos-white);
	text-transform: uppercase;
	margin-right: 20px;
}

.eventos-data-evento {
	font-size: 14px;
	color: var(--eventos-black);
	font-weight: 500;
	text-transform: uppercase;
}

.eventos-pais {
	font-size: 14px;
	color: var(--eventos-black);
}

.eventos-destaque-excerpt {
	font-family: "Inter", sans-serif;
	font-size: 14px;
	line-height: 1.5;
	color: var(--eventos-black);
	margin-top: 5px;
	margin-bottom: 20px;
}

.eventos-destaque-excerpt p {
	margin-bottom: 10px!important;
}

.eventos-destaque-actions {
	text-align: left;
}
.eventos-destaque-actions a {
	background: none;
	border: none;
	border-bottom: 1px solid var(--eventos-black);
	line-height: 22px;
	border-radius: 0;
}
.eventos-destaque-actions a:hover {
	border-bottom: 1px solid var(--eventos-red);
}

.eventos-btn-saber-mais {
    background: none;
    font-family: "Exo 2", sans-serif !important;
    color: var(--eventos-black);
    display: inline-block;
    font-size: 16px;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    transition: color 0.25s ease !important;
}

.eventos-btn-saber-mais:hover {
	color: var(--eventos-red);
}

/* Coluna Direita - 3 Eventos */
.eventos-home-column-right {
	background: var(--eventos-white);
}

.eventos-home-anteriores {
	display: flex;
	flex-direction: column;
	flex: 1;
	margin: 0;
}

.eventos-anterior-item {
	background: var(--eventos-white);
}

.eventos-anterior-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.eventos-anterior-imagem-container {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.eventos-anterior-imagem-container img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: top;
}

.eventos-anterior-imagem-container .eventos-no-image {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--eventos-medium-gray);
	color: var(--eventos-medium-gray);
	font-size: 10px;
}

/* Banner preto pequeno sobreposto */
.eventos-event-banner-small {
	position: absolute;
	top: 0;
	right: 0;
	width: 60px;
	height: 100%;
	background: var(--eventos-black);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 10px 8px;
	color: var(--eventos-white);
}

.eventos-banner-content-small {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
	text-align: center;
}

.eventos-banner-top-small {
	font-size: 8px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	line-height: 1.1;
}

.eventos-banner-event-name-small {
	display: block;
}

.eventos-banner-middle-small {
	flex-grow: 1;
	display: flex;
	align-items: center;
	justify-content: center;
}

.eventos-banner-dates-small {
	display: block;
	font-size: 9px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	line-height: 1.2;
}

.eventos-banner-bottom-small {
	font-size: 7px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	line-height: 1.1;
}

.eventos-anterior-info {
	padding: 0;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.eventos-anterior-meta {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-family: "Exo 2", sans-serif;
}

.eventos-categoria-pill {
	display: inline-block;
	background: #BA2229;
	color: #FFFFFF;
	font-family: "Exo 2", sans-serif;
	font-size: 11px;
	font-weight: 600;
	line-height: 14px;
	padding: 7px 20px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	width: fit-content;
}

.eventos-data-evento-small {
	font-family: "Exo 2", sans-serif;
	font-style: normal;
	font-weight: 400;
	font-size: 16px;
	line-height: 16px;
	color: #1A1919;
	margin-top: 12px;
}

.eventos-pais-small {
	display: inline;
	font-family: "Exo 2", sans-serif;
	font-size: 16px;
	font-weight: 400;
	color: #1A1919;
}

.eventos-pais-small::before {
	content: " | ";
}
h3.eventos-anterior-titulo a,
h3.eventos-anterior-titulo a:hover {
	font-family: "Exo 2", sans-serif;
	font-weight: 600;
	text-decoration: none;
}

.eventos-anterior-titulo {
	font-family: "Exo 2", sans-serif !important;
	font-style: normal;
	font-weight: 700 !important;
	font-size: 20px !important;
	line-height: 24px !important;
	color: var(--eventos-black);
	margin-top: 0px !important;
	text-transform: uppercase;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.eventos-anterior-titulo a {
    color: var(--eventos-black);
    text-decoration: none;
    transition: color 0.25s ease;
}

.eventos-anterior-titulo a:hover {
	color: var(--eventos-red);
}

.eventos-anterior-actions {
	text-align: left;
}

a.eventos-btn-saber-mais-small {
	font-family: "Exo 2", sans-serif!important;
	font-style: normal;
	font-weight: 600!important;
	font-size: 14px!important;
	line-height: 14px!important;
	text-transform: uppercase;
	color: #1A1919;
	text-decoration: underline;
	text-underline-offset: 3px;
	transition: color 0.25s ease;
	border-bottom: 1px solid var(--eventos-black);
	line-height: 22px;
}

a.eventos-btn-saber-mais-small:hover {
	color: var(--eventos-red);
	border-bottom: 1px solid var(--eventos-red);
}

.eventos-anterior-divider {
	margin-top: 5px !important;
	margin-bottom: 35px!important;
	width: 100%;
	height: 1px !important;
	background: #dbdbdb;
}

/* Estado de loading */
.eventos-home-loading {
	text-align: center;
	padding: 40px;
	color: var(--eventos-black);
}

.eventos-spinner {
	display: inline-block;
	width: 40px;
	height: 40px;
	border: 4px solid var(--eventos-light-gray);
	border-top: 4px solid var(--eventos-red);
	border-radius: 50%;
	animation: eventos-spin 1s linear infinite;
	margin-bottom: 10px;
}

@keyframes eventos-spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

/* ==========================================================================
   RESPONSIVIDADE
   ========================================================================== */

/* Portátil */
@media (max-width: 1366px) {
	.eventos-home-columns {
		gap: 9em;
	}
}

/* Tablet Landscape */
@media (max-width: 1200px) {
}

/* Tablet Portrait */
@media (max-width: 1024px) {
	.eventos-home-nav {
		display: none;
	}
}

/* Mobile Landscape */
@media (max-width: 880px) {
	.eventos-home-columns {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.eventos-home-header {
		flex-direction: column;
		gap: 20px;
		align-items: flex-start;
	}

	.eventos-header-left {
		flex-direction: column;
		gap: 15px;
	}

	.eventos-titulo-evento,
	.eventos-titulo-evento a,
	.eventos-titulo-evento a:hover {
		font-size: 2.4rem !important;
	}

	.eventos-event-banner {
		width: 150px;
		padding: 20px 15px;
	}

	.eventos-banner-dates {
		font-size: 14px;
	}

	.eventos-banner-year {
		font-size: 20px;
	}
}

/* Mobile Portrait */
@media (max-width: 767px) {
	.eventos-home-header {
		padding: 20px 15px;
		margin-bottom: 30px;
	}

	.eventos-home-columns {
		padding: 0 15px;
		gap: 25px;
	}

	.eventos-titulo-evento,
	.eventos-titulo-evento a,
	.eventos-titulo-evento a:hover {
		font-size: 2rem !important;
	}

	.eventos-event-banner {
		width: 120px;
		padding: 15px 10px;
	}

	.eventos-banner-top {
		font-size: 12px;
	}

	.eventos-banner-dates {
		font-size: 12px;
	}

	.eventos-banner-year {
		font-size: 18px;
	}

	.eventos-banner-bottom {
		font-size: 10px;
	}

	/* Cards laterais */
	.eventos-anterior-content {
		grid-template-columns: 140px 1fr;
		gap: 15px;
	}

	.eventos-anterior-divider {
		margin-top: 20px !important;
		margin-bottom: 25px !important;
	}

	.eventos-categoria-pill {
		font-size: 10px;
		padding: 5px 12px;
	}

	.eventos-data-evento-small {
		font-size: 14px;
		margin-top: 8px;
	}

	.eventos-pais-small {
		font-size: 14px;
	}

	.eventos-anterior-titulo {
		font-size: 16px !important;
		line-height: 20px !important;
	}

	a.eventos-btn-saber-mais-small {
		font-size: 12px !important;
	}

	.eventos-event-banner-small {
		width: 50px;
		padding: 8px 5px;
	}

	.eventos-banner-top-small {
		font-size: 7px;
	}

	.eventos-banner-dates-small {
		font-size: 8px;
	}

	.eventos-banner-bottom-small {
		font-size: 6px;
	}
}

/* Mensagem de nenhum evento */
.eventos-home-no-events {
	text-align: center;
	padding: 40px;
	color: var(--eventos-black);
	font-size: 18px;
}

.eventos-anterior-item:last-child .eventos-anterior-divider {
    display: none;
}

/* Otimizações para Elementor */
.elementor-widget-container .eventos-home-wrapper {
	max-width: none;
	margin: 0;
	padding: 0;
}

/* Classes utilitárias */
.eventos-clearfix::after {
	content: "";
	display: table;
	clear: both;
}

.eventos-text-center {
	text-align: center;
}

.eventos-hidden {
	display: none !important;
}

.eventos-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
