/* --- TOPBAR (Pasek Newsów) --- */
.header-topbar {
    background-color: #f8f9fa; /* Jasnoszary bootstrapowy */
    border-bottom: 1px solid #dee2e6;
    padding: 8px 0;
    font-size: 0.9rem;
}

.breaking-news-label {
    font-weight: 700;
    text-transform: uppercase;
    color: #dc3545; /* Bootstrap Danger Red */
    white-space: nowrap;
}

.breaking-news-slider {
    height: 24px; /* Ważne dla Slicka w pionie */
    overflow: hidden;
    line-height: 24px;
}

.news-text p {
    margin: 0;
    padding: 0;
    color: #212529;
	}

/* --- LOGO W MENU --- */
.navbar-brand svg {
    height: 40px; /* Ustawienie wysokości logo */
    width: auto;
}

/* --- BOOTSTRAP HOVER FIX (Opcjonalnie: otwieranie menu po najechaniu) --- */
@media (min-width: 992px) {
    .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}
/* --- FOOTER STYLES (Bootstrap Extension) --- */
footer a.text-white-50:hover {
    color: #fff !important;
    text-decoration: underline !important;
}

.footer-post-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    background-color: #495057; /* Placeholder color */
}

/* Social Icon Hover */
.social-btn:hover {
    background-color: #fff;
    color: #212529; /* Dark text on white bg */
    border-color: #fff;
}

.scrollToTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: #28AFF0; /* Kolor magnesów z logo */
    color: #fff;
    border: none;
    border-radius: 50%; /* Okrągły kształt */
    cursor: pointer;
    display: none; /* Ukryty na starcie */
    z-index: 999;
    box-shadow: 0 4px 15px rgba(40, 175, 240, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scrollToTopBtn:hover {
    background-color: #1e82b3;
    transform: translateY(-5px); /* Delikatny skok w górę */
    box-shadow: 0 6px 20px rgba(40, 175, 240, 0.4);
}

.scrollToTopBtn i {
    font-size: 18px;
}

.w1 { font-size: 3rem; }      /* ok. 48px - Bardzo duży */
.w2 { font-size: 2.25rem; }   /* ok. 36px */
.w3 { font-size: 1.75rem; }   /* ok. 28px */
.w4 { font-size: 1.25rem; }   /* ok. 20px - Tytuł sekcji */
.w5 { font-size: 1rem; }      /* ok. 16px - Standardowy tekst */
.w6 { font-size: 0.75rem; }   /* ok. 12px - Małe etykiety (Twoje h3) */

/* Opcjonalnie: klasa resetująca marginesy, bo nagłówki Hx mają je domyślnie */
.no-margin { margin: 0; }
.fw-black { font-weight: 900; }
.logo-container:hover { opacity: 0.9; }

/* --- CZYTELNE I MOBILNE OSTATNIE WPISY --- */

.footer-post-item {
    padding-bottom: 5px;
}

.footer-post-icon {
    /* Podnosi ikonkę do linii tekstu */
    padding-top: 2px; 
    width: 20px;
}

/* Tytuł newsa - jasny i wyraźny */
.footer-post-link {
    font-size: 0.9rem;
    line-height: 1.35;
    font-weight: 600;
    color: #f1f5f9 !important; /* Jasny Slate-100 */
}

.footer-post-link:hover {
    color: #28AFF0 !important; /* Błękit po najechaniu */
}

/* Meta dane - szary o dobrym kontraście */
.footer-post-meta {
    font-size: 0.75rem;
    color: #94a3b8; /* Slate-400 */
}

/* Link kategorii */
.category-link {
    font-weight: 500;
    transition: color 0.2s ease;
}

.category-link:hover {
    color: #ffffff !important;
    text-decoration: underline !important;
}

/* Poprawka dla Mobile - odstępy między postami */
@media (max-width: 767.98px) {
    .footer-post-item {
        border-bottom: 1px solid rgba(255,255,255,0.05);
        padding-bottom: 12px;
    }
    .footer-post-item:last-child {
        border-bottom: none;
    }
}

.pagination {
    display: flex;
    gap: 5px;
    justify-content: center; /* Wyśrodkowanie */
    margin-top: 20px;
    flex-wrap: wrap;
}

.page-link {
    display: inline-block;
    padding: 8px 12px;
    border: 1px solid #ddd;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    background-color: #fff;
    transition: all 0.2s;
}

.page-link:hover {
    background-color: #f0f0f0;
    border-color: #bbb;
}

.page-link.active {
    background-color: #007bff; /* Kolor niebieski - zmień na swój */
    color: white;
    border-color: #007bff;
    font-weight: bold;
    pointer-events: none; /* Nieaktywny klik */
}

.page-dots {
    padding: 8px 5px;
    color: #999;
}

/* Opcjonalnie: ukrywanie słów "Poprzednia/Następna" na telefonach */
@media (max-width: 500px) {
    .page-link.prev { font-size: 0; }
    .page-link.prev::before { content: "«"; font-size: 16px; }
    
    .page-link.next { font-size: 0; }
    .page-link.next::before { content: "»"; font-size: 16px; }
}
 .breadcrumb::-webkit-scrollbar { display: none; }