.icagenda-back {
    margin-top: 20px;
    margin-bottom: 0px;
}

.icagenda-back .ic-return {
    font-size: 18px;   /* um pouco maior */
    font-weight: 500;
   /* text-decoration: none; */
    color: rgb(13, 113, 180);
   /* display: inline-block; */
    margin-bottom: 10px;
}

.icagenda-back .ic-return:hover {
   /* text-decoration: underline; */
}

.icagenda-back hr {
    border: 0;
    border-top: 1px solid #ddd;
    margin-top: 5px;
}


.sp-megamenu-parent > li:last-child > a,
.sp-megamenu-parent > li:last-child > a:hover,
.sp-megamenu-parent > li.active:last-child > a {
    background: none !important;
    background-color: transparent !important;
}

.sp-megamenu-parent > li:last-child > a:hover {
    color: inherit !important;
}

.sp-megamenu-parent > li.active:last-child > a {
    color: #e8000d !important;
}

/* Botão Voltar do iCagenda */
.ic-back-link,
.ic-back,
a.ic-back,
.icagenda .back-link {
    font-size: 16px !important; /* ajuste conforme necessário */
    font-weight: 600;
}


/* Remove overflow de elementos pai */
body, html, #sp-page-wrapper, #sp-page-body, #sp-component, 
.sp-component, .com-content, .item-page, article, 
main, .container, .row, [class*="wrapper"],
[class*="container"], div {
    overflow: visible !important;
    contain: none !important;
}

/* Menu sticky - COLADO ABAIXO DO HEADER AZUL */
.menu-artigo-horizontal {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 81px !important;
    z-index: 99999 !important;
    background: #fff !important;
    padding: 15px 0;
    margin-top: 0 !important;
    margin-bottom: 40px;
}

/* Espaço para QUALQUER elemento com ID (âncoras) */
[id] {
    scroll-margin-top: 200px !important;
}

/* Alternativa: espaço específico para headings com ID */
h2[id], h3[id], h4[id] {
    scroll-margin-top: 200px !important;
}

/* Se tiver a classe conteudo-artigo */
.conteudo-artigo[id] {
    scroll-margin-top: 200px !important;
}

/* Lista */
.menu-artigo-horizontal ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 18px;
    padding: 0;
    margin: 0;
}

/* Separador */
.menu-artigo-horizontal li:not(:last-child)::after {
    content: "|";
    margin-left: 18px;
    color: var(--bs-primary);
    font-weight: bold;
}

/* Links */
.menu-artigo-horizontal a {
    text-decoration: none;
    font-weight: bold;
    color: var(--bs-primary);
    padding-bottom: 4px;
}

.menu-artigo-horizontal a:hover {
    text-decoration: underline;
}

.menu-artigo-horizontal a.ativo {
    border-bottom: 2px solid var(--bs-primary);
}

/* Mobile */
@media (max-width: 768px) {
    .menu-artigo-horizontal {
        top: 60px !important;
    }
    
    [id], h2[id], h3[id], h4[id] {
        scroll-margin-top: 150px !important;
    }
    
    .menu-artigo-horizontal ul {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .menu-artigo-horizontal li:not(:last-child)::after {
        margin-left: 12px;
    }
}


/* ============================================
   iCagenda - 4 COLUNAS CENTRADAS COM MARGENS
   ============================================ */

/* IMPORTANTE: Este código deve ir NO TOPO do custom.css */

/* Container principal do componente - com margens laterais */
body #sp-component .sp-column,
body #icagenda {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0 40px !important;
}

/* Container principal - GRID com 4 colunas CENTRADO */
body div.ic-list-events,
body .ic-list-events,
div.ic-list-events {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    grid-auto-flow: row !important;
    gap: 20px !important;
    padding: 20px 0 !important;
    width: 100% !important;
    max-width: 1300px !important;
    margin: 0 auto !important;
}

/* Cada evento - cards */
body .ic-list-event,
body div.ic-list-event {
    background: white !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08) !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    grid-column: span 1 !important;
}

body .ic-list-event:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12) !important;
}

