/* ================= GLOBAL ================= */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
}
body{
    background:#f4f4f4;
    color:#111;
}

a{
    text-decoration:none;
    color:inherit;
}

/* ================= CONTAINER ================= */
.container{
    width:98%;
    max-width:1600px;
    margin:auto;
}

/* ================= HEADER ================= */
header{
    background:#fdfbfb;
    color:#0f0404;
    position:sticky;
    top:0;
    z-index:999;
}

.top{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:14px 25px;
}

.logo{
    font-size:28px;
    font-weight:900;
}

/* ================= NAVIGATION ================= */
nav{
    display:flex;
    gap:20px;
}

nav a{
    color:#080202;
    font-weight:600;
    font-size:15px;
}

.dropdown{
    position:relative;
}

.dropdown-content{
    display:none;
    position:absolute;
    top:100%;
    left:0;
    background:#fff;
    min-width:180px;
    box-shadow:0 4px 8px rgba(0,0,0,0.1);
}

.dropdown-content a{
    display:block;
    padding:10px;
    color:#000;
}

.dropdown:hover .dropdown-content{
    display:block;
}

/* ================= TOP NEWS SECTION ================= */
.top-news-section{
    display:flex;
    gap:25px;
    margin-top:30px;
}

.slider-left{
    flex:2.5;
}

.slider-right{
    flex:1;
    display:flex;
    flex-direction:column;
    gap:15px;
}

/* ================= SLIDER ================= */
/* ================= SLIDER ================= */

.slider-container{
    position:relative;
    height:750px;
    overflow:hidden;
    border-radius:12px;
}

.slider-container .slide{
    position:absolute;
    inset:0;
    opacity:0;
    transition:opacity .8s ease;
}

.slider-container .slide.active{
    opacity:1;
    z-index:2;
}

.slider-container img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

img[loading="lazy"]{
    opacity:1;
}
.article-image img{
    width:100%;
    height:auto;
    max-height:500px;
    object-fit:cover;
    border-radius:10px;
}
.headline{
    position:absolute;
    bottom:30px;
    left:30px;
    color:#fff;
    font-size:30px;
    font-weight:900;
    max-width:80%;
}

/* ================= RIGHT SIDE POSTS ================= */
.side-post{
    display:flex;
    gap:10px;
}

.side-post img{
    width:95px;
    height:70px;
    object-fit:cover;
    border-radius:6px;
}

.side-post span{
    font-size:14px;
    font-weight:600;
    line-height:1.4;
}

/* ================= TAB SECTION ================= */
.tab-section{
    margin-top:50px;
}

.tab-header{
    display:flex;
    gap:30px;
    border-bottom:2px solid #eee;
    margin-bottom:25px;
}

.tab-btn{
    font-weight:700;
    padding:10px 0;
    cursor:pointer;
    font-size:16px;
}

.tab-btn.active{
    color:#e60023;
    border-bottom:3px solid #e60023;
}

.tab-content{
    display:none;
}

.tab-content.active{
    display:block;
}

/* ================= GRID 5 COLUMN ================= */
.news-grid-5{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:20px;
}

.grid-card img{
    width:100%;
    height:170px;
    object-fit:cover;
    border-radius:8px;
}

.grid-card p{
    margin-top:8px;
    font-size:14px;
    font-weight:600;
    line-height:1.4;
}

/* ================= CATEGORY BLOCK ================= */
.category-block{
    margin-top:60px;
}

.section-title{
    font-size:22px;
    font-weight:800;
    margin-bottom:20px;
    border-left:4px solid #e60023;
    padding-left:10px;
}

.category-layout{
    display:flex;
    gap:25px;
}

.category-big{
    flex:2;
}

.category-big img{
    width:100%;
    height:380px;
    object-fit:cover;
    border-radius:10px;
}

.category-big h3{
    margin-top:10px;
    font-size:20px;
    line-height:1.3;
}

.category-small{
    flex:1;
    display:flex;
    flex-direction:column;
    gap:15px;
}

.category-small a{
    display:flex;
    gap:10px;
}

.category-small img{
    width:95px;
    height:70px;
    object-fit:cover;
    border-radius:6px;
}

.category-small span{
    font-size:14px;
    font-weight:600;
}

/* ================= ARTICLE PAGE ================= */
.article-category{
    color:#e60023;
    font-weight:700;
    font-size:13px;
    margin-bottom:8px;
    text-transform:uppercase;
}

.article-title{
    font-size:34px;
    font-weight:900;
    margin-bottom:15px;
}

