/*==============================*/
/*=====----- TEMPLATE -----=====*/
/*==============================*/

.youmayalsolike {
    position: relative;
    margin-bottom: 16px;
}

.youmayalsolike .template-header {
    max-width: 1112px;
    padding-left: 32px;
    margin: 0 auto 6px;
}

.youmayalsolike .template-title {
    padding-right: 32px;
    font-family: var(--bebas);
    font-weight: var(--font-weight-medium);
    font-size: 40px;
    line-height: 1;
    text-transform: uppercase;
    color: var(--blue-light);
}

.youmayalsolike .template-title b {
    font-weight: bold;
    color: var(--blue-dark);
}

.youmayalsolike .button-tabs {
    display: flex;
    align-items: center;
    gap: 13px;
}

.youmayalsolike .tabs-inner {
    display: flex;
    gap: 10px;
    padding: 16px 20px 16px 0;
    overflow-y: hidden;
    overflow-x: auto;
    white-space: nowrap;
}

.youmayalsolike .arrow-button {
    transform: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    aspect-ratio: 1;
    flex-shrink: 0;
    padding: 0;
    margin: 0;
    background: var(--orange);
    border: none;
    border-radius: 50%;
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 12px;
    line-height: 1;
    color: var(--white);
    transition: transform var(--transition);
}

.youmayalsolike .arrow-button.reverse {
    transform: rotate(180deg);
}

.youmayalsolike .arrow-button::before {
    content: '\f061';
}

.youmayalsolike .tab-button {
    display: inline-block;
    flex-shrink: 0;
    padding: 10px 40px 7px;
    margin: 0;
    background-color: var(--white);
    border: 1px solid rgba(0, 90, 139, 0.2);
    border-radius: var(--rounded-full);
    font-family: var(--bebas);
    font-weight: normal;
    font-size: 26px;
    line-height: 1;
    text-transform: uppercase;
    text-align: center;
    color: var(--blue-dark);
    transition: background-color var(--transition);
}

.youmayalsolike .tab-button.active {
    background-color: rgba(0, 90, 139, 0.2);
}

.youmayalsolike .slides {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
}

/*============================*/
/*=====----- SLIDES -----=====*/
/*============================*/

.youmayalsolike .slide,
.youmayalsolike .img-cont,
.youmayalsolike .slide-img {
    position: relative;
    z-index: 1;
}

.youmayalsolike .slide {
    border-radius: 4px;
    overflow: hidden;
}

.youmayalsolike .img-cont::before {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: block;
    background: rgba(0, 0, 0, 0.5);
    content: '';
    pointer-events: none;
    opacity: 1;
    transition: opacity var(--transition);
}

.youmayalsolike .slide-img {
    width: 100%;
}

.youmayalsolike .content-section {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    pointer-events: none;
}

.youmayalsolike .content-section a {
    pointer-events: all;
}

.youmayalsolike .slide-title {
    font-family: var(--bebas);
    font-weight: bold;
    font-size: 40px;
    line-height: 1;
    text-transform: uppercase;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.251);
    text-align: center;
    color: var(--white);
}

/*===================================*/
/*=====----- MEDIA QUERIES -----=====*/
/*===================================*/

@media (hover: hover) {
    .youmayalsolike .img-cont::before {
        opacity: 0;
    }

    .youmayalsolike .slide:hover .img-cont::before {
        opacity: 1;
    }

    .youmayalsolike .tab-button:hover {
        background-color: rgba(0, 90, 139, 0.2);
    }
}

@media (min-width: 40em) {
    .youmayalsolike .slides {
        grid-template: auto / repeat(3, minmax(0, 1fr));
    }

    .youmayalsolike .slide-title {
        font-size: 20px;
    }
}

@media (min-width: 64em) {
    .youmayalsolike {
        margin-bottom: 30px;
    }

    .youmayalsolike .template-header {
        margin-bottom: 15px;
    }
    
    .youmayalsolike .template-title {
        font-size: 60px;
    }

    .youmayalsolike .button-tabs {
        display: block;
    }

    .youmayalsolike .arrow-button {
        display: none;
    }

    .youmayalsolike .tabs-inner {
        gap: 8px;
    }

    .youmayalsolike .tab-button {
        font-size: 32px;
    }

    .youmayalsolike .slides {
        gap: 32px;
    }

    .youmayalsolike .slide-title {
        font-size: 44px;
    }
}