/* Link da imagem */
body .ic-list-event > a {
    text-decoration: none !important;
    display: block !important;
    width: 100% !important;
}

/* Imagem */
body .ic-box-date {
    width: 100% !important;
    height: 200px !important;
    background-size: cover !important;
    background-position: center !important;
    position: relative !important;
    float: none !important;
    margin: 0 !important;
}

/* Badge da data */
body .ic-box-date .ic-date {
    position: absolute !important;
    bottom: 10px !important;
    left: 10px !important;
    background: rgba(0, 0, 0, 0.85) !important;
    color: white !important;
    padding: 8px 12px !important;
    border-radius: 6px !important;
    text-align: center !important;
    font-weight: 600 !important;
}

body .ic-box-date .ic-date .ic-day {
    font-size: 26px !important;
    line-height: 1 !important;
    display: block !important;
    font-weight: 700 !important;
}

body .ic-box-date .ic-date .ic-month {
    font-size: 13px !important;
    display: block !important;
    margin-top: 2px !important;
}

body .ic-box-date .ic-date .ic-year,
body .ic-box-date .ic-date .ic-time {
    font-size: 11px !important;
    display: block !important;
    margin-top: 2px !important;
    opacity: 0.9 !important;
}

/* Conteúdo */
body .ic-content {
    width: 100% !important;
    float: none !important;
    padding: 15px !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Título */
body .ic-event-title {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

body .ic-title-header {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
}

body .ic-event-title h2 {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 16px !important;
    line-height: 1.3 !important;
    width: 100% !important;
    text-align: left !important;
    min-height: 42px !important;
}

body .ic-event-title h2 a {
    color: #2c5aa0 !important;
    text-decoration: none !important;
    display: block !important;
    width: 100% !important;
}

body .ic-event-title h2 a:hover {
    color: #1a3d6d !important;
}

/* ESCONDER categoria */
body .ic-title-cat {
    display: none !important;
}

/* ESCONDER outros elementos */
body .ic-next-date,
body .ic-descshort,
body .ic-actionbar {
    display: none !important;
}

/* Remover clearfix */
body .ic-list-event.ic-clearfix::after,
body .ic-list-event.ic-clearfix::before,
body .ic-list-events.ic-clearfix::after,
body .ic-list-events.ic-clearfix::before {
    display: none !important;
    content: none !important;
}

/* Remover floats */
body .ic-list-event,
body .ic-list-event *,
body .ic-content,
body .ic-content *,
body .ic-event-title,
body .ic-event-title * {
    float: none !important;
}


/* ============================================
   RESPONSIVO
   ============================================ */

/* Desktop extra grande - 4 colunas com mais espaço lateral */
@media (min-width: 1400px) {
    body .ic-list-events,
    body div.ic-list-events {
        max-width: 1300px !important;
        gap: 25px !important;
    }
}

/* Desktop grande - 4 colunas */
@media (min-width: 1200px) and (max-width: 1399px) {
    body .ic-list-events,
    body div.ic-list-events {
        max-width: 1200px !important;
        gap: 20px !important;
    }
}

/* Desktop médio - 4 colunas */
@media (min-width: 992px) and (max-width: 1199px) {
    body .ic-list-events,
    body div.ic-list-events {
        grid-template-columns: repeat(4, 1fr) !important;
        max-width: 100% !important;
        gap: 18px !important;
    }
    
    body #sp-component .sp-column,
    body #icagenda {
        padding: 0 30px !important;
    }
    
    body .ic-box-date {
        height: 180px !important;
    }
}

/* Tablet - 3 colunas */
@media (min-width: 768px) and (max-width: 991px) {
    body .ic-list-events,
    body div.ic-list-events {
        grid-template-columns: repeat(3, 1fr) !important;
        max-width: 100% !important;
        gap: 16px !important;
    }
    
    body #sp-component .sp-column,
    body #icagenda {
        padding: 0 20px !important;
    }
    
    body .ic-box-date {
        height: 200px !important;
    }
}