.article-subheadline{
    font-size:19px;
    color:#555;
    margin-bottom:18px;
}

.article-meta-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    border-top:1px solid #eee;
    border-bottom:1px solid #eee;
    padding:12px 0;
    margin-bottom:18px;
}
/* ================= GLOBAL ================= */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
}
body{
    background:#f4f4f4;
    color:#111;
}

a{
    text-decoration:none;
    color:inherit;
}

/* ================= CONTAINER ================= */
.container{
    width:98%;
    max-width:1600px;
    margin:auto;
}

/* ================= HEADER ================= */
header{
    background:#fdfbfb;
    color:#0f0404;
    position:sticky;
    top:0;
    z-index:999;
}

.top{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:14px 25px;
}

.logo{
    font-size:28px;
    font-weight:900;
}

/* ================= NAVIGATION ================= */
nav{
    display:flex;
    gap:20px;
}

nav a{
    color:#080202;
    font-weight:600;
    font-size:15px;
}

.dropdown{
    position:relative;
}

.dropdown-content{
    display:none;
    position:absolute;
    top:100%;
    left:0;
    background:#fff;
    min-width:180px;
    box-shadow:0 4px 8px rgba(0,0,0,0.1);
}

.dropdown-content a{
    display:block;
    padding:10px;
    color:#000;
}

.dropdown:hover .dropdown-content{
    display:block;
}

/* ================= TOP NEWS SECTION ================= */
.top-news-section{
    display:flex;
    gap:25px;
    margin-top:30px;
}

.slider-left{
    flex:2.5;
}

.slider-right{
    flex:1;
    display:flex;
    flex-direction:column;
    gap:15px;
}

/* ================= SLIDER ================= */
/* ================= SLIDER ================= */

.slider-container{
    position:relative;
    height:750px;
    overflow:hidden;
    border-radius:12px;
}

.slider-container .slide{
    position:absolute;
    inset:0;
    opacity:0;
    transition:opacity .8s ease;
}

.slider-container .slide.active{
    opacity:1;
    z-index:2;
}

.slider-container img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

img[loading="lazy"]{
    opacity:1;
}
.article-image img{
    width:100%;
    height:auto;
    max-height:500px;
    object-fit:cover;
    border-radius:10px;
}
.headline{
    position:absolute;
    bottom:30px;
    left:30px;
    color:#fff;
    font-size:30px;
    font-weight:900;
    max-width:80%;
}

/* ================= RIGHT SIDE POSTS ================= */
.side-post{
    display:flex;
    gap:10px;
}

.side-post img{
    width:95px;
    height:70px;
    object-fit:cover;
    border-radius:6px;
}

.side-post span{
    font-size:14px;
    font-weight:600;
    line-height:1.4;
}

/* ================= TAB SECTION ================= */
.tab-section{
    margin-top:50px;
}

.tab-header{
    display:flex;
    gap:30px;
    border-bottom:2px solid #eee;
    margin-bottom:25px;
}

.tab-btn{
    font-weight:700;
    padding:10px 0;
    cursor:pointer;
    font-size:16px;
}

.tab-btn.active{
    color:#e60023;
    border-bottom:3px solid #e60023;
}

.tab-content{
    display:none;
}

.tab-content.active{
    display:block;
}

/* ================= GRID 5 COLUMN ================= */
.news-grid-5{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:20px;
}

.grid-card img{
    width:100%;
    height:170px;
    object-fit:cover;
    border-radius:8px;
}

.grid-card p{
    margin-top:8px;
    font-size:14px;
    font-weight:600;
    line-height:1.4;
}

/* ================= CATEGORY BLOCK ================= */
.category-block{
    margin-top:60px;
}

.section-title{
    font-size:22px;
    font-weight:800;
    margin-bottom:20px;
    border-left:4px solid #e60023;
    padding-left:10px;
}

.category-layout{
    display:flex;
    gap:25px;
}

.category-big{
    flex:2;
}

.category-big img{
    width:100%;
    height:380px;
    object-fit:cover;
    border-radius:10px;
}

.category-big h3{
    margin-top:10px;
    font-size:20px;
    line-height:1.3;
}

.category-small{
    flex:1;
    display:flex;
    flex-direction:column;
    gap:15px;
}

.category-small a{
    display:flex;
    gap:10px;
}

.category-small img{
    width:95px;
    height:70px;
    object-fit:cover;
    border-radius:6px;
}

.category-small span{
    font-size:14px;
    font-weight:600;
}

/* ================= ARTICLE PAGE ================= */
.article-category{
    color:#e60023;
    font-weight:700;
    font-size:13px;
    margin-bottom:8px;
    text-transform:uppercase;
}

