/*
Theme Name: Misses At News
Author: Kika
Description: Tema customizado estilo portal de notícias.
Version: 6.92
*/

/* --- 1. FONTS IMPORT --- */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@300;400;700;900&family=Oswald:wght@500;700&family=Roboto:wght@400;500;700&display=swap');

/* --- 2. VARIÁVEIS E RESET --- */
:root {
    --primary: #7b1fa2;
    /* Roxo Misses */
    --accent: #8e24aa;
    --black: #000000;
    --white: #ffffff;
    --gray-bg: #f4f4f4;
    --border-color: #e0e0e0;

    --font-heading: 'Merriweather', serif;
    --font-logo: 'Oswald', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-body);
    background-color: #fff;
    color: #1a1a1a;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* WordPress Admin Bar Styling */
#wpadminbar {
    background: #23282d !important;
}

#wpadminbar .ab-item,
#wpadminbar a.ab-item,
#wpadminbar>#wp-toolbar span.ab-label,
#wpadminbar>#wp-toolbar span.noticon,
#wpadminbar .ab-icon:before,
#wpadminbar .ab-item:before,
#wpadminbar .ab-item:after,
#wpadminbar #adminbarsearch:before,
#wpadminbar .ab-empty-item,
#wpadminbar .ab-label,
#wpadminbar input[type="text"],
#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a,
#wpadminbar .quicklinks .menupop ul li a,
#wpadminbar .quicklinks a span,
#wpadminbar .ab-top-menu>li>.ab-item {
    color: #fff !important;
}

#wpadminbar .ab-top-menu>li:hover>.ab-item,
#wpadminbar .ab-top-menu>li.hover>.ab-item,
#wpadminbar .ab-top-menu>li>.ab-item:hover,
#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a,
#wpadminbar .quicklinks .menupop ul li a:hover,
#wpadminbar .quicklinks .menupop ul li a:focus {
    color: #72aee6 !important;
    background: #32373c !important;
}

#wpadminbar .menupop .ab-sub-wrapper {
    background: #32373c !important;
}

#wpadminbar .quicklinks .menupop ul.ab-sub-secondary {
    background: #464b50 !important;
}

/* Image redundancy removed - rules covered below */

/* All image types and containers */
img,
picture,
figure,
figure img,
.wp-post-image,
.attachment-post-thumbnail,
.attachment-large,
.attachment-medium,
.attachment-full,
.size-large,
.size-medium,
.size-full {
    max-width: 100% !important;
    height: auto !important;
}

/* Prevent any element from causing horizontal scroll */
* {
    max-width: 100%;
}

iframe,
embed,
object {
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

a:hover {
    color: var(--primary);
}

.container {
    max-width: 1140px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    overflow-x: hidden;
    background: #fff;
    /* Garante leitura sobre bg skin */
    position: relative;
    /* Para z-index funcionar */
    z-index: 10;
}

/* --- 3. HEADER (BRANCO COM LOGO PRETO) --- */
.site-header {
    background-color: #fff;
    text-align: center;
    padding: 30px 0 10px;
    border-bottom: 1px solid #eee;
    margin-bottom: 30px;
    position: relative;
    z-index: 2147483647 !important;
    /* Garante que o menu fique sobre QUALQUER anúncio */
}

.logo h1 {
    font-family: var(--font-logo);
    font-size: 4.5rem;
    text-transform: uppercase;
    letter-spacing: -2px;
    line-height: 1;
    color: #000;
    margin: 0;
}

.logo span {
    color: var(--primary);
}

.main-nav {
    margin-top: 20px;
    border-top: 1px solid #f0f0f0;
    padding-top: 10px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.main-nav a {
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    color: #333;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    /* Hidden on desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2147483647 !important;
    /* Toggle acima de tudo */
}

.hamburger-line {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Mobile Menu Active State */
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .site-header .container {
        position: relative;
    }

    .mobile-menu-toggle {
        display: block;
        /* Show on mobile */
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: #fff;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        padding: 80px 20px 20px;
        transition: right 0.3s ease;
        z-index: 2147483646 !important;
        /* Menu acima do header e ads */
        overflow-y: auto;
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .main-nav li {
        border-bottom: 1px solid #f0f0f0;
    }

    .main-nav a {
        display: block;
        padding: 15px 10px;
        font-size: 0.9rem;
    }

    .logo h1 {
        font-size: 2.5rem;
    }
}

/* --- SINGLE ARTICLE LAYOUT --- */
.article-header {
    margin-bottom: 30px;
    background-color: transparent !important;
    /* Clean background */
    color: #000;
    text-align: left;
    /* Ensure left alignment */
}

.category-badge {
    background-color: var(--primary) !important;
    color: #fff !important;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 8px;
    display: inline-block;
    margin-bottom: 15px;
}

.entry-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #000;
    background-color: #ffffff !important;
    /* Force white background */
}

.subtitle {
    font-size: 1.25rem;
    color: #555;
    font-weight: 300;
    margin-bottom: 20px;
    line-height: 1.4;
}

.article-meta-line {
    font-size: 0.9rem;
    color: #000;
    font-weight: 500;
    margin-bottom: 30px;
}

.article-meta-line strong {
    font-weight: 700;
}

.main-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    /* 2/3 Content, 1/3 Sidebar */
    gap: 60px;
    margin-bottom: 80px;
}

/* Article Content */
.featured-image-container {
    margin-bottom: 40px;
}

.featured-img {
    width: 100% !important;
    height: 450px !important;
    object-fit: cover;
    border-radius: 4px;
}

.featured-image-container figcaption {
    font-size: 0.8rem;
    color: #777;
    margin-top: 8px;
    text-align: right;
    font-style: italic;
    font-family: var(--font-body);
}

.entry-content {
    font-family: var(--font-heading);
    /* Serif for long form reading */
    font-size: 1.1rem;
    line-height: 1.8;
    color: #222;
    margin-bottom: 40px;
}

/* --- LINKS DENTRO DO CONTEÚDO: destaque com underline + cor roxa --- */
.entry-content a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s, text-decoration-color 0.2s;
}

