﻿:root {
    --color-primary: #0a2540;
    --color-secondary: #1e3a5f;
    --color-accent-gold: #d4af37;
    --color-text-light: #e5e7eb;
    --color-text-dark: #1f2937;
    --color-bg-dark: #0f172a;
    --gold: #d4af37;
    --dark-blue: #0a2540;
    --color-white: #fff;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: "MetaPro";
    src: url("/fonts/Meta_Pro/FFMetaProRegular.TTF");
}

@font-face {
    font-family: "MetaPro-Italic";
    src: url("/fonts/Meta_Pro/FFMetaProRegIt.TTF");
}

@font-face {
    font-family: "MetaPro-Bold";
    src: url("/fonts/Meta_Pro/FFMetaProBlk.TTF");
}

@font-face {
    font-family: "MetaPro-Semibold";
    src: url("/fonts/Meta_Pro/FFMetaProMedium.TTF");
}

@font-face {
    font-family: "MetaPro-Light";
    src: url("/fonts/Meta_Pro/FFMetaProLight.TTF");
}

@font-face {
    font-family: "MetaPro-Thin";
    src: url("/fonts/Meta_Pro/FFMetaProThin.TTF");
}

@font-face {
    font-family: "MetaPro-LightItalic";
    src: url("/fonts/Meta_Pro/FFMetaProLightIt.TTF");
}

@font-face {
    font-family: "MetaSerif";
    src: url("/fonts/Meta_Serif_Pro/MetaSerifPro-Book.ttf");
}

@font-face {
    font-family: "MetaSerif-Italic";
    src: url("/fonts/Meta_Serif_Pro/MetaSerifPro-BookItalic.ttf");
}

@font-face {
    font-family: "MetaSerif-Bold";
    src: url("/fonts/Meta_Serif_Pro/MetaSerifPro-Bold.ttf");
}

@font-face {
    font-family: "MetaSerif-Light";
    src: url("/fonts/Meta_Serif_Pro/MetaSerifPro-Light.ttf");
}

@font-face {
    font-family: "MetaSerif-LightItalic";
    src: url("/fonts/Meta_Serif_Pro/MetaSerifPro-LightItalic.ttf");
}

#cc-main {
    --cc-font-family: "MetaPro";
    --cc-btn-primary-bg: var(--color-primary);
    --cc-btn-primary-border-color: var(--color-white);
    --cc-btn-primary-hover-bg: var(--color-accent-gold);
    --cc-btn-primary-hover-border-color: var(--color-accent-gold);
    --cc-toggle-on-bg: var(--color-primary);
    --cc-btn-border-radius: 10px;
    --cc-font-size: 16px;
    --cc-bg: var(--color-white);
    --cc-bg-hover: var(--color-white);
    --cc-z-index: 2147483647;
    --cc-text: var(--color-primary);
    --cc-link-color: var(--cc-btn-primary-bg);
    --cc-primary-color: var(--color-primary);
    --cc-secondary-color: var(--cc-primary-color);
    --cc-link-color: var(--cc-btn-primary-bg);
    --cc-separator-border-color: #b3b3b3;
}

header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 900;
    padding: 100px 150px;
    background-color: transparent;
}

body {
    margin: 0;
    font-family: "Helvetica Neue", Arial, sans-serif;
}

a {
    font-family: MetaPro;
    font-weight: 400;
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
}

    a:hover {
        opacity: 0.5;
    }

img, svg {
    vertical-align: sub;
}
.nav {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    position: relative;
    z-index: 2;
    padding: 24px 40px 0 40px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

    .menu-toggle span {
        display: block;
        width: 25px;
        height: 2px;
        background-color: #fff;
        transition: all 0.3s ease;
    }

.nav::after {
    content: "";
    position: absolute;
    left: 40px;
    right: 40px;
    bottom: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    pointer-events: none;
}

.nav-left {
    display: flex;
    gap: 32px;
    align-items: flex-end;
}

.nav-link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding-bottom: 12px;
    border-bottom: 1px solid transparent;
    transition: color 0.3s ease, border-color 0.3s ease;
}

    .nav-link:hover,
    .nav-link.active {
        color: #ffffff;
        border-bottom-color: #ffffff;
    }

.lang-dropdown {
    position: relative;
    display: flex;
    align-items: flex-end;
}

.lang-current {
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
    border-bottom: 1px solid transparent;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    padding-left: 20px;
    margin-left: 20px;
    line-height: 1;
    transition: color 0.3s ease, border-color 0.3s ease;
}

/*.lang-current:hover {
        color: #ffffff;
        border-bottom-color: #ffffff;
    }*/

.lang-menu {
    position: absolute;
    top: 150%;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    opacity: 0;
    transform: translateY(-6px);
    transition: all 0.25s ease;
}

.lang-dropdown:hover .lang-menu {
    opacity: 1;
    transform: translateY(0);
}

