/* Shared public content and editor preview. No uploaded image can widen its column. */
.cms-prose { box-sizing:border-box; min-width:0; max-width:780px; margin-inline:auto; overflow-wrap:anywhere; word-break:normal; }
.cms-prose h2 { font-family:Georgia,'Times New Roman',serif; font-size:clamp(1.7rem,3vw,2.5rem); line-height:1.25; margin-block:12px 22px; overflow-wrap:anywhere; }
.cms-prose p { font-family:Georgia,'Times New Roman',serif; font-size:clamp(1.05rem,2vw,1.25rem); line-height:1.85; margin-block:0 22px; white-space:pre-line; text-align:start; }
.cms-prose .cms-article-image { display:block; width:100%; max-width:100%; margin:28px auto; }
.cms-prose .cms-article-image img, .cms-prose > img { display:block; width:auto; height:auto; max-width:100%; max-height:min(560px,70vh); object-fit:contain; margin:28px auto; border-radius:8px; }
.cms-prose .crit-scan img { display:block; width:auto; height:auto; max-width:100%; max-height:620px; object-fit:contain; margin-inline:auto; }
.cms-prose a { overflow-wrap:anywhere; }
.cms-prose:lang(ar), .cms-prose:lang(ar) p, .cms-prose:lang(ar) h2 { font-family:Tahoma,Arial,sans-serif; letter-spacing:normal; line-height:1.9; }
@media(max-width:600px) { .cms-prose .cms-article-image { margin-block:22px; } .cms-prose h2 { font-size:1.7rem; } }
/* Desktop links remain visible, including menus with more than seven entries. */
#header .hamburger[hidden] { display:none !important; }
#header .cms-managed-menu a { overflow-wrap:anywhere; }
@media(min-width:1001px){
  #header .navbar { gap:24px; }
  #header .logo, #header .nav-right { flex-shrink:0; }
  #header .cms-managed-menu { display:flex;flex:1;min-width:0;flex-wrap:wrap;justify-content:center;gap:10px 20px; }
  #header .cms-managed-menu a { white-space:normal; }
  #header.cms-menu-compact .hamburger { display:none; }
}
@media(max-width:1000px){
  #header.cms-menu-compact .hamburger { display:block;cursor:pointer; }
  #header.cms-menu-compact .nav-menu { display:none;position:absolute;top:100%;left:auto;right:auto;inset-inline-end:0;width:min(340px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:calc(100dvh - 110px);overflow-y:auto;background:#211a14;border-radius:8px;padding:12px;flex-direction:column;align-items:stretch;gap:0;z-index:6000; }
  #header.cms-menu-compact .nav-menu.active { display:flex; }
  #header.cms-menu-compact .nav-menu a { display:block;white-space:normal;padding:12px; }
  #header .cms-managed-menu { max-height:calc(100dvh - 110px);overflow-y:auto; }
}
.cms-contact-trap{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.cms-contact-status{margin-top:18px;line-height:1.6;overflow-wrap:anywhere}
.contact-submit:disabled{opacity:.65;cursor:wait}
