/* Reset e base */
* {
    margin: 0;
    padding: 0px;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #ffffff;
    
}

h1 {
    color: #046204;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
.header {
    background: #046204;
    color: white;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    backdrop-filter: blur(10px);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px 0;
    min-height: 60px;
    gap: 20px;
}

.logo {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
}

.logo-image {
    height: 45px;
    width: auto;
}

.weather-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.temperature-display {
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    gap: 8px;
}

.temperature-display::before {
    content: "\f0c2";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 20px;
    opacity: 0.9;
}

.location-text {
    font-size: 10px;
    font-weight: 500;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
    margin-top: 2px;
}

.menu-toggle {
    background: transparent;
    border: none;
    color: white;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-size: 18px;
    font-weight: 500;
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.search-toggle {
    background: transparent;
    border: none;
    color: white;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 16px;
    margin-right: 10px;
}

.search-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.search-form {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    padding: 20px;
    min-width: 300px;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.search-form.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    border-color: #046204;
}

.search-submit {
    width: 100%;
    background: #046204;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

.search-submit:hover {
    background: #034503;
}

.header-actions {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 0;
    flex-shrink: 0;
}

.nav {
    display: none;
    flex: 1;
    margin: 0 20px;
    max-width: calc(100% - 400px);
}

.nav.active {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(4, 98, 4, 0.98);
    backdrop-filter: blur(15px);
    z-index: 1000;
}

.nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 15px;
    max-width: calc(100vw - 400px);
    justify-content: flex-start;
    align-items: center;
}

.nav-list li {
    margin: 0;
}

.nav-list a {
    color: white;
    text-decoration: none;
    padding: 4px 0;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-size: 13px;
}

.nav-list a:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* Main content */
.main {
    margin-top: 90px;
    min-height: calc(100vh - 120px);
}

/* Article styles */
.article-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    background: #ffffff;
    border-radius: 0;
    /* box-shadow: 0 4px 20px rgba(0,0,0,0.1); */
    overflow: hidden;
}

.article-header {
    padding: 20px 20px 15px;
   /* border-bottom: 1px solid #f0f0f0; */
}

.article-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin: 15px 0 10px;
    line-height: 1.3;
}

.article-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.4;
}

