*,
::before,
::after {
    box-sizing: border-box;
}

html {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif, Apple Color Emoji, "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

body {
    min-height: 100vh;
    margin: 0;
    display: grid;
    gap: 2rem; /* Fixo ao invés de 3vw */
    grid-template-rows: auto 1fr auto;
    background-color: #f5f5f5; 
    color: #111;
}

a {
    color: currentColor;
}
/* ===== CONTAINERS GLOBAIS ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
/* ===== BUSCA NAVE ===== */
.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: #262533;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 10px 0;
    transition: box-shadow 0.3s ease;
}

.nav-content.fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: #262533;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 10px;
    
}

.nav-links {
    flex: 1;
    margin-left: -60px;
    margin-right: 60px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    gap: 4px 8px; 
    max-height: 80px;
}

.nav-logo-container {
    flex-shrink: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-links a {
    flex: 0 1 auto;
    text-decoration: none;
    text-transform: uppercase;
    font-family: 'Tipo Brasil Rounded', 'Inter', sans-serif;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-links a:hover{
    background-color: rgba(255, 255, 255, 0.15);
    color: #94bd00;
    transform: translateY(-2px);
}

.nav-links a:active{
    transform: translateY(0);
}

.nav-content.fixed .nav-logo-container{
    opacity: 1;
}

.nav-logo-container img{
    height: 40px;
    width: auto;
}

.current-date {
    color: #fff;
    font-size: 14px;
    white-space: nowrap;
}

.search-container {
    display: flex;
    align-items: center;
}

.search-form {
    display: flex;
    align-items: center;
    background:rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 2px;
    transition: background-color 0.3s ease;
}

.search-form:hover, .search-form:focus-within {
    background: rgba(255, 255, 255, 0.15);
}

.search-input {
    background: transparent;
    border: none;
    padding: 8px 15px;
    color: #fff;
    outline: none;
    width: 200px;
    font-size: 14px;
    transition: width 0.3s ease;
}

.search-input::placeholder{
    color: rgba(255, 255, 255, 0.7);
}

.search-input:focus{
    width: 250px;
}

.search-button {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    transition: background-color 0.3s ease;
}

.search-button:hover{
    background: rgba(255, 255, 255, 0.3);
}

.search-button svg{
    width: 16px;
    height: 16px;
}
/* ===== HEADER ===== */
.header-images {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2px 0;
    max-width: 100%;
    overflow: hidden;
}

.header-logo {
    max-width: 300px;
    height: auto;
    max-width: 100%;
}

.site-header,
.site-footer {
    background-color: #262533;
    color: #fff;
    text-align: center;
}

.site-header .container,
.site-footer .container {
    margin: 0 auto;
    padding: 5px;
}

.social-icons i {
    font-size: 24px;
    margin: 0 10px;
}

.social-icons i:hover {
    color: #94bd00; 
}

.banner-header {
    flex: 1;
    height: auto;
    margin-left: 20px;
    max-width: 100%;
}

.header-banner{
    border-radius: 8px;
}

.banner-header iframe {
    max-width: 100%;
    border: none;
    border-radius: 8px;
}

/* ===== NAVEGAÇÃO ===== */
.skip-link {
    position: absolute;
    top: -30px;
}

.skip-link:focus-visible {
    top: 5px;
}

/* ===== HOMEPAGE ===== */
.template-homepage main {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5px;
}

.homepage-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
    margin-bottom: 10px;
}

.main-content {
    min-width: 0;
}

.sidebar{
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    height: fit-content;
    position: sticky;
    top: 20px;
}

.hero-section {
    margin-bottom: 40px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.hero-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    min-height: 400px;
}

.news-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background-color: #111;
}

.carousel-item {
    height: 400px;
    display: none;
    position: relative;
    min-height: 400px;
    overflow: hidden;
}

.carousel-item.active {
    display: block;
}

.carousel-item .featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.carousel-item picture {
    width: 100%;
    height: 100%;
    display: block;
    background-color: #f5f5f5;
    
}

.carousel-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgb(255, 255, 255);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active{
    background: #15a7ac;
}

.carousel-arrow{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.3s ease;
    border: none;
}

.carousel-arrow:hover {
    background: rgba(0,0,0,0.7);
}

.carousel-arrow.prev {
    left: 20px;
}

.carousel-arrow.next {
    right: 20px;
}

