/* ===== 이벤트 갤러리 그리드 ===== */
.event-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    row-gap: 60px;
    column-gap: 24px;
    list-style: none;
    margin: 40px 0 0 0;
    padding: 0;
}
@media (max-width: 768px) {
    .event-gallery-grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; column-gap: 14px; }
}
@media (max-width: 480px) {
    .event-gallery-grid { grid-template-columns: 1fr; }
}

.event-gallery-item {
    min-width: 0;
}

.event-gallery-link {
    display: block;
    text-decoration: none;
    background: transparent;
    box-shadow: none;
}
.event-gallery-link:hover .event-gallery-img {
    transform: scale(1.04);
}

.event-gallery-img-wrap {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 12px;
    background: #f5f5f5;
}

.event-gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.event-gallery-no-img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #efefef;
    color: #bbb;
}

.event-gallery-info {
    padding: 16px 4px 8px;
}

.event-gallery-subject {
    display: block;
    color: #111;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
}

.event-gallery-empty {
    text-align: center;
    padding: 80px 20px;
    color: #bbb;
}
.event-gallery-empty p {
    margin-top: 16px;
    font-size: 15px;
    color: #aaa;
}

.event-gallery-ended-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.6); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 16px; font-weight: 500; z-index: 10; letter-spacing: -0.5px; }