.entry-content a:hover {
    color: #4a0f64;
    text-decoration-color: #4a0f64;
}

/* Não aplicar estilo de link nos badges de categoria dentro do conteúdo */
.entry-content a.category-badge,
.entry-content a.tag-cat {
    text-decoration: none;
    color: #fff !important;
}

/* --- LEGENDAS DE FOTO (figcaption, wp-caption-text) --- */
.entry-content figcaption,
.entry-content .wp-caption-text,
.wp-caption .wp-caption-text,
figcaption {
    font-size: 0.8rem;
    color: #777;
    font-style: italic;
    font-family: var(--font-body);
    margin-top: 6px;
    line-height: 1.4;
}

/* --- IMAGENS NO CORPO DAS MATÉRIAS: largura completa no desktop --- */
.entry-content img,
.entry-content .wp-caption,
.entry-content figure {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
}

.entry-content .wp-caption {
    padding: 0;
    border: none;
}

.entry-content h2 {
    margin: 40px 0 20px;
    font-size: 1.8rem;
    font-weight: 700;
}

.entry-content h3 {
    margin: 30px 0 15px;
    font-size: 1.5rem;
}

.entry-content h4 {
    margin: 25px 0 10px;
    font-size: 1.2rem;
    font-weight: 700;
}

.entry-content ul,
.entry-content ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.entry-content li {
    margin-bottom: 10px;
}

.entry-content p {
    margin-bottom: 20px;
}

/* Sidebar Widgets Generic */
.sidebar-content .widget {
    margin-bottom: 50px;
    padding: 10px;
    /* Increased to 10px */
}

.widget-title {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 25px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

/* Gallery Section */
.photo-gallery-section {
    margin: 40px 0;
}

.section-heading {
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 20px;
    border-bottom: 2px solid #000;
    padding-bottom: 5px;
    display: table;
}

.gallery-grid-single {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.gallery-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 4px;
}

/* Author Bio */
.author-bio-box {
    display: flex;
    gap: 20px;
    align-items: start;
    padding: 30px;
    border: 1px solid #eee;
    background: #fff;
    margin-bottom: 50px;
}

.bio-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.author-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.author-role {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #777;
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
}

.btn-read-more {
    display: inline-block;
    background: var(--primary);
    color: #fff !important;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    padding: 8px 20px;
    margin-top: 15px;
    border-radius: 4px;
}

/* Related Articles */
.related-articles-section {
    margin-top: 50px;
    border-top: 3px solid var(--primary);
    padding-top: 30px;
}

.section-title-small {
    font-family: var(--font-heading);
    font-weight: 900;
    color: #1a1a1a;
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.related-card {
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.related-card:hover {
    transform: translateY(-5px);
}

.related-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 12px;
    transition: opacity 0.3s ease;
}

.related-card:hover img {
    opacity: 0.9;
}

.related-info h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
    color: #1a1a1a;
    margin-top: 8px;
    transition: color 0.3s ease;
}

.related-card:hover .related-info h4 {
    color: var(--primary);
}

.related-card .category-badge {
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .related-grid {
        grid-template-columns: 1fr;
    }
}

/* Elementor Related Articles Template Override (ID 3091) */
.elementor-3091,
.elementor-3091 .elementor-widget-container,
.elementor-3091 .elementor-element {
    background-color: transparent !important;
    background: transparent !important;
}

.elementor-3091 {
    border-top: 3px solid var(--primary) !important;
    border-bottom: 3px solid var(--primary) !important;
    padding: 30px 0 !important;
    margin: 50px 0 !important;
}

/* Title styling */
.elementor-3091 h2,
.elementor-3091 .elementor-heading-title {
    font-family: var(--font-heading) !important;
    font-weight: 900 !important;
    color: #1a1a1a !important;
    font-size: 1.5rem !important;
    margin-bottom: 25px !important;
}

/* Article cards - Vertical stack with horizontal layout */
.elementor-3091 .elementor-posts-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
}

