

.bmgn-box-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:24px;
}

.bmgn-box-card{
    position:relative;
    background:#FAFDFF;
    border:1px solid #E5E7EB;
    border-radius:12px;
    padding:32px;
    overflow:hidden;
    transition:all .3s ease;
}

.bmgn-box-card:hover{
    transform:translateY(-6px);
    box-shadow:0 15px 40px rgba(0,0,0,.08);
}

.bmgn-box-border{
    position:absolute;
    top:0;
    left:0;
    width:5px;
    height:100%;
    background:#2F97ED;
    border-radius:0 6px 6px 0;
}

.bmgn-box-number{
    position:absolute;
    top:-8px;
    right:24px;
    font-size:72px;
    line-height:1;
    font-weight:700;
    color:#EAF5FF;
    font-family:inherit;
    pointer-events:none;
    user-select:none;
}

.bmgn-box-title{
    position:relative;
    z-index:2;
    margin-bottom:18px;
    padding-right:70px;
}

.bmgn-box-content{
    position:relative;
    z-index:2;
    color:#444;
    font-size:16px;
}

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

.bmgn-box-image{
    width:38px;
    height:38px;
    margin-bottom:16px;
    position:relative;
}

.bmgn-box-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:8px;
}


/* Base Design: Tablet */

@media(max-width:991px){

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

    .bmgn-box-card{
        padding:28px;
    }

    .bmgn-box-number{
        font-size:60px;
    }
}


/* Base Design: Mobile */

@media(max-width:767px){

    .bmgn-box-grid{
        grid-template-columns:1fr;
        gap:20px;
    }

    .bmgn-box-card{
        padding:24px;
    }

    .bmgn-box-number{
        top:-8px;
        right:18px;
        font-size:52px;
    }

    .bmgn-box-title{
        font-size:20px;
        padding-right:50px;
    }
}

.bmgn-box-editor .bmgn-box-item{
    margin:20px 0;
    padding:20px;
    border:1px solid #ddd;
    border-radius:10px;
    background:#fff;
}


/* =====================================
   LAYOUT BOX 1
   Parent Class: layout_box_1
===================================== */

.layout_box_1.bmgn-box{
    background:#f6f9ff;
}

.layout_box_1 .bmgn-box-grid{
    grid-template-columns:repeat(3,1fr);
    gap:24px;
}

.layout_box_1 .bmgn-box-card{
    background:#ffffff;
    border:1px solid #dce7f5;
    border-radius:8px;
    padding:24px;
    min-height:132px;
    box-shadow:0 5px 18px rgba(47,151,237,.10);
    transition:.3s ease;
}

.layout_box_1 .bmgn-box-card:hover{
    transform:translateY(-5px);
    box-shadow:0 12px 30px rgba(47,151,237,.15);
}

.layout_box_1 .bmgn-box-border{
    display:none;
}

.layout_box_1 .bmgn-box-icon{
    width:36px;
    height:36px;
    background:#000;
    border-radius:7px;
    margin-bottom:16px;
    position:relative;
}

.layout_box_1 .bmgn-box-icon::after{
    content:"";
    position:absolute;
    top:-3px;
    right:-3px;
    width:7px;
    height:7px;
    background:#2f97ed;
    border-radius:50%;
}

.layout_box_1 .bmgn-box-number{
    display:none;
}

.layout_box_1 .bmgn-box-card:last-child{
    background:#eaf4ff;
    border:2px dashed #2f97ed;
}

.layout_box_1 .bmgn-box-image{
    width: 40px; 
	 height: 40px; 
}


.layout_box_1 .bmgn-box-image img {
	border-radius: 0;
	/* width: 40px; */
	/* height: 40px; */
	object-fit: contain;
}


/* Layout Box 1: Tablet */

@media(max-width:991px){

    .layout_box_1 .bmgn-box-grid{
        grid-template-columns:repeat(2,1fr);
    }
}


/* Layout Box 1: Mobile */

@media(max-width:767px){
    .layout_box_1 {
    	padding: 20px;
    }

    .layout_box_1 .bmgn-box-grid{
        grid-template-columns:1fr;
        gap:16px;
    }

    .layout_box_1 .bmgn-box-card{
        padding:20px;
    }
}


