/* -------------------------------------------------
   1. CARD & LINK – full width on every screen
   ------------------------------------------------- */
.tribe-events-calendar-list__event-row {
    background: #1e1e1e;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 28px;
    display: flex;
    flex-wrap: wrap;                     /* NEW: allow wrap on tiny screens */
    transition: transform .25s ease, box-shadow .25s ease;
    position: relative;
    font-family: var(--font-primary);
}

.tribe-events .tribe-events-calendar-list__month-separator-text {
    font-size: 2.35rem;
    font-family: var(--font-primary);
    font-weight: 900;
}

.tvn-event-card-link {
    display: flex;
    flex-direction: column;              /* NEW: stack children on mobile */
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    width: 100%;
}

/* Hover lift – only on devices that support hover */
@media (hover: hover) {
    .tvn-event-card-link:hover .tribe-events-calendar-list__event-row {
        transform: translateY(-4px);
        box-shadow: 0 12px 24px rgba(0,0,0,.35);
    }
}


/* -------------------------------------------------
   3. IMAGE – full-width on mobile, fixed on desktop
   ------------------------------------------------- */
.tribe-events-calendar-list__event-featured-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* -------------------------------------------------
   DATE BADGE – TOP-LEFT ON IMAGE (CLEAN & FINAL)
   ------------------------------------------------- */

/* Ensure image wrapper is the positioning context */
.tribe-events-calendar-list__event-featured-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 12px 0 0 12px;
    display: block;
}

/* Date badge – absolute on image */
.tribe-events-calendar-list__event-date-tag {
    position: absolute !important;   /* Only !important needed here */
    top: 12px;
    left: 12px;
    z-index: 10;
    background: #6a0dad;
    color: #fff;
    padding: 9px 9px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 900;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    gap: 2px;
    pointer-events: none; /* allows clicks through to image/link */
}

/* Day number */
.tribe-events-calendar-list__event-date-tag .tribe-event-date-tag-daynum {
    font-size: 1.3rem;
    line-height: 1;
}

