/*
Theme Name: 	Realest Child
Theme URI: 		http://thememascot.com
Description: 	Real Estate WordPress Theme. You can get more themes from here: https://themeforest.net/user/thememascot/portfolio
Author: 		ThemeMascot Team
Author URI: 	http://themeforest.net/user/thememascot
Version: 		5.2
Requires PHP:	8.1
Tested up to:	6.9
License: 		GNU General Public License v2 or later
License URI: 	http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: 	realest-child
Template: 		realest
*/


/* =========================================================
 * EASY WAY – تعديلات اللون الأساسي #07173a + الأسهم
 * ========================================================= */
.btn-style4,.btn-style4 .btn-title{color:var(--headings-color,#24201f)!important}
.btn-style4:hover,.btn-style4:hover .btn-title{color:#fff!important}
.tm-header-top-info i{color:#fff!important}
.tm-header-top-info svg,.tm-header-top-info svg path{fill:#fff!important}
.elementor-2150 .icon i{color:#fff!important}
.elementor-2150 .icon svg,.elementor-2150 .icon svg path{fill:#fff!important}
body.rtl .tm-swiper-carousel-arrow-wrap .tm-swiper-arrow i{display:inline-block;transform:scaleX(-1)}
.ew-city.is-active .ew-city-count{color:#fff}
.ew-city.is-active::after{box-shadow:none}
.ew-city.is-active{box-shadow:0 0 0 3px var(--theme-color1)}
.ew-cities .ew-city.is-active .ew-city-count{color:#fff!important}
.elementor-2611 .elementor-element-f9f1b8b{background-image:radial-gradient(circle at 45% 78%,rgba(37,82,170,.55) 0,rgba(7,23,58,.35) 22%,transparent 45%)!important}
.elementor-2611 h5{white-space:nowrap}

/* محتوى المشاريع والمقالات المنقولة من الموقع القديم */
.ew-project-content{max-width:1000px;margin:0 auto;font-size:17px;line-height:1.9;color:#555}
.ew-project-content .ew-figure{margin:0 0 26px}
.ew-project-content .ew-figure img{width:100%;height:auto;border-radius:28px;display:block}
.ew-project-content .ew-hero img{max-height:580px;object-fit:cover}
.ew-project-content .ew-video video{width:100%;max-height:620px;border-radius:24px;background:#000;display:block}
.ew-project-content .ew-sec{background:#fff;border:1px solid #e8ebf1;border-radius:24px;padding:30px 34px;margin:0 0 22px;box-shadow:0 10px 30px rgba(7,23,58,.05)}
.ew-project-content .ew-sec.ew-intro{background:#f5f7fa;border-color:#f5f7fa;box-shadow:none}
.ew-project-content .ew-sec>*:last-child{margin-bottom:0}
.ew-project-content h2{font-size:24px;line-height:1.4;color:var(--theme-color1);margin:0 0 14px;padding-inline-start:14px;border-inline-start:4px solid var(--theme-color1)}
.ew-project-content h3{font-size:20px;color:var(--headings-color,#24201f);margin:18px 0 8px}
.ew-project-content h4{font-size:18px;color:var(--headings-color,#24201f);margin:16px 0 6px}
.ew-project-content p{margin:0 0 12px}
.ew-project-content .ew-hl{color:var(--headings-color,#24201f)}
.ew-project-content ul,.ew-project-content ol{list-style:none;margin:6px 0 16px;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.ew-project-content li{position:relative;padding:11px 16px;padding-inline-start:44px;background:#f5f7fa;border-radius:14px;color:#2c3340;line-height:1.6}
.ew-project-content li::before{content:"";position:absolute;inset-inline-start:14px;top:50%;width:18px;height:18px;margin-top:-9px;border-radius:50%;background:var(--theme-color1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/12px no-repeat}
.ew-project-content .ew-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:6px 0 22px}
.ew-project-content .ew-gallery img{width:100%;aspect-ratio:3/2;object-fit:cover;border-radius:18px;display:block}
.ew-project-content .ew-sec .ew-figure img{border-radius:18px}
@media (max-width:767px){.ew-project-content{font-size:16px}.ew-project-content .ew-sec{padding:22px 18px;border-radius:18px}.ew-project-content ul,.ew-project-content ol{grid-template-columns:1fr}.ew-project-content .ew-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ew-project-content h2{font-size:21px}}
/* كروت شبكة المشاريع بارتفاع صور موحّد */
.tm-sc-projects .projects-current-theme5 .image-box .image{aspect-ratio:3/2;height:auto!important;overflow:hidden}
.tm-sc-projects .projects-current-theme5 .image-box .image img{position:absolute;inset:0;width:100%!important;height:100%!important;object-fit:cover}
/* شركاء النجاح – الشعارات بألوانها الأصلية داخل كروت بيضاء */
.elementor-element-35d21db .each-logo{background:#fff;border-radius:24px;padding:22px 30px;height:150px;display:flex;align-items:center;justify-content:center;transition:transform .35s ease,box-shadow .35s ease}
.elementor-element-35d21db .each-logo:hover{transform:translateY(-4px);box-shadow:0 14px 30px rgba(0,0,0,.25)}
.elementor-element-35d21db .each-logo img.thumb{filter:none!important;opacity:1!important;max-height:100px;width:auto!important;max-width:100%;object-fit:contain}

/* إخفاء "Posted in" والتعليقات في صفحة المقال */
body.single-post .news-details-bottom,body.single-post .news-details__categories,body.single-post #comments,body.single-post .comment-respond{display:none!important}

/* مسار الصفحة (Breadcrumb) بالاتجاه العربي */
body.rtl .breadcrumbs .trail-item.trail-begin{margin:0 0 0 12px!important;padding:0 0 0 26px!important}
body.rtl .breadcrumbs .tm-breadcrumb-arrow-icon{right:auto!important;left:0!important;transform:translateY(-50%)!important}
/* إصلاح حالات الـ hover بعد اللون الأساسي الكحلي */
.tm-swiper-carousel-arrow-wrap .tm-swiper-arrow:hover,.tm-swiper-carousel-arrow-wrap .tm-swiper-arrow:hover i{color:#fff!important}
.tm-swiper-container .tm-swiper-button-next:hover i,.tm-swiper-container .tm-swiper-button-prev:hover i{color:#fff!important}
.projects-current-theme5 .arrow-icon{color:#fff!important}
.projects-current-theme5 .arrow-icon:hover{background-color:#fff!important;color:var(--theme-color1)!important;box-shadow:0 8px 25px rgba(7,23,58,.25)}
.quote-icon .icon,.quote-icon .icon:hover,[class*=testimonial] .quote-icon .icon{color:#fff!important}
.elementor-2611 .social-link:hover{color:#fff!important}
.elementor-2611 .tm-sc-simple-nav-menu li a:hover,.elementor-2611 .tm-sc-simple-nav-menu li.current-menu-item a,.elementor-2611 .tm-sc-simple-nav-menu li a:focus{color:#fff!important}
.elementor-2611 .tm-sc-simple-nav-menu li:hover .tm-nav-arrow-icon{color:#fff!important}
