﻿h2.first{
    font-style: italic;
}

/* ────────────────────────────────────────────────────────
 Swiper (banner slider)
   –  Using Swiper.js library (https://swiperjs.com/)
    –  Basic styles for slider container and slides
 ──────────────────────────────────────────────────────── */
.swiper {
    width: 100%;
    height: 380px;
}

.swiper-slide {
    position: relative;
    overflow: hidden;
    background: #11b200;
    display: flex;
    align-items: center;
}

    /* Warstwy slajdu */
    /* Gradient overlay – zapewnia czytelność tekstu na obrazku */
    .swiper-slide::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(to right, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.25) 55%, transparent 100%);
        z-index: 1;
    }

.slide-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.slide-content {
    position: relative;
    z-index: 2;
    padding: 50px 80px;
    color: #fff;
    max-width: 45%;
}

.slide-title {
    font-size: 2.9rem;
    color: #fff;
    font-weight: 700;
    font-style: italic;
    line-height: 1.2;
    margin-bottom: 16px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.slide-subtitle {
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1.1;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

@media (max-width: 992px) {
    .swiper-button-prev,
    .swiper-button-next {
        display: none !important;
    }

    .slide-content {
        max-width: 40%;
        padding: 20px 24px;
    }

    .slide-title {
        font-size: 1.8rem;
        margin-bottom: 18px;
    }

    .slide-subtitle {
        font-size: 1.2rem;
    }
}

@media (max-width: 767.98px) {
    .swiper {
        height: 220px;
    }

    .slide-content {
        max-width: 100%;
        padding: 20px 24px;
    }

    .slide-title {
        font-size: 1.4rem;
        margin-bottom: 8px;
    }

    .slide-subtitle {
        font-size: 0.9rem;
    }
}
/* ── Swiper navigation arrows ─────────────────────────── */
.swiper-button-prev,
.swiper-button-next {
    --swiper-navigation-size: 40px;
}

    .swiper-button-prev::after,
    .swiper-button-next::after {
        font-size: 20px;
        font-weight: 900;
    }

.swiper-button-prev {
    color: #fff;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    backdrop-filter: blur(2px);
}

    .swiper-button-prev:hover {
        background: rgba(0, 0, 0, 0.45);
    }

.swiper-button-next {
    color: #000;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    backdrop-filter: blur(2px);
}

    .swiper-button-next:hover {
        background: rgb(255, 255, 255);
    }

/* ── Swiper pagination bullets ────────────────────────── */
.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #fff;
    opacity: 0.55;
    border: 1.5px solid rgba(0, 0, 0, 0.35);
}

.swiper-pagination-bullet-active {
    background: #000;
    opacity: 1;
    border-color: #000;
}