/* Tablet pequeno - 2 colunas */
@media (min-width: 576px) and (max-width: 767px) {
    body .ic-list-events,
    body div.ic-list-events {
        grid-template-columns: repeat(2, 1fr) !important;
        max-width: 100% !important;
        gap: 15px !important;
    }
    
    body #sp-component .sp-column,
    body #icagenda {
        padding: 0 15px !important;
    }
    
    body .ic-box-date {
        height: 220px !important;
    }
}

/* Mobile - 1 coluna */
@media (max-width: 575px) {
    body .ic-list-events,
    body div.ic-list-events {
        grid-template-columns: 1fr !important;
        max-width: 100% !important;
        gap: 15px !important;
    }
    
    body #sp-component .sp-column,
    body #icagenda {
        padding: 0 15px !important;
    }
    
    body .ic-box-date {
        height: 250px !important;
    }
}


/* ============================================
   AJUSTES PARA O CABEÇALHO TAMBÉM CENTRALIZADO
   ============================================ */

/* Centralizar o título "Upcoming Events" */
body .ic-header-container {
    max-width: 1300px !important;
    margin: 0 auto !important;
    padding: 0 !important;
}


/* ============================================
   OPCIONAL - Esconder data da imagem
   ============================================ */
/*
body .ic-box-date .ic-date {
    display: none !important;
}
*/




/*** General CSS ***/
body {
    line-height: 1.9em;
    color: #333;
}
a:hover, a:focus, a:active {
    color: #ffd369;
}

/*** Header Area ***/
/* Header Top */
#sp-top-bar {
    position: relative;
    z-index: 999;
    background-color: #021137;
    color: #fff;
    font-size: 15px;
    padding: 12px 0 12px;
}
#sp-top-bar a {
  	color: #fff;
}
body:not(.home) #sp-top-bar {
  	border-bottom: 1px solid rgb(255 255 255 / 36%);
}

/* Header Menu */
#sp-header {
    top: 0px;
    padding: 0px;
    height: inherit;
    box-shadow: none;
    
    z-index: 9999;
}
#sp-header.header-sticky {
    position: fixed;
    top: 0;
    background: #0c111b;
    box-shadow: 0 0 4px 0 rgb(0 0 0 / 10%);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}
body:not(.home) #sp-header {
    background: #ffffff;
    box-shadow: 0 0 4px 0 rgb(0 0 0 / 10%);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    position: static;
}
body:not(.home) #sp-header.header-sticky {
    position: fixed;    
}
.sp-megamenu-parent .sp-dropdown li.sp-menu-item>a {
    color: #252525;
    font-weight: 400 !important;
    padding: 10px 0;
}
.sp-megamenu-parent > li > a, .sp-megamenu-parent > li > span {
    text-transform: capitalize;
    position: relative;
}
/*.sp-megamenu-parent > li > span {
    color: #fff;
}*/

.sp-megamenu-parent > li > span {
    color: #000 !important;
}

.sp-megamenu-parent > li > span:hover {
    color: #ffd369 !important;
}

.sp-megamenu-parent > li.active > span {
    color: #e8000d !important;
}
.sp-megamenu-parent>li.active>a {
    font-weight: 600;
}
.sp-megamenu-parent > li.sp-has-child > span::after {
    content: "▾" !important;
    font-family: Arial, sans-serif !important;
    color: #000 !important;
    font-weight: normal !important;
}
/*.sp-megamenu-parent>li:last-child>a {
    padding: 0px 30px 0px 30px;
    color: #fff;
}*/
/* .sp-megamenu-parent>li:last-child>a {
    font-weight: 500;
    border-radius: 0;
    background: #14305d;
    line-height: 45px;
    border-radius: 10px;
    margin-left: 50px;
} 
.sp-megamenu-parent>li.active:last-child>a,
.sp-megamenu-parent>li:last-child>a:hover {
    background: #14305d !important;
} */

/* Canvas Menu */
.offcanvas-menu .offcanvas-inner .menu-child > li a {
    padding: 12px 10px !important;
    border-bottom: 1px solid rgba(197, 153, 153, 0.21);
    display: inherit;
}
.offcanvas-menu .offcanvas-inner ul.menu>li>a, .offcanvas-menu .offcanvas-inner ul.menu>li>span {
    font-size: 15px;
    font-weight: 500;
}
.burger-icon>span {
    background-color: #000000;
}
.offcanvas-menu > .align-items-center {
    background: #fff;
}
.offcanvas-active .burger-icon>span, #modal-menu-toggler.active .burger-icon>span {
    background-color: #fff;
}

