.at-rebels {
    margin: 4rem 0;
}

.at-rebels__inner {
    position: relative;
}

.at-rebels__articleTitle {
    position: absolute;
    top: -30px;
    left: 0;
    z-index: 1;
}

.at-rebels__articleTitle span {
    display: inline-block;
    margin-bottom: .3rem;
    padding: 0 1.5rem 0 .7rem;
    color: var(--baseLight100);
    background: var(--baseDark500);
}

.at-rebels__rebelsItem {
    position: relative;
    margin-bottom: 1rem;
    text-align: center;
}

.at-rebels__itemImage {
    display: block;
}

.at-rebels__textWrapper {
    position: absolute;
    right: 0;
    bottom: 1rem;
    left: 0;
}

.at-rebels__textWrapper p {
    display: inline-block;
    margin: 0;
    padding: 0 1.5rem;
    font-family: var(--secondaryFont);
    font-size: 2rem;
    text-transform: uppercase;
    color: var(--baseDark500);
}

.at-rebels__textWrapper--colorGray p {
    background-color: rgb(179,179,179);
}

.at-rebels__textWrapper--colorBlue p {
    background-color: rgb(127,176, 219);
}

.at-rebels__textWrapper--colorPink p {
    background-color: rgb(232,195,195);
}

.at-rebels__textWrapper--colorBlack p {
    color: var(--baseLight100);
    background-color: var(--baseDark500);
}

@media (min-width: 700px) {
    .at-rebels__rebelsList {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(45%, 1fr));
        grid-gap: calc(var(--gridGutter) / 2);
    }

    .at-rebels__rebelsItem {
        margin: 0;
    }
}

@media (min-width: 1200px) {
    .at-rebels__articleTitle {
        left: -30px;
    }
}
