/* ==========================================================================
   LOK HUNKAR (लोक हुंकार) — Primary Stylesheet
   Designed for pixel-perfect matching with reference layout
   ========================================================================== */

:root {
  --primary-red: #dc2626;
  --primary-red-hover: #b91c1c;
  --dark-text: #1e293b;
  --body-text: #334155;
  --muted-text: #64748b;
  --border-color: #e2e8f0;
  --card-bg: #ffffff;
  --light-bg: #f8fafc;
  --font-hindi: 'Noto Sans Devanagari', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Rozha One', 'Yatra One', 'Noto Serif Devanagari', serif;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-hindi);
  color: var(--body-text);
  background-color: #f1f5f9;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
  margin: 0;
  padding: 0;
}

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

img, video, iframe, canvas, svg {
  max-width: 100%;
  height: auto;
}

img {
  display: block;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

/* ==========================================================================
   1. GRAND WIDE MASTHEAD (Smart Broadsheet Design)
   ========================================================================== */
.main-masthead {
  background: linear-gradient(180deg, #ffffff 0%, #fffbfb 100%);
  padding: 24px 0 20px 0;
  border-top: 4px solid var(--primary-red);
  border-bottom: 2px solid #e2e8f0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  text-align: center;
  position: relative;
}

.masthead-content-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.masthead-logo-container {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  width: 100%;
  max-width: 900px;
  transition: transform 0.2s ease;
}

.masthead-logo-container:hover {
  transform: scale(1.008);
}

.masthead-title {
  font-size: 72px;
  font-weight: 900;
  color: var(--primary-red);
  line-height: 1.05;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-shadow: 0 2px 4px rgba(220, 38, 38, 0.12);
  font-family: var(--font-hindi);
}

.masthead-title .torch-symbol {
  width: 48px;
  height: 54px;
  margin-right: 14px;
  display: inline-block;
  filter: drop-shadow(0 3px 6px rgba(220, 38, 38, 0.3));
}

.masthead-sub-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  max-width: 700px;
  margin-top: 6px;
}

.masthead-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, transparent, #cbd5e1, #1e293b, transparent);
  border-radius: 1px;
}

.masthead-en {
  font-size: 20px;
  font-weight: 900;
  color: #1e293b;
  letter-spacing: 12px;
  text-transform: uppercase;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  padding-left: 12px;
}

.masthead-tagline-wrap {
  margin-top: 8px;
}

.masthead-tagline {
  font-size: 16px;
  color: #991b1b;
  font-weight: 700;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, rgba(254, 242, 242, 0.95) 0%, rgba(254, 226, 226, 0.85) 100%);
  border: 1px solid #fecaca;
  padding: 4px 24px;
  border-radius: 20px;
  display: inline-block;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

/* ==========================================================================
   2. COLORFUL CATEGORY NAVBAR
   ========================================================================== */
.category-navbar-wrap {
  background-color: #ffffff;
  border-bottom: 2px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}

.category-nav-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.category-nav-list {
  display: flex;
  align-items: stretch;
  list-style: none;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  width: 100%;
}

.category-nav-list::-webkit-scrollbar {
  display: none;
}

.category-nav-item {
  flex-shrink: 0;
}

.category-nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 11px 16px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  text-transform: capitalize;
  transition: opacity 0.2s ease, transform 0.1s ease;
}

.category-nav-link:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.category-nav-link svg {
  width: 16px;
  height: 16px;
}

/* ==========================================================================
   3. BREAKING NEWS SECTION (Auto-Detecting & Auto-Streaming Latest Posts)
   ========================================================================== */
.breaking-news-section-wrap {
  background-color: #ffffff;
  padding: 10px 0 6px 0;
}

.breaking-news-section {
  background: #ffffff;
  border: 1px solid #fecaca;
  border-radius: 6px;
  display: flex;
  align-items: center;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(220, 38, 38, 0.05);
  height: 42px;
}

.breaking-badge {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 13px;
  padding: 0 16px;
  height: 100%;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 2;
  box-shadow: 2px 0 6px rgba(0, 0, 0, 0.1);
}

.breaking-badge::after {
  content: '';
  position: absolute;
  right: -10px;
  top: 0;
  bottom: 0;
  width: 0;
  height: 0;
  border-top: 21px solid transparent;
  border-bottom: 21px solid transparent;
  border-left: 10px solid #b91c1c;
  z-index: 3;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #fef08a;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 rgba(254, 240, 138, 0.7);
  animation: pulse-live 1.4s infinite;
}

@keyframes pulse-live {
  0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(254, 240, 138, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(254, 240, 138, 0); }
  100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(254, 240, 138, 0); }
}

