/* Final shell reset for Baize pages.
 * This file should load last. It removes Zibll module shells globally,
 * while keeping inner content cards such as .posts-item.card.
 */

body .zib-widget,
body .zib-widget[class],
body .theme-box,
body .theme-box[class],
body .widget-tab-post,
body .widget-tab-post[class],
body .home-tab-content,
body .home-tab-content[class],
body .index-tab.widget-tab-post,
body .index-tab.widget-tab-post[class] {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  outline: 0 !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

body .zib-widget,
body .zib-widget[class] {
  padding: 0 !important;
}

body .widget-tab-post,
body .widget-tab-post[class],
body .home-tab-content,
body .home-tab-content[class] {
  padding: 0 !important;
  overflow: visible !important;
}

body .widget-tab-post::before,
body .widget-tab-post::after,
body .home-tab-content::before,
body .home-tab-content::after,
body .theme-box::before,
body .theme-box::after,
body .zib-widget::before,
body .zib-widget::after {
  display: none !important;
  content: none !important;
}

body .zib-widget > .box-body,
body .zib-widget > .box-body.notop,
body .theme-box > .box-body,
body .theme-box > .box-body.notop,
body .widget-tab-post > .box-body,
body .widget-tab-post > .box-body.notop {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body .content-layout > .zib-widget:has(.elementor),
body .content-layout > .zib-widget:has(.e-con),
body .content-layout > .zib-widget:has(.elementor-section) {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}

body .zib-widget > .elementor,
body .zib-widget > .e-con,
body .zib-widget > .elementor-section {
  margin: 0 !important;
}

/* Keep actual content cards designed. */
body .posts-item.card {
  border-radius: 24px !important;
}
