.widget-documents.template-1{
    position: relative;
    overflow: hidden;
    font-size: var(--font-size, clamp(16px, 1.6vw, 20px));
    padding: var(--padding);
}
.widget-documents.template-1 .widget-header{
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2em;
}
.widget-documents.template-1 .widget-header .widget-title{
    color: #282828;
    font-size: 2.5em;
    font-weight: 500;
    line-height: 1.3;
    text-transform: uppercase;
}
.widget-documents.template-1 .widget-header + *{
    margin-top: 2.1em;
}

.widget-documents.template-1 .widget-filter{
    display: flex;
    flex-direction: column;
    gap: .55em;
    max-width: 100%;
}
.widget-documents.template-1 .widget-filter-tabs{
    display: inline-flex;
    align-items: flex-end;
    height: 3.25em;
    max-width: 100%;
    margin: 0;
}
.widget-documents.template-1 .widget-filter-tabs .swiper-wrapper{
    align-items: flex-end;
}
.widget-documents.template-1 .widget-filter-tabs .tab{
    position: relative;
    cursor: pointer;
    user-select: none;
    padding: 1.4em 1.8em;
    flex: auto;
    height: auto;
    text-decoration: none;
    max-width: fit-content;
    border: none;
    outline: none;
    background: transparent;
}
.widget-documents.template-1 .widget-filter-tabs .tab:before{
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 1px;
    width: 100%;
    background-color: #E2E2E2;
}
.widget-documents.template-1 .widget-filter-tabs .tab:after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    height: 1px;
    width: 0;
    background-color: var(--main-color);
    transform: translateX(-50%);

    transition: width .2s ease-out;
}
.widget-documents.template-1 .widget-filter-tabs .tab[data-active="true"]:after{
    width: 100%;
}
.widget-documents.template-1 .widget-filter-tabs .tab-title{
    position: relative;
    color: #282828;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
    text-align: center;
    transform-origin: bottom center;
    white-space: nowrap;

    transition: opacity .2s ease-out, color .2s ease-out, font-weight .2s ease-out, font-size .2s ease-out, transform .3s cubic-bezier(0.4, 0, 0.2, 1);
}
.widget-documents.template-1 .widget-filter-tabs .tab:hover .tab-title,
.widget-documents.template-1 .widget-filter-tabs .tab:focus .tab-title{
    color: var(--main-color);
}
.widget-documents.template-1 .widget-filter-tabs .tab[data-active="true"] .tab-title{
    color: var(--main-color);
}
.widget-documents.template-1 .widget-filter + .widget-content{
    margin-top: 3em;
}

.widget-documents.template-1 .widget-items{
    display: none;
    flex-direction: column;
    gap: 0;
    max-width: 1200px;
}
.widget-documents.template-1 .widget-items[data-active="true"]{
    display: flex;
}
.widget-documents.template-1 .widget-item{
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.25em .8em;
    color: #282828;
    min-width: 0;
}
.widget-documents.template-1 .widget-item:not(:first-child){
    margin-top: 1.4em;
}
.widget-documents.template-1 .widget-item-extension{
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 3.75em;
    width: 3.75em;
    height: 3.75em;
    border-radius: 50%;
    background-color: var(--main-color);
    color: #282828;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
}
.widget-documents.template-1 .widget-item-name-wrap{
    flex: 1 1 auto;
    padding-right: 2em;
}
.widget-documents.template-1 .widget-item-name{
    color: #282828;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.25;
    text-decoration: none;
    text-transform: uppercase;

    transition: color .2s ease-out;
}
.widget-documents.template-1 .widget-item-actions{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .6em;
    flex: 0 0 auto;
    margin-left: auto;
}
.widget-documents.template-1 .widget-item-action{
    display: inline-flex;
    align-items: center;
    gap: .45em;
    color: #282828;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    transition: color .2s ease-out;
}
.widget-documents.template-1 .widget-item-action svg{
    width: 1.75em;
    height: auto;
    flex: 0 0 auto;
}
.widget-documents.template-1 .widget-item-action svg path{
    transition: stroke .2s ease-out;
}
.widget-documents.template-1 .widget-item-action:hover svg path,
.widget-documents.template-1 .widget-item-action:focus svg path{
    stroke: var(--main-color);
}

@media all and (max-width: 1480px) {
    .widget-documents.template-1 .widget-filter-tabs{
        overflow: visible;
    }
}
@media all and (max-width: 1000px) {
    .widget-documents.template-1 .widget-header .widget-title{
        font-size: 2em;
    }
    .widget-documents.template-1 .widget-filter-tabs .tab{
        padding: 1em 2em;
    }
    .widget-documents.template-1 .widget-filter-tabs .tab-title{
        font-size: 1em;
    }
}
@media all and (max-width: 600px) {
    .widget-documents.template-1{
        padding: var(--padding-mobile);
    }
    .widget-documents.template-1 .widget-header + *{
        margin-top: 2em;
    }
    .widget-documents.template-1 .widget-filter{
        gap: 1.6em;
    }
    .widget-documents.template-1 .widget-filter-tabs .tab{
        padding: 1.7em 1em;
    }
    .widget-documents.template-1 .widget-filter-tabs .tab-title{
        font-size: 1em;
    }
    .widget-documents.template-1 .widget-filter + .widget-content{
        margin-top: 2.3em;
    }
    .widget-documents.template-1 .widget-item{
        gap: 1em;
    }
    .widget-documents.template-1 .widget-item:not(:first-child){
        margin-top: 1em;
    }
    .widget-documents.template-1 .widget-item-extension{
        font-size: .65em;
    }
    .widget-documents.template-1 .widget-item-name-wrap{
        flex: 1 1 calc(100% - 4em);
        padding-right: 0;
    }
    .widget-documents.template-1 .widget-item-name{
        font-size: 14px;
    }
    .widget-documents.template-1 .widget-item-actions{
        margin-left: 0;
        gap: .7em;
    }
    .widget-documents.template-1 .widget-item-action{
        font-size: 12px;
    }
}
