 html,
 body {
     margin: 0;
     padding: 0;
     font-family: Arial, sans-serif;
     width: 100%;
 }

 a {
     text-decoration: none;

 }
 .image-card{
    color: rgb(255 255 255)!important;

 }
.cursor-pointer{
cursor:pointer;
}




.page-link {
    color: #460404 !important;

    border-radius: 50px !important;
    margin: 0 .5px !important;
}

.active>.page-link, .page-link.active {
    z-index: 3;
    color: #fff !important;
    background-color: #941316 !important;
    border-color: #2d0909 !important;
    gap: 20px !important;
}
 /* a:hover {
     text-decoration: none;
     color: rgb(36, 29, 29);
     background-color: rgb(221, 221, 221);
     padding: 2px 4px;
     border-radius: 4px;
     transition: 0.3s;
 } */


 /* Full width header */
 .header-container {
     display: flex;
     flex-wrap: wrap;
     align-items: center;
     width: 100%;
     padding: 10px 1rem;
     background-color: #fff;
     box-sizing: border-box;
 }

 .logo-container img {
     height: 85px;
 }

 .button-container {
     display: flex;
     gap: 10px;
 }

 .button-container img {
     height: 45px;
     cursor: pointer;
 }

 .home-ad-container {
     flex-grow: 1;
 }

 .home-ad-container img {
     width: 100%;
     max-height: 90px;
     object-fit: cover;
     border-radius: 5px;
 }


 .nav-link.show {
     color: #f1f1f1 !important;
 }

 /* Navbar full width */
 nav.navbar-bg {
     background-color: #000;
     width: 100%;
     padding: 0.3rem 1rem;
     font-weight: 600;
 }

 nav.navbar-bg .nav-link,
 nav.navbar-bg .navbar-brand {
     color: #fff;
 }

 nav.navbar-bg .nav-link:hover,
 nav.navbar-bg .nav-link.active {
     background-color: #111;
     border-radius: 4px;
 }

 nav.navbar-bg .dropdown-menu {
     background-color: #222;
 }

 nav.navbar-bg .dropdown-item {
     color: #fff;
 }

 nav.navbar-bg .dropdown-item:hover {
     background-color: #444;
 }

 .navbar-toggler {
     border: none;
 }

 .navbar-toggler-icon {
     filter: invert(1);
 }

 .social-icon a {
     color: white;
     font-size: 18px;
     margin-left: 10px;
 }

 .social-icon a:hover {
     color: #0d6efd;
 }



 /* =============================
   Enhanced Breaking News Ticker
============================= */
 .custom-ticker-header {
     background: linear-gradient(180deg, #d54f4f, #650808);
     color: #fff;
     padding: 10px 0;
     font-size: 15px;
     font-weight: 600;
     overflow: hidden;
     position: relative;
 }

 .ticker-container {
     display: flex;
     align-items: center;
     gap: 10px;
     white-space: nowrap;
     overflow: hidden;
 }

 .ticker-label {
     background-color: #fff;
     color: #c40000;
     padding: 3px 10px;
     font-size: 13px;
     font-weight: bold;
     border-radius: 3px;
 }

 .ticker-content {
     overflow: hidden;
     position: relative;
     flex: 1;
 }

 .ticker-content p {
     display: inline-block;
     white-space: nowrap;
     padding-left: 100%;
     margin: 0;
     animation: ticker-scroll 25s linear infinite;
     color: #fff;
 }

 .ticker-content:hover p {
     animation-play-state: paused;
 }

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

     100% {
         transform: translateX(-100%);
     }
 }











 .card {
     width: 100%;
     background: #fff;
     border-radius: 4px;
     padding: 2px;
     box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
     margin-bottom: 20px;
     border: 1px dotted gray;
 }

 .card-header {
     font-weight: 700;

     /* background: linear-gradient(0deg, #3d2727, #000); */
     border-bottom: 2px solid red;
 }

 /* .card-header::after {
     content: '';
     display: block;
     height: 4px;
     width: 100px;
     background: red;
     border-radius: 2px;
     position: absolute;
     bottom: -6px;
     left: 0;
 } */



 /* .card {
     margin-bottom: 20px;
     border-radius: 8px;
     box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
 }

 .card-header {
     font-weight: 600;
     font-size: 18px;
     background-color: #f5f5f5;
     border-bottom: 1px solid #ddd;
 } */

 .news-box {
     border-bottom: 1px solid #eee;
     padding: 10px 0;
     text-decoration: none;
     color: #000;
 }

 .news-box img {
     width: 100%;
     height: 75px;
     object-fit: cover;
     border-radius: 5px;
 }

 .news-text-container h3,
 .news-text-container p,
 .news-text-container h5 {
     font-size: 15px;
     font-weight: 500;
     margin: 0 0 5px 0;
 }

 .news-date {
     font-size: 12px;
     color: #777;
 }

 .view-more {
     text-align: left;
     margin-top: 8px;
 }

 .btn.new-button {
     background: #f5f5f5;
     border: 1px solid #ccc;
     font-size: 14px;
     font-weight: 500;
 }

 .advertisement-container-long img {
     border-radius: 6px;
 }

 .side-box .news-box {
     border-bottom: 1px dashed #ddd;
 }









 .main-box {
     /* background: #fff; */
     /* border-radius: 8px; */
     padding: 15px;
     /* box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08); */
 }

 .middle-dv {
     box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
     border-radius: 8px;
     height: 100%;
 }

 .landing-banner img {
     width: 100%;
     border-radius: 10px;
     object-fit: cover;
 }

 .landing-banner figcaption {
     margin-top: 10px;
 }

 .slider-heading {
     font-size: 1.25rem;
     font-weight: 600;
     line-height: 1.4;
 }

 .main-news-section {
     margin-top: 20px;
 }

 .ar-news-box {
     display: flex;
     background: #fff;
     border: 1px solid #e2e2e2;
     border-radius: 8px;
     padding: 10px;
     margin-bottom: 20px;
     transition: all 0.3s ease-in-out;
 }

 .ar-news-box:hover {
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
     transform: translateY(-2px);
 }

 .news-img-container img {
     width: 100%;
     height: 100px;
     object-fit: cover;
     border-radius: 6px;
 }

 .news-text-container {
     padding-left: 12px;
     display: flex;
     flex-direction: column;
     justify-content: center;
 }

 .news-text-container h3 {
     font-size: 15px;
     font-weight: 500;
     margin-bottom: 6px;
     color: #212529;
     line-height: 1.3;
 }

 .news-date {
     font-size: 0.85rem;
     color: #6c757d;
 }




 .advertisement-space-container-first img {
     border-radius: 8px;
     object-fit: cover;
 }

 .sidebar-page-container {
     margin-top: 20px;
 }

 .sidebar-widget .heading-container h4 {
     font-size: 1.1rem;
     font-weight: 600;
     margin-bottom: 5px;
 }

 .grey-line {
     height: 2px;
     background: #ddd;
     margin: 6px 0 12px;
 }

 .carousel-inner-data {
     height: 250px;
 }

 .carousel-inner-data ul {
     list-style: none;
     padding: 0;
     margin: 0;
 }

 .carousel-inner-data li {
     margin-bottom: 15px;
 }

 .post {
     background: #fff;
     padding: 10px;
     border: 1px solid #e2e2e2;
     border-radius: 6px;
 }

 .post-date {
     font-size: 0.85rem;
     font-weight: 500;
     color: #6c757d;
 }

 .file-box {
     font-size: 0.8rem;
     color: #555;
     display: flex;
     align-items: center;
     gap: 5px;
     margin-bottom: 5px;
 }

 .file-box p {
     margin: 0;
     color: red;
     font-weight: 600;
     font-size: 0.75rem;
     animation: blink 1.5s infinite;
 }

 @keyframes blink {
     50% {
         opacity: 0;
     }
 }

 /* .news-box {
      background: #fff;
      border: 1px solid #e2e2e2;
      border-radius: 6px;
      margin-bottom: 15px;
      padding: 8px;
      transition: all 0.3s ease-in-out;
    }

    .news-box:hover {
      background: #fdfdfd;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    } */

 .news-img-container img {
     width: 100%;
     height: 90px;
     object-fit: cover;
     border-radius: 5px;
 }

 .news-text-container h5 {
     font-size: 0.95rem;
     margin: 0;
     font-weight: 500;
     line-height: 1.3;
 }

 .view-more {
     text-align: right;
     margin-top: 10px;
 }

 .new-button {
     font-size: 0.85rem;
     background: #f5f5f5;
     border: 1px solid #ccc;
     border-radius: 20px;
     padding: 5px 12px;
     transition: all 0.3s;
 }

 .new-button:hover {
     background: #e9ecef;
 }


 /* Make banner fixed */
 .fixed-banner {
     position: sticky;
     /* keeps it visible at top */
     top: 0;
     background: #fff;
     /* add background so text is readable */
     z-index: 10;
     /* make sure it stays above */
     padding-bottom: 10px;
     border-bottom: 2px solid #ddd;
 }

 /* Scrollable area */
 .scrollable-news {
     max-height: 935px;
     overflow-y: auto;
     padding-right: 16px;
 }




 .lang-switch a {
     font-size: 14px;
     font-weight: bold;
     color: #ffffff;
     text-decoration: none;
     margin-left: 8px;
 }



 /* CATEGORY CSS  */








 .nav-category {
     white-space: nowrap;
     overflow-x: auto;
     padding-bottom: .5rem;
 }

 .nav-category span {
     margin-right: 8px;
 }

 .browse-cats {
     margin: 1rem 0;
 }

 .browse-cats .btn {
     margin: 2px;
     white-space: nowrap;
 }

 .top-story {
     margin-bottom: 1rem;
 }

 .top-story img {
     width: 100%;
     height: auto;
     border-radius: .25rem;
 }

 .article-list .card {
     margin-bottom: 1rem;
 }

 .latest-news-box {
     background: white;
     padding: 1rem;
     border: 1px solid #ddd;
 }

 .latest-news-box h5 {
     border-bottom: 2px solid red;
     padding-bottom: .5rem;
     margin-bottom: 1rem;
 }

 .latest-news-box .news-item {
     display: flex;
     margin-bottom: .75rem;
 }

 .latest-news-box img {
     width: 100px;
     height: 75px;
     object-fit: cover;
     margin-right: .5rem;
 }

 .qr-banner {
     margin-bottom: 1rem;
 }

 .news-card {
     position: relative;
     overflow: hidden;
     color: white;
 }

 .news-card img {
     width: 100%;
     height: 100%;
     object-fit: cover;
 }

 .news-card .overlay {
     position: absolute;
     bottom: 0;
     left: 0;
     right: 0;
     padding: 15px;
     background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
 }

 .news-card .tags {
     position: absolute;
     top: 10px;
     left: 10px;
     z-index: 2;
 }

 .news-card .badge {
     background-color: red;
     font-size: 0.75rem;
     margin-right: 5px;
 }

 .news-card h6 {
     font-size: 1rem;
     margin: 0;
 }

 .news-card .date {
     font-size: 0.8rem;
     color: #ddd;
 }

 .card-grid {
     display: grid;
     grid-template-areas:
         "large medium medium"
         "small1 small2 small3";
     grid-gap: 10px;
     grid-template-columns: 2fr 1fr 1fr;
     grid-template-rows: 250px 130px;
 }

 .card-large {
     grid-area: large;
 }

 .card-medium:nth-child(2) {
     grid-area: medium;
 }

 .card-small:nth-child(3) {
     grid-area: small1;
 }

 .card-small:nth-child(4) {
     grid-area: small2;
 }

 .card-small:nth-child(5) {
     grid-area: small3;
 }

 @media (max-width: 768px) {
     .card-grid {
         grid-template-areas:
             "large"
             "medium"
             "small1"
             "small2"
             "small3";
         grid-template-columns: 1fr;
         grid-template-rows: repeat(5, 200px);
     }
 }







 /* Breadcrumb separator style */
 .breadcrumb-item+.breadcrumb-item::before {
     content: "/";
     color: #6c757d;
 }

 .breadcrumb a {
     text-decoration: none;
     color: #550909;
 }

 .breadcrumb a:hover {
     text-decoration: underline;
 }

 .breadcrumb-card {
     border-left: 6px solid #961a1e;
     /* red highlight strip */
 }





 .latest-news-box {
     box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
 }

 .news-item img {
     width: 60px;
     height: 60px;
     object-fit: cover;
     border: 1px solid #ddd;
 }

 .news-item .small {
     font-size: 0.85rem;
     color: #222;
 }

 .card-title {
     font-size: 16px;
     font-weight: 600;
     color: #212529;
 }

 .card-body .small span {
     white-space: nowrap;
 }












 .carousel-caption {
     position: absolute;
     right: 15%;
     bottom: 1.25rem;
     left: 15%;
     padding-top: 1.25rem;
     padding-bottom: 1.25rem;
     padding-left: 0.25rem;
     padding-right: 0.25rem;
     color: #fff;
     text-align: center;
     background-color: #000000bd !important;
     border-radius: 5px !important;
 }