.lang-option {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    transition: color 0.2s ease, transform 0.2s ease;
}

    .lang-option:hover {
        color: #ffffff;
        transform: translateX(2px);
    }

    .lang-option.active {
        color: #ffffff;
        font-weight: 600;
    }


.video-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

    .video-container video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.mute-button {
    position: absolute;
    bottom: 20px;
    right: 150px;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    border: 1px solid #fff;
    background-color: rgb(53 50 50 / 30%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

    .mute-button:hover {
        background-color: rgba(0,0,0,0.8);
    }

    .mute-button .icon-muted,
    .mute-button .icon-unmuted {
        font-size: 24px;
        color: white;
    }



.hero-section {
    display: flex;
    align-items: center;
    width: 100%;
    height: 80vh;
    background-size: cover;
    background-position: center;
    position: relative;
}

    .hero-section::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to right, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
        z-index: 1;
    }

.hero-content {
    max-width: 40%;
    color: white;
    padding-left: 150px;
    z-index: 2;
}

    .hero-content::before {
        content: "";
        position: absolute;
        height: 1px;
        background: var(--color-accent-gold);
        pointer-events: none;
        width: 10%;
    }

    .hero-content button {
        padding: 12px 24px;
        background-color: rgba(255,255,255,0.1);
        backdrop-filter: blur(8px);
        border: none;
        color: #fff;
        cursor: pointer;
        border-radius: 8px;
        font-weight: bold;
        transition: background-color 0.3s ease;
        border: 1px solid rgba(255, 255, 255, 0.3);
    }

        .hero-content button:hover {
            background-color: rgba(255,255,255,0.3);
        }

.hero-section-title {
    font-family: "Meta Serif", serif;
    font-weight: 500;
    font-style: italic;
    font-size: 2.5rem;
    line-height: 1.2;
    padding-bottom: 30px;
}

.hero-section-text {
    font-family: MetaPro;
    font-weight: 300;
    font-size: 1.125rem;
    line-height: 1.8;
    padding-bottom: 30px;
}
/* Modal styles */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

    .video-modal.active {
        display: flex;
    }

.video-modal-content {
    position: relative;
    width: 80%;
    max-width: 900px;
}

    .video-modal-content video {
        width: 100%;
        height: auto;
        border-radius: 12px;
    }

.close-modal-btn {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    font-size: 2rem;
    color: white;
    cursor: pointer;
}

.open-modal-btn {
    bottom: 20px;
    right: 150px;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    border: 1px solid #fff;
    background-color: rgb(53 50 50 / 30%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

/*ARQUIVO SECTION*/
.arquivo-section {
    text-align: center;
    padding: calc(0.25rem * 24) 200px;
}

.arquivo-section-title {
    font-family: MetaSerif-Light;
    font-weight: 500;
    font-style: italic;
    font-size: 3rem;
    padding: 20px 0px;
}

    .arquivo-section-title::before {
        content: "";
        position: absolute;
        height: 1px;
        background: var(--color-accent-gold);
        pointer-events: none;
        width: 5%;
        left: 50%;
        transform: translateX(-50%);
    }

.arquivo-section-text {
    font-family: MetaPro;
    font-weight: 300;
    color: var(--color-accent-gold);
    font-size: 1.25rem;
    padding-bottom: 30px;
}



.arquivo-home-col {
}

    .arquivo-home-col:nth-child(even) .arquivo-home {
        background-color: var(--color-primary);
    }

        .arquivo-home-col:nth-child(even) .arquivo-home * {
            color: #fff !important;
        }

    .arquivo-home-col:nth-child(even) .arquivo-home-button-container {
        border-radius: 5px;
        box-shadow: 0px 5px 5px 0px rgb(0 0 0 / 25%);
        padding: 10px 20px;
        border: 1px solid rgba(255, 255, 255, 0.4);
    }

        .arquivo-home-col:nth-child(even) .arquivo-home-button-container:hover {
            border: 1px solid rgba(10, 37, 64, 0.4);
            background-color: #fff;
        }

            .arquivo-home-col:nth-child(even)
            .arquivo-home-button-container:hover .arquivo-home-button {
                color: var(--color-primary) !important;
            }

                .arquivo-home-col:nth-child(even) .arquivo-home-button-container:hover .arquivo-home-button svg {
                    stroke: var(--color-primary) !important;
                }

                    .arquivo-home-col:nth-child(even) .arquivo-home-button-container:hover .arquivo-home-button svg path {
                        stroke: var(--color-primary) !important;
                    }


.arquivo-home {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    border-radius: 1.5625rem;
    box-shadow: 0px 5px 5px 0px rgb(0 0 0 / 25%);
    text-align: left;
}

.arquivo-home-image-container {
    overflow: hidden;
    border-top-right-radius: 1.5625rem;
    border-top-left-radius: 1.5625rem;
}

.arquivo-home-image {
    height: 300px;
    flex-shrink: 0;
    align-items: end;
    display: flex;
    width: 100%;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    transition: transform 0.3s ease;
    transform-origin: center;
    filter: grayscale(100%);
}

    .arquivo-home-image:hover {
        transform: scale(1.2);
    }

.arquivo-home-information {
    padding: 30px;
}

.arquivo-home-title {
    font-family: MetaSerif;
    font-weight: 500;
    font-size: 1.875rem;
    line-height: 1.3;
    color: var(--color-primary);
    margin-bottom: 25px;
}

.arquivo-home-text {
    font-family: MetaPro;
    font-weight: 300;
    font-size: 0.95rem;
    color: var(--color-primary);
    margin-bottom: 25px;
}

.arquivo-home-button-container {
    border-radius: 5px;
    box-shadow: 0px 5px 5px 0px rgb(0 0 0 / 25%);
    padding: 10px 20px;
    border: 1px solid rgba(10, 37, 64, 0.4);
}

    .arquivo-home-button-container:hover {
        border: 1px solid rgba(255, 255, 255, 0.4);
        background-color: var(--color-primary);
    }

        .arquivo-home-button-container:hover .arquivo-home-button {
            color: #fff !important;
        }

.arquivo-home-button {
    color: var(--color-primary);
}
/*END OF ARQUIVO SECTION*/
/*LEGADO SECTION*/
.footer-section {
    width: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}



.footer-content {
    display: flex;
    align-items: center;
    width: 100%;
    padding-top: 75px;
    background-size: cover;
    background-position: center;
    position: relative;
    justify-content: center;
}

.footer-container {
    position: relative;
    display: flex;
    color: white;
    z-index: 2;
    width: 60%;
    padding-bottom: 80px;
}

    .footer-container::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 1px;
        background: rgba(255, 255, 255, 0.3);
        pointer-events: none;
    }

.quotes {
    margin-right: 30px;
}

.footer-quote-text {
    font-family: MetaPro;
    font-weight: 500;
    font-style: italic;
    font-size: 2.2rem;
    line-height: 1.4;
}

.footer-quote-author {
    font-family: MetaPro;
}

.footer-quote-author-position {
    font-family: MetaPro;
    opacity: 0.7;
}

.quote-signature {
    display: flex;
    gap: 4px;
    margin-top: 20px;
    align-items: center;
}

.footer-quote-author,
.footer-quote-author-position {
    display: flex;
    align-items: center;
    gap: 8px;
}

.quote-divider {
    width: 50px;
    height: 1px;
    background-color: var(--color-accent-gold);
    margin-right: 15px;
}

.footer-links {
    display: flex;
    align-items: center;
    width: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    justify-content: center;
}

.footer-links-container {
    position: relative;
    display: flex;
    color: white;
    z-index: 2;
    width: 60%;
    justify-content: space-between;
    margin: 10px 0px 50px 0px;
    align-items: center;
}

.footer-link {
    display: flex;
}

.footer-link:hover {
    opacity:0.5;
}


.politics-links {
    justify-content: start;
    display: flex;
    margin: 0;
    align-items: center;
}



    .politics-links li {
        display: inline-block;
        width: inherit;
        padding: 0px 5px;
        opacity: 1;
        transition: opacity 0.35s ease-in-out;
    }

        .politics-links li:not(:first-child) {
            border-left: 2px solid white;
        }



/*END LEGADO SECTION*/

.carousel-main-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100vw;
}



.timeline-scrollable {
    flex: 1;
    overflow: hidden;
    display: block;
    position: relative;
}

.timeline-items-track {
    display: flex;
    justify-content: center;
    gap: 0;
    padding: 20px 0;
}

.timeline-col {
    flex: 0 0 33.3333%;
    min-width: 33.3333%;
    box-sizing: border-box;
}

.timeline-card-image {
    margin: 0 10px;
    height: 350px;
    display: flex;
    align-items: end;
}


.timeline-arrow {
    background: none;
    z-index: 10;
    padding: 12px 14px;
    margin: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    color: #fff;
    cursor: pointer;
    border-radius: 3rem;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

    .timeline-arrow:disabled {
        opacity: 0.3;
        cursor: not-allowed;
    }

    .timeline-arrow:hover {
        background-color: rgba(255, 255, 255, 0.3);
    }

    .timeline-arrow img {
        height: 50px;
        filter: contrast(0) invert(1);
    }



.decade-item {
    transition: all 0.3s ease;
    padding: 5px 15px;
    display: inline-block;
}

    .decade-item:hover {
        opacity: 1 !important;
    }

.decade-track {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: inline-block;
    padding: 30px 0px;
}

.decade-item {
    margin: 0 20px;
    cursor: pointer;
    color: #666;
    font-weight: bold;
}

    .decade-item.active {
        color: #d4af37;
        border-bottom: 2px solid #d4af37;
    }

.timeline-carousel {
    position: relative;
    width: 100%;
    max-width: 1200px;
    height: 450px;
    margin: 0 auto;
    overflow: hidden;
    display: block !important;
}

.carousel-track {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    width: max-content !important;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.carousel-item {
    flex: 0 0 380px !important;
    height: 400px;
    margin-right: 20px;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
}

    .carousel-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    text-align: left;
    color: white;
}

    .carousel-caption .year {
        color: #d4af37;
        font-size: 0.8rem;
        display: block;
    }

    .carousel-caption .title {
        font-weight: bold;
        font-style: italic;
        font-size: 1.1rem;
    }



.timeline-section {
    background-color: var(--dark-blue);
    padding: 60px 0;
    color: white;
    text-align: center;
    overflow: hidden;
}


.decade-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    height: 100px;
    display: flex;
    align-items: center;
}

.decade-track {
    display: flex;
    position: absolute;
    left: 50%;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: transform;
    border: none;
}

    .decade-track::before {
        content: "";
        position: absolute;
        top: 0;
        left: -5000px;
        right: -5000px;
        height: 2px;
        background-color: white;
        z-index: 1;
    }

.decade-item {
    padding: 0 40px;
    cursor: pointer;
    white-space: nowrap;
    color: #fff;
    font-size: 1.5rem;
    opacity: 0.3;
    transition: all 0.4s ease;
    flex-shrink: 0;
    font-family: MetaPro;
    font-weight: 500;
}

    .decade-item.active {
        opacity: 1;
        color: #d4af37;
        transform: scale(1.3);
        border: none;
    }

.carousel-item::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

.carousel-nav, .decade-nav {
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    z-index: 10;
}

.timeline-title {
    font-family: MetaSerif;
    font-weight: 500;
    font-style: italic;
    font-size: 3rem;
}

    .timeline-title::before {
        content: "";
        position: absolute;
        height: 1px;
        background: var(--color-accent-gold);
        pointer-events: none;
        width: 5%;
        left: 50%;
        transform: translateX(-50%);
    }

.timeline-subtitle {
    font-family: MetaPro;
    font-weight: 300;
    color: var(--color-accent-gold);
    font-size: 1.25rem;
    margin-bottom: 40px;
}

/*.timeline-card-image {
    height: 350px;
    display: flex;
    align-items: end;
    cursor: pointer;
}*/

.timeline-overlay {
    padding: 20px;
    text-align: left;
}

.gold-year {
    color: var(--color-accent-gold);
    font-family: MetaPro;
}

.event-title {
    font-family: MetaSerif-Bold;
    font-style: italic;
    display: block;
    font-size: 1.5rem;
}


/*Timeline Modal*/
#timeline-modalContent {
    height: 100%;
}

