

/* Start:/local/templates/aspro-allcorp3/css/styles/ap-materials.css?17897187046715*/
.maxwidth-theme > .maxwidth-theme {
    padding: 0;
}

.ap-materials {
}

.ap-materials .ap-module-pagination{
    margin-top: 32px;
}

.ap-materials__top {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
}



.ap-materials__options {
    margin-left: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.ap-materials__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.ap-materials-item {
    border: 1px solid #06101F26;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 167px;
    border-radius: 6px;
    padding: 20px;
    color: var(--color-primary);
    transition: all 0.2s ease;
}

.ap-materials-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);

}

.ap-materials-item__icon {
    width: 32px;
    height: 32px;
    margin-bottom: 12px;
    color: var(--color-secondary);
}

.ap-materials-item__icon img,
.ap-materials-item__icon svg {
    width: 100%;
    height: 100%;
}

.ap-materials-item__title {
    font-family: var(--ff-secondary);
    font-weight: 700;
    font-size: 24px;
    line-height: 130%;
    text-align: center;
    margin-top: 0;
    margin-bottom: 2px;

}

.ap-materials-item__subtitle {
    font-weight: 400;
    font-size: 14px;
    line-height: 140%;
    text-align: center;
    margin-bottom: 12px;

}

.ap-materials-item__btn {
    margin-top: auto;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    text-align: center;
    opacity: 0.5;
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 1260px) {
    .ap-materials__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .ap-materials__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 12px;
    }
}

@media (max-width: 600px) {
    .ap-materials-item {
        padding: 12px;
        min-height: 130px;
    }
}

@media (max-width: 520px) {
    .ap-materials__top._tags .custom-select,
    .ap-materials__top._tags .ap-materials__options,
    .ap-materials__top._tags .show-more-accordion{
        width: 100%;
    }
}

@media (max-width: 460px) {

    .ap-materials-item__icon {
        width: 24px;
        height: 24px;
        margin-bottom: 10px;
    }

    .ap-materials-item__title {
        font-size: 18px;
    }

    .ap-materials-item__subtitle {
        font-size: 12px;
        margin-bottom: 8px;
    }

    .ap-materials-item__btn {
        font-size: 12px;
    }
}


/* DETAIL  START*/

.ap-materials__list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.ap-materials-detail {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ap-materials-detail__date {
    width: 64px;
    flex: none;
    border-radius: 6px;
    background-color: var(--color-light);
    padding: 4px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: normal;
}

.ap-materials-detail__date-day {
    font-weight: 600;
    font-size: 22px;
    line-height: normal;
    text-align: center;
    margin-bottom: 2px;

}

.ap-materials-detail__date-month {
    font-weight: 700;
    font-size: 9px;
    line-height: normal;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 3px;

}

.ap-materials-detail__date-year {
    width: max-content;
    background-color: #fff;
    border-radius: 100px;
    font-weight: 700;
    font-size: 9px;
    line-height: 100%;
    text-align: center;
    text-transform: uppercase;
    padding: 1px 4px;
    margin: 0;
}

.ap-materials-detail__content {
    width: 100%;
}

.ap-materials-detail__title {
    font-family: var(--ff-secondary);
    font-weight: 500;
    font-size: 22px;
    line-height: 145%;
    color: var(--color-primary);
    margin-top: 0;
    margin-bottom: 6px;

}

.ap-materials-detail__text {
    font-weight: 400;
    font-size: 14px;
    line-height: 140%;
}

.ap-materials-detail__text p {
    margin: 0;
}

.ap-materials-detail__btn.btn.btn-white {
    font-weight: 700;
    font-size: 12px;
    line-height: 100%;
    padding: 9px 18px;
    flex: none;
    display: flex;
    align-items: center;
    gap: 2px;
    border: 1px solid #06101F26;
    background: #F8FAFF;
}

.ap-materials-detail__btn.btn svg {
    width: 18px;
    height: 18px;
    fill: transparent;
}

.ap-materials-detail__btn.btn svg path {
    fill: transparent;
}

@media (max-width: 1220px) {
    .ap-materials-detail {
        flex-wrap: wrap;
    }
}

@media (max-width: 1024px) {
    .ap-materials__list {
        gap: 16px;
    }

    .ap-materials__group-title {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .ap-materials-detail__title {
        font-size: 18px;
        line-height: 1.3;
    }
}


/* DETAIL  END*/


/* MODAL VIDEO START*/

.ap-materials-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #06101F4D;
    display: flex;
    z-index: 1000;
    visibility: hidden;
    opacity: 0;
    user-select: none;
    pointer-events: none;
}

.ap-materials-video._open{
    visibility: visible;
    opacity: 1;
    pointer-events: all;
    transition: all 0.4s ease 0.2s;
}

.ap-materials-video._open .ap-materials-video__inner{
    opacity: 1;
}

.ap-materials-video__inner {
    margin: auto;
    width: fit-content;
    height: auto;
    position: relative;
    opacity: 0;
    transition: all 0.4s ease 0.2s;
}

.ap-materials-video__inner video {
    width:70vw;
    height: auto;
    object-fit: contain;
    max-width: 100%;
    max-height: 100dvh;
    border-radius: 8px;
}

.ap-materials-video__close {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 12px;
    right: 12px;
    color:#06101F99;
    transition: all 0.2s;
}

.ap-materials-video__close:hover{
    color:#06101F;
}

@media (max-width: 1024px) {
    .ap-materials-video__inner video {
        width:80vw;
    }
}

@media (max-width: 600px) {
    .ap-materials-video__inner video {
        width:96vw;
    }

    .ap-materials-video__close{
        top: 0;
        transform: translateY(-110%);
    }
}

/* MODAL VIDEO END */

/* End */
/* /local/templates/aspro-allcorp3/css/styles/ap-materials.css?17897187046715 */
