/*
Theme Name: News Point MP
Theme URI: http://localhost/newspointmp/
Author: News Point MP Team
Author URI: http://localhost/newspointmp/
Description: Complete high-performance Hindi news portal theme for News Point MP with breaking news tickers, Live TV player, category blocks, fast news cards, and full responsiveness.
Version: 2.0.0
Text Domain: newspointmp
Tags: news, blog, two-columns, right-sidebar, custom-menu, featured-images, translation-ready
*/

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Devanagari:wght@400;500;600;700;800;900&family=Noto+Sans:ital,wght@0,400;0,600;0,700;1,400&family=Mukta:wght@400;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --primary: #C80000;
  --primary-dark: #990000;
  --primary-light: #E20015;
  --secondary: #111111;
  --accent: #E20015;
  --black: #111111;
  --dark: #1E293B;
  --white: #ffffff;
  --gray-100: #F8FAFC;
  --gray-200: #F1F5F9;
  --gray-300: #E2E8F0;
  --gray-600: #475569;
  --gray-800: #1E293B;
  --text-dark: #111111;
  --text-muted: #64748B;
  --page-width: 1360px;
  --header-height: 126px;
  --top-bar-height: 0px;
}

body {
  font-family: 'Noto Sans Devanagari', 'Noto Sans', sans-serif;
  color: #1a1a1a;
  background-color: #f7f8fa;
  margin: 0;
  padding: 0;
  padding-top: calc(var(--header-height) + 12px);
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

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

a:hover {
  color: var(--primary);
}

.theme-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 15px;
  width: 100%;
}

@media screen and (min-width: 768px) {
  .theme-container {
    max-width: 86%;
  }
}

@media screen and (min-width: 1400px) {
  .theme-container {
    max-width: 1340px;
  }
}

.theme-row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -12px;
  margin-right: -12px;
}

.col-12 { flex: 0 0 100%; max-width: 100%; padding: 0 12px; }
.col-lg-3 { flex: 0 0 100%; max-width: 100%; padding: 0 12px; }
.col-lg-4 { flex: 0 0 100%; max-width: 100%; padding: 0 12px; }
.col-lg-5 { flex: 0 0 100%; max-width: 100%; padding: 0 12px; }
.col-lg-6 { flex: 0 0 100%; max-width: 100%; padding: 0 12px; }
.col-lg-7 { flex: 0 0 100%; max-width: 100%; padding: 0 12px; }
.col-lg-8 { flex: 0 0 100%; max-width: 100%; padding: 0 12px; }
.col-lg-9 { flex: 0 0 100%; max-width: 100%; padding: 0 12px; }

@media screen and (min-width: 768px) {
  .col-md-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .col-md-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
  .col-md-6 { flex: 0 0 50%; max-width: 50%; }
  .col-md-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
  .col-md-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
}

@media screen and (min-width: 992px) {
  .col-lg-3 { flex: 0 0 25%; max-width: 25%; }
  .col-lg-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .col-lg-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
  .col-lg-6 { flex: 0 0 50%; max-width: 50%; }
  .col-lg-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
  .col-lg-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
  .col-lg-9 { flex: 0 0 75%; max-width: 75%; }
}

/* Section Headings */
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid #222;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 6px;
}

.section-heading .heading h2,
.section-heading .heading h1 {
  font-family: 'Noto Sans Devanagari', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: #111;
  margin: 0;
  position: relative;
  display: inline-block;
  line-height: 1.2;
}

.section-heading .heading h2::after,
.section-heading .heading h1::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 3px;
  background-color: var(--primary);
}

.section-heading .btn {
  font-size: 14px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 4px;
  background: #111;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: none;
}

.section-heading .btn:hover {
  background: var(--primary);
  color: #fff;
}

/* Secondary Section Heading (Videos / Dark) */
.section-heading-secondary {
  background: #111;
  color: #fff;
  padding: 8px 14px;
  border-radius: 4px 4px 0 0;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.section-heading-secondary h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  color: #fff;
}

/* News Cards */
.banner-lead-post {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  margin-bottom: 20px;
}

.banner-lead-post:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.banner-lead-post .post-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.banner-lead-post .post-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.banner-lead-post:hover .post-img img {
  transform: scale(1.04);
}

