/* BERBIN V11.1 — final layout overrides to remove legacy theme/hero collisions */
html[data-theme='light'] header.v4-header .v4-brand img,
html[data-theme='dark'] header.v4-header .v4-brand img,
body.dark header.v4-header .v4-brand img,
body:not(.dark) header.v4-header .v4-brand img,
.login-screen .login-brand img, .dashboard .sidebrand .admin-logo {
  content: normal !important;
  background: transparent !important;
  opacity: 1 !important;
  visibility: visible !important;
  filter: none !important;
  object-fit: contain !important;
}

.v4-feature {
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  height:auto !important;
  min-height:620px !important;
  padding:clamp(82px,8vw,125px) clamp(24px,7vw,110px) !important;
  box-sizing:border-box !important;
  overflow:hidden !important;
}
.v4-feature .v4-feature-content,
html[dir='rtl'] .v4-feature .v4-feature-content {
  position:relative !important;
  top:auto !important;
  bottom:auto !important;
  left:auto !important;
  right:auto !important;
  inset:auto !important;
  transform:none !important;
  width:min(760px,100%) !important;
  max-width:100% !important;
  padding:0 !important;
  margin:0 !important;
  z-index:4 !important;
}
.v4-feature .v4-feature-links,
html[dir='rtl'] .v4-feature .v4-feature-links {
  position:relative !important;
  display:flex !important;
  align-items:center !important;
  flex-wrap:wrap !important;
  gap:14px 22px !important;
  margin:28px 0 0 !important;
  z-index:5 !important;
}
.v4-feature .v4-side-label,
html[dir='rtl'] .v4-feature .v4-side-label {
  display:block !important;
  position:relative !important;
  inset:auto !important;
  top:auto !important;
  bottom:auto !important;
  left:auto !important;
  right:auto !important;
  width:100% !important;
  max-width:100% !important;
  height:auto !important;
  margin:25px 0 0 !important;
  padding:0 0 3px !important;
  z-index:6 !important;
  white-space:normal !important;
  overflow:visible !important;
  opacity:1 !important;
  color:#f5faf9 !important;
  text-shadow:0 2px 14px rgba(0,0,0,.8) !important;
  font:700 11px/1.8 Manrope,'IBM Plex Sans Arabic',sans-serif !important;
  letter-spacing:.1em !important;
  text-align:start !important;
}
html[dir='rtl'] .v4-feature .v4-side-label {
  text-align:right !important;
  letter-spacing:0 !important;
  font-family:'IBM Plex Sans Arabic',sans-serif !important;
  font-size:13px !important;
}
@media(max-width:900px){
  .v4-feature {min-height:0 !important;padding:80px 34px 74px !important}
}
@media(max-width:700px){
  .v4-feature {width:calc(100% - 20px) !important;height:auto !important;min-height:0 !important;padding:72px 24px 62px !important;border-radius:24px !important}
  .v4-feature .v4-feature-content,html[dir='rtl'] .v4-feature .v4-feature-content {width:100% !important;transform:none !important;top:auto !important;padding:0 !important}
  .v4-feature .v4-feature-links {margin-top:24px !important}
  .v4-feature .v4-side-label,html[dir='rtl'] .v4-feature .v4-side-label {font-size:11px !important;margin-top:24px !important;line-height:1.9 !important}
}
@media(max-width:390px){
  .v4-feature {padding:62px 20px 55px !important}
  .v4-feature .v4-light-button {padding:13px 17px !important}
}
