body {
    margin: 0;
    padding: 0;
    background-color: #faf7f3;
    font-family: 'Nourd', serif;
    position: relative;
    overflow-x: hidden;
}

@font-face {
  font-family: 'Nourd';
  src: url('/fonts/nourd_regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Roca';
  src: url('/fonts/Roca.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

.top-decor {
    position: absolute;
    top: 130px;
    left: -50px;
    width: 100px;
    height: 100px;
    background-color: #b7ccfa;
    border-radius: 50%;
    z-index: -1;
}

.aktualnosci-wrapper {
    max-width: 1400px; 
    margin: 0 auto;
    padding: 60px 40px;
    color: #1f2937;
    min-height: 60vh; 
}

.aktualnosci-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 40px;
    font-family: 'Roca', serif;
    color: #e87863; 
    text-transform: uppercase;
}


.aktualnosci-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); 
    gap: 30px;
}

.aktualnosc-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform .2s ease, box-shadow .2s ease;
    border: 1px solid #eee;
}

.aktualnosc-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 45px rgba(0,0,0,0.1);
    border-color: #b7ccfa;
}

.aktualnosc-icon {
    height: 50px;
    width: auto;
    margin-bottom: 15px;
    align-self: flex-start;
}

.aktualnosc-card h2 {
    font-size: 22px;
    margin: 0 0 15px;
    font-family: 'Roca', serif;
    color: #3f699f;
    line-height: 1.3;
}

.aktualnosc-card p {
    font-size: 16px;
    line-height: 1.6;
    color: #4b5563;
    margin-bottom: 25px;
    font-family: 'Nourd', sans-serif;
}

.aktualnosc-link {
    margin-top: auto;
    align-self: flex-start;
    text-decoration: none;
    font-weight: 700;
    color: #e87863;
    transition: color .2s;
    font-family: 'Nourd', sans-serif;
}

.aktualnosc-link:hover {
    color: #3f699f;
}


.aktualnosc-single {
    max-width: 900px; 
    margin: 0 auto;   
}


.aktualnosc-back-top {
    display: inline-block;
    margin-bottom: 30px;
    text-decoration: none;
    color: #6b7280;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s;
}
.aktualnosc-back-top:hover {
    color: #e87863;
}

.aktualnosc-header {
    margin-bottom: 40px;
}

.aktualnosc-header .icon {
    height: 60px;
    width: auto;
    margin-bottom: 20px;
    display: block;
}

.aktualnosc-header h1 {
    font-size: 42px; 
    font-family: 'Roca', serif;
    color: #e87863; 
    line-height: 1.2;
    margin: 0 0 15px 0;
}

.aktualnosc-meta {
    font-size: 16px;
    color: #3f699f;
    font-family: 'Nourd', sans-serif;
    font-weight: 600;
}

.header-line {
    width: 100px;
    height: 3px;
    background-color: #b7ccfa;
    margin-top: 25px;
}

.aktualnosc-content {
    font-size: 18px; 
    line-height: 1.8;
    color: #374151;
    font-family: 'Nourd', sans-serif;
    text-align: justify;
}

.aktualnosc-content p {
    margin-bottom: 25px;
}


.bottom-nav {
    margin-top: 60px;
    border-top: 1px solid #e5e7eb;
    padding-top: 30px;
}

.aktualnosc-back {
    display: inline-block;
    text-decoration: none;
    font-weight: 700;
    color: #3f699f;
    font-size: 16px;
    padding: 10px 20px;
    border: 2px solid #3f699f;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.aktualnosc-back:hover {
    background-color: #3f699f;
    color: #fff;
    text-decoration: none;
}


.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;
}

@media (max-width: 768px) {
    .aktualnosci-wrapper {
        padding: 40px 20px;
    }

    .aktualnosci-title {
        font-size: 32px;
    }

    .aktualnosc-header h1 {
        font-size: 30px;
    }

    footer, .footer {
        width: 100% !important;
        flex-direction: column !important; 
        text-align: center !important; 
        padding-bottom: 30px !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .footer > div {
        width: 100% !important;
        margin-bottom: 20px;
    }
}