* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Poppins', sans-serif; background-color: #f4f6f8; color: #333; padding-bottom: 50px; }

/* NAVBAR */
.navbar {
    display: flex; justify-content: space-between; align-items: center;
    background-color: #ffffff;
    padding: 0 5%;
    height: 90px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    position: sticky; top: 0; z-index: 1000;
}
.logo-link { display: flex; align-items: center; text-decoration: none; height: 100%; padding-right: 20px; }
.logo-img { height: 80px; width: auto; display: block; object-fit: contain; }

/* MENU */
.nav-links { list-style: none; display: flex; gap: 20px; align-items: center; height: 100%; }
.nav-links li a { text-decoration: none; color: #555; font-weight: 500; font-size: 15px; padding: 10px 16px; border-radius: 50px; transition: all 0.3s ease; }
.nav-links li a:hover { background-color: #f0f4f8; color: #4a90e2; transform: translateY(-2px); }
.nav-links li a.highlight { color: #9b59b6; font-weight: 600; }
.cta-button { text-decoration: none; background: linear-gradient(135deg, #4a90e2, #6c5ce7); color: white; padding: 12px 28px; border-radius: 50px; font-weight: 600; transition: transform 0.3s ease; }
.cta-button:hover { transform: translateY(-2px); }

/* UKŁAD */
.container { max-width: 1200px; margin: 0 auto; padding: 20px; }
.category-section { margin-bottom: 60px; }
.category-title { font-size: 28px; margin-bottom: 25px; display: flex; align-items: center; gap: 15px; color: #2c3e50; }
.divider { flex-grow: 1; height: 2px; background-color: #e0e0e0; }

/* GRIDY */
.main-news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; margin-bottom: 25px; }
.side-news-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* KARTY */
.news-card { background: white; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.05); transition: transform 0.3s ease; display: flex; flex-direction: column; }
.news-card:hover { transform: translateY(-5px); }
.img-wrap { width: 100%; display: flex; align-items: center; justify-content: center; background: #ddd; overflow: hidden; position: relative;}
.main-card .img-wrap { height: 250px; }
.side-card .img-wrap { height: 140px; }
.news-img { width: 100%; height: 100%; object-fit: cover; }
.content { padding: 20px; }
.tag { display: inline-block; background-color: #4a90e2; color: white; font-size: 12px; padding: 4px 10px; border-radius: 4px; margin-bottom: 10px; text-transform: uppercase; font-weight: 600; }
.main-card h3 { font-size: 20px; margin-bottom: 10px; line-height: 1.4; }
.side-card h4 { padding: 15px; font-size: 15px; line-height: 1.4; color: #333; }

/* LISTA NA PODSTRONACH */
.latest-feed { margin-top: 60px; padding-top: 40px; border-top: 1px solid #eee; }
.feed-item { display: flex; gap: 20px; margin-bottom: 25px; padding-bottom: 25px; border-bottom: 1px solid #f0f0f0; }
.feed-img-placeholder { min-width: 220px; height: 140px; background-color: #ddd; border-radius: 8px; flex-shrink: 0; overflow: hidden; }
.feed-content { display: flex; flex-direction: column; justify-content: center; }
.feed-item h3 { font-size: 18px; margin-bottom: 8px; color: #333; }

/* RWD */
@media (max-width: 768px) {
    .navbar { flex-direction: column; height: auto; padding: 15px 5%; }
    .nav-links { flex-wrap: wrap; justify-content: center; margin: 10px 0; }
    .main-news-grid { grid-template-columns: 1fr; }
    .side-news-grid { grid-template-columns: 1fr 1fr; }
    .feed-item { flex-direction: column; }
    .feed-img-placeholder { width: 100%; height: 180px; }
}