/* Weekday */
.tribe-events-calendar-list__event-date-tag .tribe-event-date-tag-weekday {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Mobile – smaller badge */
@media (max-width: 768px) {
    .tribe-events-calendar-list__event-date-tag {
        top: 8px;
        left: 8px;
        padding: 6px 8px;
        font-size: 0.75rem;
    }
    .tribe-events-calendar-list__event-date-tag .tribe-event-date-tag-daynum {
        font-size: 1.1rem;
    }
    .tribe-events-calendar-list__event-featured-image-wrapper {
        min-height: 280px;
    }
}



/* -------------------------------------------------
   4. TEXT DETAILS – full width & visible
   ------------------------------------------------- */
.tribe-events-calendar-list__event-details {
    flex: 1;
    min-width: 0;                        /* allow text to shrink */
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    color: #fff;                         /* FORCE white text */
    order: 2;
}

/* -------------------------------------------------
   5. TYPOGRAPHY – guaranteed visibility
   ------------------------------------------------- */
.tribe-events-calendar-list__event-title,
.tribe-events-calendar-list__event-datetime,
.tribe-events-calendar-list__event-venue,
.tribe-events-calendar-list__event-description,
.tribe-events-calendar-list__event-cost {
    color: #fff !important;              /* OVERRIDE any dark inheritance */
    text-align: left !important;
}

.tribe-events-calendar-list__event-title {
    margin: 0 0 6px;
    font-size: 1.95rem !important;
    font-weight: 700;
    line-height: 1.25;
    font-family: var(--font-secondary);
}

.tribe-events-calendar-list__event-datetime {
    margin: 0 0 4px;
    font-size: .95rem;
    color: #ddd !important;
}

.tribe-events-calendar-list__event-datetime {
    border-bottom: 2px dotted #4A3558 !important;  /* Purple dotted line */
    padding-bottom: 8px !important;               /* Space between text and line */
    margin-bottom: 12px !important;               /* Space after the line */
    display: inline-block;                        /* Keeps line tight to text */
}

.tribe-events-calendar-list__event-venue {
    margin: 0 0 10px;
    font-size: .95rem;
    color: #ddd !important;
}

.tribe-events-calendar-list__event-description {
    margin: 0 0 14px;
    font-size: .95rem;
    line-height: 1.5;
    color: #ccc !important;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tribe-events-calendar-list__event-cost {
    margin-top: auto;
    align-self: flex-start;
    background: #6a0dad;
    color: #fff;
    font-weight: 900;
    font-size: .9rem;
    padding: 6px 14px;
    border-radius: 8px;
    margin-bottom: 15px;
}

/* -------------------------------------------------
   6. DESKTOP LAYOUT (≥769px) – side-by-side
   ------------------------------------------------- */
@media (min-width: 769px) {
    .tvn-event-card-link {
        flex-direction: row;
    }

    .tribe-events-calendar-list__event-featured-image-wrapper {
        flex: 0 0 300px; /* Fixed width for desktop */
        order: 0;
    }
    .tribe-events-calendar-list__event-details {
        order: 1;
    }
    .tribe-events-calendar-list__event-row {
        flex-wrap: nowrap;
    }
}

/* -------------------------------------------------
   7. MOBILE-SPECIFIC FALLBACKS
   ------------------------------------------------- */
@media (max-width: 480px) {
    .tribe-events-calendar-list__event-featured-image-wrapper {
        height: 160px;
    }
    .tribe-events-calendar-list__event-details {
        padding: 14px 16px;
    }
    .tribe-events-calendar-list__event-title {
        font-size: 1.25rem;
    }
}

/* -------------------------------------------------
   8. FINAL SAFETY NET – kill any hidden text
   ------------------------------------------------- */
.tribe-events-calendar-list__event * {
    color: inherit !important;
}


/* -------------------------------------------------
   1. LEFT PADDING FOR ALL TEXT (mobile + desktop)
   ------------------------------------------------- */
.tribe-events-calendar-list__event-details {
    padding-left: 24px !important;     /* adds comfortable left margin */
}

/* On desktop keep the original side padding, just increase left */
@media (min-width: 769px) {
    .tribe-events-calendar-list__event-details {
        padding: 20px 24px 20px 32px !important; /* top | right | bottom | left */
    }
}

/* -------------------------------------------------
   2. PRICE PILL – more internal padding
   ------------------------------------------------- */
.tribe-events-calendar-list__event-cost {
    padding: 8px 18px !important;      /* taller + wider */
    font-size: .95rem !important;      /* slightly larger text */
}

/* -------------------------------------------------
   MOBILE: Add space after Tickets button
   ------------------------------------------------- */
@media (max-width: 768px) {
    .tribe-events-calendar-list__event-cost {
        margin-bottom: 20px !important;   /* Space between button and card bottom */
    }
}





/* =========================================================
   SINGLE EVENT PAGE – DARK THEME (The Events Calendar)
   ========================================================= */

/* Only apply to single event pages */
#tribe-events-content.tribe-events-single {
    max-width: 1100px;
    margin: 40px auto;
    padding: 32px;
    background: #1e1e1e;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
    color: #e0e0e0;
    font-family: var(--font-primary);
    line-height: 1.6;
}

/* ——————————————————————
   1. BACK LINK
   —————————————————————— */
.tribe-events-back a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #bbbbbb;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 900;
    margin-bottom: 16px;
    transition: color 0.2s;
}
.tribe-events-back a:hover {
    color: #ffffff;
}


#tribe-events-content div.tribe-events-notices {
  background: #2a1b33 !important;
  color: #ffffff;
  border: 1px solid rgba(255,255,255,.12);
}


/* ——————————————————————
   2. EVENT TITLE
   —————————————————————— */
.tribe-events-single-event-title {
    margin: 0 0 16px;
    font-size: 2.3rem !important;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    font-family: var(--font-secondary);
}
.tribe-events-single-event-title {
    border-bottom: 2px dotted #4A3558 !important;  /* Purple dotted line */
    padding-bottom: 8px !important;               /* Space between text and line */
    margin-bottom: 12px !important;               /* Space after the line */
    display: inline-block;                        /* Keeps line tight to text */
}

/* ——————————————————————
   3. DATE & TIME (schedule)
   —————————————————————— */
.tribe-events-schedule {
    color: #fff;
    display: inline-block;
    margin: 0;
    font-weight: 600;
    font-size: 1.05rem;
}
.tribe-events-schedule__separator {
    margin: 0 6px;
    opacity: 0.8;
}
.tribe-events-schedule__datetime span {
    display: inline;
}
p.tribe-events-schedule__datetime span {
    color: #ffffff !important;          /* white text */
    font-size: calc(13px + 0.4vw) !important;
    font-family: var(--font-primary);
}

/* ——————————————————————
   4. FEATURED IMAGE
   —————————————————————— */
.tribe-events-single .wp-block-image {
    margin: 0 0 28px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}
