/*.at-routeBlocksV2 {*/
/*    margin-bottom: 3em;*/
/*}*/

.at-routeBlocksV2__introWrapper {
    max-width: 700px;
    margin: 0 auto 3em;
    text-align: center;
}

.at-routeBlocksV2__introDesc {
    font-size: 1.15em;
    line-height: 1.6;
}

.at-routeBlocksV2__block {
    position: relative;
    margin-bottom: 2rem;
}

.at-routeBlocksV2__imageWrapper {
    position: relative;
    min-height: 6rem;
    margin-bottom: 1rem;
    overflow: hidden;
    background: #eee;
}

.at-routeBlocksV2__imageWrapper,
.at-routeBlocksV2__image {
    display: block;
}

.at-routeBlocksV2__title {
    margin: 0 0 0.7em 0;
    font-size: 1.5em;
}

.at-routeBlocksV2__info {
    position: relative;
    margin-bottom: 0.5em;
    padding-left: 1.5em;
}

.at-routeBlocksV2__infoIcon::before {
    position: absolute;
    left: 0;
    top: 4px;
    margin: 0;
}

.at-routeBlocksV2__infoValue {
    margin: 0;
}

.at-routeBlocksV2__infoValue span + span::before {
    display: inline-block;
    margin: 0 .3em 0 0;
    content: '-';
}

.at-routeBlocksV2__link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    text-decoration: none;
}

/**
 * Hover effect
 */

.at-routeBlocksV2__image {
    transition: transform 0.4s ease;
}

.at-routeBlocksV2__imageWrapper:after {
    content: '';
    position: absolute;
    inset: 0;
    background-color: var(--tertiaryColor500);
    mix-blend-mode: darken;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.at-routeBlocksV2__block:hover .at-routeBlocksV2__imageWrapper:after {
    opacity: .5
}

.at-routeBlocksV2__block:hover .at-routeBlocksV2__image {
    transform: scale(1.05);
}

@media screen and (min-width: 768px) {
    .at-routeBlocksV2__blockWrapper {
        display: flex;
        margin-left: -2rem;
    }

    .at-routeBlocksV2__block {
        flex-grow: 1;
        flex-shrink: 1;
        flex-basis: calc(50% - 2rem);
        margin-left: 2rem;
    }

    .at-routeBlocksV2__block:first-child:only-child {
        align-self: center;
    }
}