.banner-lead-post .post-content {
  padding: 14px 16px;
}

.banner-lead-post .post-content h2.heading,
.banner-lead-post .post-content h3.heading {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
}

.banner-lead-post .post-content h2.heading a,
.banner-lead-post .post-content h3.heading a {
  color: #111;
}

.banner-lead-post .post-content h2.heading a:hover {
  color: var(--primary);
}

/* Below Home Banner / Stacked Compact Cards */
.below-home-banner.news-item,
.news-item {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #eef1f5;
  align-items: flex-start;
}

.below-home-banner.news-item:last-child,
.news-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.below-home-banner .news-img,
.news-item .news-img {
  flex: 0 0 110px;
  width: 110px;
  height: 72px;
  border-radius: 4px;
  overflow: hidden;
}

.below-home-banner .news-img img,
.news-item .news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.below-home-banner.news-item:hover .news-img img,
.news-item:hover .news-img img {
  transform: scale(1.06);
}

.below-home-banner .news-content,
.news-item .news-content {
  flex: 1;
}

.below-home-banner .news-content h3.heading,
.below-home-banner .news-content h4.heading,
.news-item .news-content h4.heading,
.news-item .news-content h3.heading {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  margin: 0;
  color: #111;
}

.below-home-banner .news-content h3.heading a:hover,
.news-item .news-content h4.heading a:hover {
  color: var(--primary);
}

/* Vistaar-Style Hero News Item with Red Accent Frame */
.hero-news-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid #edf2f7;
  transition: background-color 0.2s ease;
}

.hero-news-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.hero-news-item .news-img-box {
  flex: 0 0 120px;
  width: 120px;
  height: 78px;
  position: relative;
  margin-top: 3px;
  margin-left: 3px;
}

.hero-news-item .news-img-box:after {
  content: "";
  width: calc(50% + 5px);
  height: calc(100% + 5px);
  position: absolute;
  top: -3px;
  left: -3px;
  z-index: 0;
  background-color: var(--primary, #C80000);
  pointer-events: none;
}

.hero-news-item .news-img-box img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background-color: #f1f5f9;
  transition: transform 0.3s ease;
}

.hero-news-item:hover .news-img-box img {
  transform: scale(1.04);
}

.hero-news-item .news-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hero-news-item .news-info .heading {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.38;
  margin: 0 0 6px 0;
  color: #111;
}

.hero-news-item .news-info .heading a {
  color: #111;
  transition: color 0.2s ease;
}