/*** Block Styles ***/
/* Button */
.btn {
    padding: 16px 30px;
    font-size: 15px;
    font-weight: 500;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid;
    display: inline-block;
    background: transparent;
    color: #fff !important;
    -webkit-transition: .3s ease-in-out;
    -o-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}
.btn.no-bg, .btn.no-bg:hover {
	background: transparent !important;
	border: 1px solid #fff !important;
}
.btn:hover, .btn.color {
	color: #fff!important;
	transform: translateY(-8px);
}

/* Title */
.title h2 {
  font-size: 40px;
  font-weight: 800;
  margin: 20px 0 30px;
}
.title h3 {
  letter-spacing: 2px;
}

/* Slider */
#slider {
	margin-top: -80px !important;
}
.slider-colum, .slider-colum > .sppb-column-overlay {
	border-radius: 10px !important;
}
.slider-colum > .sppb-column-overlay {
    background-image: linear-gradient(90deg, #03060E 16%, #1B1B1B40 100%);
    opacity: 0.97;
    animation: leaves 6s ease-in-out infinite alternate;
}
@keyframes leaves {
    0% {
         opacity: 0.77;
    }
    20% {
        opacity: 0.57;
    }
    40% {
        opacity: 0.37;
    }
    60% {
        opacity: 0.17;
    }
    80% {
        opacity: 0.37;
    }
    100% {
        opacity: 0.67;
    }
}
.slider-title span {
    padding: 13px 18px;
    background-color: #212224;
    border-radius: 5px;
    font-size: 17px;
    margin-right: 15px;
    color: #CDCED1;
    letter-spacing: 1px;
}
.slider-title h2 {
	font-weight: 800;
	font-size: 45px;
	margin: 50px 0 20px;
}
.slider-title p.sl-small {
	margin-bottom: 30px;
}
.slider-title .btn.no-bg {
	margin-right: 20px;
}
.slider-title a {
	color: #fff;
}

/* Feature */
.btn-feature {
    background: transparent;
    border: none;
    color: #fff;
}
.btn-feature:hover {
    background: transparent;
}
.feature-item img {
	border-radius: 5px;
}
.feature-item:hover img {
    filter: brightness( 50% ) contrast( 100% ) saturate( 100% ) blur( 0px ) hue-rotate( 0deg );
}

.movie > .sppb-row-overlay {
    background-image: linear-gradient(180deg, #000000 0%, #F2295B00 50%);
	-webkit-transition: .3s ease-in-out;
	-o-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}
.movie:hover > .sppb-row-overlay {
	opacity: .4;
}

/* About */
.about img {
  	-webkit-transition: .3s ease-in-out;
    -o-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}
.about img:hover {
  	opacity: .8;
}

/* Movie */
.movie-title h3.sppb-addon-title {
    background-color: #212224;
    display: inline-block;
    padding: 15px;
    border-radius: 5px;
    letter-spacing: 2px;
}
.movie-title h2 {
    font-size: 40px;
    font-weight: 600;
    margin: 20px 0 20px;
}
.movie-title ul {
    padding: 0;
    list-style-type: none;
    margin: 0;
}
.movie-title ul li {
    display: inline-block;
    margin-right: 50px;
    padding-bottom: 10px;
}

/* Services */
.service-column .clearfix {
  	-webkit-transition: .3s ease-in-out;
    -o-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}
.service-column .clearfix:hover {
  	border: 0!important;
    background: rgb(56 54 54 / 60%)!important;
}
.services-item a {
    padding: 0;
    color: #a3a4a3;
}
.services-colum {
  	border: 1px solid #FFB9122E;
  	padding: 40px;
}
.services-page .sppb-col-md-4 {
    margin-bottom: 30px;
}

/* Update */
.update-colum, .update-colum > .sppb-column-overlay {
    border-radius: 5px;
}
.update-colum > .sppb-column-overlay {
    background-image: linear-gradient(180deg, #2424245E 0%, #000000 100%);
    opacity: 0.57;
    -webkit-transition: .3s ease-in-out;
    -o-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}
.update-colum:hover .sppb-column-overlay {
  	opacity: 0.27;
}
.update-colum .sppb-addon-title {
  	-webkit-transition: .3s ease-in-out;
    -o-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
    transform: translate(0);
}
.update-colum:hover .sppb-addon-title {
  	transform: translateY(-15px);
}

/* Video */
.video-star strong {
	display: none;
}
.video-star em {
	padding-right: 10px;
	font-size: 14px;
}

/* Testimonial */
.testimonial .sppb-row-overlay:before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 50px;
    width: 100%;
    background-color: #0C111B;
}

/* Subscribe */
.subscribe-left {
    border-radius: 5px 0 0 5px;
}
.subscribe-right {
    border-radius: 0 5px 5px 0;
}
.shrewd_solution_icon, .shrewd_solution_icon li {
    display: inline-block!important;
}
.shrewd_solution_icon li a {
    font-size: 16px;
    color: #000 !important;
    height: 0;
    width: 0;
    line-height: 38px;
    text-align: center;
    border-radius: 50%;
    margin-right: 35px;
    -webkit-transition: .5s;
    transition: .5s;
    display: inline-block;
    background: transparent;
}
.shrewd_solution_icon li a:hover {
	background: #fff !important;
}
.shrewd_solution_icon strong {
    display: none;
}

/* Client */
.client-item img {
    filter: brightness( 200% ) contrast( 200% ) saturate( 0% ) blur( 0px ) hue-rotate( 0deg );
    transition-duration: 0.25s;
}
.client-item:hover img {
    filter: brightness( 100% ) contrast( 100% ) saturate( 100% ) blur( 0px ) hue-rotate( 0deg );
}

/* Blog */
.jmm-item .jmm-image.mod-article-image {
  	overflow: hidden;
  	margin: 0;
}
.jmm-image.mod-article-image img {
  	transform: scale(1);
  	-webkit-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
}
.jmm-item:hover .jmm-image.mod-article-image img {
  	transform: scale(1.12);
  	filter: grayscale(100%);
}
.jmm-text {
    padding: 20px;
    border-radius: 0px 0px 0px 0px;
    box-shadow: 9.899px 9.899px 30px 0 rgb(0 0 0 / 10%);
    background: #041425;
    color: #fff;
}
.jm-category-module.default .jmm-text .jmm-title {
	font-size: 17px;
	font-weight: 600;
	text-transform: capitalize;
}
.jm-category-module.default .jmm-readmore {
	margin-top: 20px;
}

/* Contact Info */
.contact-info h2, .contact-info h3 {
    font-size: 25px;
}
button.btn.btn-primary.validate {
    color: #fff !important;
    padding: 13px 20px;
}
#sp-position1 {
	padding: 0;
}

/* Bottom */
#sp-bottom {
	overflow: hidden;
	position: relative;
	z-index: 1;
	box-shadow: 0 0 2px 0 rgb(255 255 255 / 10%);
	line-height: 30px;
}
#sp-bottom p {
	line-height: 28px;
}
#sp-bottom .sp-module .sp-module-title {
    font-size: 28px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 30px;
    padding-bottom: 0px;
    position: relative;
}
#sp-bottom span {
    padding-right: 10px;
}
#sp-bottom strong {
  	display: none;
}
.shrewd_solution_icon ul {
	margin-top: 20px;
}
.shrewd_solution_icon ul, .shrewd_solution_icon ul li {
    display: inline-block!important;
    padding: 0!important;
}
.shrewd_solution_icon ul li a {
    font-size: 16px;
    width: 38px;
    height: 38px;
    color: #fff !important;
    line-height: 40px;
    text-align: center;
    border-radius: 5px;
    margin-right: 10px;
    -webkit-transition: .5s;
    transition: .5s;
    display: inline-block;
    border: none;
    background: #344143;
}
.shrewd_solution_icon ul li a:hover {
	color: #fff !important;
}
.shrewd_solution_icon strong {
    display: none;
}

