/*** General CSS ***/
body {
    line-height: 1.9em;
}

body.home #sp-main-body {
    padding: 0;
    display: none;
}

.article-details.home {
    display: none;
}

body div.container a.btn, 
body div.container button.btn {
    background: #000 !important;
}

/*** Header Area ***/

/* Header Top */
#sp-top-bar {
    position: relative;
    z-index: 999;
    font-size: 15px;
    padding: 12px 0 12px;
}

/* Header Menu */
#sp-header {
    top: 0px;
    padding: 0px;
    height: inherit;
    z-index: 9999;
}

body:not(.home) #sp-header,
#sp-header.header-sticky {
    top: 0;
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.1);
}

.sp-megamenu-parent .sp-dropdown li.sp-menu-item > a {
    font-weight: 400 !important;
    padding: 10px 0;
}

.sp-megamenu-parent > li > a, 
.sp-megamenu-parent > li > span {
    position: relative;
}

.sp-megamenu-parent > li.active > a {
    font-weight: 600;
}

/* 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: #222;
}

.offcanvas-menu > .align-items-center {
    background: #fff;
}

.offcanvas-active .burger-icon > span, 
#modal-menu-toggler.active .burger-icon > span {
    background-color: #222;
}

/*** Block Styles ***/

.sp-mod-title .sp-module-title {
    padding-bottom: 8px;
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 25px;
    border-bottom: 1px solid #ddd;
    position: relative;
}

.sp-mod-title .sp-module-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    height: 3px;
    width: 50px;
    background: red;
}

/* Position2 */
#sp-position2 .sp-module:first-child h3.sp-module-title {
    background: #eee;
    display: inline-block;
    font-size: 13px;
    font-weight: 800;
    padding: 8px 15px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

#sp-position2 .sp-module:first-child h3.sp-module-title:after {
    content: none;
}

/* Position1 */
#sp-content-top .sp-column {
    padding: 60px 0 30px;
}

#sp-position1 .sp-module:first-child .mfp_default_skin_default .mfp_default_item .mfp_default_title a {
    font-size: 28px !important;
    font-weight: 800 !important;
    color: #fff;
}

#sp-position2 .sp-module:nth-child(4) div > a:before,
#sp-position1 .sp-module:nth-child(4) div > a:before,
#sp-position1 .sp-module:first-child div > a:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    bottom: 0;
    z-index: 1;
    background: linear-gradient(to top, #000 0%, #00000075 100%);
}

#sp-position2 .sp-module:nth-child(4) div > a:before,
#sp-position1 .sp-module:nth-child(4) div > a:before {
    background: linear-gradient(to top, #000 0%, #00000000 100%);
}

#sp-position1 .sp-module:first-child div > a,
#sp-position1 .sp-module:nth-child(4) div > a,
#sp-position2 .sp-module:nth-child(4) div > a {
    position: relative;
}

#sp-position1 .sp-module:first-child h4.mfp_default_title,
#sp-position1 .sp-module:nth-child(4) h4.mfp_default_title {
    position: absolute;
    bottom: 60px; 
    left: 30px;
    right: 30px;
    z-index: 2;
    display: inline-block;
    width: 70%;
}

#sp-position1 .sp-module:nth-child(4) span.mfp_date,
#sp-position1 .sp-module:first-child span.mfp_date { 
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    z-index: 2;
    color: #fff;
}

#sp-position1 .sp-module:nth-child(4) span.mfp_cat a, 
#sp-position1 .sp-module:first-child span.mfp_cat a,
#sp-position2 .sp-module span.mfp_cat a {
    position: absolute;
    bottom: 160px;
    z-index: 2;
    left: 30px;
    padding: 6px 12px;
    letter-spacing: 2px;
    color: #fff;
    font-size: 11px;
}

#sp-position1 .sp-module:nth-child(4) .mfp_default_skin_default .mfp_default_item .mfp_default_title a {
    color: #fff;
    font-size: 19px !important;
}

#sp-position1 .sp-module:nth-child(4) .mfp_default_skin_default .mfp_default_item .mfp_default_title {
    width: auto;
}

.sp-mod-images img {
    margin-bottom: 40px;
}

/* Position2 - Carousel */
#sp-position2 .sp-module:nth-child(4) h4.mfp_carousel_title {
    position: absolute;
    bottom: 52px;
    left: 30px;
    right: 30px;
    width: auto;
    z-index: 2;
}

#sp-position2 .sp-module:nth-child(4) h4.mfp_carousel_title a {
    font-size: 21px !important;
    color: #fff;
}

/* Position2 - Social Icons */
#sp-position2 .shrewd_solution_icon ul li a {
    color: #fff;
    height: 47px;
    line-height: 47px;
    width: 47px;
    border-radius: 0;
    font-size: 17px;
}

/* Position3 */
#sp-position3 .mfp_default_skin_default .mfp_default_item .mfp_default_title a {
    font-size: 18px !important;
}

