.paid-ad-banner {
    width: min(var(--shell), calc(100% - 2rem));
    margin: 2rem auto 0;
    padding: .75rem;
    border: 1px solid #dce7ee;
    border-radius: 20px;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 16px 45px rgba(29, 54, 86, .1);
}

.paid-ad-banner > .paid-ad-label {
    padding: 0 .2rem .5rem;
}

.paid-ad-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .85rem;
}

.paid-ad-grid > a {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e1e9ef;
    border-radius: 14px;
    background: #f5f8fa;
    transition: transform .18s ease, box-shadow .18s ease;
}

.paid-ad-grid > a:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(29, 54, 86, .14);
}

.paid-ad-banner img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: #fff;
}

.paid-ad-banner-caption {
    display: flex;
    min-height: 58px;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .65rem .85rem;
    background: #132b47;
    color: #fff;
}

.paid-ad-banner-caption strong,
.paid-ad-banner-caption small {
    display: block;
}

.paid-ad-banner-caption small {
    flex: 0 0 auto;
    color: #7ee8dc;
    font-weight: 800;
}

@media (max-width: 900px) {
    .paid-ad-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .paid-ad-banner {
        width: min(100% - 1.15rem, var(--shell));
        margin-top: 1.25rem;
        padding: .55rem;
        border-radius: 16px;
    }

    .paid-ad-grid {
        grid-template-columns: 1fr;
    }

    .paid-ad-banner-caption {
        font-size: .72rem;
    }
}
