/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
Template: hello-elementor
Author: Elementor Team
Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
Description: Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
Tags: accessibility-ready,flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 3.4.5.1762441735
Updated: 2025-11-06 16:08:55

*/

/* ===== SwiperJS slider - Duży kafelek 50%, pozostałe 25% ===== */

/* Container slidera - opcjonalnie */
.news-swiper {
    width: 100%;
}

/* Flex dla wrappera, by kafelki układały się w linii i miały równą wysokość */
.news-swiper .swiper-wrapper {
    display: flex !important;
    align-items: stretch;
}

/* Podstawowy styl dla kafelków (slide) */
.news-swiper .swiper-slide {
    display: flex !important;
    flex-direction: column;
    background: #fff;
    overflow: hidden;
}

/* Pierwszy, duży kafelek - ok. 50% */
.news-swiper .slide-large {
    width: 58% !important;
    min-width: 250px;
    max-width: 600px;
	margin-right: 1%;
}

/* Pozostałe kafelki - po 25% */
.news-swiper .slide-small {
    width: 24% !important;
    min-width: 160px;
    max-width: 340px;
	margin-right: 1%;
}

/* Ostatni kafelek bez marginesu */
.news-swiper .swiper-slide:last-child {
    margin-right: 0;
}

/* Obrazki w kafelkach - zawsze wpisane w pełną szerokość i dobrze dopasowane */
.news-swiper .swiper-slide img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

/* Styl opisów kafelków */
.news-swiper .caption {
    padding: 14px 16px 16px;
    font-size: 18px;
    font-weight: 600;
    color: #172B4D;
    flex: 1 0 auto;
    display: block;
    line-height: 1.3;
}

/* Responsywność - tablety */
@media (max-width: 900px) {
    .news-swiper .slide-large {
        width: 70vw !important;
        min-width: 180px;
        max-width: 95vw;
        margin-right: 12px;
    }
    .news-swiper .slide-small {
        width: 44vw !important;
        min-width: 120px;
        max-width: 65vw;
        margin-right: 12px;
    }
}

/* Responsywność - telefony */
@media (max-width: 600px) {
    .news-swiper .slide-large,
    .news-swiper .slide-small {
        width: 97vw !important;
        min-width: unset;
        max-width: 100vw;
        margin-right: 0;
    }
}

.swiper-button-next::after,
.swiper-button-prev::after {
    display: none !important;
    content: '' !important;
}

