/*
Theme Name: NoHardi Display News
Theme URI: https://example.com
Author: Your Name
Author URI: https://example.com
Description: A custom WordPress theme for a news portal.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nohardisplaynews
*/

/* Header Logo */
/* Navbar Styling */
/* Remove default link styles and apply navbar styles */
/* === Navbar Base Styling === */
/* ===== NAVBAR DESIGN START ===== */
/* Force remove link underline and blue color from menu */

.bottom-ticker {
  bottom: 0;
  background-color: #cf2e2e;
  z-index: 9999;
  font-size: 16px;
  white-space: nowrap;
}

.news-scroll {
  overflow: hidden;
  position: relative;
}

.scroll-content {
  animation: scroll-left 30s linear infinite;
  display: flex;
  align-items: center;
}

@keyframes scroll-left {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}


.header-ad {
  margin: 20px auto;
  text-align: center;

}

.header-ad img,
.img-ad img{
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}

body, h1, h2, h3, h4, h5, h6, p, a, span, small {
  font-family: 'Poppins', sans-serif;
}

.navbar-nav a {
  color: white !important;
  text-decoration: none !important;
  font-weight: 500;
  padding: 10px 25px; /* 👈 left-right padding badha diya */
  display: inline-block;
  transition: 0.3s;
}
.navbar-nav > li > a.nav-link {
  padding: 10px 20px !important;
}

.navbar-nav a:hover {
  background-color: #ffc107;
  color: #000 !important;
  border-radius: 4px;
}

.navbar .dropdown-menu {
  display: none;
  opacity: 0;
  visibility: hidden;
}

/* === Navbar Dropdown Fix === */
@media (min-width: 992px) {
  .navbar .dropdown:hover > .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
  }
}

.navbar .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #0b1f5e;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

.navbar .dropdown-menu .dropdown-item {
  color: white;
}

.navbar .dropdown-menu .dropdown-item:hover {
  background-color: #152d74;
  color: #fff;
}

.breaking-marquee {
  height: 30px;
  position: relative;
}

.breaking-track {
  display: inline-block;
  white-space: nowrap;
  animation: marquee-loop 60s linear infinite;
}

@keyframes marquee-loop {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.breaking-marquee:hover .breaking-track {
  animation-play-state: paused;
}

.breaking-bar {
  overflow: hidden;
  position: relative;
}

.breaking-slider {
  position: relative;
  width: 100%;
  height: 1.5em; /* Adjust height based on text */
}

.breaking-item {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-in-out;
  font-weight: 500;
  color: #000;
  white-space: nowrap;
}

.breaking-item.active {
  opacity: 1;
  visibility: visible;
}



.news-box {
  background-size: cover;
  background-position: center;
  min-height: 250px;
  border-radius: 0; /* No border radius */
  overflow: hidden;
  position: relative;
}

.news-box .overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.2));
  color: white;
  height: 100%;
  width: 100%;
}

.news-box h5 {
  margin: 0;
  font-size: 1.1rem;
}

.news-box small {
  font-size: 0.8rem;
  color: #e0e0e0;
}

.news-box .badge {
  background-color: #007bff;
  font-size: 0.8rem;
  padding: 4px 8px;
  border-radius: 3px;
  display: inline-block;
}


.news-box {
  background-size: cover;
  background-position: center;
  min-height: 250px;
  border-radius: 0;
  overflow: hidden;
  position: relative;
}

.news-box .overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.2));
  color: white;
  height: 100%;
  width: 100%;
}

.news-box h5 {
  margin: 0;
  font-size: 1.1rem;
}

.news-box small {
  font-size: 0.8rem;
  color: #e0e0e0;
}

.news-box .badge {
  background-color: #007bff;
  font-size: 0.8rem;
  padding: 4px 8px;
  border-radius: 3px;
  display: inline-block;
}

.section-title {
  background-color: #f8f9fa; /* Light grey bg */
  color: #212529;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 10px 20px;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 1rem;
  display: inline-block;
  width: 100%;
  text-transform: uppercase;
  border-left: 5px solid #dc3545; /* red stripe */
  box-shadow: 0 2px 4px rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: solid 2px #dc3545;
}

