/* Remah homepage refresh. Scoped to the existing Joomla homepage class. */
/* !important below overrides legacy mobile rules in the template. */
#bd.remah-site #slideshow .item-content-inner {
  position: static !important; inset: auto !important; height: auto !important;
  margin: auto !important; transform: none !important;
}
#bd.remah-site #slideshow .item-title,
#bd.remah-site #slideshow .item-description,
#bd.remah-site #slideshow .forreadmorebt,
#bd.remah-site #slideshow .item-readmore,
#bd.remah-site #slideshow .item-readmore a {
  position: static !important; inset: auto !important; height: auto !important;
  transform: none !important;
}
#bd.remah-site #slideshow .item-title { line-height: 1.5 !important; }
#bd.remah-site #slideshow .item-description { padding: 0 !important; }
#bd.remah-site #slideshow .item-readmore a { line-height: 1.8 !important; }
body#bd.remah-site {
  --remah-green: #175947;
  --remah-dark: #123d34;
  --remah-gold: #b89751;
  --remah-border: #dfe8e3;
  background: #f5f7f5;
  color: #263d36;
  font-family: 'Tajawal', Tahoma, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.8;
}
#bd.remah-site #yt_wrapper { background: #f5f7f5; }
#bd.remah-site a { transition: color .2s, background-color .2s, box-shadow .2s; }
#bd.remah-site a:focus-visible, #bd.remah-site button:focus-visible, #bd.remah-site input:focus-visible {
  outline: 3px solid var(--remah-gold); outline-offset: 4px;
}
#bd.remah-site #yt_menuwrap { background: #fff; border-top: 4px solid var(--remah-green); border-bottom: 1px solid var(--remah-border); box-shadow: 0 3px 18px #123d3408; }
#bd.remah-site #yt_menuwrap > .container > .row { display: flex; align-items: center; }
#bd.remah-site #yt_logo { flex: 0 0 90px; padding: 10px; }
#bd.remah-site #yt_logo .logo { margin: 0; padding: 0; }
#bd.remah-site #yt_logo img { width: 76px !important; height: 76px !important; object-fit: contain; }
#bd.remah-site #yt_mainmenu { flex: 1; min-width: 0; box-shadow: none; background: transparent; }
#bd.remah-site #meganavigator { display: flex; flex-wrap: wrap; justify-content: center; margin: 0; padding: 10px 0; }
#bd.remah-site #meganavigator > li { float: none; margin: 0; }
#bd.remah-site #meganavigator > li > .item-link { padding: 10px 12px; line-height: 1.6; font-size: 15px; color: #30483f; border-radius: 5px; }
#bd.remah-site #meganavigator > li.active > .item-link,
#bd.remah-site #meganavigator > li:hover > .item-link { color: var(--remah-green); background: #edf4ef; }
#bd.remah-site #meganavigator .mega-content { border-top: 3px solid var(--remah-gold); box-shadow: 0 12px 35px #123d3424; }
#bd.remah-site #yt_spotlight1 { background: #fff; }
#bd.remah-site #slideshow { display: flex; flex-direction: column; }
#bd.remah-site #slideshow .sj-k2slickslider { order: 0; width: 100%; margin: 0; }
#bd.remah-site #slideshow > .search { order: 1; position: relative !important; inset: auto !important; width: min(760px, 92%) !important; margin: 24px auto !important; padding: 0; z-index: 1; }
#bd.remah-site #slideshow .search form { display: flex; flex-direction: row-reverse; gap: 10px; background: #fff; border: 1px solid var(--remah-border); border-radius: 10px; padding: 7px; box-shadow: 0 6px 24px #123d3409; }
#bd.remah-site #slideshow .search input[type="search"] { flex: 1; min-width: 0; width: auto !important; height: 48px; margin: 0; border: 0; border-radius: 6px; box-shadow: none; font: inherit; padding: 10px 16px; background: #f5f7f5; }
#bd.remah-site #slideshow .search button { position: static; min-width: 100px; margin: 0; border: 0; border-radius: 6px; background: var(--remah-green); color: #fff; font: inherit; }
#bd.remah-site #slideshow .slickslider-items,
#bd.remah-site #slideshow .slickslider-item { height: 430px !important; }
#bd.remah-site #slideshow .images-slideshow { height: 100%; position: absolute; inset: 0; }
#bd.remah-site #slideshow .images-slideshow img { width: 100%; height: 100%; object-fit: cover; }
#bd.remah-site #slideshow .images-slideshow::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #102e3240, #092d28dc); }
#bd.remah-site #slideshow .item-content { position: absolute; inset: 0 !important; width: 100% !important; height: 100%; display: flex; align-items: center; background: transparent; padding: 36px 8%; }
#bd.remah-site #slideshow .item-content-inner { width: 100%; max-width: 820px; margin: auto; text-align: center; padding: 0; }
#bd.remah-site #slideshow .item-title { margin: 0 0 20px; font-size: clamp(30px, 4vw, 46px); line-height: 1.5; }
#bd.remah-site #slideshow .item-title a { color: #fff; }
#bd.remah-site #slideshow .item-description { font-size: 20px; line-height: 1.9; color: #fff; margin: 0 auto 25px; }
#bd.remah-site #slideshow .item-readmore { display: inline-block; margin: 0; padding: 0; background: transparent; }
#bd.remah-site #slideshow .item-readmore a { display: inline-block; padding: 10px 30px; border: 1px solid #d5bd86; border-radius: 6px; background: #d5bd86; color: #183d31; font-size: 17px; font-weight: 700; }
#bd.remah-site #slideshow .item-readmore a:hover { background: #ead9b4; }
#bd.remah-site #yt_spotlight2 { padding: 38px 0 20px; background: #f5f7f5; }
#bd.remah-site #top3 > .module { border: 0; box-shadow: none; padding: 0; background: transparent; }
#bd.remah-site #top3 .modtitle,
#bd.remah-site #top13 h1.sppb-addon-title { font-family: inherit; font-size: 29px; font-weight: 700; line-height: 1.6; color: var(--remah-dark); background: transparent; text-align: right; border-radius: 0; border: 0; padding: 0 18px 0 0; border-right: 4px solid var(--remah-gold); margin: 0 0 26px; }
#bd.remah-site #top3 .modtitle::after { display: none; }
#bd.remah-site #top3 .modcontent { padding: 0; }
#bd.remah-site #top3 .meganew-items { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 22px; margin: 0; }
#bd.remah-site #top3 .meganew-items > [class^="clrt"] { display: none; }
#bd.remah-site #top3 .meganew-item { width: auto; float: none; margin: 0; padding: 0; }
#bd.remah-site #top3 .meganew-item-inner { display: flex; flex-direction: column; height: 100%; padding: 16px; margin: 0; background: #fff; border: 1px solid var(--remah-border); border-radius: 12px; box-shadow: 0 5px 18px #123d3406; transition: box-shadow .2s; }
#bd.remah-site #top3 .meganew-item-inner:hover { box-shadow: 0 10px 28px #123d341a; }
#bd.remah-site #top3 .item-image { order: 0; margin: 0; padding: 0; }
#bd.remah-site #top3 .item-image img { width: 100%; height: auto; border-radius: 6px; }
#bd.remah-site #top3 .item-title { order: 1; margin: 16px 0 0; padding: 0; background: transparent; font-size: 17px; line-height: 1.8; }
#bd.remah-site #top3 .item-title a { color: var(--remah-green); font-weight: 700; }
#bd.remah-site #top13 .module { border: 0; box-shadow: none; background: transparent; }
#bd.remah-site #top13 .mycssraw { background: transparent; margin-bottom: 40px; }
#bd.remah-site #top13 #sppb-addon-1784789303383,
#bd.remah-site #top13 #sppb-addon-1784791651919 { background: transparent; padding: 0; border-radius: 0; }
#bd.remah-site #top13 #section-id-1628510950747,
#bd.remah-site #top13 #section-id-1784789116037 { background: transparent; }
#bd.remah-site #section-id-1628511691219 > .sppb-container-inner > .sppb-row { display: flex; flex-wrap: wrap; }
#bd.remah-site #section-id-1628511691219 .sppb-col-md-3 { display: flex; }
#bd.remah-site #section-id-1628511691219 .sppb-column { width: 100%; background: #fff; border: 1px solid var(--remah-border); border-radius: 12px; padding: 24px 14px; margin-bottom: 20px; }
#bd.remah-site #section-id-1628511691219 h3.sppb-addon-title { font-family: inherit; color: var(--remah-dark); font-size: 18px; line-height: 1.8; }
#bd.remah-site #section-id-1628511691219 img { width: 100px; height: 100px; object-fit: contain; }
#bd.remah-site #section-id-1784789116037 .sppb-col-md-3 > .sppb-column { padding: 22px 12px; background: #edf3ef; border-radius: 10px; margin-bottom: 16px; }
#bd.remah-site #section-id-1784789116037 .sppb-animated-number { color: var(--remah-green); font-size: 38px; font-weight: 700; line-height: 1.5; }
#bd.remah-site #section-id-1784789116037 .sppb-animated-number-title { color: #365349; font-size: 17px; }
#bd.remah-site #section-id-1784789116037 .sppb-icon-inner { color: var(--remah-green); }
#bd.remah-site #yt_spotlight8 { background: var(--remah-dark); padding: 44px 0 25px; color: #e2ece7; }
#bd.remah-site #yt_spotlight8 .module { background: transparent; border: 0; box-shadow: none; }
#bd.remah-site #yt_spotlight8 h3.modtitle { color: #fff; font-size: 21px; border-color: #b89751; background: transparent; }
#bd.remah-site #yt_spotlight8 a { color: #e2ece7; line-height: 2; }
#bd.remah-site #yt_spotlight8 a:hover { color: #e3c58a; }
#bd.remah-site #yt_footer { background: #0d3029; color: #d3e0d9; padding: 18px 0; border: 0; }
#bd.remah-site #yt_footer a { color: #e3c58a; }
@media (max-width: 991px) {
  #bd.remah-site #yt_menuwrap > .container > .row { flex-wrap: wrap; }
  #bd.remah-site #top3 .meganew-items { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #bd.remah-site #section-id-1628511691219 .sppb-col-md-3 { width: 50%; }
  #bd.remah-site #slideshow .item-description { font-size: 18px; }
}
@media (max-width: 767px) {
  #bd.remah-site #slideshow .item-title { width: auto !important; font-size: 30px !important; }
  #bd.remah-site #slideshow .item-title a,
  #bd.remah-site #slideshow .item-title a span { font-size: inherit !important; line-height: 1.5 !important; }
  #bd.remah-site #slideshow .item-description { display: block !important; }
  #bd.remah-site #slideshow .item-content-inner { max-width: 100%; width: 100% !important; }
  #bd.remah-site #slideshow .search button { padding: 8px 12px !important; text-indent: 0; }
  #bd.remah-site .btn-navbar { background: #175947 !important; border-radius: 6px; }
  #bd.remah-site #yt_logo { flex-basis: 70px; }
  #bd.remah-site #yt_logo img { width: 60px !important; height: 60px !important; }
  #bd.remah-site #slideshow .slickslider-items,
  #bd.remah-site #slideshow .slickslider-item { height: 390px !important; }
  #bd.remah-site #slideshow .item-content { padding: 28px 24px; }
  #bd.remah-site #slideshow .item-description { font-size: 17px; line-height: 1.8; }
  #bd.remah-site #slideshow .search button { min-width: 76px; }
  #bd.remah-site #top3 .meganew-items { gap: 12px; }
  #bd.remah-site #top3 .meganew-item-inner { padding: 10px; }
  #bd.remah-site #top3 .item-title { font-size: 15px; }
  #bd.remah-site #top3 .modtitle, #bd.remah-site #top13 h1.sppb-addon-title { font-size: 25px; }
  #bd.remah-site #yt_spotlight2 { padding-top: 24px; }
}
@media (max-width: 420px) {
  #bd.remah-site #section-id-1628511691219 .sppb-col-md-3 { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  #bd.remah-site a, #bd.remah-site #top3 .meganew-item-inner { transition: none; }
}
