.we-home-community-sponsors {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(290px, 1fr);
    align-items: stretch;
    gap: 14px;
}
.we-home-community-sponsors > * { min-width: 0; }
.we-home-community-sponsors .facebook-community-cta { height: 100%; box-sizing: border-box; }
.we-home-sponsors {
    display: flex;
    min-height: 224px;
    box-sizing: border-box;
    flex-direction: column;
    padding: 13px 15px;
    overflow: hidden;
    border: 1px solid #dce4ed;
    border-radius: 10px;
    background: linear-gradient(145deg, #fff 0%, #f4f7fb 100%);
    box-shadow: 0 5px 18px rgba(21, 35, 52, .08);
}
.we-home-sponsors__heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.we-home-sponsors__heading h2 { margin: 0; color: #202633; font-size: 16px; line-height: 1.25; }
.we-home-sponsors__stage {
    position: relative;
    display: grid;
    min-height: 174px;
    flex: 1;
    place-items: center;
    margin: 5px 0 0;
    overflow: hidden;
}
.we-home-sponsors__loading,
.we-home-sponsors__empty { margin: 0; color: #687181; font-size: 12px; text-align: center; }
.we-home-sponsors__slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 7px;
    opacity: 0;
    transform: scale(.82);
    transition: opacity .55s ease, transform .75s cubic-bezier(.2,.8,.2,1);
    pointer-events: none;
}
.we-home-sponsors__slide.is-active { opacity: 1; transform: scale(1); }
.we-home-sponsors__logo { display: grid; width: 100%; height: 142px; overflow: hidden; place-items: center; border-radius: 10px; background: #17233d; }
.we-home-sponsors__logo img { display: block; width: auto; max-width: 94%; height: auto; max-height: 128px; object-fit: contain; object-position: center; }
.we-home-sponsors__name { max-width: 100%; overflow: hidden; color: #fff; font-size: 13px; font-weight: 800; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
/* Keep the supplied marks centered and fully inside the same dark presentation area. */
.we-home-sponsors__slide[data-sponsor-id="4"] .we-home-sponsors__logo img,
.we-home-sponsors__slide[data-sponsor-id="9"] .we-home-sponsors__logo img { max-width: 96%; max-height: 120px; }
.we-home-sponsors__slide[data-sponsor-id="5"] .we-home-sponsors__logo img { max-width: 82%; max-height: 132px; }
.we-home-sponsors__slide[data-sponsor-id="6"] .we-home-sponsors__logo img { max-width: 92%; max-height: 128px; }
.we-home-sponsors__slide[data-sponsor-id="8"] .we-home-sponsors__logo img { max-width: 90%; max-height: 128px; }
.we-home-sponsors__cta {
    display: flex;
    min-height: 32px;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 0 9px;
    border: 1px solid #e8c5ca;
    border-radius: 7px;
    background: #fff5f6;
    color: #9d2633;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
}
.we-home-sponsors__cta:hover, .we-home-sponsors__cta:focus-visible { background: #fae7e9; color: #841c29; }
@media (max-width: 720px) {
    .we-home-community-sponsors { grid-template-columns: 1fr; }
    .we-home-sponsors { min-height: 224px; }
    .we-home-sponsors__stage { min-height: 174px; }
    .we-home-sponsors__logo { height: 142px; }
    .we-home-sponsors__logo img { max-height: 138px; }
}
@media (max-width: 420px) {
    .we-home-sponsors__heading { align-items: flex-start; }
    .we-home-sponsors__heading h2 { font-size: 15px; }
    .we-home-sponsors__cta { flex: 0 0 auto; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
    .we-home-sponsors__slide { transition: none; }
}