.timeline-partial-container {
    display: flex;
    height: 100%;
}

.timeline-partial-image-container {
    width: 40%;
    height: 100%;
    border-radius: 0.5rem;
}

.timeline-partial-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.3s ease;
    transform-origin: center;
    border-radius: 0.5rem;
}

.timeline-modal-body {
    height: 80vh;
    padding: 0;
}

.timeline-partial-details-container {
    width: 60%;
    padding: 2rem;
    overflow-y: auto;
    text-align: left;
}

.timeline-container {
    position: relative;
}

.timeline-partial-title {
    color: var(--color-white);
    margin-bottom: 20px;
    font-family: MetaSerif-Italic;
    font-weight: 700;
    font-style: italic;
    font-size: 2rem;
    line-height: 1.2;
}

.timeline-partial-category {
    color: var(--color-accent-gold);
    margin-bottom: 20px;
    font-family: MetaPro;
    font-size: 1.1rem;
    line-height: 1.2;
}

.timeline-partial-text {
    color: var(--color-white);
    font-family: MetaPro-Light;
    font-size: 1.1rem;
    line-height: 1.6;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 20px;
}

.timeline-partial-year {
    color: var(--color-white);
    font-family: MetaPro-Light;
    font-size: 0.75rem;
}

.timeline-partial-footer-container {
    display: flex;
    align-items: center;
    /*justify-content: space-between;*/ /* if there is a button */
    justify-content: end;
}

