body{
    overflow-x: hidden;
}
.container a:hover {
    text-decoration: underline !important;
}

.width-ads{
    width:100%;
    margin:0;
    padding:0;

}
.zero{
margin:0;
    padding:0;
}
/* ---------------------site header */

.custom-header {
  background-color: #ffffff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  font-family: 'Segoe UI', sans-serif;
}


.custom-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  height: 64px;
}


.header-section-left {
  display: flex;
  align-items: center;
}


.menu-icon {
  font-size: 24px;
  margin-right: 15px;
  background: none;
  border: none;
  cursor: pointer;
}


.brand-logo {
  background-color: #e53935;
  color: #fff;
  padding: 12px 18px;
  font-weight: bold;
  font-size: 17px;
  margin-right: 18px;
  border-radius: 4px;
}


.nav-links ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.nav-links ul li {
  margin: 0 8px;
}

.nav-links ul li a {
  text-decoration: none;
  color: #222;
  font-size: 14px;
  position: relative;
  font-weight: 500;
  padding: 6px 4px;
  transition: color 0.2s ease;
}

.nav-links ul li a:hover {
  color: #e53935;
}

.nav-links ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: #e53935;
  transition: width 0.3s ease;
}

.nav-links ul li a:hover::after {
  width: 100%;
}

.dropdown-toggle a::after {
  content: ' ▾';
  font-size: 10px;
  margin-left: 3px;
}


.header-section-right {
  display: flex;
  align-items: center;
}

.search-input {
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 4px 0 0 4px;
  outline: none;
  width: 180px;
  font-size: 14px;
}

.search-button {
  background-color: #e53935;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
}
/* -------------sidebar */



.sidebar-menu {
  position: fixed;
  top: 0;
  left: -260px;
  width: 250px;
  height: 100%;
  background-color: #fff;
  box-shadow: 2px 0 5px rgba(0,0,0,0.2);
  z-index: 999;
  padding: 20px 15px;
  transition: left 0.3s ease;
  overflow-y: auto;
}

.sidebar-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-menu ul li {
  margin: 10px 0;
}

.sidebar-menu ul li a {
  text-decoration: none;
  color: #333;
  font-size: 16px;
  display: block;
  padding: 6px 8px;
  border-radius: 4px;
  transition: background 0.2s ease;
  font-weight: bold;
}

.sidebar-menu ul li a:hover {
  background-color: #f0f0f0;
  color: #e53935;
  border-bottom: 1px solid red;
}

.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0,0,0,0.4);
  z-index: 998;
  display: none;
}


.sidebar-menu.open {
  left: 0;
}


.sidebar-overlay.show {
  display: block;
}



.sidebar-close-btn {
  background: none;
  border: none;
  font-size: 28px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  position: absolute;
  top: 10px;
  right: 15px;
  z-index: 1001;
}


@media(max-width:1115px){
.header-section-right{
 display: none;
}
}

@media (max-width: 968px) {

  .nav-links,
  .header-section-right {
    display: none;
  }



  .custom-header-inner {
    justify-content: flex-start;
  }

  .brand-logo {
    margin-right: auto;
  }
}







/* ------------1st section */
    .news-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
}

.news-large, .news-small {
  position: relative;
  overflow: hidden;
  color: white;
  border-radius: 10px;
}

.news-large {
  height: 500px;
}

.news-small {
  height: 240px;
}

.news-small-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}

.news-small.full-bottom {
  grid-column: span 2;
}

.news-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.news-large:hover .news-image,
.news-small:hover .news-image {
  transform: scale(1.1);
}

.news-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.6), rgba(0,0,0,0));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.news-title {
  font-size: 20px;
  font-weight: bold;
  margin-top: auto;
}

.news-title2 {
  font-size: 12px;
  font-weight: bold;
  margin-top: auto;
}

.news-meta {
  font-size: 14px;
  margin-bottom: 5px;
}

.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: red;
  color: white;
  font-size: 12px;
  padding: 8px 7px;
  border-radius: 3px;
}

@media (max-width: 768px) {
  .news-grid {
    grid-template-columns: 1fr;
  }

  .news-small-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }

  .news-small {
    height: 160px;
  }

  .news-small.full-bottom {
    grid-column: span 2;
  }
}

