/*

Theme Name: Pro &ndash; Child Theme
Theme URI: http://theme.co/pro/
Author: Themeco
Author URI: http://theme.co/
Description: Make all of your modifications to Pro in this child theme.
Version: 1.0.17
Template: pro

*/

/* ===== RISSC HEADER v2 ===== */
:root {
  --rissc-navy: #002d62;
  --rissc-gold: #c4a46a;
  --rissc-pad: clamp(16px, 3vw, 40px);
  --rissc-utils: 340px;
}

/* LOGO alone — large, sharp, centered */
.x-masthead > .x-bar-top.x-hide-md.x-hide-sm.x-hide-xs:not(.x-bar-is-sticky) {
  height: auto !important;
}
.x-masthead > .x-bar-top.x-hide-md.x-hide-sm.x-hide-xs:not(.x-bar-is-sticky) .x-bar-content {
  justify-content: center !important;
  align-items: center !important;
  padding: 22px var(--rissc-pad) 16px !important;
}
.x-masthead > .x-bar-top.x-hide-md.x-hide-sm.x-hide-xs:not(.x-bar-is-sticky) .x-bar-container {
  flex: 0 1 auto !important;
  margin: 0 auto !important;
  justify-content: center !important;
}
.x-masthead > .x-bar-top.x-hide-md.x-hide-sm.x-hide-xs:not(.x-bar-is-sticky) .x-image,
.x-masthead > .x-bar-top.x-hide-md.x-hide-sm.x-hide-xs:not(.x-bar-is-sticky) a.x-image {
  display: block !important;
  height: auto !important;
  max-height: none !important;
  margin: 0 auto !important;
}
.x-masthead > .x-bar-top.x-hide-md.x-hide-sm.x-hide-xs:not(.x-bar-is-sticky) .x-image img {
  display: block !important;
  width: auto !important;
  max-width: min(760px, 92vw) !important;
  height: auto !important;
  max-height: 96px !important;
  margin: 0 auto !important;
  image-rendering: -webkit-optimize-contrast;
}

/* MENU row — centered menu; utilities in the right column */
.x-masthead > .x-bar-top.x-bar-is-sticky.x-hide-md.x-hide-sm.x-hide-xs {
  height: auto !important;
}
.x-masthead > .x-bar-top.x-bar-is-sticky.x-hide-md.x-hide-sm.x-hide-xs .x-bar-content {
  display: grid !important;
  /* Left flexes; center is the menu width; right reserves utils without overlapping */
  grid-template-columns: minmax(0, 1fr) auto minmax(var(--rissc-utils), 1fr) !important;
  align-items: center !important;
  min-height: 70px !important;
  padding: 0 var(--rissc-pad) !important;
  column-gap: 12px !important;
}
.x-masthead > .x-bar-top.x-bar-is-sticky.x-hide-md.x-hide-sm.x-hide-xs .x-bar-content > .x-bar-container:first-child {
  grid-column: 2 !important;
  justify-self: center !important;
  justify-content: center !important;
  margin: 0 !important;
  width: max-content !important;
  max-width: 100% !important;
  position: static !important;
  transform: none !important;
}
.x-masthead > .x-bar-top.x-bar-is-sticky.x-hide-md.x-hide-sm.x-hide-xs .x-bar-content > .x-bar-container:last-child {
  grid-column: 3 !important;
  justify-self: end !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-end !important;
  flex-wrap: nowrap !important;
  gap: 8px !important;
  margin: 0 !important;
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  position: static !important;
  transform: none !important;
}
.x-masthead .x-search {
  flex: 0 0 150px !important;
  width: 150px !important;
  min-width: 150px !important;
  max-width: 150px !important;
  height: 38px !important;
  min-height: 38px !important;
  max-height: 38px !important;
  align-self: center !important;
}
/* RTL: utils on inline-start (visual left), keep horizontal */
.rtl .x-masthead > .x-bar-top.x-bar-is-sticky.x-hide-md.x-hide-sm.x-hide-xs .x-bar-content {
  grid-template-columns: minmax(var(--rissc-utils), 1fr) auto minmax(0, 1fr) !important;
}
.rtl .x-masthead > .x-bar-top.x-bar-is-sticky.x-hide-md.x-hide-sm.x-hide-xs .x-bar-content > .x-bar-container:first-child {
  grid-column: 2 !important;
  justify-self: center !important;
}
.rtl .x-masthead > .x-bar-top.x-bar-is-sticky.x-hide-md.x-hide-sm.x-hide-xs .x-bar-content > .x-bar-container:last-child {
  grid-column: 1 !important;
  justify-self: start !important;
  flex-direction: row !important;
  justify-content: flex-start !important;
}

.x-masthead .ubermenu.ubermenu-main { font-size: 18px !important; }
.x-masthead .ubermenu-main > .ubermenu-nav {
  display: flex !important;
  justify-content: center !important;
  margin: 0 auto !important;
}
.x-masthead .ubermenu.ubermenu-main > .ubermenu-nav > .ubermenu-item.ubermenu-item-level-0 > a.ubermenu-target {
  color: #fff !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  letter-spacing: .05em !important;
  text-transform: uppercase !important;
  line-height: 1.2 !important;
  padding: 1.1em 1.15em !important;
  background: transparent !important;
  border-style: solid !important;
  border-width: 0 0 3px 0 !important;
  border-color: transparent !important;
  box-shadow: none !important;
}
.x-masthead .ubermenu.ubermenu-main > .ubermenu-nav > .ubermenu-item.ubermenu-item-level-0:hover > a.ubermenu-target,
.x-masthead .ubermenu.ubermenu-main > .ubermenu-nav > .ubermenu-item.ubermenu-item-level-0.ubermenu-active > a.ubermenu-target,
.x-masthead .ubermenu.ubermenu-main > .ubermenu-nav > .ubermenu-item.ubermenu-item-level-0.ubermenu-current-menu-item > a.ubermenu-target,
.x-masthead .ubermenu.ubermenu-main > .ubermenu-nav > .ubermenu-item.ubermenu-item-level-0.ubermenu-current-menu-parent > a.ubermenu-target,
.x-masthead .ubermenu.ubermenu-main > .ubermenu-nav > .ubermenu-item.ubermenu-item-level-0.ubermenu-current-menu-ancestor > a.ubermenu-target {
  color: #fff !important;
  background: rgba(255,255,255,.08) !important;
  border-bottom-color: var(--rissc-gold) !important;
}

.x-masthead .x-search {
  flex: 0 0 150px !important;
  width: 150px !important;
  min-width: 150px !important;
  max-width: 150px !important;
  height: 38px !important;
  margin: 0 !important;
  border: 1px solid rgba(255,255,255,.7) !important;
  border-radius: 2px !important;
  background: rgba(0,60,131,.45) !important;
}
.x-masthead .x-search .x-search-input {
  color: #fff !important;
  font-size: 12px !important;
  letter-spacing: .03em !important;
  text-transform: uppercase !important;
  background: transparent !important;
}
.x-masthead .x-search .x-search-input::placeholder {
  color: rgba(255,255,255,.78) !important;
  opacity: 1 !important;
}
.x-masthead .x-search .x-search-btn,
.x-masthead .x-search .x-search-btn svg {
  color: #fff !important;
  stroke: #fff !important;
}
.x-masthead .widget_icl_lang_sel_widget { margin: 0 !important; padding: 0 !important; }
.x-masthead .wpml-ls-legacy-list-horizontal { margin: 0 !important; padding: 0 !important; background: transparent !important; border: 0 !important; }
.x-masthead .wpml-ls-legacy-list-horizontal > ul {
  display: inline-flex !important;
  align-items: stretch !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  border: 1px solid rgba(255,255,255,.7) !important;
  border-radius: 2px !important;
  overflow: hidden !important;
  background: rgba(0,60,131,.45) !important;
}
.x-masthead .wpml-ls-legacy-list-horizontal .wpml-ls-item {
  margin: 0 !important; padding: 0 !important; border: 0 !important; list-style: none !important; background: transparent !important;
}
.x-masthead .wpml-ls-legacy-list-horizontal .wpml-ls-link,
.x-masthead .wpml-ls-legacy-list-horizontal a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  min-height: 38px !important;
  padding: 0 10px !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  background: transparent !important;
  border: 0 !important;
  border-inline-end: 1px solid rgba(255,255,255,.35) !important;
}
.x-masthead .wpml-ls-legacy-list-horizontal .wpml-ls-item:last-child .wpml-ls-link { border-inline-end: 0 !important; }
.x-masthead .wpml-ls-legacy-list-horizontal .wpml-ls-current-language .wpml-ls-link,
.x-masthead .wpml-ls-legacy-list-horizontal .wpml-ls-link:hover {
  color: #fff !important;
  background: rgba(255,255,255,.14) !important;
}
.x-masthead .wpml-ls-legacy-list-horizontal .wpml-ls-flag { width: 16px !important; height: auto !important; margin: 0 !important; }
.x-masthead .ubermenu-main .ubermenu-submenu { font-size: 16px !important; }
.x-masthead .ubermenu-main .ubermenu-submenu .ubermenu-target { border-bottom: 0 !important; }
/* ===== /RISSC HEADER v2 ===== */

