/*==============================*/
/*=====----- TEMPLATE -----=====*/
/*==============================*/

.date-slider {
    position: relative;
    color: var(--navy-dark);
    padding-left: 20px;
    margin-bottom: var(--widget-margin-bottom);
}

.date-slider .template-header {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
    margin-bottom: 22px;
}

.date-slider .template-header::after {
    display: block;
    flex-grow: 1;
    height: 5px;
    background: var(--navy-dark);
    content: '';
}

.date-slider .template-title {
    font-family: var(--sentinel);
    font-weight: var(--font-weight-med);
    font-size: 34px;
    font-style: italic;
    line-height: calc(41/34);
    color: inherit;
}

.date-slider .glide__arrows {
    display: flex;
    justify-content: flex-end;
    gap: 55px;
    padding: 20px 20px 0;
}

.date-slider .glide__arrow {
    width: 50px;
    aspect-ratio: 5 / 3;
}

/*============================*/
/*=====----- SLIDES -----=====*/
/*============================*/

.date-slider .mini-date-section {
    --text-color: var(--navy-dark);
    --background-color: transparent;

    position: relative;
    display: inline-flex;
    padding: 2px 12px;
    margin-bottom: 10px;
    transition: color var(--transition);
    pointer-events: all;
}

.date-slider .mini-date-section::before {
    position: absolute;
    inset: 0;
    z-index: 0;
    transform: scaleX(.1);
    transform-origin: left center;
    display: block;
    background: var(--blue);
    content: '';
    transition: transform var(--transition);
}

.date-slider .slide-title {
    margin-bottom: 4px;
    font-family: var(--knockout-heavy);
    font-weight: normal;
    font-size: 18px;
    line-height: calc(13/9);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--blue-dark);
    word-wrap: break-word;
}

.date-slider .location {
    display: flex;
    align-items: baseline;
    gap: 7px;
    font-family: var(--trade-gothic-oblique);
    font-weight: normal;
    font-size: 16px;
    line-height: 1.5;
    text-decoration: none;
}

.date-slider .location::before {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-style: normal;
    content: '\f3c5';
    font-size: 22px;
    color: var(--blue);
}

.date-slider .location a {
    font: inherit;
    color: inherit;
    line-height: inherit;
    text-decoration: inherit;
}

/*===================================*/
/*=====----- MEDIA QUERIES -----=====*/
/*===================================*/

@media (hover: hover) {
    .date-slider .mini-date-section:hover {
        color: var(--white);
    }

    .date-slider .mini-date-section:hover::before {
        transform: none;
    }

    .date-slider .location a:hover {
        text-decoration: underline;
    }
}

@media (min-width: 64em) {
    .date-slider {
        padding-left: 140px;
    }

    .date-slider .template-header {
        gap: 32px;
    }

    .date-slider .template-title {
        font-size: 51px;
    }

    .date-slider .glide__arrows {
        padding: 27px 80px 0;
    }

    .date-slider .mini-date-section {
        --month-size: 14px;
        --day-size: 50px;
    }

    .date-slider .slide-title {
        font-size: 20px;
        line-height: 1.4;
    }

    .date-slider .location {
        font-size: 20px;
    }

    .date-slider .location::before {
        font-size: 24px;
    }
}