.elementor-3091 .elementor-post {
    background: #fff !important;
    border: none !important;
    border-bottom: 1px solid #eee !important;
    border-radius: 0 !important;
    transition: all 0.3s ease !important;
    overflow: visible !important;
    display: flex !important;
    flex-direction: row !important;
    gap: 20px !important;
    padding-bottom: 20px !important;
}

.elementor-3091 .elementor-post:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

.elementor-3091 .elementor-post:hover {
    transform: none !important;
    box-shadow: none !important;
    border-color: #eee !important;
}

/* Images - Fixed width on the left */
.elementor-3091 .elementor-post__thumbnail {
    border-radius: 4px !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
    width: 200px !important;
    height: 140px !important;
}

.elementor-3091 .elementor-post__thumbnail img {
    transition: opacity 0.3s ease !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.elementor-3091 .elementor-post:hover .elementor-post__thumbnail img {
    opacity: 0.9 !important;
}

/* Text content area */
.elementor-3091 .elementor-post__text {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
}

/* Title links */
.elementor-3091 .elementor-post__title,
.elementor-3091 .elementor-post__title a {
    font-family: var(--font-heading) !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    transition: color 0.3s ease !important;
    line-height: 1.3 !important;
    font-size: 1.1rem !important;
    margin: 0 0 8px 0 !important;
}

.elementor-3091 .elementor-post:hover .elementor-post__title a {
    color: var(--primary) !important;
}

/* Excerpt text */
.elementor-3091 .elementor-post__excerpt p {
    color: #666 !important;
    line-height: 1.6 !important;
    font-size: 0.9rem !important;
    margin: 0 !important;
}

/* Category badges in Elementor */
.elementor-3091 .elementor-post__badge,
.elementor-3091 .elementor-post__meta-data a {
    background: var(--primary) !important;
    color: #fff !important;
    padding: 4px 12px !important;
    border-radius: 3px !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    transition: background 0.3s ease !important;
    display: inline-block !important;
    margin-bottom: 8px !important;
}

.elementor-3091 .elementor-post__badge:hover,
.elementor-3091 .elementor-post__meta-data a:hover {
    background: #6a1b8f !important;
}

/* Responsive */
@media (max-width: 768px) {
    .elementor-3091 .elementor-post {
        flex-direction: column !important;
    }

    .elementor-3091 .elementor-post__thumbnail {
        width: 100% !important;
        height: 180px !important;
    }
}


/* Related Articles Inline (Middle of Content) */
.related-articles-inline {
    margin: 50px 0;
    padding: 0;
}

.related-inline-border {
    width: 100%;
    height: 3px;
    background: var(--primary);
    margin: 0 0 30px 0;
}

.related-inline-title {
    font-family: var(--font-heading);
    font-weight: 900;
    color: #1a1a1a;
    font-size: 1.5rem;
    margin: 0 0 25px 0;
}

.related-inline-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.related-inline-card {
    display: flex;
    flex-direction: row;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.related-inline-card:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.related-inline-thumb {
    flex-shrink: 0;
    width: 200px;
    height: 140px;
    border-radius: 4px;
    overflow: hidden;
    display: block;
}

.related-inline-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.related-inline-card:hover .related-inline-img {
    opacity: 0.9;
}

.related-inline-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.related-inline-content .category-badge {
    margin-bottom: 8px;
    align-self: flex-start;
}

.related-inline-post-title {
    font-family: var(--font-heading);
    font-weight: 700;
    color: #1a1a1a;
    font-size: 1.1rem;
    line-height: 1.3;
    margin: 0 0 8px 0;
}

.related-inline-post-title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-inline-card:hover .related-inline-post-title a {
    color: var(--primary);
}

.related-inline-excerpt {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* Responsive for inline related articles */
@media (max-width: 768px) {
    .related-inline-card {
        flex-direction: column;
    }

    .related-inline-thumb {
        width: 100%;
        height: 180px;
    }
}


/* Newsletter Widget */
.newsletter-widget {
    background: #7b1fa2;
    /* Solid Purple from design */
    padding: 30px 20px;
    text-align: center;
    color: #fff;
    border-radius: 4px;
}

.widget-title-white {
    font-size: 0.7rem;
    text-transform: uppercase;
    margin-bottom: 5px;
    opacity: 0.9;
    letter-spacing: 1px;
    color: #fff !important;
}

.stay-connected {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
    color: #fff !important;
}

.newsletter-form input {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 4px;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.newsletter-form button {
    width: 100%;
    padding: 12px;
    background: var(--primary);
    color: #fff !important;
    text-transform: uppercase;
    font-weight: 700;
    border: none;
    cursor: pointer;
    font-size: 0.8rem;
    letter-spacing: 1px;
    border-radius: 4px;
}

.newsletter-form button:hover {
    background: #4a0f64;
}

/* HubSpot Form Styling */
.hubspot-form-wrapper {
    margin-top: 15px;
}

.hubspot-form-wrapper .hs-form {
    width: 100%;
}

.hubspot-form-wrapper .hs-form-field {
    margin-bottom: 10px;
}

.hubspot-form-wrapper input[type="email"],
.hubspot-form-wrapper input[type="text"] {
    width: 100% !important;
    padding: 12px !important;
    border: none !important;
    border-radius: 4px !important;
    font-size: 0.9rem !important;
    box-sizing: border-box !important;
}

.hubspot-form-wrapper .hs-button {
    width: 100% !important;
    padding: 12px !important;
    background: var(--primary) !important;
    color: #fff !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    border: none !important;
    cursor: pointer !important;
    font-size: 0.8rem !important;
    letter-spacing: 1px !important;
    border-radius: 4px !important;
}

.hubspot-form-wrapper .hs-button:hover {
    background: #4a0f64 !important;
}

.hubspot-form-wrapper .hs-error-msgs {
    list-style: none;
    padding: 0;
    margin: 5px 0 0 0;
}

.hubspot-form-wrapper .hs-error-msg {
    color: #ff4444;
    font-size: 0.75rem;
}

/* Instagram Grid */
.insta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
}

.insta-item {
    width: 100%;
    aspect-ratio: 1;
    background: #ddd;
    border-radius: 2px;
}

/* Instagram Follow Button Overrides */
#sb_instagram .sbi_follow_btn a,
#sbi_load .sbi_load_btn,
.sbi_follow_btn a {
    background-color: var(--primary) !important;
    /* Force Purple */
    color: #fff !important;
    border: none !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    border-radius: 4px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

#sb_instagram .sbi_follow_btn a svg,
#sb_instagram .sbi_follow_btn a i,
#sb_instagram .sbi_follow_btn a span,
.sbi_follow_btn a svg,
.sbi_follow_btn a i,
.sbi_follow_btn a span {
    color: #fff !important;
    fill: #fff !important;
}

#sb_instagram .sbi_follow_btn a:hover,
#sbi_load .sbi_load_btn:hover,
.sbi_follow_btn a:hover {
    color: #fff !important;
    background-color: #4a0f64 !important;
    /* Darker purple on hover */
}

/* Events Widget */
.events-list {
    list-style: none;
}

.events-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: center;
}

.event-date {
    background: #f4f4f4;
    color: #000;
    width: 50px;
    height: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-weight: 700;
    margin-right: 15px;
    /* Added spacing */
}

.event-date .month {
    font-size: 0.6rem;
    text-transform: uppercase;
    background: var(--primary);
    color: #fff !important;
    /* Force White */
    width: 100%;
    text-align: center;
    border-radius: 4px 4px 0 0;
    padding: 2px 0;
}

.event-date .day {
    font-size: 1.1rem;
    padding: 2px 0;
}

.event-name {
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.3;
}

/* Tags Widget */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* .tag-pill styles removed - consolidated with .category-badge below */

/* Share Widget */
.share-widget {
    margin-top: 40px;
}

.social-icons {
    display: flex;
    gap: 10px;
    justify-content: start;
}

.social-circle {
    width: 35px;
    height: 35px;
    background: var(--primary);
    color: #fff !important;
    /* Force white icon */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: background 0.3s;
}

.social-circle i,
.social-circle svg,
.social-circle .fab,
.social-circle .fa-brands {
    font-family: "Font Awesome 6 Brands", "FontAwesome", sans-serif !important;
    font-weight: 400 !important;
    font-style: normal !important;
    /* Fix tilted/italic icons */
    font-variant: normal !important;
    text-rendering: auto;
    line-height: 1 !important;
}

.social-circle:hover {
    background: #4a0f64;
    /* Darker purple on hover */
}

/* --- HOME HERO OVERHAUL (Mosaico Assimétrico) --- */
.home-hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    /* Esquerda larga, Direita estreita */
    grid-template-rows: 1fr;
    /* Uma linha que se ajusta ao conteúdo */
    gap: 40px;
    margin-bottom: 50px;
    width: 100%;
    align-items: stretch;
    /* Estica ambas colunas para mesma altura */
}

/* Coluna Esquerda (Principal) - Define a altura */
.hero-featured {
    position: relative;
}

.hero-card-large {
    position: relative;
    border-bottom: 4px solid #f0f0f0;
    /* Opcional: separador sutil */
    padding-bottom: 20px;
    height: 100%;
    /* Ocupa toda altura disponível */
    display: flex;
    flex-direction: column;
}

.hero-card-large .thumb-large {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 8px;
    /* Arredondado moderno */
    margin-bottom: 20px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    /* Não encolhe */
}

.hero-card-large:hover .thumb-large {
    transform: scale(1.01);
}

.hero-card-large .hero-content {
    flex: 1;
    /* Ocupa espaço restante */
}

.hero-card-large h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    /* Título Grande */
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 15px;
    color: #000;
    letter-spacing: -0.5px;
}

.hero-card-large h2:hover {
    color: var(--primary);
}

.hero-card-large p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
}