.breaking-content {
  flex: 1;
  overflow: hidden;
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  mask-image: linear-gradient(90deg, transparent 0%, #000 20px, #000 calc(100% - 20px), transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 20px, #000 calc(100% - 20px), transparent 100%);
}

.breaking-ticker-track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  gap: 32px;
  will-change: transform;
  animation: marquee-stream 40s linear infinite;
}

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

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

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #1e293b;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s ease;
  font-family: var(--font-hindi);
}

.ticker-item:hover {
  color: var(--primary-red);
  text-decoration: underline;
}

.ticker-sep {
  color: var(--primary-red);
  font-size: 11px;
}

.breaking-controls {
  display: flex;
  align-items: center;
  padding: 0 10px;
  gap: 4px;
  flex-shrink: 0;
  height: 100%;
  background-color: #ffffff;
  border-left: 1px solid #fee2e2;
  z-index: 2;
}

.ticker-btn {
  background-color: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #475569;
  font-size: 13px;
  font-weight: 900;
  transition: all 0.2s ease;
}

.ticker-btn:hover {
  background-color: var(--primary-red);
  color: #ffffff;
  border-color: var(--primary-red);
}

/* ==========================================================================
   4. SEARCH BAR SECTION (Directly Below Breaking News)
   ========================================================================== */
.sub-breaking-search-wrap {
  background-color: #ffffff;
  padding: 4px 0 12px 0;
}

.sub-breaking-search-form {
  display: flex;
  align-items: center;
  background-color: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.sub-breaking-search-form:focus-within {
  border-color: var(--primary-red);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.search-form-icon {
  padding-left: 14px;
  padding-right: 6px;
  font-size: 16px;
  color: #64748b;
  flex-shrink: 0;
}

.sub-breaking-search-form input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 9px 12px;
  font-size: 14px;
  font-weight: 500;
  outline: none;
  color: #1e293b;
  font-family: var(--font-hindi);
}

.sub-breaking-search-form input::placeholder {
  color: #94a3b8;
}

.search-form-btn {
  background: linear-gradient(135deg, var(--primary-red) 0%, #b91c1c 100%);
  color: #ffffff;
  border: none;
  padding: 9px 24px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
  transition: opacity 0.2s ease;
  font-family: var(--font-hindi);
}

.search-form-btn:hover {
  opacity: 0.92;
}

/* ==========================================================================
   5. HERO FEATURED SECTION (Large Card + 3 Stacked Cards)
   ========================================================================== */
.hero-featured-grid {
  display: grid;
  grid-template-columns: 1.8fr 1.2fr;
  gap: 20px;
  margin-top: 16px;
}

/* Hero Slider & Large Card */
.hero-slider-wrap,
.hero-large-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background-color: #000000;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
  min-height: 400px;
  height: 400px;
}

.hero-slider-track {
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease-in-out, visibility 0.35s ease-in-out;
  text-decoration: none;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-slide img,
.hero-large-card img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.hero-slide:hover img,
.hero-large-card:hover img {
  transform: scale(1.03);
}

.hero-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 24px 20px 20px 20px;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.4) 40%, rgba(0,0,0,0.92) 100%);
  color: #ffffff;
}

.hero-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
  opacity: 0;
  transition: all 0.25s ease;
  user-select: none;
}

.hero-slider-wrap:hover .hero-slider-arrow {
  opacity: 1;
}

.hero-slider-arrow:hover {
  background: #dc2626;
  border-color: #dc2626;
  transform: translateY(-50%) scale(1.08);
}

.hero-slider-arrow.prev {
  left: 12px;
}

.hero-slider-arrow.next {
  right: 12px;
}

.category-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  text-transform: capitalize;
}

.hero-title {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.3;
  color: #ffffff;
  margin-bottom: 8px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: #cbd5e1;
}

.slider-dots {
  position: absolute;
  bottom: 12px;
  right: 16px;
  display: flex;
  gap: 6px;
  z-index: 4;
}

.slider-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.45);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active {
  background-color: #dc2626;
  width: 22px;
  border-radius: 5px;
}

/* Stacked News Cards */
.hero-stacked-cards-wrap {
  display: flex;
  flex-direction: column;
}

.hero-stacked-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.stacked-card {
  display: flex;
  gap: 14px;
  background-color: #ffffff;
  border-radius: 6px;
  overflow: hidden;
  padding: 10px;
  border: 1px solid var(--border-color);
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stacked-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.08);
}

.stacked-card-thumb {
  width: 130px;
  height: 90px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
}

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

.stacked-card-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stacked-card-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--dark-text);
}

.stacked-card:hover .stacked-card-title {
  color: var(--primary-red);
}

.card-date {
  font-size: 12px;
  color: var(--muted-text);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ==========================================================================
   6. SECTION HEADERS & "लोकप्रिय खबरें"
   ========================================================================== */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 30px 0 16px 0;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 8px;
}

