/* ===== (A) Fix: رجّع اللوجو لطبيعته ومايتمددش زي البانر ===== */
header img,
.site-header img,
.header img,
header .logo img,
.site-header .logo img,
#header .logo img {
  width: auto !important;
  height: auto !important;
  max-height: 80px !important;   /* عدّلها 70–90 حسب ما تحب */
  max-width: 100% !important;
  object-fit: contain !important;
}

/* اختياري: ظبط مسافة الهيدر حوالين اللوجو */
header .logo,
.site-header .logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: 8px 0;
}

/* ===== (B) Hero فقط — محدد بدقة عشان مايلمسش الهيدر ===== */
#app main > section:first-of-type,
#app .home-hero {
  min-height: clamp(320px, 52vh, 560px);
  overflow: hidden;
}
#app main > section:first-of-type img,
#app .home-hero img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
@media (max-width: 992px){
  #app main > section:first-of-type,
  #app .home-hero { min-height: clamp(260px, 44vh, 480px); }
}
@media (max-width: 576px){
  #app main > section:first-of-type,
  #app .home-hero { min-height: clamp(220px, 38vh, 420px); }
}

/* ===== (C) الصور عامة + كروت المشاريع/العقارات ===== */
img { max-width: 100%; height: auto; display: block; }

/* يحجز نسبة أبعاد للثَمبنيلز ويقلل أي قفزة */
.project-card img,
.property-card img,
.card-project img,
.card-property img {
  aspect-ratio: 410 / 270;
}

/* ===== (D) شريط البحث الكبير — حجز ارتفاع ثابت ===== */
.input-group.input-group-lg .form-control,
.input-group.input-group-lg .btn {
  min-height: 48px;
  line-height: 1.2;
}
.input-group.input-group-lg { min-height: 56px; }

/* ===== (E) Font Awesome بخاصية swap (لسد تحذير Font display) ===== */
@font-face{
  font-family: "Font Awesome 5 Free";
  src: url("/webfonts/fa-solid-900.woff2") format("woff2");
  font-weight: 900; font-style: normal; font-display: swap;
}
@font-face{
  font-family: "Font Awesome 5 Free";
  src: url("/webfonts/fa-regular-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face{
  font-family: "Font Awesome 5 Brands";
  src: url("/webfonts/fa-brands-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}

/* ===== (F) عنصر ديكوري كان ظاهر في التقرير (::before) ===== */
div.content .topbar-left .line::before{
  content:"";
  display:inline-block;
  width:12px; height:2px;
  vertical-align: middle;
}