
/* ROOT WRAPPER */
.events-module {
    margin: 40px auto;
    max-width: 1200px;
    font-family: 'Segoe UI', Arial, sans-serif;
    color: #333;
}

/* TITLE */
.events-module .page-title {
    text-align: center;
    padding: 20px 0;
    font-size: 30px;
    font-weight: bold;
    color: #A11F21;
}

/* GRID */
.events-module .events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

/* CARD */
.events-module .event-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    transition: 0.2s;
}

.events-module .event-card:hover {
    transform: translateY(-5px);
}

/* IMAGE */
.events-module .event-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* CONTENT */
.events-module .info {
    padding: 18px;
}

.events-module .event-card h2 {
    font-size: 18px;
    margin: 0 0 8px;
    color: #A11F21;
}

.events-module .event-card p {
    color: #666;
    font-size: 14px;
}

/* LINK */
.events-module .event-card a {
    display: inline-block;
    margin-top: 10px;
    color: #2563eb;
    font-weight: bold;
    text-decoration: none;
}

/* SINGLE EVENT PAGE */
.events-module .event-details {
    max-width: 1000px;
    margin: 30px auto;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

.events-module .event-details img.cover {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 20px;
}

.events-module .event-details h1 {
    font-size: 28px;
    margin-bottom: 5px;
    color: #A11F21;
}

.events-module .event-details .meta {
    color: #777;
    margin-bottom: 20px;
}

.events-module .event-details .description {
    line-height: 1.7;
    font-size: 15px;
}

/* GALLERY */
.events-module .gallery {
    margin-top: 25px;
}

.events-module .gallery img {
    width: 160px;
    height: 110px;
    object-fit: cover;
    margin: 8px;
    border-radius: 6px;
    border: 2px solid #A11F21;
    cursor: pointer;
    transition: 0.3s;
}

.events-module .gallery img:hover {
    transform: scale(1.2);
    z-index: 10;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* IMAGE MODAL */
.events-module .img-modal {
    display: none;
    position: fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.events-module .img-modal img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
}

.events-module .img-modal .close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}
.events-module .back-btn {
    display: inline-block;
    margin-bottom: 15px;
    padding: 8px 14px;
    background: #A11F21;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
}

.events-module .back-btn:hover {
    background: #7f181a;
}
