.hero-banner-area {
	position: relative;
	overflow: hidden;
}

.hero-banner-slider {
	display: flex;
	width: fit-content;
	transition: transform 0.8s ease-in-out;
}

.slide {
	width: 100vw;
	aspect-ratio: 3.2/1;
	overflow: hidden;
	flex-shrink: 0;
	display: block;
}

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

/* Indicators */
.slider-indicators {
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 10px;
	z-index: 10;
}

.slider-indicators .indicator {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.4);
	border: none;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.slider-indicators .indicator.active {
	background-color: rgba(255, 255, 255, 0.9);
}


.hero-text {
	padding: 32px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	gap: 16px;

	& h1 {
		font-size: 2.5rem;
		font-weight: 500;
		margin: 0;
	}

	& p {
		max-width: 600px;
		color: var(--color-muted-foreground);
		margin: 0;
		font-size: 1.2rem
	}

	& a {
		color: var(--color-primary, --color-muted-foreground);
		padding: 8px;
	}

	& svg {
		height: 24px;
		width: 24px;
	}
}

.quick-access-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	justify-content: center;
	justify-items: center;

	@media (max-width: 768px) {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.quick-access-card-content {
	margin-top: auto;
	padding: 16px;
	position: absolute;
	inset: 0;
	display: flex;
	justify-content: space-between;
	align-items: end;
	gap: 16px;

	& img {
		position: absolute;
		left: 16px;
		top: 16px;
		width: 64px;
		height: 64px;
	}
}

.quick-access-card {
	position: relative;
	width: 100%;
	height: 150px;
	border-radius: 14px;
	z-index: 1111;
	overflow: hidden;
	box-shadow: rgba(0, 0, 0, 0.1) 0 1px 3px 0, rgba(0, 0, 0, 0.06) 0 1px 2px 0;

	& .bg {
		position: absolute;
		top: 5px;
		left: 5px;
		width: calc(100% - 10px);
		height: calc(100% - 10px);
		z-index: 2;
		background: rgba(255, 255, 255, .95);
		backdrop-filter: blur(32px);
		border-radius: 10px;
		overflow: hidden;
		outline: 2px solid white;
	}

	& .blob {
		position: absolute;
		z-index: 1;
		top: 50%;
		left: 50%;
		width: 150px;
		height: 150px;
		border-radius: 50%;
		background-color: var(--color-primary);
		opacity: 0.4;
		filter: blur(12px);
		animation: blob-bounce 5s infinite ease;
	}
}

@keyframes blob-bounce {
	0% {
		transform: translate(-100%, -100%) translate3d(0, 0, 0);
	}

	25% {
		transform: translate(-100%, -100%) translate3d(100%, 0, 0);
	}

	50% {
		transform: translate(-100%, -100%) translate3d(100%, 100%, 0);
	}

	75% {
		transform: translate(-100%, -100%) translate3d(0, 100%, 0);
	}

	100% {
		transform: translate(-100%, -100%) translate3d(0, 0, 0);
	}
}

.section-header {
	margin-bottom: 32px;
	display: flex;
	justify-content: space-between;

	& span {
		font-size: 0.8rem;
		color: var(--color-primary);
	}

	& h2 {
		font-size: 2.5rem;
		line-height: normal;
		margin: 0;
	}
}

.color-section-bg {
	position: absolute;
	inset: 0;
	opacity: 0.2;
	background-color: var(--color-primary);
}

.news-section {
	position: relative;
}

.videos-section {
	position: relative;
}

.view-all-link {
	width: fit-content;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--color-primary) !important;
	text-decoration: none;
	font-size: 0.9rem;
	font-weight: 500;

	&:hover {
		text-decoration: underline;
	}
}

.color-section-bg {
	position: absolute;
	inset: 0;
	opacity: 0.05;
	background-color: var(--color-primary);
}

.news-section {
	position: relative;
}