.margin_5{
    margin-top: 5%;
}
@media(max-width:768px){
    #smallmargin-top{
        margin-top: 3% !important;
    }
}
/* ----------------------------------------------------------------------top stories section */
   .containerarea {

    margin: auto;
    padding: 30px 15px;
    display: flex;
    gap: 30px;
  }

  /* Left containerarea: featured + story-list side by side */
  .left {
    display: flex;
    flex: 2;
    gap: 20px;

  }

  .featured {
    flex: 1;
    position: relative;
  }

  .image-wrapper {
    position: relative;
  }

  .featured img {
    width: 100%;
    height: auto;
    display: block;
  }

  .tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: purple;
    color: white;
    padding: 2px 8px;
    font-size: 12px;
    border-radius: 3px;
  }

  .meta {
    font-size: 13px;
    color: gray;
    margin-top: 10px;
  }

  .title {
    font-weight: bold;
    margin: 10px 0 5px;
  }

  .title.featured {
    font-size: 18px;
  }

  .description {
    font-size: 14px;
    color: #666;
  }

  .story-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .story-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
  }

  .story-item img {
    width: 100px;
    height: 80px;
    object-fit: cover;
    flex-shrink: 0;
    border-radius: 6px;
  }

  .story-text .meta {
    font-size: 13px;
    color: gray;
    margin-bottom: 4px;
  }

  .story-text .title {
    font-size: 16px;
    margin: 0;
  }

  /* Right containerarea: tabs + list-story items */
  .right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
    /* border-left: 1px solid #ccc; */
    padding-left: 20px;

  }

  .tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-weight: bold;
    cursor: pointer;
  }

  .tabs span {
    padding: 5px 10px;
    border-radius: 3px;
    color: gray;
    user-select: none;
  }

  .tabs span.active {
    color: white;
    background-color: purple;
  }

  .list-story {
    display: flex;
    gap: 10px;
    align-items: flex-start;
  }

  .list-story img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    flex-shrink: 0;
  }

  .list-content .meta {
    font-size: 13px;
    color: gray;
    margin-bottom: 4px;
  }

  .list-content .title {
    font-weight: bold;
    font-size: 15px;
    margin: 0;
  }



   .right {
    width: 400px;
    font-family: Arial, sans-serif;
  }


 .tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  border-bottom: 1px solid grey;
  padding-bottom: 30px;
}

.tabs span {
  cursor: pointer;
  padding: 10px 18px;
  background: transparent;
  border-radius: 6px;
  transition: background-color 0.3s ease, color 0.3s ease;
  user-select: none;
}

.tabs span:hover {
  background: #ffffff; /* subtle hover effect */
}

.tabs span.active {
   border-bottom: 2px solid red;
  color: rgb(0, 0, 0);
  font-weight: bold;
background-color: transparent !important;
  border-radius: 0;
}

.tab-content {
  display: none;
  animation: fadeIn 0.3s ease forwards;
}

.tab-content.active {
  display: block;
}
  .list-story {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
  }
  .list-story img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
  }
  .list-content .meta {
    font-size: 12px;
    color: #666;
  }
  .list-content .title {
    font-weight: bold;
  }


  /* Responsive Styles */
@media (max-width: 768px) {
  .containerarea {
    flex-direction: column;
    padding: 20px 10px;
  }

  .left {
    flex-direction: column;
  }

  .story-list {
    margin-top: 20px;
  }

  .right {
    flex: none;
    border-left: none;
    padding-left: 20px;
    margin-top: 30px;
    width: 100%;
  }

  .story-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
  }

  .story-item img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    flex-shrink: 0;
  }

  .story-text {
    flex: 1;
  }

  .story-item .story-text,
  .list-content {
    margin-top: 0;
  }
}

.section-heading {
  margin-bottom: 25px;
  border-bottom: 2px solid #ccc;
  padding-bottom: 8px;
}

.section-heading h2 {
  margin: 0;
  font-size: 22px;
  font-weight: bold;
  color: #222;
  font-family: Arial, sans-serif;
}



/* -left red line-- */
.section-heading-style {
  position: relative;
  margin-bottom: 20px;
}

.section-heading-style h2 {
  font-size: 26px;
  font-weight: bold;
  color: #e53935;
  display: inline-block;
  position: relative;
  margin: 0;
  padding-bottom: 6px;
  padding-bottom: 47px;
}



.section-heading-style h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 2px;
  background-color: #e53935;
}


.section-heading-style::after {
  content: "";
  position: absolute;
  left: 60px;
  bottom: 0;
  right: 0;
  height: 1px;
  background-color: #999;
}


/* ------------------------------------------------------------------------entertainment--------------------------------- */
h6 {
  font-weight: 600;
  font-size: 1rem;
}

