@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
    --primary-color: #ffffff;
    --accent-color: #d4af37; /* Gold accent */
    --hover-color: #f1f1f1;
    --bg-dark: #121212;
    --header-height: 100px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --nav-font-size: 0.95rem;
    --dropdown-bg: rgba(18, 18, 18, 0.98);
    --section-bg-light: #efede9;
    --text-dark: #333333;
    --text-muted: #666666;
    --sage-green: #a8b8a8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--primary-color);
    background-color: var(--bg-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Image Preloader Skeleton */
@keyframes img-shimmer {
    0% { background-position: -400px 0; }
    100% { background-position: 400px 0; }
}

.img-preload {
    position: relative;
    background: #2a2a2a;
    overflow: hidden;
}

.img-preload::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.04) 50%, transparent 100%);
    background-size: 400px 100%;
    animation: img-shimmer 1.4s infinite ease-in-out;
    z-index: 1;
}

.img-preload img {
    opacity: 0;
    transition: opacity 0.4s ease;
}

.img-preload.loaded::before {
    display: none;
}

.img-preload.loaded img {
    opacity: 1;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

/* Header & Navigation */
header {
    --header-px: 4rem;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 3vw var(--header-px);
    z-index: 1000;
    background: transparent;
    transition: var(--transition);
}

header.scrolled {
    background: #121212;
    padding: 0.4rem 4rem;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.logo-container, .logo-container a {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo-container img {
    height: 224px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

header.scrolled .logo-container img {
    height: 60px;
}

nav {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 2rem;
    transition: var(--transition);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    transition: var(--transition);
}

.menu-toggle svg {
    display: block;
}

.header-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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

.nav-wrapper {
    display: flex;
    align-items: center;
    gap: 2rem;
    height: 100%;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-size: var(--nav-font-size);
    font-weight: 500;
    padding: 0.5rem 0;
    transition: var(--transition);
    cursor: pointer;
}

.nav-link:hover {
    color: var(--accent-color);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--dropdown-bg);
    min-width: 240px;
    padding: 1rem 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.dropdown-item a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent-color);
    padding-left: 1.75rem;
}

/* Global Components */

@media (max-width: 768px) {
    .main-footer {
        padding: 4rem 2rem 2rem;
    }
    
    .footer-grid {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 3rem;
    }
    
    .footer-col.contact {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 500px;
    height: 85vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: right;
    background: #1a1a1a url('../images/main/cncp-back.webp') center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1400px;
    padding: 0 4rem;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 600;
    max-width: 800px;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.hero p {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Social Icons */
.social-icons {
    display: flex;
    align-items: center;
    gap: 1rem;
    height: 100%;
}

.social-icons a {
    color: white;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icons a:hover {
    color: var(--accent-color);
}

/* Federa��es Section */
.federacoes {
    background: var(--section-bg-light) !important;
    color: var(--text-dark);
    padding: 3rem 4rem 4rem 4rem;
    text-align: center;
    position: relative;
    z-index: 5;
}

.federacoes h2 {
    font-size: 3.5rem;
    font-weight: 500;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.federacoes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem 2rem;
}

.federacao-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
}

.federacao-logo {
    width: 100%;
    height: 320px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.federacao-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.federacao-details {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.section-footer {
    margin-top: 4rem;
    display: flex;
    justify-content: center;
}

/* Global Components */
.btn-more, .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 2.5rem; /* Remove top/bottom padding to use height */
    background: var(--sage-green);
    color: #1a1a1a;
    border: none;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: var(--transition);
    height: 3.5rem; /* Explicit height for perfect vertical centering */
    line-height: 1;
}

.btn-more:hover, .btn-secondary:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Not�cias Section */
.noticias {
    background: #2c2c2c !important;
    padding: 3rem 4rem 4rem 4rem;
    color: white;
}

.noticias-header {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-bottom: 2rem;
}

.noticias-header h2 {
    font-size: 3.5rem;
    font-weight: 500;
    color: var(--sage-green);
}

.noticias-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem 2rem;
}

.noticia-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.noticia-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: #333;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border-radius: 8px;
}

.noticia-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    opacity: 0.9;
}

.noticia-card:hover .noticia-image img {
    transform: scale(1.05);
    opacity: 1;
}

.noticia-date {
    display: block;
    font-size: 0.85rem;
    color: var(--accent-color);
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.noticia-card h3 {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
    height: 3.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: var(--transition);
}

.noticia-card:hover h3 {
    color: var(--accent-color);
}

/* Eventos Section */
.eventos {
    background: var(--section-bg-light) !important;
    padding: 3rem 4rem 4rem 4rem;
    color: var(--text-dark);
}

.eventos-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

.eventos-header h2 {
    font-size: 3.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.eventos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem 2rem;
}

.eventos-grid--single {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
}

.evento-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.evento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.evento-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.evento-content {
    padding: 2rem;
}

.evento-date {
    display: block;
    font-size: 0.85rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.evento-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-dark);
    transition: var(--transition);
}

.evento-card:hover h3 {
    color: var(--accent-color);
}

.evento-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.evento-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.evento-location {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* Revista ALVA Section */
.revista-alva {
    position: relative;
    padding: 6rem 4rem;
    background: url('../images/alva/back.webp') center/cover no-repeat;
    overflow: hidden;
}


.revista-alva .container {
    position: relative;
    z-index: 2;
}

.revista-content {
    display: flex;
    align-items: center;
    gap: 6rem;
}

.revista-text {
    flex: 1.2;
    color: white;
}

.revista-text span {
    color: var(--accent-color);
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.95rem;
    display: table;
    margin-bottom: 1rem;
    background: rgba(0, 0, 0, 0.4);
    padding: 0.1rem 0.5rem; /* Minimal padding */
    border-radius: 4px;
}

.revista-text h2 {
    font-size: 4rem;
    font-weight: 500;
    margin-bottom: 2rem;
    color: white;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    display: table; /* Switched to table to keep background tight to text */
    padding: 0 0.8rem; /* Minimal padding */
    border-radius: 6px;
}

.revista-text p {
    font-size: 1.2rem;
    font-style: italic; /* Italian quote style for the new phrase */
    font-weight: 400;
    margin-bottom: 3rem;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    padding: 0.5rem 0.8rem; /* Minimal padding */
    border-radius: 6px;
    max-width: 600px;
    line-height: 1.6;
}

.revista-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.revista-visual a {
    display: block;
    cursor: pointer;
}

.revista-visual img {
    max-width: 450px;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    transition: var(--transition);
    transform: perspective(1000px) rotateY(-5deg);
}

.revista-alva:hover .revista-visual img {
    transform: perspective(1000px) rotateY(0deg) scale(1.05);
}

@media (max-width: 1024px) {
    .revista-content {
        flex-direction: column;
        text-align: center;
        gap: 4rem;
    }
    .revista-text {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .revista-text h2 {
        font-size: 3rem;
    }
    .revista-buttons {
        justify-content: center;
    }
}

.revista-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 3rem;
}


@media (max-width: 768px) {
    .revista-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    header { 
        --header-px: 2rem;
        padding: 0.4rem var(--header-px); 
        align-items: center;
    }
    
    header:not(.scrolled) {
        background: #121212;
        backdrop-filter: blur(10px);
    }

    .logo-container img {
        height: 60px;
    }

    header.scrolled .logo-container img {
        height: 60px;
    }

    .hero h1 { font-size: 3rem; }
    
    .menu-toggle {
        display: block;
    }

    .nav-wrapper {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 350px;
        height: 100vh;
        background: var(--bg-dark);
        flex-direction: column;
        padding: 6rem 3rem;
        gap: 2rem;
        z-index: 999;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
        display: flex;
        overflow-y: auto;
        align-items: flex-start;
    }

    .nav-wrapper.active {
        right: 0;
    }

    .nav-menu {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    .nav-link {
        font-size: 1.1rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 1.2rem 0;
    }

    /* Chevron indicator for items with sub-menus */
    span.nav-link::after {
        content: '';
        display: block;
        width: 8px;
        height: 8px;
        border-right: 2px solid var(--accent-color);
        border-bottom: 2px solid var(--accent-color);
        transform: rotate(45deg);
        transition: var(--transition);
        margin-right: 8px;
        margin-top: -4px;
    }

    .nav-item.active span.nav-link::after,
    .nav-item.open span.nav-link::after {
        transform: rotate(-135deg);
        margin-top: 4px;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(255, 255, 255, 0.03);
        box-shadow: none;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        border-radius: 0;
    }

    .nav-item:hover .dropdown-menu,
    .nav-item.open .dropdown-menu,
    .nav-item.active .dropdown-menu {
        max-height: 800px; /* Increased for deeper menus */
        padding-bottom: 1rem;
    }

    .dropdown-item a {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }

    .social-icons {
        margin-top: 2rem;
        justify-content: flex-start;
        padding-bottom: 2rem;
    }

    .federacoes-grid, .noticias-grid, .eventos-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    header,
    header.scrolled {
        --header-px: 1.5rem;
        padding: 0.4rem var(--header-px);
    }

    .hero {
        text-align: center;
        background-position: 70% center;
    }

    .hero-content {
        align-items: center;
        padding: 0 2rem;
    }

    .hero h1 {
        font-size: 2.5rem;
        max-width: 100%;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .nav-menu {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .federacoes, .noticias, .eventos { padding: 4rem 2rem; }
    .federacoes h2, .noticias-header h2, .eventos-header h2 { font-size: 2.2rem; }
    .federacoes-grid, .noticias-grid, .eventos-grid { grid-template-columns: 1fr; }
}

/* Cada Ca�ador Section */
.cacador-vigilante {
    background: var(--section-bg-light);
    padding: 4rem 4rem;
}

.vigilante-wrapper {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.vigilante-image {
    flex: 0 0 450px;
    display: flex;
    justify-content: center;
}

.vigilante-image img {
    max-width: 100%;
    height: auto;
}

.vigilante-text {
    flex: 1;
}

.vigilante-block {
    margin-bottom: 2rem;
}

.vigilante-block:last-child {
    margin-bottom: 0;
}

.vigilante-block h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: #222;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.vigilante-block p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
}

/* Footer Styles */
.main-footer {
    background: #1a1a1a;
    color: #fff;
    padding: 3.5rem 0 2rem;
    position: relative;
    z-index: 10;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 2rem;
}

.footer-col.brand {
    max-width: 400px;
}

.footer-col.brand img {
    height: 120px;
    width: auto;
    margin-bottom: 1.5rem;
    display: block;
}

.footer-col.brand p {
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.4;
}

.footer-col.contact {
    text-align: right;
}

.social-links {
    margin-bottom: 1.5rem;
    display: flex;
    gap: 1.5rem;
    justify-content: flex-end;
}

.social-links a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: opacity 0.3s;
    opacity: 0.8;
}

.social-links a:hover {
    opacity: 1;
}

.contact-info p {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.contact-info a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 1024px) {
    .vigilante-wrapper {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .vigilante-image {
        flex: none;
        width: 100%;
        max-width: 450px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .main-footer {
        padding: 4rem 2rem 2rem;
    }
    
    .footer-grid {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 3rem;
    }

    .footer-col.brand img {
        margin: 0 auto 1.5rem;
    }
    
    .footer-col.contact { text-align: center; }
    .social-links { justify-content: center; }
}

/* ---------------------------------------------------
   Mensagem do Presidente Page
--------------------------------------------------- */
body.page-presidente {
    background: #2b2b2b;
    color: #eaeaea;
}

/* Force condensed header on subpages */
body.page-presidente header {
    background: #1a1a1a !important;
    padding: 0.4rem var(--header-px, 4rem) !important;
    align-items: center !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2) !important;
}

body.page-presidente header .logo-container img {
    height: 60px !important;
}

.presidente-section {
    padding: 8rem 2rem 5rem; 
    max-width: 1300px; /* Restored to original large size */
    margin: 0 auto;
}

.presidente-container {
    display: block; /* Switch from flex to block for text to wrap */
}

/* Clearfix for the container */
.presidente-container::after {
    content: "";
    display: table;
    clear: both;
}

.presidente-image-col {
    float: left; /* Float the image to the left */
    width: 35%; /* Image scales identically to the original layout */
    max-width: 450px;
    margin: 0.6rem 3rem 1.5rem 0; /* Aligned with top of H1, tight margins */
}

.presidente-image-col img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    display: block;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.presidente-image-caption {
    margin-top: 1rem;
    font-size: 0.95rem;
    color: #999;
    font-style: italic;
    line-height: 1.4;
}

/* Text styles directly inside container now */
.presidente-container h1 {
    font-size: 2.6rem; /* Slightly smaller title */
    line-height: 1.3;
    margin-bottom: 2rem;
    font-weight: 500;
    color: #fff;
    /* You can decide if the H1 should clear the float. Usually you don't. */
}

.presidente-container p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #cccccc;
}

.presidente-container p:last-child {
    margin-bottom: 0;
}

.presidente-signature {
    margin-top: 3rem;
    font-style: italic;
    color: #aaa;
}

@media (max-width: 1024px) {
    .presidente-image-col {
        margin-right: 3rem;
    }
    
    .presidente-container h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .presidente-section {
        padding: 8rem 2rem 3rem;
    }

    .presidente-image-col {
        float: none;
        width: 100%;
        max-width: 500px;
        margin: 0 auto 3rem;
    }
    
    .presidente-container h1 {
        font-size: 2.2rem;
    }
}

/* ---------------------------------------------------
   �rg�os Sociais Page
--------------------------------------------------- */
body.page-orgaos {
    background: #2b2b2b;
    color: #eaeaea;
    position: relative;
    overflow-x: hidden;
}

body.page-orgaos header {
    background: #1a1a1a !important;
    padding: 0.4rem var(--header-px, 4rem) !important;
    align-items: center !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2) !important;
}

body.page-orgaos header .logo-container img {
    height: 60px !important;
}

.orgaos-section {
    padding: 8rem 2rem 5rem;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.orgaos-watermark {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.025; /* Made slightly fainter due to larger size */
    pointer-events: none;
    z-index: 0;
}

.orgaos-watermark img {
    height: 85vh;
    max-width: 90vw;
    object-fit: contain;
    filter: grayscale(100%);
}

/* ---------------------------------------------------
   Hist�ria Page
--------------------------------------------------- */
body.page-historia {
    background: #2b2b2b;
    color: #eaeaea;
}

body.page-historia header {
    background: #1a1a1a !important;
    padding: 0.4rem var(--header-px, 4rem) !important;
    align-items: center !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2) !important;
}

body.page-historia header .logo-container img {
    height: 60px !important;
}

.historia-section {
    padding: 8rem 2rem 5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.historia-container {
    background: transparent;
}

.historia-image-col {
    float: left;
    width: 250px;
    margin-right: 4rem;
    margin-bottom: 2rem;
    text-align: center;
}

.historia-image-col img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0px 10px 15px rgba(0,0,0,0.4));
}

.historia-image-col h1 {
    font-size: 2.2rem;
    color: #b08d57; /* Soft green from the screenshot */
    margin: 0;
    font-weight: 600;
}

.historia-container h2 {
    font-size: 1.3rem;
    color: #b08d57;
    margin-bottom: 2rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-top: 1rem;
}

.historia-container p {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.8rem;
    color: #dfdfdf;
}

.historia-list {
    margin-left: 2rem;
    margin-bottom: 1.8rem;
    color: #dfdfdf;
}

.historia-list li {
    font-size: 1.03rem;
    margin-bottom: 0.8rem;
    line-height: 1.5;
    font-weight: 600;
}

.historia-quote {
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 2rem 0;
    padding-left: 1rem;
    font-style: italic;
    color: #ccc;
    border-left: 3px solid #b08d57;
}

@media (max-width: 1024px) {
    .historia-image-col {
        margin-right: 3rem;
    }
}

@media (max-width: 768px) {
    .historia-section {
        padding: 8rem 2rem 3rem;
    }

    .historia-image-col {
        float: none;
        width: 100%;
        max-width: 300px;
        margin: 0 auto 3rem;
    }
    
    .historia-container h2 {
        text-align: center;
    }
}

.orgaos-header {
    text-align: center;
    margin-bottom: 4rem;
}

.orgaos-header h1 {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.orgaos-header h2 {
    font-size: 1.5rem;
    color: #b08d57;
    font-weight: 400;
}

.board-group {
    margin-bottom: 4rem;
    background: rgba(30,30,30,0.6);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
}

.board-group h3 {
    background: #1a1a1a;
    padding: 1.5rem 2rem;
    font-size: 1.25rem;
    color: #fff;
    font-weight: 600;
    margin: 0;
    border-bottom: 2px solid #b08d57;
    letter-spacing: 1px;
}

.board-table {
    display: flex;
    flex-direction: column;
}

.board-row {
    display: grid;
    grid-template-columns: 200px 1fr 200px;
    padding: 1.25rem 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: background 0.3s ease;
}

.board-row:last-child {
    border-bottom: none;
}

.board-row:hover:not(.header-row) {
    background: rgba(255,255,255,0.03);
}

.header-row {
    display: none;
}

.highlight-row {
    background: rgba(176, 141, 87, 0.05);
}

.highlight-row:hover:not(.header-row) {
    background: rgba(176, 141, 87, 0.1);
}

.cell {
    display: flex;
    align-items: center;
}

.cell.role {
    color: #b08d57;
    font-weight: 500;
}

.cell.name {
    color: #eaeaea;
    font-size: 1.05rem;
}

.cell.fed {
    color: #888;
    font-size: 0.95rem;
    justify-content: flex-end;
    text-align: right;
}

@media (max-width: 768px) {
    .board-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        padding: 1.5rem;
    }
    
    .header-row {
        display: none;
    }
    
    .cell.fed {
        justify-content: flex-start;
        text-align: left;
        font-size: 0.85rem;
    }
    
    .orgaos-header h1 {
        font-size: 2.2rem;
    }
}

/* ---------------------------------------------------
   Estatutos Page
--------------------------------------------------- */
body.page-estatutos {
    background: #2b2b2b;
    color: #eaeaea;
}

body.page-estatutos header {
    background: #1a1a1a !important;
    padding: 0.4rem var(--header-px, 4rem) !important;
    align-items: center !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2) !important;
}

body.page-estatutos header .logo-container img {
    height: 60px !important;
}

.estatutos-section {
    padding: 8rem 2rem 5rem;
    max-width: 900px;
    margin: 0 auto;
}

.estatutos-header {
    text-align: center;
    margin-bottom: 3rem;
}

.estatutos-header h1 {
    font-size: 3rem;
    color: #fff;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.estatutos-subtitle {
    font-size: 1.1rem;
    color: #b08d57;
    font-weight: 400;
    margin-bottom: 2.5rem;
}

/* PDF Download Banner */
.estatutos-download-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    background: linear-gradient(135deg, rgba(176,141,87,0.15), rgba(176,141,87,0.05));
    border: 1px solid rgba(176,141,87,0.4);
    border-radius: 10px;
    padding: 1.5rem 2rem;
    margin-bottom: 0;
}

.download-banner-text {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    color: #e0c98a;
}

.download-banner-text div {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    text-align: left;
}

.download-banner-text strong {
    font-size: 1.05rem;
    color: #fff;
}

.download-banner-text span {
    font-size: 0.9rem;
    color: #999;
}

.btn-download-pdf {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: #b08d57;
    color: #fff;
    text-decoration: none;
    padding: 0.85rem 1.75rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    transition: background 0.3s ease, transform 0.2s ease;
    flex-shrink: 0;
}

.btn-download-pdf:hover {
    background: #c9a468;
    transform: translateY(-2px);
}

/* Body Content */
.estatutos-body {
    margin-top: 3.5rem;
}

.estatutos-chapter {
    text-align: center;
    margin: 3rem 0 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(176,141,87,0.25);
}

.estatutos-chapter h2 {
    font-size: 1.3rem;
    color: #b08d57;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 0.3rem;
}

.estatutos-chapter h3 {
    font-size: 1rem;
    color: #b08d57;
    font-weight: 600;
    letter-spacing: 1px;
}

.estatutos-article {
    margin-bottom: 2.5rem;
}

.estatutos-article h4 {
    font-size: 1.1rem;
    color: #fff;
    font-weight: 600;
    text-align: center;
    margin-bottom: 0.25rem;
}

.estatutos-article h5 {
    font-size: 1rem;
    color: #ccc;
    font-weight: 500;
    font-style: italic;
    text-align: center;
    margin-bottom: 1.2rem;
}

.estatutos-article p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #dfdfdf;
    margin-bottom: 1rem;
    text-align: justify;
}

/* Bottom Notice */
.estatutos-more-notice {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    color: #888;
    font-size: 0.95rem;
    margin-top: 1rem;
}

.estatutos-more-notice svg {
    flex-shrink: 0;
    color: #b08d57;
}

@media (max-width: 768px) {
    .estatutos-section {
        padding: 8rem 1.5rem 3rem;
    }

    .estatutos-download-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .btn-download-pdf {
        width: 100%;
        justify-content: center;
    }

    .estatutos-header h1 {
        font-size: 2.2rem;
    }
}

/* Estatutos extra element styles */
.estatutos-intro-note {
    font-size: 0.9rem;
    color: #777;
    font-style: italic;
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.estatutos-section-label {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #888;
    margin-bottom: 0.4rem;
}

.estatutos-numbered-list {
    list-style: decimal;
    padding-left: 2rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.estatutos-numbered-list li {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #dfdfdf;
    margin-bottom: 0.75rem;
    text-align: justify;
}

.estatutos-organs-list {
    list-style: none;
    padding: 0;
    margin-top: 0.75rem;
}

.estatutos-organs-list li {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #dfdfdf;
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.organ-numeral {
    color: #b08d57;
    font-weight: 700;
    min-width: 2.5rem;
    font-variant-numeric: tabular-nums;
}

.estatutos-indent {
    padding-left: 1.5rem;
    margin-bottom: 0.5rem !important;
    color: #ccc !important;
}

.estatutos-article-incomplete {
    color: #666;
    font-size: 0.95rem;
    font-style: italic;
}

/* ---------------------------------------------------
   Atividades Page
--------------------------------------------------- */
body.page-atividades {
    background: #2b2b2b;
    color: #eaeaea;
}

body.page-atividades header {
    background: #1a1a1a !important;
    padding: 0.4rem var(--header-px, 4rem) !important;
    align-items: center !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2) !important;
}

body.page-atividades header .logo-container img {
    height: 60px !important;
}

.atividades-section {
    padding: 8rem 4rem 5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.atividades-container::after {
    content: '';
    display: table;
    clear: both;
}

.atividades-img {
    float: left;
    width: 420px;
    height: 560px;
    object-fit: cover;
    object-position: center;
    border-radius: 4px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
    margin-right: 4rem;
    margin-bottom: 2rem;
}

.atividades-title {
    font-size: 3rem;
    color: #b08d57;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.atividades-text {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #dfdfdf;
    margin-bottom: 1.2rem;
    text-align: justify;
}

.atividades-lead {
    font-size: 1.05rem;
    font-weight: 600;
    color: #eaeaea;
    margin-bottom: 0.75rem;
}

.atividades-list {
    list-style: disc;
    padding-left: 1.4rem;
    color: #dfdfdf;
}

.atividades-list li {
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 1rem;
    text-align: justify;
}

@media (max-width: 900px) {
    .atividades-section {
        padding: 8rem 2rem 3rem;
    }

    .atividades-img {
        float: none;
        display: block;
        width: 100%;
        max-width: 420px;
        height: auto;
        margin: 0 auto 2rem;
    }

    .atividades-title {
        text-align: center;
    }
}



/* ---------------------------------------------------
   Legislacao Pages
--------------------------------------------------- */
body.page-legislacao {
    background: #2b2b2b;
    color: #eaeaea;
}

body.page-legislacao header {
    background: #1a1a1a !important;
    padding: 0.4rem var(--header-px, 4rem) !important;
    align-items: center !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2) !important;
}

body.page-legislacao header .logo-container img {
    height: 60px !important;
}

.legislacao-section {
    padding: 8rem 4rem 5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.legislacao-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.legislacao-header h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #b08d57;
    letter-spacing: 1px;
}

.legislacao-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.leg-card {
    background: #333;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 6px;
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.leg-card:hover {
    border-color: rgba(164,196,125,0.3);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.leg-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.5;
    margin: 0;
    text-align: center;
}

.leg-card p {
    font-size: 0.9rem;
    line-height: 1.65;
    color: #bbb;
    margin: 0;
    flex: 1;
    text-align: center;
}

.leg-link {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #b08d57;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
    align-self: center;
}

.leg-link:hover {
    color: #c5e09b;
}

@media (max-width: 900px) {
    .legislacao-section {
        padding: 7rem 2rem 3rem;
    }
    .legislacao-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 580px) {
    .legislacao-grid {
        grid-template-columns: 1fr;
    }
    .legislacao-header h1 {
        font-size: 2rem;
    }
}

/* ---------------------------------------------------
   Active Nav Link
--------------------------------------------------- */
.nav-item.active > .nav-link,
.nav-item.active > span.nav-link {
    color: #b08d57 !important;
}

.leg-grid-1col {
    grid-template-columns: 1fr !important;
    max-width: 680px;
    margin: 0 auto;
}

.leg-grid-1col .leg-card {
    padding: 2.5rem 3rem;
}

.dropdown-item.active > a {
    color: #b08d57 !important;
    font-weight: 600;
}

.dropdown-item a.active-sub {
    color: #b08d57 !important;
    font-weight: 600;
}

/* ---------------------------------------------------
   Programas
--------------------------------------------------- */
.page-programas {
    background-color: #2b2b2b;
    color: #dfdfdf;
}

.programas-section {
    padding: 120px 2rem 5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.programas-header {
    text-align: center;
    margin-bottom: 4rem;
}

.programas-header h1 {
    font-size: 2.5rem;
    color: #b08d57;
    margin-bottom: 1rem;
}

.programa-item {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 5rem;
}

.programa-image {
    flex: 0 0 350px;
}

.programa-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.programa-content {
    flex: 1;
}

.programa-content h3 {
    font-size: 1.4rem;
    color: #b08d57; /* Matching screenshot header color */
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.programa-content p {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: #dfdfdf;
}

.programa-link {
    display: inline-block;
    color: #b08d57; /* Matching screenshot link color */
    text-decoration: underline;
    font-size: 1.05rem;
    transition: color 0.3s;
}

.programa-link:hover {
    color: #fff;
}

@media (max-width: 900px) {
    .programa-item {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .programa-image {
        flex: 0 0 auto;
        max-width: 300px;
        margin: 0 auto;
    }
}

body.page-programas header, body.page-publicacoes header {
    background: #1a1a1a !important;
    padding: 0.4rem var(--header-px, 4rem) !important;
    align-items: center !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2) !important;
}

body.page-programas header .logo-container img, body.page-publicacoes header .logo-container img {
    height: 60px !important;
}

/* ---------------------------------------------------
   Publica��es
--------------------------------------------------- */
.page-publicacoes {
    background-color: #2b2b2b;
    color: #dfdfdf;
}

.publicacoes-section {
    padding: 8rem 2rem 5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.publicacoes-header {
    text-align: center;
    margin-bottom: 5rem;
}

.publicacoes-header h1 {
    font-size: 2.5rem;
    color: #b08d57;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.publicacoes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.pub-item {
    background: #333;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 6px;
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
    text-align: center;
}

.pub-item:hover {
    border-color: rgba(176,141,87,0.3); /* gold hover */
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.pub-item h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.5;
    margin: 0;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pub-link {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #b08d57;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
    align-self: center;
}

.pub-link:hover {
    color: #c5e09b;
}

@media (max-width: 900px) {
    .publicacoes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .publicacoes-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------------------------------------------------
   Not�cias List Page
--------------------------------------------------- */
body.page-noticias {
    background: #2b2b2b;
    color: #eaeaea;
}

body.page-noticias header {
    background: #1a1a1a !important;
    padding: 0.4rem var(--header-px, 4rem) !important;
    align-items: center !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2) !important;
}

body.page-noticias header .logo-container img {
    height: 60px !important;
}

.noticias-page-section {
    padding: 8rem 4rem 5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.noticias-page-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.noticias-page-header h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #b08d57;
    letter-spacing: 1px;
}

.noticias-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.noticias-page-card {
    background: #333;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: transform 0.2s, box-shadow 0.2s;
}

.noticias-page-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.noticias-page-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.noticias-page-card-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #222;
}

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

.noticias-page-card:hover .noticias-page-card-image img {
    transform: scale(1.05);
}

.noticias-page-card-body {
    padding: 1.5rem;
}

.noticias-page-card-date {
    display: block;
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.noticias-page-card-body h2 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.noticias-page-card-body p {
    font-size: 0.9rem;
    color: #aaa;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.noticias-page-card-readmore {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: #aaa;
    padding: 0.45rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.noticias-page-card:hover .noticias-page-card-readmore {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

.noticias-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.noticias-pagination-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #aaa;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.noticias-pagination-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

.noticias-pagination-btn--active {
    background: #b08d57;
    color: #fff;
    border-color: #b08d57;
}

.noticias-page-empty {
    text-align: center;
    padding: 4rem 0;
    color: #999;
    font-size: 1.1rem;
}

@media (max-width: 1024px) {
    .noticias-page-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .noticias-page-section {
        padding: 8rem 1.5rem 3rem;
    }

    .noticias-page-grid {
        grid-template-columns: 1fr;
    }

    .noticias-page-header h1 {
        font-size: 2rem;
    }
}

/* ---------------------------------------------------
   Single News Page
--------------------------------------------------- */
body.page-noticia-single {
    background: #2b2b2b;
    color: #eaeaea;
}

body.page-noticia-single header {
    background: #1a1a1a !important;
    padding: 0.4rem var(--header-px, 4rem) !important;
    align-items: center !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2) !important;
}

body.page-noticia-single header .logo-container img {
    height: 60px !important;
}

.noticia-single {
    padding-top: 4rem;
}

.noticia-single-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2.5rem 2rem 5rem;
}

.noticia-single-back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: #b08d57;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
    margin-bottom: 2rem;
}

.noticia-single-back:hover {
    color: #8a6d3b;
}

.noticia-single-content h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

.noticia-single-date {
    display: block;
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 2rem;
}

.noticia-single-image {
    margin-bottom: 2rem;
    border-radius: 6px;
    overflow: hidden;
}

.noticia-single-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
}

.noticia-single-body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #ddd;
}

.noticia-single-body p {
    margin-bottom: 1.25rem;
}

.noticia-single-body a {
    color: #b08d57;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.noticia-single-body a:hover {
    color: #8a6d3b;
}

.noticia-single-body img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 1.5rem 0;
}

.noticia-single-body blockquote {
    border-left: 3px solid #b08d57;
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    color: #aaa;
    font-style: italic;
}

/* News Image Slider */
.news-slider {
    margin-bottom: 2rem;
}

.news-slider-main {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    background: #222;
}

.news-slider-main img {
    width: 100%;
    height: auto;
    display: block;
}

.news-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    padding: 0;
}

.news-slider-arrow:hover {
    background: rgba(0, 0, 0, 0.8);
}

.news-slider-prev {
    left: 0.75rem;
}

.news-slider-next {
    right: 0.75rem;
}

.news-slider-thumbs {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.15) transparent;
}

.news-slider-thumbs::-webkit-scrollbar {
    height: 4px;
}

.news-slider-thumbs::-webkit-scrollbar-track {
    background: transparent;
}

.news-slider-thumbs::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.15);
    border-radius: 2px;
}

