/*
 Theme Name:   DNP Dubai New Projects
 Description:  Professional Child Theme for dubainewprojects.ae
 Author:       Belal
 Template:     generatepress
 Version:      1.0.0
 Text Domain:  dnp
*/

:root{
  --lx-black:#0f1115;
  --lx-text:#222;
  --lx-muted:#666;
  --lx-line:#e8e8e8;
  --lx-bg:#fff;
  --lx-soft:#f7f7f7;
  --lx-gold:#c5a46d;
  --lx-shadow:0 12px 34px rgba(0,0,0,.08);
  --lx-radius:18px;
}

*,
*::before,
*::after{ box-sizing:border-box; }

body.lx-modal-open{ overflow:hidden; }

.lx-wrap{
  max-width:1240px;
  margin:0 auto;
  padding:0 18px;
}

.lx-section{ padding:42px 0; }

.lx-hero{
  padding:42px 0 28px;
  background:#fff;
}

.lx-hero-grid,
.lx-entity-hero-grid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:28px;
  align-items:center;
}

.lx-breadcrumbs{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  font-size:13px;
  color:var(--lx-muted);
  margin-bottom:14px;
}

.lx-breadcrumbs a{
  color:var(--lx-muted);
  text-decoration:none;
}

.lx-hero h1,
.lx-entity-single h1,
.lx-archive h1{
  margin:0 0 14px;
  font-size:42px;
  line-height:1.05;
  color:var(--lx-black);
}

.lx-lead{
  margin:0 0 16px;
  font-size:18px;
  line-height:1.7;
  color:#444;
  max-width:780px;
}

.lx-meta-chips{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:16px 0 22px;
}

.lx-meta-chips span{
  display:inline-flex;
  align-items:center;
  min-height:38px;
  padding:9px 14px;
  border:1px solid var(--lx-line);
  border-radius:999px;
  background:#fff;
  font-size:14px;
  color:#333;
}

.lx-cta-row{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

.lx-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:12px 18px;
  border-radius:12px;
  text-decoration:none;
  font-weight:600;
  transition:.2s ease;
  border:1px solid transparent;
}

.lx-btn-primary{
  background:var(--lx-black);
  color:#fff;
}

.lx-btn-primary:hover{ opacity:.92; }

.lx-btn-secondary{
  background:#fff;
  border-color:var(--lx-line);
  color:var(--lx-black);
}

.lx-btn-block{
  width:100%;
}

.lx-hero-image-wrap{
  position:relative;
  border-radius:22px;
  overflow:hidden;
  box-shadow:var(--lx-shadow);
  background:#f3f3f3;
}

.lx-hero-image{
  display:block;
  width:100%;
  height:100%;
  min-height:420px;
  object-fit:cover;
}

.lx-video-trigger{
  position:absolute;
  left:20px;
  bottom:20px;
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-height:48px;
  padding:12px 16px;
  border:none;
  border-radius:999px;
  background:rgba(15,17,21,.88);
  color:#fff;
  cursor:pointer;
}

.lx-play-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:30px;
  height:30px;
  border-radius:50%;
  background:var(--lx-gold);
  color:#111;
  font-size:14px;
}

.lx-overview-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) 360px;
  gap:28px;
  align-items:start;
}

.lx-main-content{
  min-width:0;
}

.lx-sidebar{
  min-width:0;
}

.lx-sticky-box{
  position:sticky;
  top:24px;
  padding:22px;
  border:1px solid var(--lx-line);
  border-radius:var(--lx-radius);
  background:#fff;
  box-shadow:var(--lx-shadow);
}

.lx-sticky-box h3{
  margin:0 0 10px;
  font-size:24px;
  color:var(--lx-black);
}

.lx-sticky-box p{
  margin:0 0 16px;
  color:var(--lx-muted);
}

.lx-lead-form{
  display:grid;
  gap:12px;
}

.lx-lead-form input{
  width:100%;
  min-height:46px;
  padding:12px 14px;
  border:1px solid var(--lx-line);
  border-radius:12px;
  outline:none;
  background:#fff;
}

.lx-mini-specs{
  display:grid;
  gap:10px;
  margin-top:16px;
  font-size:14px;
}

.lx-section h2{
  margin:0 0 18px;
  font-size:30px;
  line-height:1.15;
  color:var(--lx-black);
}

.lx-content{
  color:#2b2b2b;
  line-height:1.85;
}

.lx-content p:last-child{ margin-bottom:0; }

.lx-spec-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}

.lx-spec{
  padding:16px;
  border:1px solid var(--lx-line);
  border-radius:16px;
  background:#fff;
}

.lx-spec strong{
  display:block;
  margin-bottom:6px;
  color:var(--lx-black);
  font-size:13px;
  text-transform:uppercase;
  letter-spacing:.04em;
}

.lx-spec span{
  display:block;
  color:#2f2f2f;
  line-height:1.6;
}

.lx-pill-list{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:0;
  padding:0;
  list-style:none;
}

.lx-pill-list li{
  padding:10px 14px;
  border:1px solid var(--lx-line);
  border-radius:999px;
  background:#fff;
}