.timeline-button {
    font-family: MetaPro;
    padding: 5px 24px;
    background-color: rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    border: none;
    color: #fff;
    cursor: pointer;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: inline-block;
}

    .timeline-button:hover {
        background-color: rgba(255,255,255,0.2);
    }



.timeline-col {
    opacity: 0;
    transform: translateY(20px);
    animation: timelineFadeIn 0.5s ease forwards;
}

@keyframes timelineFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.timeline-col:nth-child(1) {
    animation-delay: 0.1s;
}

.timeline-col:nth-child(2) {
    animation-delay: 0.2s;
}

.timeline-col:nth-child(3) {
    animation-delay: 0.3s;
}

.timeline-col:nth-child(4) {
    animation-delay: 0.4s;
}

.timeline-col:nth-child(5) {
    animation-delay: 0.5s;
}

.slide-in-right {
    animation: slideInRight 0.5s ease-out forwards;
}

/* Animation for items coming from the left (Prev) */
.slide-in-left {
    animation: slideInLeft 0.5s ease-out forwards;
}

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}


.timelines-item-details-container {
    position: absolute;
    bottom: 30px;
    left: 30px;
    color: var(--egf-br);
    width: 70%;
    padding: 2rem;
    background: rgb(0, 0, 0, 0.5);
}

