/* Dawatul Islam 24 Modern UI — Final Stable Version */
:root{
  --di-green:#0f5132;
  --di-green-2:#0b3d26;
  --di-gold:#c8a951;
  --di-bg:#f7f8f4;
  --di-text:#202020;
  --di-muted:#666;
  --di-border:#e6e6e6;
}

*{box-sizing:border-box;}

body{
  background:var(--di-bg);
  color:var(--di-text);
  font-family:'SolaimanLipi', Arial, sans-serif;
  overflow-x:hidden;
}

.di-container{
  width:100%;
  max-width:1180px;
  margin:0 auto;
  padding:0 14px;
}

/* Top bar */
.di-topbar{
  background:var(--di-green-2);
  color:#fff;
  font-size:15px;
}

.di-topbar-inner{
  min-height:38px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.di-social a{
  color:#fff;
  width:30px;
  height:30px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  text-decoration:none;
  margin-left:4px;
  background:rgba(255,255,255,.12);
}

.di-social a:hover{
  background:var(--di-gold);
  color:#111;
}

/* Brand */
.di-brandbar{
  background:#fff;
  border-bottom:1px solid var(--di-border);
}

.di-brand-inner{
  min-height:96px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

.di-logo img{
  max-width:230px;
  height:auto;
  display:block;
}

.di-header-ad{
  max-width:728px;
  width:100%;
  min-height:61px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}

/* Navigation */
.di-nav-wrap{
  background:var(--di-green);
  box-shadow:0 6px 18px rgba(0,0,0,.08);
  position:sticky;
  top:0;
  z-index:999;
  border-bottom:3px solid var(--di-gold);
}

.di-nav{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
}

.di-nav a,
.di-dropdown > button{
  color:#fff;
  padding:14px 15px;
  text-decoration:none;
  font-size:17px;
  line-height:1.2;
  border:none;
  background:transparent;
  cursor:pointer;
  font-family:'SolaimanLipi', Arial, sans-serif;
  white-space:nowrap;
}

.di-nav a:hover,
.di-dropdown:hover > button,
.di-nav a.active,
.di-dropdown.active > button{
  background:var(--di-gold);
  color:#111;
}

.di-dropdown{
  position:relative;
}

.di-dropdown-menu{
  display:none;
  position:absolute;
  top:100%;
  left:0;
  min-width:190px;
  background:#fff;
  border:1px solid var(--di-border);
  box-shadow:0 14px 30px rgba(0,0,0,.14);
  z-index:1000;
}

.di-dropdown-menu a{
  display:block;
  color:#222;
  padding:12px 14px;
  font-size:16px;
  border-bottom:1px solid #f0f0f0;
}

.di-dropdown-menu a:hover{
  background:#f4f4f4;
  color:var(--di-green);
}

.di-dropdown:hover .di-dropdown-menu{
  display:block;
}

.di-menu-icon{
  display:none !important;
}

/* Existing homepage/card polish */
.post-section,
.lead-one,
.section-profile{
  border-radius:10px;
}

.post-img img,
.meta-img img{
  border-radius:10px;
  transition:.25s ease;
}

.post-img img:hover,
.meta-img img:hover{
  transform:scale(1.015);
}

.profile-name,
.profile-name-2,
.profile-name-3{
  color:var(--di-green);
  border-left:5px solid var(--di-gold);
  padding-left:10px;
}

/* Article image stability */
.di-featured-img{
  width:100% !important;
  overflow:hidden !important;
  border-radius:14px !important;
}

.di-featured-img img{
  width:100% !important;
  height:auto !important;
  display:block !important;
  object-fit:contain !important;
}

/* Mobile: stable horizontal nav, no ugly hamburger */
@media(max-width:768px){
  body{
    margin:0 !important;
  }

  .di-container{
    padding:0 10px;
  }

  .di-topbar-inner{
    flex-direction:column;
    justify-content:center;
    padding:8px 14px;
    text-align:center;
  }

  .di-date{
    font-size:15px;
    line-height:1.45;
  }

  .di-social{
    display:flex;
    justify-content:center;
    gap:8px;
  }

  .di-social a{
    width:42px;
    height:42px;
    font-size:20px;
    margin:0;
  }

  .di-brand-inner{
    flex-direction:column;
    min-height:auto;
    padding-top:16px;
    padding-bottom:16px;
  }

  .di-logo img{
    max-width:250px;
  }

  .di-header-ad{
    display:none !important;
  }

  .di-nav-wrap{
    position:sticky;
    top:0;
    z-index:9999;
    overflow:hidden;
  }

  .di-nav{
    display:flex !important;
    flex-wrap:nowrap !important;
    align-items:center !important;
    overflow-x:auto !important;
    overflow-y:hidden !important;
    white-space:nowrap !important;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
    min-height:52px;
  }

  .di-nav::-webkit-scrollbar{
    display:none;
  }

  .di-nav a,
  .di-dropdown > button{
    display:inline-flex !important;
    align-items:center;
    width:auto !important;
    min-width:auto !important;
    text-align:center !important;
    padding:15px 16px !important;
    font-size:17px !important;
    border-bottom:none !important;
    flex:0 0 auto !important;
  }

  .di-menu-icon{
    display:none !important;
  }

  .di-dropdown{
    display:inline-flex !important;
    flex:0 0 auto !important;
  }

  .di-dropdown-menu{
    display:none !important;
  }

  .di-dropdown:hover .di-dropdown-menu{
    display:none !important;
  }

  .di-nav a.active,
  .di-dropdown.active > button{
    background:var(--di-gold) !important;
    color:#111 !important;
  }
}

@media(max-width:480px){
  .di-date{
    font-size:14px;
  }

  .di-logo img{
    max-width:225px;
  }

  .di-nav a,
  .di-dropdown > button{
    font-size:16px !important;
    padding:14px 13px !important;
  }
}
```css
/* ===== FINAL STABLE PATCH ===== */

/* Header fix */
.di-topbar{
padding:0 !important;
}

.di-topbar-inner{
min-height:42px !important;
padding:0 12px !important;
flex-direction:row !important;
}

.di-brand-inner{
min-height:90px !important;
padding:14px 0 !important;
flex-direction:row !important;
}

.di-logo img{
max-width:240px !important;
height:auto !important;
}

.di-header-ad{
display:flex !important;
align-items:center !important;
justify-content:center !important;
}

/* Navigation fix */
.di-nav{
display:flex !important;
align-items:center !important;
flex-wrap:wrap !important;
min-height:54px !important;
}

.di-nav a,
.di-dropdown > button{
display:flex !important;
align-items:center !important;
height:54px !important;
padding:0 15px !important;
}

/* Homepage grid fix */
.post-section{
height:100% !important;
display:flex !important;
flex-direction:column !important;
justify-content:flex-start !important;
}

.meta-img img,
.post-img img{
width:100% !important;
height:170px !important;
object-fit:cover !important;
}

/* Sidebar fix */
.sidebar-post,
.sidebar-item{
margin-bottom:12px !important;
}

/* Article page */
.di-content p{
font-size:18px !important;
line-height:2 !important;
}

/* Mobile */
@media(max-width:768px){

.di-topbar-inner{
flex-direction:column !important;
padding:8px 10px !important;
}

.di-brand-inner{
flex-direction:column !important;
}

.di-header-ad{
display:none !important;
}

.di-nav{
overflow-x:auto !important;
flex-wrap:nowrap !important;
white-space:nowrap !important;
}

.di-nav::-webkit-scrollbar{
display:none;
}

.di-nav a,
.di-dropdown > button{
height:auto !important;
padding:14px 14px !important;
flex:0 0 auto !important;
}

.meta-img img,
.post-img img{
height:auto !important;
aspect-ratio:16/9 !important;
}

}
```
