:root {
  --nu-primary: #c62828;
  --nu-font: Yekan, Tahoma, "Segoe UI", system-ui, sans-serif;
  --nu-bar-h: 56px;
}
body.numinous-pro, body.rtl-ready, body {
  font-family: var(--nu-font) !important;
  color: #1a1a1a !important;
  direction: rtl;
  text-align: right;
  line-height: 1.8;
}
h1,h2,h3,h4,h5,h6,.entry-title,.entry-title a,.widget-title,.site-title {
  font-family: var(--nu-font) !important;
  color: #111 !important;
  opacity: 1 !important;
  font-weight: 700;
}
.entry-title a:hover { color: var(--nu-primary) !important; }
.entry-content p, article p { color: #2a2a2a !important; opacity: 1 !important; }
img { max-width: 100%; height: auto; }
.lSSlideOuter img, .lightSlider img {
  display: block;
  max-width: 100%;
  height: auto;
}

a[href*="raratheme.com"], a[href*="hamyarwp"] {
  display: none !important;
}
a[href], .entry-title a, article a {
  pointer-events: auto !important;
  cursor: pointer !important;
}

/* ===== ALWAYS hide theme native mobile menu + search in header-b on mobile ===== */
#mobile-header,
#responsive-menu-button,
#mobile-header a,
.sidr, #sidr-main, #sidr-0,
.sidr-class-sidr-button-close {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  position: absolute !important;
  left: -9999px !important;
  z-index: -1 !important;
}

@media only screen and (max-width: 991px) {
  #mobile-header,
  #responsive-menu-button,
  .header-b .form-section,
  .header-b #search-btn,
  .header-b .main-navigation,
  #site-navigation {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
  }
  /* hide entire header-b row if only had mobile btn + search */
  .header-b .container {
    min-height: 0 !important;
  }
}

/* Pro Mobile bar - ALWAYS on mobile */
.nu-mobile-bar {
  display: none;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 9999999 !important;
  height: var(--nu-bar-h) !important;
  background: #1a1a1a !important;
  color: #fff !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0 12px !important;
  box-shadow: 0 2px 12px rgba(0,0,0,.35) !important;
  box-sizing: border-box !important;
}
body.admin-bar .nu-mobile-bar { top: 46px !important; }
@media (min-width: 783px) {
  body.admin-bar .nu-mobile-bar { top: 32px !important; }
}
.nu-mobile-bar .nu-brand {
  flex: 1 !important;
  text-align: center !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  color: #fff !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  font-family: var(--nu-font) !important;
}
.nu-menu-toggle, .nu-search-toggle {
  width: 44px !important;
  height: 44px !important;
  border: 0 !important;
  background: transparent !important;
  color: #fff !important;
  font-size: 22px !important;
  cursor: pointer !important;
  border-radius: 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  pointer-events: auto !important;
  z-index: 10 !important;
}
.nu-drawer-overlay {
  display: none !important;
  position: fixed !important;
  inset: 0 !important;
  background: rgba(0,0,0,.55) !important;
  z-index: 10000000 !important;
  pointer-events: none !important;
}
.nu-drawer-overlay.is-open {
  display: block !important;
  pointer-events: auto !important;
}
.nu-drawer {
  display: none !important;
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  width: min(320px, 86vw) !important;
  height: 100% !important;
  background: #111 !important;
  color: #fff !important;
  z-index: 10000001 !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  box-shadow: -4px 0 24px rgba(0,0,0,.3) !important;
  pointer-events: none !important;
}
.nu-drawer.is-open {
  display: block !important;
  pointer-events: auto !important;
}
.nu-drawer-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 16px !important;
  background: var(--nu-primary) !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 2 !important;
}
.nu-drawer-title {
  font-weight: 700 !important;
  font-size: 15px !important;
  margin: 0 !important;
  color: #fff !important;
  font-family: var(--nu-font) !important;
  max-width: 75% !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}
