/* ABDC Eventos Page */
.abdc-eventos-page {
	--abdc-ev-navy: #0b1c2c;
	--abdc-ev-blue: #002b49;
	--abdc-ev-link: #1a5fa8;
	--abdc-ev-muted: #7a8591;
	--abdc-ev-text: #1f2933;
	--abdc-ev-yellow: #f5c518;
	--abdc-ev-green: #2f9e44;
	--abdc-ev-stripe-blue: #0d6ebd;
	font-family: "Montserrat", "Segoe UI", sans-serif;
	color: var(--abdc-ev-text);
	background: #fff;
}

.abdc-eventos-page *,
.abdc-eventos-page *::before,
.abdc-eventos-page *::after {
	box-sizing: border-box;
}

/* Hero */
.abdc-ev-hero {
	position: relative;
	min-height: 420px;
	display: flex;
	align-items: flex-end;
	padding: 72px 8vw 64px;
	background:
		linear-gradient(90deg, rgba(8, 18, 28, 0.88) 0%, rgba(8, 18, 28, 0.55) 55%, rgba(8, 18, 28, 0.35) 100%),
		var(--abdc-ev-hero-image, none) center/cover no-repeat,
		linear-gradient(135deg, #07131f, #12304a);
	overflow: hidden;
	color: #fff;
}

.abdc-ev-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.35));
	pointer-events: none;
}

.abdc-ev-hero__stripe {
	position: absolute;
	right: 0;
	top: 0;
	bottom: 0;
	width: 28px;
	display: grid;
	grid-template-rows: 1.1fr 1fr 1fr 1.4fr;
}

.abdc-ev-hero__stripe span:nth-child(1) { background: var(--abdc-ev-green); }
.abdc-ev-hero__stripe span:nth-child(2) { background: var(--abdc-ev-yellow); }
.abdc-ev-hero__stripe span:nth-child(3) { background: #fff; }
.abdc-ev-hero__stripe span:nth-child(4) { background: var(--abdc-ev-stripe-blue); }

.abdc-ev-hero__content {
	position: relative;
	z-index: 1;
	max-width: 720px;
}

.abdc-ev-hero__title {
	margin: 0 0 18px;
	font-size: clamp(3rem, 6vw, 4.6rem);
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.02em;
}

.abdc-ev-hero__lead {
	margin: 0;
	max-width: 560px;
	font-size: 1.05rem;
	line-height: 1.55;
	font-weight: 400;
	opacity: 0.95;
}

/* Intro */
.abdc-ev-intro {
	padding: 72px 8vw;
	background: #fff;
}

.abdc-ev-intro__inner {
	display: grid;
	grid-template-columns: minmax(240px, 0.9fr) minmax(280px, 1.2fr);
	gap: 48px 64px;
	align-items: start;
	max-width: 1180px;
	margin: 0 auto;
}

.abdc-ev-intro__title {
	margin: 0;
	font-size: clamp(1.6rem, 2.4vw, 2.15rem);
	line-height: 1.2;
	font-weight: 800;
	text-transform: uppercase;
	color: #111;
	letter-spacing: 0.01em;
}

.abdc-ev-intro__text p {
	margin: 0 0 1rem;
	font-size: 1rem;
	line-height: 1.7;
	color: #4b5563;
}

.abdc-ev-intro__text p:last-child {
	margin-bottom: 0;
}

/* Sections */
.abdc-ev-section {
	padding: 0;
	max-width: 100%;
	margin: 0 auto;
}

.abdc-ev-section--loop-only {
	padding-top: 12px;
}

.abdc-ev-section--loop-only .abdc-ev-section__header {
	display: none;
}

.abdc-ev-section__header {
	display: grid;
	grid-template-columns: minmax(220px, 0.85fr) minmax(260px, 1.15fr);
	gap: 24px 48px;
	align-items: end;
	margin-bottom: 42px;
}

.abdc-ev-section__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #9aa3ad;
}

.abdc-ev-section__eyebrow i {
	display: inline-block;
	width: 8px;
	height: 28px;
	background: var(--abdc-ev-yellow);
}

.abdc-ev-section__title {
	margin: 0;
	font-size: clamp(2rem, 3.4vw, 2.8rem);
	font-weight: 800;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	color: #111;
	line-height: 1.05;
}

.abdc-ev-section__desc {
	margin: 0;
	font-size: 0.98rem;
	line-height: 1.6;
	color: #5b6672;
	max-width: 520px;
	justify-self: end;
}

/* Grid */
.abdc-ev-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 42px 28px;
}

.abdc-ev-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	min-height: 100%;
}

.abdc-ev-card.is-hidden {
	display: none;
}

.abdc-ev-card.is-past {
	opacity: 0.42;
	filter: grayscale(0.45);
}

.abdc-ev-card.is-past .abdc-ev-card__media {
	box-shadow: none;
}

.abdc-ev-card.is-past .abdc-ev-card__media:hover {
	transform: none;
}