/* ===== RISSC FOOTER v4 ===== */
.wpml-ls-statics-footer,
footer .wpml-ls-statics-footer {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
}
.x-bar-footer.e3201-e1 .x-bar-content,
.x-bar-footer.e3273-e1 .x-bar-content {
  display: grid !important;
  grid-template-columns: 1.2fr 1.2fr 0.75fr !important;
  gap: 36px 40px !important;
  align-items: start !important;
  max-width: 1100px !important;
  margin: 0 auto !important;
  width: 100% !important;
}
@media (max-width: 979px) {
  .x-bar-footer.e3201-e1 .x-bar-content,
  .x-bar-footer.e3273-e1 .x-bar-content {
    grid-template-columns: 1fr !important;
  }
}
.x-bar-footer .x-bar-container {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  width: 100% !important;
}
.x-bar-footer.e3201-e1 .x-bar-container:last-child,
.x-bar-footer.e3273-e1 .x-bar-container:last-child {
  align-items: flex-end !important;
}
.rtl .x-bar-footer.e3201-e1 .x-bar-container:last-child,
.rtl .x-bar-footer.e3273-e1 .x-bar-container:last-child {
  align-items: flex-start !important;
}
.x-bar-footer ul.x-menu,
.x-bar-footer .x-menu,
.x-bar-footer .x-menu.x-menu-inline {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
.x-bar-footer ul.x-menu > li,
.x-bar-footer .x-menu > li {
  display: block !important;
  float: none !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 0 .65em 0 !important;
  overflow: visible !important;
}
.x-bar-footer .x-menu .x-anchor,
.x-bar-footer .x-menu a.x-anchor {
  display: block !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
  white-space: normal !important;
  line-height: 1.35 !important;
  align-items: flex-start !important;
}
.x-bar-footer .x-menu .x-anchor .x-anchor-content {
  flex-wrap: wrap !important;
  height: auto !important;
  white-space: normal !important;
  align-items: flex-start !important;
}
.x-bar-footer .x-menu .x-anchor .x-anchor-text,
.x-bar-footer .x-menu .x-anchor .x-anchor-text-primary {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  line-height: 1.35 !important;
}
.x-bar-footer .x-text-headline {
  margin: 0 0 .85em 0 !important;
}
.x-bar-footer .x-search { max-width: 260px !important; width: 100% !important; }
.x-bar-footer .x-line { display: none !important; }
.x-bar-footer .ubermenu-responsive-toggle { display: none !important; }
/* Newsletter above footer */
.home .rissc-hide-newsletter { display: none !important; }
.home .x-section:not(.rissc-hide-newsletter) .mc4wp-form {
  margin-top: .35em;
}
.home .esg-grid-wrap-container,
.page-id-492 .esg-grid-wrap-container,
.page-id-1651 .esg-grid-wrap-container {
  float: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.home .esg-container-fullscreen-forcer,
.page-id-492 .esg-container-fullscreen-forcer,
.page-id-1651 .esg-container-fullscreen-forcer {
  left: 0 !important;
  float: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
/* ===== /RISSC FOOTER v4 ===== */

/* RISSC lang switcher fix */
.x-masthead .wpml-ls-legacy-list-horizontal .wpml-ls-link,
.x-masthead .wpml-ls-legacy-list-horizontal .wpml-ls-native,
.x-masthead .wpml-ls a,
.x-masthead .wpml-ls span {
  text-shadow: none !important;
}

/* RISSC Arabic parity */
.rtl .x-masthead > .x-bar-top.x-hide-md.x-hide-sm.x-hide-xs:not(.x-bar-is-sticky) .x-image img {
  max-width: min(760px, 92vw) !important;
  max-height: 96px !important;
  margin: 0 auto !important;
}
.rtl .x-masthead .x-bar-top.x-bar-is-sticky .x-bar-content,
.rtl .x-masthead > .x-bar-top:nth-child(2) .x-bar-content {
  grid-template-columns: minmax(var(--rissc-utils), 1fr) auto minmax(0, 1fr) !important;
}
.rtl .x-masthead .ubermenu.ubermenu-main > .ubermenu-nav > .ubermenu-item.ubermenu-item-level-0 > a.ubermenu-target {
  color: #fff !important;
  font-size: 18px !important;
}
.page-id-1651 .e1651-e4.x-content-area {
  display: none !important;
}
.rtl.home .esg-container,
.rtl.page-id-1651 .esg-container {
  float: none !important;
}
.rtl.home .esg-container-fullscreen-forcer,
.rtl.page-id-1651 .esg-container-fullscreen-forcer {
  left: 0 !important;
  right: 0 !important;
  margin: 0 auto !important;
  float: none !important;
}
.rissc-hide-newsletter {
  display: none !important;
}
.rtl .x-bar-footer .x-menu .x-anchor,
.rtl .x-bar-footer .x-menu a {
  text-align: right !important;
}
.rtl .x-bar-footer.e3273-e1 .x-bar-container:last-child {
  align-items: flex-start !important;
}


/* RISSC sticky bar vertical align fix */
.x-masthead > .x-bar-top.x-bar-is-sticky.x-hide-md.x-hide-sm.x-hide-xs .x-bar-content {
  align-items: center !important;
}
.x-masthead > .x-bar-top.x-bar-is-sticky.x-hide-md.x-hide-sm.x-hide-xs .x-bar-content > .x-bar-container {
  align-items: center !important;
  align-self: center !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  min-height: 0 !important;
}
.x-masthead > .x-bar-top.x-bar-is-sticky.x-hide-md.x-hide-sm.x-hide-xs .x-bar-content > .x-bar-container:last-child {
  align-items: center !important;
}


/* RISSC force single-row sticky utils */
.x-masthead > .x-bar-top.x-bar-is-sticky.x-hide-md.x-hide-sm.x-hide-xs .x-bar-content {
  grid-template-rows: auto !important;
  grid-auto-rows: auto !important;
  align-items: center !important;
}
.x-masthead > .x-bar-top.x-bar-is-sticky.x-hide-md.x-hide-sm.x-hide-xs .x-bar-content > .x-bar-container:first-child,
.x-masthead > .x-bar-top.x-bar-is-sticky.x-hide-md.x-hide-sm.x-hide-xs .x-bar-content > .x-bar-container:last-child {
  grid-row: 1 !important;
  align-self: center !important;
}
.rtl .x-masthead > .x-bar-top.x-bar-is-sticky.x-hide-md.x-hide-sm.x-hide-xs .x-bar-content > .x-bar-container:last-child {
  grid-column: 1 !important;
  grid-row: 1 !important;
}

/* ===== RISSC LIVE FIX 20261012d ===== */
.x-masthead .x-search{flex:0 0 118px!important;width:118px!important;min-width:118px!important;max-width:118px!important;height:32px!important;}
.x-bar-footer .x-search,.x-bar-footer.e3273-e1 .x-search{max-width:160px!important;width:160px!important;height:32px!important;border:1px solid rgba(255,255,255,.55)!important;}
@media (min-width:980px){
.woocommerce ul.products,.woocommerce-page ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:22px 18px!important;max-width:980px!important;margin:0 auto!important;}
.woocommerce ul.products li.product{width:100%!important;float:none!important;margin:0!important;}
}
@media (min-width:1200px){
.woocommerce ul.products{grid-template-columns:repeat(4,minmax(0,200px))!important;justify-content:center!important;}
}
.woocommerce ul.products li.product img{max-width:200px!important;aspect-ratio:2/3!important;object-fit:cover!important;margin:0 auto!important;}
/* Keep the Arabic newsletter strip above the footer on the same section styles
   as English. Let the section builder control its width, spacing and colors. */

/* hide header/footer search */
.x-masthead .x-search,.x-bar-footer .x-search{display:none!important;}

/* shop grid: 2-col mobile / 4-col desktop */
.woocommerce ul.products,
.woocommerce-page ul.products{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:18px 12px!important;
  max-width:1100px!important;
  margin:0 auto 2em!important;
  padding:0 12px!important;
  box-sizing:border-box!important;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after{display:none!important;content:none!important;}
.woocommerce ul.products li.product,
.woocommerce ul.products li.first,
.woocommerce ul.products li.last{width:auto!important;float:none!important;clear:none!important;margin:0!important;}
.woocommerce ul.products li.product img{width:100%!important;max-height:280px!important;aspect-ratio:2/3!important;object-fit:cover!important;}
@media (min-width:980px){
  .woocommerce ul.products,
  .woocommerce-page ul.products{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:28px 22px!important;
    padding:0!important;
  }
  .woocommerce ul.products li.product img{max-height:320px!important;}
}
.rtl .e1651-e4,.rtl.page-id-1651 .e1651-e1{display:none!important;}

/* ===== RISSC MOBILE RESPONSIVE ===== */
html,body{overflow-x:hidden!important;max-width:100%!important;}
@media (max-width:979px){
  /* prevent 100vw full-bleed from causing horizontal scroll */
  .rtl.home .e1651-e40.x-section,
  .rtl.page-id-1651 .e1651-e40.x-section,
  .home .e492-e67.x-section{
    width:100%!important;max-width:100%!important;
    margin-left:0!important;margin-right:0!important;
    left:0!important;right:0!important;
    padding-left:12px!important;padding-right:12px!important;
    box-sizing:border-box!important;
  }
  .rtl.home .e1651-e40 input[type=email],
  .rtl.page-id-1651 .e1651-e40 input[type=email],
  .home .e492-e67 input[type=email]{
    width:min(184px,58vw)!important;min-width:0!important;max-width:100%!important;
  }
  /* book/home pagination */
  .x-nav-pagination,
  .page-numbers,
  .nav-links,
  ul.page-numbers,
  .woocommerce-pagination ul{
    display:flex!important;flex-wrap:wrap!important;justify-content:center!important;align-items:center!important;
    gap:6px 8px!important;width:100%!important;max-width:100%!important;padding:8px 12px!important;box-sizing:border-box!important;
    float:none!important;text-align:center!important;
  }
  .x-nav-pagination li,
  ul.page-numbers li,
  .woocommerce-pagination li{
    display:inline-flex!important;float:none!important;margin:0!important;
  }
  .x-nav-pagination a,.x-nav-pagination span,
  ul.page-numbers a,ul.page-numbers span,
  .woocommerce-pagination a,.woocommerce-pagination span{
    display:inline-flex!important;align-items:center!important;justify-content:center!important;
    min-width:28px!important;padding:4px 8px!important;line-height:1.2!important;
  }
  /* mobile footer bars: hide English sites dump, keep Arabic + copyright */
  .rtl .x-bar-footer.e3273-e12{display:none!important;}
  .rtl .x-bar-footer.e3273-e1 .x-bar-content,
  .x-bar-footer.e3201-e1 .x-bar-content{
    grid-template-columns:1fr!important;gap:20px!important;padding:0 16px!important;
  }
  .rtl .x-bar-footer.e3273-e1,
  .x-bar-footer.e3201-e1{padding:28px 0 20px!important;}
  .rtl .x-bar-footer.e3273-e16,
  .x-bar-footer.e3201-e16{
    height:auto!important;min-height:2.5em!important;padding:10px 12px!important;
  }
  .rtl .x-bar-footer.e3273-e16 .x-bar-content,
  .rtl .x-bar-footer.e3273-e16 .x-bar-container,
  .x-bar-footer.e3201-e16 .x-bar-content,
  .x-bar-footer.e3201-e16 .x-bar-container{
    height:auto!important;padding:0 8px!important;
  }
  /* off-canvas polish */
  .x-off-canvas .ubermenu-item-has-children > .ubermenu-target{white-space:normal!important;}
  .x-off-canvas a{word-break:break-word!important;}
  /* content padding */
  .x-main,.entry-content,.x-container{max-width:100%!important;box-sizing:border-box!important;}
  .home .x-section .x-container,
  .rtl.home .x-section .x-container{padding-left:12px!important;padding-right:12px!important;}
}

/* ===== RISSC AR FOOTER = EN (flush + copyright + particle hover) ===== */
.rtl.home .e1651-e40.x-section,
.rtl.page-id-1651 .e1651-e40.x-section{
  width:100vw!important;max-width:100vw!important;
  margin:2em 0 0!important;margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important;
  margin-bottom:0!important;padding:0 0 1em!important;background:rgba(0,45,98,.8)!important;text-align:center!important;
  border:0!important;box-shadow:none!important;}
.rtl.home .x-content,.rtl.home .entry-content,.rtl.home .x-main,.rtl.home #content,
.rtl.page-id-1651 .x-content,.rtl.page-id-1651 .entry-content,.rtl.page-id-1651 .x-main{
  margin-bottom:0!important;padding-bottom:0!important;}
.rtl.home .hentry,.rtl.page-id-1651 .hentry,.rtl.home .entry-wrap,.rtl.page-id-1651 .entry-wrap{
  margin-bottom:0!important;padding-bottom:0!important;}
.rtl .x-colophon{background:transparent!important;margin:0!important;padding:0!important;border:0!important;}

.rtl.home .e1651-e40 .x-container,.rtl.home .e1651-e40 .x-column,
.rtl.page-id-1651 .e1651-e40 .x-container,.rtl.page-id-1651 .e1651-e40 .x-column{
  width:100%!important;max-width:none!important;float:none!important;margin:1em auto 0!important;text-align:center!important;}
.rtl.home .e1651-e40 h1,.rtl.home .e1651-e40 .x-text-content-text-primary,
.rtl.page-id-1651 .e1651-e40 h1,.rtl.page-id-1651 .e1651-e40 .x-text-content-text-primary{
  text-align:center!important;color:#fff!important;font-family:"Antic Slab",serif!important;
  font-size:1.2em!important;font-weight:400!important;line-height:1.35!important;margin:0 auto .5em!important;}
.rtl.home .e1651-e40 .x-text.x-content,.rtl.page-id-1651 .e1651-e40 .x-text.x-content{
  font-size:.675rem!important;line-height:1.4!important;color:#fff!important;text-align:center!important;margin:.4em auto 0!important;}
.rtl.home .e1651-e40 a,.rtl.page-id-1651 .e1651-e40 a{color:#fff!important;text-decoration:underline!important;}
.rtl.home .e1651-e40 .mc4wp-form-fields,.rtl.page-id-1651 .e1651-e40 .mc4wp-form-fields{
  display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;justify-content:center!important;align-items:center!important;gap:8px!important;}
.rtl.home .e1651-e40 input[type=email],.rtl.page-id-1651 .e1651-e40 input[type=email]{
  display:inline-block!important;width:184px!important;min-width:0!important;max-width:184px!important;height:34px!important;
  font-family:"Antic Slab",serif!important;font-size:13px!important;background:#fff!important;border:1px solid #ddd!important;float:none!important;margin:0!important;}
.rtl.home .e1651-e40 input[type=submit],.rtl.page-id-1651 .e1651-e40 input[type=submit]{
  display:inline-block!important;width:auto!important;min-width:107px!important;height:36px!important;
  font-family:"Antic Slab",serif!important;font-size:19px!important;background:#002d62!important;color:#fff!important;border:2px solid #fff!important;float:none!important;margin:0!important;}

/* Main footer bar = EN */
.rtl .x-bar-footer.e3273-e1{background:#002d62!important;padding:40px 0 32px!important;margin:0!important;}
.rtl .x-bar-footer.e3273-e1 .x-bar-content{
  display:grid!important;grid-template-columns:1.2fr 1.2fr .75fr!important;gap:36px 40px!important;align-items:start!important;
  max-width:1100px!important;width:100%!important;margin:0 auto!important;padding:0 20px!important;}
.rtl .x-bar-footer.e3273-e1 .x-bar-container{display:flex!important;flex-direction:column!important;align-items:flex-start!important;}
.rtl .x-bar-footer.e3273-e1 .x-search{display:none!important;}
.rtl .x-bar-footer.e3273-e1 .x-text-content-text-primary,.rtl .x-bar-footer.e3273-e1 h1{
  font-size:16px!important;color:#fff!important;font-family:"Antic Slab",serif!important;font-weight:400!important;
  border-bottom:1px solid rgba(255,255,255,.85)!important;display:inline-block!important;margin:0 0 .85em!important;padding:0 0 .35em!important;}
.rtl .x-bar-footer.e3273-e1 .x-menu{display:flex!important;flex-direction:column!important;align-items:flex-start!important;float:none!important;width:100%!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;}
.rtl .x-bar-footer.e3273-e1 .menu-item{display:block!important;width:100%!important;float:none!important;margin:0 0 .55em!important;padding:0!important;}
.rtl .x-bar-footer.e3273-e1 a.x-anchor,
.rtl .x-bar-footer.e3273-e1 .x-anchor-text-primary{
  position:relative!important;display:inline-block!important;font-family:"Antic Slab",serif!important;font-size:16px!important;font-weight:400!important;line-height:1.35!important;color:#fff!important;background:transparent!important;text-decoration:none!important;padding:0 0 2px!important;margin:0!important;border:0!important;}
/* Particle-like underline hover (EN scale-y) */
.rtl .x-bar-footer.e3273-e1 a.x-anchor::after{
  content:""!important;position:absolute!important;left:0!important;right:0!important;bottom:0!important;height:2px!important;background:#fff!important;
  transform:scaleX(0)!important;transform-origin:right center!important;transition:transform .28s ease!important;}
.rtl .x-bar-footer.e3273-e1 a.x-anchor:hover::after,
.rtl .x-bar-footer.e3273-e1 a.x-anchor:focus::after{transform:scaleX(1)!important;}
.rtl .x-bar-footer.e3273-e1 .ubermenu-responsive-toggle,
.rtl .x-bar-footer.e3273-e1 .ubermenu{display:none!important;}

/* Copyright bar = EN e3201-e16 */
.rtl .x-bar-footer.e3273-e16{
  background:#002d62!important;height:2.5em!important;min-height:2.5em!important;max-height:none!important;
  padding:0!important;margin:0!important;border:0!important;display:flex!important;}
.rtl .x-bar-footer.e3273-e16 .x-bar-content,
.rtl .x-bar-footer.e3273-e16 .x-bar-container{
  height:2.5em!important;justify-content:center!important;align-items:center!important;text-align:center!important;
  display:flex!important;width:100%!important;margin:0!important;padding:0!important;}
.rtl .x-bar-footer.e3273-e16 .x-text,
.rtl .x-bar-footer.e3273-e16 .x-text p{
  color:#fff!important;font-size:12.8px!important;line-height:1.4!important;text-align:center!important;
  margin:0!important;padding:0!important;font-family:inherit!important;}
.rtl .x-bar-footer.e3273-e16 a{color:#fff!important;text-decoration:underline!important;}
.rtl .x-bar-footer.e3273-e16 .x-menu,
.rtl .x-bar-footer.e3273-e16 .menu,
.rtl .x-bar-footer.e3273-e16 .ubermenu{display:none!important;}

/* ===== RISSC MOBILE OVERRIDES (must be last) ===== */
@media (max-width:979px){
  .rtl .x-bar-footer.e3273-e1 .x-bar-content,
  .x-bar-footer.e3201-e1 .x-bar-content{
    grid-template-columns:1fr!important;gap:20px!important;padding:0 16px!important;max-width:100%!important;
  }
  .rtl.home .e1651-e40.x-section,
  .rtl.page-id-1651 .e1651-e40.x-section{
    width:100%!important;max-width:100%!important;
    margin-left:0!important;margin-right:0!important;
  }
  .rtl .x-bar-footer.e3273-e16{
    height:auto!important;min-height:2.5em!important;padding:10px 12px!important;
  }
  .rtl .x-bar-footer.e3273-e16 .x-bar-content,
  .rtl .x-bar-footer.e3273-e16 .x-bar-container{height:auto!important;}
  .rtl .x-bar-footer.e3273-e12{display:none!important;}
  .woocommerce ul.products,
  .woocommerce-page ul.products{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:16px 10px!important;padding:0 12px!important;
  }
}

/* Essential Grid pagination mobile */
@media (max-width:979px){
  .esg-pagination,
  .esg-pagination .esg-pagination-button,
  .esg-pagination .esg-pagebutton,
  .esg-pagination .esg-left,
  .esg-pagination .esg-right{
    float:none!important;
  }
  .esg-pagination{
    display:flex!important;flex-wrap:wrap!important;justify-content:center!important;align-items:center!important;
    gap:6px!important;width:100%!important;max-width:100%!important;margin:10px auto!important;padding:0 8px!important;
    box-sizing:border-box!important;text-align:center!important;overflow:visible!important;
  }
  .esg-pagination .esg-pagination-button,
  .esg-pagination .esg-pagebutton,
  .esg-pagination > div,
  .esg-pagination > span,
  .esg-pagination > a{
    display:inline-flex!important;float:none!important;position:relative!important;left:auto!important;right:auto!important;
    margin:0!important;transform:none!important;
  }
}

/* Force shop 2-col on phones (beats Woo columns-4) */
@media (max-width:767px){
  .woocommerce ul.products,
  .woocommerce-page ul.products,
  .woocommerce ul.products.columns-4,
  .woocommerce-page ul.products.columns-4,
  .woocommerce ul.products[class*=columns]{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:14px 10px!important;
    width:100%!important;
    max-width:100%!important;
    margin:0 auto 1.5em!important;
    padding:0 10px!important;
    box-sizing:border-box!important;
  }
  .woocommerce ul.products li.product,
  .woocommerce-page ul.products li.product,
  .woocommerce ul.products.columns-4 li.product,
  .woocommerce ul.products li.product.first,
  .woocommerce ul.products li.product.last{
    width:100%!important;max-width:100%!important;flex:none!important;
    float:none!important;clear:none!important;margin:0!important;
    padding:0!important;box-sizing:border-box!important;
  }
}

/* ===== RISSC SHOP RESPONSIVE FINAL ===== */
.woocommerce ul.products,
.woocommerce-page ul.products,
.woocommerce ul.products.columns-4,
.post-type-archive-product ul.products{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:14px 10px!important;
  width:100%!important;max-width:100%!important;
  margin:0 auto 1.5em!important;padding:0 10px!important;
  box-sizing:border-box!important;
}
.woocommerce ul.products li.product,
.woocommerce ul.products.columns-4 li.product{
  width:100%!important;max-width:100%!important;float:none!important;clear:none!important;margin:0!important;
}
@media (min-width:980px){
  .woocommerce ul.products,
  .woocommerce-page ul.products,
  .woocommerce ul.products.columns-4,
  .post-type-archive-product ul.products{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:28px 22px!important;
    max-width:1100px!important;
    padding:0!important;
  }
}
@media (max-width:979px){
  html,body,#x-root,#x-site,.x-site,.x-main,.woocommerce{overflow-x:hidden!important;max-width:100vw!important;}
}

/* ===== RISSC MOBILE UX 20261012 ===== */
/* Mobile header bar (hamburger row) */
@media (max-width: 979px) {
  /* Kill Pro outer spacers eating mobile width */
  .x-masthead > .x-bar-top.x-hide-lg.x-hide-xl.x-bar-outer-spacers:before,
  .x-masthead > .x-bar-top.x-hide-lg.x-hide-xl.x-bar-outer-spacers:after,
  .e14998-e10.x-bar-outer-spacers:before,
  .e15053-e10.x-bar-outer-spacers:before,
  .e14998-e10.x-bar-outer-spacers:after,
  .e15053-e10.x-bar-outer-spacers:after {
    flex-basis: 0 !important;
    width: 0 !important;
    height: 0 !important;
    min-width: 0 !important;
    content: none !important;
    display: none !important;
  }
  .x-masthead > .x-bar-top.x-hide-lg.x-hide-xl,
  .x-masthead > .e14998-e10,
  .x-masthead > .e15053-e10,
  .e14998-e10.x-bar,
  .e15053-e10.x-bar {
    height: 64px !important;
    min-height: 64px !important;
    padding: 0 !important;
  }
  .x-masthead > .x-bar-top.x-hide-lg.x-hide-xl .x-bar-content,
  .e14998-e10 .x-bar-content,
  .e15053-e10 .x-bar-content {
    width: 100% !important;
    max-width: 100% !important;
    height: 64px !important;
    padding: 0 14px !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
  }
  .x-masthead > .x-bar-top.x-hide-lg.x-hide-xl .x-bar-container,
  .e14998-e10 .x-bar-container,
  .e15053-e10 .x-bar-container {
    margin: 0 !important;
    padding: 0 !important;
    height: auto !important;
    align-items: center !important;
  }
  /* Logo left, hamburger right (override Cornerstone flex-grow + center) */
  .e14998-e10 .x-bar-container.e14998-e11,
  .x-masthead > .x-bar-top.x-hide-lg.x-hide-xl .x-bar-content,
  .e14998-e10 .x-bar-content,
  .e15053-e10 .x-bar-content > .x-bar-container:first-child {
    flex: 0 0 auto !important;
    flex-grow: 0 !important;
    flex-shrink: 0 !important;
    flex-basis: auto !important;
    justify-content: flex-start !important;
    justify-self: start !important;
    width: auto !important;
    max-width: none !important;
  }
  .e14998-e10 .x-bar-container.e14998-e13,
  .x-masthead > .x-bar-top.x-hide-lg.x-hide-xl .x-bar-content,
  .e14998-e10 .x-bar-content,
  .e15053-e10 .x-bar-content > .x-bar-container:last-child {
    flex: 0 0 auto !important;
    margin-left: auto !important;
    justify-content: flex-end !important;
  }
  .rtl .e14998-e10 .x-bar-container.e14998-e11,
  .rtl .x-masthead > .x-bar-top.x-hide-lg.x-hide-xl .x-bar-content,
  .e14998-e10 .x-bar-content,
  .e15053-e10 .x-bar-content > .x-bar-container:first-child {
    justify-content: flex-end !important;
  }
  .rtl .e14998-e10 .x-bar-container.e14998-e13,
  .rtl .x-masthead > .x-bar-top.x-hide-lg.x-hide-xl .x-bar-content,
  .e14998-e10 .x-bar-content,
  .e15053-e10 .x-bar-content > .x-bar-container:last-child {
    margin-left: 0 !important;
    margin-right: auto !important;
    justify-content: flex-start !important;
  }
  .x-masthead > .x-bar-top.x-hide-lg.x-hide-xl .x-image,
  .x-masthead > .x-bar-top.x-hide-lg.x-hide-xl a.x-image,
  .e14998-e10 .x-image,
  .e15053-e10 .x-image,
  .e14998-e10 a.x-image,
  .e15053-e10 a.x-image {
    display: block !important;
    margin: 0 !important;
    max-width: 120px !important;
  }
  .x-masthead > .x-bar-top.x-hide-lg.x-hide-xl .x-image img,
  .e14998-e10 .x-image img,
  .e15053-e10 .x-image img {
    display: block !important;
    width: auto !important;
    height: 52px !important;
    max-height: 52px !important;
    max-width: 110px !important;
  }

  /* Hamburger: brand-matched (no white box) — EN e14998 + AR e15053 */
  .x-masthead > .x-bar-top.x-hide-lg.x-hide-xl .x-anchor-toggle,
  .e14998-e14.x-anchor,
  .e15053-e14.x-anchor,
  .x-masthead .x-anchor-toggle.e14998-e14,
  .x-masthead .x-anchor-toggle.e15053-e14,
  .x-bar .x-anchor-toggle.has-graphic.e14998-e14,
  .x-bar .x-anchor-toggle.has-graphic.e15053-e14 {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    margin: 0 !important;
    border: 1px solid rgba(255,255,255,.55) !important;
    border-radius: 4px !important;
    background: rgba(255,255,255,.1) !important;
    box-shadow: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .x-masthead > .x-bar-top.x-hide-lg.x-hide-xl .x-anchor-toggle:hover,
  .e14998-e14.x-anchor:hover,
  .e15053-e14.x-anchor:hover,
  .x-masthead > .x-bar-top.x-hide-lg.x-hide-xl .x-anchor-toggle:focus,
  .e14998-e14.x-anchor:focus,
  .e15053-e14.x-anchor:focus,
  .x-masthead > .x-bar-top.x-hide-lg.x-hide-xl .x-anchor-toggle.x-active,
  .e14998-e14.x-anchor.x-active,
  .e15053-e14.x-anchor.x-active,
  .x-masthead > .x-bar-top.x-hide-lg.x-hide-xl .x-anchor-toggle[aria-expanded="true"],
  .e14998-e14.x-anchor[aria-expanded="true"],
  .e15053-e14.x-anchor[aria-expanded="true"] {
    background: rgba(255,255,255,.2) !important;
    border-color: #fff !important;
  }
  .e14998-e14 .x-anchor-content {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
  }
  .e14998-e14 .x-toggle,
  .e14998-e14 .x-toggle-burger {
    color: #fff !important;
  }
  .e14998-e14 .x-toggle-burger {
    width: 18px !important;
    margin: 0 !important;
    font-size: 2px !important;
  }
  .e14998-e14 .x-toggle-burger-bun-t,
  .e14998-e14 .x-toggle-burger-bun-b,
  .e14998-e14 .x-toggle-burger-patty {
    background-color: #fff !important;
    height: 2px !important;
    border-radius: 1px !important;
  }
  .e14998-e14 .x-toggle-burger-bun-t { transform: translate3d(0,-5px,0) !important; }
  .e14998-e14 .x-toggle-burger-bun-b { transform: translate3d(0,5px,0) !important; }
  .e14998-e14 .x-toggle-burger-patty { transform: none !important; opacity: 1 !important; }
  /* X when open */
  .e14998-e14.x-active .x-toggle-burger-bun-t,
  .e14998-e14[aria-expanded="true"] .x-toggle-burger-bun-t {
    transform: translate3d(0,0,0) rotate(45deg) !important;
  }
  .e14998-e14.x-active .x-toggle-burger-bun-b,
  .e14998-e14[aria-expanded="true"] .x-toggle-burger-bun-b {
    transform: translate3d(0,0,0) rotate(-45deg) !important;
  }
  .e14998-e14.x-active .x-toggle-burger-patty,
  .e14998-e14[aria-expanded="true"] .x-toggle-burger-patty {
    opacity: 0 !important;
  }

  /* Off-canvas panel polish */
  .x-off-canvas.e14998-e14,
  .x-off-canvas.mbkm-17 {
    z-index: 1000000 !important;
  }
  .x-off-canvas .x-off-canvas-bg {
    background: rgba(0,20,45,.72) !important;
  }
  .x-off-canvas .x-off-canvas-content {
    width: min(100vw, 360px) !important;
    max-width: 92vw !important;
    padding: 56px 18px 28px !important;
    background: #fff !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
  .x-off-canvas .x-off-canvas-close {
    top: 10px !important;
    right: 10px !important;
    left: auto !important;
    width: 40px !important;
    height: 40px !important;
    font-size: 18px !important;
    color: var(--rissc-navy) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 4px !important;
    background: rgba(0,45,98,.06) !important;
  }
  .rtl .x-off-canvas .x-off-canvas-close {
    right: auto !important;
    left: 10px !important;
  }
  .x-off-canvas .x-off-canvas-close:hover,
  .x-off-canvas .x-off-canvas-close:focus {
    color: #fff !important;
    background: var(--rissc-navy) !important;
  }

  /* Menu items in drawer */
  .x-off-canvas .ubermenu,
  .x-off-canvas .ubermenu-nav,
  .x-off-canvas .x-menu {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    list-style: none !important;
  }
  .x-off-canvas .ubermenu-item,
  .x-off-canvas .menu-item,
  .x-off-canvas li {
    list-style: none !important;
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }
  .x-off-canvas .ubermenu-item::marker,
  .x-off-canvas .menu-item::marker,
  .x-off-canvas li::marker { content: none !important; }
  .x-off-canvas .ubermenu-item-level-0 > .ubermenu-target,
  .x-off-canvas .x-menu > .menu-item > .x-anchor {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    min-height: 48px !important;
    padding: 12px 14px !important;
    margin: 0 0 4px !important;
    border-radius: 4px !important;
    color: var(--rissc-navy) !important;
    background: rgba(0,45,98,.04) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    letter-spacing: .02em !important;
    text-transform: none !important;
    line-height: 1.35 !important;
    white-space: normal !important;
    word-break: break-word !important;
    box-sizing: border-box !important;
    border: 0 !important;
  }
  .x-off-canvas .ubermenu-item-level-0 > .ubermenu-target:hover,
  .x-off-canvas .ubermenu-item-level-0.ubermenu-active > .ubermenu-target,
  .x-off-canvas .ubermenu-item-level-0.ubermenu-current-menu-item > .ubermenu-target,
  .x-off-canvas .x-menu > .menu-item > .x-anchor:hover {
    background: var(--rissc-navy) !important;
    color: #fff !important;
  }
  .x-off-canvas .ubermenu-submenu {
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    left: auto !important;
    right: auto !important;
    box-shadow: none !important;
    border: 0 !important;
    background: transparent !important;
    padding: 0 0 6px 10px !important;
  }
  .rtl .x-off-canvas .ubermenu-submenu { padding: 0 10px 6px 0 !important; }
  .x-off-canvas .ubermenu-submenu .ubermenu-target {
    display: block !important;
    padding: 10px 12px !important;
    min-height: 44px !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    text-transform: none !important;
    color: #234 !important;
    white-space: normal !important;
    background: transparent !important;
    border-bottom: 1px solid rgba(0,45,98,.08) !important;
  }

  /* Language switcher in drawer — kill stray bullets */
  .x-off-canvas .wpml-ls,
  .x-off-canvas .wpml-ls-legacy-list-horizontal,
  .x-off-canvas .widget_icl_lang_sel_widget,
  .x-off-canvas .widget {
    list-style: none !important;
    margin: 16px 0 0 !important;
    padding: 0 !important;
    width: 100% !important;
  }
  .x-off-canvas .wpml-ls ul,
  .x-off-canvas .wpml-ls-legacy-list-horizontal > ul,
  .x-off-canvas .widget ul {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0 !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid rgba(0,45,98,.25) !important;
    border-radius: 4px !important;
    overflow: hidden !important;
    background: #fff !important;
  }
  .x-off-canvas .wpml-ls-item,
  .x-off-canvas .wpml-ls li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: 1 1 0 !important;
    min-width: 0 !important;
    width: auto !important;
  }
  .x-off-canvas .wpml-ls-legacy-list-horizontal,
  .x-off-canvas .wpml-ls {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .x-off-canvas .wpml-ls-legacy-list-horizontal > ul,
  .x-off-canvas .wpml-ls > ul {
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .x-off-canvas .wpml-ls-native {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .x-off-canvas .wpml-ls-item::before,
  .x-off-canvas .wpml-ls li::before,
  .x-off-canvas .widget li::before {
    content: none !important;
    display: none !important;
  }
  .x-off-canvas .wpml-ls-link,
  .x-off-canvas .wpml-ls a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    min-height: 44px !important;
    padding: 8px 10px !important;
    color: var(--rissc-navy) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    background: transparent !important;
    border: 0 !important;
    border-inline-end: 1px solid rgba(0,45,98,.18) !important;
  }
  .x-off-canvas .wpml-ls-item:last-child .wpml-ls-link { border-inline-end: 0 !important; }
  .x-off-canvas .wpml-ls-current-language .wpml-ls-link {
    background: rgba(0,45,98,.08) !important;
  }

  /* Content / sections */
  .x-main,
  .entry-content,
  .x-container,
  .x-section .x-container {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .x-section .x-container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .x-column {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .rtl .x-column {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .entry-content,
  .x-text,
  .x-content {
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
  }
  h1, h2, h3,
  .x-text-content-text-primary {
    word-wrap: break-word !important;
    hyphens: auto;
  }

  /* ESG book grids — fit 2-up without overlap */
  .esg-grid-wrap-container,
  .esg-container-fullscreen-forcer,
  .esg-container,
  .esg-overflowtrick,
  .esg-overflowtrick ul,
  .mainul {
    width: 100% !important;
    max-width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    float: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }
  .rtl .esg-container-fullscreen-forcer,
  .rtl .esg-container {
    left: 0 !important;
    right: 0 !important;
    float: none !important;
  }
  .home .esg-grid li.filterall,
  .page-id-492 .esg-grid li.filterall,
  .page-id-1651 .esg-grid li.filterall,
  .page-id-387 .esg-grid li.filterall,
  .page-id-1370 .esg-grid li.filterall,
  .page-id-15712 .esg-grid li.filterall,
  .esg-grid li.filterall {
    width: min(148px, 42vw) !important;
    height: min(230px, calc(42vw * 1.554)) !important;
  }
  .home .esg-overflowtrick,
  .home .esg-overflowtrick ul,
  .home .mainul,
  .page-id-492 .esg-overflowtrick,
  .page-id-492 .mainul,
  .page-id-1651 .esg-overflowtrick,
  .page-id-1651 .mainul,
  .page-id-387 .esg-overflowtrick,
  .page-id-387 .mainul,
  .page-id-1370 .esg-overflowtrick,
  .page-id-1370 .mainul,
  .page-id-15712 .esg-overflowtrick,
  .page-id-15712 .mainul {
    height: min(260px, calc(42vw * 1.554 + 30px)) !important;
  }
  .esg-pagination .esg-pagination-button,
  .esg-pagination .esg-pagebutton,
  .esg-pagination > a,
  .esg-pagination > span {
    min-width: 40px !important;
    min-height: 40px !important;
    padding: 8px 10px !important;
    font-size: 15px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* Shop / Woo */
  .woocommerce .woocommerce-result-count,
  .woocommerce .woocommerce-ordering {
    float: none !important;
    width: 100% !important;
    margin: 0 0 12px !important;
    padding: 0 12px !important;
    box-sizing: border-box !important;
  }
  .woocommerce .woocommerce-ordering select {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 44px !important;
  }
  .woocommerce ul.products,
  .woocommerce-page ul.products {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  .woocommerce ul.products li.product .woocommerce-loop-product__title,
  .woocommerce ul.products li.product h2,
  .woocommerce ul.products li.product h3 {
    font-size: 13px !important;
    line-height: 1.3 !important;
  }
  .woocommerce a.button,
  .woocommerce button.button,
  .woocommerce input.button,
  .woocommerce #respond input#submit {
    min-height: 44px !important;
    padding: 10px 14px !important;
  }

  /* Forms / newsletter */
  input[type=email],
  input[type=text],
  input[type=search],
  select,
  textarea {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .mc4wp-form-fields {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 0 8px !important;
  }
  .mc4wp-form-fields input[type=email] {
    width: min(220px, 70vw) !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  /* Tables / embeds — exclude Woo tables (breaks cart/checkout layout) */
  table:not(.shop_table):not(.woocommerce-table):not(.variations) {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
  }
  iframe, video, embed, object {
    max-width: 100% !important;
  }
  img {
    max-width: 100% !important;
    height: auto !important;
  }

  /* Cookie bar */
  #cookie-notice,
  .cookie-notice-container {
    max-width: 100vw !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 479px) {
  .x-masthead > .x-bar-top.x-hide-lg.x-hide-xl .x-image img,
  .e14998-e10 .x-image img,
  .e15053-e10 .x-image img {
    height: 60px !important;
    max-height: 60px !important;
    max-width: 132px !important;
  }
  .home .esg-grid li.filterall,
  .page-id-492 .esg-grid li.filterall,
  .page-id-1651 .esg-grid li.filterall,
  .page-id-387 .esg-grid li.filterall,
  .page-id-1370 .esg-grid li.filterall,
  .page-id-15712 .esg-grid li.filterall,
  .esg-grid li.filterall {
    width: min(140px, 44vw) !important;
    height: min(218px, calc(44vw * 1.554)) !important;
  }
  .woocommerce ul.products li.product .woocommerce-loop-product__title,
  .woocommerce ul.products li.product h2,
  .woocommerce ul.products li.product h3 {
    font-size: 12px !important;
  }
  .x-section .x-container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}


/* Shared EN/AR mobile header toggle (covers e15053 Arabic header) */
@media (max-width: 979px) {
  .x-masthead > .x-bar-top.x-hide-lg.x-hide-xl .x-anchor-toggle,
  .e15053-e14.x-anchor {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    margin: 0 !important;
    border: 1px solid rgba(255,255,255,.55) !important;
    border-radius: 4px !important;
    background: rgba(255,255,255,.1) !important;
    box-shadow: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .x-masthead > .x-bar-top.x-hide-lg.x-hide-xl .x-anchor-toggle:hover,
  .x-masthead > .x-bar-top.x-hide-lg.x-hide-xl .x-anchor-toggle.x-active,
  .x-masthead > .x-bar-top.x-hide-lg.x-hide-xl .x-anchor-toggle[aria-expanded="true"],
  .e15053-e14.x-anchor:hover,
  .e15053-e14.x-anchor.x-active,
  .e15053-e14.x-anchor[aria-expanded="true"] {
    background: rgba(255,255,255,.2) !important;
    border-color: #fff !important;
  }
  .x-masthead > .x-bar-top.x-hide-lg.x-hide-xl .x-anchor-toggle .x-toggle,
  .x-masthead > .x-bar-top.x-hide-lg.x-hide-xl .x-anchor-toggle .x-toggle-burger,
  .e15053-e14 .x-toggle,
  .e15053-e14 .x-toggle-burger {
    color: #fff !important;
  }
  .x-masthead > .x-bar-top.x-hide-lg.x-hide-xl .x-toggle-burger-bun-t,
  .x-masthead > .x-bar-top.x-hide-lg.x-hide-xl .x-toggle-burger-bun-b,
  .x-masthead > .x-bar-top.x-hide-lg.x-hide-xl .x-toggle-burger-patty,
  .e15053-e14 .x-toggle-burger-bun-t,
  .e15053-e14 .x-toggle-burger-bun-b,
  .e15053-e14 .x-toggle-burger-patty {
    background-color: #fff !important;
    height: 2px !important;
    border-radius: 1px !important;
  }
  .x-masthead > .x-bar-top.x-hide-lg.x-hide-xl .x-toggle-burger,
  .e15053-e14 .x-toggle-burger {
    width: 18px !important;
    margin: 0 !important;
    font-size: 2px !important;
  }
  .x-masthead > .x-bar-top.x-hide-lg.x-hide-xl .x-toggle-burger-bun-t,
  .e15053-e14 .x-toggle-burger-bun-t { transform: translate3d(0,-5px,0) !important; }
  .x-masthead > .x-bar-top.x-hide-lg.x-hide-xl .x-toggle-burger-bun-b,
  .e15053-e14 .x-toggle-burger-bun-b { transform: translate3d(0,5px,0) !important; }
  .x-masthead > .x-bar-top.x-hide-lg.x-hide-xl .x-anchor-toggle.x-active .x-toggle-burger-bun-t,
  .x-masthead > .x-bar-top.x-hide-lg.x-hide-xl .x-anchor-toggle[aria-expanded="true"] .x-toggle-burger-bun-t,
  .e15053-e14.x-active .x-toggle-burger-bun-t,
  .e15053-e14[aria-expanded="true"] .x-toggle-burger-bun-t {
    transform: translate3d(0,0,0) rotate(45deg) !important;
  }
  .x-masthead > .x-bar-top.x-hide-lg.x-hide-xl .x-anchor-toggle.x-active .x-toggle-burger-bun-b,
  .x-masthead > .x-bar-top.x-hide-lg.x-hide-xl .x-anchor-toggle[aria-expanded="true"] .x-toggle-burger-bun-b,
  .e15053-e14.x-active .x-toggle-burger-bun-b,
  .e15053-e14[aria-expanded="true"] .x-toggle-burger-bun-b {
    transform: translate3d(0,0,0) rotate(-45deg) !important;
  }
  .x-masthead > .x-bar-top.x-hide-lg.x-hide-xl .x-anchor-toggle.x-active .x-toggle-burger-patty,
  .x-masthead > .x-bar-top.x-hide-lg.x-hide-xl .x-anchor-toggle[aria-expanded="true"] .x-toggle-burger-patty,
  .e15053-e14.x-active .x-toggle-burger-patty,
  .e15053-e14[aria-expanded="true"] .x-toggle-burger-patty {
    opacity: 0 !important;
  }
}



/* Force full-width mobile header + correct EN/AR placement */
@media (max-width: 979px) {
  .x-masthead > .x-bar-top.x-hide-lg.x-hide-xl,
  .e14998-e10,
  .e15053-e10 {
    width: 100% !important;
    max-width: 100vw !important;
  }
  .x-masthead > .x-bar-top.x-hide-lg.x-hide-xl .x-bar-content,
  .e14998-e10 .x-bar-content,
  .e15053-e10 .x-bar-content,
  .e15053-e10 .e15053-e10,
  .x-bar.e15053-e10 .x-bar-content {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 100% !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
    box-sizing: border-box !important;
  }
  .x-masthead > .x-bar-top.x-hide-lg.x-hide-xl .x-bar-content > .x-bar-container:first-child,
  .e14998-e10 .x-bar-content > .x-bar-container:first-child,
  .e15053-e10 .x-bar-content > .x-bar-container:first-child {
    flex: 0 0 auto !important;
    margin: 0 !important;
    margin-inline-end: auto !important;
    justify-content: flex-start !important;
  }
  .x-masthead > .x-bar-top.x-hide-lg.x-hide-xl .x-bar-content > .x-bar-container:last-child,
  .e14998-e10 .x-bar-content > .x-bar-container:last-child,
  .e15053-e10 .x-bar-content > .x-bar-container:last-child {
    flex: 0 0 auto !important;
    margin: 0 !important;
    justify-content: flex-end !important;
  }
  /* Arabic RTL: logo on right, burger on left */
  .rtl .x-masthead > .x-bar-top.x-hide-lg.x-hide-xl .x-bar-content,
  .rtl .e15053-e10 .x-bar-content {
    flex-direction: row-reverse !important;
    justify-content: space-between !important;
  }
  .rtl .x-masthead > .x-bar-top.x-hide-lg.x-hide-xl .x-bar-content > .x-bar-container:first-child,
  .rtl .e15053-e10 .x-bar-content > .x-bar-container:first-child {
    margin-inline-end: 0 !important;
    margin-inline-start: 0 !important;
  }
}

/* ===== /RISSC MOBILE UX 20261012 ===== */

/* ===== RISSC MOBILE MENU ORDER + SEPARATOR + LOGO ===== */
@media (max-width: 979px) {
  /* Bigger clearer logo on phone */
  .x-masthead > .x-bar-top.x-hide-lg.x-hide-xl .x-image img,
  .e14998-e10 .x-image img,
  .e15053-e10 .x-image img {
    height: 64px !important;
    max-height: 64px !important;
    max-width: 140px !important;
    width: auto !important;
  }
  .x-masthead > .x-bar-top.x-hide-lg.x-hide-xl,
  .e14998-e10.x-bar,
  .e15053-e10.x-bar {
    height: 78px !important;
    min-height: 78px !important;
  }
  .x-masthead > .x-bar-top.x-hide-lg.x-hide-xl .x-bar-content,
  .e14998-e10 .x-bar-content,
  .e15053-e10 .x-bar-content {
    height: 78px !important;
  }
}

@media (max-width: 479px) {
  .x-masthead > .x-bar-top.x-hide-lg.x-hide-xl .x-image img,
  .e14998-e10 .x-image img,
  .e15053-e10 .x-image img {
    height: 60px !important;
    max-height: 60px !important;
    max-width: 132px !important;
  }
}

/* Off-canvas: main pages stacked, separator before series titles */
.x-off-canvas .ubermenu-item-level-0.rissc-nav-main > .ubermenu-target,
.x-off-canvas .ubermenu-item-level-0.ubermenu-rissc-nav-main > .ubermenu-target,
.x-off-canvas .menu-item.rissc-nav-main > .x-anchor {
  font-weight: 700 !important;
  background: rgba(0,45,98,.07) !important;
  color: var(--rissc-navy) !important;
}
.x-off-canvas .ubermenu-item-level-0.ubermenu-rissc-nav-main.ubermenu-current-menu-item > .ubermenu-target,
.x-off-canvas .ubermenu-item-level-0.ubermenu-rissc-nav-main.ubermenu-active > .ubermenu-target,
.x-off-canvas .ubermenu-item-level-0.ubermenu-rissc-nav-main > .ubermenu-target:hover {
  background: var(--rissc-navy) !important;
  color: #fff !important;
}
.x-off-canvas .ubermenu-item-level-0.rissc-nav-series-first,
.x-off-canvas .ubermenu-item-level-0.ubermenu-rissc-nav-series-first,
.x-off-canvas .menu-item.rissc-nav-series-first {
  margin-top: 14px !important;
  padding-top: 14px !important;
  border-top: 1px solid rgba(0,45,98,.18) !important;
  position: relative !important;
}
.x-off-canvas .ubermenu-item-level-0.rissc-nav-series-first::before,
.x-off-canvas .ubermenu-item-level-0.ubermenu-rissc-nav-series-first::before,
.x-off-canvas .menu-item.rissc-nav-series-first::before {
  content: "Publications" !important;
  display: block !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  color: rgba(0,45,98,.55) !important;
  margin: 0 0 10px 14px !important;
  list-style: none !important;
}
.rtl .x-off-canvas .ubermenu-item-level-0.rissc-nav-series-first::before,
.rtl .x-off-canvas .ubermenu-item-level-0.ubermenu-rissc-nav-series-first::before,
.rtl .x-off-canvas .menu-item.rissc-nav-series-first::before {
  content: "المطبوعات" !important;
  margin: 0 14px 10px 0 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}
.x-off-canvas .ubermenu-item-level-0.rissc-nav-series > .ubermenu-target,
.x-off-canvas .ubermenu-item-level-0.ubermenu-rissc-nav-series > .ubermenu-target {
  font-weight: 600 !important;
}

/* ===== AR FOOTER + NEWSLETTER = EN ===== */
.rtl .x-bar-footer.e3273-e1 {
  background: #002d62 !important;
  padding: 40px 0 32px !important;
}
.rtl .x-bar-footer.e3273-e1 .x-bar-content {
  display: grid !important;
  grid-template-columns: 1.2fr 1.2fr .75fr !important;
  gap: 36px 40px !important;
  align-items: start !important;
  max-width: 1100px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 0 20px !important;
}
.rtl .x-bar-footer.e3273-e1 .x-text-content-text-primary,
.rtl .x-bar-footer.e3273-e1 h1,
.rtl .x-bar-footer.e3273-e1 .x-text-headline {
  font-size: 16px !important;
  color: #fff !important;
  font-family: "Antic Slab", serif !important;
  font-weight: 400 !important;
  border-bottom: 1px solid rgba(255,255,255,.85) !important;
  display: inline-block !important;
  margin: 0 0 .85em !important;
  padding: 0 0 .35em !important;
}
.rtl .x-bar-footer.e3273-e1 .x-menu,
.rtl .x-bar-footer.e3273-e1 ul.x-menu {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}
.rtl .x-bar-footer.e3273-e1 a.x-anchor,
.rtl .x-bar-footer.e3273-e1 .x-anchor-text-primary {
  color: #fff !important;
  font-family: "Antic Slab", serif !important;
  font-size: 16px !important;
  line-height: 1.35 !important;
  text-decoration: none !important;
  background: transparent !important;
}
.rtl .x-bar-footer.e3273-e12 { display: none !important; }
.rtl .x-bar-footer.e3273-e9 {
  background: #002d62 !important;
}
.rtl .x-bar-footer.e3273-e16 {
  background: #002d62 !important;
  min-height: 2.5em !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.rtl .x-bar-footer.e3273-e16 .x-text,
.rtl .x-bar-footer.e3273-e16 .x-text p {
  color: #fff !important;
  text-align: center !important;
  font-size: 12.8px !important;
}

/* AR newsletter strip above footer = EN */
.rtl.home .e1651-e40.x-section,
.rtl.page-id-1651 .e1651-e40.x-section {
  background: rgba(0,45,98,.8) !important;
  text-align: center !important;
  padding: 1.1em 16px 1.2em !important;
  margin-top: 2em !important;
  margin-bottom: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
}
.rtl.home .e1651-e40 h1,
.rtl.home .e1651-e40 .x-text-content-text-primary,
.rtl.page-id-1651 .e1651-e40 h1,
.rtl.page-id-1651 .e1651-e40 .x-text-content-text-primary {
  color: #fff !important;
  text-align: center !important;
  font-family: "Antic Slab", serif !important;
  font-size: 1.15em !important;
  font-weight: 400 !important;
  margin: 0 auto .55em !important;
}
.rtl.home .e1651-e40 .x-text.x-content,
.rtl.page-id-1651 .e1651-e40 .x-text.x-content,
.rtl.home .e1651-e40 a,
.rtl.page-id-1651 .e1651-e40 a {
  color: #fff !important;
  text-align: center !important;
}
.rtl.home .e1651-e40 .mc4wp-form-fields,
.rtl.page-id-1651 .e1651-e40 .mc4wp-form-fields {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 8px !important;
}
.rtl.home .e1651-e40 input[type=email],
.rtl.page-id-1651 .e1651-e40 input[type=email] {
  height: 34px !important;
  background: #fff !important;
  border: 1px solid #ddd !important;
  font-family: "Antic Slab", serif !important;
}
.rtl.home .e1651-e40 input[type=submit],
.rtl.page-id-1651 .e1651-e40 input[type=submit] {
  height: 36px !important;
  background: #002d62 !important;
  color: #fff !important;
  border: 2px solid #fff !important;
  font-family: "Antic Slab", serif !important;
}

@media (max-width: 979px) {
  .rtl .x-bar-footer.e3273-e1 .x-bar-content,
  .x-bar-footer.e3201-e1 .x-bar-content {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
    padding: 0 16px !important;
  }
  .rtl.home .e1651-e40.x-section,
  .rtl.page-id-1651 .e1651-e40.x-section,
  .home .e492-e67.x-section {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

/* AR mobile footer: show Arabic Our Sites (e3273-e1), hide EN dump (e3273-e12) */
@media (max-width: 979px) {
  .rtl .x-bar-footer.e3273-e1,
  .rtl .x-bar.x-bar-footer.e3273-e1.x-hide-md,
  .rtl .x-bar.x-bar-footer.e3273-e1.x-hide-sm,
  .rtl .x-bar.x-bar-footer.e3273-e1.x-hide-xs {
    display: flex !important;
    background: #002d62 !important;
    padding: 28px 0 20px !important;
    height: auto !important;
  }
  .rtl .x-bar-footer.e3273-e1 .x-bar-content {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 22px !important;
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 16px !important;
  }
  .rtl .x-bar-footer.e3273-e1 .x-search { display: none !important; }
  .rtl .x-bar-footer.e3273-e12,
  .rtl .x-bar-footer.e3273-e12.x-hide-lg,
  .rtl .x-bar-footer.e3273-e12.x-hide-xl {
    display: none !important;
  }
  /* empty search-only mobile bar */
  .rtl .x-bar-footer.e3273-e9 {
    display: none !important;
  }
}

/* ==========================================================================
   WooCommerce cart / checkout — mobile + RTL
   Fixes half-width rows from table{display:block}, RTL label/value alignment,
   shipping radios, coupon actions, and button contrast.
   ========================================================================== */
@media (max-width: 768px) {
  .woocommerce table.shop_table,
  .woocommerce-page table.shop_table,
  .woocommerce table.cart,
  .woocommerce-page table.cart {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
  }

  .woocommerce table.shop_table_responsive thead,
  .woocommerce table.cart thead,
  .woocommerce-page table.shop_table_responsive thead,
  .woocommerce-page table.cart thead {
    display: none !important;
  }

  .woocommerce table.shop_table tbody,
  .woocommerce table.shop_table tfoot,
  .woocommerce table.cart tbody,
  .woocommerce table.cart tfoot,
  .woocommerce table.shop_table tr,
  .woocommerce table.cart tr {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
  }

  .woocommerce table.shop_table_responsive tr td,
  .woocommerce-page table.shop_table_responsive tr td,
  .woocommerce table.cart tr td,
  .woocommerce-page table.cart tr td {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    float: none !important;
    text-align: start !important;
    padding: 10px 0 !important;
  }

  .woocommerce table.shop_table_responsive tr td::before,
  .woocommerce-page table.shop_table_responsive tr td::before {
    float: none !important;
    flex: 0 1 auto !important;
    margin: 0 !important;
    content: attr(data-title) !important;
    font-weight: 700 !important;
  }
  .woocommerce table.shop_table_responsive tr td[data-title]::before,
  .woocommerce-page table.shop_table_responsive tr td[data-title]::before {
    content: attr(data-title) ": " !important;
  }
  .woocommerce table.shop_table_responsive tr td.product-remove::before,
  .woocommerce table.shop_table_responsive tr td.product-thumbnail::before,
  .woocommerce table.shop_table_responsive tr td.actions::before,
  .woocommerce-page table.shop_table_responsive tr td.product-remove::before,
  .woocommerce-page table.shop_table_responsive tr td.product-thumbnail::before,
  .woocommerce-page table.shop_table_responsive tr td.actions::before {
    display: none !important;
    content: none !important;
  }

  /* Remove / thumbnail row */
  .woocommerce table.cart td.product-remove,
  .woocommerce-page table.cart td.product-remove {
    width: 100% !important;
    max-width: 100% !important;
    justify-content: flex-end !important; /* LTR: x on the right */
    padding: 4px 0 !important;
  }
  .woocommerce table.cart td.product-remove a,
  .woocommerce-page table.cart td.product-remove a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    font-size: 22px !important;
    line-height: 1 !important;
    margin: 0 !important;
  }

  .woocommerce table.cart .product-thumbnail,
  .woocommerce-page table.cart .product-thumbnail {
    display: flex !important;
    justify-content: flex-start !important;
    width: 100% !important;
    max-width: 100% !important;
    font-size: 14px !important;
    padding: 4px 0 8px !important;
  }
  .woocommerce table.cart .product-thumbnail a,
  .woocommerce-page table.cart .product-thumbnail a {
    display: block !important;
    width: 72px !important;
    max-width: 28vw !important;
    margin: 0 !important; /* override Integrity auto-centering */
    margin-inline: 0 !important;
  }
  .woocommerce table.cart .product-thumbnail img,
  .woocommerce-page table.cart .product-thumbnail img {
    width: 100% !important;
    height: auto !important;
    max-width: 72px !important;
    display: block !important;
  }

  .woocommerce table.cart td.product-name,
  .woocommerce-page table.cart td.product-name {
    padding-top: 4px !important;
  }
  .woocommerce table.cart td.product-name a,
  .woocommerce-page table.cart td.product-name a {
    text-align: end !important;
    word-break: break-word !important;
    /* Keep Latin titles readable inside RTL pages */
    unicode-bidi: isolate !important;
  }

  .woocommerce table.cart .quantity,
  .woocommerce-page table.cart .quantity {
    margin: 0 !important;
  }
  .woocommerce table.cart .quantity input.qty,
  .woocommerce-page table.cart .quantity input.qty {
    max-width: 4.5em !important;
    min-height: 40px !important;
    text-align: center !important;
  }

  /* Coupon + update */
  .woocommerce table.cart td.actions,
  .woocommerce-page table.cart td.actions {
    display: block !important;
    text-align: start !important;
    padding: 12px 0 !important;
  }
  .woocommerce table.cart td.actions .coupon,
  .woocommerce-page table.cart td.actions .coupon {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    float: none !important;
    width: 100% !important;
    padding: 12px !important;
    box-sizing: border-box !important;
    background: rgba(0, 0, 0, 0.04) !important;
    align-items: stretch !important;
  }
  .woocommerce table.cart td.actions .coupon .input-text,
  .woocommerce-page table.cart td.actions .coupon .input-text {
    flex: 1 1 140px !important;
    width: auto !important;
    max-width: 100% !important;
    min-height: 44px !important;
    float: none !important;
  }
  .woocommerce table.cart td.actions .coupon .button,
  .woocommerce-page table.cart td.actions .coupon .button {
    flex: 0 0 auto !important;
    float: none !important;
    width: auto !important;
    min-width: 120px !important;
    min-height: 44px !important;
  }
  .woocommerce table.cart td.actions > .button,
  .woocommerce-page table.cart td.actions > .button {
    display: block !important;
    width: 100% !important;
    float: none !important;
    margin: 10px 0 0 !important;
    min-height: 44px !important;
    background: #002d62 !important;
    color: #fff !important;
    opacity: 1 !important;
  }
  .woocommerce table.cart td.actions > .button:disabled,
  .woocommerce-page table.cart td.actions > .button:disabled {
    opacity: 0.55 !important;
    background: #002d62 !important;
    color: #fff !important;
  }

  /* Cart totals */
  .woocommerce .cart-collaterals,
  .woocommerce .cart-collaterals .cart_totals,
  .woocommerce-page .cart-collaterals,
  .woocommerce-page .cart-collaterals .cart_totals {
    width: 100% !important;
    float: none !important;
    text-align: start !important;
  }
  .woocommerce .cart_totals h2,
  .woocommerce-page .cart_totals h2 {
    text-align: start !important;
  }
  .woocommerce .cart_totals table tr th,
  .woocommerce .cart_totals table tr td,
  .woocommerce-page .cart_totals table tr th,
  .woocommerce-page .cart_totals table tr td {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 12px !important;
    width: 100% !important;
    text-align: start !important;
    float: none !important;
  }
  .woocommerce .cart_totals table tr th,
  .woocommerce-page .cart_totals table tr th {
    font-weight: 700 !important;
  }

  /* Shipping methods */
  .woocommerce ul#shipping_method,
  .woocommerce .woocommerce-shipping-methods,
  .woocommerce-page ul#shipping_method,
  .woocommerce-page .woocommerce-shipping-methods {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    float: none !important;
    text-align: start !important;
    list-style: none !important;
  }
  .woocommerce ul#shipping_method li,
  .woocommerce .woocommerce-shipping-methods li,
  .woocommerce-page ul#shipping_method li,
  .woocommerce-page .woocommerce-shipping-methods li {
    display: flex !important;
    align-items: flex-start !important;
    gap: 8px !important;
    float: none !important;
    width: 100% !important;
    margin: 0 0 8px !important;
    text-align: start !important;
  }
  .woocommerce ul#shipping_method li input,
  .woocommerce .woocommerce-shipping-methods li input {
    float: none !important;
    margin: 4px 0 0 !important;
    flex: 0 0 auto !important;
  }
  .woocommerce ul#shipping_method li label,
  .woocommerce .woocommerce-shipping-methods li label {
    float: none !important;
    display: block !important;
    text-align: start !important;
    margin: 0 !important;
    line-height: 1.35 !important;
  }

  .woocommerce .wc-proceed-to-checkout a.checkout-button,
  .woocommerce-page .wc-proceed-to-checkout a.checkout-button {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    min-height: 48px !important;
    line-height: 1.3 !important;
    padding: 14px 16px !important;
    background: #002d62 !important;
    color: #fff !important;
  }
}

/* RTL cart polish (all breakpoints where stacked layout applies) */
@media (max-width: 768px) {
  .rtl.woocommerce table.cart td.product-remove,
  .rtl .woocommerce table.cart td.product-remove,
  .rtl.woocommerce-page table.cart td.product-remove {
    justify-content: flex-start !important; /* start = right in RTL */
  }
  .rtl.woocommerce table.cart .product-thumbnail,
  .rtl .woocommerce table.cart .product-thumbnail,
  .rtl.woocommerce-page table.cart .product-thumbnail {
    justify-content: flex-start !important; /* thumbnail on the right */
  }
  .rtl.woocommerce table.cart td.product-name a,
  .rtl .woocommerce table.cart td.product-name a {
    direction: ltr !important;
    text-align: left !important;
  }
  .rtl.woocommerce table.cart td.actions .coupon,
  .rtl .woocommerce table.cart td.actions .coupon {
    flex-direction: row !important;
  }
  /* English shipping labels stay LTR so radio+text read naturally */
  .rtl .woocommerce-shipping-methods li label,
  .rtl ul#shipping_method li label {
    direction: ltr !important;
    unicode-bidi: isolate !important;
    text-align: start !important;
  }
}

/* Desktop/tablet cart: keep Integrity row layout full-width under 979 */
@media (max-width: 979px) and (min-width: 769px) {
  .woocommerce table.cart,
  .woocommerce-page table.cart {
    display: table !important;
    width: 100% !important;
  }
  .woocommerce table.cart tbody,
  .woocommerce table.cart tr {
    width: 100% !important;
  }
}

/* ==========================================================================
   Mobile footer (EN + AR) — cleaner, matched layout
   EN uses e3201-e12 on phone; AR forces e3273-e1 and hides e12/e9.
   High specificity beats Cornerstone cs-inline-css duplicates.
   ========================================================================== */
@media (max-width: 979px) {
  /* Hide empty mobile search-only footer bars */
  html body .x-bar-footer.e3201-e9,
  html[dir="rtl"] body.rtl .x-bar-footer.e3273-e9 {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
  }

  /* Shared “Our Sites” bars */
  html body .x-bar-footer.e3201-e12,
  html[dir="rtl"] body.rtl .x-bar-footer.e3273-e1,
  html[dir="rtl"] body.rtl .x-bar.x-bar-footer.e3273-e1.x-hide-md,
  html[dir="rtl"] body.rtl .x-bar.x-bar-footer.e3273-e1.x-hide-sm,
  html[dir="rtl"] body.rtl .x-bar.x-bar-footer.e3273-e1.x-hide-xs {
    display: flex !important;
    flex-direction: column !important;
    background: #002d62 !important;
    padding: 28px 0 24px !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    border: 0 !important;
  }

  html body .x-bar-footer.e3201-e12 .x-bar-content,
  html[dir="rtl"] body.rtl .x-bar-footer.e3273-e1 .x-bar-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
  }

  html body .x-bar-footer.e3201-e12 .x-bar-container,
  html[dir="rtl"] body.rtl .x-bar-footer.e3273-e1 .x-bar-container {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  html body .x-bar-footer.e3201-e12 .x-text-headline,
  html body .x-bar-footer.e3201-e12 .x-text-content-text-primary,
  html body .x-bar-footer.e3201-e12 h1,
  html[dir="rtl"] body.rtl .x-bar-footer.e3273-e1 .x-text-headline,
  html[dir="rtl"] body.rtl .x-bar-footer.e3273-e1 .x-text-content-text-primary,
  html[dir="rtl"] body.rtl .x-bar-footer.e3273-e1 h1 {
    display: inline-block !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 0 0 14px !important;
    padding: 0 0 8px !important;
    color: #fff !important;
    font-family: "Antic Slab", serif !important;
    font-size: 17px !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
    text-align: start !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.85) !important;
  }

  html body .x-bar-footer.e3201-e12 .x-menu,
  html body .x-bar-footer.e3201-e12 ul.x-menu,
  html[dir="rtl"] body.rtl .x-bar-footer.e3273-e1 .x-menu,
  html[dir="rtl"] body.rtl .x-bar-footer.e3273-e1 ul.x-menu {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    list-style: none !important;
    background: transparent !important;
    border: 0 !important;
  }

  html body .x-bar-footer.e3201-e12 .menu-item,
  html body .x-bar-footer.e3201-e12 .x-menu > li,
  html[dir="rtl"] body.rtl .x-bar-footer.e3273-e1 .menu-item,
  html[dir="rtl"] body.rtl .x-bar-footer.e3273-e1 .x-menu > li {
    display: block !important;
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
  }
  html body .x-bar-footer.e3201-e12 .menu-item:last-child,
  html body .x-bar-footer.e3201-e12 .x-menu > li:last-child,
  html[dir="rtl"] body.rtl .x-bar-footer.e3273-e1 .menu-item:last-child,
  html[dir="rtl"] body.rtl .x-bar-footer.e3273-e1 .x-menu > li:last-child {
    border-bottom: 0 !important;
  }

  html body .x-bar-footer.e3201-e12 a.x-anchor,
  html[dir="rtl"] body.rtl .x-bar-footer.e3273-e1 a.x-anchor,
  html[dir="rtl"] body.rtl .x-bar-footer.e3273-e1 .x-anchor-text-primary {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 10px 0 !important;
    color: #fff !important;
    font-family: "Antic Slab", serif !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.35 !important;
    text-align: start !important;
    text-decoration: none !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    white-space: normal !important;
    position: relative !important;
  }
  html body .x-bar-footer.e3201-e12 a.x-anchor .x-anchor-text,
  html body .x-bar-footer.e3201-e12 a.x-anchor .x-anchor-text-primary,
  html[dir="rtl"] body.rtl .x-bar-footer.e3273-e1 a.x-anchor .x-anchor-text,
  html[dir="rtl"] body.rtl .x-bar-footer.e3273-e1 a.x-anchor .x-anchor-text-primary {
    color: #fff !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    line-height: 1.35 !important;
  }
  /* Hide particle underlines on mobile (use row separators instead) */
  html body .x-bar-footer.e3201-e12 a.x-anchor::after,
  html body .x-bar-footer.e3201-e12 .x-particle,
  html[dir="rtl"] body.rtl .x-bar-footer.e3273-e1 a.x-anchor::after,
  html[dir="rtl"] body.rtl .x-bar-footer.e3273-e1 .x-particle {
    display: none !important;
    content: none !important;
  }

  html body .x-bar-footer.e3201-e12 .x-search,
  html body .x-bar-footer.e3201-e12 .ubermenu,
  html body .x-bar-footer.e3201-e12 .ubermenu-responsive-toggle,
  html[dir="rtl"] body.rtl .x-bar-footer.e3273-e1 .x-search,
  html[dir="rtl"] body.rtl .x-bar-footer.e3273-e1 .ubermenu,
  html[dir="rtl"] body.rtl .x-bar-footer.e3273-e1 .ubermenu-responsive-toggle {
    display: none !important;
  }

  /* Keep AR English dump footer hidden */
  html[dir="rtl"] body.rtl .x-bar-footer.e3273-e12 {
    display: none !important;
  }

  /* Copyright bars */
  html body .x-bar-footer.e3201-e16,
  html[dir="rtl"] body.rtl .x-bar-footer.e3273-e16 {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #002d62 !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 14px 16px 18px !important;
    margin: 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.18) !important;
  }
  html body .x-bar-footer.e3201-e16 .x-bar-content,
  html body .x-bar-footer.e3201-e16 .x-bar-container,
  html[dir="rtl"] body.rtl .x-bar-footer.e3273-e16 .x-bar-content,
  html[dir="rtl"] body.rtl .x-bar-footer.e3273-e16 .x-bar-container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  html body .x-bar-footer.e3201-e16 .x-text,
  html body .x-bar-footer.e3201-e16 .x-text p,
  html[dir="rtl"] body.rtl .x-bar-footer.e3273-e16 .x-text,
  html[dir="rtl"] body.rtl .x-bar-footer.e3273-e16 .x-text p {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    color: rgba(255, 255, 255, 0.92) !important;
    font-size: 12px !important;
    line-height: 1.55 !important;
    text-align: center !important;
    word-break: break-word !important;
  }
  html body .x-bar-footer.e3201-e16 a,
  html[dir="rtl"] body.rtl .x-bar-footer.e3273-e16 a {
    color: #fff !important;
    text-decoration: underline !important;
  }

  /* Newsletter strip — EN + AR */
  html body.home .e492-e67.x-section,
  html[dir="rtl"] body.rtl.home .e1651-e40.x-section,
  html[dir="rtl"] body.rtl.page-id-1651 .e1651-e40.x-section {
    padding: 22px 16px 20px !important;
    margin-top: 1.5em !important;
    margin-bottom: 0 !important;
    box-sizing: border-box !important;
  }
  html body.home .e492-e67 h1,
  html body.home .e492-e67 .x-text-content-text-primary,
  html[dir="rtl"] body.rtl.home .e1651-e40 h1,
  html[dir="rtl"] body.rtl.home .e1651-e40 .x-text-content-text-primary,
  html[dir="rtl"] body.rtl.page-id-1651 .e1651-e40 h1,
  html[dir="rtl"] body.rtl.page-id-1651 .e1651-e40 .x-text-content-text-primary {
    font-size: 1.05em !important;
    line-height: 1.35 !important;
    max-width: 22em !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 4px !important;
  }
  html body.home .e492-e67 .mc4wp-form-fields,
  html[dir="rtl"] body.rtl.home .e1651-e40 .mc4wp-form-fields,
  html[dir="rtl"] body.rtl.page-id-1651 .e1651-e40 .mc4wp-form-fields {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: stretch !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 360px !important;
    margin: 0 auto !important;
  }
  html body.home .e492-e67 input[type=email],
  html[dir="rtl"] body.rtl.home .e1651-e40 input[type=email],
  html[dir="rtl"] body.rtl.page-id-1651 .e1651-e40 input[type=email] {
    flex: 1 1 160px !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    min-height: 42px !important;
    height: 42px !important;
    box-sizing: border-box !important;
    padding: 0 12px !important;
  }
  html body.home .e492-e67 input[type=submit],
  html[dir="rtl"] body.rtl.home .e1651-e40 input[type=submit],
  html[dir="rtl"] body.rtl.page-id-1651 .e1651-e40 input[type=submit] {
    flex: 0 0 auto !important;
    min-width: 110px !important;
    min-height: 42px !important;
    height: 42px !important;
    padding: 0 16px !important;
  }
}