.nu-drawer-close {
  width: 40px !important;
  height: 40px !important;
  border: 0 !important;
  background: rgba(255,255,255,.15) !important;
  color: #fff !important;
  font-size: 22px !important;
  border-radius: 8px !important;
  cursor: pointer !important;
}
.nu-drawer-nav, ul.nu-drawer-nav {
  list-style: none !important;
  margin: 0 !important;
  padding: 8px 0 40px !important;
}
.nu-drawer-nav li {
  border-bottom: 1px solid rgba(255,255,255,.08) !important;
  list-style: none !important;
}
.nu-drawer-nav a {
  display: block !important;
  padding: 14px 18px !important;
  color: #f0f0f0 !important;
  text-decoration: none !important;
  font-size: 15px !important;
  font-family: var(--nu-font) !important;
}
.nu-drawer-nav a:hover,
.nu-drawer-nav .current-menu-item > a {
  background: rgba(198,40,40,.35) !important;
  color: #fff !important;
}
.nu-drawer-nav .sub-menu {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #0a0a0a !important;
}
.nu-drawer-nav .sub-menu a {
  padding-right: 32px !important;
  font-size: 14px !important;
  color: #ccc !important;
}
.nu-mobile-search {
  display: none !important;
  position: fixed !important;
  top: var(--nu-bar-h) !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 9999998 !important;
  background: #fff !important;
  padding: 12px !important;
  box-shadow: 0 4px 16px rgba(0,0,0,.12) !important;
  pointer-events: none !important;
}
.nu-mobile-search.is-open {
  display: block !important;
  pointer-events: auto !important;
}
.nu-mobile-search form { display: flex !important; gap: 8px !important; }
.nu-mobile-search input[type="search"] {
  flex: 1 !important;
  border: 1px solid #e4e6eb !important;
  border-radius: 8px !important;
  padding: 10px 14px !important;
  font-family: var(--nu-font) !important;
  font-size: 15px !important;
}
.nu-mobile-search button {
  background: var(--nu-primary) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 8px !important;
  padding: 0 16px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  font-family: var(--nu-font) !important;
}
body.nu-drawer-open { overflow: hidden !important; }

@media (max-width: 991px) {
  .nu-mobile-bar {
    display: flex !important;
  }
  body.numinous-pro,
  body.rtl-ready,
  body {
    padding-top: 56px !important;
  }
}
@media (min-width: 992px) {
  .nu-mobile-bar, .nu-drawer, .nu-drawer-overlay, .nu-mobile-search {
    display: none !important;
    pointer-events: none !important;
  }
}

/* ===== Single post / content full width on mobile ===== */
@media (max-width: 991px) {
  #primary,
  .site-content #primary,
  .full-width #primary {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    box-sizing: border-box !important;
  }
  #secondary {
    width: 100% !important;
    float: none !important;
  }
  .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    box-sizing: border-box !important;
  }
  .single .post,
  .single article,
  .single .entry-header,
  .single .entry-content,
  .single .entry-footer,
  .single .post-thumbnail,
  .site-content #primary .post .entry-content,
  .site-content #primary .post .entry-header {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .single .post-thumbnail img,
  .single .entry-content img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .entry-content p,
  .entry-content h1, .entry-content h2, .entry-content h3,
  .entry-content h4, .entry-content h5, .entry-content h6,
  .entry-content ul, .entry-content ol,
  .entry-content blockquote {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .entry-content p {
    font-size: 16px !important;
    line-height: 1.85 !important;
    color: #222 !important;
  }
  .site-content #primary .post .entry-title {
    font-size: 1.35rem !important;
    line-height: 1.5 !important;
    width: 100% !important;
  }
}

/* Tables */
.entry-content table, .wp-block-table table, article table {
  width: 100% !important;
  border-collapse: collapse !important;
  margin: 1.2em 0 !important;
  background: #fff;
  color: #1a1a1a !important;
}
.entry-content table th, .entry-content table td,
article table th, article table td {
  padding: 10px 12px !important;
  border: 1px solid #dde1e6 !important;
  text-align: right !important;
  color: #1a1a1a !important;
}
.entry-content table th, article table th {
  background: #f0f2f5 !important;
  font-weight: 700 !important;
}
.entry-content, .wp-block-table {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}
@media (max-width: 767px) {
  .entry-content table, article table {
    display: block !important;
    min-width: 480px;
    font-size: 13px !important;
  }
}