.section-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.section-marker {
  width: 4px;
  height: 22px;
  background-color: var(--primary-red);
  border-radius: 2px;
}

.section-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--dark-text);
}

.section-more-btn {
  background-color: var(--primary-red);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: background-color 0.2s ease;
}

.section-more-btn:hover {
  background-color: var(--primary-red-hover);
}

/* 4-Card Grid */
.four-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.news-card-vertical {
  background-color: #ffffff;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.news-card-vertical:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px -2px rgba(0,0,0,0.08);
}

.news-card-img-wrap {
  position: relative;
  width: 100%;
  padding-top: 60%;
  overflow: hidden;
  background-color: #e2e8f0;
}

.news-card-img-wrap img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-card-vertical:hover .news-card-img-wrap img {
  transform: scale(1.05);
}

.news-card-badge {
  position: absolute;
  bottom: 8px;
  left: 8px;
  z-index: 2;
}

.news-card-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.news-card-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--dark-text);
  margin-bottom: 8px;
}

.news-card-vertical:hover .news-card-title {
  color: var(--primary-red);
}

/* ==========================================================================
   7. TWO-COLUMN CATEGORY SECTION ("बिहार समाचार" & "राष्ट्रीय समाचार")
   ========================================================================== */
.two-column-news-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  margin-top: 10px;
}

.news-list-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.list-news-item {
  display: flex;
  gap: 12px;
  background-color: #ffffff;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  transition: transform 0.2s ease;
}

.list-news-item:hover {
  transform: translateY(-2px);
}

.list-news-thumb {
  width: 110px;
  height: 75px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
}

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

.list-news-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.list-news-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--dark-text);
}

.list-news-item:hover .list-news-title {
  color: var(--primary-red);
}

/* ==========================================================================
   8. ARTICLE DETAIL PAGE
   ========================================================================== */
