:root {
    --primary-color: #1a1a1a;
    --secondary-color: #0b8103;
    --terceary-color: #fcbd07;
    --black-100-color: #000000;
    --text-color: rgba(51, 51, 51, 0.85);
    --light-gray: #f8f9fa;
    --border-color: #dee2e6;
    --bg-header-color: #f8f9fa;
    --logo-green-color: #0b8103;
}

body {
    font-family: var(--font-secondary);
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

.ht-custom {
    height: 60px;
    background-color: var(--bg-header-color);
}

@media (max-width: 768px) { 

    .ht-custom {
        height: 80px;
        background-color: var(--bg-header-color);
    }

}

@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1200px!important;
    }
}

/* Header */
.site-header {
    background: #fff;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.site-title {
    font-family: var(--font-primary);
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    font-size: 1.75rem;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: -0.5px;
}

/* Navigation */
.main-nav {
    background: #fff;
    border-bottom: 1px solid var(--border-color);
}

.nav-link {
    font-family: var(--font-secondary);
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    color: var(--text-color);
    padding: 1rem 1.5rem;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #0b8103!important;
}

.no-pad {
    padding: 2rem 0!important;
    border-bottom: 1px solid #b9b9b96b;
}

.no-pad a {
    color: #000!important;
}

/* Featured Post */
.featured-post {
    background: #fff;
    padding: 3rem 0;
    margin-bottom: 3rem;
}

.featured-post .card {
    border: none;
    box-shadow: none;
}

.title-posts {
    color: var(--black-100-color)!important;
    font-size: 2.5rem!important;
    line-height: 2.8rem!important;
}

.featured-post .card-title {
    font-family: var(--font-primary);
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    font-size: 1.75rem;
    line-height: 1.3;
    margin-bottom: 1rem;
}

/* Post Grid */
.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 3rem;
    margin: 3rem 0;
}

.post-card {
    border: none;
    box-shadow: none;
    transition: transform 0.3s;
}

.post-card:hover {
    transform: translateY(-5px);
}

.post-card .card-title {
    font-family: var(--font-primary);
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    font-size: 1.25rem;
    line-height: 1.4;
    margin: 1rem 0;
}

.post-meta {
    font-family: var(--font-secondary);
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    color: rgba(102, 102, 102, 0.85);
    font-size: 0.745rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Sidebar */
.sidebar {
    background: #fff;
    padding: 0 2rem;
    border-left: 1px solid var(--border-color);
}

.sidebar-title {
    font-family: var(--font-primary);
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--secondary-color);
}

/* Links da Sidebar */
.sidebar a {
    font-family: var(--font-primary);
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    color: rgb(0, 0, 0);
    text-decoration: none;
    transition: color 0.1s ease;
    line-height: 1.1rem!important;
}

/* Títulos dos posts na sidebar - regra mais específica */
.sidebar .card-body a {
    line-height: 1.1rem !important;
    display: block;
    margin-bottom: 0.5rem;
}

/* Forçar line-height para todos os links de títulos na sidebar */
.sidebar .list-unstyled li a {
    line-height: 1.1rem !important;
}

/* Regra com máxima especificidade para títulos dos posts */
.sidebar .card .card-body .list-unstyled li a {
    line-height: 1.4rem !important;
    font-size: 1.1rem!important;
    font-weight: 700!important;
}

/* Override para qualquer framework CSS */
.sidebar a[href*="post"] {
    line-height: 1.1rem !important;
}

.sidebar a:hover {
    color: #0b8103;
    text-decoration: underline;
}

/* Footer */
.site-footer {
    background: var(--primary-color);
    color: white;
    padding: 4rem 0;
    margin-top: 4rem;
}