.article-title{
    font-size:34px;
    font-weight:900;
    margin-bottom:15px;
}

.article-subheadline{
    font-size:19px;
    color:#555;
    margin-bottom:18px;
}

.article-meta-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    border-top:1px solid #eee;
    border-bottom:1px solid #eee;
    padding:12px 0;
    margin-bottom:18px;
}

.author-inline{
    display:flex;
    align-items:center;
    gap:10px;
}

.author-img,
.author-avatar{
    width:40px;
    height:40px;
    border-radius:50%;
}

.author-avatar{
    background:#e60023;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:bold;
    font-size:16px;
}

.article-content{
    font-size:18px;
    line-height:1.8;
}
@media (max-width: 600px){

    .article-title{
        font-size:22px;
        line-height:1.3;
    }

    .article-subheadline{
        font-size:16px;
    }

    .article-content{
        font-size:16px;
        line-height:1.7;
    }

}
/* ================= FOOTER ================= */
footer{
    background:#111;
    color:#fff;
    text-align:center;
    padding:30px;
    margin-top:50px;
}

/* ================= RESPONSIVE ================= */
@media(max-width:1200px){
    .news-grid-5{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:900px){
    .top-news-section{
        flex-direction:column;
    }
    .category-layout{
        flex-direction:column;
    }
}

@media(max-width:600px){
    .news-grid-5{
        grid-template-columns:repeat(1fr);
    }
}

.row-layout{
    display:flex;
    gap:30px;
    margin-top:30px;
}

.main-content{
    flex:3;
}

.sidebar{
    flex:1;
}

.page{
    background:#fff;
    padding:25px;
    border-radius:10px;
    margin-bottom:25px;
}
.share-widget{
    display:flex;
    gap:12px;
}

.share-widget a{
    background:#eee;
    padding:6px 12px;
    border-radius:6px;
    font-size:14px;
}

.share-widget a:hover{
    background:#e60023;
    color:#fff;
}
.trending-item{
    display:flex;
    gap:10px;
    margin-bottom:15px;
}

.trending-item img{
    width:80px;
    height:60px;
    object-fit:cover;
    border-radius:6px;
}

.trending-title{
    font-size:14px;
    font-weight:600;
}
.ad-box{
    height:450px;
    background:#4b4444;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:600;
    border-radius:10px;
    margin-top:20px;
    border:1px solid #e2e2e2;
}
.row-layout{
    display:flex;
    gap:30px;
    margin-top:30px;
}

.main-content{
    flex:3;
}

.sidebar{
    flex:1;
}
.sidebar .page{
    margin-bottom:25px;
}
/* RELATED GRID */
.news-grid{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:25px;
}

.card{
    background:#fff;
    border-radius:8px;
    overflow:hidden;
    transition:0.3s;
    border:1px solid #eee;
}

.card img{
    width:100%;
    height:200px;
    object-fit:cover;
    display:block;
}

.card-title{
    padding:12px;
    font-size:15px;
    font-weight:600;
    line-height:1.4;
}

.card:hover{
    transform:translateY(-4px);
    box-shadow:0 6px 20px rgba(0,0,0,0.08);
}
.category-hero{
    display:flex;
    gap:25px;
    margin-bottom:40px;
}

.hero-left{
    flex:2;
    position:relative;
    overflow:hidden;
}

.hero-slide{
    position:absolute;
    width:100%;
    opacity:0;
    transition:opacity .6s ease;
}

.hero-slide.active{
    position:relative;
    opacity:1;
}

.hero-slide img{
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:10px;
}

.hero-slide h3{
    margin-top:10px;
    font-size:20px;
}

.hero-right{
    flex:1;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:15px;
}

.hero-right a{
    display:flex;
    gap:8px;
}

.hero-right img{
    width:80px;
    height:60px;
    object-fit:cover;
    border-radius:6px;
}

.hero-right span{
    font-size:13px;
    font-weight:600;
    line-height:1.3;
}

.contact-page{
    margin-top:30px;
}

.contact-layout{
    display:flex;
    gap:40px;
    margin-top:20px;
}

.contact-info{
    flex:1.2;
}

.contact-map{
    flex:1;
}

.contact-map iframe{
    width:100%;
    height:350px;
    border-radius:10px;
}

.contact-details p{
    margin-bottom:12px;
    font-size:15px;
}

.social-icons{
    display:flex;
    gap:15px;
    margin-top:10px;
}

.social-icons a{
    width:40px;
    height:40px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#eee;
    border-radius:50%;
    font-size:18px;
    transition:0.3s;
}

.social-icons a:hover{
    background:#e60023;
    color:#fff;
}

@media(max-width:900px){
    .contact-layout{
        flex-direction:column;
    }
}
.stories-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(180px,1fr));
    gap:20px;
    margin-top:30px;
}

