#primary {
    margin: 0 !important;
    border-top: 1px solid rgba(4, 31, 51, 0.1);
}

.custom-select-wrapper {
    display: flex;
}

.posters-data-items {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    margin-bottom: 64px;

    .item {
        width: calc((100% - 64px) / 3);
        overflow: hidden;

        img {
            transition: transform 0.3s ease;
        }

        &:hover {
            cursor: pointer;

            img {
                transform: scale(1.1);
            }
        }
    }
}


.poster-content-wrapper {
    margin-left: 96px;
    margin-right: 96px;

    .poster-page-title {
        display: flex;
        justify-content: space-between;
        margin-bottom: 64px;
    
        .post-title {
            h1 {
                font-size: 60px;
            }
        }
    }
    /* SELECT CATEGORY DROPDOWN */
    .custom-select-container {
        min-width: 200px;
    }
    
    .custom-select {
        cursor: pointer;
        position: relative;
        display: flex;
        justify-content: right;
    }
    
    .select-selected {
        font-size: 16px;
        margin-top: 32px;
        min-width: 200px;
        text-align: right;
        padding-top: 5px;
    
        &:before {
            content: "";
            display: inline-block; 
            width: 18px;
            height: 12px; 
            background-image: url(../icons/cat-select.svg);
            background-size: cover;
            background-repeat: no-repeat;
            margin-right: 8px;
        }
    }
    
    .add-background {
        background-color: #f2f2f2;
    }
    
    .remove-background {
        background-color: #fff;
    }
    
    .select-items {
        display: none;
        position: absolute;
        background-color: #f2f2f2;
        z-index: 99;
        font-size: 14px;
        margin-top: 53px;
        min-width: 200px;
    }
    
    .select-items div:first-child {
        padding: 20px 10px 10px 10px;
        cursor: pointer;
        text-align: right;
    }
    
    .select-items div {
        padding: 10px;
        cursor: pointer;
        text-align: right;
    }
    
    .select-items div:hover {
        text-decoration: underline;
    }
    
    .select-hide {
        display: none;
    }
    
    .select-show {
        display: block;
    }
    /* SELECT ACTUALITY DROPDOWN */
    .custom-select-container-actuality {
        min-width: 200px;
    }
    
    .custom-select-actuality {
        cursor: pointer;
        position: relative;
        display: flex;
        justify-content: right;
    }
    
    .select-selected-actuality {
        font-size: 16px;
        margin-top: 32px;
        min-width: 200px;
        text-align: right;
        padding-top: 5px;
    
        &:before {
            content: "";
            display: inline-block; 
            width: 12px;
            height: 7px; 
            background-image: url(../icons/select-down-arrow.svg);
            background-size: cover;
            background-repeat: no-repeat;
            margin-right: 8px;
            margin-bottom: 2px;
        }
    }
    
    .add-background-actuality {
        background-color: #f2f2f2;
    }
    
    .remove-background-actuality {
        background-color: #fff;
    }
    
    .select-items-actuality {
        display: none;
        position: absolute;
        background-color: #f2f2f2;
        z-index: 99;
        font-size: 14px;
        margin-top: 53px;
        min-width: 200px;
    }
    
    .select-items-actuality div:first-child {
        padding: 20px 10px 10px 10px;
        cursor: pointer;
        text-align: right;
    }
    
    .select-items-actuality div {
        padding: 10px;
        cursor: pointer;
        text-align: right;
    }
    
    .select-items-actuality div:hover {
        text-decoration: underline;
    }
    
    .select-hide-actuality {
        display: none;
    }
    
    .select-show-actuality {
        display: block;
    }

    .load-posters {
        border-top: 1px solid rgba(4, 31, 51, 0.1);
        text-align: center;
        margin-top: 80px;
    
        #load-more-posters {
            background-color: #fff;
            border: 1px solid #000;
            border-radius: 0;
            color: #000;
            margin: 40px 0 60px 0;
    
            &:hover {
                background-color: #000;
                color: #fff;
            }
        }
    }

    .footer-move-up {
        text-align: right;
        max-width: 1120px;
        margin-left: 96px;
    
        .move-up {
            font-size: 14px;
            float: right;
            margin-top: 20px;
            margin-bottom: 40px;
    
            &:before {
                content: "";
                display: inline-block; 
                width: 12px;
                height: 6px; 
                background-image: url(../icons/arrow_up.svg);
                background-size: cover;
                background-repeat: no-repeat;
                margin-right: 8px;
                margin-bottom: 2px; 
                transition: transform 0.3s ease;
            }
    
            &:hover {
                text-decoration: underline;
                cursor: pointer;
            }
        }
    }
}

@media (max-width: 1024px) {
    .posters-data-items {
        .item {
            width: calc((100% - 64px) / 2);
        }
    }
}

@media (max-width: 768px) {
    .poster-content-wrapper {
        margin-left: 0;
        margin-right: 0;
    }
}

@media (max-width: 450px) {
    .posters-data-items {
        .item {
            width: calc((100%) / 1);
        }
    }
}