/* Concert Calendar - Main List */
.ccal-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Each event card */
.ccal-event {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid #ddd;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Thumbnail */
.ccal-thumb {
    flex: 0 0 220px;
    max-width: 220px;
    margin-right: 1.5rem;
}
.ccal-thumb img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

/* Event info */
.ccal-info {
    flex: 1;
    font-family: 'Georgia', serif;
    color: #333;
}

/* Title */
.ccal-title {
    font-size: 1.6rem;
    margin: 0 0 0.4rem 0;
    font-weight: normal;
}

/* Date */
.ccal-date {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 0.4rem;
}

/* Location */
.ccal-location {
    font-size: 1rem;
    color: #777;
    margin-bottom: 0.5rem;
}

/* Tags */
.ccal-tags {
    margin-bottom: 0.8rem;
}
.ccal-tag {
    display: inline-block;
    background: #f1f1f1;
    color: #555;
    font-size: 0.85rem;
    padding: 0.25rem 0.5rem;
    margin: 0 0.3rem 0.3rem 0;
    border-radius: 3px;
}

/* Buttons */
.ccal-buttons {
    display: flex;
    gap: 0.5rem;
}
.ccal-btn {
    background: #222;
    color: #fff;
    padding: 0.5rem 0.8rem;
    font-size: 0.9rem;
    text-decoration: none;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-family: 'Georgia', serif;
}
.ccal-btn:hover {
    background: #444;
}
.ccal-btn.ccal-rsvp {
    background: #a00;
}
.ccal-btn.ccal-rsvp:hover {
    background: #c00;
}

/* Popup overlay */
.ccal-popup-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.75);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

/* Popup inner */
.ccal-popup-inner {
    background: #fff;
    padding: 2rem;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 5px;
    font-family: 'Georgia', serif;
    font-size: 1.05rem;
    line-height: 1.65;
    color: #333;
}

/* Popup content elements */
.ccal-popup-inner h2 {
    font-size: 1.6rem;
    margin-top: 0;
    margin-bottom: 1rem;
    font-weight: normal;
}
.ccal-popup-inner p {
    margin-bottom: 1rem;
}
.ccal-popup-inner img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 1rem 0;
}

/* Close button */
.ccal-popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    color: #999;
    cursor: pointer;
}
.ccal-popup-close:hover {
    color: #333;
}

/* Responsive tweaks */
@media (max-width: 600px) {
    .ccal-event {
        flex-direction: column;
    }
    .ccal-thumb {
        margin-right: 0;
        margin-bottom: 1rem;
        max-width: 100%;
    }
}
