.elementor-widget-wd_tec_custom_category_widget .wd-no-events-found {
  align-items: center;
  color: #000000;
  font-family: "Rufina", Sans-serif;
  font-size: 28px;
  line-height: 1.15;
}
.elementor-widget-wd_tec_custom_category_widget #events-photo-filter-widget.wd_hide_pagenavi nav.wpdevs-photo-events-paginations {
  display: none;
}

.elementor-widget-wd_tec_custom_category_widget #events-photo-filter-widget .tribe-events-c-subscribe-dropdown__container {
    display: none !important;
}

.elementor-widget-wd_tec_custom_category_widget #events-photo-filter-widget .tribe-common--breakpoint-medium.tribe-common .tribe-common-g-row--gutters {
  margin-left: 0;
  margin-right: 0;
}

.elementor-widget-wd_tec_custom_category_widget #events-photo-filter-widget .elementor-widget-container{
  height: auto !important;
}

.elementor-widget-wd_tec_custom_category_widget #events-photo-filter-widget article,
#events-photo-filter.elementor-widget-tec_elementor_widget_events_view article,
#events-photo-filter article{
  background-position: center;
  background-size: 100% !important;
  transition: all 0.3s ease;
  background-repeat: no-repeat;
  position: relative;
}

.elementor-widget-wd_tec_custom_category_widget #events-photo-filter-widget article a.events-photo-filter-widget-event-url,
#events-photo-filter article a.events-photo-filter-widget-event-url {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 80px !important;
  z-index: 0;
}

.elementor-widget-wd_tec_custom_category_widget #events-photo-filter-widget article:hover,
#events-photo-filter.elementor-widget-tec_elementor_widget_events_view article:hover{
  background-size: 110% !important;
  cursor: pointer;
}


/* .elementor-widget-wd_tec_custom_category_widget #events-photo-filter-widget article .tribe-events-pro-photo__event-date-tag time.tribe-events-pro-photo__event-date-tag-datetime .tribe-events-pro-photo__event-date-tag-month,
.elementor-widget-wd_tec_custom_category_widget #events-photo-filter-widget article .tribe-events-pro-photo__event-date-tag time.tribe-events-pro-photo__event-date-tag-datetime .tribe-events-pro-photo__event-date-tag-daynum{
  font-family: 'Nunito', sans-serif !important;
  font-size: 16px !important;
  font-weight: bold !important;
} */


.elementor-widget-wd_tec_custom_category_widget #events-photo-filter-widget article .photo-event-bottom .tribe-events-pro-photo__event-datetime,
.elementor-widget-wd_tec_custom_category_widget #events-photo-filter-widget article .photo-event-bottom .tribe-events-pro-photo__event-datetime time,
.elementor-widget-wd_tec_custom_category_widget #events-photo-filter-widget article .photo-event-bottom .tribe-events-pro-photo__event-datetime span{
  font-family: 'Nunito', sans-serif !important;
  font-size: 16px !important;
  font-weight: bold !important;
}

#events-photo-filter .ev-cat, 
#events-photo-filter-widget .ev-cat, 
#events-photo-filter-sidebar-widget .ev-cat {
  display: flex;
  align-items: flex-start;
}



.elementor-widget-wd_tec_custom_category_widget #events-photo-filter-widget article .wd-photo-event-bottom-icon,
#events-photo-filter article .wd-photo-event-bottom-icon{
  width: 20px;
  margin-right: 5px;
  display: flex;
  align-items: flex-start;
  padding-top: 10px;
}

.elementor-widget-wd_tec_custom_category_widget #events-photo-filter-widget article .wd-photo-event-bottom-icon i.wd-right-arrow,
#events-photo-filter article .wd-photo-event-bottom-icon i.wd-right-arrow {
  height: 5px;
}

@media only screen and (min-width: 900px) {
  .elementor-widget-wd_tec_custom_category_widget #events-photo-filter-widget article {
      width: 48.5% !important;
  }
  
  .elementor-widget-wd_tec_custom_category_widget #events-photo-filter-widget .tribe-common-l-container.tribe-events-l-container {
      padding-top: 0px !important;
      padding-bottom: 0px !important;
      min-height: auto !important;
  }
  
}


@media (min-width: 400px) and (max-width: 899px) {
  .elementor-widget-wd_tec_custom_category_widget #events-photo-filter-widget .tribe-events .tribe-events-l-container {
    min-height: auto !important;
    padding: 0 !important;
  }
}

@media only screen and (min-width: 810px) and (max-width: 991px) {
   .elementor-widget-wd_tec_custom_category_widget #events-photo-filter-widget article {
    width: 45% !important;
    margin-right: 1%;
  }
}

