*{margin:0;padding:0;box-sizing:border-box;  font-family:'Noto Serif Bengali', serif;
}


body{background:#f4f4f4;margin:0px;}
a{text-decoration:none}
.container{max-width:1200px;margin:auto;padding:0 0px}

/* ================= HEADER ================= */
header{
  background:#230808;
  position:sticky;
  top:0;
  z-index:1000;
}
.header-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:12px 0;
  position:relative;
}
.logo img{height:40px}
.menu-toggle{
  display:none;
  font-size:26px;
  color:#fff;
  cursor:pointer;
}
nav ul{
  list-style:none;
  display:flex;
  gap:18px;
}
nav ul li a{color:#fff;font-weight:600}

/* ================= MOBILE MENU (RIGHT SLIDE WITH GAP) ================= */
@media(max-width:768px){

  .menu-toggle{
    display:block;
    z-index:1100;
    margin-right:25px;
  }

  nav{
    position:fixed;
    top:0;
    right:-100%;
    width:85%;
    height:100vh;
    background:#b80000;
    padding-top:80px;
    transition:0.35s ease;
    box-shadow:-4px 0 15px rgba(0,0,0,.3);
    z-index:1050;
  }

  /* RIGHT GAP */
  nav.active{
    right:0px;   /* 👉 এখানেই right margin */
  }

  nav ul{
    flex-direction:column;
    text-align:left;
    padding:0 20px;
  }

  nav ul li{
    padding:14px 0;
    border-bottom:1px solid rgba(255,255,255,.25);
  }

  nav ul li a{
    font-size:16px;
    display:block;
  }
}
/*============news ticker=====================*/
.news-ticker{
  display:flex;
  align-items:center;
  background:#111;
  height:45px;
  overflow:hidden;
  font-family:'Hind Siliguri', sans-serif;
}

.ticker-label{
  background:#e11d48;
  color:#fff;
  padding:0 15px;
  font-weight:700;
  font-size:14px;
  white-space:nowrap;
}

.ticker-container{
  position:relative;
  flex:1;
  overflow:hidden;
}

.ticker-content{
  display:inline-block;
  white-space:nowrap;
  padding-left:100%;
  animation: ticker-scroll 75s linear infinite;
}

.ticker-content a{
  display:inline-block;
  margin-right:50px;
  color:#222;
  font-size:21px;
  font-weight:bold;
  text-decoration:none;
font-family:'Noto Serif Bengali', serif;

}

.ticker-content a:hover{
  text-decoration:none;
  color:#C20000;
  font-weight:bold;
  font-size:20px;
}

/* 🔁 Animation */
@keyframes ticker-scroll{
  0%{
    transform:translateX(0);
  }
  100%{
    transform:translateX(-100%);
  }
}


/* ================= TOP NEWS ================= */
/* TOP NEWS */
.top-news-wrap{
  margin: 20px 0;
}

.top-news{
  display: flex;
  gap: 20px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
}

.top-news img{
  width: 35%;
  object-fit: cover;
}

.top-news-content{
  padding: 18px;
  display: flex;
  flex-direction: column;

}

.top-news-content h2{
  font-size: 24px;
  line-height: 1.3;
  margin-bottom: 10px;
  color: #111;
}

.top-news-content p{
  font-size: 15px;
  color: #666;        /* 🔥 faded color */
  line-height: 1.6;
  margin-bottom: 12px;
}

.read-more{
  font-size: 16px;
  font-weight: 700;
  color: #C20000;
}

/* Hover effect */
.top-news:hover h2{
  text-decoration: none;
  color:#C20000;
}

/* Mobile */
@media(max-width:768px){
  .top-news{
    flex-direction: column;
  }

  .top-news img{
    width: 100%;
    height: 220px;
  }

  .top-news-content h2{
    font-size: 20px;
  }
}


/* ================= CATEGORY ================= */
.category-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:15px;
  margin:20px 0;
}
@media(max-width:992px){
  .category-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:768px){
  .category-grid{grid-template-columns:1fr}
}

.category{
  background:#fff;
  padding:12px;
  border-radius:6px;
}
.category h3{
  color:#b80000;
  border-bottom:2px solid #b80000;
  padding-bottom:6px;
  margin-bottom:10px;
  font-size:18px;
}

/* CATEGORY NEWS WITH IMAGE */
.category-news{
  display:flex;
  gap:10px;
  margin-bottom:10px;
}
.category-news img{
  width:90px;
  height:70px;
  object-fit:cover;
  border-radius:4px;
}
.category-news h4{
  font-size:14px;
  color:#000;
  line-height:1.35;
}
.category-news h4:hover{color:#b80000}

/* ================= SPORTS / VIDEO ================= */
.section{
  background:#fff;
  padding:15px;
  margin-bottom:25px;
  border-radius:6px;
}
.section h2{
  border-bottom:2px solid #b80000;
  padding-bottom:6px;
  margin-bottom:15px;
}
.grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:15px;
}
@media(max-width:768px){
  .grid{grid-template-columns:1fr}
}
.grid img,iframe{
  width:100%;
  height:170px;
  object-fit:cover;
  border-radius:6px;
}
.grid p{font-size:14px;margin-top:5px}

.section{
  padding:20px;
}
.section h2{
  margin-bottom:12px;
}

.carousel{
  overflow:hidden;
}

.carousel-track{
  display:flex;
  gap:10px;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
}
.carousel-track::-webkit-scrollbar{
  display:none;
}

.card{
  /* 🔥 Mobile: 2 item */
  min-width:48%;
  flex-shrink:0;
  scroll-snap-align:start;
  background:#fff;
  border-radius:12px;
  overflow:hidden;
  text-decoration:none;
  color:#000;
  box-shadow:0 4px 10px rgba(0,0,0,.1);
}

