/* حسن للعقارات — تنسيق الألوان والأقسام */
:root{--hret-primary:#0f2b46;--hret-accent:#c9a227;--hret-bg:#f7f5f0;--hret-text:#1d2733}

body{background:var(--hret-bg);color:var(--hret-text)}
a{color:var(--hret-primary)}
a:hover,a:focus{color:var(--hret-accent)}
h1,h2,h3,h4{color:var(--hret-primary)}

/* ترويسة وتذييل وقوائم (محددات شائعة في معظم الثيمات) */
header.site-header,.site-header,#masthead,#header{background:var(--hret-primary)!important}
.site-header a,#masthead a,#header a,.main-navigation a{color:#fff!important}
.site-header a:hover,#masthead a:hover,.main-navigation a:hover{color:var(--hret-accent)!important}
footer.site-footer,.site-footer,#colophon,#footer{background:var(--hret-primary)!important;color:#e9edf2}
.site-footer a,#colophon a{color:var(--hret-accent)}

/* أزرار */
button,.button,input[type=submit],.wp-block-button__link{
  background:var(--hret-accent);color:#10202f;border:0;border-radius:8px;font-weight:700}
button:hover,.button:hover,input[type=submit]:hover,.wp-block-button__link:hover{background:var(--hret-primary);color:#fff}

/* إخفاء أي أثر للبحث */
.search-form,.search-field,.search-submit,.wp-block-search,.widget_search,
.search-toggle,.header-search,.menu-item-search,#searchform,[class*="search-icon"]{display:none!important}

/* أقسام الصفحة الرئيسية الثابتة */
.hret-sections{max-width:1200px;margin:24px auto;padding:0 16px}
.hret-grid{list-style:none;margin:0;padding:0;display:grid;gap:14px;
  grid-template-columns:repeat(4,1fr)}
.hret-grid li{margin:0}
.hret-card{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;
  min-height:150px;padding:18px 10px;border-radius:14px;text-decoration:none;text-align:center;
  background:var(--hret-primary) center/cover no-repeat;color:#fff!important;
  border:2px solid transparent;box-shadow:0 4px 14px rgba(15,43,70,.18);
  transition:transform .2s,border-color .2s,box-shadow .2s}
.hret-card:hover,.hret-card:focus-visible{transform:translateY(-4px);border-color:var(--hret-accent);
  box-shadow:0 10px 24px rgba(15,43,70,.28)}
.hret-icon{font-size:2.2rem;line-height:1}
.hret-name{font-size:1.15rem;font-weight:800;color:#fff}
.hret-card:hover .hret-name{color:var(--hret-accent)}

@media (max-width:900px){.hret-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:420px){.hret-card{min-height:120px}.hret-name{font-size:1rem}}

/* معرض الصور داخل صفحات الأقسام */
.entry-content img,.wp-block-gallery img{border-radius:10px;height:auto;max-width:100%}
.entry-content .gallery,.wp-block-gallery{display:grid;gap:10px;
  grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}

/* أزرار التواصل السريع */
.hret-contact{position:fixed;bottom:14px;inset-inline-start:14px;display:flex;gap:8px;z-index:9999}
.hret-contact a{padding:11px 16px;border-radius:999px;color:#fff!important;font-weight:700;
  text-decoration:none;box-shadow:0 4px 12px rgba(0,0,0,.25)}
.hret-wa{background:#25d366}
.hret-call{background:var(--hret-primary)}