.footer-title {
    font-family: var(--font-secondary);
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.footer-links a {
    font-family: var(--font-secondary);
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    display: block;
    margin-bottom: 0.8rem;
    font-size: 0.875rem;
    text-transform: none;
    letter-spacing: 0.5px;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

/* Category Badges */
.category-badge {
    font-family: var(--font-secondary);
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    background: var(--secondary-color);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 0;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
}

.category-badge:hover {
    background: #a30f28;
    color: white;
}

/* Read More Button */
.read-more {
    font-family: var(--font-secondary);
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    color: var(--terceary-color);
    text-decoration: underline;
    font-size: 0.9rem;
    transition: color 0.2s ease;
    
}

.read-more:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Post Content */
.post-content {
    font-family: var(--font-secondary);
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(51, 51, 51, 0.85);
}

.post-content h2 {
    font-family: var(--font-primary);
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
}

.post-content p {
    margin-bottom: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .title-posts {
        font-size: 1.8rem!important;
        line-height: 2.1rem!important;
    }
    .post-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-post .card-title {
        font-size: 1.25rem;
    }
    
    .site-title {
        font-size: 1.5rem;
    }
}

/* AdSense Compatible */
.ad-container {
    background: #fff;
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: center;
    border: 1px solid var(--border-color);
}

/* Search Form */
.search-form {
    position: relative;
}

.search-form input {
    padding: 1rem 1.5rem;
    border-radius: 0;
    border: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.search-form button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--secondary-color);
}

/* Tags */
.tag {
    display: inline-block;
    padding: 0.3rem 1rem;
    margin: 0.2rem;
    background-color: #f8f9fa;
    border-radius: 0;
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.tag:hover {
    background-color: var(--secondary-color);
    color: #fff;
    text-decoration: none;
}

/* Pagination */
.pagination {
    margin: 3rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.3rem;
}

.page-link {
    color: #343A40;
    border: 1px solid #E9ECEF;
    background-color: #FFFFFF;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    text-decoration: none;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    font-weight: 500;
}

.page-link:hover {
    background-color: #F8F9FA;
    color: #343A40;
    border-color: #DEE2E6;
    text-decoration: none;
}

.page-item.active .page-link {
    background-color: #FFF8E1;
    color: #8B6508;
    border-color: #FFE082;
    font-weight: 600;
}

.page-item.disabled .page-link {
    color: #6C757D;
    border-color: #E9ECEF;
    background-color: #FFFFFF;
    opacity: 0.6;
    cursor: not-allowed;
}

/* Botões Anterior/Próximo */
.page-item:first-child .page-link,
.page-item:last-child .page-link {
    padding: 0.5rem 1rem;
    min-width: auto;
    border-radius: 0.375rem;
    background-color: #F8F9FA;
    color: #343A40;
    border-color: #E9ECEF;
}

.page-item:first-child .page-link:hover,
.page-item:last-child .page-link:hover {
    background-color: #E9ECEF;
    color: #343A40;
    border-color: #DEE2E6;
}

/* Ellipsis */
.page-item .page-link:contains("...") {
    background-color: #FFFFFF;
    color: #343A40;
    border-color: #E9ECEF;
}

/* Breadcrumb */
.breadcrumb {
    background: transparent;
    padding: 1rem 0;
    margin-bottom: -2rem;
}

.breadcrumb-item {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.breadcrumb-item a {
    color: var(--secondary-color);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--text-color);
}

/* Header */
.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

/* Posts */
.blog-post {
    margin-bottom: 7rem!important;
}

.post-meta i {
    margin-right: 0rem;
}

.post-content img {
    max-width: 100%;
    height: auto;
    margin: 1rem 0;
}

/* Sidebar */
.sidebar-widget {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 5px;
}

.sidebar-widget h3 {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #dee2e6;
}

/* Footer */
footer {
    background-color: #f8f9fa;
    padding: 3rem 0;
    color: #333;
}

/* Social Sharing Buttons */
.social-sharing-buttons {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 0;
    margin-bottom: 0;
}

.social-share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 0;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    background-color: #ffffff;
}

.social-share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.social-share-btn svg {
    width: 16px;
    height: 16px;
}

/* Facebook */
.facebook-share {
    color: #1877f2;
}

.facebook-share:hover {
    background-color: #1877f2;
    color: #ffffff;
    border-color: #1877f2;
}

/* Twitter/X */
.twitter-share {
    color: #000000;
}

.twitter-share:hover {
    background-color: #000000;
    color: #ffffff;
    border-color: #000000;
}

/* WhatsApp */
.whatsapp-share {
    color: #25d366;
}

.whatsapp-share:hover {
    background-color: #25d366;
    color: #ffffff;
    border-color: #25d366;
}

/* Responsividade para dispositivos móveis */
@media (max-width: 768px) {
    .post-meta .d-flex {
        flex-direction: column;
        gap: 10px;
    }
    
    .social-sharing-buttons {
        gap: 6px;
        justify-content: flex-start;
        margin-top: 0;
    }
    
    .social-share-btn {
        width: 32px;
        height: 32px;
    }
    
    .social-share-btn svg {
        width: 14px;
        height: 14px;
    }
}

@media (max-width: 480px) {
    .social-sharing-buttons {
        gap: 4px;
    }
    
    .social-share-btn {
        width: 28px;
        height: 28px;
    }
    
    .social-share-btn svg {
        width: 12px;
        height: 12px;
    }
}

.footer-logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.footer-description {
    color: #333;
    font-size: 0.9375rem;
    line-height: 1.8;
}

.social-links .social-icon {
    font-size: 1.2rem;
    color: rgb(0, 0, 0);
    background-color: #fcbd07;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.social-links .social-icon:hover {
    background-color: #fcbd07;
    color: rgb(0, 0, 0);
}

.footer-title {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    color: #333;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-links a:hover {
    color: #007bff;
}

.back-to-top {
    font-size: 0.9rem;
    color: #666;
}

.back-to-top:hover {
    color: #ffffff;
}

.back-to-top i {
    font-size: 1.2rem;
}

.lead {
    font-size: 15px!important;
}

.lead:hover {
    color: #0b8103!important;
    font-weight: 600!important;
}

.lead a {
    color: #6a6a6a!important;
    font-weight: 600!important;
}

.badge {
    border-radius: 0px!important;
    background: #f5f5f5 !important;
    color: #838383 !important;
    text-transform: uppercase!important;
}

.header-pg-ctt {
    margin: 10rem 0;
    font-size: 2rem;
}

.width-custom {
    max-width: 50%!important;
    margin: 2rem 0!important;
    border: 1px solid #e5e5e5!important;
    padding: 3rem!important;
    border-radius: 15px!important;
}
    
.mg-custom {
    margin: 3rem auto;
}

.list-unstyle a {
    list-style: 1.1rem!important;
}


/* Responsividade para o footer */
@media (max-width: 767.98px) {
    .mg-custom {
        margin: 3rem auto;
    }
    footer .col-md-3 {
        text-align: center;
    }
    .footer-logo-link, .social-links {
        justify-content: center;
    }
    .footer-description {
        text-align: center;
    }
    
    .footer-title {
        cursor: pointer;
        padding: 10px 0;
        margin-bottom: 0;
    }
    
    .footer-title i {
        transition: transform 0.3s ease;
    }
    
    .footer-title[aria-expanded="true"] i {
        transform: rotate(180deg);
    }
    
    .footer-links.collapse {
        margin-top: 10px;
    }
    
    .footer-links.collapse:not(.show) {
        display: none;
    }
}

@media (min-width: 768px) {
    .footer-links.collapse {
        display: block !important;
    }
    
    .footer-title {
        pointer-events: none;
    }
    
    .footer-title i {
        display: none;
    }
}

/* Logo */
.logo-img {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
    object-fit: contain;
}

.navbar-brand:hover .logo-img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .logo-img {
        height: 60px;
        left: 40%;
        position: relative;
    }
}