.hero-news-item .news-info .heading a:hover {
  color: var(--primary, #C80000);
}

.hero-news-item .news-info .post-meta {
  font-size: 12px;
  color: #94A3B8;
  font-weight: 600;
}

/* Breaking News Ticker */
.breaking-news-bar {
  background: #111;
  color: #fff;
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.breaking-news-label {
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  padding: 8px 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  letter-spacing: 0.5px;
  position: relative;
}

.breaking-news-label::after {
  content: "";
  position: absolute;
  right: -8px;
  top: 0;
  bottom: 0;
  width: 0;
  height: 0;
  border-top: 19px solid transparent;
  border-bottom: 19px solid transparent;
  border-left: 8px solid var(--primary);
  z-index: 2;
}

.breaking-news-ticker {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  padding: 8px 16px;
}

.breaking-news-ticker ul {
  display: inline-flex;
  margin: 0;
  padding: 0;
  list-style: none;
  animation: tickerMarquee 35s linear infinite;
}

.breaking-news-ticker ul:hover {
  animation-play-state: paused;
}

.breaking-news-ticker li {
  margin-right: 40px;
  font-size: 15px;
  font-weight: 600;
}

.breaking-news-ticker li a {
  color: #fff;
}

.breaking-news-ticker li a:hover {
  color: #ffb4b9;
}

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

/* Typewriter Banner "खबर फटाफट" */
.banner-container {
  width: 100%;
  height: 42px;
  background-color: var(--primary);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 6px 6px 0 0;
  margin-top: 15px;
}

.banner-container .text {
  color: #FFFFFF;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.banner-container .cursor::after {
  content: '|';
  margin-left: 4px;
  animation: blink 0.7s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Fast News Box */
.fast-news-box {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-top: none;
  border-radius: 0 0 6px 6px;
  padding: 12px;
  margin-bottom: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.fast-news-box .news-card {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #f1f5f9;
}

.fast-news-box .news-card:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.fast-news-box .news-card img {
  width: 80px;
  height: 55px;
  object-fit: cover;
  border-radius: 4px;
}

.fast-news-box .news-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}

.fast-news-box .read-more {
  display: inline-flex;
  align-items: center;
  color: var(--primary);
  font-weight: 700;
  font-size: 13px;
  margin-top: 4px;
}

/* Live TV Widget */
.video-stream {
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.live-tv-img {
  background: #111;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.live-tv-img img {
  height: 20px;
  width: auto;
}

.live-tv-badge {
  background: #e20015;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Video News Card Overlay */
.news-video {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
}

.news-video img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.video-play-pause {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: rgba(226, 0, 21, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: transform 0.2s ease, background 0.2s ease;
}

.news-video:hover .video-play-pause {
  transform: translate(-50%, -50%) scale(1.15);
  background: #e20015;
}

.video-play-pause .icon-play {
  width: 24px;
  height: 24px;
  fill: currentColor;
  margin-left: 2px;
}

.post-video-title {
  font-size: 15px;
  font-weight: 700;
  margin-top: 8px;
  line-height: 1.35;
}

/* Single Post Specific Styling */
.single-news-post .pagetitle {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.3;
  color: #111;
  margin-bottom: 12px;
}

@media (max-width: 767px) {
  .single-news-post .pagetitle {
    font-size: 24px;
  }
}

.single-news-post .news-content-lead {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  color: #334155;
  margin-bottom: 18px;
  border-left: 4px solid var(--primary);
  padding-left: 14px;
}

.post-meta-detail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 20px;
  gap: 12px;
}

.post-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.post-author .author-gravatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.post-social-share {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.post-social-share li a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  color: #334155;
  transition: all 0.2s ease;
}

.post-social-share li a.whatsapp {
  background: #25D366;
  color: #fff;
}

.post-social-share li a.facebook {
  background: #1877F2;
  color: #fff;
}

.post-social-share li a.x {
  background: #000;
  color: #fff;
}

.post-social-share li a:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.news-feature-img {
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 10px;
}

.news-feature-img img {
  width: 100%;
  height: auto;
}

.wp-caption-text {
  font-size: 13px;
  color: #64748B;
  font-style: italic;
  margin-bottom: 20px;
}

.article-body {
  font-size: 18px;
  line-height: 1.75;
  color: #1e293b;
}

.article-body p {
  margin-bottom: 18px;
}

.article-body h2, .article-body h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 24px 0 12px 0;
  color: #0f172a;
}

.article-body blockquote {
  border-left: 4px solid var(--primary);
  padding: 12px 18px;
  background: #f8fafc;
  margin: 20px 0;
  font-style: italic;
  color: #334155;
}

.tags .post-tag {
  display: inline-block;
  background: #e2e8f0;
  color: #334155;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin: 0 6px 6px 0;
}

.tags .post-tag:hover {
  background: var(--primary);
  color: #fff;
}

/* Breadcrumbs */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #64748B;
  padding: 12px 0;
  margin-bottom: 12px;
}

.breadcrumb a {
  color: #334155;
  font-weight: 600;
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb .active {
  color: #0f172a;
  font-weight: 600;
}

/* Footer Styling */
.main-footer {
  background: #111111;
  color: #E2E8F0;
  padding: 45px 0 20px 0;
  margin-top: 50px;
}

.main-footer .footer-logo img {
  height: 75px;
  width: auto;
  margin-bottom: 14px;
}

.main-footer p.footer-about {
  font-size: 14px;
  line-height: 1.6;
  color: #94A3B8;
  margin-bottom: 18px;
}

.footer-heading {
  font-size: 18px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}

.footer-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

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

.footer-menu ul li a {
  color: #CBD5E1;
  font-size: 14px;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-menu ul li a:hover {
  color: #FFFFFF;
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid #222222;
  padding-top: 20px;
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: #64748B;
}

.footer-bottom a {
  color: #94A3B8;
}

.footer-bottom a:hover {
  color: #FFFFFF;
}

/* Floating WhatsApp / Back to top */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 42px;
  height: 42px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 99;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}
