@charset "UTF-8";
/***!  /media/templates/site/avenir/css/com_content_category.css?736373  !***/

.category{
    display: flex;
    flex-direction: column;
    gap: 30px;
}
    .category_title{
    }
    .category_text{
    }
    .category_toolbar{
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
        gap: 30px;
        width: 100%;
        margin-top: 20px;
        margin-bottom: -15px;
    }
        .category_toolbar-left,
        .category_toolbar-right{
            display: flex;
            flex-direction: row;
            gap: 10px;
        }
        .category_toolbar-left{
            flex-grow: 1;
            min-width: 0;
        }
        .category_toolbar-right{
            flex-shrink: 0;
        }
            .category_toolbar-tool{
                display: flex;
                flex-direction: row;
                align-items: center;
            }
            .category_toolbar-tool:not(:last-child),
            .category_toolbar-tool:not(:last-child){
                padding-right: 10px;
                border-right: 1px solid rgba(0, 0, 0, 0.1);
            }
                .category_parent{
                    flex-shrink: 0;
                }
                    .category_parent-button{
                        display: flex;
                        flex-direction: row;
                        align-items: center;
                        justify-content: center;
                        gap: 10px;
                        height: 30px;
                        padding: 0 15px 0 5px;
                        border-radius: 15px;
                        background: var(--color-9);
                        line-height: 20px;

                        &:hover .category_parent-button-icon{
                            background: var(--color-4-darker);
                        }
                    }
                        .category_parent-button-icon{
                            display: flex;
                            flex-direction: row;
                            align-items: center;
                            justify-content: center;
                            width: 20px;
                            height: 20px;
                            border-radius: 50%;
                            background: var(--color-4);
                            color: var(--color-2);
                            font-size: 12px;

                            transition: background .2s ease-in-out;
                        }
                        .category_parent-button-title{
                            color: var(--color-1);
                            font-size: 14px;
                            font-weight: 800;
                            white-space: nowrap;
                        }
                .category_subcategories{
                    flex-grow: 1;
                    min-width: 0;
                    gap: 10px;
                }
                    .category_subcategories-icon{
                        flex-shrink: 0;
                        display: flex;
                        flex-direction: column;
                        justify-content: space-between;
                        align-items: center;
                        width: 22px;
                        height: 14px;
                        position: relative;

                        & span{
                            height: 2px;
                            border-radius: 1px;
                            background: var(--color-7);
                        }
                        & span:nth-child(1){
                            width: 100%;
                        }
                        & span:nth-child(2){
                            width: 70%;
                        }
                        & span:nth-child(3){
                            width: 40%;
                        }
                    }
                    .category_subcategories-slider-button{
                        flex-shrink: 0;
                        color: var(--color-6);
                        font-size: 14px;

                        &.disabled{
                            display: none;
                        }
                    }
                    .category_subcategories-slider{
                        flex-grow: 1;
                        min-width: 0;
                        display: flex;
                        flex-direction: row;
                        align-items: center;
                        gap: 5px;
                        position: relative;
                        overflow: hidden;
                    }
                        .category_subcategories-slider:not(.is-beginning)::before{
                            content: "";
                            width: 40px;
                            height: 100%;
                            background: linear-gradient(to right, #ffffff 0%, transparent 100%);
                            position: absolute;
                            left: 0;
                            top: 0;
                            z-index: 2;
                        }
                        .category_subcategories-slider:not(.is-end)::after{
                            content: "";
                            width: 40px;
                            height: 100%;
                            background: linear-gradient(to left, #ffffff 0%, transparent 100%);
                            position: absolute;
                            right: 0;
                            top: 0;
                            z-index: 2;
                        }
                        .category_subcategories-slider-wrapper{
                            min-width: 0;
                            position: relative;
                            z-index: 1;
                        }
                            .category_subcategory{
                                display: flex;
                                flex-direction: row;
                                align-items: center;
                                justify-content: center;
                                gap: 5px;
                                width: auto;
                                height: 30px;
                                padding: 0 15px;
                                border-radius: 15px;
                                background: var(--color-6);
                                color: var(--color-2);
                                line-height: 20px;

                                transition: background .2s ease-in-out;

                                &:hover{
                                    background: var(--color-6-darker);
                                }
                            }
                                .category_subcategory-title{
                                    font-size: 14px;
                                    font-weight: 800;
                                    white-space: nowrap;
                                }
                                .category_subcategory-counter{
                                    font-size: 14px;
                                }
                .category_counter{
                    flex-shrink: 0;
                }
                    .category_counter-title{
                        flex-shrink: 0;
                        font-size: 14px;
                        font-weight: bold;
                    }

.category_articles{
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1024px;
    gap: 40px;
}
    .category_article{
        display: flex;
        flex-direction: row;
        width: 100%;
        min-height: 460px;
        border-radius: 0 0 50px 0;
        overflow: hidden;
    }
        .category_article-image{
            flex-grow: 1;
            background: var(--color-2);
            position: relative;
        }
            .category_article-image img{
                width: 100%;
                height: 100%;
                object-fit: cover;
                position: absolute;
                left: 0;
                top: 0;
                z-index: 1;
            }
            .category_article-state{
                height: 20px;
                padding: 0 5px;
                border-radius: 5px;
                background: var(--color-5);
                color: var(--color-2);
                line-height: 20px;
                font-size: 12px;
                font-weight: bold;
                position: absolute;
                z-index: 2;
                left: 20px;
                top: 20px;
            }
        .category_article-caption{
            flex-shrink: 0;
            display: flex;
            flex-direction: column;
            gap: 28px;
            width: 430px;
            padding: 70px 50px;
            background: var(--color-3);
            color: var(--color-1);
        }
            .category_article-caption-content{
                flex-grow: 1;
                display: flex;
                flex-direction: column;
                gap: 28px;
            }
                .category_article-title{

                }
                .category_article-excerpt{

                }
            .category_article-button{
                align-self: center;
                flex-shrink: 0;
                display: flex;
                flex-direction: row;
                align-items: center;
                justify-content: center;
                min-width: 150px;
                height: 40px;
                padding: 0 20px;
                border-radius: 20px;
                background: var(--color-5);
                color: var(--color-2);

                transition: background .2s ease-in-out;

                &:hover{
                    background: var(--color-5-darker);
                }
            }
                .category_article-button-title{
                    font-size: 20px;
                    font-weight: bold;
                    text-transform: uppercase;
                }

@media (max-width: 1024px) {

    .category_article-caption{
        width: 390px;
        padding: 70px 40px;
    }

}

@media (max-width: 768px) {

    .category_parent{
        display: none;
    }
    .category_toolbar-right{
        display: none;
    }
    .category_article-image{
        height: 300px;
    }
    .category_article{
        flex-direction: column;
        min-height: 0;
    }
    .category_article-caption{
        width: 100%;
        padding: var(--global-padding);
    }
    .category_article-caption-content{
        gap: 20px;
    }

}

@media (max-width: 480px) {

    .category_article-image{
        height: 240px;
    }

}
