.at-themeCards__items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: calc(var(--gutterLarge) * 1.5) var(--gutterLarge);
}

.at-themeCards__title::first-letter {
    text-transform: uppercase;
}

.at-themeCards__item {
    position: relative;
    margin-top: calc(var(--innerPaddingSmall) + 12px);
}

.at-themeCards__link {
    color: var(--baseLight900);
}

.at-themeCards__link::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.at-themeCards__iconWrapper {
    position: absolute;
    top: calc(-1 * var(--innerPaddingSmall) - 12px);
    left: calc(var(--innerPaddingSmall) + 8px);
}

.at-themeCards__icon::before {
    margin: 0;
    font-size: 2.5rem;
    border: 16px solid var(--baseLight100);
    border-radius: var(--borderRadius);
    background-color: var(--baseLight100);
}

@media (min-width: 1024px) {
    .at-themeCards__items {
        grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr));
    }
}

/*
 * Simple layout
 */

.hero .at-heroBanner +.at-themeCards.--simple .at-themeCards__inner {
    position: relative;
    margin-top: -5rem;
}

.hero .at-themeCards.--simple {
    width: 100%;
    margin-top: 0;
    padding-inline: 3vw;
}

.at-themeCards.--simple .g-container__inner {
    max-width: 900px;
}

.at-themeCards.--simple .at-themeCards__item {
    margin-top: 0;
    padding: var(--innerPaddingSmall);
    align-items: center;
}

.at-themeCards.--simple .at-themeCards__title {
    margin-bottom: 0;
    font-size: var(--h3Size);
}

.at-themeCards.--simple .at-themeCards__iconWrapper {
    position: static;
}

.at-themeCards.--simple .at-themeCards__link {
    order: 2;
}

.at-themeCards.--simple .at-themeCards__link::after {
    font-size: var(--h5Size);
}

.at-themeCards.--simple .at-themeCards__items {
    gap: var(--gutter);
}

@media (min-width: 450px) {
    .at-themeCards.--simple .at-themeCards__items {
        grid-template-columns: repeat(2, minmax(min(200px, 100%), 1fr));
    }
}

@media (min-width: 1024px) {
    .at-themeCards.--simple .at-themeCards__items {
        grid-template-columns: repeat(4, minmax(min(200px, 100%), 1fr));
    }
}