.footer-copyright-text {
    color: #333;
    font-size: 0.875rem;
}

/* Cards */
.card {
    border: none!important;
    box-shadow: none!important;
}

.card-header {
    background-color: #0b8103 !important;
    border-bottom: none!important;
    color: #fff!important;
    font-size: 20px!important;
}

.card-header h3 {
    margin: 0;
    color: #fff!important;
    font-family: var(--font-primary);
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    font-size: 22px!important;
    text-align: center;
}

.card-body {
    padding: 1.5rem;
}

/* Estilos para imagens destacadas */
.post-image {
    position: relative;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border-radius: 0;
}

.post-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

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

/* Estilos para imagens dos cards de busca */
.card-img-top {
    height: 200px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.card:hover .card-img-top {
    /* transform: scale(1.05); */
}

/* Sidebar post thumbnails */
.post-thumbnail {
    position: relative;
    overflow: hidden;
    border-radius: 0;
}

.post-thumbnail img {
    width: 100%;
    max-width: 350px;
    height: 100%;
    max-height: 350px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.post-thumbnail:hover img {
    transform: scale(1.05);
}

/* Responsividade */
@media (max-width: 991.98px) {
    .post-image img {
        height: 350px;
    }
    
    .card-img-top {
        height: 180px;
    }
}

@media (max-width: 767.98px) {
    .post-image img {
        height: 280px;
    }
    
    .card-img-top {
        height: 160px;
    }
    
    .post-thumbnail img {
        height: 150px;
    }
    
    .sidebar {
        margin-top: 2rem;
    }
}

@media (max-width: 575.98px) {
    .footer-copyright-text {
        font-size: 0.7rem;
    }
    .mg-sociais-footer {
        margin: 0 0 5rem 0;
    }
    .pd-cst-ftr {
        padding: 0 3rem;
    }
    .post-image img {
        height: 220px;
    }
    
    .card-img-top {
        height: 140px;
    }
    
    .post-thumbnail img {
        height: 120px;
    }
}

/* Barra de Busca */
.input-group {
    max-width: 300px;
}

.style-busca {
    background: #fff!important;
}

.input-group .form-control {
    border-right: none;
    border-radius: 4px 0 0 4px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    border-color: #fff!important;
}

.input-group .btn {
    border-radius: 0 4px 4px 0;
    padding: 0.5rem 1rem;
    border-left: none;
    background: #fff;
    border-color: #fff !important;
}

.input-group .btn:hover {
    background-color: #0b8103;
    border-color: #0b8103;
    color: #fff;
}

@media (max-width: 767.98px) {
    .input-group {
        max-width: 100%;
        margin-top: 1rem;
    }
}

/* Barra de Navegação de Categorias */
.category-navbar {
    display: flex;
    align-items: center;
    position: relative;
    background-color: var(--logo-green-color);
    width: 100%;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    margin: 0 auto;
    justify-content: center;
}


.category-scroll-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE 10+ */
    flex: 1;
}

.category-scroll-container::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.category-navbar .nav {
    display: flex;
    flex-wrap: nowrap;
    margin: 0;
    padding: 0;
    justify-content: center;
}

.arrow {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    padding: 0 0.5rem;
    cursor: pointer;
    z-index: 2;
}

@media (min-width: 768px) {
    .arrow {
        display: none;
    }
}

.category-nav-link {
    font-family: var(--font-secondary);
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    color: #fff;
    padding: 0.3rem 0.8rem;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.category-nav-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    text-decoration: none;
}

@media (max-width: 767.98px) {
    .category-navbar .nav {
        flex-wrap: nowrap;
        padding: 0;
        justify-content: flex-start;
    }
    .category-navbar .nav-item:first-child {
        margin-left: 0;
    }
    .category-navbar .nav-item:last-child {
        margin-right: 8px;
    }
    .category-nav-link {
        font-size: 0.7rem;
        padding: 0.2rem 0.6rem;
    }
}

/* Menu Mobile */
.menu-mobile-aberto {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #fff;
    z-index: 1050;
}

/* Estilos adicionais para mobile */
@media (max-width: 767.98px) {
    .bg-nav-custom {
        z-index: 9;
    }
    .mg-bt-search {
        margin-bottom: 1rem!important;
    }
}

.bg-nav-custom {
    background-color: var(--bg-header-color);
}

.mg-bt-search {
    margin-bottom: 0;
}

.navbar-toggler {
    border: none;
}

.navbar-toggler:focus {
    box-shadow: none;
    z-index: 9999!important;
}

.pad-01 {
    padding: 0.1rem;
}



/* Estilos gerais de tipografia */
h1, h2, h3, h4, h5, h6, .site-title, .post-title {
    font-optical-sizing: auto;
    font-weight: 900!important;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    color: var(--cor_secundaria)!important;
}

.fw-bold {
    font-weight: 900!important;
}


/* Botão de busca */
.btn-search {
    border-color: #0b8103!important;
    color: #0b8103;
}

.btn-search:hover {
    color: #ffc107;
    background-color: #0b8103;
    border: none!important;
}

/* Posts Relacionados */
.related-posts-title {
    font-family: var(--font-primary);
    font-weight: 700;
    margin-bottom: 1.5rem !important;
    border-bottom: 3px solid #ffc107;
    padding-bottom: 0.5rem;
    display: inline-block;
}

.related-post-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    height: 100%;
}