.article-page-layout {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 28px;
  margin: 20px 0 40px 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.article-main-content {
  background-color: #ffffff;
  padding: 24px 26px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Framed Dignified Editorial Headline Box (Uniform, Stylish, Proportional) */
.article-headline-frame {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-left: 5px solid var(--primary-red);
  border-radius: 8px;
  padding: 16px 20px;
  margin: 4px 0 16px 0;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.article-headline-frame:hover {
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.07);
}

.article-headline-frame .article-headline,
.article-headline {
  font-size: clamp(20px, 4vw, 27px);
  font-weight: 800;
  line-height: 1.4;
  color: #0f172a;
  margin: 0;
  padding: 0;
  font-family: var(--font-hindi), 'Noto Sans Devanagari', sans-serif;
  letter-spacing: -0.2px;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.article-summary-lead {
  font-size: 16px;
  font-weight: 500;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 16px;
  padding-left: 12px;
  border-left: 3px solid var(--primary-red);
  word-break: break-word;
  overflow-wrap: break-word;
}

.article-author-date-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 12px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 20px;
  font-size: 13px;
  color: var(--muted-text);
}

.author-info-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.share-buttons-strip {
  display: flex;
  align-items: center;
  gap: 8px;
}

.share-btn {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 14px;
  transition: opacity 0.2s ease;
}

.share-btn:hover {
  opacity: 0.9;
}

.share-btn.fb { background-color: #1877f2; }
.share-btn.wa { background-color: #25d366; }
.share-btn.tg { background-color: #0088cc; }
.share-btn.tw { background-color: #1da1f2; }
.share-btn.li { background-color: #0a66c2; }

.article-featured-image-wrap {
  width: 100%;
  max-width: 100%;
  margin-bottom: 20px;
  border-radius: 6px;
  overflow: hidden;
  box-sizing: border-box;
}

.article-featured-image-wrap img {
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

.image-caption-text {
  font-size: 12px;
  color: var(--muted-text);
  padding: 6px 0;
  font-style: italic;
}

.article-body-text {
  font-size: 17px;
  line-height: 1.8;
  color: #1e293b;
  width: 100%;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
  box-sizing: border-box;
}

.article-body-text p {
  margin-bottom: 16px;
  word-break: break-word;
  overflow-wrap: break-word;
}

.article-body-text img,
.article-body-text video,
.article-body-text iframe,
.article-body-text figure,
.article-body-text embed,
.article-body-text object {
  max-width: 100% !important;
  height: auto !important;
  box-sizing: border-box !important;
  display: block;
  margin: 14px auto;
  border-radius: 6px;
}

.article-body-text table {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-collapse: collapse;
  margin: 16px 0;
}

.article-body-text pre,
.article-body-text code {
  max-width: 100% !important;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-word;
  box-sizing: border-box !important;
}

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

/* Sidebar */
.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-widget {
  background-color: #ffffff;
  padding: 18px;
  border-radius: 6px;
  border: 1px solid var(--border-color);
}

.sidebar-widget-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--dark-text);
  border-bottom: 2px solid var(--primary-red);
  padding-bottom: 8px;
  margin-bottom: 14px;
}

/* ==========================================================================
   9. E-PAPER PAGE (8-Page Edition Viewer & Exporter)
   ========================================================================== */
.epaper-container {
  margin: 24px auto 40px auto;
  max-width: 1100px;
}

.epaper-header-box {
  background-color: #ffffff;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  text-align: center;
  margin-bottom: 20px;
}

.epaper-title {
  font-size: 28px;
  font-weight: 900;
  color: var(--primary-red);
  margin-bottom: 12px;
}

.epaper-selector-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 700;
}

.epaper-select {
  padding: 8px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  font-size: 14px;
  font-family: var(--font-hindi);
  outline: none;
}

.epaper-btn-submit {
  background-color: var(--primary-red);
  color: #ffffff;
  border: none;
  padding: 8px 18px;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
}

.epaper-viewer-card {
  background-color: #ffffff;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  text-align: center;
}

.epaper-main-canvas-wrap {
  position: relative;
  display: inline-block;
  max-width: 100%;
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
  border: 1px solid #cbd5e1;
}

.epaper-main-canvas-wrap img {
  max-width: 100%;
  height: auto;
  display: block;
}

.epaper-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(220, 38, 38, 0.85);
  color: #ffffff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  border: none;
  transition: background-color 0.2s ease;
}

.epaper-nav-arrow:hover {
  background-color: var(--primary-red);
}

.epaper-nav-arrow.prev { left: -22px; }
.epaper-nav-arrow.next { right: -22px; }

/* 8 Page Thumbnails Strip */
.epaper-thumbnails-strip {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 24px 0;
  overflow-x: auto;
  padding-bottom: 8px;
}

.epaper-thumb-item {
  width: 90px;
  cursor: pointer;
  text-align: center;
  border: 2px solid transparent;
  border-radius: 4px;
  padding: 4px;
  transition: border-color 0.2s ease;
}

.epaper-thumb-item.active,
.epaper-thumb-item:hover {
  border-color: var(--primary-red);
}

.epaper-thumb-item img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border: 1px solid #cbd5e1;
}

.epaper-thumb-label {
  font-size: 12px;
  font-weight: 700;
  margin-top: 4px;
  color: var(--dark-text);
}

/* Action Buttons (PDF, PNG, ZIP) */
.epaper-action-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.btn-epaper-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 6px;
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.1s ease;
}

.btn-epaper-action:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.btn-epaper-pdf { background-color: #dc2626; }
.btn-epaper-png { background-color: #16a34a; }
.btn-epaper-zip { background-color: #2563eb; }

/* ==========================================================================
   10. SITE FOOTER
   ========================================================================== */
.site-footer {
  background-color: #0f172a;
  color: #94a3b8;
  padding: 40px 0 20px 0;
  margin-top: 50px;
  border-top: 4px solid var(--primary-red);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 30px;
  margin-bottom: 30px;
}

.footer-col-title {
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 6px;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--primary-red);
}

.footer-links-list {
  list-style: none;
}

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

.footer-links-list a {
  color: #cbd5e1;
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-links-list a:hover {
  color: #ffffff;
  padding-left: 4px;
}

/* Stylish 2-Column Button Grid for Footer Categories & Useful Links */
.footer-btn-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 10px;
  width: 100%;
}

.footer-btn-item {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 8px 6px;
  color: #e2e8f0;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: var(--font-hindi);
  min-width: 0;
  box-sizing: border-box;
}

.footer-btn-item:hover {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: #ffffff;
  border-color: #ef4444;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(220, 38, 38, 0.35);
}

.footer-btn-item.link-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
}

.footer-btn-item.link-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
}

/* Multi-Category Selector for Article Editor Desk */
.word-doc-multi-cats-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #f1f5f9;
  padding: 8px 18px;
  border-bottom: 1px solid #cbd5e1;
  flex-wrap: wrap;
}

.multi-cat-header-label {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
}

.multi-cat-badge {
  font-size: 11px;
  background: #e0e7ff;
  color: #3730a3;
  padding: 2px 8px;
  border-radius: 12px;
  font-weight: 700;
}

.multi-cat-pill-container {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.multi-cat-pill-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 20px;
  padding: 4px 11px;
  font-size: 12px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.multi-cat-pill-label:hover {
  border-color: #94a3b8;
  background: #f8fafc;
}

.multi-cat-pill-label.checked {
  background: #1e293b;
  color: #ffffff;
  border-color: #0f172a;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.multi-cat-pill-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}

.multi-cat-bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.multi-cat-text {
  line-height: 1;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #1e293b;
  padding-top: 20px;
  font-size: 13px;
  color: #64748b;
}

/* ==========================================================================
   11. RESPONSIVE DESIGN (MOBILE & TABLET)
   ========================================================================== */
@media (max-width: 992px) {
  .masthead-title {
    font-size: 56px;
  }
  .masthead-title .torch-symbol {
    width: 38px;
    height: 44px;
    margin-right: 10px;
  }
  .masthead-en {
    font-size: 16px;
    letter-spacing: 8px;
    padding-left: 8px;
  }
  .hero-featured-grid {
    grid-template-columns: 1fr;
  }
  .four-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .two-column-news-grid {
    grid-template-columns: 1fr;
  }
  .article-page-layout {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .main-masthead {
    padding: 18px 0 14px 0;
  }
  .masthead-title {
    font-size: 40px;
  }
  .masthead-title .torch-symbol {
    width: 28px;
    height: 34px;
    margin-right: 8px;
  }
  .masthead-en {
    font-size: 13px;
    letter-spacing: 5px;
    padding-left: 5px;
  }
  .masthead-tagline {
    font-size: 13px;
    padding: 3px 14px;
  }
  .breaking-news-section {
    height: 38px;
  }
  .breaking-badge {
    padding: 0 10px;
    font-size: 11px;
    gap: 5px;
  }
  .ticker-item {
    font-size: 12px;
  }
  .breaking-controls {
    display: none;
  }
  .sub-breaking-search-form input {
    padding: 8px 10px;
    font-size: 13px;
  }
  .search-form-btn {
    padding: 8px 16px;
    font-size: 13px;
  }
  .four-card-grid {
    grid-template-columns: 1fr;
  }
  .stacked-card {
    flex-direction: row;
  }
  .hero-title {
    font-size: 20px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .article-headline-frame .article-headline {
    font-size: 22px;
  }
  .article-meta-badge-frame {
    flex-direction: column;
    align-items: flex-start;
  }
  .article-share-action-group {
    width: 100%;
    justify-content: flex-start;
  }
}

/* ==========================================================================
   11. EDITORIAL ARTICLE HEADLINE FRAME & MODERN BYLINE BAR
   ========================================================================== */
.modern-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  margin-bottom: 16px;
  padding: 8px 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  color: #64748b;
}

.modern-breadcrumb .bc-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #1e293b;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.modern-breadcrumb .bc-item:hover {
  color: var(--primary-red);
}

.modern-breadcrumb .bc-sep {
  color: #94a3b8;
  font-size: 12px;
}

.modern-breadcrumb .bc-current {
  color: #64748b;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 380px;
}

.article-headline-frame {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-left: 5px solid var(--primary-red);
  border-radius: 8px;
  padding: 16px 20px;
  margin-top: 4px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.article-headline-frame:hover {
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.07);
}

.article-headline-frame .article-headline {
  font-size: clamp(20px, 4vw, 27px);
  font-weight: 800;
  line-height: 1.4;
  color: #0f172a;
  margin: 0;
  padding: 0;
  font-family: var(--font-hindi), 'Noto Sans Devanagari', sans-serif;
  letter-spacing: -0.2px;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.article-meta-badge-frame {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  background: #ffffff;
  padding: 10px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  margin-bottom: 20px;
}

.meta-reporter-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: #475569;
}

.meta-pill.meta-author strong {
  color: #0f172a;
}

/* Unified Action Frame for WhatsApp, Copy Link & Digital Cutting */
.article-unified-action-frame {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 9999px;
  padding: 3px;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
  gap: 2px;
}

.unified-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 9999px;
  font-size: 11.5px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  background: transparent;
  color: #334155;
  cursor: pointer;
  transition: all 0.18s ease;
  line-height: 1;
  white-space: nowrap;
}

.unified-action-btn svg {
  flex-shrink: 0;
  transition: transform 0.18s ease;
}

.unified-action-btn:hover svg {
  transform: scale(1.1);
}

.unified-action-btn.u-btn-wa:hover {
  background-color: #25d366;
  color: #ffffff;
}

.unified-action-btn.u-btn-copy:hover {
  background-color: #0f172a;
  color: #ffffff;
}

.unified-action-btn.u-btn-cutting {
  background-color: #fef2f2;
  color: #dc2626;
  font-weight: 800;
}

.unified-action-btn.u-btn-cutting:hover {
  background-color: #dc2626;
  color: #ffffff;
}

.unified-action-btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

.u-action-sep {
  width: 1px;
  height: 16px;
  background-color: #e2e8f0;
  margin: 0 1px;
}

/* Fallback / Legacy button styling */
.article-share-action-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.share-btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #25d366;
  color: #ffffff;
  padding: 7px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 5px rgba(37, 211, 102, 0.3);
}

.share-btn-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #1e293b;
  color: #ffffff;
  border: none;
  padding: 7px 13px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 5px rgba(15, 23, 42, 0.2);
}

