/* ==========================================================================
   --- BLOK 01: OFERTA KOMUNIJNA ---
   ========================================================================== */
.communion-section {
    padding: 60px 20px;
    background-color: #000000;
    color: #cccccc;
    width: 100%;
    box-sizing: border-box;
}

.communion-section .communion-container {
    max-width: 1140px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.communion-section .communion-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
}

.communion-section .communion-header h1 {
    font-family: 'Playfair Display', serif;
    color: #a4b2a4;
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.communion-section .lead-text {
    font-family: 'Lora', serif;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Nowa belka o indywidualnym menu */
.communion-section .custom-menu-banner {
    background-color: rgba(164, 178, 164, 0.05);
    border: 1px solid rgba(164, 178, 164, 0.3);
    padding: 20px 25px;
    margin-bottom: 40px;
    display: flex;
    gap: 15px;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
}

.communion-section .custom-menu-banner .banner-icon {
    font-size: 1.5rem;
}

.communion-section .custom-menu-banner p {
    font-family: 'Lora', serif;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #ffffff;
}

.communion-section .custom-menu-banner p strong {
    color: #a4b2a4;
}

/* Siatka Ofert */
.communion-section .menu-offers-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-bottom: 40px;
    width: 100%;
    box-sizing: border-box;
}

.communion-section .menu-card {
    background-color: #0a0f0f;
    border: 1px solid rgba(164, 178, 164, 0.15);
    padding: 35px 30px;
    flex: 1 1 450px;
    max-width: 540px;
    box-sizing: border-box;
    position: relative;
    transition: border-color 0.3s;
}

.communion-section .menu-card.premium {
    border-color: rgba(164, 178, 164, 0.4);
    box-shadow: 0 10px 30px rgba(164, 178, 164, 0.05);
}

.communion-section .menu-card .badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background-color: #a4b2a4;
    color: #000000;
    font-family: 'Playfair Display', serif;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    padding: 4px 12px;
    letter-spacing: 0.5px;
}

.communion-section .menu-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(164, 178, 164, 0.2);
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.communion-section .menu-card-header h3 {
    font-family: 'Playfair Display', serif;
    color: #a4b2a4;
    font-size: 1.5rem;
    margin: 0;
    text-transform: uppercase;
}

/* Tekst zastępujący cenę w nagłówku karty */
.communion-section .menu-card-header .price-placeholder {
    font-family: 'Lora', serif;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: right;
    max-width: 50%;
    line-height: 1.4;
}

/* Listy dań */
.communion-section .menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.communion-section .menu-list li {
    font-family: 'Lora', serif;
    font-size: 0.95rem;
    line-height: 1.5;
}

.communion-section .menu-list li strong {
    color: #a4b2a4;
    display: block;
    margin-bottom: 2px;
}

/* Ramka informacyjna */
.communion-section .additional-info-box {
    background-color: rgba(164, 178, 164, 0.03);
    border: 1px dashed rgba(164, 178, 164, 0.2);
    padding: 20px;
    text-align: center;
    max-width: 1110px;
    margin: 0 auto 60px auto;
    box-sizing: border-box;
    width: 100%;
}

.communion-section .additional-info-box p {
    font-family: 'Lora', serif;
    margin: 5px 0;
}

.communion-section .service-note {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

/* Sekcja Wezwania do Działania (CTA) */
.communion-section .communion-cta-section {
    text-align: center;
    background-color: #0a0f0f;
    border: 1px solid rgba(164, 178, 164, 0.15);
    padding: 40px 30px;
    max-width: 800px;
    margin: 0 auto;
    box-sizing: border-box;
    width: 100%;
}

.communion-section .communion-cta-section h2 {
    font-family: 'Playfair Display', serif;
    color: #a4b2a4;
    text-transform: uppercase;
    font-size: 1.8rem;
    margin-top: 0;
}

.communion-section .cta-contacts {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 25px 0;
    flex-wrap: wrap;
}

.communion-section .cta-contacts a {
    font-family: 'Lora', serif;
    color: #ffffff;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.communion-section .cta-contacts a:hover {
    color: #a4b2a4;
}

.communion-section .btn-goToContact {
    display: inline-block;
    background-color: transparent;
    border: 1px solid #a4b2a4;
    color: #a4b2a4;
    padding: 12px 30px;
    font-family: 'Playfair Display', serif;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.communion-section .btn-goToContact:hover {
    background-color: #a4b2a4;
    color: #000000;
}

/* ==========================================================================
   PANCIERNA RESPONSYWNOŚĆ MOBILNA (EKRANY PONIŻEJ 768px)
   ========================================================================== */
@media screen and (max-width: 768px) {
    .communion-section {
        padding: 40px 10px !important;
        overflow: hidden; /* Zabezpieczenie przed wyciekiem */
    }

    .communion-section .communion-container {
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .communion-section .communion-header h1 {
        font-size: 1.8rem;
    }

    /* Poprawka dla bannera menu na telefonie */
    .communion-section .custom-menu-banner {
        flex-direction: column !important;
        text-align: center !important;
        gap: 10px !important;
        padding: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .communion-section .menu-offers-grid {
        flex-direction: column !important;
        align-items: center !important;
        gap: 25px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .communion-section .menu-card {
        width: 100% !important;
        max-width: 100% !important;
        padding: 25px 20px !important;
        box-sizing: border-box !important;
        flex: 0 0 100% !important; /* Sztywne wymuszenie pełnej szerokości */
    }

    /* Dopasowanie nagłówka w karcie menu */
    .communion-section .menu-card-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px !important;
    }

    .communion-section .menu-card-header .price-placeholder {
        text-align: left !important;
        max-width: 100% !important;
    }

    /* Poprawka ramki informacyjnej i CTA */
    .communion-section .additional-info-box,
    .communion-section .communion-cta-section {
        padding: 30px 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .communion-section .cta-contacts {
        flex-direction: column !important;
        gap: 15px !important;
    }
    
    .communion-section .btn-goToContact {
        width: 100% !important;
        box-sizing: border-box !important;
    }
}