.news-slider-thumb {
    flex-shrink: 0;
    width: 100px;
    height: 75px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s, opacity 0.2s;
    opacity: 0.5;
}

.news-slider-thumb:hover {
    opacity: 0.8;
}

.news-slider-thumb.active {
    border-color: #b08d57;
    opacity: 1;
}

.news-slider-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .news-slider-thumb {
        width: 80px;
        height: 60px;
    }

    .news-slider-arrow {
        width: 32px;
        height: 32px;
    }

    .news-slider-arrow svg {
        width: 20px;
        height: 20px;
    }
}

.noticia-single-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.noticia-single-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: #b08d57;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.noticia-single-back-btn:hover {
    color: #8a6d3b;
}

.noticia-single-notfound {
    text-align: center;
    padding: 12rem 2rem 5rem;
}

.noticia-single-notfound h1 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 1rem;
}

.noticia-single-notfound p {
    color: #999;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .noticia-single-content {
        padding: 2rem 1.5rem 4rem;
    }

    .noticia-single-content h1 {
        font-size: 1.6rem;
    }
}

/* ---------------------------------------------------
   Eventos List Page
--------------------------------------------------- */
body.page-eventos-list {
    background: #2b2b2b;
    color: #eaeaea;
}

body.page-eventos-list header {
    background: #1a1a1a !important;
    padding: 0.4rem var(--header-px, 4rem) !important;
    align-items: center !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2) !important;
}

