.template-9837.style-1 .template__articles {
    display: none;
}

.template-9837.style-1 .template__articles.is-active {
    display: flex;
}

.template-9837.style-1 .template__cats--sticky {
    position: sticky;
    top: var(--sticky-cats-top, 100px);
    align-self: flex-start;
    z-index: 2;
    flex-shrink: 0;
}

.template-9837.style-1 .template__cat {
    font-weight: 400;
    background: transparent;
    border: 0;
    padding: 0;
    transition: all .4s;
    position: relative;
    padding: 2px;
    text-align: left;
    min-width: 85px;
}

@media (min-width: 767px) {
    
    .template-9837.style-1 .template__cat {
        min-width: 120px;
        padding: 4px;
    }
}

.template-9837.style-1 .template__cat:before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: var(--color-9);
    transition: all .4s;
    transform-origin: left;
    transform: scaleX(0.15);
}

/* style--1 */

.template-9837.style-1.style--1 .template__cat {
    color: #fff;
}

.template-9837.style-1.style--1 .template__cat:before {
    background: #fff;
}

.template-9837.style-1 .template__cat.is-active:before {
    transform: scaleX(1);
}

.template-9837.style-1 .template__cat.is-active {
    font-weight: 600;
    color: var(--color-3);
}

/* template__content image max-height 50px mobile, 80px tablet/desktop */

.template-9837.style-1.template-image-max-height-50-mobile-80-tablet-desktop .template__content img {
    max-height: 50px;
}

@media (min-width: 766.92px) {

    .template-9837.style-1.template-image-max-height-50-mobile-80-tablet-desktop .template__content img {
        max-height: 80px;
    }
}

/* template__title styles */

.template-9837.style-1 .template__title {
    opacity: 0;
    transition: all .4s;
    pointer-events: none;
    user-select: none;
    transform: translate(-50%, 10%);
    font-size: 9px;
    z-index: 1;
}

.template-9837.style-1 .template__content img {
    max-width: 40px;
}

@media (min-width: 766.92px) {

    .template-9837.style-1 .template__title {
        font-size: 10px;
    }

    .template-9837.style-1 .template__content img {
        max-width: 60px;
    }    
}

@media (min-width: 991.92px) {

    .template-9837.style-1 .template__article-cont:hover .template__title {
        opacity: 1;
    }
    .template-9837.style-1 .template__title {
        transform: translate(-50%, -40%);
        font-size: 12px;
    }
}

@media (max-width: 991.92px) {

    .template-9837.style-1 .template__article-cont {
        cursor: pointer;
    }

    .template-9837.style-1 .template__article-cont:focus-within .template__title {
        opacity: 1;
    }
}