.news-grid {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.news-grid-row-1, .news-grid-row-2 {
	display: flex;
	gap: 32px;

	& > * {
		flex: 1;
	}

	@media (max-width: 768px) {
		flex-direction: column;
	}

}

.news-card {
	height: 100%;
	position: relative;
	background: white;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
	transition: transform 0.2s ease;
	display: flex;
	flex-direction: column;
}

.news-card:hover {
	text-decoration: none;
}

.news-grid-row-1 > div:nth-of-type(1) .news-card {
	@media (min-width: 767px) {
		border-top-left-radius: 64px;
	}
}

.news-grid-row-1 > div:nth-of-type(2) .news-card {
	@media (min-width: 767px) {
		border-top-right-radius: 64px;
	}
}

.news-grid-row-2 > div:nth-of-type(1) .news-card {
	@media (min-width: 767px) {
		border-bottom-left-radius: 64px;
	}

}

.news-grid-row-2 > div:nth-of-type(3) .news-card {
	@media (min-width: 767px) {
		border-bottom-right-radius: 64px;
	}
}


.highlight-badge {
	position: absolute;
	top: 24px;
	right: 24px;
	background: var(--color-primary);
	color: white;
	padding: 0.25rem 0.75rem;
	border-radius: 20px;
	font-size: 0.8rem;
	z-index: 2;
}

.news-image {
	width: 100%;
	position: relative;
	overflow: hidden;

	/* Use padding-top for consistent cross-browser support */
	padding-top: 56.25%; /* 16:9 aspect ratio */
}

.news-image img, .news-image .placeholder-image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: all 0.3s ease;
}

.news-card:hover .news-image img {
	transform: scale(1.05);
}

.news-card:hover {
	box-shadow: var(--color-secondary) 0 0 2px 1px;
}

.news-content {
	padding: 24px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.news-date {
	color: var(--color-muted-foreground);
	font-size: 0.8rem;
	display: block;
}

.news-title, .destaque-title {
	position: relative;
	display: inline-block;
	margin: 16px 0;
	line-height: normal;
	font-size: 1.4rem;
	width: fit-content;
	text-wrap: pretty;
}

.news-excerpt {
	color: var(--color-muted-foreground);
	font-weight: 300;
	font-size: 1rem;
	text-wrap: pretty;
}

.news-footer {
	box-shadow: rgba(17, 17, 26, 0.1) 0 -1px 0;
	height: 32px;
	margin-top: auto;
	padding-top: 24px;

	& button {
		font-size: 1rem;
		font-weight: 500;
		border: none;
		background-color: transparent;
		color: var(--color-primary);
	}
}

.calendar-section {
	background: #f8f9fa;
}

.calendar-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.5rem;

	@media (max-width: 1024px) {
		grid-template-columns: repeat(2, 1fr);
	}

	@media (max-width: 768px) {
		grid-template-columns: 1fr;
	}
}

.calendar-card {
	background: white;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
	transition: transform 0.2s ease;

	&:hover {
		transform: translateY(-2px);
	}
}

.calendar-image {
	width: 100%;
	height: 160px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;

	img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}
}

.calendar-placeholder {
	background-color: var(--color-primary);
	color: white;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.calendar-content {
	padding: 16px;
}

.event-date {
	color: var(--color-primary);
	font-size: 0.9rem;
	display: block;
}

.event-title {
	position: relative;
	display: inline-block;
	margin: 8px 0;
	line-height: 1.5;
	font-weight: 400;
	width: fit-content;
	font-size: 1.2rem;
	color: black;
}

.no-events-text, .no-videos-text {
	margin: 64px 0;
}

.video-section {
	position: relative;
	background: #f8f9fa;
}

.videos-container {
	display: flex;
	flex-direction: column;
	gap: 48px;
}

.video-container:nth-child(4) {
	flex-direction: row-reverse;
}

.videos-separator {
	margin: 0 auto;
	width: 80%;
	height: 1px;
	background-color: var(--color-primary);
	opacity: 0.4;
}

.video-container {
	display: flex;
	gap: 32px;
	align-items: start;

	@media (max-width: 768px) {
		flex-direction: column !important;
		gap: 16px;
	}
}

.video-thumbnail {
	aspect-ratio: 16/9;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 1;
	position: relative;
	border-radius: 12px;
	overflow: hidden;
	background: var(--color-primary);

	img {
		width: 100%;
		height: auto;
		object-fit: cover;
	}
}

.play-button {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 60px;
	height: 60px;
	background: rgba(0,0,0,0.7);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background 0.2s ease;

	&:hover {
		background: rgba(0,0,0,0.9);
	}
}

.video-info {
	flex: 1;
	padding: 8px;

	h3 {
		margin: 0 0 1rem 0;
		font-size: 1.4rem;
		line-height: normal;
		color: var(--color-primary);
	}

	p {
		font-weight: 300;
		color: #666;
		margin-bottom: 1rem;
	}
}

.video-hashtags {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;

	span {
		background: var(--color-primary);
		color: white;
		padding: 0.25rem 0.75rem;
		border-radius: 20px;
		font-size: 0.8rem;
	}
}

.destaques-section {
	position: relative;
}

.destaques-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 2rem;
	margin-top: 2rem;
}

@media(max-width: 1024px) {
	.destaques-grid {
		grid-template-columns: repeat(1, minmax(0, 1fr));
	}
}