.card img{
  width:100%;
  height:140px;
  object-fit:cover;
}

.card p{
  padding:8px;
  font-size:14px;
  line-height:1.4;
}

/* Tablet */
@media (min-width:600px){
  .card{
    min-width:32%;
  }
}

/* Desktop */
@media (min-width:1024px){
  .card{
    min-width:23%;
  }
}
.nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  background:rgba(0,0,0,.6);
  color:#fff;
  border:none;
  font-size:22px;
  padding:8px 12px;
  cursor:pointer;
  z-index:10;
}

.prev{ left:5px; }
.next{ right:5px; }

@media(max-width:600px){
  .card{
    min-width:85%;
  }
}
/*==================WEB STORY=========================*/
/* ================= WEB STORY – FORMAL 9:16 STYLE ================= */

/* Desktop Grid */
.story-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(120px,1fr));
  gap:12px;
}

/* Story Card */
.story-item{
  position:relative;
  border-radius:10px;
  overflow:hidden;
  background:#000;
}

.story-item img{
  width:100%;
  height:100%;
  object-fit:cover;
}

/* Title Overlay */
.story-item span{
  position:absolute;
  bottom:0;
  left:0;
  right:0;
  padding:8px 10px;
  font-size:13px;
  font-weight:600;
  color:#fff;
  background:linear-gradient(to top,rgba(0,0,0,.75),rgba(0,0,0,.05));
  line-height:1.3;
}

/* ============ MOBILE: 9:16 CAROUSEL ============ */
@media(max-width:768px){

  .story-grid{
    display:flex;
    overflow-x:auto;
    gap:14px;
    padding:6px 2px 10px;
    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;
  }

  .story-grid::-webkit-scrollbar{
    display:none;
  }

  .story-item{
    width:160px;
    aspect-ratio:9/16;   /* ✅ PERFECT 9:16 */
    flex-shrink:0;
    scroll-snap-align:start;
    border-radius:12px;
  }

  .story-item span{
    font-size:14px;
  }
}


/* ================= FOOTER ================= */
/* ================= NEWS FOOTER ================= */

.news-footer{
  background:#111;
  color:#ddd;
  font-family:'Noto Serif Bengali', serif;
}

.footer-container{
  max-width:1200px;
  margin:auto;
  padding:30px 15px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:25px;
}

.footer-col h3{
  color:#fff;
  font-size:20px;
  margin-bottom:12px;
}

.footer-col h4{
  color:#fff;
  font-size:16px;
  margin-bottom:10px;
}

.footer-col p{
  font-size:14px;
  line-height:1.6;
  color:#ccc;
}

.footer-col ul{
  list-style:none;
  padding:0;
}

.footer-col ul li{
  margin-bottom:8px;
}

.footer-col ul li a{
  color:#ccc;
  font-size:14px;
  text-decoration:none;
  transition:.2s;
}

.footer-col ul li a:hover{
  color:#b80000;
}

/* SOCIAL */
.footer-social{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.footer-social a{
  color:#ccc;
  font-size:14px;
  text-decoration:none;
}

.footer-social a:hover{
  color:#b80000;
}

/* COPYRIGHT */
.footer-bottom{
  border-top:1px solid #333;
  text-align:center;
  padding:12px;
  font-size:13px;
  color:#aaa;
}

/* ================= MOBILE ================= */
@media(max-width:768px){
  .footer-container{
    grid-template-columns:1fr;
    text-align:center;
  }

  .footer-social{
    align-items:center;
  }
}

/* ===== NEWS TICKER ===== */
.news-ticker{
  display:flex;
  align-items:center;
  background:#fff;
  border-bottom:2px solid #b80000;
  overflow:hidden;
}

.ticker-label{
  background:#b80000;
  color:#fff;
  padding:8px 15px;
  font-weight:700;
  font-size:14px;
  white-space:nowrap;
}

.ticker-wrap{
  width:100%;
  overflow:hidden;
}

.ticker-move{
  display:inline-block;
  white-space:nowrap;
  animation:ticker 25s linear infinite;
}

.ticker-move a{
  display:inline-block;
  padding:0 25px;
  color:#000;
  font-size:15px;
  font-weight:600;
}

.ticker-move a:hover{
  color:#b80000;
}

/* Pause on hover */
.news-ticker:hover .ticker-move{
  animation-play-state:paused;
}

@keyframes ticker{
  0%{transform:translateX(100%)}
  100%{transform:translateX(-100%)}
}

/* Mobile */
@media(max-width:600px){
  .ticker-label{font-size:13px}
  .ticker-move a{font-size:14px;padding:0 18px}
}
/* ===== TRENDING HASHTAG ===== */
.trending-wrap{
  background:#fff;
  margin:12px 0;
  padding:10px 12px;
  border-radius:6px;
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:10px;
}

.trend-label{
  font-weight:700;
  color:#b80000;
  font-size:14px;
}

.trend-list a{
  background:#f3f3f3;
  padding:6px 12px;
  border-radius:20px;
  font-size:13px;
  font-weight:600;
  color:#000;
  transition:.2s;
}

.trend-list a:hover{
  background:#b80000;
  color:#fff;
}

/* ===== DEMO NEWS ===== */
.demo-news{
  background:#fff;
  padding:12px;
  border-radius:6px;
}

.news-item{
  padding:8px 0;
  border-bottom:1px solid #eee;
}

.news-item:last-child{
  border-bottom:none;
}

@media(max-width:600px){
  .trend-list a{
    font-size:12px;
    padding:5px 10px;
  }
}


</style>