/* === HERO SLIDER – tekst po PRAWEJ + smaczek === */

figure.carousel-content {
    position: relative;
}

figure.carousel-content .carousel-caption {
    top: 50%;
    right: 10%;
    left: auto;
    bottom: auto;
    transform: translateY(-50%);
    max-width: 480px;
    text-align: left;

    /* === SMACZEK === */
    background: rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(6px);
    padding: 26px 30px;
    border-radius: 12px;
}

/* Nagłówek */
figure.carousel-content .carousel-caption h2 {
    font-size: 3.2rem;
    line-height: 1.1;
    margin-bottom: 12px;
}

/* Opis */
figure.carousel-content .carousel-caption .caption-description {
    font-size: 1.1rem;
    line-height: 1.6;
}

/* === MOBILE - tekst po prawej === */
@media (max-width: 768px) {
    figure.carousel-content .carousel-caption {
        right: 5%;
        left: auto;
        bottom: 10%;
        top: auto;
        transform: none;
        max-width: 55%;
        text-align: left;
        padding: 14px 20px;
    }

    figure.carousel-content .carousel-caption h2 {
        font-size: 1.5rem;
        margin-bottom: 6px;
    }

    figure.carousel-content .carousel-caption .caption-description {
        font-size: 0.8rem;
        line-height: 1.35;
    }
}

/* Tablet - pośrednie wartości */
@media (min-width: 769px) and (max-width: 1024px) {
    figure.carousel-content .carousel-caption h2 {
        font-size: 1.8rem;
    }
}