/* Arabic homepage: mobile hero layout. */
/* The carousel is only shown on the Arabic mobile homepage. */
.alm-hero-carousel {display:none;}
@media (max-width:767px) {
 body.page-id-5350 #page .elementor-element-2ff39a68:has(.alm-hero-carousel):after,
 body.page-id-5350 #page .elementor-element-2ff39a68.alm-has-slider:after {display:none!important;}
 body.page-id-5350 #page .alm-hero-carousel {display:block!important;width:100%;min-width:0;margin:24px auto 0;direction:rtl;text-align:center;}
 body.page-id-5350 #page .alm-hero-track {
  display:flex!important;flex-wrap:nowrap;gap:0;width:100%;overflow-x:auto;overflow-y:hidden;direction:rtl;
  scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none;
  border-radius:20px;background:#edf3f8;box-shadow:0 5px 20px rgba(42,65,94,.07);
  -webkit-overflow-scrolling:touch;
 }
 body.page-id-5350 #page .alm-hero-track::-webkit-scrollbar {display:none;}
 body.page-id-5350 #page .alm-hero-slide {
  display:flex!important;align-items:center;justify-content:center;flex:0 0 100%;min-width:0;width:100%;
  height:clamp(300px,90vw,360px);margin:0!important;padding:0!important;scroll-snap-align:center;scroll-snap-stop:normal;
 }
 body.page-id-5350 #page .alm-hero-slide img {
  display:block!important;width:100%!important;height:100%!important;max-height:100%!important;
  object-fit:contain!important;object-position:center!important;border:0;border-radius:0;box-shadow:none;
 }
 body.page-id-5350 #page .alm-hero-controls {display:flex;align-items:center;justify-content:center;gap:12px;margin-top:8px;min-height:40px;}
 body.page-id-5350 #page .alm-hero-hint {font-size:12px;line-height:1.5;color:#666e7c;font-weight:400;}
 body.page-id-5350 #page .alm-hero-dots {display:flex;gap:0;direction:rtl;}
 body.page-id-5350 #page button.alm-hero-dot {
  display:flex;align-items:center;justify-content:center;width:32px;min-width:32px;height:40px;
  padding:0!important;margin:0!important;border:0!important;background:transparent!important;box-shadow:none!important;cursor:pointer;
 }
 body.page-id-5350 #page .alm-hero-dot span {display:block;width:7px;height:7px;border-radius:9px;background:#bccbd4;}
 body.page-id-5350 #page .alm-hero-dot[aria-pressed="true"] span {width:20px;background:#319fa9;}
 body.page-id-5350 #page .alm-hero-track:focus-visible,
 body.page-id-5350 #page .alm-hero-dot:focus-visible {outline:2px solid #303563;outline-offset:3px;}
}