.timeline-modal-content {
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    overflow: hidden;
}

.modal-backdrop.show {
    opacity: 0.4;
}

.timeline-modal-body,
.timeline-partial-details-container {
    background: transparent !important;
}


.timeline-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    z-index: 1051;
    cursor: pointer;
    font-size: 1.5rem;
    color: #000;
    background: rgba(255, 255, 255, 0.5);
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

    .timeline-modal-close:hover {
        background: rgba(255, 255, 255, 0.8);
    }

.timeline-modal-dialog {
    max-width: 60%;
    margin: 1.75rem auto;
    display: flex;
    align-items: center;
    min-height: calc(100% - 3.5rem);
}

@media (max-width: 992px) {
    .timeline-modal-dialog {
        max-width: 90%;
    }
}

@media (max-width: 576px) {
    .timeline-modal-dialog {
        max-width: 95%;
        margin: 0.5rem auto;
    }
}

/*END OF Timeline Modal*/
/*PAGINA DETALHES*/

.details-page-text {
    font-family: 'MetaPro';
    font-weight: 500;
    font-size: 1.75rem;
    padding: 25px 0px;
}

    .details-page-text table {
        width: 100%;
    }

    .details-page-text tbody, td, tfoot, th, thead, tr {
        border-color: inherit;
        border-style: double;
        border-width: 4px;
    }

    .details-page-text td {
        padding: 10px;
    }

@media (max-width: 768px) {

    .details-page-text {
        display: flex;
        flex-direction: column;
        overflow: hidden; 
        width: 100%;
    }

        .details-page-text table {
            display: block;
            width: 100% !important;
            overflow-x: auto; 
            overflow-y: hidden;
            -webkit-overflow-scrolling: touch;
            height: auto !important;
            margin: 0 !important;
        }

            .details-page-text table td,
            .details-page-text table th {
                min-width: 150px;
                width: auto !important;
                white-space: normal;
            }
}
/*END OF PAGINA DETALHES*/
/*PAGINA BIBLIOTECA*/
.go-back-container {
    padding: 100px 150px 0px 150px;
    position: relative;
    z-index: 1000;
    display: block;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
    position: relative;
    z-index: 1000;
    cursor: pointer !important;
    pointer-events: auto !important;
    color: var(--color-primary);
}

    .back-link svg {
        transition: transform 0.3s ease;
    }

    .back-link:hover {
        color: var(--color-accent-gold);
    }

        .back-link:hover svg {
            transform: translateX(-5px); /* Subtle "push" animation to the left */
        }

/* Responsive adjustment for smaller screens */
@media (max-width: 768px) {
    .go-back-container {
        padding: 20px 60px;
    }
}


.biblioteca-page-container,
.galeria-page-container,
.lideranca-page-container,
.details-page-container{
    padding: 50px 150px;
}


.biblioteca-page-title-section,
.galeria-page-title-section,
.lideranca-page-title-section,
.details-page-title-section {
    text-align: center
}

.galeria-page-title-section,
.lideranca-page-title-section,
.details-page-title-section {
    position: relative;
}

    .galeria-page-title-section::after,
    .lideranca-page-title-section::after,
    .details-page-title-section::after {
        content: "";
        position: absolute;
        left: 40px;
        right: 40px;
        bottom: 0;
        height: 1px;
        background: rgba(10, 37, 64, 0.4);
        pointer-events: none;
    }

.biblioteca-title,
.galeria-title,
.lideranca-title,
.details-title {
    font-family: MetaSerif-Light;
    font-weight: 500;
    font-style: italic;
    font-size: 3rem;
    padding: 20px 0px;
}

    .biblioteca-title::before,
    .galeria-title::before,
    .lideranca-title::before,
    .details-title::before {
        content: "";
        position: absolute;
        height: 1px;
        background: var(--color-accent-gold);
        pointer-events: none;
        width: 5%;
        left: 50%;
        transform: translateX(-50%);
    }

.biblioteca-text,
.galeria-text,
.lideranca-text,
.details-text {
    font-family: MetaPro;
    font-weight: 300;
    color: var(--color-accent-gold);
    font-size: 1.25rem;
    padding-bottom: 30px;
}


.biblioteca-pdf-player-section {
    padding: 60px 130px;
}

