.elementor-15 .elementor-element.elementor-element-954df99{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--padding-top:60px;--padding-bottom:60px;--padding-left:15px;--padding-right:15px;}.elementor-15 .elementor-element.elementor-element-d48b4bb{--display:flex;--flex-direction:row;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--justify-content:space-between;--align-items:center;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-widget-heading .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );line-height:var( --e-global-typography-primary-line-height );color:var( --e-global-color-primary );}.elementor-15 .elementor-element.elementor-element-ca19151 .elementor-heading-title{font-family:"TheSansArabic", Sans-serif;font-weight:600;line-height:1.5em;color:#1E1E1E;}.elementor-widget-loop-grid .elementor-button{background-color:var( --e-global-color-accent );font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-weight:var( --e-global-typography-accent-font-weight );line-height:var( --e-global-typography-accent-line-height );}.elementor-widget-loop-grid .elementor-pagination{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );line-height:var( --e-global-typography-secondary-line-height );}.elementor-widget-loop-grid .e-load-more-message{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );line-height:var( --e-global-typography-secondary-line-height );}.elementor-15 .elementor-element.elementor-element-bf151da{--grid-columns:3;--grid-column-gap:15px;}.elementor-15 .elementor-element.elementor-element-bf151da > .elementor-widget-container{margin:50px 0px 0px 0px;}@media(max-width:1024px){.elementor-widget-heading .elementor-heading-title{line-height:var( --e-global-typography-primary-line-height );}.elementor-widget-loop-grid .elementor-pagination{line-height:var( --e-global-typography-secondary-line-height );}.elementor-widget-loop-grid .elementor-button{line-height:var( --e-global-typography-accent-line-height );}.elementor-widget-loop-grid .e-load-more-message{line-height:var( --e-global-typography-secondary-line-height );}.elementor-15 .elementor-element.elementor-element-bf151da{--grid-columns:3;}}@media(max-width:767px){.elementor-widget-heading .elementor-heading-title{line-height:var( --e-global-typography-primary-line-height );}.elementor-widget-loop-grid .elementor-pagination{line-height:var( --e-global-typography-secondary-line-height );}.elementor-widget-loop-grid .elementor-button{line-height:var( --e-global-typography-accent-line-height );}.elementor-widget-loop-grid .e-load-more-message{line-height:var( --e-global-typography-secondary-line-height );}.elementor-15 .elementor-element.elementor-element-bf151da{--grid-columns:1;}}/* Start custom CSS for loop-grid, class: .elementor-element-bf151da */@media(min-width: 767px) {
    .elementor-15 .elementor-element.elementor-element-bf151da .program:nth-of-type(2) {
            /*transform: scale(1.1);*/
        z-index: 5;
    }
}

.elementor-15 .elementor-element.elementor-element-bf151da .program:nth-of-type(2) div::before {
    background: linear-gradient(90deg, rgba(16, 32, 46, 0.70) -32.34%, rgba(41, 113, 174, 0.95) 100%), url(<path-to-image>) lightgray 50% / cover no-repeat !important;

}
.elementor-15 .elementor-element.elementor-element-bf151da .program:nth-of-type(2) div .elementor-widget-theme-post-excerpt {
    height: fit-content;
    visibility: visible;
}/* End custom CSS */
/* Start custom CSS for container, class: .elementor-element-954df99 */.elementor-15 .elementor-element.elementor-element-954df99::after {
    content: "";
    position: absolute;
    background-repeat: no-repeat;
    background-position: right;
    background-size: contain;
    opacity: .2;
}

.elementor-15 .elementor-element.elementor-element-954df99::after {
    background-image: url('https://riyadhrehab.com.sa/wp-content/uploads/2024/10/shape-lg.svg');
    top: 0;
    left: 0;
    height: 70px;
    width: 40%;
    transform: rotate(180deg);
}
:dir(ltr) .elementor-15 .elementor-element.elementor-element-954df99::after {
    left: unset;
    right: 0;
    background-position: left;
}

@media(min-width: 767px) {
    .elementor-15 .elementor-element.elementor-element-954df99::after {
        height: 120px;
    }
}/* End custom CSS */
/* Start Custom Fonts CSS */@font-face {
	font-family: 'TheSansArabic';
	font-style: normal;
	font-weight: 100;
	font-display: auto;
	src: url('https://riyadhrehab.com.sa/wp-content/uploads/2024/10/Bahij_TheSansArabic-ExtraLight.ttf') format('truetype');
}
@font-face {
	font-family: 'TheSansArabic';
	font-style: normal;
	font-weight: 200;
	font-display: auto;
	src: url('https://riyadhrehab.com.sa/wp-content/uploads/2024/10/Bahij_TheSansArabic-Light.ttf') format('truetype');
}
@font-face {
	font-family: 'TheSansArabic';
	font-style: normal;
	font-weight: 300;
	font-display: auto;
	src: url('https://riyadhrehab.com.sa/wp-content/uploads/2024/10/Bahij_TheSansArabic-SemiLight.ttf') format('truetype');
}
@font-face {
	font-family: 'TheSansArabic';
	font-style: normal;
	font-weight: 400;
	font-display: auto;
	src: url('https://riyadhrehab.com.sa/wp-content/uploads/2024/10/Bahij_TheSansArabic-Plain.ttf') format('truetype');
}
@font-face {
	font-family: 'TheSansArabic';
	font-style: normal;
	font-weight: 600;
	font-display: auto;
	src: url('https://riyadhrehab.com.sa/wp-content/uploads/2024/10/Bahij_TheSansArabic-SemiBold.ttf') format('truetype');
}
@font-face {
	font-family: 'TheSansArabic';
	font-style: normal;
	font-weight: 700;
	font-display: auto;
	src: url('https://riyadhrehab.com.sa/wp-content/uploads/2024/10/Bahij_TheSansArabic-Bold.ttf') format('truetype');
}
@font-face {
	font-family: 'TheSansArabic';
	font-style: normal;
	font-weight: 800;
	font-display: auto;
	src: url('https://riyadhrehab.com.sa/wp-content/uploads/2024/10/Bahij_TheSansArabic-ExtraBold.ttf') format('truetype');
}
@font-face {
	font-family: 'TheSansArabic';
	font-style: normal;
	font-weight: 900;
	font-display: auto;
	src: url('https://riyadhrehab.com.sa/wp-content/uploads/2024/10/Bahij_TheSansArabic-Black.ttf') format('truetype');
}
/* End Custom Fonts CSS */