/* BANNER */
.containerbanner {
    background: #F5F5F5;
    position: relative;
}

.banner {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    position: relative;
    aspect-ratio: 1920 / 598;
    z-index: 2;
    border-top: 4px solid #3C3C3B;
    overflow: visible;
    clip-path: ellipse(100% 90% at 50% 0%);
    padding-bottom: 100px;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(169, 214, 229, 0.99) 0%, rgba(169, 214, 229, 0.99) 30%, rgba(1, 79, 134, 0.35) 100%);
    z-index: 1;
}

.banner__content {
    margin: 0 auto;
    padding-top: 80px;
    position: relative;
    z-index: 3;
    padding-bottom: 150px;
}

.banner__breadcrumb {
    display: flex;
    gap: 5px;
    color: #333;
    align-items: center;
}

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

.banner__breadcrumb a:hover {
    text-decoration: underline;
}

.banner__infos {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 50%;
}

.banner__titulo {
    font-size: 42px;
    color: #0C96C7;
}

.banner_subtitulo {
    color: #5D5D5D;
    font-size: 18px;
    line-height: 1.6;
}

.banner_scroll {
    position: absolute;
    bottom: 75px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.banner_scroll:hover {
    transform: translateX(-50%) translateY(5px);
}

/* AÇÕES ARCHIVE */

.acoes-archive {
    padding: 80px 0;
    background: #f5f5f5;
}

.acoes-archive__content {
    max-width: 1200px;
}

/* FILTROS E BUSCA */

.acoes-archive__filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 50px;
    padding: 25px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.acoes-archive__search {
    position: relative;
    flex: 1;
    max-width: 400px;
}

.acoes-archive__search-input {
    width: 100%;
    padding: 12px 45px 12px 20px;
    border: 2px solid #E6E6E6;
    border-radius: 8px;
    font-size: 16px;
    font-family: "Nunito", sans-serif;
    transition: border-color 0.3s ease;
}

.acoes-archive__search-input:focus {
    outline: none;
    border-color: #0C96C7;
}

.acoes-archive__search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    pointer-events: none;
}

.acoes-archive__order {
    display: flex;
    align-items: center;
    gap: 10px;
}

.acoes-archive__order label {
    font-family: "Nunito", sans-serif;
    font-weight: 600;
    color: #5D5D5D;
}

.acoes-archive__order-select {
    padding: 10px 15px;
    border: 2px solid #E6E6E6;
    border-radius: 8px;
    font-size: 16px;
    font-family: "Nunito", sans-serif;
    background-color: white;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.acoes-archive__order-select:focus {
    outline: none;
    border-color: #0C96C7;
}

/* GRID DE POSTS */

.acoes-archive__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.acoes-archive__item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    border: 1px solid #E6E6E6;
}

.acoes-archive__item.hidden {
    display: none !important;
}

.acoes-archive__item:hover {
    background-color: #EAF4FC !important;
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 30px rgba(12, 150, 199, 0.15) !important;
}

.acoes-archive__item-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.acoes-archive__item-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.acoes-archive__item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.acoes-archive__item-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.acoes-archive__item-date {
    background-color: #0C96C7;
    color: white;
    width: fit-content;
    padding: 5px 15px;
    border-radius: 6px;
    font-size: 14px;
    font-family: "Nunito", sans-serif;
}

.acoes-archive__item-title {
    font-size: 22px;
    font-weight: 700;
    color: #0C96C7;
    line-height: 1.3;
    margin: 0;
}

.acoes-archive__item-description {
    color: #748995;
    font-size: 16px;
    line-height: 1.6;
    font-family: "Nunito", sans-serif;
    margin: 0;
}

.acoes-archive__item-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: fit-content;
    margin-top: 10px;
    padding: 12px 25px;
    border: none;
}

.acoes-archive__item-button img {
    width: 18px;
    height: 18px;
}

/* EMPTY STATE */

.acoes-archive__empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
}

.acoes-archive__empty p {
    font-size: 20px;
    color: #748995;
    font-family: "Nunito", sans-serif;
}

/* PAGINAÇÃO */

.acoes-archive__pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 30px 0;
}

.acoes-archive__pagination a,
.acoes-archive__pagination span {
    padding: 10px 15px;
    background: white;
    border: 2px solid #E6E6E6;
    border-radius: 8px;
    color: #5D5D5D;
    text-decoration: none;
    font-family: "Nunito", sans-serif;
    transition: all 0.3s ease;
}

.acoes-archive__pagination a:hover {
    background: #0C96C7;
    color: white;
    border-color: #0C96C7;
}

.acoes-archive__pagination .current {
    background: #0C96C7;
    color: white;
    border-color: #0C96C7;
    font-weight: 700;
}

/* RESPONSIVIDADE */

@media (max-width: 1024px) {
    .acoes-archive__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .banner__infos {
        width: 100%;
    }

    .banner__titulo {
        font-size: 32px;
    }

    .banner_subtitulo {
        font-size: 16px;
    }

    .acoes-archive {
        padding: 50px 0;
    }

    .acoes-archive__filters {
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
    }

    .acoes-archive__search {
        max-width: 100%;
    }

    .acoes-archive__order {
        flex-direction: column;
        align-items: stretch;
    }

    .acoes-archive__order-select {
        width: 100%;
    }

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

    .acoes-archive__item-title {
        font-size: 20px;
    }

    .acoes-archive__pagination {
        flex-wrap: wrap;
    }
}
