/**
 * Featured links article template
 */

.at-featuredLinks {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.at-featuredLinks__button {
    -ms-flex-preferred-size: 50%;
    flex-basis: 50%;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 0 0 1px #fff;
    transition: transform .2s ease-in-out;
}

.at-featuredLinks__button:nth-child(1) {
    background: #004f91;
}

.at-featuredLinks__button:nth-child(2) {
    background: #ed7004;
}

.at-featuredLinks__button:nth-child(3) {
    background: #f9a970;
}

.at-featuredLinks__button:nth-child(4) {
    background: #b6cbd8;
}

.at-featuredLinks__button:nth-child(5) {
    background: #004f91;
}

.at-featuredLinks__button:nth-child(6) {
    background: #b6cbd8;
}

.at-featuredLinks__button:nth-child(7) {
    background: #004f91;
}

.at-featuredLinks__button:nth-child(8) {
    background: #ed7004;
}

.at-featuredLinks__button:nth-child(9) {
    background: #f9a970;
}

.at-featuredLinks__button:hover {
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}

.at-featuredLinks__aspectRatio {
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 100%;
}

.at-featuredLinks__content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    position: absolute;
    top: 1em;
    left: 1em;
    right: 1em;
    bottom: 1em;
}

.at-featuredLinks__title {
    max-width: 12em;
    margin-bottom: 1.5em;
    padding: 0;
    text-align: center;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    font-size: 1em;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    -webkit-hyphens: auto;
    hyphens: auto;
    color: #fff;
}

.at-featuredLinks__icon {
    width: 4em;
}

@media screen and (min-width: 600px) {
    .at-featuredLinks__button {
        -ms-flex-preferred-size: 33.33%;
        flex-basis: 33.33%;
    }
}