.story-card{
    text-decoration:none;
    color:#000;
    transition:0.3s;
}

.story-thumb{
    position:relative;
    border-radius:14px;
    overflow:hidden;
}

.story-thumb img{
    width:100%;
    height:320px;
    object-fit:cover;
    transition:0.4s;
}

.story-card:hover img{
    transform:scale(1.05);
}

.story-title{
    margin-top:8px;
    font-weight:700;
    font-size:14px;
    line-height:1.4;
}
.story-viewer{
    position:fixed;
    inset:0;
    background:#000;
    overflow:hidden;
}

.story-slide{
    position:absolute;
    width:100%;
    height:100%;
    opacity:0;
    transition:0.4s;
}

.story-slide.active{
    opacity:1;
}

.story-slide img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.story-caption{
    position:absolute;
    bottom:100px;
    left:30px;
    right:30px;
    color:#fff;
    font-size:20px;
    font-weight:600;
}

.story-progress{
    position:absolute;
    top:15px;
    left:15px;
    right:15px;
    display:flex;
    gap:6px;
    z-index:10;
}

.progress-segment{
    flex:1;
    height:4px;
    background:rgba(255,255,255,0.3);
    border-radius:3px;
    overflow:hidden;
}

.progress-fill{
    width:0%;
    height:100%;
    background:#fff;
    transition:width linear;
}

.story-nav-left,
.story-nav-right{
    position:absolute;
    top:0;
    width:50%;
    height:100%;
    z-index:5;
}

.story-nav-left{ left:0; }
.story-nav-right{ right:0; }

.story-close{
    position:absolute;
    top:20px;
    right:20px;
    color:#fff;
    font-size:24px;
    z-index:20;
}

.story-share{
    position:absolute;
    bottom:40px;
    right:30px;
    z-index:20;
}

.story-share button{
    background:#e60023;
    border:none;
    color:#fff;
    padding:8px 16px;
    border-radius:6px;
    cursor:pointer;
}
.error-404{
    display:flex;
    justify-content:center;
    align-items:center;
    min-height:70vh;
    text-align:center;
}

.error-content h1{
    font-size:120px;
    font-weight:900;
    color:#e60023;
    margin-bottom:10px;
}

.error-content h2{
    font-size:28px;
    margin-bottom:15px;
}

.error-content p{
    max-width:500px;
    margin:0 auto 25px;
    color:#555;
}

.btn-home{
    display:inline-block;
    background:#e60023;
    color:#fff;
    padding:12px 25px;
    border-radius:6px;
    text-decoration:none;
    font-weight:600;
    transition:0.3s;
}

.btn-home:hover{
    background:#c4001d;
}
/* ================= STORY VIEWER ================= */

.story-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.95);
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:9999;
}

.story-wrapper{
    width:600px;
    height:800px;
    background:#3a3939;
    position:relative;
    border-radius:16px;
    overflow:hidden;
    box-shadow:0 20px 60px rgba(0,0,0,0.6);
}

.story-slide{
    position:absolute;
    inset:0;
    opacity:0;
    transition:opacity .4s ease;
}

.story-slide.active{
    opacity:1;
    z-index:2;
}

.story-slide img{
    width:100%;
    height:100%;
    object-fit:cover;
}

/* Caption */
.story-caption{
    position:absolute;
    bottom:20px;
    left:15px;
    right:15px;
    color:#fff;
    font-size:16px;
    line-height:1.5;
    background:rgba(0,0,0,0.4);
    padding:10px 12px;
    border-radius:8px;
}

/* Progress Bars */
.story-progress{
    position:absolute;
    top:10px;
    left:10px;
    right:10px;
    display:flex;
    gap:6px;
    z-index:10;
}

.progress-bar{
    flex:1;
    height:3px;
    background:rgba(255,255,255,0.3);
    border-radius:5px;
    overflow:hidden;
}

.progress-fill{
    height:100%;
    width:0%;
    background:#fff;
}
/* ===== TOP BAR ===== */

.story-top-bar{
    position:absolute;
    top:10px;
    left:15px;
    right:15px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    z-index:20;
    color:#fff;
}

.story-title{
    font-size:14px;
    font-weight:600;
    max-width:65%;
}