/* Coluna Direita (Lista Vertical) */
.hero-secondary-col {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* Distribui itens uniformemente na altura */
    height: 100%;
    /* CRUCIAL: Ocupa 100% da altura da grid row */
    border-left: 1px solid #eee;
    padding-left: 30px;
    padding-bottom: 0;
    gap: 8px;
    /* Reduz gap para caber 4 itens */
}

/* Item da Lista (Imagem Esq | Texto Dir) */
.hero-card-list-item {
    border-bottom: 1px solid #f9f9f9;
    padding-bottom: 8px;
    /* Reduz padding */
    margin-bottom: 0;
    flex: 1;
    /* Cada item ocupa 1/4 do espaço disponível (4 posts) */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* Alinha ao topo para melhor distribuição */
    min-height: 0;
    /* Permite encolher se necessário */
}

.hero-card-list-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.hero-card-list-item a {
    text-decoration: none;
    width: 100%;
    display: block;
    height: 100%;
}

/* Layout Horizontal Interno (FORÇADO BLINDADO) */
.hero-card-list-item .media-row-list {
    display: flex !important;
    flex-direction: row !important;
    /* Imagem do lado do texto */
    align-items: flex-start !important;
    /* Alinha ao topo */
    gap: 15px;
    height: 100%;
}