.related-post-link:hover {
    transform: translateY(-5px);
}

.related-post-link:hover .related-post-card {
    /* box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important; */
}

.related-post-card {
    border: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,.075);
    transition: box-shadow 0.2s ease-in-out;
}

.related-post-img {
    height: 120px;
    object-fit: cover;
}

.related-post-badge {
    background-color: #d92332 !important;
    font-weight: 500;
    text-transform: uppercase;
        font-size: 0.7rem;
}

.related-post-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.3;
}

/* Banner de Cookies */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    color: #222;
    z-index: 9999;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10), 0 1.5px 6px rgba(0,0,0,0.08);
    animation: fadeInCookie 0.5s ease-out;
    width: 100%;
    padding: 1.2rem 1.2rem 1rem 1.2rem;
}

@keyframes fadeInCookie {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.cookie-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
}

.cookie-text {
    flex: 1;
}

.cookie-text h5 {
    margin: 0 0 0.3rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: #222;
}

.cookie-text p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.5;
    color: #444;
}

.cookie-text a {
    color: #0b8103;
    text-decoration: underline;
}

.cookie-text a:hover {
    color: #0a6b02;
}

.cookie-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
}

.cookie-buttons .btn {
    font-size: 0.92rem;
    padding: 0.35rem 1.1rem;
    border-radius: 0
}