.story-actions{
    display:flex;
    gap:8px;
}

.story-actions button{
    background:rgba(255,255,255,0.2);
    border:none;
    color:#fff;
    padding:6px 10px;
    border-radius:20px;
    cursor:pointer;
    font-size:13px;
    backdrop-filter:blur(6px);
}

.story-actions button:hover{
    background:rgba(255,255,255,0.35);
}

/* ===== SHARE PANEL ===== */

.story-share-panel{
    position:absolute;
    bottom:20px;
    left:50%;
    transform:translateX(-50%);
    background:#111;
    padding:12px 18px;
    border-radius:30px;
    display:none;
    gap:15px;
    z-index:99999;
}

.story-share-panel a{
    color:#fff;
    font-size:14px;
    text-decoration:none;
}

.story-share-panel a:hover{
    color:#e60023;
}

/* ================= HEADER ================= */

.main-header {
    background: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 999;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
}

.logo img {
    height: 50px;
}

/* ================= NAV ================= */

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}
.nav-menu,
.dropdown-menu,
.sub-dropdown {
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-menu {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    text-decoration: none;
    font-weight: 600;
    color: #222;
    font-size: 15px;
}

.nav-menu a:hover {
    color: #e60023;
}

/* ================= DROPDOWN ================= */

.dropdown-menu,
.sub-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 220px;
    list-style: none;
    padding: 10px 0;
    display: none;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

@media (min-width: 993px) {

    .dropdown:hover > .dropdown-menu {
        display: block;
    }

    .has-sub:hover > .sub-dropdown {
        display: block;
        left: 100%;
        top: 0;
    }

}
.dropdown-menu li,
.sub-dropdown li {
    padding: 8px 15px;
}

.dropdown-menu a,
.sub-dropdown a {
    font-size: 14px;
}

/* ================= SEARCH ================= */

.nav-search input {
    border: 1px solid #ddd;
    padding: 6px 12px;
    border-radius: 4px;
}

/* ================= MOBILE ================= */

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Responsive */

@media (max-width: 992px) {

    .menu-toggle {
        display: block;
    }
     .main-nav {
        overflow-y: auto;
    }
    .nav-menu li {
    padding: 6px 0;
}

.dropdown-menu li,
.sub-dropdown li {
    padding: 6px 0;
}

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        padding: 80px 20px;
        transition: 0.3s;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }

    .main-nav.active {
        right: 0;
    }

    .nav-menu {
        flex-direction: column;
        gap: 15px;
    }

    .dropdown-menu,
    .sub-dropdown {
        position: static;
        display: none;
        box-shadow: none;
        padding-left: 15px;
    }

    .dropdown.open > .dropdown-menu {
        display: block;
    }

    .has-sub.open > .sub-dropdown {
        display: block;
    }

}
.auth-wrapper{
    display:flex;
    justify-content:center;
    align-items:center;
    min-height:80vh;
    background:#f5f6fa;
}

.auth-card{
    background:#fff;
    width:420px;
    padding:40px;
    border-radius:12px;
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
}

.auth-card h2{
    text-align:center;
    margin-bottom:25px;
    font-weight:700;
}

.form-group{
    margin-bottom:18px;
}

.form-group label{
    font-weight:600;
    display:block;
    margin-bottom:6px;
}

.form-group input{
    width:100%;
    padding:10px 12px;
    border:1px solid #ddd;
    border-radius:6px;
}

.auth-btn{
    width:100%;
    padding:12px;
    background:#e60023;
    color:#fff;
    border:none;
    border-radius:6px;
    font-weight:600;
    cursor:pointer;
    margin-top:10px;
}

.auth-btn:hover{
    background:#c4001d;
}

.auth-footer{
    text-align:center;
    margin-top:18px;
}

.auth-error{
    background:#ffecec;
    color:#c4001d;
    padding:10px;
    border-radius:6px;
    margin-bottom:15px;
}
.auth-success{
    background:#e6fff0;
    color:#198754;
    padding:10px;
    border-radius:6px;
    margin-bottom:15px;
}
.comments-section textarea{
    width:100%;
    min-height:100px;
    padding:10px;
    border:1px solid #ddd;
    border-radius:6px;
    margin-bottom:10px;
}

.comments-section button{
    background:#e60023;
    color:#fff;
    padding:8px 15px;
    border:none;
    border-radius:6px;
    cursor:pointer;
}

