/* =========================
   ROOT RESET
========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

html,
body{
    width:100%;
    overflow-x:hidden;
}

body{
    font-family:'Segoe UI Variable',sans-serif;
    background:#f4f6f9;
    color:#111;
    line-height:1.5;
}


/* =========================
   GLOBAL MEDIA
========================= */

img,
video,
iframe{
    max-width:100%;
    height:auto;
    display:block;
}


/* =========================
   CONTAINERS
========================= */

.container,
.container-fluid{
    width:100%;
    max-width:100%;
    padding-left:8px;
    padding-right:8px;
}

.row{
    margin-left:0;
    margin-right:0;
}


/* =========================
   TOP BAR
========================= */

.top-bar{
    background:linear-gradient(rgb(224,3,3),rgb(109,4,4));
    padding:5px 0;
    font-size:14px;
}

.top-bar .nav-link{
    color:#ddd;
    padding:5px 8px;
    transition:.3s;
    border-radius:4px;
}

.top-bar .nav-link:hover{
    color:#fff;
    background:#e60000;
}

.date-text{
    color:#ddd;
    font-weight:500;
}


/* =========================
   SOCIAL
========================= */

.social-icons{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
}

.social-icons a{
    color:#ddd;
    margin-left:10px;
    font-size:15px;
    transition:.3s;
}

.social-icons a:hover{
    color:#fff;
    transform:translateY(-2px);
}


/* =========================
   HEADER
========================= */

.header-section{
    background:#fff;
    border-bottom:2px solid #c40000;
    padding:5px 0;
}

.site-logo{
    width:auto;
    max-width:100%;
    max-height:85px;
    object-fit:contain;
}

.site-banner{
    width:100%;
    height:auto;
    max-height:120px;
    object-fit:cover;
    border-radius:6px;
}


/* =========================
   MAIN WRAPPER
========================= */

.newspaper-wrapper{
    width:100%;
    max-width:1600px;
    margin:auto;
    padding:6px;
    padding-bottom:55px;
}


/* =========================
   GRID
========================= */
.newspaper-grid{
    display:flex;
    gap:10px;
    align-items:flex-start;
    width:100%;
    flex-wrap:nowrap;
}
/* =========================
   COLUMN BOXES
========================= */
.main-story{
    flex:5;
    display:flex;
    flex-direction:column;
    gap:10px;

    background:#fff;
    border-radius:6px;
    padding:8px;
    overflow:hidden;

    width:100%;
    height:auto !important;
    min-height:auto !important;

    align-self:flex-start;
}

.second-story{
    flex:3;
    display:flex;
    flex-direction:column;
    gap:10px;

    background:#fff;
    border-radius:6px;
    padding:8px;
    overflow:hidden;

    width:100%;
    height:auto !important;
    min-height:auto !important;

    align-self:flex-start;
}

.editorial-column{
    flex:2;
    display:flex;
    flex-direction:column;
    gap:10px;

    background:#fff;
    border-radius:6px;
    padding:8px;
    overflow:hidden;

    width:100%;
    height:auto !important;
    min-height:auto !important;

    align-self:flex-start;
}



/* =========================
   NAVBAR
========================= */

.second-bar{
    background:linear-gradient(rgb(224,3,3),rgb(109,4,4));
}

.second-bar .nav-link{
    color:#fff;
    font-weight:600;
}


/* =========================
   DROPDOWN
========================= */

.dropdown-menu{
    border:none;
    border-radius:6px;
    box-shadow:0 4px 15px rgba(0,0,0,.15);
}

.navbar .dropdown:hover .dropdown-menu{
    display:block;
}


/* =========================
   CUSTOM IMAGES
========================= */

.custom-img{
    width:100%;
    height:auto;
}


/* =========================
   VIGYAPAN
========================= */

.vigyapan-img{
    width:100%;
    max-width:500px;
    margin:auto;
    height:150px;
    background-image:url(images/4.webp);
    background-repeat:no-repeat;
    background-position:center;
    background-size:cover;
    border-radius:6px;
}


/* =========================
   CARDS
========================= */

.custom-card,
.custom-card1{
    width:100%;
    background:#fff;
    border-radius:6px;
    overflow:hidden;
    height:auto !important;
    min-height:auto !important;
}

.custom-card img,
.custom-card1 img{
    width:100%;
    height:auto !important;
    object-fit:cover;
    display:block;
}


/* =========================
   SLIDESHOW
========================= */

.slideshow-wrapper{
    overflow:hidden;
    position:relative;
    border-radius:6px;
}