.biblioteca-anexos-container {
    padding: 60px 130px;
    border-top: 1px solid rgba(10, 37, 64, 0.5);
}

.biblioteca-anexo-col {
    margin-bottom: 20px;
}

.biblioteca-anexo-container .pdficon {
    width: 100px;
    height: auto;
    display: inline-block;
    float: none;
    margin-bottom: 30px;
}

.biblioteca-anexo-container a {
    display: block;
    padding: 30px;
    background: var(--egf-br);
}

.biblioteca-anexo-text {
    font-size: 32px;
    word-break: break-word;
    font-family: MetaSerif;
    font-style: italic;
    color: var(--color-primary);
}


.pdficon {
    width: 60px;
    height: auto;
    display: inline-block;
}

    .pdficon .cls-1, .cls-4 {
        fill: none;
    }

    .pdficon .cls-2 {
        clip-path: url(#clip-path);
    }

    .pdficon .cls-3 {
        fill: var(--color-primary);
    }

    .pdficon .cls-4 {
        stroke: var(--color-primary);
        stroke-linejoin: round;
    }




.btn-pdf-preview {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    color: var(--color-primary);
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .btn-pdf-preview:hover {
        background: var(--color-primary);
        color: #fff;
        transform: scale(1.1);
    }

.biblioteca-anexo-col:nth-child(even) .btn-pdf-preview {
    background: var(--color-primary);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

    .biblioteca-anexo-col:nth-child(even) .btn-pdf-preview:hover {
        background: #fff;
        color: var(--color-primary) !important;
        transform: scale(1.1);
    }

        .biblioteca-anexo-col:nth-child(even) .btn-pdf-preview:hover path {
            color: var(--color-primary) !important;
        }

/*#pdfPlayerContainer embed {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid rgba(10, 37, 64, 0.1);
}*/

.biblioteca-anexo-col:nth-child(even) .biblioteca-anexo-container .pdficon {
    stroke: var(--color-white) !important;
}

.biblioteca-anexo-col:nth-child(even) .pdficon .cls-1, .cls-4 {
    fill: none !important;
}

.biblioteca-anexo-col:nth-child(even) .pdficon .cls-2 {
    clip-path: url(#clip-path) !important;
}

.biblioteca-anexo-col:nth-child(even) .pdficon .cls-3 {
    fill: var(--color-white) !important;
}

.biblioteca-anexo-col:nth-child(even) .pdficon .cls-4 {
    stroke: var(--color-white) !important;
    stroke-linejoin: round !important;
}

.attachDownload {
    float: right;
    margin-right: 10px;
    margin-top: 0.5%;
}

.biblioteca-anexo-col:nth-child(even) .biblioteca-anexo {
    background-color: var(--color-primary);
}

    .biblioteca-anexo-col:nth-child(even) .biblioteca-anexo * {
        color: #fff !important;
    }

.biblioteca-anexo-col:nth-child(even) .biblioteca-anexo-button-container {
    border-radius: 5px;
    box-shadow: 0px 5px 5px 0px rgb(0 0 0 / 25%);
    padding: 10px 20px;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

    .biblioteca-anexo-col:nth-child(even) .biblioteca-anexo-button-container:hover {
        border: 1px solid rgba(10, 37, 64, 0.4);
        background-color: #fff;
    }

        .biblioteca-anexo-col:nth-child(even)
        .biblioteca-anexo-button-container:hover .biblioteca-anexo-button {
            color: var(--color-primary) !important;
        }

            .biblioteca-anexo-col:nth-child(even) .biblioteca-anexo-button-container:hover .biblioteca-anexo-button svg {
                stroke: var(--color-primary) !important;
            }

                .biblioteca-anexo-col:nth-child(even) .biblioteca-anexo-button-container:hover .biblioteca-anexo-button svg path {
                    stroke: var(--color-primary) !important;
                }


.biblioteca-anexo {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    border-radius: 1.5625rem;
    box-shadow: 0px 5px 5px 0px rgb(0 0 0 / 25%);
    text-align: left;
}


.biblioteca-anexo {
    position: relative !important;
    overflow: visible !important;
}

.biblioteca-anexo-image-container {
    overflow: hidden;
    border-top-right-radius: 1.5625rem;
    border-top-left-radius: 1.5625rem;
}

.biblioteca-anexo-image {
    height: 300px;
    flex-shrink: 0;
    align-items: end;
    display: flex;
    width: 100%;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    transition: transform 0.3s ease;
    transform-origin: center;
    filter: grayscale(100%);
}

    .biblioteca-anexo-image:hover {
        transform: scale(1.2);
    }

.biblioteca-anexo-information {
    padding: 30px;
}

.biblioteca-anexo-title {
    font-family: MetaSerif;
    font-weight: 500;
    font-size: 1.875rem;
    line-height: 1.3;
    color: var(--color-primary);
    margin-bottom: 25px;
}

.biblioteca-anexo-text {
    font-family: MetaPro;
    font-weight: 300;
    font-size: 0.95rem;
    color: var(--color-primary);
    margin-bottom: 25px;
}

.biblioteca-anexo-button-container {
    border-radius: 5px;
    box-shadow: 0px 5px 5px 0px rgb(0 0 0 / 25%);
    padding: 10px 20px;
    border: 1px solid rgba(10, 37, 64, 0.4);
}

    .biblioteca-anexo-button-container:hover {
        border: 1px solid rgba(255, 255, 255, 0.4);
        background-color: var(--color-primary);
    }

        .biblioteca-anexo-button-container:hover .biblioteca-anexo-button {
            color: #fff !important;
        }

.biblioteca-anexo-link-wrapper {
    text-decoration: none !important;
    display: block;
}

.biblioteca-anexo-button {
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.biblioteca-anexo-col:nth-child(even) .biblioteca-anexo-link-wrapper .biblioteca-anexo-button {
    color: #fff !important;
}

.biblioteca-anexo-col:nth-child(even) .biblioteca-anexo-button-container:hover .biblioteca-anexo-button {
    color: var(--color-primary) !important;
}

.biblioteca-anexo-button-container:hover .biblioteca-anexo-button {
    color: #fff !important;
}



/*END OF PAGINA BIBLIOTECA*/

/*GALERIA*/
.page-galeria-container {
    padding: 0px 150px;
}


.page-galeria-container:nth-child(even) {
    background-color: var(--color-primary);
}

        .page-galeria-container:nth-child(even) .page-subtitle {
            color: #fff !important;
        }

.page-galeria-image-container {
    height: 350px;
    overflow: hidden;
}

.page-galeria-video {
    height: 350px;
    background-color: #000;
    background-size: cover;
    cursor: pointer;
    position: relative;
}

.page-subtitle {
    font-family: MetaSerif-Light;
    font-weight: 500;
    font-style: italic;
    font-size: 2.25rem;
    padding: 25px 0px;
    text-align: center;
}

    .page-subtitle::before {
        content: "";
        position: absolute;
        height: 1px;
        background: var(--color-accent-gold);
        pointer-events: none;
        width: 5%;
        left: 50%;
        transform: translateX(-50%);
    }

.page-category {
    font-family: MetaPro;
    font-weight: 300;
    color: var(--color-accent-gold);
    font-size: 1.25rem;
    padding-bottom: 30px;
    text-align: center;
}

.page-galeria-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.3s ease;
}

.page-galeria-col {
    margin-bottom: 30px;
}

.image-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
}

.overlay-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.overlay-content {
    position: absolute;
    top: 50%;
    left: 50%;
    max-width: 90%;
    max-height: 90%;
    transform: translate(-50%, -50%);
    background-color: var(--egf-fundo);
}


.video-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
}

.video-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 85%;
    max-width: 1100px;
    background-color: #000;
    aspect-ratio: 16 / 9;
}

#vimeo-player-target,
#vimeo-player-target iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: none;
}
/*END OF GALERIA*/
/*LIDERANCA*/

.lideranca-anexos-container {
    padding: 60px 130px;
}

.lideranca-anexo-col {
    margin-bottom: 30px;
}

.lideranca-anexo {
    display: flex;
    flex-direction: row-reverse;
    background-color: #fff;
    border-radius: 1.5625rem;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    height: 100%;
    transition: transform 0.3s ease;
}

.lideranca-anexo-col:nth-child(even) .lideranca-anexo {
    flex-direction: row;
    background-color: var(--color-primary);
}

.lideranca-anexo-image-container {
    flex: 0 0 34%;
    max-width: 34%;
    overflow: hidden;
}

.lideranca-anexo-image {
    height: 550px;
    width: 100%;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    filter: grayscale(100%);
    transition: transform 0.5s ease;
}

.lideranca-anexo:hover .lideranca-anexo-image {
    transform: scale(1.1);
    filter: grayscale(0%);
}

.lideranca-anexo-information {
    flex: 0 0 66%;
    max-width: 66%;
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.lideranca-anexo-title {
    font-family: MetaSerif, serif;
    font-weight: 500;
    font-size: 1.875rem;
    line-height: 1.2;
    color: var(--color-primary);
    font-style: italic;
    margin-bottom: 10px;
}

.lideranca-anexo-ano {
    font-family: MetaPro, sans-serif;
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--color-accent-gold);
    margin-bottom: 20px;
}

.lideranca-anexo-texto {
    font-family: MetaPro, sans-serif;
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-primary);
}