/* Mini Foto Fixa (Blindado para qualquer img) */
.hero-card-list-item .thumb-list,
.hero-card-list-item img {
    width: 100px !important;
    height: 100px !important;
    min-width: 100px !important;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
    margin: 0 !important;
    display: block !important;
}

.hero-card-list-item .content-col-list {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
    /* Ocupa o resto */
    gap: 8px;
}

/* Título à Direita - H3 ou H4 */
.hero-card-list-item h3,
.hero-card-list-item h4 {
    font-family: var(--font-heading);
    font-size: 1rem !important;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0 !important;
    margin-top: 0 !important;
    color: #111;
}

.hero-card-list-item h3:hover,
.hero-card-list-item h4:hover {
    color: var(--primary);
}

/* MOSTRAR RESUMO para preencher espaços */
.hero-card-list-item .excerpt-small,
.hero-card-list-item p {
    display: -webkit-box !important;
    font-size: 0.85rem !important;
    line-height: 1.4 !important;
    color: #666 !important;
    margin: 0 !important;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    /* Limita a 2 linhas (webkit) */
    line-clamp: 2;
    /* Limita a 2 linhas (padrão) */
    -webkit-box-orient: vertical;
}

/* Tags de Categoria */
.tag-cat {
    background: var(--primary);
    color: #fff !important;
    font-size: 0.65rem;
    padding: 3px 8px;
    text-transform: uppercase;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 8px;
    border-radius: 4px;
}

/* Section Titles & Archive Headers - Remove background preto */
.section-title,
h1.section-title,
h2.section-title,
.archive-header,
.archive-title,
h1.archive-title {
    background: none !important;
    background-color: transparent !important;
    color: #000 !important;
    padding: 0 0 20px 0 !important;
    margin: 20px 0 !important;
    font-family: var(--font-heading);
    font-weight: 700;
    border: none !important;
    /* Remove borders indesejadas */
}

/* Mantém a borda inferior apenas se desejado, mas limpa o resto */
.archive-header {
    border-bottom: 1px solid #eee !important;
}

/* Reforço de especificidade para cabeçalhos dentro de container */
.container header.archive-header,
.container h1.archive-title {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding-top: 0 !important;
}

/* Content Area - Remove background preto */
.content-area,
.main-wrapper,
.container {
    background: none !important;
    background-color: transparent !important;
}

/* Responsividade Mobile */
@media (max-width: 768px) {
    .home-hero-grid {
        grid-template-columns: 1fr;
        /* Coluna única */
        gap: 30px;
    }

    .hero-secondary-col {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid #eee;
        padding-top: 30px;
        height: auto;
        justify-content: flex-start;
        gap: 20px;
    }

    .hero-card-large h2 {
        font-size: 1.3rem;
        line-height: 1.2;
    }

    .hero-card-large p {
        font-size: 0.9rem;
    }

    /* Lista lateral: títulos menores no mobile */
    .hero-card-list-item h3,
    .hero-card-list-item h4 {
        font-size: 0.85rem !important;
        line-height: 1.25;
    }

    .hero-card-list-item .media-row-list {
        align-items: center;
    }

    .hero-card-list-item .thumb-list {
        width: 80px;
        height: 80px;
    }
}

/* FIX: On touch devices, disable hover color changes so first tap navigates immediately */
@media (hover: none) {

    .hero-card-large h2:hover,
    .hero-card-list-item h3:hover,
    .hero-card-list-item h4:hover,
    .news-card-vertical h3:hover {
        color: inherit;
    }

    .hero-card-large:hover .thumb-large {
        transform: none;
    }
}



/* Ad Placeholders */
.ad-slot {
    background: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    font-weight: 700;
    margin: 30px auto;
}

.ad-728 {
    width: 100%;
    max-width: 728px;
    height: 90px;
}

.ad-300 {
    width: 300px;
    height: 250px;
    background: #999;
    margin-bottom: 30px;
}

