.event-list {
    width: 100%;
}

.event-item {
    display: grid;
    grid-template-columns: 15% 45% 40%;
    align-items: stretch;

    background: #fff;
    border: 3px solid #222;
    border-radius: 15px;

    overflow: hidden;
    margin-bottom: 16px;
    min-height: 180px;
}

.event-item:hover {
	cursor: pointer;
}
	
/* --------------------------------
   Date
-------------------------------- */

.event-date {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;
    padding: 20px;

    border-right: 2px dotted #999;
}

.event-day {
    font-size: 20px;
    line-height: 1.2;
}

.event-month {
    font-size: 20px;
    line-height: 1.2;
}

.event-year {
    font-size: 18px;
    line-height: 1.2;
}

/* --------------------------------
   Photo
-------------------------------- */

.event-photo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    border-right: 2px dotted #999;
}

.event-carousel {
    width: 100%;
    max-width: 360px;
}

.event-carousel .carousel-inner {
    width: 100%;
}

.event-carousel .carousel-item {
    height: 200px;
}

.event-carousel .carousel-item img {
    display: block;

    width: 100%;
    height: 200px;

    object-fit: cover;
    border-radius: 3px;
}

/* --------------------------------
   Information
-------------------------------- */

.event-info {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 20px 28px;
}

.event-info h3 {
    margin: 0 0 8px;

    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
}

.event-info p {
    margin: 0;

    font-size: 16px;
    line-height: 1.7;
}

/* --------------------------------
   Header
-------------------------------- */

.event-header {
    min-height: 180px;
}

.event-header .event-date {
    font-size: 28px;
    font-weight: 700;
}

.event-header .event-photo {
    font-size: 28px;
    font-weight: 700;
}

.event-header .event-info h3 {
    font-size: 32px;
    margin-bottom: 8px;
}

.event-header .event-info div {
    font-size: 20px;
    font-weight: 600;
}

.event-modal-image {
    cursor: zoom-in;
    transition: opacity 0.2s ease;
}

.event-modal-image:hover {
    opacity: 0.85;
}

/* Modal backdrop */
#eventImageModal .modal-backdrop {
    background-color: rgba(0, 0, 0, 0.45);
}

#eventImageModal .event-modal-dialog {
    width: 96vw;
    max-width: 1400px;
    margin: 0 auto;
}

#eventImageModal .modal-content {
    background: transparent;
    border: 0;
    border-radius: 8px;
    box-shadow: none;
}

#eventImageModal .event-modal-body {
    padding: 0;
    text-align: center;
}

#eventImageModal .event-modal-full-image {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 82vh;
    margin: 0 auto;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.25);
}

#eventImageModal .event-modal-close {
    position: absolute;
    top: -15px;
    right: -15px;
    z-index: 10;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #333;
    opacity: 1;
    font-size: 28px;
    line-height: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

@media (max-width: 767.98px) {
    #eventImageModal .event-modal-dialog {
        width: 96vw;
        max-width: 96vw;
    }

    #eventImageModal .event-modal-full-image {
        max-height: 85vh;
    }

    #eventImageModal .event-modal-close {
        top: -12px;
        right: -5px;
    }
}