.comment-box{
    background:#f8f8f8;
    padding:12px;
    border-radius:8px;
    margin-bottom:10px;
}
@media (max-width: 900px){

    .row-layout{
        flex-direction: column;
    }

    .main-content{
        flex: 100%;
    }

    .sidebar{
        flex: 100%;
        margin-top:20px;
    }

}
@media(max-width:900px){
    .ad-box{
        display:none;
    }
}
.author-inline{
    display:flex;
    align-items:center;
    gap:10px;
}

.author-img,
.author-avatar{
    width:40px;
    height:40px;
    border-radius:50%;
}

.author-avatar{
    background:#e60023;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:bold;
    font-size:16px;
}

.article-content{
    font-size:18px;
    line-height:1.8;
}
@media (max-width: 600px){

    .article-title{
        font-size:22px;
        line-height:1.3;
    }

    .article-subheadline{
        font-size:16px;
    }

    .article-content{
        font-size:16px;
        line-height:1.7;
    }

}
/* ================= FOOTER ================= */
footer{
    background:#111;
    color:#fff;
    text-align:center;
    padding:30px;
    margin-top:50px;
}

/* ================= RESPONSIVE ================= */
@media(max-width:1200px){
    .news-grid-5{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:900px){
    .top-news-section{
        flex-direction:column;
    }
    .category-layout{
        flex-direction:column;
    }
}

@media(max-width:600px){
    .news-grid-5{
        grid-template-columns:repeat(1fr);
    }
}

.row-layout{
    display:flex;
    gap:30px;
    margin-top:30px;
}

.main-content{
    flex:3;
}

.sidebar{
    flex:1;
}

.page{
    background:#fff;
    padding:25px;
    border-radius:10px;
    margin-bottom:25px;
}
.share-widget{
    display:flex;
    gap:12px;
}

.share-widget a{
    background:#eee;
    padding:6px 12px;
    border-radius:6px;
    font-size:14px;
}

.share-widget a:hover{
    background:#e60023;
    color:#fff;
}
.trending-item{
    display:flex;
    gap:10px;
    margin-bottom:15px;
}

.trending-item img{
    width:80px;
    height:60px;
    object-fit:cover;
    border-radius:6px;
}

.trending-title{
    font-size:14px;
    font-weight:600;
}
.ad-box{
    height:450px;
    background:#4b4444;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:600;
    border-radius:10px;
    margin-top:20px;
    border:1px solid #e2e2e2;
}
.row-layout{
    display:flex;
    gap:30px;
    margin-top:30px;
}

.main-content{
    flex:3;
}

.sidebar{
    flex:1;
}
.sidebar .page{
    margin-bottom:25px;
}
/* RELATED GRID */
.news-grid{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:25px;
}

.card{
    background:#fff;
    border-radius:8px;
    overflow:hidden;
    transition:0.3s;
    border:1px solid #eee;
}

.card img{
    width:100%;
    height:200px;
    object-fit:cover;
    display:block;
}

.card-title{
    padding:12px;
    font-size:15px;
    font-weight:600;
    line-height:1.4;
}

.card:hover{
    transform:translateY(-4px);
    box-shadow:0 6px 20px rgba(0,0,0,0.08);
}
.category-hero{
    display:flex;
    gap:25px;
    margin-bottom:40px;
}

.hero-left{
    flex:2;
    position:relative;
    overflow:hidden;
}

.hero-slide{
    position:absolute;
    width:100%;
    opacity:0;
    transition:opacity .6s ease;
}

.hero-slide.active{
    position:relative;
    opacity:1;
}

.hero-slide img{
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:10px;
}

.hero-slide h3{
    margin-top:10px;
    font-size:20px;
}

.hero-right{
    flex:1;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:15px;
}

.hero-right a{
    display:flex;
    gap:8px;
}

.hero-right img{
    width:80px;
    height:60px;
    object-fit:cover;
    border-radius:6px;
}

.hero-right span{
    font-size:13px;
    font-weight:600;
    line-height:1.3;
}

.contact-page{
    margin-top:30px;
}

.contact-layout{
    display:flex;
    gap:40px;
    margin-top:20px;
}

.contact-info{
    flex:1.2;
}

.contact-map{
    flex:1;
}

.contact-map iframe{
    width:100%;
    height:350px;
    border-radius:10px;
}

.contact-details p{
    margin-bottom:12px;
    font-size:15px;
}

.social-icons{
    display:flex;
    gap:15px;
    margin-top:10px;
}

.social-icons a{
    width:40px;
    height:40px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#eee;
    border-radius:50%;
    font-size:18px;
    transition:0.3s;
}

.social-icons a:hover{
    background:#e60023;
    color:#fff;
}

@media(max-width:900px){
    .contact-layout{
        flex-direction:column;
    }
}
.stories-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(180px,1fr));
    gap:20px;
    margin-top:30px;
}