.cookie-buttons .btn-success {
    background: #0b8103;
    border: none;
}

.cookie-buttons .btn-success:hover {
    background: #0a6b02;
}

.cookie-buttons .btn-outline-secondary {
    border-color: #bbb;
    color: #444;
}

.cookie-buttons .btn-outline-secondary:hover {
    background: #f3f3f3;
    color: #222;
}

.cookie-buttons .btn-outline-primary {
    border-color: #0b8103;
    color: #0b8103;
}

.cookie-buttons .btn-outline-primary:hover {
    background: #e8f5e9;
    color: #0a6b02;
}

.cookie-option {
    padding: 1rem;
    border: 1px solid #e9ecef;
    border-radius: 0.5rem;
    background-color: #f8f9fa;
}

.cookie-option .form-check-label {
    font-weight: 500;
    color: #333;
}

.cookie-option small {
    display: block;
    margin-top: 0.25rem;
}

.cookie-banner.hidden {
    display: none !important;
}

/* Responsividade do Banner de Cookies */
@media (max-width: 600px) {
    .cookie-buttons {
        margin: 0;
        width: 100%;
        justify-content: center;
    }

    .cookie-banner {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        transform: none;
        background: #fff;
        color: #222;
        z-index: 9999;
        box-shadow: 0 4px 24px rgba(0,0,0,0.10), 0 1.5px 6px rgba(0,0,0,0.08);
        animation: fadeInCookie 0.5s ease-out;
        width: 100%;
        max-width: 100%;
        padding: 0.8rem 0.7rem calc(0.7rem + env(safe-area-inset-bottom)) 0.7rem;
        border-radius: 0;
    }
    
    .cookie-content {
        gap: 0.5rem;
    }
    
    .cookie-text h5 {
        font-size: 0.98rem;
    }
    
    .cookie-text p {
        font-size: 0.87rem;
        max-width: 20rem;
    }
    
    .cookie-buttons .btn {
        font-size: 0.87rem;
        padding: 0.32rem 0.7rem;
    }
}

/* Estilos para Anúncios Nativos */

.anuncio-card-sidebar {
    padding: 0;
    margin-bottom: 15px;
    background: #ffffff;
    transition: 0.2s ease;
}

.anuncio-card-sidebar img {
    transition: 0.2s ease;
}

.anuncio-card-sidebar img:hover {
    scale: 1.05;
}

.anuncio-titulo-sidebar {
    font-family: var(--font-secondary);
    font-weight: 600;
    font-size: 0.9rem;
    color: #333;
    text-decoration: none;
    display: block;
    margin-top: 0.5rem;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.anuncio-titulo-sidebar:hover {
    color: #4285f4!important;
}

.anuncio-imagem-sidebar {
    width: 100%;
    height: auto;
    object-fit: cover;
    margin-bottom: 8px;
    display: block;
}

.anuncio-link-sidebar {
    color: #4285f4;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    display: inline-block;
    margin-top: 5px;
}

.anuncio-link-sidebar:hover {
    color: #3367d6;
    text-decoration: underline;
}

.anuncio-card-conteudo {
    padding: 0 20px;
    margin: 30px 0;
    background: #ffffff;
    transition: box-shadow 0.2s ease;
    position: relative;
}


.anuncio-titulo-conteudo {
    font-family: var(--font-secondary);
    font-weight: 600;
    font-size: 1rem;
    color: #333;
    text-decoration: none;
    display: block;
    margin-top: 0.5rem;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.anuncio-titulo-conteudo:hover {
    color: #4285f4!important;
    text-decoration: underline;
}

.anuncio-imagem-conteudo {
    width: 100%;
    max-width: 250px;
    height: 250px;
    object-fit: cover;
    margin-bottom: 12px;
    display: block;
}

.anuncio-link-conteudo {
    color: #4285f4;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    display: inline-block;
    margin-top: 8px;
}

.anuncio-link-conteudo:hover {
    color: #3367d6;
    text-decoration: underline;
}

/* Responsividade */
@media (max-width: 768px) {
    .anuncio-card-conteudo {
        padding: 15px;
        margin: 20px 0;
    }
    
    .anuncio-titulo-conteudo {
        font-size: 16px;
    }
    
    .anuncio-imagem-conteudo {
        max-width: 100%;
        height: 120px;
    }
}

/* Grupos de Anúncios - Design Profissional */

/* Container da Grade */
.grupo-anuncios-grade {
    margin: 40px 0;
    padding: 20px 0;
}

.anuncios-grade-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 5px;
    margin: 0 auto;
    max-width: 1000px;
}

.anuncio-card-grade {
    background: #ffffff;
    border: 1px solid #e1e5e9;
    padding: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 320px;
}

.anuncio-card-grade:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: #4285f4;
}