.tribe-events-single .wp-block-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* ——————————————————————
   5. CONTENT: Paragraphs, Lists, Strong
   —————————————————————— */
.tribe-events-single p,
.tribe-events-single ul,
.tribe-events-single li {
    margin: 0 0 18px;
    font-size: calc(13px + 0.4vw);
    color: #cccccc;
}
.tribe-events-single strong {
    color: #ffffff;
}
.tribe-events-single ul {
    padding-left: 20px;
}
.tribe-events-single li {
    margin-bottom: 10px;
}
.tribe-events-single li::marker {
    color: #6a0dad;
}

/* ——————————————————————
   6. VIDEO EMBED
   —————————————————————— */
.video-responsive {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    margin: 24px 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}
.video-responsive iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: 0;
}

/* ——————————————————————
   7. PURCHASE TICKETS BUTTON
   —————————————————————— */
.wp-block-button .wp-block-button__link {
    display: inline-block;
    background: #6a0dad;
    color: #fff !important;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 14px 28px;
    border-radius: 999px;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 4px 12px rgba(106, 13, 173, 0.4);
    transition: all 0.3s ease;
    margin: 20px 0;
}
.wp-block-button .wp-block-button__link:hover {
    background: #7d1ce0;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(106, 13, 173, 0.5);
}



/* ——————————————————————
   7B. PRICE BUTTON
   —————————————————————— */
div.tribe-block__event-price {
    display: inline-block;
    background: #6a0dad;
    color: #fff !important;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 14px 28px;
    border-radius: 999px;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 4px 12px rgba(106, 13, 173, 0.4);
    transition: all 0.3s ease;
    margin: 20px 0;
}
span.tribe-block__event-price__cost {
    color: #fff !important;
}



/* ——————————————————————
   8. ADD TO CALENDAR DROPDOWN
   —————————————————————— */
.tribe-events-c-subscribe-dropdown__button {
    background: #2a2a2a;
    color: #ffffff;
    border: 1px solid #444;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}
.tribe-events-c-subscribe-dropdown__button:hover {
    background: #333;
    border-color: #6a0dad;
}
.tribe-events-c-subscribe-dropdown__button svg {
    width: 18px;
    height: 18px;
    fill: #6a0dad;
}
.tribe-events-c-subscribe-dropdown__content {
    background: #1e1e1e;
    border: 1px solid #444;
    border-radius: 8px;
    margin-top: 8px;
    padding: 8px 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}
.tribe-events-c-subscribe-dropdown__list-item a {
    color: #cccccc;
    padding: 10px 20px;
    display: block;
    text-decoration: none;
    font-size: 0.95rem;
    transition: background 0.2s, color 0.2s;
}
.tribe-events-c-subscribe-dropdown__list-item a:hover {
    background: #6a0dad;
    color: #fff;
}

/* ——————————————————————
   9. NAVIGATION (Prev/Next)
   —————————————————————— */
#tribe-events-footer {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid #333;
}
.tribe-events-sub-nav {
    display: flex;
    justify-content: space-between;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.95rem;
}
.tribe-events-sub-nav li {
    margin: 0;
}
.tribe-events-sub-nav a {
    color: #bbbbbb;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}
.tribe-events-sub-nav a:hover {
    color: #ffffff;
}

/* ——————————————————————
   10. MOBILE RESPONSIVE
   —————————————————————— */
@media (max-width: 768px) {
    #tribe-events-content.tribe-events-single {
        margin: 20px 16px;
        padding: 20px;
        border-radius: 12px;
    }
    .tribe-events-single-event-title {
        font-size: 1.8rem;
    }
    .tribe-events-schedule {
        font-size: 1rem;
        padding: 10px 14px;
    }
    .wp-block-button .wp-block-button__link {
        width: 100%;
        padding: 16px;
        font-size: 1.1rem;
    }
    .tribe-events-sub-nav {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    .tribe-events-sub-nav a {
        justify-content: center;
    }
}

/* =========================================================
   SINGLE EVENT – FIX PADDING + DATE VISIBILITY
   ========================================================= */

/* 1. Add breathing room inside the whole card */
#tribe-events-content.tribe-events-single {
    padding: 32px 40px !important;   /* top/bottom | left/right */
    box-sizing: border-box;
}

/* Mobile – reduce padding but keep it comfortable */
@media (max-width: 768px) {
    #tribe-events-content.tribe-events-single {
        padding: 24px 20px !important;
    }
}



div.tribe-block__venue, div.tribe-events-calendar-list__event-venue {
    display:none;
}
