/*
Theme Name: July36BD News Pro V12
*/

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

/* ================= GLOBAL ================= */
html, body {
  width: 100%;
  overflow-x: hidden;
  font-family: 'Hind Siliguri','Noto Sans Bengali', sans-serif;
  background: #f5f5f5;
  color: #111;
  line-height: 1.7;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.2s;
}

a:hover {
  color: #e60000;
}

img {
  width: 100%;
  height: auto;
  display: block;
}

/* ================= WRAPPER ================= */
#page {
  width: 100%;
}

/* ================= CONTAINER (IMPORTANT) ================= */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ================= TOPBAR ================= */
.topbar {
  background: #111;
  color: #fff;
  font-size: 13px;
  padding: 6px 0;
}

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

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

/* ================= LOGO ================= */
.logo img {
  height: 50px;
}

/* ================= NAV ================= */
.nav {
  border-top: 1px solid #eee;
  border-bottom: 2px solid #e60000;
}

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

.menu li a {
  font-weight: 600;
  font-size: 15px;
}

/* ================= MEGA MENU ================= */
.menu li {
  position: relative;
}

.menu li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 600px;
  background: #fff;
  padding: 15px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.menu li:hover ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

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

.ticker-wrap {
  display: flex;
  gap: 15px;
  align-items: center;
}

.label {
  font-weight: bold;
}

/* TICKER */
.ticker {
  white-space: nowrap;
  animation: tickerMove 40s linear infinite;
}

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

/* ================= MAIN ================= */
.main {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 25px;
  margin-top: 25px;
}

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

/* ================= NEWS ================= */
.news-item {
  background: #fff;
  padding: 12px;
  border: 1px solid #eee;
  transition: 0.2s;
}

.news-item:hover {
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.news-item img {
  height: 170px;
  object-fit: cover;
  margin-bottom: 8px;
}

.news-item h4 {
  font-size: 16px;
}

/* ================= SIDEBAR ================= */
.sidebar {
  background: #fff;
  padding: 15px;
  border: 1px solid #eee;
}

.sidebar h3 {
  border-left: 4px solid #e60000;
  padding-left: 8px;
}

/* ================= SINGLE ================= */
.post-title {
  font-size: 36px;
  margin-bottom: 10px;
}

.post-content {
  font-size: 18px;
  line-height: 1.8;
}

/* ================= FOOTER ================= */
.footer {
  background: #000;
  color: #fff;
  margin-top: 40px;
}

.footer .container {
  padding: 30px 20px;
  text-align: center;
}

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

  .main {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .menu {
    flex-wrap: wrap;
    gap: 10px;
  }

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