/* Position5 */
#sp-position5 span.mfp_cat a {
    top: 205px;
}

#sp-position5 .sp-module {
    padding-bottom: 50px;
}

/* Category */
span.mfp_cat a {
    color: #fff !important;
    padding: 5px 10px;
    font-size: 11px;
    letter-spacing: 1px;
    position: absolute;
    left: 0;
}

/* Blog */
.mfp_default_item:hover img {
    opacity: 0.8;
}

.mfp_default_skin_default .mfp_default_item .mfp_introtext {
    font-size: 16px !important;
}

/* Bottom */
#sp-bottom {
    overflow: hidden;
    position: relative;
    z-index: 1;
    line-height: 30px;
    font-weight: 500;
    text-align: left;
    font-size: 16px;
}

#sp-bottom p {
    line-height: 28px;
}

#sp-bottom .sp-module .sp-module-title {
    font-size: 16px;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: transparent;
    padding: 0;
}

.shrewd_solution_icon ul, 
.shrewd_solution_icon ul li {
    display: inline-block !important;
    padding: 0 !important;
    margin-bottom: 0px !important;
}

.shrewd_solution_icon ul li a {
    font-size: 15px;
    line-height: 40px;
    width: 40px;
    text-align: center;
    height: 40px;
    border-radius: 50%;
    border: none;
    -webkit-transition: .5s;
    transition: .5s;
    margin-right: 10px;
    display: inline-block;
    color: #fff;
    background: #333333;
}

.shrewd_solution_icon ul li a:hover {
    background: #fff;
}

#sp-bottom4 span,
.shrewd_solution_icon ul li a em {
    font-family: "Font Awesome 5 Brands";
}

#sp-bottom4 strong,
.shrewd_solution_icon ul li a em strong {
    display: none;
}

#sp-bottom1 ul.menu-link li a {
    text-transform: uppercase;
    display: inline-block;
    padding: 0 20px;
}

#sp-bottom1 ul.menu-link li {
    display: inline-block;
}

#sp-bottom .mfp_default_skin_default .mfp_default_item .mfp_default_title a {
    font-size: 16px !important;
}

#sp-bottom span.mfp_date {
    color: #fdf5f5 !important;
}

#sp-bottom .sp-module {
    margin-top: 0;
}

#sp-bottom4 span {
    padding-right: 10px;
}

#sp-bottom3 .sp-module ul > li > a {
    display: inline-block;
    margin: 0;
}

/* Footer Copyright */
#sp-footer {
    text-align: center;
    display: inline-block;
    width: 100%;
    position: relative;
    z-index: 1;
}

#sp-footer .container-inner {
    border-top: none;
}

/*** Responsive Layout ***/

/* Tablet Landscape Layout */
@media (min-width: 1400px) {
    .sppb-row-container {
        max-width: 1320px;
    }
}

@media (max-width: 1299px) {
    #sp-position5 span.mfp_cat a {
        top: 135px;
    }
    
    .sp-megamenu-parent > li > a, 
    .sp-megamenu-parent > li > span {
        font-size: 14px !important;
    }
}

/* Mobile Standard Layout */
@media (max-width: 991px) {
    #sp-header, 
    #sp-header .logo {
        height: 70px;
    }
    
    #sp-footer p {
        text-align: center;
    }
    
    body #sp-header {
        padding: 0;
        border-radius: 0;
        top: 0;
    }
    
    body, 
    body p {
        font-size: 16px !important;
    }
    
    #sp-position7 div#tns1-ow {
        margin-top: 0px;
    }
    
    #sp-position1 .sp-module:first-child .mfp_default_skin_default .mfp_default_item .mfp_default_title a {
        font-size: 23px !important;
    }
    
    #sp-position1 .mfp_default_item {
        max-width: 100%;
        flex-basis: 100%;
    }
    
    #sp-position1 .sp-module:nth-child(4) span.mfp_cat a, 
    #sp-position1 .sp-module:first-child span.mfp_cat a, 
    #sp-position2 .sp-module span.mfp_cat a {
        bottom: 180px;
    }
}

/* Mobile Small Resolution */
@media (max-width: 480px) {
    body #sp-header {
        top: 0;
    }
    
    #sp-position1 .sp-module:first-child .mfp_default_skin_default .mfp_default_item .mfp_default_title a {
        font-size: 17px !important;
    }
    
    #sp-position1 .sp-module:nth-child(4) span.mfp_cat a, 
    #sp-position1 .sp-module:first-child span.mfp_cat a, 
    #sp-position2 .sp-module span.mfp_cat a {
        bottom: 150px;
    }
}

/* General color definition
Color value depend on preset color that picking on template settings > Presets
*/
:root {
    --background-color: currentColor;
    --background: currentColor;
    --text-color: currentColor;
}

body.home .article-introtext .readmore a, 
span.mfp_cat a, 
.sp-mod-title:after,
#sp-position2 .sp-module:first-child h3.sp-module-title,
#sp-position2 .shrewd_solution_icon ul li a {
    background-color: var(--background-color);
}

