.elementor-3339 .elementor-element.elementor-element-531dc054{--display:flex;}.elementor-3339 .elementor-element.elementor-element-b2bed47{--display:flex;}.elementor-3339 .elementor-element.elementor-element-0b2bb68{width:var( --container-widget-width, 97.762% );max-width:97.762%;--container-widget-width:97.762%;--container-widget-flex-grow:0;}.elementor-3339 .elementor-element.elementor-element-0b2bb68.elementor-element{--flex-grow:0;--flex-shrink:0;}.elementor-3339 .elementor-element.elementor-element-0b2bb68 .eael-entry-thumbnail{height:162px;}.elementor-3339 .elementor-element.elementor-element-0b2bb68 .eael-grid-post-holder{background-color:#fff;}.elementor-3339 .elementor-element.elementor-element-0b2bb68 .eael-grid-post .eael-entry-footer{justify-content:flex-start;}.elementor-3339 .elementor-element.elementor-element-0b2bb68 .eael-grid-post .eael-entry-header-after{justify-content:flex-start;align-items:center;}.elementor-3339 .elementor-element.elementor-element-0b2bb68 .eael-entry-title a{color:#303133;}.elementor-3339 .elementor-element.elementor-element-0b2bb68 .eael-entry-title:hover, .elementor-3339 .elementor-element.elementor-element-0b2bb68 .eael-entry-title a:hover{color:#23527c;}.elementor-3339 .elementor-element.elementor-element-0b2bb68 .eael-grid-post .eael-entry-overlay{background-color:rgba(0,0,0, .75);}.elementor-3339 .elementor-element.elementor-element-0b2bb68 .eael-grid-post .eael-entry-overlay > i{color:#ffffff;font-size:18px;}.elementor-3339 .elementor-element.elementor-element-0b2bb68 .eael-grid-post .eael-entry-overlay > img{height:18px;width:18px;}.elementor-3339 .elementor-element.elementor-element-0b2bb68 .eael-post-elements-readmore-btn{font-family:"Aboreto", Sans-serif;font-size:20px;font-weight:700;color:#0E3DA5;}/* Start custom CSS for eael-post-grid, class: .elementor-element-0b2bb68 *//* CSS dla jednakowych rozmiarów kafelków w Elementor Post Grid */

/* Ustaw siatkę CSS Grid zamiast masonry */
.eael-post-grid.eael-post-grid-style-two {
    display: grid !important;
    grid-template-columns: 1fr 1fr; /* Dwie równe kolumny */
    gap: 20px;
    position: static !important; /* Usuń absolute positioning */
    height: auto !important; /* Automatyczna wysokość */
}

/* Kafelki o jednakowej wysokości */
.eael-grid-post.eael-post-grid-column {
    position: static !important; /* Usuń absolute positioning */
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    display: flex;
    flex-direction: column;
}

/* Holder kafelka - flex container */
.eael-grid-post-holder {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.eael-grid-post-holder:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* Wewnętrzny holder */
.eael-grid-post-holder-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Sekcja obrazu - stała wysokość */
.eael-entry-media {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.eael-entry-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Wrapper treści - elastyczny */
.eael-entry-wrapper {
    display: flex;
    flex-direction: column;
    padding: 20px;
    flex-grow: 1;
}

/* Nagłówek - stała wysokość */
.eael-entry-header {
    margin-bottom: 15px;
}

.eael-entry-title {
    font-size: 18px !important;
    line-height: 1.3;
    margin: 0 !important;
    height: 50px; /* Stała wysokość dla tytułów */
    display: flex;
    align-items: center;
}

.eael-entry-title a {
    color: #333;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.eael-entry-title a:hover {
    color: #007bff;
}

/* Treść - elastyczna sekcja */
.eael-entry-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.eael-grid-post-excerpt {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.eael-grid-post-excerpt p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 4; /* Maksymalnie 4 linie tekstu */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Przycisk - zawsze na dole */
.eael-post-elements-readmore-btn {
    background-color: #007bff;
    color: white !important;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s ease;
    margin-top: auto;
}

.eael-post-elements-readmore-btn:hover {
    background-color: #0056b3;
    color: white !important;
}

/* Sekcja po nagłówku */
.eael-entry-header-after {
    margin-top: auto;
    padding-top: 10px;
}

/* Overlay na obrazie */
.eael-entry-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.eael-entry-media:hover .eael-entry-overlay {
    opacity: 1;
}

.eael-entry-overlay i {
    color: white;
    font-size: 24px;
}

/* Responsywność - na tabletach i telefonach jedna kolumna */
@media (max-width: 768px) {
    .eael-post-grid.eael-post-grid-style-two {
        grid-template-columns: 1fr; /* Jedna kolumna na mniejszych ekranach */
    }
}

/* Dodatkowe style dla kontenera */
.eael-post-grid-container {
    width: 100%;
}

/* Usuń clearfix który może przeszkadzać */
.clearfix {
    display: none;
}/* End custom CSS */