.acervo-filmes {
    grid-column: 1 / -1;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    min-height: 565px;
    padding: 38px 24px 26px;
    box-sizing: border-box;
    background-color: #050505;
    background-image: url("../../img/acervo/desktop.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: #fff;
}

.acervo-filmes-container {
    max-width: 1184px;
    margin: 0 auto;
}

.acervo-filmes .programacao-filters-acervo {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr) 205px;
    grid-template-areas:
        "title search search"
        "filters filters filters";
    column-gap: 28px;
    row-gap: 21px;
    padding-bottom: 21px;
    border-bottom: 1px solid rgba(255, 255, 255, .2);
}

.acervo-filmes .tittle-acervo {
    grid-area: title;
    margin: 0;
    align-self: center;
    color: #fff;
    font-family: "DMSans-bold", sans-serif;
    font-size: 32px;
    line-height: 1.15;
}

.acervo-filmes .acervo-search {
    grid-area: search;
    position: relative;
    display: flex;
    align-items: center;
    height: 38px;
    border: 1px solid #e6e6e6;
    border-radius: 999px;
    background: #f9f9f9;
}

.acervo-filmes .acervo-search-icon {
    position: absolute;
    left: 21px;
    z-index: 1;
    width: 11px;
    height: 11px;
    border: 2px solid #999;
    border-radius: 50%;
    pointer-events: none;
}

.acervo-filmes .acervo-search-icon::after {
    position: absolute;
    right: -5px;
    bottom: -3px;
    width: 6px;
    height: 2px;
    border-radius: 2px;
    background: #999;
    content: "";
    transform: rotate(45deg);
}

.acervo-filmes .acervo-search input {
    width: 100%;
    height: 100%;
    padding: 0 20px 0 47px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #363636;
    font-family: "DMSans-regular", sans-serif;
    font-size: 12px;
}

.acervo-filmes .acervo-search input::placeholder {
    color: #8f8f8f;
    opacity: 1;
}

.acervo-filmes .acervo-filter-options {
    grid-area: filters;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 205px;
    gap: 38px;
    align-items: end;
}

.acervo-filmes .acervo-letter-filter,
.acervo-filmes .acervo-genre-filter {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.acervo-filmes .acervo-filter-label {
    color: #fff;
    font-family: "DMSans-medium", sans-serif;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -.32px;
}

.acervo-filmes .acervo-letter-list {
    display: grid;
    grid-template-columns: repeat(26, minmax(0, 1fr));
    gap: 7px;
}

.acervo-filmes .acervo-letter-list button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    height: 35px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: #1D1D1D;
    color: #fff;
    cursor: pointer;
    font-family: "DMSans-bold", sans-serif;
    font-size: 16px;
    line-height: 24px;
    transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.acervo-filmes .acervo-letter-list button:hover,
.acervo-filmes .acervo-letter-list button.is-active,
.acervo-filmes .acervo-letter-list button:focus-visible {
    background: #fff;
    color: #171717;
    outline: 0;
    transform: translateY(-1px);
}

.acervo-filmes .acervo-genre-filter select,
.acervo-filmes .acervo-mobile-select {
    width: 100%;
    height: 38px;
    padding: 0 34px 0 19px;
    border: 1px solid #E6E6E6;
    border-radius: 999px;
    appearance: none;
    background-color: #F9F9F9;
    background-image: url("../../img/icons/dropdown.svg");
    background-position: right 15px center;
    background-repeat: no-repeat;
    background-size: 10px auto;
    color: #8F8F8F;
    cursor: pointer;
    font-family: "DMSans-medium", sans-serif;
    font-size: 12px;
}

.acervo-custom-select strong {
  color: #363636;
  font-family: "DMSans-bold", sans-serif;
}

.acervo-filmes .acervo-genre-filter option,
.acervo-filmes .acervo-mobile-select option {
    color: #171717;
}

.acervo-filmes .acervo-mobile-select {
    display: none;
}

.acervo-filmes .programacao-page {
    margin: 0;
}

.acervo-filmes .programacao-container {
    margin-top: 34px;
}

.acervo-filmes .programacao-ul {
    display: grid;
    grid-template-columns: repeat(8, 136px);
    justify-content: space-between;
    gap: 22px 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.acervo-filmes .programacao-ul > li {
    width: 136px;
    min-width: 0;
    max-width: 136px !important;
}

.acervo-filmes .acervo-wrapper {
    width: 136px;
}

.acervo-filmes .acervo-box {
    position: relative;
    display: block;
    width: 136px;
    height: 192px;
    overflow: hidden;
    border-radius: 8px;
    background: #1b1b1b;
    box-shadow: 0 10px 20px rgba(0, 0, 0, .35);
}

.acervo-filmes .acervo-box::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 45%;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .5));
    content: "";
    pointer-events: none;
}

