/* Only the shortcode cards; Sponsors Pro widgets and footer remain native. */
.rwgwe-sponsor-cards { container-type: inline-size; clear: both; margin: 1.2em 0; --rwgwe-sponsor-desktop-cols: 4; --rwgwe-sponsor-mobile-cols: 3; --rwgwe-sponsor-logo-height: 120px; --rwgwe-sponsor-mobile-height: 75px; --rwgwe-sponsor-padding: 14px; }
.rwgwe-sponsor-premium { --rwgwe-sponsor-desktop-cols: 3; --rwgwe-sponsor-mobile-cols: 2; --rwgwe-sponsor-logo-height: 155px; --rwgwe-sponsor-mobile-height: 110px; --rwgwe-sponsor-padding: 18px; }
.rwgwe-sponsor-partners { --rwgwe-sponsor-desktop-cols: 6; --rwgwe-sponsor-logo-height: 85px; --rwgwe-sponsor-padding: 10px; }
.rwgwe-sponsor-grid { --rwgwe-sponsor-cols: var(--rwgwe-sponsor-desktop-cols); --rwgwe-sponsor-gap: 16px; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--rwgwe-sponsor-gap); }
.rwgwe-sponsor-card { display: flex; flex-direction: column; flex: 0 0 calc((100% - (var(--rwgwe-sponsor-cols) - 1) * var(--rwgwe-sponsor-gap)) / var(--rwgwe-sponsor-cols)); box-sizing: border-box; min-width: 0; border: 2px solid #c5c5c5; border-radius: 4px; background: #fff; padding: var(--rwgwe-sponsor-padding); overflow: hidden; box-shadow: 0 2px 6px rgba(0,0,0,.10); transition: border-color .2s ease, box-shadow .2s ease; }
.rwgwe-sponsor-logo { display: grid; place-items: center; flex: 1 1 auto; min-height: var(--rwgwe-sponsor-logo-height); min-width: 0; text-align: center; }
.rwgwe-sponsor-logo .sponsorspro-single { width: 100%; margin: 0; text-align: center; }
.rwgwe-sponsor-logo .sponsorspro-img { display: inline-block; vertical-align: middle; width: auto; height: auto; max-width: 100%; max-height: var(--rwgwe-sponsor-logo-height); object-fit: contain; transition: transform .24s ease; }
.rwgwe-sponsor-name { text-align: center; font-weight: 700; margin-top: 12px; overflow-wrap: anywhere; }
.rwgwe-sponsor-card:focus-within { border-color: #c91a1a; }
@media (hover: hover) {
    .rwgwe-sponsor-card:hover { border-color: #c91a1a; box-shadow: 0 3px 12px rgba(0,0,0,.10); }
    .rwgwe-sponsor-card:hover .sponsorspro-img { transform: scale(1.04); }
}
@container (max-width: 700px) { .rwgwe-sponsor-grid { --rwgwe-sponsor-cols: var(--rwgwe-sponsor-mobile-cols); --rwgwe-sponsor-gap: 8px; } .rwgwe-sponsor-card { padding: 7px; } .rwgwe-sponsor-logo { min-height: var(--rwgwe-sponsor-mobile-height); } .rwgwe-sponsor-logo .sponsorspro-img { max-height: var(--rwgwe-sponsor-mobile-height); } .rwgwe-sponsor-name { margin-top: 8px; } }
@media (max-width: 767px) { .rwgwe-sponsor-grid { --rwgwe-sponsor-cols: var(--rwgwe-sponsor-mobile-cols); --rwgwe-sponsor-gap: 8px; } .rwgwe-sponsor-card { padding: 7px; } .rwgwe-sponsor-logo { min-height: var(--rwgwe-sponsor-mobile-height); } .rwgwe-sponsor-logo .sponsorspro-img { max-height: var(--rwgwe-sponsor-mobile-height); } .rwgwe-sponsor-name { margin-top: 8px; } }
@media (prefers-reduced-motion: reduce) { .rwgwe-sponsor-card, .rwgwe-sponsor-logo .sponsorspro-img { transition: none; } .rwgwe-sponsor-card:hover .sponsorspro-img { transform: none; } }