/* Footer Copyright */
#sp-footer {
    text-align: center;
}
#sp-footer {
    display: inline-block;
    width: 100%;
    position: relative;
    z-index: 1;
}
#sp-footer .container-inner {
    border-top: 1px solid rgba(255,255,255,0.1);
}

/*** Responsive Layout ***/
/* Tablet Landscape Layout */
@media (min-width: 1400px) {
    .sppb-row-container {
      	max-width: 1320px;
    }
}

/* Mobile Standard Layout */
@media (max-width: 768px) {
	#sp-header, #sp-header .logo {
        height: 70px;
    }
  	#sp-footer p {
  		text-align: center;
	}
  	body #sp-header {
      	padding: 0;
	}
  	#sp-header {
    	top: 0px;
	}
  	.feature-colum .sppb-text-right, .services-colum-btn .sppb-text-right,
  	.movie-detail-item {
    	text-align: left;
	}
  	.feature .sppb-col-md-3 {
    	margin-bottom: 30px;
	}
}

/* Mobile Small Resolution */
@media (max-width: 480px) {
  	.category .sppb-column-addons .clearfix:nth-child(n+2) {
    	width: 100%;
    	margin-right: 0;
	}
}

/* General color defination
Color value depend on preset color that picking on template settings > Presets
*/