.article-list .article .readmore a:hover, 
.article-list .article .readmore a:active, 
.article-list .article .article-header h2 a:hover,
#sp-bottom ul li span {
    color: var(--text-color);
}

#sp-position1 .mfp_default_skin_default .mfp_default_item .mfp_default_title a:hover {
    color: var(--text-color) !important;
}

#sp-top-bar {
    border-color: var(--text-color);
}

/*** Fix Rating ***/
.content_rating:before {
    content: "Ratings: ";
    position: relative;
    top: 2px;
}

.article-ratings-social-share .social-share-block {
    width: 100%;
}

.article-ratings-social-share .social-share-block .article-social-share {
    float: left;
}

.article-ratings-social-share .me-auto {
    display: none;
}

.content_rating .jq-star {
    margin: 0 3px;
}

/* ============================================
   RELÓGIO - CENTRALIZADO VERTICALMENTE
   ============================================ */

/* Aplica flexbox ao container pai (.sp-column) para alinhar logo e relógio */
#sp-logo .sp-column {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 15px !important;
}

/* Remove margens padrão do módulo do relógio */
#sp-logo .sp-module {
    margin: 0 !important;
    padding: 0 !important;
}

#sp-logo .sp-module-content {
    margin: 0 !important;
    padding: 0 !important;
}

/* Ajusta o relógio */
#gazeta-clock-wrapper,
#mod-custom260 .gazeta-clock-wrapper {
    margin: 0 !important;
    padding: 0 !important;
}

/* Oculta o <hr /> que está dentro do módulo custom */
#mod-custom260 hr {
    display: none !important;
}

/* Oculta o texto do logo (se ainda aparecer) */
.logo-text {
    display: none !important;
}

/* ============================================
   ESTILO GENÉRICO PARA BANNERS
   Use a classe "banner-quadrado" nas configurações do módulo
   ============================================ */

/* 1. Remove fundo, bordas e arredondamento do slide */
.banner-quadrado .slide {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* 2. Cantos quadrados nas imagens */
.banner-quadrado .jt-imagecover,
.banner-quadrado .jt-imagecover img {
    border-radius: 0 !important;
}

/* 3. Botões de navegação (setas) nos cantos internos */
.banner-quadrado .owl-nav {
    position: absolute !important;
    top: 50% !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    transform: translateY(-50%) !important;
    justify-content: space-between !important;
    padding: 0 20px !important; /* Distância das bordas laterais */
    z-index: 10 !important;
    pointer-events: none !important; /* Permite clicar na imagem através da área vazia */
}

/* 4. Estilo dos botões (setas) */
.banner-quadrado .owl-nav button {
    pointer-events: auto !important; /* Reativa o clique no botão */
    background: rgba(0, 0, 0, 0.6) !important;
    color: #ffffff !important;
    border-radius: 50% !important;
    width: 44px !important;
    height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
}

.banner-quadrado .owl-nav button:hover {
    background: #D61935 !important; /* Cor de destaque do seu site */
    transform: scale(1.1) !important;
}

/* 5. Ajuste para mobile (botões menores) */
@media (max-width: 767px) {
    .banner-quadrado .owl-nav {
        padding: 0 10px !important;
    }
    .banner-quadrado .owl-nav button {
        width: 36px !important;
        height: 36px !important;
    }
}



/******** ALTERAÇÕES *********/
.destaques-carousel .mfp_block_title {
    display: none !important;
}

/* ============================================
   OCULTAR TÍTULO INTERNO DO MINI FRONTPAGE CAROUSEL
   Remove o <h4> duplicado gerado pelo tema Carousel
   ============================================ */
.mfp_carousel_skin_default .mfp_block_title {
    display: none !important;
}

/* ============================================
 * Alterações somente a partir daqui
 *  ============================================ */
/* =========================================================
   ALINHAMENTO DO MÓDULO "PAGINA ANDRADINA" NO TOPO (sp-position1)
   Remove espaços extras para colar o módulo abaixo do título/traço
   ========================================================= */

/* 1. Remove a margem inferior do primeiro módulo (Destaques Andradina) */
#sp-position1 .sp-module:first-child {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* 2. Remove a margem superior do módulo "Pagina Andradina" (ID visual: mfp_mid_245) */
#sp-position1 .mfp_mid_245 {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* 3. Garante que o título do módulo ("traço") fique colado no topo absoluto */
#sp-position1 .mfp_mid_245 .sp-module-title {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* 4. Remove qualquer espaço entre o título e a grade de artigos dentro deste módulo */
#sp-position1 .mfp_mid_245 .sp-module-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* 5. Ajuste fino no grid interno para garantir alinhamento perfeito */
#sp-position1 .mfp_mid_245 .mfp-grid {
    margin-top: 0 !important;
    padding-top: 0 !important;
}