/* সুর্য ফন্ট লোড করা */
@font-face {
    font-family: 'Shurjo';
    src: url('../../fonts/Shurjo.woff2') format('woff2'),
         url('../../fonts/Shurjo-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Shurjo';
    src: url('../../fonts/ShurjoWeb_700.woff2') format('woff2'),
         url('../../fonts/Shurjo-bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

/* Mi-Social-Photo-Card Style */
.mi-trigger-container { 
    text-align: center; 
    margin: 30px 0; 
}

.mi-action-btn { 
    background: linear-gradient(135deg, #1b8f07, #00c6ff); 
    color: #fff; 
    padding: 12px 28px; 
    border: none; 
    border-radius: 50px; 
    cursor: pointer; 
    font-weight: bold; 
    font-size: 18px; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.2); 
}

.mi-premium-layout { 
    width: 1080px; 
    height: 1080px; 
    padding: 40px; 
    display: flex; 
    flex-direction: column; 
    justify-content: space-between; 
    box-sizing: border-box; 
   font-family: 'Shurjo', sans-serif !important; /* এখানে সুর্য ফন্ট সেট করা হলো */
}

.mi-header-section { text-align: center; }
.mi-logo-img { max-width: 320px; max-height: 110px; background: #fff; padding: 12px; border-radius: 12px; }
.mi-date-box { font-size: 28px; margin-top: 10px; }
.mi-headline { font-size: 58px; text-align: center; line-height: 1.25; margin: 20px 0; font-weight: bold; }

.mi-main-frame { 
    flex-grow: 1; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    margin: 10px 0;
}

.mi-news-img { 
    width: 95%; 
    height: 500px; 
    object-fit: cover; 
    border-radius: 20px; 
    border: 6px solid rgba(255,255,255,0.3); 
}

.mi-bottom-section { 
    text-align: center; 
    padding-bottom: 20px; /* নিচের দিকে কিছুটা জায়গা রাখা হলো */
}

.mi-web-link { 
    font-size: 30px; 
    font-weight: bold; 
    margin-bottom: 25px; /* ইউআরএল এবং ব্যাজের মধ্যে গ্যাপ */
}

.mi-ad-container { 
    position: relative; 
    width: 100%; 
    margin-top: 15px;
}

.mi-link-badge { 
    position: absolute; 
    top: -22px; /* অ্যাড ইমেজের ঠিক উপরে পজিশন */
    left: 50%; 
    transform: translateX(-50%);
    padding: 6px 20px; 
    border-radius: 50px; 
    font-size: 22px; 
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3); 
    z-index: 10;
}

.mi-ad-frame { 
    width: 100%; 
    height: 110px; /* হাইট নির্দিষ্ট করে দেওয়া হলো যাতে না কাটে */
    object-fit: fill; /* ইমেজ যাতে পুরো ফ্রেমে বসে */
    border-radius: 15px; 
}

/* Modal UI */
.mi-modal-back { 
    display: none; 
    position: fixed; 
    top: 0; left: 0; width: 100%; height: 100%; 
    background: rgba(0,0,0,0.95); 
    z-index: 999999; 
    justify-content: center; 
    align-items: center; 
}

.mi-modal-inner { background: #fff; padding: 30px; border-radius: 20px; max-width: 550px; text-align: center; }
.mi-close-x { position: absolute; top: 30px; right: 50px; color: #fff; font-size: 50px; cursor: pointer; }
.mi-save-link { 
    display: inline-block; 
    margin-top: 20px; 
    font-size: 20px; 
    color: #bd081c; 
    text-decoration: none; 
    border-bottom: 3px solid; 
    font-weight: bold; 
}