/* --- STYLE DLA STRONY DEKLARACJI --- */

.declaration-page {
    background-color: #faf7f3; /* Wasze główne kremowe tło */
    padding: 60px 16px;
    min-height: calc(100vh - 300px); /* Zapewnia, że stopka nie "przyklei się" do połowy ekranu, gdy jest mało tekstu */
}

/* Główna biała karta z treścią */
.declaration-container {
    max-width: 900px; /* Zoptymalizowana szerokość do czytania długich tekstów */
    margin: 0 auto;
    background-color: #ffffff;
    padding: 60px 80px;
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid #E5D5C5;
}

/* Nagłówek H1 */
.declaration-container .title-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 48px;
}

.declaration-container .section-title.blue {
    color: #3f699f;
    font-family: 'Roca', serif;
    font-size: 32px;
    line-height: 1.3;
    margin-bottom: 16px;
}

/* Linia pod nagłówkiem (bez długiego ogona) */
.declaration-container .title-line {
    width: 140px;
    height: 3px;
    background-color: #9eb8ee;
    margin: 0;
}

/* Formatowanie samego tekstu */
.declaration-content {
    font-family: 'Nourd', sans-serif;
    color: #2A2A2A;
    font-size: 17.5px;
    line-height: 1.7;
}

/* Nagłówki sekcji (H2) */
.declaration-content h2 {
    font-family: 'Roca', serif;
    color: #3f699f;
    font-size: 24px;
    margin-top: 40px;
    margin-bottom: 16px;
    border-bottom: 1px solid #E5D5C5;
    padding-bottom: 8px;
}

/* Mniejsze nagłówki (H3) */
.declaration-content h3 {
    font-family: 'Roca', serif;
    color: #e87863; /* Koralowy kolor dla urozmaicenia */
    font-size: 18px;
    margin-top: 32px;
    margin-bottom: 16px;
}

.declaration-content p {
    margin-bottom: 16px;
}

/* Własne estetyczne listy wypunktowane */
.declaration-content ul {
    margin-left: 16px;
    margin-bottom: 32px;
    list-style-type: none; /* Ukrywa domyślne, brzydkie kropki przeglądarki */
}

.declaration-content ul li {
    position: relative;
    margin-bottom: 12px;
    padding-left: 24px;
}

/* Nasze customowe kropeczki */
.declaration-content ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px; /* Pozycjonowanie względem wielkości tekstu */
    width: 8px;
    height: 8px;
    background-color: #f4a896; /* Delikatny różowy/koralowy z Waszego logo */
    border-radius: 50%;
}

.declaration-content .contact-list li {
    margin-bottom: 20px;
    line-height: 1.5;
}

/* Linki kontaktowe */
.declaration-content a {
    color: #3f699f;
    text-decoration: underline;
    font-weight: 600;
    transition: opacity 0.2s ease;
}

.declaration-content a:hover {
    opacity: 0.7;
}

.footer {
    display: flex;
    flex-wrap: wrap; 
    background-color: #b7ccfa; 
    padding-top: 30px;
    justify-content: space-evenly;
    align-items: flex-start;
}

.footer h3 {
    font-family: 'Roca', serif;
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 18px;
    color: #03234d;
}

.footer a, 
.footer p {
    font-family: 'Nourd', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #323232;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
}

.footer-funders {
    width: 100%;
    background-color: #b7ccfa; 
    padding: 12px 0 16px;              
    display: flex;
    justify-content: center;
}

.footer-funders img {
    width: 100%;
    max-width: 1000px;  
    height: auto;
    display: block;
}

.footer-copyright {
    width: 100%;
    text-align: center;
    padding: 20px 0;
    font-size: 14px;
    color: #333;
    background-color: #b7ccfa; 
}

.footer-copyright a {
    color: inherit;
    text-decoration: underline;
    display: inline; 
    margin-bottom: 0; 
}


.footer-copyright img {
    display: inline; 
    vertical-align: baseline;
    margin-bottom: 0;
}


/* RWD - Dostosowanie na smartfony */
@media (max-width: 768px) {
    .declaration-page {
        padding: 40px 16px;
    }

    .declaration-container {
        padding: 40px 24px;
    }

    .declaration-container .section-title.blue {
        font-size: 26px;
    }

    .declaration-content {
        font-size: 16px;
    }

    .declaration-content h2 {
        font-size: 20px;
    }
}