/*FrontEND CSS*/
/*FrontEND CSS*/
/*FrontEND CSS*/
/*FrontEND CSS*/

/* HIND SILIGURI FONT */
@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@300;400;500;600;700&family=Reem+Kufi+Fun:wght@400..700&display=swap');

/* Root wrapper ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Å“ isolate from theme */
.bmd-wrap{
  font-family: "Hind Siliguri", sans-serif;
  text-decoration: none !important;
  color:#111;
  max-width:1180px;
  margin:0 auto;
  padding:12px 12px 30px;
}
.bmd-wrap *{ box-sizing:border-box; }

/* ===============================
   DESIGNATION TABS
================================ */
.bmd-tabs{ margin:0 0 12px; }
.bmd-tabs-inner{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.bmd-tab{
  appearance:none;
  border: 1px solid #4EA853;
  background: #4EA853;
  color:#fff;
  padding: 7px 10px;
  border-radius: 4px;
  font-size:16px;
  font-weight:700;
  cursor:pointer;
  line-height:1;
  transition: all 0.3s;
}

.bmd-tab.is-active{
  background: #d33d2c;
  border-color: #d33d2c;
}

.bmd-tab:hover {
    background: #157615;
    border: 1px solid #157615;
}

/* ===============================
   FILTER BAR ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Å“ ONE LINE ONLY
================================ */
.bmd-filters{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:nowrap;            
  margin:6px 0 18px;
}

.bmd-wrap .bmd-filters select{
  flex:0 0 auto;          
  width:220px;            
  height:44px;
  border:1px solid #d9d9d9;
  border-radius:4px;
  padding:0 12px;
  font-size:15px;
  background:#fff;
  color:#111;
}


/* Search Button */
.bmd-search{
  width:120px;
  height:44px;
  border:none;
  background:#d33a2c;
  color:#fff;
  font-weight:800;
  font-size:14px;
  border-radius:4px;
  cursor:pointer;
  transition: all 0.3s;
  text-decoration: none !important;
}

button.bmd-search:hover {
    background: #51ae55;
}

@media (max-width:768px){
  .bmd-wrap .bmd-filters select{ min-width:140px; }
  .bmd-search{ width:110px; }
}

/* ===============================
   MEMBER GRID
================================ */
.bmd-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0,1fr));
  gap:18px;
  padding-top: 8px;
}

@media (max-width:768px){
  .bmd-grid{
    grid-template-columns:repeat(2, minmax(0,1fr));
  }
}

/* ===============================
   MEMBER CARD (LISTING)
================================ */
.bmd-card{
  display:block;
  border-radius: 0 0 10px 10px;
  overflow:hidden;
  background:#fff;
  text-decoration:none !important;
  color:inherit;
  transition: all 0.3s;
  box-shadow: rgba(0, 0, 0, 0.05) 0px 5px 16px 8px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
}

.bmd-card:hover {
    transform: scale(1.03);
    box-shadow: rgba(0, 0, 0, 0.45) 0px 25px 20px -20px;
}

.bmd-photo img{
  width:100%;
  height: 265px;
  object-fit: fill;
  display:block;
}

@media(max-width:768px){
  .bmd-photo img {height: 205px;}
}

.bmd-body{
  padding: 14px 0px 0px;
  position: relative;
  min-height: 130px;
}

.bmd-name{
  font-size: 22px;
  font-weight:800;
  margin:0 0 6px;
  color:#2f3947;
  font-family: "Hind Siliguri", sans-serif;
  text-decoration: none;
  text-align: center;
  padding: 0px 22px;
}

@media(max-width: 767px){
  .bmd-name{
    padding: 0;
  }
}

.bmd-desig{
  font-size: 20px;
  font-weight:600;
  color: #ffffff;
  margin:0;
  font-family: "Hind Siliguri", sans-serif;
  text-decoration: none;
  text-align: center;
  background: #316f3a;
  padding: 3px 0px !important;
  position: absolute;
  width: 100%;
  bottom: 0;
}

/* ===============================
   LOADING / EMPTY
================================ */
.bmd-loading,
.bmd-empty{
  grid-column:1 / -1;
  padding:16px;
  border:1px solid #e8e8e8;
  border-radius:10px;
  background:#fff;
  text-align:center;
  font-size:14px;
  color:#555;
}

@media (max-width: 768px){
  .bmd-filters{
    flex-wrap: wrap;
    gap: 10px;
  }

  .bmd-wrap .bmd-filters select{
    width: 100% !important;   /* container full width */
    min-width: 0 !important;  /* force shrink */
  }

  .bmd-search{
    width: 100%;
    height: 44px;
  }
}