/* Related Events Widget Styling - matches custom list view emotion */
:where(.tec-events-elementor-event-widget__related-container){

    /* Header styling */
    .tec-events-elementor-event-widget__related-header.tec-events-elementor-event-widget__related-header.tec-events-elementor-event-widget__related-header{
        font-size: 24px;
        font-family: "Playfair Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
        color: #424242;
        margin-bottom: 20px;
        text-align: center;
    }

    /* Individual event item */
    .tec-events-elementor-event-widget__related-list-item.tec-events-elementor-event-widget__related-list-item.tec-events-elementor-event-widget__related-list-item{
        background-color: #F2F0EC;
        position: relative;
    }

    /* Date tag with skewed styling - matches shortcode */
    .tec-events-elementor-event-widget__related-date-tag.tec-events-elementor-event-widget__related-date-tag.tec-events-elementor-event-widget__related-date-tag{
        background-color: var(--local-vendi-color, #40E0D0);
        position: absolute;
        top: 0;
        left: 0;
        text-align: center;
        padding-top: 7px;
        padding-inline: 10px;
        padding-bottom: 15px;
        z-index: 10;
    }

    .tec-events-elementor-event-widget__related-date-tag::before{
        background-color: var(--local-vendi-color, #40E0D0);
        content: "";
        position: absolute;
        display: block;
        width: 100%;
        height: 100%;
        top: 0;
        left: 1px;
        z-index: -1;
        transform-origin: bottom left;
        transform: skew(-12deg, 0deg);
        -moz-transition: all 0.35s !important;
    }

    .tec-events-elementor-event-widget__related-date-tag-month.tec-events-elementor-event-widget__related-date-tag-month.tec-events-elementor-event-widget__related-date-tag-month{
        font-size: 14px;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-family: Open Sans, sans-serif;
        color: #fff;
        margin-inline: auto;
    }

    .tec-events-elementor-event-widget__related-date-tag-day.tec-events-elementor-event-widget__related-date-tag-day.tec-events-elementor-event-widget__related-date-tag-day{
        font-size: 40px;
        font-family: "Playfair Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
        display: block;
        color: #fff;
        line-height: .5;
        margin-inline: auto;
    }

    /* Thumbnail container */
    .tec-events-elementor-event-widget__related-thumbnail.tec-events-elementor-event-widget__related-thumbnail.tec-events-elementor-event-widget__related-thumbnail{
        min-width: 120px;
    }

    /* Info section */
    .tec-events-elementor-event-widget__related-info.tec-events-elementor-event-widget__related-info.tec-events-elementor-event-widget__related-info{
        text-align: center;
        min-height: 150px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        padding-inline: 5px;
    }

    /* Title styling */
    .tec-events-elementor-event-widget__related-title.tec-events-elementor-event-widget__related-title.tec-events-elementor-event-widget__related-title{
        margin: 0 0 10px 0;
        font-size: 18px;
        line-height: 1.7;
        font-weight: 700;
        color: #424242;
        font-family: Open Sans,sans-serif;
    }

    .tec-events-elementor-event-widget__related-title.tec-events-elementor-event-widget__related-title.tec-events-elementor-event-widget__related-title:hover{
        text-underline: none !important;
        text-decoration: none !important;
        color: var(--local-vendi-color);
        -moz-transition: all 0.35s;
    }

    .tec-events-elementor-event-widget__related-title-link:hover{
        text-decoration: none !important;
        color: var(--local-vendi-color, #40E0D0);
        -moz-transition: all 0.35s;
        transition: all 0.35s;
    }

    /* Datetime styling */
    .tec-events-elementor-event-widget__related-datetime.tec-events-elementor-event-widget__related-datetime.tec-events-elementor-event-widget__related-datetime{
        color: var(--local-vendi-color, #40E0D0);
        text-transform: uppercase;
        font-size: 12px;
        font-weight: 600;
        letter-spacing: 1px;
        font-family: Open Sans, sans-serif;
        margin: 0;
    }

    /* Venue styling */
    .tec-events-elementor-event-widget__related-venue{
        color: var(--local-vendi-color, #40E0D0);
    }

}