.featured-overlay{
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    padding: 30px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.featured-overlay .category {
    display: inline-block;
    background: #007bff;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    text-shadow: none;
}
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
.featured-overlay h2{
    font-size: 1.8rem;
    line-height: 1.2;
    margin: 0 0 10px 0;
    font-weight: 700;
    text-shadow: 
        -1px -1px 2px rgba(0,0,0,0.8),
        1px -1px 2px rgba(0,0,0,0.8),
        -1px 1px 2px rgba(0,0,0,0.8),
        1px 1px 2px rgba(0,0,0,0.8);
}

.featured-overlay .meta{
    font-size: 0.9rem;
    opacity: 0.95;
    margin: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.featured-overlay a{
    color: inherit;
    text-decoration: none;
}

.featured-overlay a:hover h2{
    color: #ffd700;
    transition: color 0.3s ease;
}

.secondary-news{
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: #e9ecef;
    border-radius: 8px;
    overflow: hidden;
}

.secondary-item {
    background: white;
    padding: 15px;
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
}

.secondary-item:hover {
    border-left-color: #007bff;
    transform: translateX(5px);
}

.secondary-item h2 {
    font-size: 1rem;
    line-height: 1.3;
    margin: 0 0 8px 0;
    font-weight: 600;
}

.secondary-item a {
    color: #333;
    text-decoration: none;
}

.secondary-item a:hover {
    color: #007bff;
}

.secondary-item .meta {
    font-size: 0.8rem;
    color: #666;
    margin: 0;
}

/* ===== BANNER HORIZONTAL e RODAPÉ ===== */
.banner-section {
    text-align: center;
    margin: 20px -10px;
    padding: 0;
    background: transparent;
    border-radius: 12px;
}

.banner-section iframe {
    max-width: 100%;
    border: none;
    border-radius: 8px;
}

.banner-container {
    width: 100%;
    max-width: 800px;
    margin-left: 300px;
}

.banner-images {
    position: relative;
    width: 100%;
    height: 110px;
    overflow: hidden;
}

.banner-wrapper {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 800px;
    height: 110px;
    opacity: 0;
    z-index: 1;
    transition: opacity 1s ease-in-out;
}

.banner-wrapper.active {
    opacity: 1;
    z-index: 10;
}

.banner-img {
    width: 100%;
    height: 110px;
    object-fit: cover;
}

.banner-wrapper a {
    display: block;
    width: 100%;
    height: 100%;
}

.banner-container iframe {
    border: none;
    border-radius: 8px;

}
/* ===== SEÇÕES DE CATEGORIAS ===== */
.news-section {
    margin-bottom: 50px;
}

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 3px solid #001c3a;
}

.section-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-card:has(.news-card-content[style*="text-align: center"]) {
    transition: all 0.3s ease;
    border: 2px solid #94bd00;
    background: linear-gradient(135deg, #f9faf9 0%, #f3f7f0 100%);
}

.news-card:has(.news-card-content[style*="text-align: center"]):hover {
    background: linear-gradient(135deg, #94bd00 0%, #7ba600 100%);
    transform: translateY(-5px);
}

.news-card:has(.news-card-content[style*="text-align: center"]):hover h3 a,
.news-card:has(.news-card-content[style*="text-align: center"]):hover .meta {
    color: white !important;
}

/* GRID ESPECÍFICA PARA CATEGORIAS */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

/* ===== NEWS GRID (listing pages) ===== */
.news-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    display: grid !important;
    gap: 25px;
}

.news-card {
    max-width: 100%;
    position: relative;
    background: linear-gradient(135deg, #f8fbff 0%, #f0f6ff 100%);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 2px solid #0056b3;
    cursor: pointer;
}

.news-card .meta {
    font-size: 0.75rem;
}

.news-card h2,
.news-card h2 a {
    color: #222;
    text-decoration: none;
    font-size: 1rem;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: #0056b3;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
}

.news-card h2 a:hover {
    text-decoration: underline;
}

.news-card p {
    color: #333;
}

.news-card-image {
    margin-top: 15px;
    width: 85%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.news-card-content{
    padding: 20px;
}

.news-card h3{
    font-size: 1rem;
    line-height: 1.3;
    margin: 0 0 4px 0;
    font-weight: 600;
}

.news-card h3 a {
    color: #333;
    text-decoration: none;
}

.news-card h3 a:hover{
    color: white;
    font-size: 1.2rem;
}

.news-card h3 a::after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.news-card .intro {
    color: #000000;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0 0 0 0;
}

.news-card .tags{
    position: relative;
    z-index: 2;
}

.news-card .tags a{
    position: relative;
    z-index: 2;
}

/* ===== SIDEBAR ===== */
.sidebar h3 {
    font-size: 1.2rem;
    color: #333;
    margin: 0 0 20px 0;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sidebar-news {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.sidebar-news-item {
    padding: 15px 0;
    border-bottom: 1px solid #dee2e6;
}

.sidebar-news-item:last-child {
    border-bottom: none;
}

.sidebar-news-item h4 {
    font-size: 0.95rem;
    line-height: 1.3;
    margin: 0 0 5px 0;
    font-weight: 600;
}

.sidebar-news-item a {
    color: #333;
    text-decoration: none;
}

.sidebar-news-item a:hover {
    color: #007bff;
}

.sidebar-news-item .meta {
    font-size: 0.75rem;
    color: #999;
    margin: 0;
}

.sidebar-banner {
    text-align: center;
    margin-top: 30px;
}

.sidebar-banner iframe {
    max-width: 100%;
    border: none;
    border-radius: 8px;
}

.template-homepage .sidebar-banner-img,
.template-homepage .sidebar-grid-img,
.template-newspage .sidebar-banner-img,
.template-newspage .sidebar-grid-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.template-homepage .sidebar-images-grid,
.template-newspage .sidebar-images-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ===== TAGS ===== */
.tags {
    margin-top: 20px;
}

.tags .tag {
    display: inline-block;
    font-size: 0.9rem;
    background: #3351b6;
    color: white;
    padding: 3px 6px;
    margin-right: 5px;
    border-radius: 3px;
    text-decoration: none;
}

.tags .tag:hover {
    background: #ccc;
    color: #333;
}

/* ===== NEWS PAGE (artigo individual) ===== */

.template-newspage .article-container {
    flex: 1;
    box-sizing: border-box;
    max-width: none;
    margin: 0;
    padding: 24px;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.template-newspage .content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px;
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.template-newspage .article-container picture,
.template-newspage .article-container img {
    width: 100%;
    height: auto;
    display: block;
}

.template-newspage .article-container .main-image {
    margin-bottom: 24px;
}

.template-newspage .article-container .responsive-image {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    object-fit: cover;
    object-position: center;
}

.template-newspage .article-container .gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.template-newspage .article-container .gallery-responsive {
    border-radius: 6px;
    object-fit: cover;
}

.template-newspage .article-container h1 {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 0.5em;
}

.template-newspage .article-container .meta {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1em;
}

.template-newspage .article-container .intro {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 1.5em;
    color: #555;
}

.template-newspage .article-container .rich-text {
    line-height: 1.6;
    margin-bottom: 2em;
}

.template-newspage .article-container .caption {
    font-size: 0.85rem;
    color: #666;
    font-style: italic;
    margin-top: 0.5em;
}

.template-newspage .sidebar{
    width: min(300px, 95%);
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    position: sticky;
    top: 20px;
}

.template-newspage .sidebar-banner {
    margin-bottom: 20px;
}

.template-newspage .sidebar-section h3{
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #333;
}

.template-newspage .sidebar-news {
    list-style: none;
    padding: 0;
}

.template-newspage .sidebar-news-item {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.template-newspage .sidebar-news-item:last-child {
    border-bottom: none;
}

/* Banner horizontal - dentro do article */
.template-newspage .banner-section {
    margin: 30px 0;
    text-align: center;
}


/* ===== AUTHORS SECTION ===== */
.template-newspage .article-container .authors-section {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin: 30px 0;
    border-left: 4px solid #007bff;
}

.template-newspage .article-container .authors-section h3 {
    margin: 0 0 15px 0;
    color: #495057;
    font-size: 1.1rem;
    font-weight: 600;
}

.template-newspage .article-container .authors-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.template-newspage .article-container .author-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
}

.template-newspage .article-container .author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #dee2e6;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    object-fit: cover;
}

.template-newspage .article-container .author-name {
    font-weight: 500;
    color: #495057;
    font-size: 0.95rem;
}


/* TABLET */
@media (min-width: 641px) and (max-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    body {
        gap: 1.5rem;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .template-newspage .article-container .gallery {
        grid-template-columns: repeat(2, 1fr);
    }
       .homepage-layout {
        grid-template-columns: 1fr 250px;
        gap: 20px;
    }


    
    .hero-section {
        grid-template-columns: 1fr;
    }
    
    .secondary-news {
        flex-direction: row;
        overflow-x: auto;
        gap: 10px;
        padding: 10px 0;
    }
    
    .secondary-item {
        min-width: 250px;
        flex-shrink: 0;
    }
}
/* MOBILE */
@media (max-width: 768px) {
    body {
        gap: 1rem;
    }
    .site-header nav {
        position: sticky;
        top: 0;
        z-index: 1000;
    }
    .container {
        padding: 0 5px;
    }
    
    .nav-logo-container img{
        height: 32px;
        width: auto;
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
    .nav-links > *:nth-child(n+3){
        display: none;
    }
    .nav-links a{
        padding: 6px 8px;
        font-size: 0.90rem;
    }
    .header-images {
        flex-direction: column;
        gap: 10px;
        align-items: center;
        overflow: hidden;
    }

    .template-homepage .news-grid,
    .news-section .news-grid {
        grid-template-columns: 1fr !important;
    }

    .banner-header{
        margin-left: 0;
        max-width: 100%;
        width: 100%;
    }

    .banner-header iframe{
        max-height: 80px;
    }
    
    .banner-header img,
    .header-banner {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        max-height: 80px;
        object-fit: contain; /* Mantém proporção sem cortar */
    }

    .banner-container {
        padding: 0 10px;
        margin-left: 0px;
    }
    
    .banner-wrapper {
        left: 0;
        transform: none;
    }
    
    .banner-img {
        object-fit: contain; /* muda de cover para contain */
    }

    .header-logo {
        max-width: 200px;
        align-self: center;
        margin: 0 auto;
        display: block;
    }
    .nav-content {
        flex-direction: row !important;
        gap: 10px;
        align-items: center;
    }
    
    .nav-links {
        text-align: center;
        flex: 1;
        margin-left: 0px;
        margin-right: 60px;
    }
    
    .search-input {
        display: none;
    }

    .search-form {
        background: transparent;
        padding: 0;
    }

    .current-date {
        display: none;
    }

    .search-container {
        margin-left: auto;
        flex-direction: row;
        gap: 10px;
        align-items: center;
    }

    .template-newspage .article-container {
        width: calc(100% - 20px) !important; /* 10px de cada lado */
        max-width: none !important;
        margin: 5px !important; /* Margem mínima para não grudar nas bordas */
        padding: 15px;
        border-radius: 8px;
        box-sizing: border-box;
    }

    .template-newspage .article-container h1 {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .template-newspage .article-container .meta {
        font-size: 0.85rem;
    }

    .template-newspage .article-container .intro {
        font-size: 1rem;
    }

    .template-newspage .article-container .main-image {
        margin-bottom: 20px;
    }
    
    .template-newspage .article-container .responsive-image {
        border-radius: 6px;
    }

    .template-newspage .article-container .gallery {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .template-newspage .article-container .gallery-responsive {
        border-radius: 4px;
    }

    .template-newspage .article-container .caption {
        font-size: 0.8rem;
    }
    
    .template-newspage .sidebar {
        display: none;
    }

    .tags .tag {
        font-size: 0.75rem;
        padding: 2px 5px;
    }
     .template-homepage main {
        padding: 0 10px;
    }
    
    .homepage-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .hero-section {
        background: none;
        box-shadow: none;
        margin-bottom: 20px;
    }
    
    .hero-layout {
        grid-template-columns: 1fr; 
        gap: 15px;
    }

    .carousel-item{
        height: 250px;
    }

    .carousel-indicators {
    bottom: 5px;
}
    
    .featured-overlay {
        padding: 20px;
    }
    
    .featured-overlay h2 {
        font-size: 1.4rem;
    }
    
    .secondary-news {
        background: none;
        flex-direction: column;
        gap: 15px;
    }
    
    .secondary-item {
        background: none;
        padding: 0;
        border-left: none;
        border-bottom: 1px solid #e9ecef;
        padding-bottom: 15px;
    }
    
    .secondary-item:hover {
        transform: none;
    }
    
    .secondary-item h3 {
        color: #007bff;
        font-weight: 700;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        display: none;
    }
    
    .banner-section {
        margin: 20px -10px; /* Margem negativa para compensar padding do main */
        padding: 0; /* Remove padding interno */
        background: transparent !important; /* Força transparência */
        border-radius: 0 !important; /* Remove bordas */
    }
    
    .banner-section iframe {
        border-radius: 0; /* Remove bordas do iframe */
        width: 100%;
        height: auto;
    }

    .banner-container iframe{
        border: 0;
        width: 100%;
        height: auto;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }
}

/* MOBILE MUITO PEQUENO */
@media (max-width: 480px) {
    /* Layout geral */
    body {
        gap: 0.5rem;
    }
    
    .container {
        padding: 0 5px;
    }
    
    .template-newspage .article-container {
        width: calc(100% - 10px) !important; /* 5px de cada lado */
        margin: 5px !important;
        padding: 16px;
    }

    .template-newspage .article-container h1 {
        font-size: 1.3rem;
    }
    
    /* Header ainda menor */
    .header-logo {
        max-width: 150px;
    }
    
    .header-banner {
        max-height: 60px;
    }
}