/* Manava Widget — Flagship Project (hero image + master plan card + stats + CTAs)
   base styles. Mirrors the original design exactly; Elementor's control-generated
   CSS layers on top of this per widget instance. Scoped under a class (not an ID)
   so the widget can be dropped onto a page more than once. */

.mh-flag-section{
  --mh-bg-cream:#f5f1e8;
  --mh-bg-white:#ffffff;
  --mh-text-green:#1e3a2e;
  --mh-text-terracotta:#a8632f;
  --mh-btn-gold:#ba9959;
  --mh-btn-terracotta:#c1794a;

  background:var(--mh-bg-cream);
  padding:80px 24px;
  font-family:'Poppins', 'Segoe UI', Helvetica, Arial, sans-serif;
  box-sizing:border-box;
}
.mh-flag-section *{box-sizing:border-box;}

.mh-flag-inner{
  max-width:1180px;
  margin:0 auto;
  display:grid;
  grid-template-columns: 1.1fr 1fr;
  gap:56px;
  align-items:center;
}

.mh-flag-media{
  position:relative;
}

.mh-flag-hero-img{
  width:100%;
  height:480px;
  object-fit:cover;
  border-radius:18px;
  display:block;
  box-shadow:0 20px 46px rgba(30,58,46,0.18);
}

.mh-flag-masterplan{
  position:absolute;
  left:-24px;
  bottom:-28px;
  width:200px;
  background:var(--mh-bg-white);
  border-radius:12px;
  padding:8px;
  box-shadow:0 14px 34px rgba(30,58,46,0.24);
}
.mh-flag-masterplan img{
  width:100%;
  height:110px;
  object-fit:cover;
  border-radius:7px;
  display:block;
  margin-bottom:8px;
}
.mh-flag-masterplan-link{
  display:flex;
  align-items:center;
  gap:6px;
  font-size:11.5px;
  font-weight:700;
  color:var(--mh-text-terracotta);
  text-decoration:none;
  padding:2px 4px 4px;
}
.mh-flag-masterplan-link svg{width:14px;height:14px;flex-shrink:0;}

.mh-flag-badge{
  display:inline-block;
  font-size:11.5px;
  font-weight:700;
  letter-spacing:1.4px;
  text-transform:uppercase;
  color:#ffffff;
  background:var(--mh-btn-terracotta);
  padding:7px 14px;
  border-radius:20px;
  margin-bottom:20px;
}

.mh-flag-title{
  font-family:'Playfair Display', Georgia, serif;
  font-size:44px;
  font-weight:800;
  color:var(--mh-text-green);
  margin:0 0 14px;
  line-height:1.1;
}

.mh-flag-tagline{
  font-size:15px;
  color:var(--mh-text-green);
  opacity:0.68;
  line-height:1.65;
  margin:0 0 34px;
  max-width:440px;
}

.mh-flag-stats{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:20px 24px;
  margin-bottom:38px;
  padding:24px 0;
  border-top:1px solid rgba(30,58,46,0.14);
  border-bottom:1px solid rgba(30,58,46,0.14);
}

.mh-flag-stat{
  display:flex;
  align-items:flex-start;
  gap:12px;
}
.mh-flag-stat svg{
  width:20px;
  height:20px;
  color:var(--mh-btn-terracotta);
  flex-shrink:0;
  margin-top:2px;
}
.mh-flag-stat-label{
  display:block;
  font-size:11.5px;
  color:var(--mh-text-green);
  opacity:0.55;
  margin-bottom:3px;
  text-transform:uppercase;
  letter-spacing:0.4px;
}
.mh-flag-stat-value{
  display:block;
  font-size:14.5px;
  font-weight:700;
  color:var(--mh-text-green);
}

.mh-flag-actions{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}

.mh-flag-btn{
  display:inline-flex;
  align-items:center;
  gap:9px;
  text-decoration:none;
  font-size:14px;
  font-weight:700;
  padding:14px 22px;
  border-radius:9px;
  transition:background .2s ease, color .2s ease, transform .15s ease, border-color .2s ease;
}
.mh-flag-btn svg{width:18px;height:18px;}
.mh-flag-btn:hover{transform:translateY(-2px);}

.mh-flag-btn-outline{
  background:transparent;
  color:var(--mh-text-green);
  border:1.5px solid rgba(30,58,46,0.3);
}
.mh-flag-btn-outline:hover{
  border-color:var(--mh-text-green);
  background:rgba(30,58,46,0.05);
}

.mh-flag-btn-primary{
  background:var(--mh-btn-terracotta);
  color:#ffffff;
}
.mh-flag-btn-primary:hover{
  background:var(--mh-btn-gold);
}

/* ---------- TABLET ---------- */
@media (max-width: 940px){
  .mh-flag-inner{
    grid-template-columns: 1fr;
    gap:64px;
  }
  .mh-flag-hero-img{height:400px;}
}

/* ---------- MOBILE ---------- */
@media (max-width: 560px){
  .mh-flag-section{padding:56px 16px;}
  .mh-flag-inner{gap:48px;}
  .mh-flag-hero-img{height:280px;border-radius:14px;}
  .mh-flag-masterplan{
    left:12px;
    bottom:-22px;
    width:150px;
  }
  .mh-flag-masterplan img{height:80px;}
  .mh-flag-title{font-size:30px;}
  .mh-flag-tagline{font-size:14px;}
  .mh-flag-stats{
    grid-template-columns: 1fr;
    gap:16px;
  }
  .mh-flag-actions{
    flex-direction:column;
    align-items:stretch;
  }
  .mh-flag-btn{justify-content:center;}
}