.carousel-item{
cursor: pointer;
}



















 .footer-section-title {
     border-bottom: 3px solid red;
     padding-bottom: 5px;
     margin-bottom: 10px;
     font-weight: bold;
 }

 .footer-news-item {
     display: flex;
     align-items: center;
     margin-bottom: 10px;
     font-size: 0.9rem;

 }

 .footer-news-item img {
     width: 50px;
     height: 50px;
     object-fit: cover;
     margin-right: 10px;
 }

 footer {
     padding: 20px 0;
 }

 .search-btn {
     position: fixed;
     bottom: 90px;
     right: 20px;
     background-color: red;
     color: white;
     border: none;
     border-radius: 50%;
     width: 45px;
     height: 45px;
     z-index: 1000;
     cursor: pointer;
 }

 .back-to-top {
     position: fixed;
     bottom: 20px;
     right: 20px;
     background-color: red;
     color: white;
     font-size: 1.5rem;
     text-align: center;
     width: 40px;
     height: 40px;
     border-radius: 50%;
     line-height: 40px;
     text-decoration: none;
 }

 .footer-content {
     background: linear-gradient(0deg, #3d2727, #000);
     color: #fff;
 }


 .section-title {
     font-weight: bold;
     position: relative;
     padding-bottom: 5px;
     margin-bottom: 15px;
     border-bottom: 2px solid #eee;
 }

 .section-title::after {
     content: '';
     position: absolute;
     bottom: -2px;
     left: 0;
     width: 100px;
     height: 3px;
     background-color: #d40000;
 }

 .main-article .title {
     font-size: 1rem;
     font-weight: 600;
     color: #333;
 }

 .title {
     font-size: 0.95rem;
     color: #111;
 }

 .date {
     font-size: 0.8rem;
     color: #888;
     margin-top: 2px;
 }

 .more-link {
     display: inline-block;
     margin-top: 10px;
     font-size: 0.9rem;
     color: #d40000;
     text-decoration: none;
     font-weight: 600;

 }

 .more-link:hover {
     text-decoration: underline;
     cursor: pointer
 }


 .news-img {
     width: 120px;
     /* fixed width for consistency */
     height: 80px;
     /* keeps cards aligned */
     object-fit: cover;
     /* avoid distortion */
 }

 @media (max-width: 973px) {
     .news-img {
         width: 100px;
         height: 70px;
     }
 }

 .card-body h6 {
     font-size: 0.95rem;
     line-height: 1.3;
 }

 .news-date {
     font-size: 0.8rem;
     color: #666;
 }





/* Custom dropdown style */
/* Base style for dropdown */
.dropdown-menu {
  background-color: rgb(37, 36, 36); /* deep red */
  color: #fff;
  /* border-radius: 12px; */
  border: none;
  /* padding: 1rem; */
  min-width: 500px; /* widen dropdown on large screens */
}

/* Grid items inside dropdown */
.dropdown-menu .dropdown-item {
  background: rgb(0 0 0 / 16%);
  border-radius: 6px;
  color: #fff;
  font-weight: 500;
  text-align: center;
  /* padding: 0.5rem; */
  transition: all 0.2s ease-in-out;
}

.dropdown-menu .dropdown-item:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}

