body { font-family: Arial, sans-serif; margin:0; background:#f5f6f7; }

.breaking-news {
    background:#c00; color:#fff;
    display:flex; padding:6px 10px;
}
.breaking-news span { font-weight:bold; margin-right:10px; }


.main-header {
  background: #fff;
}

.main-nav .nav-links {
  font-weight: 600;
  margin-left: 20px;
  color: #222;
}

.navbar-dark .navbar-nav .nav-link {
  color:#ffffff !important;
}
.main-nav .nav-links:hover {
  color: #d60000;
  text-decoration: underline;
}

.site-header {
    background:#fff;
    position:sticky;
    top:0;
    z-index:1000;
    box-shadow:0 2px 6px rgba(0,0,0,.1);
}
.header-flex {
    display:flex;
    justify-content:space-between;
    align-items:center;
}
.logo { height:45px; }

.nav a {
    margin:0 10px;
    text-decoration:none;
    color:#333;
    font-weight:600;
}

/* FEATURED GRID */
.featured-grid {
    display:grid;
    grid-template-columns:2fr 1fr 1fr;
    gap:10px;
}
.grid-item {
    position:relative;
}
.grid-item img {
    width:100%;
    height:100%;
    object-fit:cover;
}
.grid-item h3 {
    position:absolute;
    bottom:10px;
    left:10px;
    color:#fff;
}
.cat-tag {
    position:absolute;
    top:10px;
    left:10px;
    background:#f90;
    padding:4px 8px;
    color:#fff;
    font-size:12px;
}

/* SIDEBAR */
.sidebar {
    position:sticky;
    top:90px;
}
.sticky-ad img {
    width:100%;
    margin-bottom:20px;
}

/* SIDEBAR */
.sidebar {
  position: sticky;
  top: 90px;
}

/* BOX */
.sidebar-box {
  background: #fff;
  padding: 16px;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* TITLE */
.sidebar-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 14px;
  padding-bottom: 6px;
  border-bottom: 3px solid #d60000;
  text-transform: uppercase;
}

/* LIST */
.trending-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* ITEM */
.trending-item {
  padding: 12px 0;
  border-bottom: 1px solid #e6e6e6;
}

.trending-item:last-child {
  border-bottom: none;
}

.trending-item a {
  display: flex;
  gap: 10px;
  text-decoration: none;
  color: #111;
}

/* TEXT */
.trending-text {
  flex: 1;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}

.trending-item a:hover .trending-text {
  color: #d60000;
}

/* IMAGE */
.trending-item img {
  width: 72px;
  height: 50px;
  object-fit: cover;
  border-radius: 5px;
}

/* MOBILE */
@media (max-width: 768px) {
  .sidebar {
      position: static;
      margin-top: 20px;
  }

  .trending-text {
      font-size: 14px;
  }

  .trending-item img {
      width: 65px;
      height: 45px;
  }
}


/* MOBILE */
@media(max-width:768px){
    .featured-grid {
        grid-template-columns:1fr;
    }
    .nav { display:none; }
}


.stock-ticker {
  font-size: 14px;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-wrap {
  width: 100%;
  overflow: hidden;
}

.ticker {
  padding-left: 100%;
  animation: ticker-scroll 30s linear infinite;
}

.stock-bar {
  font-size: 16px;
}

.stock-bar strong {
  font-weight: 600;
}

.up {
  color: #00c853;
  font-weight: 600;
}

.down {
  color: #ff5252;
  font-weight: 600;
}


@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* ===============================
   HEADLINE LIST (News18 style)
================================ */
.headline-list {
  border-top: 1px solid #e5e5e5;
}

.headline-item {
  padding: 12px 0;
  border-bottom: 1px solid #e5e5e5;
}

.headline-title {
  font-size: 17px;
  font-weight: 600;
  color: #111;
  text-decoration: none;
  line-height: 1.35;
}

.headline-title:hover {
  color: #d60000;
}

.headline-meta {
  font-size: 12px;
  font-weight: 600;
  color: #777;
  text-transform: uppercase;
  margin-top: 4px;
}

.headline-thumb {
  width: 100%;
  max-width: 90px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
}

/* ===============================
 MOBILE OPTIMIZATION
================================ */
@media (max-width: 576px) {

  .headline-title {
      font-size: 15px;
  }

  .headline-thumb {
      max-width: 75px;
      height: 55px;
  }
}


.latest-item a {
  line-height: 1.3;
}

.latest-item img {
  flex-shrink: 0;
}

.category-card img {
  transition: transform .3s ease;
}

.category-card:hover img {
  transform: scale(1.03);
}

/* ===============================
   MIDDLE NEWS SECTION
================================ */
.middle-news {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* CARD */
.news-card {
  display: flex;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e6e6e6;
}

/* IMAGE */
.news-card-img img {
  width: 110px;
  height: 75px;
  object-fit: cover;
  border-radius: 6px;
}

/* CONTENT */
.news-card-content {
  flex: 1;
}

.news-category {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: #5f5f5f;
  border-radius: 12px;
 
}

.news-title {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: #111;
  line-height: 1.35;
  text-decoration: none;
}

.news-title:hover {
  color: #d60000;
}

.news-date {
  display: block;
  font-size: 12px;
  color: #777;
  margin-top: 6px;
}

/* ===============================
 MOBILE VIEW
================================ */
@media (max-width: 768px) {

  .news-card {
      gap: 10px;
  }

  .news-card-img img {
      width: 90px;
      height: 65px;
  }

  .news-title {
      font-size: 16px;
  }
}



/* CATEGORY HEADER */
.category-heading {
  font-size: 26px;
  font-weight: 800;
  border-left: 5px solid #d71920;
  padding-left: 12px;
}

.view-all {
  font-size: 14px;
  font-weight: 600;
  color: #d71920;
  text-decoration: none;
}

/* BIG STORY */
.big-story img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 8px;
}

.big-story h2 {
  font-size: 22px;
  font-weight: 800;
  margin-top: 10px;
}

/* LIST STORY */
.list-story {
  margin-top: 15px;
  gap: 12px;
}

.list-story img {
  width: 100px;
  height: 70px;
  object-fit: cover;
  border-radius: 6px;
}

.list-story h6 {
  font-size: 16px;
  font-weight: 600;
}

/* GRID STORY */
.grid-story img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 6px;
}

.grid-story h6 {
  margin-top: 8px;
  font-weight: 600;
}

/* SIDEBAR */
.category-sidebar {
  background: #f9f9f9;
  padding: 18px;
  border-radius: 10px;
}

.sidebar-title {
  font-weight: 800;
  border-bottom: 2px solid #000;
  padding-bottom: 6px;
}

.sidebar-item {
  padding: 8px 0;
  border-bottom: 1px solid #eaeaea;
}

.sidebar-item a {
  font-weight: 600;
  font-size: 15px;
  color: #000;
  text-decoration: none;
}

/* MOBILE */
@media (max-width: 768px) {
  .big-story img {
      height: 220px;
  }

  .list-story {
      flex-direction: column;
  }

  .list-story img {
      width: 100%;
      height: 180px;
  }
}



.featured-story img {
  height: 270px;
  object-fit: cover;
  width: 100%;
}

.medium-thumb {
  width: 90px;
  height: 65px;
  object-fit: cover;
}

.sidebar-thumb {
  width: 75px;
  height: 55px;
  object-fit: cover;
}

.small-story {
  border-top: 1px solid #eee;
  padding-top: 8px;
  font-weight: 500;
}

.post-meta {
  font-size: 13px;
  color: #6c757d;
}


.medium-story a {
  text-decoration: none !important;
  color: #111 !important;
}

.featured-story a {
  text-decoration: none !important;
  color: #111 !important;
}

.sidebar-story a {
  text-decoration: none !important;
  color: #111 !important;
}


/* Footer Style */

.footer-dark {
  background: #0b0b0b;
}

.footer-title {
  font-weight: 600;
  margin-bottom: 15px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a,
.footer-bottom-links a {
  color: #bbb;
  text-decoration: none;
  font-size: 14px;
}

.footer-links a:hover,
.footer-bottom-links a:hover {
  color: #fff;
}

.footer-social a {
  color: #fff;
  margin-right: 10px;
  font-size: 18px;
}

.footer-bottom-links a {
  margin-left: 15px;
}

.newsletter-input {
    max-width: 360px;
    height: 46px;
}

.newsletter {
    background: linear-gradient(180deg, #f8f9fa, #ffffff);
}

.newsletter .btn {
    height: 46px;
}