.slides{
    display:flex;
    transition:transform .5s ease;
}

.slide{
    min-width:100%;
}

.slide img{
    width:100%;
    height:auto;
    max-height:240px;
    object-fit:cover;
}


/* =========================
   BUTTONS
========================= */

.prev,
.next{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:38px;
    height:38px;
    border:none;
    border-radius:50%;
    background:rgba(0,0,0,.6);
    color:#fff;
    cursor:pointer;
    z-index:10;
    font-size:16px;
}

.prev{
    left:10px;
}

.next{
    right:10px;
}


/* =========================
   DOTS
========================= */

.dots{
    text-align:center;
    padding:8px 0;
}

.dot{
    width:10px;
    height:10px;
    margin:4px;
    background:#999;
    border-radius:50%;
    display:inline-block;
    cursor:pointer;
}

.active{
    background:#00e5ff;
}


/* =========================
   REMOVE EMPTY AREAS
========================= */

.blank-area-section,
.blank-area-ads{
    display:none !important;
    width:0 !important;
    height:0 !important;
    margin:0 !important;
    padding:0 !important;
    overflow:hidden !important;
}


/* =========================
   PREMIUM ADS
========================= */

.premium-ads{
    margin:0 !important;
    padding:0 !important;
    min-height:0 !important;
}


/* =========================
   FLOATING AD
========================= */

.floating-overlay-ad{
    position:fixed;
    right:10px;
    bottom:65px;
    width:260px;
    z-index:99999;
    background:#fff;
    padding:5px;
    border-radius:10px;
    box-shadow:0 8px 25px rgba(0,0,0,.2);
}

.floating-overlay-ad img{
    width:100%;
    height:auto;
    max-height:240px;
    object-fit:cover;
    border-radius:8px;
}

.floating-overlay-close{
    position:absolute;
    top:-8px;
    right:-8px;
    width:24px;
    height:24px;
    border:none;
    border-radius:50%;
    background:red;
    color:#fff;
    font-size:13px;
    cursor:pointer;
}


/* =========================
   FOOTER
========================= */

.bottom-fixed-bar{
    position:fixed;
    bottom:0;
    left:0;
    width:100%;
    padding:8px 0;
    background:linear-gradient(to right,#e00303,#6d0404);
    color:#fff;
    text-align:center;
    z-index:999;
}

/* =========================
   LARGE DEVICES
========================= */

@media(max-width:1400px){

    .main-story{
        flex:4;
    }

    .second-story{
        flex:3;
    }

    .editorial-column{
        flex:2;
    }

}


/* =========================
   TABLET
========================= */

@media(max-width:1200px){

    .newspaper-grid{
        flex-wrap:wrap;
    }

    .main-story{
        flex:1 1 100%;
    }

    .second-story{
        flex:1 1 58%;
    }

    .editorial-column{
        flex:1 1 38%;
    }

}


/* =========================
   MOBILE
========================= */

@media(max-width:768px){

    .newspaper-grid{
        flex-direction:column;
        gap:8px;
    }

    .main-story,
    .second-story,
    .editorial-column{
        width:100%;
        flex:none;
        padding:8px;
    }

    .site-banner{
        max-height:none;
    }

    .site-logo{
        max-height:70px;
        margin:auto;
    }

    .slide img{
        max-height:180px;
    }

    .floating-overlay-ad{
        width:220px;
        bottom:58px;
        right:8px;
    }

    .floating-overlay-ad img{
        max-height:180px;
    }

    .top-bar{
        text-align:center;
    }

    .social-icons{
        justify-content:center;
        margin-top:6px;
    }

}


/* =========================
   SMALL MOBILE
========================= */

@media(max-width:480px){

    .newspaper-wrapper{
        padding:4px;
    }

    .main-story,
    .second-story,
    .editorial-column{
        padding:6px;
    }

    .slide img{
        max-height:150px;
    }

    .floating-overlay-ad{
        width:180px;
        right:5px;
        bottom:52px;
    }

    .floating-overlay-ad img{
        max-height:150px;
    }

    .prev,
    .next{
        width:32px;
        height:32px;
        font-size:13px;
    }

    .top-bar .nav-link{
        padding:4px 5px;
        font-size:12px;
    }
    
}
/* =========================
   PREVENT COLUMN STRETCH
========================= */
.main-story > *,
.second-story > *,
.editorial-column > *{
    flex:none !important;
    width:100%;

    height:auto !important;
    min-height:auto !important;
    max-height:none !important;

    overflow-wrap:break-word;
    word-wrap:break-word;
    word-break:break-word;

    align-self:flex-start;
}