:root {
  --background-color: currentColor;
  --background: currentColor;
  --text-color: currentColor;
}
.page-item.active .page-link, .slider-item .sppb-btn-success, .sp-simpleportfolio .sp-simpleportfolio-item .sp-simpleportfolio-info:hover, 
.sp-simpleportfolio .sp-simpleportfolio-item .sp-simpleportfolio-overlay-wrapper .sp-simpleportfolio-overlay, 
.sp-megamenu-parent>li:last-child>a, #sp-bottom .sp-module .sp-module-title:before, .btn,
.subscribe-left, .subscribe-right, .shrewd_solution_icon ul li a {
 	background-color: #bdbdbd;
}
.article-list .article .readmore a:hover, .article-list .article .readmore a:active, .article-list .article .article-header h2 a:hover,
#sp-footer a, #sp-bottom4 span, #sp-bottom a:hover, .sppb-panel-modern>.sppb-panel-heading.active,
.btn-feature:hover, .title h3, .shrewd_solution_icon ul li a:hover {
  	color: var(--text-color) !important;
}
.title p, .btn:hover, .btn {
  	border-color: var(--text-color) !important;
}

/* ============================================
   iCagenda - TEXTO EM PORTUGUÊS + ESCONDER FOOTER
   Adicione este código ao CSS anterior
   ============================================ */

/* ============================================
   ESCONDER textos originais em inglês
   ============================================ */

/* Esconder "Upcoming Events" */
body .ic-header-title {
    display: none !important;
}

/* Esconder "There are X upcoming events" */
body .ic-header-subtitle {
    display: none !important;
}

/* Esconder "Powered by iCagenda" no rodapé */
body #icagenda + div[style*="text-align: center"],
body div[style*="Powered by"] {
    display: none !important;
}


/* ============================================
   ADICIONAR textos em PORTUGUÊS
   ============================================ */

/* Container do cabeçalho */
/*body .ic-header-container {
    position: relative !important;
} +/

/* Adicionar "Próximos Eventos" */
/* body .ic-header-container::before {
    content: "Próximos Eventos" !important;
    display: block !important;
    font-size: 36px !important;
    font-weight: 700 !important;
    color: #333 !important;
    margin-bottom: 10px !important;
    font-family: 'Josefin Sans', sans-serif !important;
} +/

/* Adicionar contagem em português */
/*body .ic-header-container::after {
    content: "Existem " attr(data-count) " eventos próximos" !important;
    display: block !important;
    font-size: 16px !important;
    color: #666 !important;
    margin-bottom: 20px !important;
} */


/* ============================================
   ALTERNATIVA - Se o ::after não funcionar
   Use JavaScript para contar os eventos
   ============================================ */