body.page-eventos-list header .logo-container img {
    height: 60px !important;
}

.eventos-page-section {
    padding: 8rem 4rem 5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.eventos-page-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.eventos-page-header h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #b08d57;
    letter-spacing: 1px;
}

.eventos-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.eventos-page-grid--single {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
}

.eventos-page-card {
    background: #333;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: transform 0.2s, box-shadow 0.2s;
}

.eventos-page-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.eventos-page-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.eventos-page-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #222;
}

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

.eventos-page-card:hover .eventos-page-card-image img {
    transform: scale(1.05);
}

.eventos-page-card-body {
    padding: 1.5rem;
}

.eventos-page-card-date {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: #b08d57;
    margin-bottom: 0.5rem;
}

.eventos-page-card-body h2 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.eventos-page-card-body p {
    font-size: 0.9rem;
    color: #aaa;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.eventos-page-card-readmore {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: #aaa;
    padding: 0.45rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.eventos-page-card:hover .eventos-page-card-readmore {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

.eventos-page-empty {
    text-align: center;
    padding: 5rem 2rem;
    max-width: 500px;
    margin: 0 auto;
}

.eventos-page-empty > svg {
    margin-bottom: 1.5rem;
    opacity: 0.7;
}

.eventos-page-empty h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.75rem;
}

.eventos-page-empty p {
    font-size: 1rem;
    color: #999;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.eventos-page-empty-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: #999;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    line-height: 1;
    transition: all 0.25s ease;
}

.eventos-page-empty-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 1024px) {
    .eventos-page-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .eventos-page-section {
        padding: 8rem 1.5rem 3rem;
    }

    .eventos-page-grid {
        grid-template-columns: 1fr;
    }

    .eventos-page-header h1 {
        font-size: 2rem;
    }
}