.anuncio-patrocinado-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #ffffff;
    color: #000000;
    padding: 2px 5px;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.5px;
    z-index: 2;
}

.anuncio-patrocinado-badge-sidebar {
    position: relative;
    top: -15px;
    right: 0;
    background: #ffffff;
    color: #000000;
    padding: 0px 10px;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.5px;
    z-index: 2;
    max-width: max-content;
    border: 1px solid #727272;
}

.anuncio-imagem-link {
    display: block;
    margin-bottom: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.anuncio-imagem-link:hover {
    transform: scale(1.02);
}

.anuncio-imagem-grade {
    width: 100%;
    height: 180px;
    display: block;
    transition: transform 0.3s ease;
}

.anuncio-titulo-grade {
    font-family: var(--font-secondary);
    font-weight: 600;
    font-size: 0.85rem;
    color: #333;
    text-decoration: none;
    display: block;
    margin-top: 0.5rem;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.anuncio-titulo-grade:hover {
    color: #4285f4;
}

.anuncio-link-grade {
    color: #4285f4;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    display: inline-block;
    margin-top: 8px;
    padding: 6px 12px;
    border: 1px solid #4285f4;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.anuncio-link-grade:hover {
    background: #4285f4;
    color: white;
}

/* Container do Carrossel */
.grupo-anuncios-carrossel {
    margin: 40px 0;
    padding: 20px 0;
}

.anuncios-carrossel-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.anuncios-carrossel {
    display: flex;
    gap: 3px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.anuncios-carrossel::-webkit-scrollbar {
    display: none;
}

.anuncio-card-carrossel {
    background: #ffffff;
    border: 1px solid #e1e5e9;
    padding: 0;
    transition: all 0.3s ease;
    position: relative;
    flex-shrink: 0;
    overflow: hidden;
    height: 340px;
    width: 100%;
    max-width: 250px;
}

.anuncio-card-carrossel:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    border-color: #4285f4;
}

.anuncio-imagem-carrossel {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.anuncio-imagem-link:hover .anuncio-imagem-carrossel {
    transform: scale(1.05);
}

.anuncio-titulo-carrossel {
    font-family: var(--font-secondary);
    font-weight: 600!important;
    font-size: 0.9rem!important;
    color: #333;
    text-decoration: none;
    display: block;
    margin-top: 0.5rem;
    line-height: 1.3;
    transition: color 0.3s ease;
    padding: 0 0.5rem;
}

.anuncio-titulo-carrossel:hover {
    color: #4285f4;
}

.anuncio-link-carrossel {
    color: #4285f4;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    display: inline-block;
    margin-top: 6px;
    padding: 5px 10px;
    border: 1px solid #4285f4;
    border-radius: 5px;
    transition: all 0.2s ease;
}

.anuncio-link-carrossel:hover {
    background: #4285f4;
    color: white;
}

/* Botões do Carrossel */
.carrossel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    color: #1e1e1ed4;
    width: 45px;
    height: 45px;
    font-size: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #3b3b3b59;
    line-height: 1;
    text-align: center;
    padding: 5px 0 15px;
}

.carrossel-btn:hover {
    background: rgb(119 119 119 / 54%);
    transform: translateY(-50%) scale(1.1);
    color: #fff;
    border: none;
}

.carrossel-btn-prev {
    left: -25px;
}

.carrossel-btn-next {
    right: 0;
}

/* Centralizar ícones dentro dos botões */
.carrossel-btn i,
.carrossel-btn::before,
.carrossel-btn::after {
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
    margin: 0;
    padding: 0;
}

/* Responsividade */
@media (max-width: 1200px) {
    .anuncios-grade-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
        padding: 0 20px;
    }
    
    .carrossel-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .carrossel-btn-prev {
        left: -20px;
    }
    
    .carrossel-btn-next {
        right: -20px;
    }
}

@media (max-width: 768px) {
    .anuncios-grade-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
        padding: 0 15px;
    }
    
    .anuncio-card-grade {
        padding: 15px;
    }
    
    .anuncio-imagem-grade {
        height: 140px;
    }
    
    .anuncio-titulo-grade {
        font-size: 14px;
    }
    
    .anuncio-card-carrossel {
        min-width: 240px;
        padding: 15px;
    }
    
    .anuncio-imagem-carrossel {
        height: auto;
    }
    
    .anuncio-titulo-carrossel {
        font-size: 17px;
        padding: 0;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
        text-overflow: ellipsis;
        max-height: calc(1.2em * 3);
        line-height: 1.2em;
    }
    
    .carrossel-btn {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
    
    .carrossel-btn-prev {
        left: -17px;
    }
    
    .carrossel-btn-next {
        right: 0;
    }
}

@media (max-width: 480px) {
    .anuncios-grade-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 10px;
    }
    
    .anuncio-card-carrossel {
        min-width: 200px;
    }
    
    .carrossel-btn {
        display: none;
    }
}