.abdc-ev-card.is-past .abdc-ev-card__title a:hover {
	color: #6b7280;
}

.abdc-ev-card.is-past .abdc-ev-card__cta a {
	color: #9aa3ad;
}

.abdc-ev-card__badge {
	margin: 0 0 6px;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #9aa3ad;
}

.abdc-ev-card__media {
	display: block;
	width: 148px;
	height: 148px;
	border-radius: 50%;
	overflow: hidden;
	margin-bottom: 18px;
	background: #eef2f6;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
	transition: transform 0.25s ease;
}

.abdc-ev-card__media:hover {
	transform: translateY(-3px);
}

.abdc-ev-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.abdc-ev-card__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(145deg, #d7dee6, #eef2f6);
}

.abdc-ev-card__date {
	margin: 0 0 10px;
	font-size: 0.92rem;
	color: var(--abdc-ev-muted);
	font-weight: 500;
}

.abdc-ev-card__title {
	margin: 0 0 18px;
	font-size: 1.05rem;
	line-height: 1.35;
	font-weight: 700;
	color: #111;
	max-width: 220px;
}

.abdc-ev-card__title a {
	color: inherit;
	text-decoration: none;
}

.abdc-ev-card__title a:hover {
	color: var(--abdc-ev-link);
}

.abdc-ev-card__cta {
	margin-top: auto;
	margin-bottom: 0;
}

.abdc-ev-card__cta a {
	color: var(--abdc-ev-link);
	font-size: 0.95rem;
	font-weight: 600;
	text-decoration: none;
}

.abdc-ev-card__cta a:hover {
	text-decoration: underline;
}

.abdc-ev-empty {
	margin: 0;
	color: var(--abdc-ev-muted);
	font-size: 0.98rem;
}

/* Pagination */
.abdc-ev-pagination {
	display: flex;
	justify-content: center;
	gap: 14px;
	margin-top: 36px;
}

.abdc-ev-page {
	appearance: none;
	border: 0;
	background: transparent;
	color: #9aa3ad;
	font-size: 0.95rem;
	font-weight: 600;
	cursor: pointer;
	padding: 4px 2px;
	line-height: 1;
}

.abdc-ev-page.is-active,
.abdc-ev-page:hover {
	color: #111;
}

/* Próximos eventos (barra + CTA) */
.abdc-ev-proximos {
	display: flex;
	flex-direction: column;
	gap: 28px;
	width: 100%;
	font-family: "Montserrat", "Segoe UI", sans-serif;
}

.abdc-ev-proximo {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 4px 0 4px 22px;
	border-left: 5px solid #111;
}

.abdc-ev-proximo__body {
	flex: 1 1 auto;
	min-width: 0;
}

.abdc-ev-proximo__title {
	margin: 0 0 8px;
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.35;
	color: #111;
}

.abdc-ev-proximo__title a {
	color: inherit;
	text-decoration: none;
}

.abdc-ev-proximo__title a:hover {
	text-decoration: underline;
}

.abdc-ev-proximo__date {
	margin: 0 0 14px;
	font-size: 0.98rem;
	font-weight: 400;
	color: #111;
	line-height: 1.3;
}

.abdc-ev-proximo__cta {
	margin: 0;
}

.abdc-ev-proximo__btn {
	display: inline-block;
	padding: 10px 22px;
	background: #f5c518;
	color: #111 !important;
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none !important;
	border-radius: 4px;
	transition: filter 0.2s ease, transform 0.2s ease;
}

.abdc-ev-proximo__btn:hover {
	filter: brightness(0.96);
	transform: translateY(-1px);
}

.abdc-ev-proximo__logo {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 110px;
	max-width: 28%;
}

.abdc-ev-proximo__logo img {
	display: block;
	width: 100%;
	max-width: 110px;
	height: auto;
	max-height: 88px;
	object-fit: contain;
}

@media (max-width: 560px) {
	.abdc-ev-proximo {
		flex-wrap: wrap;
		gap: 16px;
		padding-left: 16px;
		border-left-width: 4px;
	}

	.abdc-ev-proximo__logo {
		width: 88px;
		order: -1;
		margin-left: auto;
	}

	.abdc-ev-proximo__title {
		font-size: 0.98rem;
	}
}

/* Responsive */
@media (max-width: 1100px) {
	.abdc-ev-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.abdc-ev-intro__inner,
	.abdc-ev-section__header {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.abdc-ev-section__desc {
		justify-self: start;
		max-width: none;
	}

	.abdc-ev-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 32px 20px;
	}

	.abdc-ev-hero {
		min-height: 340px;
		padding: 56px 6vw 48px;
	}
}

@media (max-width: 560px) {
	.abdc-ev-grid {
		grid-template-columns: 1fr;
	}

	.abdc-ev-card__media {
		width: 132px;
		height: 132px;
	}

	.abdc-ev-hero__stripe {
		width: 18px;
	}
}
