.elementor-159 .elementor-element.elementor-element-84edfc4{--display:flex;--min-height:100vh;--flex-direction:column;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--justify-content:center;--align-items:stretch;--gap:30px 30px;--row-gap:30px;--column-gap:30px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-159 .elementor-element.elementor-element-84edfc4:not(.elementor-motion-effects-element-type-background), .elementor-159 .elementor-element.elementor-element-84edfc4 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:var( --e-global-color-fdb2b9a );}.elementor-159 .elementor-element.elementor-element-3eb92f4{text-align:center;}.elementor-159 .elementor-element.elementor-element-3eb92f4 .elementor-heading-title{color:var( --e-global-color-d3c0fdf );}.elementor-159 .elementor-element.elementor-element-17229b2{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}@media(min-width:768px){.elementor-159 .elementor-element.elementor-element-84edfc4{--content-width:860px;}}@media(max-width:1024px){.elementor-159 .elementor-element.elementor-element-84edfc4{--min-height:100vh;}}@media(max-width:767px){.elementor-159 .elementor-element.elementor-element-84edfc4{--padding-top:45%;--padding-bottom:020%;--padding-left:5%;--padding-right:5%;}}/* Start custom CSS for tec_elementor_widget_events_view, class: .elementor-element-4eebeb1 *//* --------------------------------------------------
   CUSTOM VARIABLES
   --------------------------------------------------
*/
:root {
    --tec-date-bg: #F16631;       
    --tec-date-text: #FFF;     
    --tec-accent-color: #9c27b0;  
    --tec-bg-color: #ffffff;      
    --tec-text-main: #333333;     
    --tec-text-meta: #666666;     
    --tec-pill-bg: #f3f4f6;       
    --tec-border-radius: 12px;    
}


/* --------------------------------------------------
   LIST CONTAINER RESET
   --------------------------------------------------
*/
html body .tribe-events-calendar-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

/* --------------------------------------------------
   THE CARD STYLING (BASE / DESKTOP)
   --------------------------------------------------
*/

/* Main Row Container */
html body li.tribe-events-calendar-list__event-row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    background-color: var(--tec-bg-color);
    margin-bottom: 20px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    border: none !important;
    align-items: stretch !important;
}

/* Left Date Column (Yellow Bar) */
html body .tribe-events-calendar-list__event-date-tag {
    background-color: var(--tec-date-bg) !important;
    color: var(--tec-date-text) !important;
    width: 90px !important;
    min-width: 90px !important;
    flex: 0 0 90px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 10px !important;
    margin: 0 !important;
    float: none !important;
    text-align: center !important;
}

/* Ensure the time element inside is also centered */
html body .tribe-events-calendar-list__event-date-tag-datetime {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    text-align: center !important;
}

/* Date Text Styles */
html body .tribe-events-calendar-list__event-date-tag-weekday {
    display: block !important;
    text-transform: uppercase;
    font-size: 0.85rem; 
    font-weight: 700;
    margin-bottom: 4px !important;
    color: inherit !important;
    line-height: 1 !important;
}

html body .tribe-events-calendar-list__event-date-tag-daynum {
    display: block !important;
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1 !important;
    color: inherit !important;
}

/* Right Content Area Wrapper */
html body .tribe-events-calendar-list__event-wrapper {
    flex-grow: 1 !important;
    padding: 20px !important;
    display: flex !important;
    align-items: center !important; 
    width: auto !important;
    min-width: 0 !important;
}

/* THE ARTICLE (Inner Layout) */
html body article.tribe-events-calendar-list__event {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 20px !important;
    width: 100% !important;
    align-items: flex-start !important; /* Align to top */
    padding: 0 !important;
    margin: 0 !important;
}

/* Image Wrapper (DESKTOP DEFAULT: 420px on Right) */
html body .tribe-events-calendar-list__event-featured-image-wrapper {
    width: 420px !important; 
    height: auto !important;
    aspect-ratio: 16 / 9 !important; 
    flex: 0 0 420px !important; 
    border-radius: var(--tec-border-radius);
    overflow: hidden !important;
    margin: 0 !important;
    display: block !important;
    background: transparent !important;
    
    order: 2 !important; /* Moves to Right */
    margin-left: auto !important; 
}

/* Image Object Fit */
html body .tribe-events-calendar-list__event-featured-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    margin: 0 !important;
    max-width: none !important;
}

/* Details Text Column (DESKTOP DEFAULT: Left) */
html body .tribe-events-calendar-list__event-details {
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    width: auto !important;
    min-width: 0 !important;
    
    order: 1 !important; 
}

/* HEADER CONTAINER - FORCE COLUMN LAYOUT */
html body .tribe-events-calendar-list__event-header {
    display: flex !important;
    flex-direction: column !important;
}