/* =====================================
   LAYOUT BOX 2
   Parent Class: layout_box_2
===================================== */

.layout_box_2 .max-w-7xl.mx-auto.px-4.sm\:px-4.lg\:px-4{
    max-width:1280px;
    width:100%;
    display:flex;
    align-items:stretch;
    padding:0;
    margin:auto;
}

.layout_box_2 .text-center.mb-12{
    width:42%;
    margin:0;
    background:#eef5ff;
    padding:50px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:flex-start;
    text-align:left;
    box-sizing:border-box;
}

.layout_box_2 .text-center.mb-12 h2{
    margin:0 0 25px;
}

.layout_box_2 .text-center.mb-12 p,
.layout_box_2 .text-center.mb-12 .excerpt{
    margin:0;
    max-width:390px;
    font-size:18px;
    line-height:1.7;
    color:#374151;
}

.layout_box_2 .bmgn-box-grid{
    width:58%;
    display:grid;
    grid-template-columns:repeat(2,1fr);
    grid-template-rows:repeat(2,1fr);
    gap:0;
}

.layout_box_2 .bmgn-box-card{
    width:100%;
    min-height:250px;
    height:100%;
    padding:25px 40px;
    border:none;
    border-radius:0;
    box-shadow:none;
    display:flex;
    flex-direction:column;
    justify-content:flex-start;
    align-items:center;
    text-align:center;
    box-sizing:border-box;
}

.layout_box_2 .bmgn-box-card:nth-child(1),
.layout_box_2 .bmgn-box-card:nth-child(4){
    background:#2f97ed;
}

.layout_box_2 .bmgn-box-card:nth-child(2),
.layout_box_2 .bmgn-box-card:nth-child(3){
    background:#fff;
}

.layout_box_2 .bmgn-box-image{
    width:58px;
    height:58px;
    margin:0 auto 18px;
    border-radius:50%;
    overflow:hidden;
    flex-shrink:0;
    display:flex;
    align-items:center;
    justify-content:center;
}

.layout_box_2 .bmgn-box-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:50%;
}

.layout_box_2 .bmgn-box-title{
    padding:0;
    margin:0 0 14px;
    font-size:20px;
    line-height:1.35;
    font-weight:700;
    color:#111827;
    text-align:center;
}

.layout_box_2 .bmgn-box-content{
    max-width:310px;
    margin:0;
    font-size:16px;
    line-height:1.55;
    color:#374151;
    text-align:center;
}

.layout_box_2 .bmgn-box-card:nth-child(1) .bmgn-box-title,
.layout_box_2 .bmgn-box-card:nth-child(1) .bmgn-box-content,
.layout_box_2 .bmgn-box-card:nth-child(4) .bmgn-box-title,
.layout_box_2 .bmgn-box-card:nth-child(4) .bmgn-box-content{
    color:#fff;
}

.layout_box_2 .bmgn-box-border,
.layout_box_2 .bmgn-box-number{
    display:none;
}

.layout_box_2 .bmgn-box-card:hover{
    transform:none;
    box-shadow:none;
}


/* Layout Box 2: Desktop */

@media(min-width:992px){

    .layout_box_2 .max-w-7xl.mx-auto.px-4.sm\:px-4.lg\:px-4{
        min-height:560px;
    }

    .layout_box_2 .text-center.mb-12{
        min-height:560px;
    }

    .layout_box_2 .bmgn-box-card{
        min-height:280px;
    }
}


/* Layout Box 2: Tablet */

@media(max-width:991px){

    .layout_box_2 .max-w-7xl.mx-auto.px-4.sm\:px-4.lg\:px-4{
        flex-direction:column;
    }

    .layout_box_2 .text-center.mb-12,
    .layout_box_2 .bmgn-box-grid{
        width:100%;
    }

    .layout_box_2 .text-center.mb-12{
        padding:50px 35px;
    }
}


/* Layout Box 2: Mobile */

@media(max-width:767px){

    .layout_box_2 .bmgn-box-grid{
        grid-template-columns:1fr;
        grid-template-rows:auto;
    }

    .layout_box_2 .bmgn-box-card{
        min-height:220px;
        padding:35px 25px;
    }
}