.lx-units-list{
  display:grid;
  gap:12px;
}

.lx-unit-row{
  padding:14px 16px;
  border:1px solid var(--lx-line);
  border-radius:14px;
  background:#fff;
}

.lx-gallery-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}

.lx-gallery-item{
  display:block;
  border-radius:16px;
  overflow:hidden;
  background:#f2f2f2;
  box-shadow:var(--lx-shadow);
}

.lx-gallery-item img{
  display:block;
  width:100%;
  height:260px;
  object-fit:cover;
}

.lx-section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  margin-bottom:18px;
}

.lx-more-link{
  color:var(--lx-black);
  text-decoration:none;
  font-weight:600;
}

.lx-cards-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
}

.lx-card{
  overflow:hidden;
  border:1px solid var(--lx-line);
  border-radius:18px;
  background:#fff;
  box-shadow:var(--lx-shadow);
}

.lx-card-media{
  display:block;
  background:#f4f4f4;
}

.lx-card-media img,
.lx-card-placeholder{
  display:block;
  width:100%;
  height:240px;
  object-fit:cover;
}

.lx-card-placeholder{
  background:linear-gradient(135deg,#efefef,#e1e1e1);
}

.lx-card-body{
  padding:16px;
}

.lx-card-body h2,
.lx-card-body h3{
  margin:0 0 8px;
  font-size:20px;
  line-height:1.3;
}

.lx-card-body a{
  color:var(--lx-black);
  text-decoration:none;
}

.lx-card-meta{
  color:var(--lx-muted);
  font-size:14px;
  margin-bottom:8px;
}

.lx-card-price{
  font-weight:700;
  color:var(--lx-black);
}

.lx-entity-logo-wrap{
  display:flex;
  justify-content:center;
  align-items:center;
  min-height:240px;
  padding:20px;
  border:1px solid var(--lx-line);
  border-radius:22px;
  background:#fff;
  box-shadow:var(--lx-shadow);
}

.lx-entity-logo{
  max-width:100%;
  max-height:180px;
  object-fit:contain;
}

.lx-archive-hero{
  padding-bottom:12px;
}

.lx-pagination{
  margin-top:28px;
}

.lx-video-modal{
  position:fixed;
  inset:0;
  z-index:9999;
}

.lx-video-backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.72);
}

.lx-video-dialog{
  position:relative;
  max-width:980px;
  margin:6vh auto 0;
  padding:0 18px;
  z-index:2;
}

.lx-video-frame{
  position:relative;
  background:#000;
  border-radius:18px;
  overflow:hidden;
  box-shadow:var(--lx-shadow);
}

.lx-video-frame iframe,
.lx-video-frame video{
  display:block;
  width:100%;
  min-height:560px;
  border:0;
}

.lx-video-close{
  position:absolute;
  top:-14px;
  right:6px;
  width:42px;
  height:42px;
  border:none;
  border-radius:50%;
  background:#fff;
  color:#111;
  font-size:28px;
  line-height:1;
  cursor:pointer;
  z-index:5;
}

@media (max-width:1100px){
  .lx-overview-grid{
    grid-template-columns:1fr;
  }

  .lx-sticky-box{
    position:relative;
    top:auto;
  }

  .lx-cards-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

@media (max-width:900px){
  .lx-hero-grid,
  .lx-entity-hero-grid{
    grid-template-columns:1fr;
  }

  .lx-hero h1,
  .lx-entity-single h1,
  .lx-archive h1{
    font-size:34px;
  }

  .lx-spec-grid{
    grid-template-columns:1fr;
  }

  .lx-gallery-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .lx-cards-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .lx-video-frame iframe,
  .lx-video-frame video{
    min-height:420px;
  }
}

@media (max-width:640px){
  .lx-wrap{
    padding:0 14px;
  }

  .lx-section{
    padding:34px 0;
  }

  .lx-hero{
    padding-top:28px;
  }

  .lx-hero h1,
  .lx-entity-single h1,
  .lx-archive h1{
    font-size:28px;
  }

  .lx-lead{
    font-size:16px;
  }

  .lx-gallery-grid,
  .lx-cards-grid{
    grid-template-columns:1fr;
  }

  .lx-gallery-item img{
    height:220px;
  }

  .lx-card-media img,
  .lx-card-placeholder{
    height:220px;
  }

  .lx-hero-image{
    min-height:280px;
  }

  .lx-video-frame iframe,
  .lx-video-frame video{
    min-height:240px;
  }

  .lx-section-head{
    flex-direction:column;
    align-items:flex-start;
  }
}

.lx-card-price{margin-top:8px;font-weight:700}
.lx-btn-block{width:100%}
.lx-faq details{border:1px solid #e6e6e6;border-radius:10px;padding:14px 16px;background:#fff;margin-bottom:12px}
.lx-faq summary{cursor:pointer;font-weight:700}
.lx-note{font-size:13px;color:#666}
.lx-units-list .lx-unit-row{padding:12px 14px;border:1px solid #ececec;border-radius:10px;background:#fff}