.at-textBlock {
    margin: 3rem auto 6.5rem auto;
    padding: 2.5rem 2.5rem 2.75rem;
    border-radius: 0;
    box-shadow: 0 -2px 8px 0 rgba(0, 0, 0, 0.12), 0 1px 4px 0 rgba(0, 0, 0, 0.11), 0 0 30px 0 rgba(0, 0, 0, 0.06);
    border: 1px solid #e4e4e4;
    text-align: center;
    width: 90%;
}

@media screen and (min-width: 1024px) {
    .at-textBlock {
        width: 70%;
        max-width: 1060px;
    }
}

.at-textBlock.at-textBlock--has-backgroundColor {
    border: 0
}

.at-textBlock.at-textBlock--has-backgroundColor.at-textBlock--has-backgroundColor--primary {
    background: #1b365d;
    background: linear-gradient(200deg, #1b365d 0%, #1b365d 50%, #193155 100%)
}

.at-textBlock.at-textBlock--has-backgroundColor.at-textBlock--has-backgroundColor--secondary {
    background: #ef6079;
    background: linear-gradient(200deg, #ef6079 0%, #ef6079 50%, #EE546F 100%)
}

.at-textBlock.at-textBlock--has-noShadow {
    box-shadow: none
}

.at-textBlock__container {
    padding: 1rem;
}

.at-textBlock__block {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.at-textBlock__header {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

@media screen and (min-width: 630px) {
    .at-textBlock__header {
        max-width: 80%;
    }
}

.at-textBlock__title {
    margin: 0 0 .75rem;
    color: #222;
    font-size: 2.3rem;
    font-weight: 400;
    line-height: 1.3;
}

.at-textBlock--has-backgroundColor .at-textBlock__title {
    color: #fff
}

.at-textBlock__content {
    color: #222;
    font-size: 1.2rem;
}

@media screen and (min-width: 630px) {
    .at-textBlock__content {
        max-width: 80%;
    }
}

.at-textBlock__content :last-child {
    margin-bottom: 0
}

.at-textBlock--has-backgroundColor .at-textBlock__title,
.at-textBlock--has-backgroundColor .at-textBlock__date,
.at-textBlock--has-backgroundColor .at-textBlock__content,
.at-textBlock--has-backgroundColor .at-textBlock__content a {
    color: #fff
}


/* button */
.at-textBlock__button {
    padding: .8em 1.4em;
    margin-top: 1.75rem;
    border-radius: 30px;
}

.at-textBlock__button span {
    line-height: 1
}

.at-textBlock__button:after {
    transition: all .2s ease-in-out;
    transform: translateY(0);
    position: relative;
    top: -1px;
}

/* button primary */
.at-textBlock--has-backgroundColor--primary .at-textBlock__button {
    background-color: #ef6079;
    color: #fff;
}

.at-textBlock--has-backgroundColor--primary .at-textBlock__button:after {
    color: #fff;
}

.at-textBlock--has-backgroundColor--primary .at-textBlock__button:hover {
    background-color: #fff;
    color: #ef6079;
}

.at-textBlock--has-backgroundColor--primary .at-textBlock__button:hover:after {
    color: #ef6079;
}

/* button secondary */
.at-textBlock--has-backgroundColor--secondary .at-textBlock__button {
    background-color: #fff;
    color: #ef6079;
}

.at-textBlock--has-backgroundColor--secondary .at-textBlock__button:after {
    color: #ef6079;
}

.at-textBlock--has-backgroundColor--secondary .at-textBlock__button:hover {
    background-color: #1b365d;
    color: #fff;
}

.at-textBlock--has-backgroundColor--secondary .at-textBlock__button:hover:after {
    color: #fff;
}