/* Você pode usar esta classe e adicionar via JS */
/* body .ic-header-container .custom-subtitle {
    font-size: 16px !important;
    color: #666 !important;
    margin-bottom: 20px !important;
} */


/* ============================================
   RESPONSIVO - Ajustar tamanho do título
   ============================================ */

/* @media (max-width: 768px) {
    body .ic-header-container::before {
        font-size: 28px !important;
    }
    
    body .ic-header-container::after {
        font-size: 14px !important;
    }
} */

/* Reduzir padding do main body */
#sp-main-body {
    padding: 10px 0 !important;
}

.sp-megamenu-parent>li:last-child>a {
    background: none !important;
    background-color: transparent !important;
    color: #000 !important;
    border-radius: 0 !important;
    border: none !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    padding: 0 10px !important;
    display: inline-block !important;
    line-height: 80px !important;
}

.sp-megamenu-parent>li:last-child>a:hover {
    background: none !important;
    background-color: transparent !important;
    color: #ffd369 !important;
}

.sp-megamenu-parent>li.active:last-child>a {
    background: none !important;
    background-color: transparent !important;
    color: #e8000d !important;
}

#sp-header,
#sp-header.header-sticky {
    border-bottom: none !important;
    box-shadow: none !important;
    z-index: 99999 !important;
	transition: none !important;
}

.menu-artigo-horizontal {
    z-index: 9 !important;
}


/* ============================================
   CATEGORY BLOG FESTAS DA CIDADE - GRID 4 COLUNAS ESTILO ICAGENDA
   ============================================ */

/* Container geral - juntar leading + items em grid */
.blog.com-content-category-blog {
    display: block !important;
}

.com-content-category-blog__items.blog-items.items-leading.article-list.articles-leading,
.com-content-category-blog__items.blog-items.items-more.article-list.articles-more,
.blog .items-leading,
.blog .items-more {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    padding: 20px 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* Cada artigo - card */
.blog .com-content-category-blog__item,
.blog .blog-item,
.blog .article {
    background: white !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08) !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    min-width: 0 !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.blog .com-content-category-blog__item:hover,
.blog .blog-item:hover,
.blog .article:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12) !important;
}

/* Imagem - proporcional 16:9 */
.blog .article-intro-image {
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    overflow: hidden !important;
    float: none !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
}

.blog .article-intro-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
}

/* Corpo do artigo */
.blog .article-body {
    padding: 12px 15px !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
}

/* Título */
.blog .article-header h2,
.blog .page-header h2 {
    font-size: 15px !important;
    line-height: 1.4 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.blog .article-header h2 a,
.blog .page-header h2 a {
    color: #2c5aa0 !important;
    text-decoration: none !important;
}

.blog .article-header h2 a:hover,
.blog .page-header h2 a:hover {
    color: #1a3d6d !important;
}

/* Esconder tudo exceto imagem e título */
.blog .article-introtext,
.blog .article-info,
.blog .article-info-block,
.blog .article-footer,
.blog .readmore,
.blog .icons,
.blog .tags {
    display: none !important;
}

/* Remover floats e clearfix */
.blog .com-content-category-blog__items::after,
.blog .com-content-category-blog__items::before,
.blog .items-leading::after,
.blog .items-leading::before,
.blog .items-more::after,
.blog .items-more::before {
    display: none !important;
    content: none !important;
}

.blog .blog-item,
.blog .blog-item *,
.blog .article,
.blog .article * {
    float: none !important;
}

/* Paginação */
.blog .com-content-category-blog__pagination {
    margin-top: 20px !important;
    text-align: center !important;
    grid-column: 1 / -1 !important;
}

/* ============================================
   RESPONSIVO
   ============================================ */

@media (min-width: 768px) and (max-width: 991px) {
    .blog .items-leading,
    .blog .items-more {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (min-width: 576px) and (max-width: 767px) {
    .blog .items-leading,
    .blog .items-more {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 575px) {
    .blog .items-leading,
    .blog .items-more {
        grid-template-columns: 1fr !important;
    }
}
