/**
 * Columns article Template
 */

.at-columns {
    padding: 2em;
    background-color: #eee;
    text-align: center;
}

/**
 * Title
 */

.at-columns__title {
    margin-bottom: 1.5em;
    font-weight: normal;
}

/**
 * Sections container
 */

.at-columns__sectionsContainer {
    margin: auto;
    max-width: 400px;
    font-size: 0.9em;
}

@media screen and (min-width: 800px) {
    .at-columns__sectionsContainer {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        margin: 0;
        max-width: none;
    }
}

@media (min-width: 800px) and (max-width: 1024px) {
    .at-columns__sectionsContainer {
        font-size: 0.8em;
    }
}

/**
 * Section
 */

.at-columns__section {
    position: relative;
    box-sizing: border-box;
    margin-bottom: 1em;
    border: 0 solid #fff;
    border-bottom-width: 1px;
    padding-bottom: 1em;
}

@media screen and (min-width: 800px) {
    .at-columns__section {
        -webkit-box-flex: 1;
        -ms-flex: 1;
        flex: 1;
        display: inline-block;
        vertical-align: top;
        width: calc(25% - 1.2em);
        padding-bottom: 0;
        border-bottom: 0;
        margin-bottom: 0;
    }

    .at-columns__section + .at-columns__section {
        padding-left: 1.5em;
        border-left-width: 1px;
        margin-left: 1.5em;
    }
}

/**
 * Section - Image
 */

.at-columns__imageContainer {
    margin-bottom: 1em;
}

.at-columns__imageContainer img {
    max-width: 50px;
    max-height: 50px;
}

@media (min-width: 800px) {
    .at-columns__imageContainer {
        height: 50px;
    }
}

/**
 * Section - Text
 */

.at-columns__textContainer {
    line-height: 1.5;
}

.at-columns__link {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.at-columns__sectionTitleElement {
    margin-bottom: 0.5em;
    color: #37b43e;
    transition: 0.1s color ease-out;
}

.at-columns__link:focus ~ .at-columns__sectionTitleElement,
.at-columns__link:hover ~ .at-columns__sectionTitleElement {
    color: #34842b;
}

.at-columns__textContainer p {
    color: #222;
    margin-bottom: .8em;
}

.at-columns__textContainer p:last-of-type {
    margin-bottom: 0;
}

/**
 * Call to Action button
 */

.at-columns__button {
    margin: 2em 0 0;
}