.destaque-card {
	background: var(--color-primary);
	color: white !important;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.destaque-content {
	padding: 32px 32px;
}

.destaques-footer {
	box-shadow: rgba(255, 255, 255, 0.1) 0 -1px 0;
	height: 32px;
	margin-top: auto;
	padding-top: 24px;

	& button {
		font-size: 1rem;
		font-weight: 500;
		border: none;
		background-color: transparent;
		color: white;
	}
}

/* Events Index */

.category-header {
	background: linear-gradient(135deg, #007d5a 0%, #007d5aaa 100%);
	padding: 80px 0 60px;
	text-align: center;
	color: white;
}

.category-header h1 {
	font-size: 2rem;
	margin: 0 0 12px;
	color: white;
	font-weight: 700;
}

.category-header .description {
	font-size: 1.2rem;
	color: rgba(255, 255, 255, 0.9);
	max-width: 600px;
	margin: 0 auto 24px;
}

.category-header .meta {
	color: rgba(255, 255, 255, 0.8);
	font-size: 1rem;
	font-weight: 500;
}

.category-header .meta span {
	background: rgba(255, 255, 255, 0.2);
	padding: 8px 16px;
	border-radius: 20px;
	backdrop-filter: blur(10px);
}

.events-section {
	padding: 80px 0;
	background: #f8fafc;
}

.events-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(320px, 1fr));
	gap: 32px;

	@media (max-width: 1024px) {
		grid-template-columns: repeat(2, minmax(320px, 1fr));
	}

	@media (max-width: 768px) {
		grid-template-columns: repeat(1, minmax(320px, 1fr));
	}
}

.event-card {
	background: white;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
}

.event-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.event-card a {
	text-decoration: none;
	color: inherit;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.event-image {
	height: 220px;
	overflow: hidden;
	position: relative;
}

.event-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.event-card:hover .event-image img {
	transform: scale(1.1);
}

.event-content {
	padding: 24px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.event-content h3 {
	margin: 0 0 12px;
	font-size: 1.3rem;
	color: #1a202c;
	line-height: 1.3;
	font-weight: 600;
}

.event-content p {
	color: #64748b;
	margin: 0 0 18px;
	line-height: 1.6;
	font-size: 0.95rem;
}

.event-content time {
	margin-top: auto;
	color: #007d5a;
	font-weight: 600;
	font-size: 0.9rem;
	text-transform: uppercase;
}

/* No Events */

.events-category-page .container {
	padding: 20px;
}

.no-events {
	text-align: center;
	padding: 100px 0;
	color: #64748b;
}

.no-events h3 {
	margin: 0 0 15px;
	color: #374151;
	font-size: 1.5rem;
}

/* Pagination */
.pagination {
	padding: 48px 0;
	background: white;
	border-top: 1px solid #e2e8f0;
}

.pagination .container {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 24px;
}

.pagination a {
	padding: 12px 24px;
	background: #007d5a;
	color: white;
	text-decoration: none;
	border-radius: 8px;
	font-weight: 500;
	transition: all 0.3s ease;
}

.pagination a:hover {
	background: #007d5a;
	transform: translateY(-2px);
}

.pagination .current {
	padding: 12px 24px;
	background: #f7fafc;
	border-radius: 8px;
	font-weight: 600;
	color: #4a5568;
	border: 2px solid #e2e8f0;
}

/* Back Button */
.back-section {
	padding: 40px 0;
	background: #f8fafc;
}

.back-btn {
	padding: 12px 24px;
	background: transparent;
	border: 2px solid #e2e8f0;
	border-radius: 8px;
	cursor: pointer;
	color: #64748b;
	font-weight: 500;
	transition: all 0.3s ease;
}

.back-btn:hover {
	transform: translateX(-4px);
}

/* Responsive */
@media (max-width: 768px) {
	.container {
		padding: 0 15px;
	}

	.category-header {
		padding: 60px 0 40px;
	}

	.category-header h1 {
		font-size: 2.2rem;
	}

	.events-section {
		padding: 60px 0;
	}

	.events-grid {
		grid-template-columns: 1fr;
		gap: 25px;
	}

	.pagination .container {
		flex-wrap: wrap;
		gap: 15px;
	}
}

.back-btn {
	border-radius: 8px !important;
	background-color: var(--color-primary) !important;
	color: white !important;
}

.post-dates {
	background: #f8f9fa;
	border-left: 2px solid var(--color-primary); /* cor principal do WP */
	padding: 1em 1.2em;
	margin-top: 2em;
	color: #333;
	border-radius: 4px;
	max-width: 400px;
}

.post-dates p {
	margin: 0;
	font-size: 14px !important;
}

.post-dates .date-label {
	font-weight: 600;
}

.post-dates time {
	color: #444;
}