
.mlabp {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  font-family: inherit;
  overflow-y: auto; 
}
.mlabp.mlabp--show { display: block; }


.mlabp__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.6);
}

.mlabp__modal {
  position: relative;
  z-index: 1;
  width: min(92vw, 720px); 
  max-height: 90vh;        
  margin: 5vh auto;       
  background: #fff;
  overflow: hidden;        
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  display: flex;          
  flex-direction: column;
  overflow:visible;
}

.mlabp__close{
  position:absolute;
  top:-16px;              
  right:-16px;
  width:36px;
  height:36px;
  border-radius:9999px;
  border:2px solid #fff;
  background:#262937;
  color:#fff;         
  font-size:18px;
  line-height:1;
  cursor:pointer;
  box-shadow:0 2px 8px rgba(0,0,0,.15);
}

.mlabp__hero {
  display: block;
  width: 100%;
  height: auto;
  max-height: 50vh;   
  object-fit: cover;  
}

.mlabp__content {
  padding: 15px 24px;
  text-align: center;   
}

.mlabp__content h2 {
  margin: 0 0 8px;
  font-size: 51px;
  color: #1779c6;
  font-weight: 800;
}

.mlabp__content p {
  margin: 0 auto 12px;
  max-width: 560px;
  color: #333;
  font-size: 17px;
}

.mlabp__badge {
  width: 175px;
  height: 152px;
  display: block;
  margin: 12px auto 6px;
}


@media (max-width: 640px) {
  .mlabp__modal{
    width: 88vw;
    max-height: 677px;
    height: 100%;
    margin: 2vh auto;
    top: 90px;
  }
  .mlabp__hero{
    max-height: 400px;
    height: 100%;      
    object-fit: cover;      
  }
  .mlabp__content{
    padding: 18px 20px;
  }
  .mlabp__content h2 { font-size: 40px; }
  .mlabp__content p { font-size: 16px; }
}
