///////////////////////////////////////////////////////////////
// Device: Desktop
///////////////////////////////////////////////////////////////

.mea5 {
    display: block;
    margin: 50px 0 0;
}

.mea5-container {
    @include outer-container;
}

.mea5-header {
    margin-bottom: 20px;
}

.mea5-header-title {
    text-align: center;
    font-family: 'lucien-light';
    font-weight: normal;
    font-size: 2em;
}

.mea5-header-subtitle {
    font-family: lucien-regular, Arial, Helvetica, sans-serif;
    text-align: center;
}

.mea5-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.mea5-push {

    @include fixed-columns($items: 4, $gutter-width: 15px);

    background: #000000;
    height: 475px;
    overflow: hidden;
    position: relative;

    picture {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
        z-index: 1;

        img {
            display: block;
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translateX(-50%) translateY(-50%);
            height: 105%;
            z-index: -1;
            transition: all 0.3s ease;
        }

        @media screen and (max-width: 481px) {
            img {
                width: 100%;
                height: auto;
            }
        }
        @media screen and (min-width: 481px) {
            img {
                width: 100%;
                height: auto;
            }
        }
        @media screen and (min-width: 1025px) {
            img {
                height: 105%;
                width: auto;
            }
        }
    }
}

.mea5-push:hover {
    img {
        filter: blur(2px);
        opacity: 0.4;
        transform: translateX(-50%) translateY(-50%) scale(1.1);
    }
    .mea5-push-title {
        color: $color-golden;
    }
}

.mea5-push-link {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    position: relative;
    z-index: 2;
    text-decoration: none;
    width: 100%;
}

.mea5-push-title {
    color: #FFFFFF;
    font-size: 1.9rem;
    text-align: center;
    text-shadow: 0 1px 2px rgba(#000000, 0.6);
    transition: all 0.3s ease;
    word-wrap: break-word;
}

///////////////////////////////////////////////////////////////
// Device: Tablet
///////////////////////////////////////////////////////////////

@include tablet-landscape-and-below {
    .mea5-header {
        padding: 0 20px;
    }
    .mea5-content {
        justify-content: space-between;
    }
    .mea5-push {
        @include fixed-columns($items: 2, $gutter-width: 20px);

        height: 240px;
    }
}

///////////////////////////////////////////////////////////////
// Device: Mobile
///////////////////////////////////////////////////////////////

@include mobile-landscape-and-below {
    .mea5-header-title {
        margin-bottom: 20px;
    }
    .mea5-content {
        display: block;
    }
    .mea5-push
    {
      margin-left: 0;
      width: 100%;
    }
}