/* ---------------------------------------------------
   Single Event Page
--------------------------------------------------- */
body.page-evento-single {
    background: #2b2b2b;
    color: #eaeaea;
}

body.page-evento-single header {
    background: #1a1a1a !important;
    padding: 0.4rem var(--header-px, 4rem) !important;
    align-items: center !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2) !important;
}

body.page-evento-single header .logo-container img {
    height: 60px !important;
}

.evento-single {
    padding-top: 4rem;
}

.evento-single-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2.5rem 2rem 5rem;
}

.evento-single-back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: #b08d57;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
    margin-bottom: 2rem;
}

.evento-single-back:hover {
    color: #e0c98a;
}

.evento-single-content h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

.evento-single-date {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.95rem;
    color: #b08d57;
    margin-bottom: 2rem;
}

.evento-single-image {
    margin-bottom: 2rem;
    border-radius: 6px;
    overflow: hidden;
}

.evento-single-image img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
    image-rendering: -webkit-optimize-contrast;
}

.evento-single-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.evento-single-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    text-decoration: none;
    color: #aaa;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.evento-single-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

.evento-single-btn--reserve {
    background: #b08d57;
    color: #fff;
    border-color: #b08d57;
}

.evento-single-btn--reserve:hover {
    background: #c9a265;
    border-color: #c9a265;
    color: #fff;
}