.story-card{
    text-decoration:none;
    color:#000;
    transition:0.3s;
}

.story-thumb{
    position:relative;
    border-radius:14px;
    overflow:hidden;
}

.story-thumb img{
    width:100%;
    height:320px;
    object-fit:cover;
    transition:0.4s;
}

.story-card:hover img{
    transform:scale(1.05);
}

.story-title{
    margin-top:8px;
    font-weight:700;
    font-size:14px;
    line-height:1.4;
}
.story-viewer{
    position:fixed;
    inset:0;
    background:#000;
    overflow:hidden;
}

.story-slide{
    position:absolute;
    width:100%;
    height:100%;
    opacity:0;
    transition:0.4s;
}

.story-slide.active{
    opacity:1;
}

.story-slide img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.story-caption{
    position:absolute;
    bottom:100px;
    left:30px;
    right:30px;
    color:#fff;
    font-size:20px;
    font-weight:600;
}

.story-progress{
    position:absolute;
    top:15px;
    left:15px;
    right:15px;
    display:flex;
    gap:6px;
    z-index:10;
}

.progress-segment{
    flex:1;
    height:4px;
    background:rgba(255,255,255,0.3);
    border-radius:3px;
    overflow:hidden;
}

.progress-fill{
    width:0%;
    height:100%;
    background:#fff;
    transition:width linear;
}

.story-nav-left,
.story-nav-right{
    position:absolute;
    top:0;
    width:50%;
    height:100%;
    z-index:5;
}

.story-nav-left{ left:0; }
.story-nav-right{ right:0; }

.story-close{
    position:absolute;
    top:20px;
    right:20px;
    color:#fff;
    font-size:24px;
    z-index:20;
}

.story-share{
    position:absolute;
    bottom:40px;
    right:30px;
    z-index:20;
}

.story-share button{
    background:#e60023;
    border:none;
    color:#fff;
    padding:8px 16px;
    border-radius:6px;
    cursor:pointer;
}
.error-404{
    display:flex;
    justify-content:center;
    align-items:center;
    min-height:70vh;
    text-align:center;
}

.error-content h1{
    font-size:120px;
    font-weight:900;
    color:#e60023;
    margin-bottom:10px;
}

.error-content h2{
    font-size:28px;
    margin-bottom:15px;
}

.error-content p{
    max-width:500px;
    margin:0 auto 25px;
    color:#555;
}

.btn-home{
    display:inline-block;
    background:#e60023;
    color:#fff;
    padding:12px 25px;
    border-radius:6px;
    text-decoration:none;
    font-weight:600;
    transition:0.3s;
}

.btn-home:hover{
    background:#c4001d;
}
/* ================= STORY VIEWER ================= */

.story-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.95);
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:9999;
}

.story-wrapper{
    width:600px;
    height:800px;
    background:#3a3939;
    position:relative;
    border-radius:16px;
    overflow:hidden;
    box-shadow:0 20px 60px rgba(0,0,0,0.6);
}

.story-slide{
    position:absolute;
    inset:0;
    opacity:0;
    transition:opacity .4s ease;
}

.story-slide.active{
    opacity:1;
    z-index:2;
}

.story-slide img{
    width:100%;
    height:100%;
    object-fit:cover;
}

/* Caption */
.story-caption{
    position:absolute;
    bottom:20px;
    left:15px;
    right:15px;
    color:#fff;
    font-size:16px;
    line-height:1.5;
    background:rgba(0,0,0,0.4);
    padding:10px 12px;
    border-radius:8px;
}

/* Progress Bars */
.story-progress{
    position:absolute;
    top:10px;
    left:10px;
    right:10px;
    display:flex;
    gap:6px;
    z-index:10;
}

.progress-bar{
    flex:1;
    height:3px;
    background:rgba(255,255,255,0.3);
    border-radius:5px;
    overflow:hidden;
}

.progress-fill{
    height:100%;
    width:0%;
    background:#fff;
}
/* ===== TOP BAR ===== */

.story-top-bar{
    position:absolute;
    top:10px;
    left:15px;
    right:15px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    z-index:20;
    color:#fff;
}

.story-title{
    font-size:14px;
    font-weight:600;
    max-width:65%;
}

.story-actions{
    display:flex;
    gap:8px;
}