.ad-label {
    font-size: 0.8rem;
    letter-spacing: 1px;
    line-height: 1.4;
    text-transform: uppercase;
    opacity: 0.8;
}

/* --- HOME SIDEBAR & MAIN --- */
.home-main-wrapper {
    display: grid;
    grid-template-columns: 1fr 320px;
    /* 3 News Cols vs Fixed 320px Sidebar for 300px Ads */
    gap: 40px;
    margin-bottom: 60px;
    /* Standardize */
}

.latest-news-area {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 Cols */
    gap: 25px;
}

.news-card-vertical .news-thumb {
    width: 100% !important;
    height: 180px !important;
    /* Consistent size and crop */
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 12px;
}

.news-card-vertical h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 10px;
}

.news-card-vertical .excerpt {
    font-size: 0.9rem;
    color: #444;
    margin-bottom: 10px;
}

.meta-time {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
}

/* Home Sidebar Widgets */
.newsletter-widget-light {
    background: #fdf2f7;
    /* Pinkish background from design */
    padding: 30px;
    border-radius: 4px;
    text-align: center;
    border-top: 4px solid #dda0bc;
    /* Accent border */
}

.newsletter-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #5a1a4a;
}

.newsletter-widget-light p {
    font-size: 0.85rem;
    margin-bottom: 20px;
    color: #666;
}

.newsletter-widget-light input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
}

.newsletter-widget-light button {
    width: 100%;
    padding: 10px;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
}

.social-row-small {
    margin-top: 20px;
    font-size: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 15px;
    color: #555;
}

/* Opinions Section */
.opinioes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.author-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.author-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

/* FIXED: Button display and margin for mobile */
.btn-read-small {
    background: var(--primary);
    color: #fff !important;
    padding: 6px 15px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-top: 15px;
    display: inline-block;
    /* Fix for margin respect */
    border-radius: 4px;
}

/* FIXED: Opinion Card Layout */
.opinion-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.opinion-card p {
    margin-bottom: 15px;
    flex-grow: 1;
    /* Pushes button down */
}

/* --- HOME EVENTS CAROUSEL (SQUARE) --- */

