/**
 * Stylowanie dla szablonu pakietów (Template: Package)
 * 
 * Ten plik zawiera style dla stron pakietów.
 * Dodaj te style do głównego pliku style.css lub zaimportuj ten plik.
 */

/* ============================================
   LISTA PAKIETÓW (na stronie rodzica "Pakiety")
   ============================================ */

.packages-list {
    margin-top: 40px;
}

.packages-list__content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Pojedynczy pakiet na liście */
.package-item {
    padding: 30px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #ffffff;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.package-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* Tytuł pakietu */
.package-item__title {
    margin: 0 0 20px 0;
    font-size: 3rem;
    font-weight: 600;
    line-height: 1.3;
    text-transform: uppercase;
    color: #152f23;
    text-align: center;
    position: relative;
}

/** pod tytułem jest poziom a linia z lewej strony zakończona kwadracikiem szerokości 4px i wysokości 4px, kolor #152f23, odległość od tytułu 10px, odległość od lewej krawędzi 20px */
.package h2.wp-block-heading {
    position: relative;
    /* padding: 0 20px 4px 0; */
    margin-bottom: 25px;
}

.package h2.wp-block-heading::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 100%;
    height: 1px;
    background-color: #152f23;
}

.package h2.wp-block-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -15px;
    width: 10px;
    height: 10px;
    background-color: #152f23;
}

.package h3.wp-block-heading {
    color: #f19003;
}
.package .wp-block-separator {
    margin: 20px 0;
    border: 1px solid #e6e6e6;
}


.package-item__link {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.package-item__link:hover {
    color: #152f23;
}

/* Treść pakietu */
.package-item__content {
    margin-bottom: 20px;
    color: #555;
    line-height: 1.6;
}

/* Cena pakietu na liście */
.package-item__price {
    padding: 15px 20px;
    background-color: #f8f9fa;
    border-left: 4px solid #f19003;
    font-size: 20px;
    color: #333;
    margin-top: 20px;
}

.package-item__price strong {
    color: #f19003;
    margin-right: 10px;
}

/* ============================================
   POJEDYNCZA STRONA PAKIETU
   ============================================ */

/* Cena na pojedynczej stronie pakietu */
.package-price {
    margin-top: 30px;
    padding: 20px 25px;
    background-color: #f8f9fa;
    border-left: 4px solid #152f23;
    font-size: 24px;
    color: #333;
    text-align: left;
}

.package-price strong {
    color: #152f23;
    margin-right: 10px;
    font-weight: 600;
}

/* ============================================
   RESPONSYWNOŚĆ
   ============================================ */

@media (max-width: 768px) {
    .package-item {
        padding: 20px;
    }

    .package-item__title {
        font-size: 24px;
    }

    .package-item__price,
    .package-price {
        font-size: 18px;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .packages-list__content {
        gap: 25px;
    }

    .package-item {
        padding: 15px;
    }

    .package-item__title {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .package-item__price,
    .package-price {
        font-size: 16px;
        padding: 12px;
    }
}