.acervo-filmes .acervo-box .header-destaque-img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: center;
    transition: transform .3s ease;
}

.acervo-filmes .acervo-box:hover .header-destaque-img,
.acervo-filmes .acervo-box:focus-visible .header-destaque-img {
    transform: scale(1.06);
}

.acervo-filmes .acervo-box:focus-visible {
    outline: 2px solid #df16de;
    outline-offset: 3px;
}

.acervo-filmes .programacao-description {
    margin-top: 12px;
}

.acervo-filmes .programacao-description h2 {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: #fff;
    font-family: "DMSans-bold", sans-serif;
    font-size: 12px;
    line-height: 16px;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.acervo-filmes .cine-info-poster-mark {
    top: 14px;
}

.acervo-filmes .acervo-all-link {
    display: flex;
    width: max-content;
    min-width: 208px;
    height: 40px;
    margin: 33px auto 0;
    padding: 0 28px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #D11AD1;
    box-shadow: 0px 10px 20px #D11AD126;
    color: #fff;
    font-family: "DMSans-bold", sans-serif;
    font-size: 11px;
    line-height: 16px;
    text-decoration: none;
    text-transform: uppercase;
}

@media (max-width: 1252px) {
    .acervo-filmes .programacao-ul {
        grid-template-columns: repeat(6, 136px);
        justify-content: space-around;
    }
}

@media (max-width: 960px) {
    .programacao-ul {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (max-width: 850px) {
    .acervo-filmes .programacao-filters-acervo {
        grid-template-columns: 1fr;
        grid-template-areas:
            "title"
            "search"
            "filters";
        row-gap: 16px;
    }

    .acervo-filmes .acervo-filter-options {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
        gap: 15px;
    }

    .acervo-filmes .acervo-letter-list {
        display: none;
    }

    .acervo-filmes .acervo-mobile-select {
        display: block;
    }

    .acervo-filmes .programacao-ul {
        grid-template-columns: repeat(4, 136px);
    }
}

@media (max-width: 768px) {
    .acervo-filmes {
        min-height: 672px;
        padding: 30px 20px 28px;
        background-image: url("../../img/acervo/mobile.png");
        background-position: center top;
    }

    .acervo-filmes .tittle-acervo {
        font-size: 26px;
    }

    .acervo-filmes .acervo-filter-label {
        font-size: 14px;
        line-height: 16px;
        white-space: nowrap;
    }

    .acervo-filmes .acervo-genre-filter select,
    .acervo-filmes .acervo-mobile-select {
        height: 36px;
        padding-left: 16px;
        font-size: 11px;
    }

    .acervo-filmes .programacao-container {
        margin-top: 26px;
    }

    .acervo-filmes .programacao-ul {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px 12px;
    }

    .acervo-filmes .programacao-ul > li,
    .acervo-filmes .acervo-wrapper,
    .acervo-filmes .acervo-box {
        width: 100%;
        max-width: none !important;
    }

    .acervo-filmes .acervo-box {
        height: auto;
        aspect-ratio: 136 / 192;
    }

    .acervo-filmes .programacao-description h2 {
        font-size: 12px;
    }
}