.section-title i {
  color: #dc3545; /* Icon same red as border */
  font-size: 1.3rem;
}



.category-blocks {
  font-family: 'Poppins', sans-serif;
}

.category-box {
  background: #f8f9fa;
  padding: 15px;
  border: 1px solid #ddd;
}

.cat-heading {
  background-color: #009dc4;
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 6px 12px;
  margin-bottom: 15px;
  text-align: center;
  text-transform: uppercase;
}

.cat-news-item {
  align-items: flex-start;
}

.cat-img-box img {
  width: 140px; /* ✅ बड़ा कर दिया */
  height: 80px; /* ✅ थोड़ा ऊँचा किया */
  object-fit: cover;
  border-radius: 4px;
}

.cat-news-content h6 {
  font-size: .90rem; /* ✅ थोड़ा compact */
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 4px;
}

.cat-news-content a {
  color: #000;
  text-decoration: none;
  display: block;
}

.cat-news-content a:hover {
  text-decoration: underline;
  color: #007bff;
}

.cat-news-content small {
  font-size: 0.7rem; /* ✅ छोटा किया */
  display: block;
  color: #666;
}




.news-footer {
  background-color: #121212;
  color: #ccc;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
}

.news-footer p {
  color: #aaa;
  font-size: 0.9rem;
}

.footer-title {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1rem;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
}

.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-social a {
  color: #ccc;
  font-size: 1.2rem;
  transition: 0.3s;
}

.footer-social a:hover {
  color: #ffffff;
}

.news-footer .custom-logo-link {
  display: inline-block;
  margin-bottom: 15px;
  max-width: 240px; /* या जितना आप चाहें */
}

.news-footer .custom-logo {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}




.khas-khabar-section {
  font-family: 'Poppins', sans-serif;
}

.khas-heading {
  font-size: 1.2rem;
  font-weight: 600;
  background-color: #333;
  color: #fff;
  display: inline-block;
  padding: 6px 16px;
  margin-bottom: 20px;
  border-left: 4px solid #007bff;
}

.khas-card {
  background: #fff;
  border: 1px solid #ddd;
  transition: all 0.3s ease-in-out;
  padding: 5px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.khas-card:hover {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.khas-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.khas-category {
  font-size: 0.75rem;
  font-weight: 600;
  color: #007bff;
  text-transform: uppercase;
}

.khas-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  color: #222;
}

.khas-title a {
  color: inherit;
  text-decoration: none;
}

.khas-title a:hover {
  color: #007bff;
}

.khas-meta small {
  color: #777;
  font-size: 0.75rem;
}




.site-logo {
  max-width: 400px!important;
}

.site-logo .custom-logo {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}


@media (max-width: 480px) {
  .site-logo {
    max-width: 120px;
  }

  .site-logo .custom-logo {
    max-height: 80px;
  }
}








.trending-box h5 {
  font-size: 16px;
  font-weight: bold;
}
.trending-box a {
  text-decoration: none;
  color: #000;
}
.trending-box a:hover {
  color: #007bff;
}

.post-content {
  text-align: justify;
  line-height: 1.7;
  font-size: 17px;
}



.single-post-title {
  font-size: 30px;        /* Default 26px होता है, तो 2px कम */
  line-height: 1.4;       /* थोड़ा compact yet readable */
  font-weight: 600;       /* Bold लेकिन soft */
  color: #222;            /* थोड़ा डार्क ग्रे शेड */
}





.top-contact-bar {
  background-color: transparent;
  color: #000;
  padding: 6px 0;
  font-family: 'Poppins', sans-serif;
}

.top-contact-bar .label-box {
  background-color: #e63946; /* नीला रंग जैसे screenshot में */
  color: white;
  padding: 5px 14px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.top-contact-bar .ad-message {
  font-size: 15px;
  font-weight: 500;
  color: #000;
}