/* Scroll Container */
.events-scroll-container {
    display: flex;
    flex-wrap: nowrap;
    /* FORCE NO WRAP */
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.events-scroll-container::-webkit-scrollbar {
    display: none;
}

/* Card Style */
.event-card-square {
    flex: 0 0 200px;
    min-width: 200px;
    scroll-snap-align: start;
    border: none;
    background: transparent;
    display: block;
    /* Ensure it behaves as block block */
}

.event-square-link {
    text-decoration: none;
    display: block;
}

.event-square-thumb {
    width: 200px;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    background-color: #eee;
    margin-bottom: 12px;
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.event-square-link:hover .event-square-thumb {
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.event-real-img,
.event-placeholder-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Typography */
.event-square-title {
    font-size: 1rem;
    font-weight: 700;
    color: #000;
    line-height: 1.2;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-transform: uppercase;
}

.event-square-meta {
    font-size: 0.8rem;
    color: #888;
    font-weight: 400;
    display: block;
}

/* Nav Buttons (Clean Arrows) */
.nav-btn-circle {
    width: 32px;
    height: 32px;
    background-color: var(--primary);
    /* Solid Purple */
    color: #fff;
    /* White Icon */
    font-size: 1.2rem;
    border: 1px solid var(--primary);
    border-radius: 50%;
    /* Keep round shape but outline only */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    margin-left: 8px;
}

.nav-btn-circle:hover {
    background-color: #5e1580;
    color: #fff;
    border-color: #5e1580;
}

.carousel-nav-buttons {
    display: flex;
}

@media (max-width: 600px) {
    .event-card-square {
        flex: 0 0 160px;
    }

    .event-square-thumb {
        width: 160px;
        height: 160px;
    }
}

/* --- FOOTER (Black Design) --- */
.site-footer {
    background-color: #000;
    color: #fff;
    padding: 60px 0 20px;
    margin-top: 80px;
    font-size: 0.85rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    align-items: start;
}

.footer-logo {
    font-family: var(--font-logo);
    font-size: 2rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    color: #fff;
}

.footer-logo span {
    color: var(--primary);
}

.footer-brand p {
    color: #fff;
    line-height: 1.5;
}

.footer-list {
    list-style: none;
}

.footer-list li {
    margin-bottom: 8px;
}

.footer-list a {
    color: #fff;
    transition: color 0.2s;
}

.footer-list a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-social-icons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer-social-icons a {
    width: 30px;
    height: 30px;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.footer-bottom {
    border-top: 1px solid #222;
    padding-top: 20px;
    color: #fff;
    font-size: 0.75rem;
}

/* Archive layout styles moved/consolidated below (lines 1396+) */

/* Responsive */
@media (max-width: 900px) {
    .main-wrapper {
        grid-template-columns: 1fr;
    }

    .article-header {
        text-align: left;
    }

    .sidebar-area {
        margin-top: 50px;
    }

    .home-hero-grid,
    .home-main-wrapper,
    .latest-news-area,
    .opinioes-grid,
    .footer-grid,
    .events-grid-home {
        grid-template-columns: 1fr;
    }
}

/* --- MOBILE: Títulos menores no celular --- */
@media (max-width: 768px) {
    .entry-title {
        font-size: 1.6rem;
        line-height: 1.25;
    }

    .subtitle {
        font-size: 1rem;
    }

    .hero-card-large h2 {
        font-size: 1.3rem;
    }

    .news-card-vertical h3 {
        font-size: 0.9rem;
    }

    .opinion-card h4 {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .page-title-large,
    .archive-title {
        font-size: 2rem;
    }
}

/* --- OPINION ARCHIVE PAGE --- */
.opinioes-page-header {
    text-align: center;
    margin-bottom: 60px;
    border-bottom: 1px solid #eee;
    padding-bottom: 30px;
    background-color: #fff !important;
    /* Force white */
    color: #000 !important;
}

.page-title-large {
    font-family: var(--font-logo);
    font-size: 3rem;
    text-transform: uppercase;
    color: #000;
    margin-bottom: 15px;
    line-height: 1;
}

.page-subtitle {
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.opiniao-list-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.opiniao-row-item {
    display: flex;
    gap: 30px;
    padding: 30px 0;
    border-bottom: 1px solid #eee;
    align-items: flex-start;
}

.opiniao-row-item:first-child {
    padding-top: 0;
}

.opiniao-row-item:last-child {
    border-bottom: none;
}

.opiniao-author-col {
    width: 120px;
    text-align: center;
    flex-shrink: 0;
}

.author-circle-img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #f0f0f0;
    margin-bottom: 10px;
    transition: border-color 0.2s;
}

.opiniao-row-item:hover .author-circle-img {
    border-color: var(--primary);
}

.author-name-row {
    font-family: var(--font-logo);
    font-size: 0.85rem;
    color: var(--primary);
    text-transform: uppercase;
    line-height: 1.2;
    font-weight: 700;
}

.opiniao-content-col {
    flex-grow: 1;
}

.opiniao-row-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

.opiniao-row-title a {
    color: #000;
}

.opiniao-row-title a:hover {
    color: var(--primary);
}

.opiniao-row-excerpt {
    font-size: 1rem;
    color: #555;
    margin-bottom: 15px;
    line-height: 1.6;
    max-width: 800px;
}

.link-arrow {
    font-size: 0.8rem;
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

@media (max-width: 768px) {
    .opiniao-row-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .opiniao-content-col {
        text-align: center;
    }

    .opiniao-row-excerpt {
        margin: 0 auto 15px;
    }
}

/* --- ARCHIVE HEADER (Categories, Tags, etc.) --- */
.archive-header {
    text-align: center;
    margin-bottom: 60px;
    border-bottom: 1px solid #eee;
    padding-bottom: 30px;
    background-color: #fff;
    color: #000;
}

.archive-title {
    font-family: var(--font-logo);
    font-size: 3rem;
    text-transform: uppercase;
    color: #000;
    margin-bottom: 15px;
    line-height: 1.1;
}

.archive-description {
    font-size: 1.1rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
    font-family: var(--font-body);
}

/* --- STANDARD ARCHIVE LIST (CATEGORIES, ETC.) --- */
.archive-list-layout {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.archive-row-item {
    display: flex;
    gap: 25px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
    align-items: flex-start;
}

.archive-row-item:last-child {
    border-bottom: none;
}

.archive-thumb-link {
    flex-shrink: 0;
    width: 280px;
}

.archive-thumb {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 4px;
}

.archive-thumb-placeholder {
    width: 100%;
    height: 180px;
    background: #f0f0f0;
    border-radius: 4px;
}

.archive-content-col {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* --- CATEGORY BADGES UNDIFIED --- */
.archive-cat,
.category-badge,
.tag-pill,
.tag-cat,
.post-cat,
.cat-links a,
.post-categories li a,
.entry-categories a {
    font-size: 0.75rem;
    background-color: var(--primary) !important;
    /* ROXO MISSES */
    color: #fff !important;
    /* TEXTO BRANCO FORÇADO */
    text-transform: uppercase;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 10px;
    line-height: 1;
    text-decoration: none;
    transition: background-color 0.2s;
    /* Force specific overrides */
    border: none !important;
}

/* Specific Override for Sidebar Tags Widget */
.widget_tag_cloud a,
.tags-cloud a,
.tags-cloud .tag-pill {
    background-color: var(--primary) !important;
    color: #fff !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    border-radius: 4px !important;
    padding: 4px 10px !important;
    border: none !important;
}

.archive-cat:hover,
.category-badge:hover,
.tag-pill:hover,
.tag-cat:hover,
.post-cat:hover,
.cat-links a:hover {
    background-color: #4a0f64 !important;
    /* Roxo mais escuro no hover */
    color: #fff !important;
}

.archive-title-item {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 12px;
}

.archive-title-item a {
    color: #000;
}

.archive-title-item a:hover {
    color: var(--primary);
}

.archive-meta-bottom {
    font-size: 0.8rem;
    color: #888;
    font-weight: 400;
}

/* Mobile Archive */
@media (max-width: 768px) {
    .archive-row-item {
        flex-direction: column;
    }

    .archive-thumb-link,
    .archive-thumb {
        width: 100%;
        height: auto;
        aspect-ratio: 16/9;
    }
}

/* Old Events Calendar Overrides Removed - Consolidated below */

/* --- SOBRE NÓS PAGE --- */
.sobre-nos-page {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 20px;
}

.page-header {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 20px;
    border-bottom: 3px solid var(--primary);
}

.page-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    color: #000;
    margin: 0;
}

.page-text-content {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    line-height: 1.8;
    color: #333;
}

.page-text-content p {
    margin-bottom: 25px;
}

.page-text-content strong {
    color: var(--primary);
    font-weight: 700;
}

/* --- FOOTER STYLES --- */
.site-footer {
    background: #000;
    color: #fff;
    padding: 60px 0 20px;
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .footer-logo {
    font-family: var(--font-logo);
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}

.footer-brand .footer-logo span {
    color: var(--primary);
}

.footer-brand p {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    margin-bottom: 15px;
}

.footer-list a {
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-list a:hover {
    color: var(--primary);
}

.footer-social-icons {
    display: flex;
    gap: 15px;
}

.social-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-circle:hover {
    background: #fff;
    color: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #999;
    font-size: 0.85rem;
}

/* Mobile Footer - Remove spacing between links */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .footer-brand {
        margin-bottom: 30px !important;
    }

    .footer-col {
        margin-bottom: 0;
        margin-top: 0;
    }

    .footer-list {
        margin: 0;
        padding: 0;
    }

    .footer-list li {
        margin-bottom: 0;
        margin-top: 0;
        padding: 0;
    }

    .footer-list a {
        display: block;
        padding: 0;
        margin: 0;
        line-height: 1.4;
    }

    .footer-social-icons {
        justify-content: flex-start;
        margin-top: 20px;
    }
}

/* --- AD WIDGETS STYLES --- */
.ad-widget {
    margin: 30px 0;
    text-align: center;
}

.ad-widget-title {
    font-size: 0.75rem;
    color: #999;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-weight: 400;
}

.ad-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ad-adsense {
    width: 100%;
}

.ad-banner {
    width: 100%;
}

.ad-banner-img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.ad-sidebar {
    margin-bottom: 20px;
    border-radius: 4px;
}

.ad-before-content,
.ad-after-content {
    border-radius: 4px;
    margin: 30px auto;
    max-width: 728px;
}

/* Responsive ads */
@media (max-width: 768px) {

    .ad-before-content,
    .ad-after-content {
        margin: 20px auto;
    }
}

/* --- HOME PAGE ADS --- */

/* Top & Middle Banners (Full Width) */
.ad-home-top,
.ad-home-middle {
    margin: 40px auto;
    /* 40px em cima e 40px embaixo - simétrico */
    text-align: center;
    width: 100%;
    display: flex;
    justify-content: center;
}

/* Sidebar Ads (Square) */
.ad-home-sidebar {
    margin-bottom: 30px;
    /* Espaço entre widgets na sidebar da home */
    text-align: center;
    width: 100%;
    display: flex;
    justify-content: center;
}

/* Remove default margins from widgets inside */
.ad-home-top .widget,
.ad-home-middle .widget,
.ad-home-sidebar .widget {
    margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {

    .ad-home-top,
    .ad-home-middle {
        margin: 20px auto;
        /* Menor em mobile */
    }

    .ad-home-sidebar {
        margin-bottom: 20px;
    }
}

/* Fix for ad-slot container */
.ad-slot {
    display: block;
    width: 100%;
    clear: both;
    position: relative;
    /* Ensure stacking context */
    z-index: 10;
    margin-bottom: 40px !important;
    /* Force space below */
}

/* Specific size constraints if needed, but allow flexible height */
.ad-728 {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    min-height: 90px;
    /* Minimum standard height */
}

.ad-300 {
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
}

/* FINAL OVERRIDES FOR AD LAYOUT */
.ad-slot,
.ad-728,
.ad-300,
.ad-widget,
.ad-home-top,
.ad-home-middle {
    height: auto !important;
    min-height: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    overflow: visible !important;
    margin-bottom: 40px !important;
    padding: 0 !important;
    width: 100% !important;
    /* Força largura total */
}

.ad-slot img,
.ad-widget img {
    display: block !important;
    width: 100% !important;
    /* Estica a imagem para largura total */
    max-width: 100% !important;
    height: auto !important;
    margin: 0 auto !important;
    box-shadow: none !important;
    border-radius: 4px;
    /* Opcional: borda levemente arredondada para ficar bonito */
}

/* Wrapper for Full Width Ads */
.ad-full-width-wrapper {
    width: 100% !important;
    display: flex;
    justify-content: center;
    background: transparent;
    margin-bottom: 40px;
}