/* Slider core */
.sponsor-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
}
.sponsor-slider .slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .35s ease;
    pointer-events: none;
}
.sponsor-slider .slide.is-active {
    opacity: 1;
    pointer-events: auto;
}
.sponsor-slider img {
    display: block;
    width: 100%;
    height: auto;
}

/* Dots */
.slider-dots {
    position: absolute;
    left: 0; right: 0; bottom: 8px;
    display: flex;
    gap: 6px;
    justify-content: center;
    z-index: 4;
}
.slider-dots button {
    width: 8px; height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,.55);
    cursor: pointer;
}
.slider-dots button[aria-selected="true"] {
    background: rgba(255,255,255,.95);
}

/* Optional ratio to prevent layout shift while image loads */
.sponsor-slider { aspect-ratio: 4 / 5; }
@supports not (aspect-ratio: 1) {
    .sponsor-slider::before { content: ""; display: block; padding-top: 125%; }
}

/* больше места под текст */
.sponsor-infos {
    position: relative;
    margin-top: 14px;
    min-height: 180px;             /* было ~92px */
}

.sponsor-info {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 16px 18px;            /* чуть больше паддинги */
    opacity: 0;
    pointer-events: none;
    position: absolute;
    inset: 0;
    transition: opacity .25s ease;
}

.sponsor-info.is-active {
    opacity: 1;
    pointer-events: auto;
    position: static;              /* активный блок занимает место */
}

.sponsor-title {
    margin: 0 0 8px;
    font-size: 17px;               /* чуть крупнее */
    font-weight: 700;
    line-height: 1.2;
}

.sponsor-text {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.55;
    color: #444;
}
