/* Corrections measured against the live Imweb reference, 2026-10-19.
   Native styles and authored widgets are kept in the captured page sources. */
html[data-imweb-reference] ._widget_data [style*="visibility: hidden"] { visibility: hidden; }
html[data-imweb-reference] .widget.image img.org_image { visibility: visible; }
html[data-imweb-reference] .imweb-board-card { display: block !important; }
/* Keep both the overlay and normal-flow headers visible while scrolling. */
html[data-imweb-reference] #doz_header_wrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}
html[data-imweb-reference] #doz_header_wrap.local-header-scrolled #doz_header {
  background-color: #171633 !important;
  box-shadow: 0 2px 12px #00000014;
}
html[data-imweb-reference] body.post_view #doz_header { position: static; }
@media (max-width: 991px) {
  html[data-imweb-reference] body.new_header_overlay:not(.new_header_overlay_mobile) #doz_header { position: relative; }
}

/* Make the drawer's arrow area itself receive the accordion click. */
#mobile_slide_menu .viewport-nav.mobile a.has_child {
  position: relative;
  padding-inline-end: 48px;
}
#mobile_slide_menu .viewport-nav.mobile a.has_child > .toggle-btn {
  position: absolute;
  inset: 0 0 0 auto;
  display: grid;
  place-items: center;
  width: 48px;
}
#mobile_slide_menu .viewport-nav.mobile a.has_child > .toggle-btn::after {
  content: "";
  position: static;
  width: 9px;
  height: 9px;
  padding: 0;
  border: solid #6a6a6a;
  border-width: 0 1px 1px 0;
  pointer-events: none;
  transform: translateY(-2px) rotate(45deg);
}
#mobile_slide_menu .viewport-nav.mobile a.has_child.open > .toggle-btn::after {
  transform: translateY(2px) rotate(225deg);
}
