.listContainer {
    display: grid;
    gap: 3rem;
    grid-template-columns: repeat(3, minmax(300px, 1fr));
    list-style-type: none;
    margin: 0 auto;
    max-width: 1400px;
    padding: 0;
}

@media screen and (max-width: 1300px) {
    .listContainer {
        grid-template-columns: repeat(2, minmax(300px, 1fr));
    }
}

@media screen and (max-width: 850px) {
    .listContainer {
        grid-template-columns: 5px 2fr 5px;
    }
    
    .listContainer > li {
        gap: 0;
        grid-column: 2;
    }
}

.adContainer {
    box-sizing: border-box;
    display: flex;
    flex: 0 0 30%;
    margin: 1em auto;
    max-width: 100%;
    align-items: center;
    border-bottom: 0;
    justify-content: center;
}

.adContainer h2 {
    font-weight: 300;
    margin: 0;
}

@media screen and (max-width: 900px) {
    .adContainer {
        flex: 0 0 50%;
        margin: 0.5em auto;
    }
}

.adContainer :global(#carbonads) {
    background-color: hsl(0, 0%, 98%);
    box-shadow: 0 1px 4px 1px hsla(0, 0%, 0%, .1);
    display: flex;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Helvetica, Arial, sans-serif;
    margin-left: auto;
    margin-right: auto;
    max-width: 330px;
    min-height: 125px;
}

.adContainer :global(#carbonads a) {
    border: none !important;
    color: inherit;
    text-decoration: none !important;
}

.adContainer :global(#carbonads a:hover) {
    color: inherit;
}

.adContainer :global(#carbonads span) {
    /* display: block; */
    overflow: hidden;
    position: relative;
}

.adContainer :global(.carbon-wrap) {
    display: flex;
    flex-direction: row;
    align-items: stretch;
}

.adContainer :global(.carbon-img) {
    display: block;
    line-height: 1;
    margin: 0;
    flex-shrink: 0;
}

.adContainer :global(.carbon-text) {
    align-items: center !important;
    display: flex !important;
    flex: 1;
    font-size: 13px;
    line-height: 1.5;
    padding: 10px;
    padding-left: 10px !important;
    text-align: left;
}

.adContainer :global(.carbon-poweredby) {
    background: repeating-linear-gradient(-45deg, transparent, transparent 5px, hsla(0, 0%, 0%, .025) 5px, hsla(0, 0%, 0%, .025) 10px) hsla(203, 11%, 95%, .4);
    display: block;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.5px;
    line-height: 1;
    padding: 8px 10px;
    text-align: center;
    text-transform: uppercase;
}

.adPlaceholder {
    align-items: center;
    background-color: hsl(0, 0%, 98%);
    border-bottom: 0;
    display: flex;
    font-size: 0.9rem;
    height: 125px;
    justify-content: center;
    text-align: center;
    width: 330px;
}

.adPlaceholder img {
    height: 40px;
    margin-bottom: 0.5rem;
    width: 40px;
}

.adPlaceholder > div {
    align-items: center;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
} 