/* 🔹 Mobile (default) – full width, left aligned */
.dropdown-menu[data-bs-popper] {
  left: 0 !important;
  transform: none !important;
  min-width: 100% !important; /* stretch on mobile */
}

/* 🔹 Tablet (≥768px) – center below button */
@media (min-width: 768px) {
  .dropdown-menu[data-bs-popper] {
    left: 150% !important;
    transform: translateX(-50%) !important;
    min-width: 400px !important; /* narrower on tablets */
  }
}

/* 🔹 Tablets (≥768px and <1200px) */
@media (max-width: 1199px) {
  .dropdown-menu[data-bs-popper] {
    left: 150% !important;
    transform: translateX(-50%) !important;
    min-width: 400px !important; /* narrower on tablets */
  }
}


/* 🔹 Desktop (≥1200px) – custom offset / larger width */
@media (min-width: 1200px) {
  .dropdown-menu[data-bs-popper] {
    left: 250% !important;
    transform: translateX(-50%) !important;
  }
}






 .cat-category-header {
  background: linear-gradient(90deg, #464545, #000000);
  font-weight: 600;
  padding: 10px 0;
  border-radius: 10px 10px 0 0;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
}

.cat-category-news li {
  transition: background 0.2s;
  padding: 5px;
  border-radius: 5px;
}

.cat-category-news li:hover {
  background: #f9f9f9;
}

.cat-news-title {
  font-size: 0.95rem;
  font-weight: 500;
  color: #222;
  text-decoration: none;
  line-height: 1.2rem;
}

.cat-news-title:hover {
  color: #2b2b2b;
  text-decoration: underline;
}

.cat-category-news img {
  width: 130px;
  height: 90px;
  object-fit: cover;
  border-radius: 6px;
}


.card-singlepost {
    width: 100%;
    background: #fff;
    border-radius: 4px;
    padding: 2px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    border: 1px dotted gray;

}

.card-body-singlepost {

}



.card {
    width: 100%;
    background: #fff;
    border-radius: 4px;
    padding: 2px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    border: 1px dotted gray;

    /* 🔑 Height control */
    min-height: 550px !important;   /* set as per your layout */
    display: flex;
    flex-direction: column;
}

.card-body {
    flex: 1; /* fill available space */
    display: flex;
    flex-direction: column;
}

.news-box {
    display: flex;
    flex: 1;
    align-items: stretch;
    min-height: 100px; /* keeps rows balanced */
}

.news-text-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