.evento-single-body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #ddd;
}

.evento-single-body p {
    margin-bottom: 1.25rem;
}

.evento-single-body a {
    color: #b08d57;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.evento-single-body a:hover {
    color: #e0c98a;
}

.evento-single-body img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 1.5rem 0;
}

.evento-single-gallery {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.evento-single-gallery h3 {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 1.5rem;
}

.evento-single-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.evento-single-gallery-grid a {
    display: block;
    border-radius: 6px;
    overflow: hidden;
}

.evento-single-gallery-grid img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.evento-single-gallery-grid a:hover img {
    transform: scale(1.05);
}

.evento-single-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.evento-single-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: #b08d57;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.evento-single-back-btn:hover {
    color: #e0c98a;
}

.evento-single-notfound {
    text-align: center;
    padding: 12rem 2rem 5rem;
}

.evento-single-notfound h1 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 1rem;
}

.evento-single-notfound p {
    color: #999;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .evento-single-content {
        padding: 2rem 1.5rem 4rem;
    }

    .evento-single-content h1 {
        font-size: 1.6rem;
    }

    .evento-single-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .evento-single-actions {
        flex-direction: column;
    }
}

/* ---------------------------------------------------
   Revista ALVA Page
--------------------------------------------------- */
body.page-revista-alva {
    background: #2b2b2b;
    color: #eaeaea;
}

