/*
Theme Name: Ganete Al-Mamlkka Professional Theme
Theme URI: https://ganetelmamlkka.com/
Author: Ganete Al-Mamlkka Dev Team
Author URI: https://ganetelmamlkka.com/
Description: قالب ووردبريس احترافي حديث لشركة جنة السعودية للخدمات المنزلية - واجهة RTL مطورة ومتوافق Native مع Yoast SEO وJanna Speed
Version: 6.9.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ganetelmamlkka
Domain Path: /languages
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
Tags: rtl, right-to-left, arabic, cleaning-services, seo-optimized, schema-markup
*/


/* =========================================================
   v6.6.0 — Professional service directory redesign
   Robust, always-visible grid. Loaded in style.css (last) to
   avoid accordion/default <details> rendering conflicts.
   ========================================================= */
.gm66-directory{
  direction:rtl;
  position:relative;
  padding:82px 0;
  background:
    radial-gradient(circle at 8% 8%,rgba(7,148,71,.075),transparent 24%),
    linear-gradient(180deg,#fbfefc 0%,#f4faf6 100%);
  border-top:1px solid #e6f0e9;
  border-bottom:1px solid #e6f0e9;
}
.gm66-directory *{box-sizing:border-box}
.gm66-directory-heading{margin-bottom:38px}
.gm66-directory-grid{
  width:100%;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:22px;
  align-items:start;
}
.gm66-service-card{
  min-width:0;
  background:#fff;
  border:1px solid #dfece4;
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 14px 38px rgba(18,67,48,.075);
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;
}
.gm66-service-card:hover{
  transform:translateY(-3px);
  border-color:#bddfc9;
  box-shadow:0 20px 48px rgba(18,67,48,.11);
}
.gm66-service-head{
  display:grid;
  grid-template-columns:58px minmax(0,1fr) auto;
  gap:14px;
  align-items:center;
  padding:20px 22px;
  background:linear-gradient(135deg,#ffffff 0%,#f4fbf6 100%);
  border-bottom:1px solid #e8f1eb;
}
.gm66-service-icon{
  width:58px;height:58px;border-radius:17px;
  display:grid;place-items:center;
  background:linear-gradient(145deg,#0aa251,#087f42);
  color:#fff;font-size:23px;
  box-shadow:0 9px 20px rgba(7,148,71,.20);
}
.gm66-service-title-wrap{min-width:0}
.gm66-service-title-wrap h3{
  margin:0 0 4px!important;
  color:#143d30!important;
  font-size:20px!important;
  line-height:1.35!important;
  font-weight:800!important;
}
.gm66-service-title-wrap p{
  margin:0!important;
  color:#74877f!important;
  font-size:12.5px!important;
  line-height:1.65!important;
}
.gm66-count{
  white-space:nowrap;
  align-self:center;
  padding:7px 11px;
  border-radius:999px;
  border:1px solid #cfe7d8;
  background:#ecf8f0;
  color:#087a3e;
  font-size:11px;
  font-weight:800;
}
.gm66-area-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  padding:16px;
}
.gm66-area-link{
  min-width:0;
  min-height:68px;
  display:grid!important;
  grid-template-columns:38px minmax(0,1fr) 18px;
  gap:10px;
  align-items:center;
  padding:10px 11px!important;
  border:1px solid #e2ece6!important;
  border-radius:14px!important;
  background:#fff!important;
  color:#2b5144!important;
  text-decoration:none!important;
  box-shadow:0 4px 14px rgba(18,67,48,.025);
  transition:background .18s ease,border-color .18s ease,transform .18s ease,box-shadow .18s ease;
}
.gm66-area-link:hover{
  background:#f1faf4!important;
  border-color:#acd8bd!important;
  transform:translateY(-1px);
  box-shadow:0 8px 18px rgba(18,67,48,.07);
  color:#14613e!important;
}
.gm66-area-pin{
  width:38px;height:38px;border-radius:12px;
  display:grid;place-items:center;
  background:#eaf8ef;
  color:#079447;
  font-size:14px;
}
.gm66-area-copy{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:2px;
  text-align:right;
}
.gm66-area-copy strong{
  color:#173e31;
  font-size:14px;
  line-height:1.3;
  font-weight:800;
}
.gm66-area-copy small{
  display:block;
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#7b8c85;
  font-size:10.5px;
  line-height:1.45;
}
.gm66-area-arrow{
  color:#9aaba4;
  font-size:11px;
  transition:transform .18s ease,color .18s ease;
}
.gm66-area-link:hover .gm66-area-arrow{transform:translateX(-2px);color:#079447}

@media(max-width:1024px){
  .gm66-directory-grid{grid-template-columns:1fr}
  .gm66-area-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:760px){
  .gm66-directory{padding:56px 0}
  .gm66-directory-heading{margin-bottom:26px}
  .gm66-service-head{grid-template-columns:50px minmax(0,1fr);padding:16px}
  .gm66-service-icon{width:50px;height:50px;border-radius:15px;font-size:20px}
  .gm66-count{grid-column:1/-1;justify-self:start;margin-top:-4px}
  .gm66-area-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:12px;gap:8px}
  .gm66-area-link{grid-template-columns:34px minmax(0,1fr);min-height:60px;padding:9px!important}
  .gm66-area-pin{width:34px;height:34px;border-radius:10px}
  .gm66-area-arrow{display:none}
  .gm66-area-copy small{display:none}
}
@media(max-width:420px){
  .gm66-area-grid{grid-template-columns:1fr}
  .gm66-area-copy small{display:block}
}