.lideranca-anexo-col:nth-child(even) .lideranca-anexo-title,
.lideranca-anexo-col:nth-child(even) .lideranca-anexo-texto {
    color: #ffffff !important;
}

@media (max-width: 1200px) {
    .lideranca-anexos-container {
        padding: 40px 20px;
    }
}

@media (max-width: 991px) {
    .lideranca-anexo {
        flex-direction: column !important;
    }

    .lideranca-anexo-image-container,
    .lideranca-anexo-information {
        max-width: 100%;
    }

    .lideranca-anexo-image {
        height: 100%;
        background-position: top !important;
    }

    .lideranca-anexo-image-container {
        flex: none;
    }
}
/*END OF LIDERANCA*/


/*MOBILE*/
@media (max-width: 768px) {
    header {
        padding: 20px;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-left {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        background: rgba(10, 37, 64, 0.7);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        box-shadow: -10px 0 30px rgba(0,0,0,0.3);
        z-index: 1000;
    }

        .nav-left.active {
            right: 0;
        }

    .nav-link {
        font-size: 1.5rem;
        padding-bottom: 5px;
        border-bottom: 2px solid transparent;
    }

    .menu-toggle.open span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.open span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.open span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav::after {
        display: none;
    }

    header {
        padding: 60px 0px;
    }

    .hero-section {
        height: 100%;
        padding: 80px 40px;
    }

    .hero-content {
        max-width: 100%;
        padding-left: 0px;
    }

    .arquivo-section {
        padding: 60px 60px;
    }

    .biblioteca-anexos-container {
        padding: 60px 60px;
    }

    .page-galeria-container {
        padding: 60px 60px;
    }

    .biblioteca-page-container, .galeria-page-container, .lideranca-page-container, .details-page-container {
        padding: 20px 30px;
    }

    .biblioteca-title::before, .galeria-title::before, .lideranca-title::before {
        width: 18%;
    }

    .lideranca-anexo-image-container, .lideranca-anexo-information {
        max-width: 100%;
        height: 400px;
    }

    .lideranca-anexo-image {
        border-top-left-radius: 1.5625rem;
        border-top-right-radius: 1.5625rem;
    }

    .timeline-col {
        /* This ensures the column is EXACTLY the size of the window between arrows */
        flex: 0 0 100%;
        width: 100%;
        min-width: 100%;
        display: flex;
        justify-content: center;
    }

    .timeline-items-track {
        display: flex;
        justify-content: flex-start !important;
        gap: 0;
        padding: 0;
    }

    .timeline-card-image {
        /* This is the actual visual card */
        width: 100%;
        margin: 0 10px; /* Small gap so it doesn't touch arrows */
    }

    .timeline-arrow {
        flex: 0 0 50px; /* Fixed size for arrows so they don't shrink */
        margin: 5px;
        padding: 10px;
    }

    .timeline-partial-container {
        display: inline-block;
    }

    .timeline-partial-image-container {
        width: 100%;
        height: 200px;
        border-radius: 0.5rem;
    }

    .timeline-partial-details-container {
        width: 100%;
    }

    .timeline-modal-content {
        overflow: auto;
    }

    .arquivo-home {
        margin-bottom: 30px;
    }

    .footer-content {
        justify-content: unset;
        padding: 30px 40px;
    }

    .footer-container {
        width: 100%;
    }

    .footer-links-container {
        width: 100%;
        padding: 0px 40px;
    }

    .footer-quote-text {
        font-size: 1.75rem;
    }

    .quotes svg {
        height: 80px;
        width: 80px;
    }
    .biblioteca-pdf-player-section {
         padding: 0; 
    }

    .biblioteca-anexos-container {
        padding: 60px 0px;
    }

    .mute-button {
        right: 40px;
    }
}


@media (max-width: 426px) {

   

    .biblioteca-anexos-container {
        padding: 60px 30px;
    }

    .page-galeria-container {
        padding: 60px 30px;
    }

    .lideranca-anexo-image-container, .lideranca-anexo-information {
        padding: 20px;
    }

    .timeline-partial-details-container {
        padding: 2rem 0rem;
    }

    .arquivo-section {
        padding: 60px 35px;
    }

    .quotes svg {
        height: 50px;
        width: 50px;
    }

    .footer-quote-text {
        font-size: 1.50rem;
    }

    .footer-content {
        padding: 30px 25px 0px 25px;
    }

    .footer-container {
        padding-bottom: 30px;
    }

    .quotes {
        margin-right: 10px;
    }

    .footer-links-container {
        display: inline-block;
        text-align: center;
    }

    .footer-link {
        display: inline;
    }

    .timeline-title {
        font-size: 1.75rem;
    }

    .politics-links {
        display: inline-grid;
        padding: 35px 0px 0px 0px;
    }

        .politics-links li:not(:first-child) {
            border-left: none;
        }
}

@media (max-width: 376px) {

    .biblioteca-anexos-container {
        padding: 60px 15px;
    }

    .page-galeria-container {
        padding: 60px 15px;
    }

    .lideranca-anexo-image-container, .lideranca-anexo-information {
        max-width: 100%;
        height: 400px;
        padding: 15px;
    }
}
