/**
 * Elementor (or any layout): add these classes under Advanced → CSS Classes
 * Visibility is driven by <body> classes from LLA_Plugin::filter_body_class_location_visibility().
 */

/* —— Global (all locations) —— */

body:not(.lla-has-open-locations) .lla-show-if-open {
  display: none !important;
}

body:not(.lla-no-open-locations) .lla-show-if-no-open {
  display: none !important;
}

body:not(.lla-has-closed-locations) .lla-show-if-closed {
  display: none !important;
}

body:not(.lla-no-closed-locations) .lla-show-if-no-closed {
  display: none !important;
}

body:not(.lla-has-coming-soon-locations) .lla-show-if-coming-soon {
  display: none !important;
}

body:not(.lla-no-coming-soon-locations) .lla-show-if-no-coming-soon {
  display: none !important;
}

/* —— Current archive only (region or country taxonomy page) —— */

body:not(.lla-archive-scope) .lla-show-if-archive-open,
body:not(.lla-archive-scope) .lla-show-if-archive-no-open,
body:not(.lla-archive-scope) .lla-show-if-archive-closed,
body:not(.lla-archive-scope) .lla-show-if-archive-no-closed,
body:not(.lla-archive-scope) .lla-show-if-archive-coming-soon,
body:not(.lla-archive-scope) .lla-show-if-archive-no-coming-soon {
  display: none !important;
}

body.lla-archive-scope:not(.lla-archive-has-open-locations) .lla-show-if-archive-open {
  display: none !important;
}

body.lla-archive-scope:not(.lla-archive-no-open-locations) .lla-show-if-archive-no-open {
  display: none !important;
}

body.lla-archive-scope:not(.lla-archive-has-closed-locations) .lla-show-if-archive-closed {
  display: none !important;
}

body.lla-archive-scope:not(.lla-archive-no-closed-locations) .lla-show-if-archive-no-closed {
  display: none !important;
}

body.lla-archive-scope:not(.lla-archive-has-coming-soon-locations) .lla-show-if-archive-coming-soon {
  display: none !important;
}

body.lla-archive-scope:not(.lla-archive-no-coming-soon-locations) .lla-show-if-archive-no-coming-soon {
  display: none !important;
}