@media only screen and (min-width: 542px) and (max-width: 809px) {
  .elementor-widget-wd_tec_custom_category_widget #events-photo-filter-widget article {
    width: 48% !important;
    margin-right: 2%;
  }
  .elementor-widget-wd_tec_custom_category_widget #events-photo-filter-widget .tribe-events-pro .tribe-events-pro-photo__event-date-tag {
    margin-right: 0px !important;
    width: 47px !important;
  }
}

@media only screen and (max-width: 720px){
  .elementor-widget-wd_tec_custom_category_widget #events-photo-filter-widget article {
    width: 100% !important;
    margin: 0px auto 20px;
    min-height: 350px;
    max-width: 500px;
  }
  .elementor-widget-wd_tec_custom_category_widget #events-photo-filter-widget .tribe-common .tribe-common-g-row--gutters{
    margin: 0 auto !important;
  }
  .elementor-widget-wd_tec_custom_category_widget #events-photo-filter-widget article {
      width: 100% !important;
      margin: 0px auto 20px;
      min-height: 350px;
  }
  .elementor-widget-wd_tec_custom_category_widget .wd-no-events-found svg {
    width: 64px;
    height: 64px;
    padding-right: 10px;
  }
}

/*** When Active Elementor Editor **/
.elementor-editor-active .elementor-widget-wd_tec_custom_category_widget #events-photo-filter-widget .tribe-common .tribe-common-g-row--gutters{
  gap: 20px;
}
.elementor-editor-active .elementor-widget-wd_tec_custom_category_widget #events-photo-filter-widget article {
  margin-bottom: 0px;
}

.elementor-editor-active .elementor-widget-wd_tec_custom_category_widget #events-photo-filter-widget.wd_hide_pagenavi nav.wpdevs-photo-events-paginations {
  display: none;
}


/*************************/
/** Sidebar Widgets CSS **/
/*************************/

.wd-sidebar-widget-events-grid .wd-sidebar-widget-event-item {
  border-bottom: 1px solid #000;
  margin-bottom: 30px;
  padding-bottom: 20px;
}

/* Container grid for events */
.wd-sidebar-widget-events-grid {
  display: block; /* Changed from flex to block for full-width items */
}

/* Event item wrapper */
.wd-sidebar-widget-event-item {
  width: 100%; /* Full width for each item */
  margin-bottom: 20px; /* Space between each item */
  box-sizing: border-box;
}

/* Square background image */
.wd-sidebar-widget-event-image {
  position: relative;
  width: 100%;
  padding-top: 64%; /* 4:3 aspect ratio */
  background-position: center;
  border-radius: 0px;
  background-size: 100%;
  background-repeat: no-repeat;
  transition: all 0.3s ease;
}

.wd-sidebar-widget-event-image:hover{
  background-size: 110%;
  cursor: pointer;
}

/* Date overlay on image */
.wd-sidebar-widget-event-date {
  position: absolute;
  top: 14px;
  right: 18px;
  background: #fff;
  color: #000;
  padding: 2px 9px 2px 9px;
  border-radius: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 45px;
  
}

/* Day styling */
.wd-sidebar-widget-event-day {
  font-size: 14px;
  line-height: 1.4;
  font-weight: 400;
  padding: 10px 0 8px;
  font-family: "Nunito", Sans-serif;
}

/* Event title and categories */
.wd-sidebar-widget-event-content {
  text-align: left;
  margin-top: 10px;
}
.wd-sidebar-widget-event-title {
  color: #000000;
  font-family: "Rufina", Sans-serif;
  font-size: 25px;
  font-weight: 700;
  line-height: 30px;
  position: relative;
}
.wd-sidebar-widget-event-title a {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}
.wd-sidebar-widget-event-categories {
  font-family: "Nunito", Sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  color: #000;
  display: flex;
  flex-flow: row;
}

.wd-sidebar-widget-event-categories .wd-sidebar-widget-event-category-icon {
  width: 20px;
  margin-right: 4px;
  display: flex;
}

.wd-sidebar-widget-event-categories .wd-sidebar-widget-event-category-icon i.wd-right-arrow {
  height: 5px;
  margin-top: 8px;
}

.wd-sidebar-widget-event-categories .wd-sidebar-widget-event-category {
  font-family: 'Nunito', sans-serif;
  font-size: 16px;
  line-height: 20px;
  color: #000;
  font-weight: 400;
}

/*** Hide Filter Arrow for Desktop Laptop **/
@media (min-width: 1246px) {
  .tribe-filter-bar .tribe-filter-bar__filters-slider-nav {
      display: none;
  }
}