@media (max-width: 767px) {
body.page-id-5350 #page #masthead {position:relative!important;background:#f5f9fc!important;}
body.page-id-5350 #page #masthead .header-overlay {position:relative!important;}
body.page-id-5350 #page #masthead .header-overlay,
body.page-id-5350 #page #masthead .site-header,
body.page-id-5350 #page #masthead .header-stickable {background:#f5f9fc!important;}
body.page-id-5350 #page #masthead .tcr-topbar-wrapper {display:none!important;}
body.page-id-5350 #page #masthead .site-header-top {padding:12px 20px!important;}
body.page-id-5350 #page #masthead .site-logo img {max-width:106px!important;max-height:46px!important;width:auto!important;height:auto!important;}
body.page-id-5350 #page .elementor-5350 .elementor-element.elementor-element-2ff39a68 {
 background:#f5f9fc!important;padding:22px 22px 20px!important;margin:0!important;
 min-height:0!important;overflow:hidden;width:100%!important;max-width:100%!important;margin:0!important;right:auto!important;left:auto!important;
}
body.page-id-5350 #page .elementor-5350 .elementor-element-2ff39a68 > .elementor-container {min-height:0!important;padding:0!important;}
body.page-id-5350 #page .elementor-5350 .elementor-element-54b0391e {margin:0!important;width:100%!important;}
body.page-id-5350 #page .elementor-5350 .elementor-element-54b0391e > .elementor-widget-wrap {
 padding:0!important;display:flex!important;flex-direction:column!important;align-items:center!important;gap:0!important;
}
body.page-id-5350 #page .elementor-5350 .elementor-element-27515228,
body.page-id-5350 #page .elementor-5350 .elementor-element-70528bd0,
body.page-id-5350 #page .elementor-5350 .elementor-element-274f9e1e {
 width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;text-align:center!important;
}
body.page-id-5350 #page .elementor-5350 .elementor-element-27515228 .elementor-heading-title {
 color:#303563!important;font-size:34px!important;line-height:1.45!important;font-weight:700!important;
 text-shadow:none!important;letter-spacing:0!important;margin:0!important;
}
body.page-id-5350 #page .elementor-5350 .elementor-element-27515228 br {display:none!important;}
body.page-id-5350 #page .elementor-5350 .elementor-element-70528bd0 {
 margin-top:12px!important;color:#535b6b!important;font-size:16px!important;line-height:1.9!important;
}
body.page-id-5350 #page .elementor-5350 .elementor-element-70528bd0 p {margin:0!important;font:inherit!important;}
body.page-id-5350 #page .elementor-5350 .elementor-element-70528bd0 p:not(:first-child) {display:none!important;}
body.page-id-5350 #page .elementor-5350 .elementor-element-70528bd0 strong {font-weight:500!important;}
body.page-id-5350 #page .elementor-5350 .elementor-element-274f9e1e {margin-top:19px!important;}
body.page-id-5350 #page .elementor-5350 .elementor-element-274f9e1e a.elementor-button {
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 min-height:50px!important;padding:12px 30px!important;border-radius:12px!important;
 background:#4dbbc3!important;color:#fff!important;font-size:17px!important;line-height:1.5!important;
 box-shadow:0 6px 16px rgba(49,136,145,.14)!important;border:0!important;transform:none!important;
}
body.page-id-5350 #page .elementor-5350 .elementor-element-274f9e1e a.elementor-button:after {display:none!important;}
body.page-id-5350 #page .elementor-5350 .elementor-element-2ff39a68:after {
 content:"";display:block;width:calc(100% + 16px);max-width:480px;aspect-ratio:1.065;
 margin:24px auto 0;position:relative;right:8px;
 background-image:url("https://almethalyjo.com/wp-content/uploads/2026/07/يشسيشسيشسي-2-scaled.png");
 background-repeat:no-repeat;background-size:166.667% auto;background-position:left center;
 border-radius:22px;box-shadow:0 8px 26px rgba(42,65,94,.05);
}
}
/* Compact mobile hero with consistently framed photos. */
@media (max-width:767px) {
 body.page-id-5350 #page #masthead .site-header-top {padding:8px 20px!important;}
 body.page-id-5350 #page .elementor-5350 .elementor-element.elementor-element-2ff39a68 {padding:12px 22px 14px!important;}
 body.page-id-5350 #page .elementor-5350 .elementor-element-27515228 .elementor-heading-title {font-size:30px!important;line-height:1.4!important;}
 body.page-id-5350 #page .elementor-5350 .elementor-element-70528bd0 {margin-top:8px!important;font-size:15px!important;line-height:1.8!important;}
 body.page-id-5350 #page .elementor-5350 .elementor-element-274f9e1e {margin-top:14px!important;}
 body.page-id-5350 #page .elementor-5350 .elementor-element-274f9e1e a.elementor-button {min-height:46px!important;padding:10px 26px!important;font-size:16px!important;box-shadow:0 3px 10px rgba(49,136,145,.1)!important;}
 body.page-id-5350 #page .alm-hero-carousel {margin:16px auto 0;max-width:360px;}
 body.page-id-5350 #page .alm-hero-track {border-radius:18px;background:#f5f9fc;box-shadow:none;}
 body.page-id-5350 #page .alm-hero-slide {position:relative;height:auto;aspect-ratio:1 / 1;overflow:hidden;}
 body.page-id-5350 #page .alm-hero-slide img {position:absolute;inset:0;object-fit:cover!important;}
 body.page-id-5350 #page .alm-hero-slide:nth-child(1) img {object-position:50% 47%!important;}
 body.page-id-5350 #page .alm-hero-slide:nth-child(2) img {object-position:62% 50%!important;}
 body.page-id-5350 #page .alm-hero-slide:nth-child(3) img {object-position:50% 45%!important;}
 body.page-id-5350 #page .alm-hero-slide:nth-child(4) img {object-position:50% 55%!important;}
 body.page-id-5350 #page .alm-hero-controls {margin-top:4px;}
}

@media (max-width:374px) {
body.page-id-5350 #page .elementor-5350 .elementor-element-27515228 .elementor-heading-title {font-size:28px!important;}
body.page-id-5350 #page .elementor-5350 .elementor-element-70528bd0 {font-size:15px!important;}
}