/* Accessibility toolbar — self-contained, RTL, no external dependencies. */
#hw-a11y, #hw-a11y * { box-sizing: border-box; font-family: alef-regullar, Arial, sans-serif; letter-spacing: 0; text-transform: none; }

.hw-skip-link {
  position: fixed; top: -100px; right: 16px; z-index: 2147483647;
  background: #191a96; color: #fff !important; padding: 10px 18px; border-radius: 0 0 6px 6px;
  font: 16px/1.4 alef-regullar, Arial, sans-serif; text-decoration: none;
}
.hw-skip-link:focus { top: 0; outline: 3px solid #ffbf00; }

#hw-a11y-toggle {
  position: fixed; right: 18px; bottom: 18px; z-index: 2147483646;
  width: 56px; height: 56px; border-radius: 50%; border: 3px solid #fff;
  background: #191a96; color: #fff; cursor: pointer; padding: 0;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.3); transition: transform .15s ease, background .15s ease;
}
#hw-a11y-toggle:hover { background: #007cc1; transform: scale(1.06); }
#hw-a11y-toggle:focus-visible { outline: 3px solid #ffbf00; outline-offset: 3px; }
#hw-a11y-toggle svg { width: 32px; height: 32px; fill: currentColor; }

#hw-a11y-panel {
  position: fixed; right: 18px; bottom: 86px; z-index: 2147483646;
  width: 330px; max-width: calc(100vw - 36px); max-height: calc(100vh - 110px); overflow: auto;
  background: #fff; color: #222; border-radius: 10px; direction: rtl; text-align: right;
  box-shadow: 0 10px 40px rgba(0,0,0,.35); border-top: 6px solid #191a96;
}
#hw-a11y-panel[hidden] { display: none; }
#hw-a11y-panel .hw-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px 10px; border-bottom: 1px solid #e3e8ee;
}
#hw-a11y-panel h2 { margin: 0; font-size: 20px; line-height: 1.3; color: #191a96; font-weight: 700; }
#hw-a11y-panel .hw-close {
  width: 34px; height: 34px; border-radius: 50%; border: 0; background: #eef2f6; color: #191a96;
  font-size: 22px; line-height: 1; cursor: pointer; padding: 0;
}
#hw-a11y-panel .hw-close:hover { background: #dfe6ee; }
#hw-a11y-panel .hw-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 14px 16px; }
#hw-a11y-panel .hw-opt {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  min-height: 78px; padding: 8px 6px; border: 2px solid #dfe6ee; border-radius: 8px;
  background: #f7f9fb; color: #1d2b3a; font-size: 15px; line-height: 1.25; cursor: pointer; text-align: center;
}
#hw-a11y-panel .hw-opt:hover { border-color: #007cc1; }
#hw-a11y-panel .hw-opt[aria-pressed="true"] { background: #191a96; border-color: #191a96; color: #fff; }
#hw-a11y-panel .hw-opt .hw-ico { font-size: 22px; line-height: 1; font-weight: 700; }
#hw-a11y-panel button:focus-visible, #hw-a11y-panel a:focus-visible { outline: 3px solid #ffbf00; outline-offset: 2px; }
#hw-a11y-panel .hw-level { font-size: 13px; opacity: .85; }
#hw-a11y-panel .hw-foot {
  display: flex; gap: 8px; align-items: center; justify-content: space-between;
  padding: 10px 16px 16px; border-top: 1px solid #e3e8ee; flex-wrap: wrap;
}
#hw-a11y-panel .hw-level:empty { display: none; }
#hw-a11y-panel .hw-reset {
  border: 0; border-radius: 6px; background: #007cc1; color: #fff; padding: 9px 14px; font-size: 15px; cursor: pointer;
}
#hw-a11y-panel .hw-reset:hover { background: #191a96; }
#hw-a11y-panel .hw-statement-link { color: #191a96; font-size: 15px; text-decoration: underline; }

/* ---- Effects ---- */
html.hw-gray .body_wrap { filter: grayscale(1); }
html.hw-invert .body_wrap { filter: invert(1) hue-rotate(180deg); }
html.hw-invert .body_wrap img, html.hw-invert .body_wrap video, html.hw-invert .body_wrap iframe,
html.hw-invert .body_wrap rs-sbg, html.hw-invert .body_wrap .rs-pzimg { filter: invert(1) hue-rotate(180deg); }
html.hw-gray.hw-invert .body_wrap { filter: grayscale(1) invert(1) hue-rotate(180deg); }

html.hw-contrast .body_wrap,
html.hw-contrast .body_wrap *:not(rs-module-wrap):not(rs-module-wrap *):not(img) {
  background-color: #000 !important; color: #fff !important; border-color: #fff !important;
  text-shadow: none !important; box-shadow: none !important;
}
html.hw-contrast .body_wrap a, html.hw-contrast .body_wrap a * { color: #ffeb3b !important; }

html.hw-links .body_wrap a {
  text-decoration: underline !important; outline: 2px dashed #ffbf00 !important; outline-offset: 2px;
}

html.hw-readable .body_wrap, html.hw-readable .body_wrap *:not([class*="icon"]):not(.sc_icon_type_):not([class^="trx_addons_icon"]) {
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif !important;
}

html.hw-spacing .body_wrap p, html.hw-spacing .body_wrap li, html.hw-spacing .body_wrap span, html.hw-spacing .body_wrap a {
  letter-spacing: .08em !important; word-spacing: .16em !important; line-height: 1.9 !important;
}

html.hw-still *, html.hw-still *::before, html.hw-still *::after {
  animation: none !important; transition: none !important; scroll-behavior: auto !important;
}

html.hw-cursor, html.hw-cursor * {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cpath d='M6 3 L6 40 L15 31 L22 46 L29 43 L22 28 L35 28 Z' fill='%23000' stroke='%23fff' stroke-width='3' stroke-linejoin='round'/%3E%3C/svg%3E") 6 3, auto !important;
}

html.hw-focus *:focus { outline: 4px solid #ffbf00 !important; outline-offset: 2px !important; }

@media print { #hw-a11y, .hw-skip-link { display: none !important; } }