.story-actions button{
    background:rgba(255,255,255,0.2);
    border:none;
    color:#fff;
    padding:6px 10px;
    border-radius:20px;
    cursor:pointer;
    font-size:13px;
    backdrop-filter:blur(6px);
}

.story-actions button:hover{
    background:rgba(255,255,255,0.35);
}

/* ===== SHARE PANEL ===== */

.story-share-panel{
    position:absolute;
    bottom:20px;
    left:50%;
    transform:translateX(-50%);
    background:#111;
    padding:12px 18px;
    border-radius:30px;
    display:none;
    gap:15px;
    z-index:99999;
}

.story-share-panel a{
    color:#fff;
    font-size:14px;
    text-decoration:none;
}

.story-share-panel a:hover{
    color:#e60023;
}

/* ================= HEADER ================= */

.main-header {
    background: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 999;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
}

.logo img {
    height: 50px;
}

/* ================= NAV ================= */

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}
.nav-menu,
.dropdown-menu,
.sub-dropdown {
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-menu {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    text-decoration: none;
    font-weight: 600;
    color: #222;
    font-size: 15px;
}

.nav-menu a:hover {
    color: #e60023;
}

/* ================= DROPDOWN ================= */

.dropdown-menu,
.sub-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 220px;
    list-style: none;
    padding: 10px 0;
    display: none;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

@media (min-width: 993px) {

    .dropdown:hover > .dropdown-menu {
        display: block;
    }

    .has-sub:hover > .sub-dropdown {
        display: block;
        left: 100%;
        top: 0;
    }

}
.dropdown-menu li,
.sub-dropdown li {
    padding: 8px 15px;
}

.dropdown-menu a,
.sub-dropdown a {
    font-size: 14px;
}

/* ================= SEARCH ================= */

.nav-search input {
    border: 1px solid #ddd;
    padding: 6px 12px;
    border-radius: 4px;
}

/* ================= MOBILE ================= */

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Responsive */

@media (max-width: 992px) {

    .menu-toggle {
        display: block;
    }
     .main-nav {
        overflow-y: auto;
    }
    .nav-menu li {
    padding: 6px 0;
}

.dropdown-menu li,
.sub-dropdown li {
    padding: 6px 0;
}

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        padding: 80px 20px;
        transition: 0.3s;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }

    .main-nav.active {
        right: 0;
    }

    .nav-menu {
        flex-direction: column;
        gap: 15px;
    }

    .dropdown-menu,
    .sub-dropdown {
        position: static;
        display: none;
        box-shadow: none;
        padding-left: 15px;
    }

    .dropdown.open > .dropdown-menu {
        display: block;
    }

    .has-sub.open > .sub-dropdown {
        display: block;
    }

}
.auth-wrapper{
    display:flex;
    justify-content:center;
    align-items:center;
    min-height:80vh;
    background:#f5f6fa;
}

.auth-card{
    background:#fff;
    width:420px;
    padding:40px;
    border-radius:12px;
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
}

.auth-card h2{
    text-align:center;
    margin-bottom:25px;
    font-weight:700;
}

.form-group{
    margin-bottom:18px;
}

.form-group label{
    font-weight:600;
    display:block;
    margin-bottom:6px;
}

.form-group input{
    width:100%;
    padding:10px 12px;
    border:1px solid #ddd;
    border-radius:6px;
}

.auth-btn{
    width:100%;
    padding:12px;
    background:#e60023;
    color:#fff;
    border:none;
    border-radius:6px;
    font-weight:600;
    cursor:pointer;
    margin-top:10px;
}

.auth-btn:hover{
    background:#c4001d;
}

.auth-footer{
    text-align:center;
    margin-top:18px;
}

.auth-error{
    background:#ffecec;
    color:#c4001d;
    padding:10px;
    border-radius:6px;
    margin-bottom:15px;
}
.auth-success{
    background:#e6fff0;
    color:#198754;
    padding:10px;
    border-radius:6px;
    margin-bottom:15px;
}
.comments-section textarea{
    width:100%;
    min-height:100px;
    padding:10px;
    border:1px solid #ddd;
    border-radius:6px;
    margin-bottom:10px;
}

.comments-section button{
    background:#e60023;
    color:#fff;
    padding:8px 15px;
    border:none;
    border-radius:6px;
    cursor:pointer;
}

.comment-box{
    background:#f8f8f8;
    padding:12px;
    border-radius:8px;
    margin-bottom:10px;
}
@media (max-width: 900px){

    .row-layout{
        flex-direction: column;
    }

    .main-content{
        flex: 100%;
    }

    .sidebar{
        flex: 100%;
        margin-top:20px;
    }

}