.sidebar-sponsors {
    margin-top: 40px;
    min-width: 0;
}
.sidebar-sponsors > header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 18px;
    border-left: 3px solid #bc1520;
    padding-left: 10px;
}
.sidebar-sponsors h3 {
    font-size: 18px !important;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin: 0;
}
.sidebar-sponsors button {
    cursor: pointer;
    color: #555;
    background: white;
    border: 0;
    font: inherit;
    font-size: 11px;
    min-height: 32px;
    padding: 4px;
}
.sidebar-sponsors-viewport {
    aspect-ratio: 300/250;
    position: relative;
    background: #fafafa;
    border: 1px solid #e1e1e1;
    overflow: hidden;
}
.sidebar-sponsor {
    position: absolute;
    inset: 0;
}
.sidebar-sponsor[hidden] {
    display: none;
}
.sidebar-sponsor > a {
    display: flex;
    height: 100%;
    flex-direction: column;
    color: #202124;
    text-decoration: none;
}
.sidebar-sponsor-art {
    height: 57%;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f6f5f2;
}
.sidebar-sponsor-art img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.sidebar-sponsor-copy {
    display: grid;
    gap: 4px;
    padding: 10px 12px;
    background: white;
    flex: 1;
    align-content: center;
    min-height: 0;
}
.sidebar-sponsor-copy strong {
    font-size: 18px;
    line-height: 1.1;
    color: #222;
}
.sidebar-sponsor-copy > span {
    font-size: 12px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.sidebar-sponsor-copy em {
    font-size: 11px;
    font-style: normal;
    color: #a41420;
    font-weight: 700;
}
.sidebar-sponsors-controls {
    display: flex;
    justify-content: center;
    gap: 2px;
    margin-top: 8px;
}
.sidebar-sponsors-controls[hidden] {
    display: none;
}
.sidebar-sponsors-controls button {
    width: 36px;
    height: 36px;
    display: grid;
    place-content: center;
}
.sidebar-sponsors-controls button > span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #b8b8b8;
}
.sidebar-sponsors-controls button[aria-current] > span {
    background: #b51420;
    width: 20px;
    border-radius: 6px;
}
.sidebar-sponsors :is(a, button):focus-visible {
    outline: 2px solid #bc1520;
    outline-offset: -3px;
}

/* Override legacy intrinsic-image sizing so square and wide artwork remain intact. */
.sidebar-sponsor-art img { width: 100% !important; height: 100% !important; object-fit: contain !important; }