.badge {
  font-size: 0.7rem;
}
@media(max-width:768px){
  .small-margin{
  margin-top: 5%;
}
}
  .social-btn {
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 15px 10px !important;
      color: white;

      font-size: 14px;
      font-weight: 600;
      text-align: center;
    }
    .facebook { background-color: #3b5998; }
    .instagram { background-color: #e1306c; }
    .youtube { background-color: #ff0000; }
    .twitter { background-color: #55acee; }
    .behance { background-color: #1769ff; }
    .dribbble { background-color: #ea4c89; }

    .ad-img {
      width: 100%;
      height: auto;
      margin: 20px 0;
      position: relative;
    }
    .ad-img::after {
      content: "Ad";
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      color: white;
      font-size: 24px;
      font-weight: bold;
    }



    .categories h6 {
      color: red;
      font-weight: 700;
      margin-top: 20px;
    }
    .categories ul {
      list-style: none;
      padding: 0;
    }
    .categories li {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 5px 0;
      border-bottom: 1px solid #eee;
      font-size: 14px;
    }

 .subscribe-box {
      background-color: #e5e0e0 !important;
      padding: 40px 20px  !important;
      text-align: center !important;
      border-radius: 0 !important;
      width: 100% !important;

      margin: 20px auto !important;
    }

    .subscribe-box h6 {
      font-weight: 700 !important;
      font-size: 16px !important;
      margin-bottom: 20px !important;
      color: #222 !important;
      font-family: 'Arial', sans-serif !important;
    }

    .subscribe-box input[type="email"] {
      background-color: #fff !important;
      border: none !important;
      border-radius: 0 !important;
      padding: 10px !important;
      font-size: 14px !important;
      text-align: center !important;
      margin-bottom: 12px !important;
    }

    .subscribe-box input::placeholder {
      color: #333 !important;
    }

    .subscribe-box button {
      background-color: #f44336 !important;
      color: white !important;
      border: none !important;
      border-radius: 0 !important;
      font-weight: bold !important;
      font-size: 16px !important;
      padding: 10px !important;
      width: 100% !important;
    }
    .count{
      padding:5px;
    }
    .iconstyle{
font-size: 20px;
padding-right: 10px;
    }

    /* -----------------------------------------------------------------------------------------health and fitness--------------- */

 .category-badge {
      position: absolute;
      top: 15px;
      left: 15px;
      background-color: #8bc34a;
      color: white;
      padding: 5px 10px;
      font-size: 12px;
      font-weight: bold;
      border-radius: 2px;
    }

    .feature-article {
      position: relative;
      overflow: hidden;
    }

    .feature-article img {
      width: 100%;
      height: auto;
    }

    .article-meta {
      font-size: 12px;
      color: #999;
      margin-top: 10px;
    }

    .article-title {
      font-weight: 700;
      font-size: 18px;
      margin: 5px 0;
    }

    .article-excerpt {
      font-size: 14px;
      color: #555;
    }

    .small-article {
      display: flex;
      margin-bottom: 15px;
    }

    .small-article img {
      width: 80px;
      height: 80px;
      object-fit: cover;
      margin-right: 10px;
    }

    .small-article-title {
      font-size: 14px;
      font-weight: 600;
    }

    .small-meta {
      font-size: 11px;
      color: #888;
    }
/* ---------------------------------------------------------------------------------------------------footer */

 footer {
      background-color: #2e2e2e;
      color: white;
      padding: 40px 0;
      margin-top: 5%;
    }

    .footer-logo {
      font-size: 24px;
      font-weight: bold;
    }

    .footer-social a {
      color: white;
      font-size: 18px;
      margin-right: 10px;
      display: inline-block;
      width: 35px;
      height: 35px;
      background-color: #3b3b3b;
      text-align: center;
      line-height: 35px;
      border-radius: 50%;
      transition: background 0.3s ease;
    }

    .footer-social a:hover {
      background-color: #555;
    }

   .footer-tags .tagee {
  display: inline-block !important;
  padding: 5px 12px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: white !important;
  border-radius: 3px !important;
  margin: 4px 3px 0 0 !important;
}

.tag-football { background-color: #f44336 !important; }
.tag-cricket { background-color: #3f51b5 !important; }
.tag-covid { background-color: #9c27b0 !important; }
.tag-lifestyle { background-color: #f9c74f !important; color: #000 !important; }
.tag-trending { background-color: #e91e63 !important; }
.tag-tech { background-color: #00bcd4 !important; }
.tag-travel { background-color: #3f51b5 !important; }


    .footer-line {
      border-top: 1px solid #aaa;
      margin-bottom: 15px;
      width: 50px;
    }

    .subscribe-input {
      padding: 8px 12px;
      border: none;
      width: 100%;
      margin-bottom: 10px;
    }

    .subscribe-button {
      background-color: #f44336;
      color: white;
      border: none;
      padding: 8px 12px;
      font-weight: bold;
      width: 100%;
    }
    /* ======================================================================================================================single blog============= */
    .bold{
      font-weight: bold;
    }
    .signle-blog-image-width{
     width: 100%;
      height:500px !important;
      margin-top: 5%;
    }
        p{
        font-family: "Roboto" !important;
        font-size: 18px;
        line-height: 150%;
        font-weight:400;
        letter-spacing: 0.7px;
        color:#666666;
    }

      .section-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 20px 30px;

      font-family: Arial, sans-serif;
    }

    .section-header h1 {
      margin: 0;
      font-size: 40px;
      font-weight: bold;
      color: #333;
    }

    .view-all-btn {
      padding: 13px 40px;
      background-color: #7b3ff2;
      color: white;
      border: none;
      border-radius: 8px;
      cursor: pointer;
      font-size: 14px;
      transition: background-color 0.3s;
      font-weight: bold;
      letter-spacing: 0.5px;
    }

    .view-all-btn:hover {
      background-color: #692de4;
    }
    .col-image-width{
      width:100%;
    }
    .black{
      color:black;
    }
    .color{
      color:#692de4;
    }
  .flex{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
