/* Brands: one compact scrolling row */
.s-block--logos-slider .grid {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  gap: 0.5rem !important;
  grid-template-columns: none !important;
  padding-bottom: 0.5rem;
}
.s-block--logos-slider .brand-item,
.s-block--logos-slider .brand-item.sm\:row-span-2 {
  flex: 0 0 90px !important;
  width: 90px !important;
  height: 60px !important;
  grid-row: auto !important;
  padding: 0.4rem !important;
}
.s-block--logos-slider .brand-item img {
  max-height: 40px !important;
  width: auto !important;
  margin: 0 auto;
  object-fit: contain;
}
/* Al Sweed-style: centred titles + 2/4 tile grid */
.s-block__title{justify-content:center !important;text-align:center !important;position:relative}
.s-block__title .right-side{width:100%;text-align:center}
.s-block__title h2{display:inline-block;color:#2e3091;font-weight:800}
.s-block__title h2:after{content:"";display:block;width:90px;height:4px;background:#2e3091;border-radius:3px;margin:8px auto 0}
.s-block__title .left-side,.s-block__title .s-slider-block__title-nav{position:absolute;inset-inline-end:0;top:0}
.square-photos-grid.square-photos-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:14px}
@media (min-width:768px){.square-photos-grid.square-photos-grid{grid-template-columns:repeat(4,minmax(0,1fr)) !important;gap:24px}}
.square-photos-grid .banner-entry.square-photos{aspect-ratio:1/1;border-radius:16px;overflow:hidden}
/* Hide Raed's overlay caption + dark overlay on Square Photos tiles (captions are baked into the images) */
.s-block--banners .banner-entry.square-photos h3.text-with-border{display:none!important}
.s-block--banners .banner-entry.square-photos.has-overlay::before,
.s-block--banners .banner-entry.square-photos.has-overlay::after{display:none!important;background:none!important;opacity:0!important}
/* Mobile overflow fix */
html,body{max-width:100%;overflow-x:hidden}
.square-photos-grid .banner-entry.square-photos{width:100% !important;max-width:100% !important;min-width:0 !important;margin-left:0 !important;margin-right:0 !important}
.square-photos-grid{width:100%;max-width:100%}
.swiper,.s-slider-container{max-width:100%}