/* Theme Name: V44 Newspaper PRO (Final) */

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

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

/* =========================
   BODY (REAL NEWSPAPER)
========================= */
body{
  font-family:'SolaimanLipi','Noto Sans Bengali',sans-serif;
  font-size:15px;
  line-height:1.7;
  color:#111;
  background:#e9e9e9; /* grey outside */
}

#page{
  max-width:1280px;
  margin:0 auto;
  background:#fff;
  box-shadow:0 0 8px rgba(0,0,0,0.08);
}

/* =========================
   GLOBAL
========================= */
img{
  display:block;
  width:100%;
  height:auto;
}

.container{
  max-width:1140px;
  margin:0 auto;
  padding:0 15px;
}

/* =========================
   LINKS
========================= */
a{
  text-decoration:none;
  color:inherit;
  transition:0.25s;
}
a:hover{
  color:#e60000;
}

/* =========================
   HEADER
========================= */
.header{
  position:sticky;
  top:0;
  z-index:999;
  background:#fff;
  border-bottom:1px solid #ddd;
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:10px 0;
}

.logo img{
  max-height:32px;
}

/* =========================
   MENU
========================= */
.nav{
  flex:1;
  text-align:center;
}

.menu-list{
  display:flex;
  justify-content:center;
  gap:25px;
  list-style:none;
}

.menu-list li{
  position:relative;
}

.menu-list a{
  font-weight:600;
}

/* DROPDOWN */
.menu-list li ul{
  display:none;
  position:absolute;
  top:100%;
  left:0;
  background:#fff;
  padding:10px;
  min-width:180px;
  box-shadow:0 5px 15px rgba(0,0,0,0.1);
}

.menu-list li:hover ul{
  display:block;
}

/* =========================
   BREAKING
========================= */
.breaking{
  background:#e60000;
  color:#fff;
  padding:10px 0;
  overflow:hidden;
}

.ticker-track{
  display:flex;
  gap:40px;
  white-space:nowrap;
  animation:ticker 25s linear infinite;
}

.ticker-track a{
  color:#fff;
  font-weight:500;
}

@keyframes ticker{
  0%{transform:translateX(100%)}
  100%{transform:translateX(-100%)}
}

/* =========================
   HERO GRID
========================= */
.hero{
  display:grid;
  grid-template-columns:1fr 2fr 1fr;
  gap:25px;
  margin:30px auto;
}

/* =========================
   MAIN NEWS GRID (NEW)
========================= */
.main{
  display:grid;
  grid-template-columns:2fr 3fr 1.5fr;
  gap:25px;
  margin-top:30px;
}

.left-news p{
  font-size:14px;
  line-height:1.5;
  border-bottom:1px solid #eee;
  padding:10px 0;
}

.center-news img{
  width:100%;
  aspect-ratio:16/9;
  object-fit:cover;
}

.center-news h2{
  font-size:22px;
  margin-top:10px;
}

/* =========================
   IMAGE CONSISTENCY (VERY IMPORTANT)
========================= */
.card img,
.news-item img,
.cat-big img,
.center-news img{
  width:100%;
  aspect-ratio:16/9;
  object-fit:cover;
  border-radius:6px;
}

.cat-small img,
.sidebar img{
  width:80px;
  height:60px;
  object-fit:cover;
}

.video-thumb img{
  aspect-ratio:16/9;
}

/* =========================
   HERO TITLE
========================= */
.hero-title{
  font-size:32px;
  line-height:1.3;
  margin:10px 0 15px;
  font-weight:700;
}

/* =========================
   CATEGORY
========================= */
.category-block{
  margin-top:50px;
}

.category-title{
  font-size:22px;
  margin:20px 0;
  border-left:4px solid #e60000;
  padding-left:10px;
}

.category-grid{
  display:grid;
  grid-template-columns:2fr 1fr;
  gap:20px;
}

.cat-big h3{
  font-size:20px;
  margin-top:10px;
}

.cat-small .item{
  display:flex;
  gap:10px;
  border-bottom:1px solid #eee;
  padding:8px 0;
}

/* =========================
   NEWS GRID
========================= */
.news-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
  margin-top:20px;
}

.card{
  background:#fff;
  padding:12px;
  border-radius:8px;
  border:1px solid #eee;
  transition:0.3s;
  display:flex;
  flex-direction:column;
  gap:8px;
}

.card:hover{
  transform:translateY(-5px);
  box-shadow:0 10px 25px rgba(0,0,0,0.08);
}

.card h4,
.news-item h4{
  font-size:16px;
  line-height:1.4;
  margin-top:10px;
  min-height:48px;
}

/* =========================
   SIDEBAR
========================= */
.sidebar{
  background:#fff;
  padding:20px;
  border-radius:8px;
  border:1px solid #eee;
  border-left:1px solid #eee;
}

@media(min-width:992px){
  .sidebar{
    position:sticky;
    top:90px;
  }
}

/* =========================
   SOCIAL SHARE
========================= */
.share-box{
  margin:15px 0;
  display:flex;
  gap:10px;
  align-items:center;
}

.share-box a{
  background:#f1f1f1;
  padding:6px 10px;
  border-radius:4px;
  font-size:13px;
}

.share-box a:hover{
  background:#e60000;
  color:#fff;
}

/* =========================
   ADS
========================= */
.ad-box{
  margin:20px 0;
  text-align:center;
}

.ad-box img{
  width:100%;
  border-radius:6px;
}

/* =========================
   LOAD MORE
========================= */
.load-more{
  text-align:center;
  margin:30px 0;
}

.load-more button{
  padding:10px 20px;
  background:#e60000;
  color:#fff;
  border:none;
  border-radius:4px;
  cursor:pointer;
}

/* =========================
   SINGLE
========================= */
.single-post{
  background:#fff;
  padding:20px;
  border-radius:8px;
  border:1px solid #eee;
}

.post-meta{
  font-size:13px;
  color:#777;
  margin-bottom:15px;
}

.single-content{
  font-size:16px;
  line-height:1.8;
}

/* =========================
   RESPONSIVE
========================= */
@media(max-width:768px){

  #page{
    box-shadow:none;
  }

  .hero,
  .main,
  .news-grid,
  .category-grid{
    grid-template-columns:1fr;
  }

  .hero-title{
    font-size:24px;
  }

}