/* CTA banner above the "Адреса школы" / "Адрес школы - экстерната" blocks.
   Visual layer = SVG (gradient + clouds + paper-plane, rounded corners baked in).
   Text layer = real DOM text, centered over the banner. */

.addressesCta {
    position: relative;
    display: block;
    width: 100%;            /* fill the surrounding .contain */
    margin: 0 auto 30px;
    /* keep the original Figma proportions (1198 x 150 → 12.52%) at any width */
    padding-top: 12.52%;
    border-radius: 32px;    /* match the rx=32 baked into the SVG */
    background: url("../img/img2024/knopka_tg_0_fly.svg") center / 100% 100% no-repeat #91BAFF;
    text-decoration: none;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.addressesCta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(72, 140, 250, .35);
    filter: brightness(1.04);
    text-decoration: none;
}

/* The old inline icon and cloud pseudo-elements are no longer used:
   the airplane and clouds now live inside the SVG background. */
.addressesCta__icon { display: none; }

.addressesCta::before,
.addressesCta::after {
    content: none;
}

/* Real text overlay — dead-centered in the whole banner */
.addressesCta__label {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    font-weight: 400;
    font-size: 36px;
    line-height: 1.2;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    text-shadow: 0 1px 2px rgba(72, 110, 200, .25);
}

@media (max-width: 767px) {
    .addressesCta {
        /* On mobile use the airplane-less background. The plane is shown only on desktop. */
        background-image: url("../img/img2024/knopka_tg_0.svg");
    }
    .addressesCta__label {
        /* No airplane on mobile -> text dead-centered across the whole banner, fixed 23px. */
        font-size: 23px;
    }
}