.anuncio-card-sidebar,
.anuncio-card-grade,
.anuncio-card-carrossel {
    position: relative;
}

.marca-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 10px 0;
}


.brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 8px;
    border-radius: 2px;
    line-height: 1;
    font-weight: 600;
    font-size: 12px;
    text-transform: none;
}

.badge-amazon { background-color: #ff9900; color: #ffffff; }
.badge-shopee { background-color: #ee4d2d; color: #fff; }

@media (max-width: 768px) {
    .brand-badge { font-size: 11px; padding: 2px 6px; }
}

/* Estilos para blocos de anúncios do Google AdSense */
.adsense-block {
    margin: 2rem 0;
    padding: 1rem 0;
    text-align: center;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.adsense-block ins {
    display: block;
    margin: 0 auto;
}

/* Responsividade para blocos AdSense */
@media (max-width: 768px) {
    .adsense-block {
        margin: 1.5rem 0;
        padding: 0.5rem 0;
    }
}

@media (max-width: 480px) {
    .adsense-block {
        margin: 1rem 0;
        padding: 0.25rem 0;
    }
}

/* Fallback para ícones FontAwesome */
.fa-solid,
.fa-regular,
.fa-brands {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", "Font Awesome 6 Brands" !important;
    font-weight: 900 !important;
    font-style: normal !important;
    font-variant: normal !important;
    text-rendering: auto !important;
    -webkit-font-smoothing: antialiased !important;
}

.fa-regular {
    font-weight: 400 !important;
}

.fa-brands {
    font-weight: 400 !important;
}

/* Garantir que ícones específicos sejam exibidos */
.fa-solid.fa-calendar::before { content: "\f133"; }
.fa-solid.fa-folder::before { content: "\f07b"; }
.fa-solid.fa-user::before { content: "\f007"; }
.fa-solid.fa-clock-rotate-left::before { content: "\f1da"; }
.fa-solid.fa-circle-info::before { content: "\f05a"; }
.fa-solid.fa-cookie-bite::before { content: "\f564"; }
.fa-solid.fa-check::before { content: "\f00c"; }
.fa-solid.fa-times::before { content: "\f00d"; }
.fa-solid.fa-gear::before { content: "\f013"; }

/* Sobrescrever CSS dinâmico para cards de busca - EXCLUINDO ÍCONES */
body .container .row .col-md-6 .search-result-card *:not(i),
body .container .row .col-lg-4 .search-result-card *:not(i) {
    font-family: inherit !important;
    font-weight: inherit !important;
    font-size: inherit !important;
}

/* Proteger especificamente os ícones FontAwesome */
body .container .row .col-md-6 .search-result-card i,
body .container .row .col-lg-4 .search-result-card i {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    font-size: inherit !important;
}

/* Proteger ícones específicos */
body .container .row .col-md-6 .search-result-card .far,
body .container .row .col-lg-4 .search-result-card .far {
    font-weight: 400 !important;
}

/* Forçar estilos específicos para títulos dos cards de busca */
body .container .row .col-md-6 .search-result-card .search-result-title,
body .container .row .col-lg-4 .search-result-card .search-result-title {
    font-weight: 700 !important;
    font-size: 1.1rem !important;
    line-height: 1.4 !important;
    margin-bottom: 0.75rem !important;
    color: var(--black-100-color) !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

/* Forçar estilos específicos para parágrafos dos cards de busca */
body .container .row .col-md-6 .search-result-card .search-result-excerpt,
body .container .row .col-lg-4 .search-result-card .search-result-excerpt {
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
    color: #666 !important;
    margin-bottom: 1rem !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

/* Cards de Resultados de Busca - Especificidade Máxima */
body .container .row .col-md-6 .search-result-card,
body .container .row .col-lg-4 .search-result-card {
    border: 1px solid #e9ecef !important;
    transition: all 0.3s ease !important;
    background: #fff !important;
}

body .container .row .col-md-6 .search-result-card:hover,
body .container .row .col-lg-4 .search-result-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
}

body .container .row .col-md-6 .search-result-card .search-result-img,
body .container .row .col-lg-4 .search-result-card .search-result-img {
    height: 200px !important;
    object-fit: cover !important;
    border-bottom: 1px solid #e9ecef !important;
}

body .container .row .col-md-6 .search-result-card .search-result-title,
body .container .row .col-lg-4 .search-result-card .search-result-title {
    font-weight: 700 !important;
    font-size: 1.1rem !important;
    line-height: 1.4 !important;
    margin-bottom: 0.75rem !important;
    color: var(--black-100-color) !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

body .container .row .col-md-6 .search-result-card .search-result-title a,
body .container .row .col-lg-4 .search-result-card .search-result-title a {
    color: var(--black-100-color) !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

body .container .row .col-md-6 .search-result-card .search-result-title a:hover,
body .container .row .col-lg-4 .search-result-card .search-result-title a:hover {
    color: #0b8103 !important;
}

body .container .row .col-md-6 .search-result-card .search-result-excerpt,
body .container .row .col-lg-4 .search-result-card .search-result-excerpt {
    font-family: var(--font-secondary) !important;
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
    color: #666 !important;
    margin-bottom: 1rem !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

body .container .row .col-md-6 .search-result-card .search-result-meta,
body .container .row .col-lg-4 .search-result-card .search-result-meta {
    border-top: 1px solid #f0f0f0 !important;
    padding-top: 0.75rem !important;
    margin-top: auto !important;
}

body .container .row .col-md-6 .search-result-card .search-result-meta small,
body .container .row .col-lg-4 .search-result-card .search-result-meta small {
    font-size: 0.8rem !important;
    font-weight: 500 !important;
}

body .container .row .col-md-6 .search-result-card .search-result-meta .badge,
body .container .row .col-lg-4 .search-result-card .search-result-meta .badge {
    font-size: 0.75rem !important;
    font-weight: 600 !important;
}

/* Destaque para termos de busca */
body .container .row .col-md-6 .search-result-card mark,
body .container .row .col-lg-4 .search-result-card mark {
    background-color: #fff3cd !important;
    color: #856404 !important;
    padding: 0.1rem 0.2rem !important;
    border-radius: 0.2rem !important;
    font-weight: 600 !important;
}

/* Responsividade para cards de busca */
@media (max-width: 768px) {
    body .container .row .col-md-6 .search-result-card .search-result-title,
    body .container .row .col-lg-4 .search-result-card .search-result-title {
        font-size: 1rem !important;
        -webkit-line-clamp: 2 !important;
    }
    
    body .container .row .col-md-6 .search-result-card .search-result-excerpt,
    body .container .row .col-lg-4 .search-result-card .search-result-excerpt {
        font-size: 0.85rem !important;
        -webkit-line-clamp: 2 !important;
    }
    
    body .container .row .col-md-6 .search-result-card .search-result-img,
    body .container .row .col-lg-4 .search-result-card .search-result-img {
        height: 150px !important;
    }
}

@media (max-width: 576px) {
    body .container .row .col-md-6 .search-result-card,
    body .container .row .col-lg-4 .search-result-card {
        margin-bottom: 1rem !important;
    }
    
    body .container .row .col-md-6 .search-result-card .search-result-title,
    body .container .row .col-lg-4 .search-result-card .search-result-title {
        font-size: 0.95rem !important;
    }
    
    body .container .row .col-md-6 .search-result-card .search-result-excerpt,
    body .container .row .col-lg-4 .search-result-card .search-result-excerpt {
        font-size: 0.8rem !important;
    }
}

