/* =====================================================
   AKTUALNOŚCI
===================================================== */

.news-page{
    max-width:1300px;
    margin:auto;
    padding:40px 25px 70px;
}

/* =====================================================
   NAGŁÓWEK
===================================================== */

.news-header{
    text-align:center;
    margin-bottom:55px;
}

.news-header h1{
    font-size:2.5rem;
    color:#003366;
    margin-bottom:18px;
}

.news-subtitle{
    max-width:850px;
    margin:auto;
    color:#555;
    font-size:1.1rem;
    line-height:1.8;
}

/* =====================================================
   HERO NEWS
===================================================== */

.hero-news{
    display:grid;
    grid-template-columns:1.2fr 1fr;
    gap:35px;
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 10px 28px rgba(0,0,0,.08);
    margin-bottom:60px;
}

.hero-news-image{
    overflow:hidden;
}

.hero-news-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.5s;
}

.hero-news:hover img{
    transform:scale(1.05);
}

.hero-news-content{
    padding:40px;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.news-date{
    color:#0059b3;
    font-weight:600;
    margin-bottom:15px;
}

.hero-news-content h2{
    color:#003366;
    margin-bottom:20px;
    font-size:2rem;
}

.hero-news-content p{
    line-height:1.8;
    color:#555;
    margin-bottom:30px;
}

/* =====================================================
   PRZYCISK
===================================================== */

.news-button{
    align-self:flex-start;
    background:#003366;
    color:#fff;
    text-decoration:none;
    padding:14px 28px;
    border-radius:30px;
    transition:.3s;
    font-weight:700;
}

.news-button:hover{
    background:#f39c12;
}

/* =====================================================
   SIATKA AKTUALNOŚCI
===================================================== */

.news-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:30px;
}

/* =====================================================
   KARTA
===================================================== */

.news-card{
    background:#fff;
    border-radius:16px;
    overflow:hidden;
    box-shadow:0 8px 22px rgba(0,0,0,.08);
    transition:.35s;
}

.news-card:hover{
    transform:translateY(-8px);
    box-shadow:0 16px 35px rgba(0,0,0,.14);
}

.news-card img{
    width:100%;
    height:220px;
    object-fit:cover;
    transition:.4s;
}

.news-card:hover img{
    transform:scale(1.05);
}

.news-card-content{
    padding:25px;
}

.news-card-content h3{
    color:#003366;
    margin:15px 0;
    font-size:1.35rem;
}

.news-card-content p{
    color:#555;
    line-height:1.7;
    margin-bottom:20px;
}

.news-card-content a{
    color:#0059b3;
    font-weight:700;
    text-decoration:none;
}

.news-card-content a:hover{
    color:#f39c12;
}

/* =====================================================
   ARCHIWUM
===================================================== */

.news-archive{
    margin-top:70px;
    background:#f7fbff;
    border-radius:18px;
    padding:45px;
    text-align:center;
    box-shadow:0 8px 22px rgba(0,0,0,.08);
}

.news-archive h2{
    color:#003366;
    margin-bottom:30px;
}

.archive-years{
    display:flex;
    justify-content:center;
    gap:25px;
    flex-wrap:wrap;
}

.archive-years a{
    text-decoration:none;
    background:#003366;
    color:#fff;
    padding:12px 28px;
    border-radius:30px;
    transition:.3s;
    font-weight:700;
}

.archive-years a:hover{
    background:#f39c12;
}

/* =====================================================
   RESPONSYWNOŚĆ
===================================================== */

@media(max-width:1000px){

    .hero-news{
        grid-template-columns:1fr;
    }

    .hero-news-image img{
        height:350px;
    }

}

@media(max-width:768px){

    .news-page{
        padding:30px 15px 60px;
    }

    .news-header h1{
        font-size:2rem;
    }

    .news-subtitle{
        font-size:1rem;
    }

    .hero-news-content{
        padding:30px;
    }

    .hero-news-content h2{
        font-size:1.6rem;
    }

    .news-grid{
        grid-template-columns:1fr;
    }

    .news-card img{
        height:210px;
    }

}

@media(max-width:500px){

    .hero-news-content{
        padding:22px;
    }

    .news-button{
        width:100%;
        text-align:center;
        box-sizing:border-box;
    }

    .news-archive{
        padding:30px 20px;
    }

    .archive-years{
        flex-direction:column;
        gap:15px;
    }

}