.btn-news-cutting-compact {
  cursor: pointer;
}

.btn-news-cutting-compact:disabled {
  opacity: 0.75;
  cursor: wait;
}

/* Floating Toast Box for Instant Downloads and Copy Feedback */
.cutting-toast-box {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: #0f172a;
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 999999;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 8px;
}

.cutting-toast-box.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================================================
   12. VERTICAL UPWARD AUTO-SCROLL TICKER CONTAINER
   ========================================================================== */
.vertical-news-ticker-viewport {
  height: 480px;
  overflow-y: hidden;
  position: relative;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.vertical-news-ticker-track {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px;
}

/* ==========================================================================
   13. FOOTER OFFICE CONTACT CARD & CENTERED BOTTOM SOCIAL STRIP
   ========================================================================== */
.footer-contact-card-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 4px solid var(--primary-red);
  border-radius: 8px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
}

.footer-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.45;
  color: #cbd5e1;
}

.footer-contact-icon {
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 1px;
}

.footer-contact-detail {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-contact-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #94a3b8;
  font-weight: 700;
}

.footer-contact-val {
  color: #e2e8f0;
  word-break: break-word;
}

.footer-contact-val a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contact-val a:hover {
  color: #ef4444;
  text-decoration: underline;
}

/* Dedicated Centered Bottom Social Strip */
.footer-bottom-social-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px 0 16px 0;
  margin-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
  box-sizing: border-box;
}