.news-category {
    display: inline-block;
    background: #046204;
    color: white;
    padding: 6px 12px;
    border-radius: 0;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.news-date {
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    margin-bottom: 30px;
}

.article-content {
    padding: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.article-content p {
    margin-bottom: 20px;
}

.article-actions {
    padding: 20px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-fallback {
    background: linear-gradient(135deg, #046204 0%, #4caf50 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero-content {
    max-width: 600px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Banner Slider */
.banner-slider {
    position: relative;
    margin-bottom: 0px;
    border-radius: 8px;
    overflow: hidden;
    
    width: 100%;
    max-width: 100%;
}

.hero-section {
    margin-top: 140px;
}

@media (min-width: 768px) {
    .hero-section {
        margin-top: 150px;
    }
}

.banner-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 31.25%; /* Proporção 16:5 para banners (1920x600) */
    min-height: 300px;
}

@media (max-width: 768px) {
    .hero-section {
        margin-top: 80px;
    }

    .banner-slider {
        border-radius: 8px;
        margin-bottom: 20px;
    }

    .banner-container {
        padding-bottom: 45%; /* Reduzir altura em mobile */
        min-height: 180px;
        width: 100%;
        margin: 0;
    }
}

@media (max-width: 480px) {
    .hero-section {
        margin-top: 70px;
    }

    .banner-slider {
        margin-bottom: 15px;
    }

    .banner-container {
        padding-bottom: 40%; /* Reduzir ainda mais em telas pequenas */
        min-height: 150px;
        width: 100%;
        margin: 0;
    }
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-slide.active {
    opacity: 1;
    visibility: visible;
}

.banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}

@media (max-width: 768px) {
    .banner-image {
        object-fit: contain;
        object-position: center;
        background: #f8f9fa;
    }
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
    z-index: 2;
}

.banner-content {
    position: relative;
    z-index: 3;
    color: white;
    text-align: left;
    width: 100%;
    padding: 40px 0;
}

.banner-tag {
    display: inline-block;
    background: rgba(4, 98, 4, 0.9);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.banner-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    line-height: 1.2;
    max-width: 800px;
}

.banner-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(76, 175, 80, 0.9);
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.banner-btn:hover {
    background: rgba(76, 175, 80, 1);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
}

.banner-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 4;
}

.banner-prev, .banner-next {
    background: rgba(255,255,255,0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 0;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #333;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.banner-prev:hover, .banner-next:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.banner-dots {
    display: flex;
    gap: 12px;
}

.banner-dot {
    width: 14px;
    height: 14px;
    border-radius: 0;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.banner-dot.active {
    background: white;
    transform: scale(1.2);
}

.banner-dot:hover {
    background: rgba(255,255,255,0.8);
}

/* Seções */
.featured-section, .news-section {
    padding: 0 0 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 30px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.title-accent {
    color: #046204;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #4caf50, #046204);
    margin: 0 auto;
    border-radius: 2px;
}

/* Grid de Notícias em Destaque - Layout 3x1 */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.featured-main {
    grid-row: auto;
}

.featured-card {
    background: white;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.featured-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

/* Grid de Notícias Regulares - Layout 3x1 */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.news-card {
    background: white;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

/* Componentes dos Cards */
.card-image-wrapper {
    position: relative;
    overflow: hidden;
}

.featured-main .card-image-wrapper {
    height: 240px;
}

.card-image-wrapper {
    height: 240px;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-card:hover .card-image,
.featured-card:hover .card-image {
    transform: scale(1.05);
}

.card-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e0e0e0, #f5f5f5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 3rem;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.3) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.news-card:hover .card-overlay,
.featured-card:hover .card-overlay {
    opacity: 1;
}

.card-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(4, 98, 4, 0.95);
    color: white;
    padding: 8px 16px;
    border-radius: 0;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    backdrop-filter: blur(10px);
    z-index: 2;
}

.card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.featured-main .card-content {
    padding: 25px;
}

.card-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

.featured-main .card-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.card-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.card-title a:hover {
    color: #4caf50;
}

.card-meta {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    color: #888;
    gap: 10px;
}

.card-meta time {
    display: flex;
    align-items: center;
    gap: 6px;
}

.meta-divider {
    opacity: 0.5;
}

.accessibility-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #2e7d32;
    font-size: 12px;
    font-weight: 500;
}

.views-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #666;
    font-size: 12px;
    font-weight: 500;
}

.views-badge i {
    color: #2e7d32;
}

.gallery-link {
    background: rgba(33, 150, 243, 0.1);
    color: #1976d2;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.gallery-link:hover {
    background: rgba(33, 150, 243, 0.2);
    transform: translateY(-1px);
}

/* Estado Vazio */
.empty-state {
    text-align: center;
    padding: 80px 20px;
}

.empty-content {
    max-width: 400px;
    margin: 0 auto;
}

.empty-icon {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 25px;
}

.empty-title {
    font-size: 1.8rem;
    color: #666;
    margin-bottom: 15px;
    font-weight: 600;
}

.empty-text {
    color: #888;
    font-size: 1.1rem;
}

/* Admin styles */
.admin-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 30px;
    border-radius: 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 0;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #4caf50;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 0;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #4caf50, #046204);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #046204, #1b5e20);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
}

.btn-danger {
    background: linear-gradient(135deg, #f44336, #d32f2f);
    color: white;
}

.btn-danger:hover {
    background: linear-gradient(135deg, #d32f2f, #b71c1c);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(244, 67, 54, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, #757575, #424242);
    color: white;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #424242, #212121);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(117, 117, 117, 0.4);
}

.alert {
    padding: 16px 20px;
    border-radius: 0;
    margin-bottom: 25px;
    border-left: 4px solid;
}

.alert-success {
    background: rgba(76, 175, 80, 0.1);
    color: #046204;
    border-left-color: #4caf50;
}

.alert-error {
    background: rgba(244, 67, 54, 0.1);
    color: #d32f2f;
    border-left-color: #f44336;
}

/* ===== POP-UP ===== */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    padding: 20px;
    box-sizing: border-box;
}

.popup-container {
    position: relative;
    max-width: 500px;
    max-height: 400px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: popupFadeIn 0.3s ease-out;
}

@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #333;
    z-index: 10001;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.popup-close:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
    color: #dc3545;
}

.popup-content {
    width: 100%;
    height: 100%;
    position: relative;
}

.popup-image {
    width: 100%;
    height: auto;
    display: block;
    max-width: 100%;
    border-radius: 15px;
}

.popup-desktop {
    display: block;
}

.popup-mobile {
    display: none;
}

/* Responsividade do Pop-up */
@media (max-width: 768px) {
    .popup-container {
        max-width: 80vw;
        max-height: 50vh;
        margin: 0 auto;
    }

    .popup-desktop {
        display: none;
    }

    .popup-mobile {
        display: block;
    }

    .popup-close {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    .popup-overlay {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .popup-container {
        max-width: 85vw;
        max-height: 45vh;
    }

    .popup-close {
        top: 8px;
        right: 8px;
        width: 30px;
        height: 30px;
        font-size: 14px;
    }

    .popup-overlay {
        padding: 10px;
    }
}

/* ===== RODAPÉ ===== */
.footer {
    background: #1a252f;
    color: #8796a5;
    margin-top: 60px;
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-logo-section {
    display: flex;
    justify-content: center;
}

.footer-logo {
    height: 45px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.footer-logo:hover {
    filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(255,255,255,0.3));
    transform: scale(1.05);
}

.footer-social-section {
    display: flex;
    justify-content: center;
}

.social-links-main {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.social-link-main {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    color: #8796a5;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 32px;
}

.social-link-main:hover {
    color: #046204;
    transform: scale(1.2);
}

.social-link-main:hover {
    background: #046204;
    color: white;
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 25px rgba(4, 98, 4, 0.4);
}

.footer-contacts-section {
    display: flex;
    justify-content: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item a {
    color: #8796a5;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid transparent;
}

.contact-item a:hover {
    color: #046204;
    background: rgba(4,98, 4, 0.1);
    border-color: #046204;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #2a3a47;
}

.footer-bottom p {
    margin: 0;
    font-size: 14px;
}

@media (max-width: 768px) {
    .footer-content {
        gap: 25px;
        padding: 0 15px;
    }

    .footer-logo {
        height: 35px;
    }

    .social-links-main {
        gap: 15px;
    }

    .social-link-main {
        width: 70px;
        height: 70px;
        font-size: 36px;
    }

    .contact-info {
        gap: 10px;
    }

    .contact-item a {
        font-size: 14px;
        padding: 6px 12px;
    }
}

/* Menu Mobile Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0,
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 98vw;
    height: 100vh;
    background: linear-gradient(135deg, rgba(4, 98, 4, 0.85) 0%, rgba(46, 125, 50, 0.85) 100%);
    backdrop-filter: blur(15px);
    z-index: 1000;
    overflow-y: auto;
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
}

.mobile-menu-sidebar.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(4, 98, 4, 1);
}

.mobile-menu-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.mobile-menu-logo img {
    height: 26px;
    filter: brightness(0) invert(1);
}

.mobile-menu-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: auto;
    height: 40px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    padding: 0 15px;
    gap: 8px;
    font-weight: 500;
}

.mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.mobile-menu-content {
    padding: 30px 0;
}

.mobile-menu-title {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0 25px 15px;
    margin: 0;
}

.mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-item {
    margin: 0;
}

.mobile-menu-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 25px;
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    position: relative;
    overflow: hidden;
}

.mobile-menu-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.mobile-menu-link:hover::before {
    left: 100%;
}

.mobile-menu-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-left-color: rgba(255, 255, 255, 0.5);
    padding-left: 35px;
}

.mobile-menu-icon {
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

/* Footer do menu mobile com logo e slogan */
.mobile-menu-footer {
    padding: 30px 25px 40px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 20px;
}

.mobile-menu-footer-logo {
    margin-bottom: 1px;
}

.mobile-menu-footer-logo img {
    height: 40px;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.mobile-menu-footer-slogan {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    font-style: italic;
}

/* Ocultar o link Início do menu mobile */
.mobile-menu-item:first-child {
    display: none;
}

/* Ocultar ícones das categorias no menu mobile */
.mobile-menu-item:not(:first-child) .mobile-menu-icon {
    display: none;
}

/* Ajustar gap quando não há ícone */
.mobile-menu-item:not(:first-child) .mobile-menu-link {
    gap: 0;
    padding-left: 25px;
}

.mobile-menu-text {
    flex: 1;
}

.mobile-menu-list .mobile-menu-item:last-child {
    margin-bottom: 30px;
}

/* Animação de entrada dos itens */
.mobile-menu-sidebar.active .mobile-menu-item {
    animation: slideInRight 0.4s ease-out forwards;
}

.mobile-menu-sidebar.active .mobile-menu-item:nth-child(1) { animation-delay: 0.1s; }
.mobile-menu-sidebar.active .mobile-menu-item:nth-child(2) { animation-delay: 0.15s; }
.mobile-menu-sidebar.active .mobile-menu-item:nth-child(3) { animation-delay: 0.2s; }
.mobile-menu-sidebar.active .mobile-menu-item:nth-child(4) { animation-delay: 0.25s; }
.mobile-menu-sidebar.active .mobile-menu-item:nth-child(5) { animation-delay: 0.3s; }
.mobile-menu-sidebar.active .mobile-menu-item:nth-child(6) { animation-delay: 0.35s; }

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .featured-main {
        grid-row: auto;
    }

    .banner-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
        max-width: 100%;
        overflow-x: visible;
    }

    .header-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        padding: 10px 0;
        min-height: 50px;
    }

    .logo {
        order: 1;
        flex-direction: row;
        gap: 10px;
        align-items: center;
        font-size: 16px;
        flex-shrink: 1;
        min-width: 0;
    }

    .logo a {
        display: flex;
        align-items: center;
        min-width: 0;
    }

    .logo-image {
        height: 28px;
        margin-top: 0;
        flex-shrink: 0;
    }

    .weather-info {
        flex-direction: column;
        gap: 1px;
        align-items: center;
        flex-shrink: 0;
        order: 2;
    }

    .temperature-display {
        font-size: 16px;
        line-height: 1;
        margin-top: 2px;
        gap: 5px;
    }

    .temperature-display::before {
        font-size: 14px;
    }

    .location-text {
        font-size: 9px;
    }

    .header-actions {
        order: 3;
        display: flex;
        align-items: center;
        gap: 8px;
        flex-shrink: 0;
    }

    .menu-toggle {
        display: flex;
        position: relative;
        z-index: 1001;
        padding: 3px 4px;
        font-size: 16px;
    }

    .search-toggle {
        display: flex;
        position: relative;
        z-index: 1001;
        padding: 6px 8px;
        font-size: 14px;
    }

    .search-form {
        position: fixed;
        top: 60px;
        left: 15px;
        right: 15px;
        min-width: auto;
        border-radius: 12px;
        z-index: 1002;
    }

    .nav {
        display: none !important;
    }

    .main {
        margin-top: 70px;
    }

    .banner-slider {
        margin: 0;
        border-radius: 0;
        width: 100%;
    }

    .banner-container {
        background: #f8f9fa;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .banner-image {
        object-fit: contain;
        object-position: center;
        width: 100%;
        height: 100%;
        background: #f8f9fa;
    }

    .banner-title {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }

    .banner-btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .featured-section, .news-section {
        padding: 25px 0;
    }

    .section-header {
        margin-bottom: 30px;
    }

    .featured-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .card-content {
        padding: 20px;
    }

    .card-title {
        font-size: 1.2rem;
    }

    .banner-nav {
        bottom: 20px;
        gap: 15px;
    }

    .banner-prev, .banner-next {
        width: 30px;
        height: 30px;
        font-size: 12px;
        border-radius: 0;
    }
}

@media (min-width: 768px) {
    .header-content {
        padding: 15px 0;
        align-items: center;
        min-height: 70px;
    }

    .logo {
        font-size: 22px;
        flex-shrink: 0;
        margin-top: 0;
    }

    .logo-image {
        height: 32px;
    }

    .menu-toggle {
        display: none;
    }

    .nav {
        display: block !important;
        background-color: transparent;
        position: static;
        flex: 1;
        margin: 0 20px 0 40px;
        max-width: none;
        padding-top: 0;
    }

    .nav-list {
        display: flex;
        flex-wrap: wrap;
        gap: 8px 15px;
        padding: 0;
        justify-content: flex-start;
        max-width: 100%;
        align-items: center;
    }

    .nav-list li {
        margin: 0;
    }

    .nav-list a {
        padding: 4px 0;
        border-bottom: none;
        font-size: 11px;
        line-height: 1.4;
    }

    .nav-list a:hover {
        background: transparent;
        color: rgba(255, 255, 255, 0.8);
    }

    .header-actions {
        margin-top: 0;
        flex-shrink: 0;
    }

    .main {
        margin-top: 140px;
    }
}

@media (min-width: 1200px) {
    .news-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .nav-list {
        gap: 10px 18px;
    }

    .nav-list a {
        font-size: 14px;
    }

    .nav {
        margin: 0 30px 0 50px;
        padding-top: 8px;
    }
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.news-card, .featured-card {
    animation: fadeInUp 0.6s ease-out forwards;
}

.news-card:nth-child(2) { animation-delay: 0.1s; }
.news-card:nth-child(3) { animation-delay: 0.2s; }
.news-card:nth-child(4) { animation-delay: 0.3s; }

.search-filters input:focus {
    outline: none;
    border-color: #046204;
    box-shadow: 0 0 0 3px rgba(4, 98, 4, 0.1);
}
.pagination a:hover, .pagination a.active {
    background: #046204;
    color: white;
    border-color: #046204;
}
.page-title {
    margin: 0;
    color: #046204;
    font-size: 24px;
    font-weight: 700;
}
.preview-title {
    color: #046204;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #046204, #046204);
}

.action-btn:hover {
    border-color: #046204;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(4, 98, 4, 0.2);
}

.action-icon {
    font-size: 28px;
    color: #046204;
}
.banner-info h4 {
    margin: 0 0 8px 0;
    color: #046204;
    font-size: 16px;
    font-weight: 600;
}
.news-icon {
    width: 40px;
    height: 40px;
    background: #e8f5e8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #046204;
    font-size: 16px;
}

.category-tag {
    background: #034503;
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 500;
}
.btn-form {
    background: #046204;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin-right: 10px;
}

.btn-form:hover {
    background: #034503;
}
.banner-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-color: #046204;
}
.action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(4, 98, 4, 0.1), transparent);
    transition: left 0.5s ease;
}
.news-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #046204, #2e7d32);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.news-item:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    transform: translateY(-3px);
    border-color: #046204;
}
.news-meta i {
    color: #046204;
}

.accessibility-icon {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #046204 !important;
    font-weight: 500;
}
.btn-secondary:hover {
    background: #e9ecef;
    border-color: #046204;
    color: #046204;
}
/* Estilos para a galeria */
.article-gallery {
    margin: 30px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.gallery-thumbnails {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.thumbnail-item {
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

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

.thumbnail-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    display: block;
}

.thumbnail-caption {
    padding: 8px;
    font-size: 12px;
    color: #666;
    text-align: center;
    background: white;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Modal da galeria */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
}

.gallery-modal-content {
    position: relative;
    margin: auto;
    padding: 20px;
    width: 90%;
    max-width: 800px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.gallery-modal-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
}

.gallery-modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
}

.gallery-modal-close:hover {
    color: #ccc;
}

.gallery-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.8);
    border: none;
    color: #333;
    padding: 15px 20px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.gallery-modal-nav:hover {
    background: rgba(255,255,255,1);
}

.gallery-modal-prev {
    left: 30px;
}

.gallery-modal-next {
    right: 30px;
}

.gallery-modal-caption {
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 16px;
    max-width: 80%;
}
/* Estilos para a visualização da imagem em tamanho grande */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 30px;
    cursor: pointer;
}
/* Estilos para a visualização da imagem em tamanho grande */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 30px;
    cursor: pointer;
}

/* Estilos para dispositivos móveis */
@media (max-width: 768px) {
    .gallery-container {
        gap: 5px;
    }

    .thumbnail-link {
        width: 80px;
    }

    .thumbnail-image {
        height: 150px;
    }
}
@media (max-width: 480px) {
    .gallery-container {
        gap: 3px;
    }

    .thumbnail-link {
        width: 60px;
    }

    .thumbnail-image {
        height: 200px;
    }
}

/* Breadcrumb Navigation */
        .breadcrumb {
            margin-bottom: 20px;
            padding: 10px 0;
        }

        .breadcrumb ol {
            list-style: none;
            padding: 0;
            margin: 0;
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 8px;
            font-size: 14px;
        }

        .breadcrumb li {
            display: flex;
            align-items: center;
        }

        .breadcrumb li:not(:last-child)::after {
            content: '>';
            margin-left: 8px;
            color: #666;
            font-weight: bold;
        }

        .breadcrumb a {
            color: #046204;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .breadcrumb a:hover {
            color: #034503;
            text-decoration: underline;
        }

        .breadcrumb li:last-child span {
            color: #666;
            font-weight: 500;
        }

        @media (max-width: 768px) {
            .breadcrumb {
                padding: 8px 0;
                margin-bottom: 15px;
            }

            .breadcrumb ol {
                font-size: 12px;
                gap: 6px;
            }

            .breadcrumb li:not(:last-child)::after {
                margin-left: 6px;
            }
        }

        /* Mais lidas */
        .mais-lidas-section {
            background: #f8f9fa;
            padding: 30px 20px;
            margin-top: 40px;
            border-radius: 8px;
        }

        .mais-lidas-title {
            color: #046204;
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 25px;
            text-align: center;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .mais-lidas-list {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .mais-lida-item {
            background: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            transition: transform 0.3s ease;
            display: flex;
            flex-direction: row;
            align-items: center;
        }

        .mais-lida-item:hover {
            transform: translateY(-3px);
            box-shadow: 0 4px 15px rgba(0,0,0,0.15);
        }

        .mais-lida-image {
            width: 120px;
            height: 90px;
            overflow: hidden;
            flex-shrink: 0;
            padding-left: 5px;
        }

        .mais-lida-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
        }

        .mais-lida-item:hover .mais-lida-image img {
            transform: scale(1.05);
        }

        .placeholder-image {
            width: 100%;
            height: 100%;
            background: #e9ecef;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #666;
            font-size: 2rem;
        }

        .mais-lida-content {
            padding: 20px;
            flex-grow: 1;
        }

        .mais-lida-categoria {
            display: inline-block;
            background: #046204;
            color: white;
            padding: 4px 8px;
            border-radius: 0;
            font-size: 10px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 10px;
        }

        .mais-lida-titulo {
            margin: 0;
            font-size: 1rem;
            font-weight: 600;
            line-height: 1.3;
        }

        .mais-lida-titulo a {
            color: #333;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .mais-lida-titulo a:hover {
            color: #046204;
        }

       .instagram-post-section {
    margin: 40px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    text-align: center;
}

.instagram-post {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

/* Força total do embed do Instagram */
.instagram-post blockquote.instagram-media {
    float: none !important;
    display: block !important;
    margin: 0 auto !important;
    width: auto !important;
    max-width: 100% !important;
}

        

        /* Share section */
        .share-section {
            padding: 30px;
            border-top: 2px solid #f0f0f0;
            text-align: center;
        }

        .share-buttons {
            display: flex;
            justify-content: center;
            gap: 15px;
            flex-wrap: wrap;
        }

        .share-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            text-decoration: none;
            transition: all 0.3s ease;
            color: white;
        }

        .share-btn svg {
            width: 20px;
            height: 20px;
            fill: currentColor;
        }

        .facebook-btn {
            background: #1877F2;
        }

        .facebook-btn:hover {
            background: #166FE5;
            transform: scale(1.1);
        }

        .whatsapp-btn {
            background: #25D366;
        }

        .whatsapp-btn:hover {
            background: #1DA851;
            transform: scale(1.1);
        }

        .linkedin-btn {
            background: #0A66C2;
        }

        .linkedin-btn:hover {
            background: #004182;
            transform: scale(1.1);
        }

        .twitter-btn {
            background: #000000;
        }

        .twitter-btn:hover {
            background: #333333;
            transform: scale(1.1);
        }

/* Responsividade para notícias */
        @media (max-width: 768px) {
            .article-container {
                margin: 0 10px;
                padding: 0;
            }

            .article-header {
                padding: 15px;
            }

            .article-title {
                font-size: 1.5rem;
            }

            .article-content {
                padding: 15px;
                font-size: 1rem;
                line-height: 1.6;
            }

            .mais-lidas-list {
                gap: 12px;
            }

            .mais-lida-item {
                flex-direction: row;
                align-items: center;
                gap: 12px;
            }

            .mais-lida-image {
                width: 120px;
                height: 90px;
                flex-shrink: 0;
                padding-left: 5px;
            }

            .gallery-modal-nav {
                padding: 10px 15px;
                font-size: 16px;
            }

            .gallery-modal-prev {
                left: 15px;
            }

            .gallery-modal-next {
                right: 15px;
            }

            .share-buttons {
                gap: 10px;
            }

            .share-btn {
                width: 45px;
                height: 45px;
            }
        }

        @media (max-width: 480px) {
            .article-container {
                padding: 0;
                margin: 0 5px;
            }

            .article-header {
                padding: 12px;
            }

            .article-title {
                font-size: 1.3rem;
                line-height: 1.2;
            }

            .article-subtitle {
                font-size: 0.9rem;
            }

            .news-category {
                font-size: 10px;
                padding: 5px 10px;
            }

            .article-content {
                padding: 12px;
                font-size: 0.9rem;
                line-height: 1.5;
            }

            .article-actions {
                padding: 12px;
            }

            .mais-lidas-section {
                padding: 15px;
            }

            .mais-lida-item {
                padding: 12px;
                gap: 12px;
                flex-direction: row;
            }

            .mais-lida-content {
                padding: 15px;
            }

            .mais-lida-image {
                width: 120px;
                
                padding-left: 5px;
            }

            .mais-lida-titulo {
                font-size: 0.85rem;
            }

            .share-section {
                padding: 15px;
            }

            .share-btn {
                width: 35px;
                height: 35px;
            }

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

            .gallery-modal-close {
                top: 10px;
                right: 15px;
                font-size: 30px;
            }

            .gallery-modal-nav {
                padding: 8px 12px;
                font-size: 14px;
            }

            .gallery-modal-prev {
                left: 10px;
            }

            .gallery-modal-next {
                right: 10px;
            }

            .thumbnail-image {
                width: 80px;
                height: 80px;
            }

            .thumbnail-caption {
                max-width: 80px;
                font-size: 11px;
                padding: 5px;
            }
        }

        /* Samsung Galaxy específico */
        @media (max-width: 360px) {
            .article-container {
                margin: 0;
                padding: 6px;
            }

            .article-title {
                font-size: 1.2rem;
            }

            .article-content {
                padding: 10px;
                font-size: 0.85rem;
            }

            .mais-lida-image {
                width: 120px;
                height: 90px;
            }

            .mais-lida-titulo {
                font-size: 0.8rem;
            }
        }

/* Paginação */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.pagination a, .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
    min-width: 40px;
    height: 40px;
    border: 2px solid #e0e0e0;
    background: transparent;
    color: #666;
}

.pagination .btn-primary {
    background: transparent;
    color: #046204;
    border-color: #046204;
}

.pagination .btn-secondary {
    background: transparent;
    color: #666;
    border-color: #e0e0e0;
}

.pagination .btn-secondary:hover {
    background: transparent;
    border-color: #046204;
    color: #046204;
}

.pagination .btn-primary:hover {
    background: transparent;
    border-color: #034503;
    color: #034503;
}

/* Botões de navegação específicos */
.pagination a[rel="prev"], 
.pagination a[rel="next"] {
    padding: 8px 16px;
    background: transparent;
    color: #046204;
    border-color: #046204;
    font-size: 13px;
}

.pagination a[rel="prev"]:hover, 
.pagination a[rel="next"]:hover {
    background: transparent;
    border-color: #034503;
    color: #034503;
}

/* Responsivo para paginação */
@media (max-width: 768px) {
    .pagination {
        gap: 3px;
    }

    .pagination a, .pagination span {
        min-width: 36px;
        height: 36px;
        padding: 6px 10px;
        font-size: 13px;
    }

    .pagination a[rel="prev"], 
    .pagination a[rel="next"] {
        padding: 6px 12px;
        font-size: 12px;
    }
}