/* ── TMC Events Engine v1.2.0 ── */

/* ── Upcoming Events Grid ── */
.tmc-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    padding: 1rem 0;
}

.tmc-no-events {
    text-align: center;
    padding: 2rem;
    color: #888;
    font-style: italic;
}

.tmc-event-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tmc-event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.tmc-event-card__image-link {
    display: block;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.tmc-event-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.tmc-event-card:hover .tmc-event-card__image {
    transform: scale(1.04);
}

.tmc-event-card__body {
    padding: 1.25rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.4rem;
}

.tmc-event-card__date {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #b5451b;
}

.tmc-event-card__title {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0.2rem 0 0;
    line-height: 1.3;
}

.tmc-event-card__title a {
    color: inherit;
    text-decoration: none;
}

.tmc-event-card__title a:hover { color: #b5451b; }

.tmc-event-card__artist {
    font-size: 0.95rem;
    color: #555;
    margin: 0;
}

.tmc-event-card__price {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.tmc-event-card__actions {
    display: flex;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 1rem;
    flex-wrap: wrap;
}

.tmc-event-card__btn {
    display: inline-block;
    padding: 0.55rem 1.2rem;
    border-radius: 5px;
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

/* Tickets button is now primary / most prominent */
.tmc-event-card__btn--tickets {
    background: #b5451b;
    color: #fff;
    flex: 1;
    text-align: center;
}
.tmc-event-card__btn--tickets:hover { background: #8f3414; color: #fff; }

.tmc-event-card__btn--details { background: #f0f0f0; color: #333; }
.tmc-event-card__btn--details:hover { background: #ddd; color: #111; }

.tmc-venue-map { width: 100%; border-radius: 10px; overflow: hidden; margin: 1rem 0; }
.tmc-venue-map iframe { width: 100%; border: 0; display: block; }

@media (max-width: 600px) {
    .tmc-events-grid { grid-template-columns: 1fr; }
}

/* ── Single Event Page ── */
.tmc-single-event {
    max-width: 800px;
    margin: 0 auto;
}

.tmc-single-event__ticket-bar {
    margin: 1.5rem 0;
    text-align: center;
}

.tmc-single-event__ticket-bar--bottom {
    margin-top: 2.5rem;
}

.tmc-single-event__ticket-btn {
    display: inline-block;
    background: #b5451b;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
    padding: 0.85rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: background 0.2s ease, transform 0.15s ease;
    box-shadow: 0 4px 16px rgba(181,69,27,0.35);
}

.tmc-single-event__ticket-btn:hover {
    background: #8f3414;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(181,69,27,0.45);
}

.tmc-single-event__ticket-price {
    font-weight: 400;
    opacity: 0.9;
}

.tmc-single-event__meta {
    background: #f8f8f8;
    border-radius: 10px;
    padding: 1.5rem 2rem;
    margin: 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.tmc-single-event__meta-status {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.25rem;
}

.tmc-single-event__meta-row {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.tmc-single-event__meta-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.tmc-single-event__meta-row > div {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.tmc-single-event__meta-row strong {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #888;
    font-weight: 600;
}

.tmc-single-event__meta-row span {
    font-size: 1rem;
    color: #222;
}

.tmc-single-event__meta-row a {
    color: #b5451b;
    text-decoration: none;
}
.tmc-single-event__meta-row a:hover { text-decoration: underline; }

.tmc-single-event__meta-end {
    font-size: 0.875rem;
    color: #666;
}

.tmc-single-event__content {
    margin-top: 2rem;
    line-height: 1.75;
}

@media (max-width: 600px) {
    .tmc-single-event__ticket-btn { font-size: 1rem; padding: 0.75rem 1.5rem; }
    .tmc-single-event__meta { padding: 1rem 1.25rem; }
}

/* ── Past Events Carousel ── */
.tmc-past-carousel-wrap {
    position: relative;
    padding-bottom: 3.5rem;
}

.tmc-past-swiper {
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
}

.tmc-past-slide {
    height: auto;
}

.tmc-past-slide__inner {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 10px;
    overflow: hidden;
    background: #111827;
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}

.tmc-past-slide__inner:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.28);
}

.tmc-past-slide__img-wrap {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #1e2a38;
}

.tmc-past-slide__img-wrap--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}

.tmc-past-slide__placeholder-icon {
    font-size: 3rem;
    opacity: 0.4;
}

.tmc-past-slide__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.tmc-past-slide__inner:hover .tmc-past-slide__img {
    transform: scale(1.06);
}

.tmc-past-slide__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 30%, rgba(10,10,20,0.82) 100%);
    pointer-events: none;
}

.tmc-past-slide__body {
    padding: 1rem 1.1rem 1.2rem;
    background: #111827;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.tmc-past-slide__date {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #C9A84C;
}

.tmc-past-slide__title {
    font-size: 1rem;
    font-weight: 700;
    color: #f0f0f0;
    margin: 0;
    line-height: 1.3;
}

.tmc-past-slide__artist {
    font-size: 0.875rem;
    color: #9ca3af;
    margin: 0;
}

.tmc-past-slide__genre {
    display: inline-block;
    margin-top: 0.3rem;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #b5451b;
    background: rgba(181,69,27,0.12);
    border-radius: 4px;
    padding: 0.15rem 0.5rem;
}

.tmc-past-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.25rem;
}

.tmc-past-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid #C9A84C;
    background: transparent;
    color: #C9A84C;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease;
    line-height: 1;
}

.tmc-past-btn:hover {
    background: #C9A84C;
    color: #111827;
}

.tmc-past-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.tmc-past-pagination {
    text-align: center;
    margin-top: 0.75rem;
}

.tmc-past-pagination .swiper-pagination-bullet {
    background: #C9A84C;
    opacity: 0.4;
}

.tmc-past-pagination .swiper-pagination-bullet-active {
    opacity: 1;
}

@media (max-width: 600px) {
    .tmc-past-slide__title { font-size: 0.9rem; }
}