/* 1. Title on Top (Order 1) */
html body .tribe-events-calendar-list__event-title {
    order: 1 !important;
    margin: 0 0 6px 0 !important;
    padding: 0 !important;
}

html body .tribe-events-calendar-list__event-title a {
    color: var(--tec-text-main);
    text-decoration: none !important;
}

/* 2. Date/Time (Order 2) */
html body .tribe-events-calendar-list__event-datetime-wrapper {
    order: 2 !important;
    display: inline-flex !important;
    margin-bottom: 4px;
}

/* Time Pill Style */
html body .tribe-events-calendar-list__event-datetime {
    background-color: var(--tec-pill-bg) !important;
    padding: 4px 10px !important;
    border-radius: 50px !important;
    color: #4b5563 !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin: 0 !important;
}

/* Clock Icon */
html body .tribe-events-calendar-list__event-datetime::before {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: #4b5563;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z' /%3E%3C/svg%3E") no-repeat center;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z' /%3E%3C/svg%3E") no-repeat center;
}

/* 3. Venue Address (Order 3) */
html body .tribe-events-calendar-list__event-venue {
    order: 3 !important;
    font-style: normal;
    color: var(--tec-text-meta);
    margin-top: 4px !important;
    display: block !important;
}

/* Description - Desktop Font Size */
html body .tribe-events-calendar-list__event-description {
    display: block !important;
    visibility: visible !important;
    height: auto !important;
    width: auto !important;
    margin-top: 8px !important;
    clip: auto !important; 
    position: static !important;
}

html body .tribe-events-calendar-list__event-description p {
    display: -webkit-box !important;
    -webkit-line-clamp: 4 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 18px !important; /* Desktop Default */
    line-height: 1.5 !important;
}

/* ==========================================================================
   RESPONSIVE LAYOUT (TABLET & MOBILE)
   Triggered at 1150px and below
   ========================================================================== */

@media (max-width: 1150px) {
    /* 1. Stack Content Vertically */
    html body article.tribe-events-calendar-list__event {
        flex-direction: column !important;
        gap: 0 !important; /* Gap handled by margins */
    }

    /* 2. Text Content Goes to TOP */
    html body .tribe-events-calendar-list__event-details {
        width: 100% !important;
        order: 1 !important;
        padding-bottom: 15px !important; /* Space above image */
    }

    /* 3. Image Goes to BOTTOM */
    html body .tribe-events-calendar-list__event-featured-image-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 auto !important;
        aspect-ratio: 16 / 9 !important;
        height: auto !important;
        
        order: 2 !important; 
        margin-left: 0 !important;
        margin-top: 0 !important;
    }
    
    /* 4. Smaller Text for Time Capsule (Responsive Request) */
    html body .tribe-events-calendar-list__event-datetime {
        font-size: 0.75rem !important; /* Smaller size for mobile */
        padding: 2px 8px !important; /* Tighter padding */
        line-height: 1.2 !important;
    }
    
    /* Tablet Paragraph Font Size */
    html body .tribe-events-calendar-list__event-description p {
        -webkit-line-clamp: 3 !important;
        font-size: 17px !important; /* Tablet Size */
    }

    /* 5. Mobile Adjustments for Date Bar (< 600px) */
    @media (max-width: 600px) {
        
        /* Change Main Row to Column so Date Bar is on Top */
        html body li.tribe-events-calendar-list__event-row {
            flex-direction: column !important;
        }

        /* Make Date Bar 100% Width and Horizontal Layout */
        html body .tribe-events-calendar-list__event-date-tag {
            width: 100% !important;
            min-width: 100% !important;
            flex: 0 0 auto !important;
            flex-direction: row !important; /* Side-by-side text */
            justify-content: flex-start !important; /* Align left */
            padding: 8px 15px !important;
            gap: 12px;
        }

        /* Fix Inner Date Wrapper for Horizontal Layout */
        html body .tribe-events-calendar-list__event-date-tag-datetime {
            flex-direction: row !important;
            align-items: center !important;
            gap: 8px !important;
            width: auto !important;
        }
        
        /* Adjust Font Sizes for Horizontal Bar */
        html body .tribe-events-calendar-list__event-date-tag-weekday {
            margin-bottom: 0 !important;
            font-size: 1rem !important;
        }

        html body .tribe-events-calendar-list__event-date-tag-daynum {
            font-size: 1.4rem;
        }

        html body .tribe-events-calendar-list__event-wrapper {
            padding: 15px !important; /* Reduce padding */
        }
        
        /* Mobile Paragraph Font Size */
        html body .tribe-events-calendar-list__event-description p {
            font-size: 16px !important; /* Mobile Size */
        }
    }
}/* End custom CSS */