/* Mike Collins Tour — Big Rig Roadshow schedule styles */

.mc-tour-schedule {
    font-family: "Poppins", sans-serif;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

/* ── Section title — "Upcoming Stops" ──────────────────────── */
.mc-tour-section-title {
    margin-bottom: 40px;
}

.mc-tour-heading {
    font-family: "Poppins", sans-serif !important;
    font-size: 1.6rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    color: #ffffff !important;
    letter-spacing: 0.06em !important;
    margin: 0 !important;
    padding: 0 0 0 18px !important;
    border-left: 4px solid #CE3631 !important;
    border-bottom: none !important;
    line-height: 1.2 !important;
}

/* ── Day header — centered with lines on both sides ─────────── */
.mc-tour-day {
    margin-bottom: 52px;
}

.mc-tour-day-header {
    font-family: "Poppins", sans-serif !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.14em !important;
    color: #ffffff !important;
    margin: 0 0 24px !important;
    padding: 0 !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 18px !important;
    line-height: 1 !important;
    text-align: center !important;
}

.mc-tour-day-header::before,
.mc-tour-day-header::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #3a3a3a;
}

/* ── Events grid — 3 columns, equal height rows ─────────────── */
.mc-tour-events {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    align-items: stretch;
}

/* ── Single event card ──────────────────────────────────────── */
.mc-tour-event {
    background: #ffffff;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.mc-tour-event-inner {
    padding: 20px 20px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Stop-off card — muted */
.mc-tour-event--stop {
    opacity: 0.75;
}

/* ── Time row ───────────────────────────────────────────────── */
.mc-tour-time-row {
    margin-bottom: 10px;
}

.mc-tour-time {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #CE3631;
    letter-spacing: 0.02em;
}

/* Clock icon */
.mc-tour-time::before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='7' fill='%23CE3631'/%3E%3Cline x1='8' y1='4.5' x2='8' y2='8' stroke='white' stroke-width='1.4' stroke-linecap='round'/%3E%3Cline x1='8' y1='8' x2='11' y2='10' stroke='white' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

/* ── Venue name — main title ────────────────────────────────── */
.mc-tour-venue-name {
    font-family: "Poppins", sans-serif !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: #111111 !important;
    margin: 0 0 4px !important;
    line-height: 1.3 !important;
}

/* ── City — navy subtitle ───────────────────────────────────── */
.mc-tour-city {
    font-size: 0.82rem !important;
    font-weight: 500 !important;
    color: #002868 !important;
    margin: 0 0 16px !important;
    line-height: 1.3 !important;
}

/* ── Detail rows ────────────────────────────────────────────── */
.mc-tour-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    /* margin-top: auto; */
}

.mc-tour-detail {
    display: grid;
    grid-template-columns: 15px 1fr;
    grid-template-rows: auto auto;
    column-gap: 6px;
    row-gap: 2px;
    font-size: 0.8rem;
    line-height: 1.4;
}
.mc-tour-detail--host .mc-tour-detail-value {
  grid-row:1;
}
/* Person icon for host */
.mc-tour-detail--host::before {
    content: "";
    display: block;
    width: 15px;
    height: 15px;
    grid-row: 1;
    grid-column: 1;
    align-self: start;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%239ca3af'%3E%3Ccircle cx='8' cy='5' r='2.8'/%3E%3Cpath d='M2 13c0-3.3 2.7-5 6-5s6 1.7 6 5' stroke='%239ca3af' stroke-width='1.2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

/* Pin icon for address */
.mc-tour-detail--address::before {
    content: "";
    display: block;
    width: 15px;
    height: 15px;
    grid-row: 1;
    grid-column: 1;
    align-self: center;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%239ca3af'%3E%3Cpath d='M8 1.5A4.5 4.5 0 0 0 3.5 6c0 3.5 4.5 8.5 4.5 8.5S12.5 9.5 12.5 6A4.5 4.5 0 0 0 8 1.5zm0 6a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.mc-tour-detail-label {
    display: block;
    grid-row: 1;
    grid-column: 2;
    font-size: 0.67rem;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    line-height: 1.6;
    white-space: nowrap;
    align-self: center;
}

.mc-tour-detail-value {
    display: block;
    grid-row: 2;
    grid-column: 2;
    color: #374151;
    font-size: 0.8rem;
    line-height: 1.4;
}

/* ── Google Maps address link ───────────────────────────────── */
.mc-tour-maps-link {
    color: #374151 !important;
    text-decoration: underline !important;
    text-decoration-color: #d1d5db !important;
    transition: color 0.15s ease;
}

.mc-tour-maps-link:hover {
    color: #CE3631 !important;
    text-decoration-color: #CE3631 !important;
}

/* ── RSVP button — flush bottom ─────────────────────────────── */
.mc-tour-rsvp-btn {
    display: block;
    background: #CE3631;
    color: #ffffff !important;
    font-family: "Poppins", sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none !important;
    text-align: center;
    padding: 13px 0;
    transition: background 0.2s ease;
    border-radius: 0;
    margin-top: auto;
}

.mc-tour-rsvp-btn:hover {
    background: #a82c28 !important;
    color: #ffffff !important;
}

/* ── Stop-off label ─────────────────────────────────────────── */
.mc-tour-stop-label {
    display: block;
    text-align: center;
    padding: 12px 0;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #9ca3af;
    background: #f3f4f6;
    border-top: 1px solid #e5e7eb;
}

/* ── RSVP button — now a <button> ───────────────────────────── */
.mc-tour-rsvp-btn {
    border: none;
    cursor: pointer;
    width: 100%;
}

/* ── Modal overlay ──────────────────────────────────────────── */
.mc-tour-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    align-items: center;
    justify-content: center;
}

.mc-tour-modal--open {
    display: flex;
}

.mc-tour-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    cursor: pointer;
}

.mc-tour-modal-box {
    position: relative;
    z-index: 1;
    width: 90vw;
    max-width: 760px;
    height: 85vh;
    background: #ffffff;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.mc-tour-modal-box iframe {
    flex: 1;
    width: 100%;
    border: none;
}

.mc-tour-modal-close {
    position: absolute;
    top: 10px;
    right: 14px;
    z-index: 2;
    background: rgba(0, 0, 0, 0.55);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
}

.mc-tour-modal-close:hover {
    background: #CE3631;
}

/* ── Empty state ────────────────────────────────────────────── */
.mc-tour-empty {
    font-family: "Poppins", sans-serif;
    color: #6b7280;
    font-style: italic;
    text-align: center;
    padding: 40px 0;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
    .mc-tour-events {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .mc-tour-events {
        grid-template-columns: 1fr;
    }

    .mc-tour-day-header {
        font-size: 0.75rem !important;
        gap: 12px !important;
    }
}