.footer-social-title {
  font-size: 13px;
  font-weight: 700;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
  text-align: center;
}

.footer-social-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  width: 100%;
  margin: 0 auto;
}

.footer-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.22s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.footer-social-btn.fb { background-color: #1877F2; }
.footer-social-btn.tw { background-color: #000000; border: 1px solid rgba(255, 255, 255, 0.25); }
.footer-social-btn.yt { background-color: #FF0000; }
.footer-social-btn.ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.footer-social-btn.wa { background-color: #25D366; }

.footer-social-btn:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
  color: #ffffff;
}

/* ==========================================================================
   14. DUAL EDITOR MODE (WORD DESK VS DIRECT HTML)
   ========================================================================== */
.editor-mode-switcher-bar {
  background: #0f172a;
  padding: 10px 18px;
  border-bottom: 2px solid #334155;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.editor-mode-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.editor-mode-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.editor-mode-tab:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.editor-mode-tab.active {
  background: #dc2626;
  color: #ffffff;
  border-color: #ef4444;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.4);
}

.html-mode-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 560px;
  background: #ffffff;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #cbd5e1;
}

.html-mode-banner {
  background: #eff6ff;
  border-bottom: 1px solid #bfdbfe;
  padding: 12px 18px;
  color: #1e3a8a;
}

.html-code-textarea {
  flex: 1;
  width: 100%;
  min-height: 520px;
  padding: 16px;
  font-family: Consolas, Monaco, "Courier New", monospace;
  font-size: 14px;
  line-height: 1.6;
  color: #0f172a;
  background: #fdfdfd;
  border: none;
  outline: none;
  resize: vertical;
  tab-size: 2;
  box-sizing: border-box;
}

.html-code-textarea:focus {
  background: #ffffff;
}

/* ==========================================================================
   15. DEFINITIVE MOBILE VIEWPORT & ZERO-OVERFLOW FULLSCREEN RULES
   ========================================================================== */
@media (max-width: 768px) {
  html, body {
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }

  .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
    box-sizing: border-box !important;
  }

  /* Full Screen Article Layout without side gap/clipping */
  .article-page-layout {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 8px 0 20px 0 !important;
    box-sizing: border-box !important;
  }

  .article-main-content {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 10px !important;
    border-radius: 6px !important;
    border-left: none !important;
    border-right: none !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Consistent, Stylish & Perfectly Proportioned Headline Box */
  .article-headline-frame {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 14px !important;
    margin: 2px 0 12px 0 !important;
    border-left: 4px solid var(--primary-red) !important;
    border-radius: 6px !important;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.05) !important;
    box-sizing: border-box !important;
  }

  .article-headline-frame .article-headline,
  .article-headline {
    font-size: 19px !important;
    line-height: 1.38 !important;
    font-weight: 800 !important;
    letter-spacing: -0.2px !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    hyphens: auto !important;
  }

  .article-summary-lead {
    font-size: 14.5px !important;
    line-height: 1.55 !important;
    padding-left: 10px !important;
    margin-bottom: 12px !important;
    border-left-width: 3px !important;
  }

  /* Reporter Byline & Tools: Wrap gracefully without pushing width */
  .article-meta-badge-frame {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
    padding: 10px 10px !important;
    border-radius: 6px !important;
    margin-bottom: 14px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .meta-reporter-group {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px 10px !important;
    font-size: 11.5px !important;
    width: 100% !important;
  }

  .meta-pill {
    font-size: 11.5px !important;
    gap: 4px !important;
  }

  /* Unified Compact Share Bar (WhatsApp, Copy Link, Digital Cutting) */
  .article-unified-action-frame {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
    padding: 3px 4px !important;
    margin: 0 !important;
  }

  .unified-action-btn {
    flex: 1 1 0% !important;
    justify-content: center !important;
    padding: 6px 4px !important;
    font-size: 11px !important;
    gap: 4px !important;
    text-align: center !important;
  }

  .unified-action-btn svg {
    width: 12px !important;
    height: 12px !important;
  }

  /* Body Content Strict Responsive Containment */
  .article-body-text {
    font-size: 16px !important;
    line-height: 1.75 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }

  .article-body-text p {
    margin-bottom: 14px !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }

  .article-body-text img,
  .article-body-text video,
  .article-body-text iframe {
    max-width: 100% !important;
    height: auto !important;
    margin: 10px auto !important;
    border-radius: 4px !important;
  }

  .article-body-text table {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    font-size: 13px !important;
  }

  .article-body-text pre,
  .article-body-text code {
    max-width: 100% !important;
    white-space: pre-wrap !important;
    word-break: break-word !important;
    font-size: 12.5px !important;
  }

  .article-featured-image-wrap {
    margin-bottom: 14px !important;
    border-radius: 4px !important;
  }

  .article-featured-image-wrap img {
    max-height: 280px !important;
    width: 100% !important;
  }

  .article-sidebar {
    margin-top: 20px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .sidebar-widget {
    padding: 12px !important;
    border-radius: 6px !important;
  }

  /* Footer 2-Column Buttons on Mobile */
  .footer-btn-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 6px 8px !important;
  }

  .footer-btn-item {
    font-size: 12px !important;
    padding: 7px 4px !important;
  }

  /* Footer Social Strip & Contact Box on Mobile (Centered at the Bottom) */
  .footer-contact-card-box {
    margin-top: 6px !important;
    padding: 12px 14px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .footer-bottom-social-wrap {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    margin: 20px auto 0 auto !important;
    padding: 18px 0 10px 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .footer-social-title {
    text-align: center !important;
    width: 100% !important;
    margin-bottom: 12px !important;
  }

  .footer-social-strip {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    margin: 0 auto !important;
    gap: 12px !important;
    width: 100% !important;
  }

  .article-responsive-video,
  .embedded-video-container {
    margin: 14px 0 !important;
    border-radius: 6px !important;
  }
}

/* =========================================================
   Responsive Embedded Video Player (YouTube, Shorts, HTML5 MP4, Facebook)
   ========================================================= */
.article-responsive-video,
.embedded-video-container {
  position: relative !important;
  width: 100% !important;
  max-width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  background-color: #050505 !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  margin: 20px 0 !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12) !important;
}

/* YouTube & Web iframes: Crop out top title bar, channel avatar, and branding */
.article-responsive-video iframe,
.embedded-video-container iframe {
  position: absolute !important;
  top: -54px !important;
  left: 0 !important;
  width: 100% !important;
  height: calc(100% + 54px) !important;
  border: 0 !important;
}

/* HTML5 Direct Video: standard bounds without crop */
.article-responsive-video video,
.embedded-video-container video {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
  object-fit: contain !important;
}

/* Responsive adjustments for mobile screens */
@media (max-width: 768px) {
  .article-responsive-video iframe,
  .embedded-video-container iframe {
    top: -42px !important;
    height: calc(100% + 42px) !important;
  }
}

@media (max-width: 480px) {
  .article-responsive-video iframe,
  .embedded-video-container iframe {
    top: -36px !important;
    height: calc(100% + 36px) !important;
  }
}

/* Fullscreen mode: restore top to 0 so video is not cropped in native fullscreen */
.article-responsive-video iframe:fullscreen,
.article-responsive-video iframe:-webkit-full-screen,
.article-responsive-video iframe:-moz-full-screen,
.article-responsive-video iframe:-ms-fullscreen,
.embedded-video-container iframe:fullscreen,
.embedded-video-container iframe:-webkit-full-screen,
.embedded-video-container iframe:-moz-full-screen,
.embedded-video-container iframe:-ms-fullscreen {
  top: 0 !important;
  height: 100% !important;
}

/* =========================================================
   LOK HUNKAR — White-Label Video Player (Play & Pause Only)
   ========================================================= */
.lh-custom-player {
  position: relative !important;
  width: 100% !important;
  max-width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  background-color: #000000 !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  margin: 22px 0 !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25) !important;
  user-select: none !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
}

/* Media Wrapper & YouTube Iframe (Pushed to crop top title and bottom watermark) */
.lh-player-media-wrap {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
}

.lh-player-media-wrap iframe,
.lh-yt-frame {
  position: absolute !important;
  top: -64px !important;
  left: -20px !important;
  width: calc(100% + 40px) !important;
  height: calc(100% + 120px) !important;
  border: 0 !important;
  pointer-events: none !important;
}

@media (max-width: 768px) {
  .lh-player-media-wrap iframe,
  .lh-yt-frame {
    top: -46px !important;
    left: -15px !important;
    width: calc(100% + 30px) !important;
    height: calc(100% + 85px) !important;
  }
}

/* HTML5 Direct Video */
.lh-player-media-wrap video {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
  object-fit: contain !important;
  pointer-events: none !important;
}

/* Click Shield intercepts all clicks so user cannot click into YouTube */
.lh-click-shield {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 5 !important;
  cursor: pointer !important;
  background: transparent !important;
}

/* Poster Thumbnail Screen */
.lh-player-poster {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 10 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  background-color: #000000 !important;
  transition: opacity 0.25s ease, visibility 0.25s ease !important;
}

.lh-player-poster img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* CRITICAL: When video has started, POSTER IS PERMANENTLY GONE (frame remains visible on pause) */
.lh-custom-player.has-started .lh-player-poster,
.lh-custom-player.is-playing .lh-player-poster {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Single Center Play & Pause Toggle Button */
.lh-center-toggle-btn {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  z-index: 20 !important;
  width: 72px !important;
  height: 72px !important;
  border-radius: 50% !important;
  background: rgba(220, 38, 38, 0.95) !important;
  border: 3px solid #ffffff !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 4px 25px rgba(220, 38, 38, 0.75), 0 2px 12px rgba(0, 0, 0, 0.45) !important;
  cursor: pointer !important;
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease, background-color 0.2s ease !important;
  padding: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  outline: none !important;
}

.lh-center-toggle-btn:hover {
  transform: translate(-50%, -50%) scale(1.12) !important;
  background: #dc2626 !important;
}

.lh-center-toggle-btn .icon-play {
  margin-left: 3px !important; /* Optical center for triangle */
}

/* While playing: fade out button after inactivity so user can watch video, reveal on hover / user interaction */
.lh-custom-player.is-playing .lh-center-toggle-btn {
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

.lh-custom-player.is-playing:hover .lh-center-toggle-btn,
.lh-custom-player.is-playing.user-interacting .lh-center-toggle-btn {
  opacity: 1 !important;
  pointer-events: auto !important;
  visibility: visible !important;
}

@media (max-width: 768px) {
  .lh-center-toggle-btn {
    width: 60px !important;
    height: 60px !important;
  }
  .lh-center-toggle-btn svg {
    width: 28px !important;
    height: 28px !important;
  }
}

/* ==========================================================================
   12. MOBILE-FIRST "और पढ़ें" (READ MORE) INTERACTION & READING TRANSITION AD
   ========================================================================== */
.lh-read-more-wrapper {
  position: relative;
  margin-top: -55px;
  padding-top: 55px;
  text-align: center;
  z-index: 10;
}

.lh-read-more-fade {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 85px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.95) 75%, #ffffff 100%);
  pointer-events: none;
}

.lh-read-more-btn-wrap {
  position: relative;
  z-index: 12;
  padding: 10px 0 16px 0;
}

.btn-read-more-pulse {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: #ffffff;
  border: none;
  border-radius: 50px;
  padding: 13px 30px;
  font-family: var(--font-hindi), 'Noto Sans Devanagari', sans-serif;
  font-size: 15.5px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(220, 38, 38, 0.35);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  min-height: 48px;
  user-select: none;
}

.btn-read-more-pulse:hover,
.btn-read-more-pulse:focus-visible {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(220, 38, 38, 0.5);
  outline: none;
}

.btn-read-more-pulse:active {
  transform: translateY(0);
}

.btn-read-more-pulse svg {
  transition: transform 0.25s ease;
}

.btn-read-more-pulse:hover svg {
  transform: translateY(3px);
}

.article-transition-ad-box {
  margin: 20px auto;
  text-align: center;
  clear: both;
}

.article-remaining-content {
  animation: lhFadeIn 0.3s ease-in-out;
}

@keyframes lhFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
  .btn-read-more-pulse {
    width: 100%;
    max-width: 320px;
    padding: 12px 20px;
    font-size: 15px;
  }
}