body.page-revista-alva header {
    background: #1a1a1a !important;
    padding: 0.4rem var(--header-px, 4rem) !important;
    align-items: center !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2) !important;
}

body.page-revista-alva header .logo-container img {
    height: 60px !important;
}

.revista-alva-section {
    padding: 8rem 4rem 5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.revista-alva-header {
    text-align: center;
    margin-bottom: 4rem;
}

.revista-alva-header h1 {
    font-size: 2.8rem;
    color: #b08d57;
    font-weight: 600;
    margin-bottom: 1rem;
}

.revista-alva-header p {
    font-size: 1.1rem;
    font-style: italic;
    color: #999;
    max-width: 600px;
    margin: 0 auto;
}

.revista-alva-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.revista-alva-card {
    position: relative;
    background: #333;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    overflow: hidden;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.revista-alva-card:hover {
    border-color: rgba(176, 141, 87, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}


.revista-alva-cover {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #222;
}

.revista-alva-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.revista-alva-card:hover .revista-alva-cover img {
    transform: scale(1.05);
}

.revista-alva-card a {
    text-decoration: none;
    color: inherit;
}

.revista-alva-info {
    padding: 1.25rem;
}

.revista-alva-info h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.25rem;
}

.revista-alva-date {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 0.75rem;
}

.revista-alva-actions {
    display: flex;
    gap: 0.5rem;
}

.revista-alva-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.45rem 0.85rem;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.revista-alva-btn svg {
    flex-shrink: 0;
}

.revista-alva-btn--read,
.revista-alva-btn--download {
    background: transparent !important;
    color: #aaa !important;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.revista-alva-btn--read:hover,
.revista-alva-btn--download:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 1024px) {
    .revista-alva-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .revista-alva-section {
        padding: 8rem 2rem 3rem;
    }

    .revista-alva-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .revista-alva-header h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .revista-alva-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
        margin: 0 auto;
    }
}

/* ---------------------------------------------------
   PDF Modal Viewer
--------------------------------------------------- */
.pdf-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.pdf-modal.active {
    opacity: 1;
    visibility: visible;
}

.pdf-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.5rem;
    background: #1a1a1a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.pdf-modal-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.5px;
}

.pdf-modal-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pdf-modal-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s ease;
}

.pdf-modal-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.pdf-modal-close {
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
}

.pdf-modal-close:hover {
    background: rgba(220, 50, 50, 0.6);
}

.pdf-modal-body {
    flex: 1;
    overflow: hidden;
}

.pdf-modal-body iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 600px) {
    .pdf-modal-header {
        padding: 0.5rem 1rem;
    }

    .pdf-modal-title {
        font-size: 0.9rem;
    }

    .pdf-modal-btn span {
        display: none;
    }
}
