.sec-events-container {
    padding: 20px 0;
}

.sec-event {
    border-bottom: 1px solid #ddd;
    padding-bottom: 15px;
}

.sec-event-date {
    text-align: center;
    min-width: 60px;
}

.sec-event-date .day {
    font-size: 1.2em;
    color: #dc3545;
    text-transform: uppercase;
}

.sec-event-date .date {
    font-size: 2em;
    font-weight: bold;
}

.sec-event h3 {
    font-size: 1.5em;
    margin: 0 0 10px;
}

.event-dates {
    font-size: 0.9em;
    color: #666;
}

.sec-event p {
    margin: 5px 0;
}

/* Style dla miniaturki w lewej kolumnie */
.sec-event-thumbnail-wrapper {
    flex: 0 0 auto;
    max-width: 100px;
}

.sec-event-thumbnail {
    width: 100%;
    height: auto;
    border-radius: 5px;
    object-fit: cover;
}

/* Style dla banera wydarzenia */
.sec-event-banner-individual {
    text-align: center;
}

.event-banner-image {
    width: 380px;   /* Ustawiamy szerokość */
    height: 200px;  /* Ustawiamy wysokość */
    object-fit: cover; /* Ważne: przycina i skaluje obraz, aby wypełnił wymiary */
    border-radius: 10px;
    margin-bottom: 10px;
}

/* Dodatkowe style dla daty */
.sec-event-date .month-year {
    font-size: 0.9em;
    color: #666;
    display: block;
}

/* Styl dla linku w tytule */
.sec-event h3 a {
    color: #000;
    text-decoration: none;
}

.sec-event h3 a:hover {
    text-decoration: underline;
}

/* Responsywność */
@media (max-width: 768px) {
    .sec-event-date {
        min-width: 50px;
    }

    .sec-event h3 {
        font-size: 1.3em;
    }

    .sec-event-thumbnail-wrapper {
        max-width: 80px;
    }

    .event-banner-image {
        width: 100%; /* Pełna szerokość na małych ekranach */
        height: auto; /* Automatyczna wysokość */
        object-fit: cover; /* Zachowujemy cover */
    }
}