/* =========================================================
   CENJARS Scheduled Launch day backgrounds
   ========================================================= */

/* GO / launch up */
.tribe-events-calendar-month__day.scheduled_launch_day-up,
.tribe-events-calendar-month__day.scheduled_launch_day-up > .tribe-events-calendar-month__day-cell,
.tribe-events-calendar-month__day.scheduled_launch_day-up .tribe-events-calendar-month__day-cell {
    background-image:
        linear-gradient(
            rgba(135, 206, 255, 0.5),
            rgba(255, 255, 255, 0.25),
            rgba(255, 255, 255, 0.25)
        ),
        url("https://cenjars.org/wp-content/uploads/rocket-launch-up.png") !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: cover !important;
}

/* SCRUBBED / launch down */
.tribe-events-calendar-month__day.scheduled_launch_day-down,
.tribe-events-calendar-month__day.scheduled_launch_day-down > .tribe-events-calendar-month__day-cell,
.tribe-events-calendar-month__day.scheduled_launch_day-down .tribe-events-calendar-month__day-cell {
    background-image:
        linear-gradient(
            rgba(128, 128, 128, 0.25),
            rgba(255, 255, 255, 0.25),
            rgba(255, 255, 255, 0.25),
            rgba(128, 128, 128, 0.25)
        ),
        url("https://cenjars.org/wp-content/uploads/rocket-launch-down.png") !important;
    background-color: #EEEEEE !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: cover !important;
}

/* =========================================================
   TEC Month View tooltip Excerpt
   ========================================================= */

/*
 * This element is inserted into TEC's hidden tooltip template after the title.
 * Tooltipster copies that template into the visible hover popup.
 * Force it visible in case Astra/TEC compatibility CSS hides descriptions.
 */
.tribe-events-calendar-month__calendar-event-tooltip .cenjars-tec-tooltip-excerpt,
.tooltipster-base.tribe-events-tooltip-theme .cenjars-tec-tooltip-excerpt,
.cenjars-tec-tooltip-excerpt {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    margin-top: 8px !important;
    font-size: 14px;
    line-height: 1.45;
}

/*
 * If TEC also decides to output its native description, avoid showing the
 * same Excerpt twice. This only applies when our rendered Excerpt is present.
 */
.cenjars-tec-tooltip-excerpt ~ .tribe-events-calendar-month__calendar-event-tooltip-description {
    display: none !important;
}
