/* 1. VARIABLES & BASE STYLES 
*/
@import url('https://fonts.cdnfonts.com/css/solaimanlipi');

:root {
    --primary-red: #ed1c24;
    --dark-green: #1b5e20;
    --border-color: #f0f0f0;
    --text-dark: #333;
}

body {
    font-family: 'SolaimanLipi', Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.container.my-0 {
    margin-top: 0 !important;
}

/* 2. NAVIGATION & HEADER 
*/
.mi-news-hs .nav-link {
    color: #000 !important;
    font-size: 18px;
    font-weight: 700;
    transition: 0.2s;
}

.mi-news-hs .nav-link:hover {
    color: var(--primary-red) !important;
}

.nav-icons-wrapper {
    display: flex;
    align-items: center;
    min-width: 150px;
    justify-content: flex-end;
}

.search-trigger {
    text-decoration: none;
    font-size: 20px;
    color: #333;
    margin-right: 40px !important;
    transition: 0.3s;
}

.mega-btn {
    text-decoration: none;
    font-size: 24px;
    color: #000;
    cursor: pointer;
    transition: 0.3s;
}

.search-trigger:hover, 
.mega-btn:hover {
    color: var(--primary-red) !important;
}

/* Topbar & Breaking News */
#current-time {
    vertical-align: middle;
    font-weight: 700;
}

.breaking-title {
    font-weight: 700;
}

.breaking-news-scroll marquee a {
    font-weight: 600;
    font-size: 16px;
    line-height: 40px;
}

/* 3. MAIN CONTENT SECTIONS (Section 1 & 3) 
*/
.mi-sec-1 {
    font-family: 'SolaimanLipi', 'Shurjo', serif;
    background-color: #fff;
}

.mi-sec-1 p, .mi-sec-1 a {
    color: var(--text-dark);
    line-height: 1.4;
    transition: 0.2s;
   
}

.mi-sec-1 p:hover, .mi-sec-1 a:hover {
    color: var(--primary-red) !important;
}

.mi-sec-1 h3 {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
}

.mi-sec-1 h6 {
    font-size: 18px;
    letter-spacing: 0.2px;
}

.mi-sec-1 img {
    transition: transform 0.3s;
    cursor: pointer;
}

.mi-sec-1 img:hover {
    transform: scale(1.02);
}

/* Section 3 Specifics */
.mi-news-sec-3 .main-lead-box h3 {
    font-size: 22px;
}

.mi-news-sec-3 .side-item p {
    font-size: 14px;
    line-height: 1.3;
    margin-bottom: 2px;
}

.mi-news-sec-3 .col-md-6 p {
    font-size: 13px;
    height: 38px;
    overflow: hidden;
}

/* 4. ADS & CARDS 
*/
.ad-small-box img {
    max-height: 350px!important;
    width: auto;
}

.ad-placeholder img {
    max-width: 100%;
    height: auto;
    border: 1px solid #eee;
}

.ad-item-card {
    transition: all 0.3s ease;
    border: 1px solid #eeeeee !important;
    cursor: pointer;
}

.ad-item-card:hover {
    border-color: var(--primary-red) !important;
    transform: translateY(-5px);
    background-color: #ffffff !important;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08) !important;
}

.ad-item-card p {
    font-size: 14px;
    line-height: 1.4;
    color: var(--text-dark);
    font-weight: 700 !important;
    margin-top: 5px;
    /* Multiline Ellipsis */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 5. FOOTER & UTILITIES 
*/
footer .social-icons i {
    transition: transform 0.3s;
}

footer .social-icons a:hover i {
    transform: scale(1.2);
}

footer .list-unstyled li {
    margin-bottom: 5px;
}

footer .list-unstyled a:hover {
    color: var(--primary-red) !important;
}

#backToTop {
    z-index: 1000;
    background-color: var(--dark-green);
    border: none;
}

.tags-section a {
    display: inline-block;
    padding: 3px 10px;
    background: #f8f9fa;
    border: 1px solid #ddd;
    color: #666;
    text-decoration: none;
    border-radius: 4px;
    font-size: 13px;
    margin-right: 5px;
}

.tags-section a:hover {
    background: var(--primary-red);
    color: #fff;
    border-color: var(--primary-red);
}

.border-end {
    border-color: var(--border-color) !important;
}

/* 6. RESPONSIVE MEDIA QUERIES 
*/

/* Desktop/Tablet Gutter Fix */
.mi-news-sec-3 .row.g-4 {
    --bs-gutter-x: 1.5rem;
}

@media (max-width: 991px) {
    .nav-icons-wrapper {
        border-left: 0 !important;
        padding-left: 0 !important;
        justify-content: flex-start;
        padding: 15px 0;
    }

    footer .border-end,
    .mi-sec-1 .border-end {
        border-right: none !important;
        border-bottom: 1px solid var(--border-color);
        margin-bottom: 20px;
        padding-bottom: 20px;
    }
}

@media (max-width: 767px) {
    .mi-ads-grid .card-body {
        padding: 15px !important;
    }
    .ad-item-card p {
        font-size: 13px;
    }
}
  /* Social Icon */
        .social-links a {
            display:inline-flex;
            align-items:center;
            justify-content:center;
            width:36px;
            height:36px;
            border-radius:50%;
            color:#fff;
            margin-left:8px;
            transition:.3s;
            font-size:14px;
        }
        .social-links a:hover {
            transform:translateY(-3px);
            box-shadow:0 4px 10px rgba(0,0,0,.2);
        }
        .facebook{background:#1877f2;}
        .twitter{background:#1da1f2;}
        .youtube{background:#ff0000;}
        .linkedin{background:#0077b5;}
        .instagram{
            background:linear-gradient(45deg,#feda75,#fa7e1e,#d62976,#962fbf,#4f5bd5);
        }

        .logo-section img{
            max-height:120px;
            width:auto;
        }

