/* ==========================================================================
   ePaper Theme - Custom Stylesheet
   Layout, colors, typography and widgets for the ePaper news theme.
   ========================================================================== */

:root {
  --pk-red: #cf2027;
  --pk-red-dark: #b0151c;
  --pk-orange: #f28c30;
  --pk-orange-dark: #d9741e;
  --pk-dark: #1a1a1a;
  --pk-footer-bg: #1c1c1c;
  --pk-gray-light: #f7f8f9;
  --pk-gray-border: #e2e4e8;
  --pk-gray-text: #666666;
  --pk-text-dark: #222222;
  --pk-font-hindi: 'Noto Sans Devanagari', -apple-system, BlinkMacSystemFont, sans-serif;
  --pk-font-headline: 'Noto Sans Devanagari', 'Rozha One', serif;
  --pk-font-ui: 'Poppins', sans-serif;
  --pk-radius: 6px;
  --pk-shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --pk-shadow-md: 0 4px 12px rgba(0,0,0,0.08);
}

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

body {
  font-family: var(--pk-font-hindi);
  background-color: #fbfbfb;
  color: var(--pk-text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a:hover {
  color: var(--pk-red);
}

img, iframe, video {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

/* ==========================================================================
   Container & Grid Layouts
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}

.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-8  { flex: 0 0 66.666667%; max-width: 66.666667%; padding: 0 12px; }
.col-4  { flex: 0 0 33.333333%; max-width: 33.333333%; padding: 0 12px; }
.col-6  { flex: 0 0 50%; max-width: 50%; padding: 0 12px; }
.col-3  { flex: 0 0 25%; max-width: 25%; padding: 0 12px; }

@media (max-width: 991px) {
  .col-8, .col-4, .col-6, .col-3 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* ==========================================================================
   Top Header Bar
   ========================================================================== */
.header-top {
  background: #ffffff;
  border-bottom: 1px solid var(--pk-gray-border);
  padding: 12px 0;
  position: relative;
  z-index: 100;
}

.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.date-bar {
  font-size: 13px;
  color: var(--pk-gray-text);
  font-family: var(--pk-font-hindi);
}

.date-bar strong {
  color: var(--pk-dark);
}

.header-logo {
  text-align: center;
  flex: 1;
}

.header-logo img {
  max-height: 65px;
  margin: 0 auto;
  display: inline-block;
}

.logo-fallback {
  font-size: 38px;
  font-weight: 900;
  color: var(--pk-red);
  letter-spacing: -1px;
  font-family: 'Rozha One', var(--pk-font-hindi), serif;
  line-height: 1;
}

.logo-tagline {
  font-size: 12px;
  color: #555;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: var(--pk-font-ui);
  margin-top: 3px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* ePaper Button - Styling */
.epaper-btn-wrapper a {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 2px solid var(--pk-orange);
  color: var(--pk-dark);
  padding: 6px 14px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(242, 140, 48, 0.2);
}

.epaper-btn-wrapper a:hover {
  background: var(--pk-orange);
  color: #ffffff;
  transform: translateY(-1px);
}

.epaper-icon-badge {
  display: inline-block;
  background: #000;
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Social icons */
.social-bar {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-icon-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-icon-btn:hover {
  transform: scale(1.1);
  opacity: 0.9;
}

.social-fb   { background-color: #1877f2; }
.social-tw   { background-color: #000000; }
.social-ig   { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.social-yt   { background-color: #ff0000; }
.social-wa   { background-color: #25d366; }

/* ==========================================================================
   Primary Navigation Bar
   ========================================================================== */
.main-navigation-bar {
  background: #ffffff;
  border-bottom: 2px solid var(--pk-red);
  box-shadow: 0 2px 5px rgba(0,0,0,0.04);
  position: sticky;
  top: 0;
  z-index: 999;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.main-menu {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.main-menu > li {
  position: relative;
}

.main-menu > li > a {
  display: block;
  padding: 12px 14px;
  font-size: 15px;
  font-weight: 700;
  color: var(--pk-dark);
  position: relative;
  transition: color 0.2s ease;
}

.main-menu > li:hover > a,
.main-menu > li.current-menu-item > a {
  color: var(--pk-red);
}

.main-menu > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 3px;
  background-color: var(--pk-red);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.main-menu > li:hover > a::after,
.main-menu > li.current-menu-item > a::after {
  opacity: 1;
}

/* Dropdown Sub-menus */
.main-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  min-width: 200px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  border-radius: 0 0 6px 6px;
  border-top: 2px solid var(--pk-red);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  z-index: 1000;
}

.main-menu > li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-menu .sub-menu li a {
  display: block;
  padding: 8px 16px;
  font-size: 14px;
  color: #333;
  font-weight: 500;
  border-bottom: 1px solid #f2f2f2;
  transition: background-color 0.2s ease, padding-left 0.2s ease;
}

.main-menu .sub-menu li:last-child a {
  border-bottom: none;
}

.main-menu .sub-menu li a:hover {
  background-color: #fff5f5;
  color: var(--pk-red);
  padding-left: 20px;
}

/* Nav Search & Mobile icons */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-toggle-btn {
  cursor: pointer;
  background: none;
  border: none;
  font-size: 18px;
  color: var(--pk-dark);
  padding: 6px;
  display: flex;
  align-items: center;
}

.search-toggle-btn:hover {
  color: var(--pk-red);
}

.mobile-nav-toggle {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--pk-dark);
  padding: 5px;
}

@media (max-width: 991px) {
  .main-menu {
    display: none;
  }
  .mobile-nav-toggle {
    display: block;
  }
}

/* ==========================================================================
   Breaking News Ticker (ताजा खबर / बड़ी खबरें)
   ========================================================================== */
.breaking-news-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--pk-gray-border);
  margin-bottom: 18px;
  box-shadow: var(--pk-shadow-sm);
}

.breaking-news-wrapper {
  display: flex;
  align-items: stretch;
  overflow: hidden;
  height: 42px;
}

.breaking-news-label {
  background: var(--pk-red);
  color: #ffffff;
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 8px;
  white-space: nowrap;
  flex-shrink: 0;
  position: relative;
}

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

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #ffffff;
  border-radius: 50%;
  animation: pulseAnim 1.5s infinite;
}

@keyframes pulseAnim {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.breaking-ticker-content {
  flex: 1;
  display: flex;
  align-items: center;
  padding-left: 20px;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--pk-text-dark);
  animation: tickerSlide 25s linear infinite;
}

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

.ticker-time {
  font-size: 11px;
  background: #eeeeee;
  color: #555;
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: 600;
}

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

/* ==========================================================================
   Section Headers (Section Badge)
   ========================================================================== */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--pk-gray-border);
  position: relative;
}

.section-header::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 70px;
  height: 2px;
  background: var(--pk-red);
}

.section-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--pk-dark);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.section-title::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 20px;
  background: var(--pk-red);
  border-radius: 2px;
}

.view-all-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--pk-red);
  display: flex;
  align-items: center;
  gap: 4px;
}

.view-all-link:hover {
  color: var(--pk-dark);
}

/* ==========================================================================
   Lead Hero Section (oneBigImageOtherListing + onlyListingWithoutImage)
   ========================================================================== */
.hero-section {
  margin-bottom: 25px;
}

.main-lead-card {
  background: #ffffff;
  border-radius: var(--pk-radius);
  overflow: hidden;
  box-shadow: var(--pk-shadow-sm);
  border: 1px solid var(--pk-gray-border);
  margin-bottom: 18px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.main-lead-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--pk-shadow-md);
}

.lead-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #000;
}

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

.main-lead-card:hover .lead-media img {
  transform: scale(1.03);
}

.category-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--pk-red);
  color: #fff;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 4px;
  z-index: 2;
  text-transform: uppercase;
}

.lead-content {
  padding: 18px 20px;
}

.lead-headline {
  font-size: 24px;
  font-weight: 800;
  color: var(--pk-dark);
  line-height: 1.35;
  margin-bottom: 10px;
  font-family: var(--pk-font-headline);
}

.lead-headline a:hover {
  color: var(--pk-red);
}

.lead-excerpt {
  font-size: 15px;
  color: #444444;
  line-height: 1.6;
  margin-bottom: 12px;
}

.meta-author-bar {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 12px;
  color: var(--pk-gray-text);
  font-family: var(--pk-font-ui);
}

.author-credit {
  color: var(--pk-red);
  font-weight: 600;
}

/* Secondary Hero Sub-grid (under lead story) */
.sub-hero-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

@media (max-width: 576px) {
  .sub-hero-grid {
    grid-template-columns: 1fr;
  }
}

.sub-hero-card {
  display: flex;
  gap: 12px;
  background: #ffffff;
  padding: 12px;
  border-radius: var(--pk-radius);
  border: 1px solid var(--pk-gray-border);
  box-shadow: var(--pk-shadow-sm);
  transition: all 0.2s ease;
}

.sub-hero-card:hover {
  box-shadow: var(--pk-shadow-md);
  border-color: #cbd5e1;
}

.sub-hero-thumb {
  width: 110px;
  height: 80px;
  flex-shrink: 0;
  border-radius: 4px;
  overflow: hidden;
  background: #eaeaea;
}

.sub-hero-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sub-hero-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sub-hero-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--pk-dark);
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sub-hero-meta {
  font-size: 11px;
  color: var(--pk-gray-text);
}

/* Right Sidebar "बड़ी खबरें" (Top Stories List Widget) */
.top-stories-widget {
  background: #ffffff;
  border: 1px solid var(--pk-gray-border);
  border-radius: var(--pk-radius);
  box-shadow: var(--pk-shadow-sm);
  overflow: hidden;
  margin-bottom: 20px;
}

.widget-title-bar {
  background: #fdfdfd;
  padding: 12px 16px;
  border-bottom: 2px solid var(--pk-red);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.widget-title-bar h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--pk-dark);
}

.top-stories-list {
  padding: 8px 16px;
}

.top-story-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}

.top-story-item:last-child {
  border-bottom: none;
}

.top-story-rank {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  background: #f0f2f5;
  color: var(--pk-red);
  font-weight: 800;
  font-size: 13px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--pk-font-ui);
}

.top-story-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  color: #222;
  margin-bottom: 4px;
}

.top-story-time {
  font-size: 11px;
  color: var(--pk-gray-text);
}

/* ==========================================================================
   Rajasthan Regional City Selector (Dynamic Tabs)
   ========================================================================== */
.city-selector-section {
  background: #ffffff;
  border: 1px solid var(--pk-gray-border);
  border-radius: var(--pk-radius);
  padding: 20px;
  margin-bottom: 25px;
  box-shadow: var(--pk-shadow-sm);
}

.city-tabs-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--pk-gray-border);
  scrollbar-width: thin;
}

.city-tab-btn {
  background: #ffffff;
  border: 2px solid #333333;
  color: #222222;
  padding: 8px 20px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s ease;
  font-family: var(--pk-font-hindi);
}

.city-tab-btn:hover {
  background: #f5f5f5;
}

.city-tab-btn.active {
  background-color: var(--pk-orange);
  border-color: var(--pk-orange);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(242, 140, 48, 0.35);
}

.city-content-pane {
  display: none;
}

.city-content-pane.active {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 768px) {
  .city-content-pane.active {
    grid-template-columns: 1fr;
  }
}

.city-news-card {
  background: #fdfdfd;
  border: 1px solid #ededed;
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.city-news-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--pk-shadow-md);
  border-color: #d1d5db;
}

.city-card-img {
  height: 140px;
  overflow: hidden;
}

.city-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.city-card-body {
  padding: 12px 14px;
}

.city-card-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ==========================================================================
   Web Stories Slider (वेब स्टोरीज़)
   ========================================================================== */
.web-stories-container {
  margin-bottom: 25px;
  background: #ffffff;
  border: 1px solid var(--pk-gray-border);
  border-radius: var(--pk-radius);
  padding: 18px 20px;
  box-shadow: var(--pk-shadow-sm);
}

.stories-slider-wrap {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 8px 2px 14px 2px;
  scrollbar-width: thin;
  scroll-behavior: smooth;
}

.story-card {
  flex: 0 0 160px;
  height: 250px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.story-card:hover {
  transform: translateY(-4px) scale(1.02);
}

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

.story-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 12px 10px;
  color: #ffffff;
}

.story-badge-icon {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0,0,0,0.6);
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 11px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 4px;
}

.story-title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.7);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ==========================================================================
   Dual Column & Four Column Sections
   ========================================================================== */
.news-block-section {
  margin-bottom: 25px;
}

.card-box {
  background: #ffffff;
  border: 1px solid var(--pk-gray-border);
  border-radius: var(--pk-radius);
  padding: 16px;
  box-shadow: var(--pk-shadow-sm);
  margin-bottom: 20px;
}

.card-focus-item {
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f0f0f0;
}

.card-focus-thumb {
  border-radius: 4px;
  overflow: hidden;
  height: 180px;
  margin-bottom: 10px;
}

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

.card-focus-title {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 6px;
  color: var(--pk-dark);
}

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

.sub-item-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sub-item-thumb {
  width: 75px;
  height: 55px;
  flex-shrink: 0;
  border-radius: 4px;
  overflow: hidden;
}

.sub-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sub-item-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: #333;
}

/* Four Column Magazine Grid */
.four-col-magazine {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 25px;
}

@media (max-width: 991px) {
  .four-col-magazine {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .four-col-magazine {
    grid-template-columns: 1fr;
  }
}

/* Video Block Section */
.video-section-wrap {
  background: #141414;
  color: #ffffff;
  padding: 24px 20px;
  border-radius: var(--pk-radius);
  margin-bottom: 25px;
}

.video-section-wrap .section-header {
  border-bottom-color: #333;
}

.video-section-wrap .section-title {
  color: #ffffff;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

@media (max-width: 768px) {
  .video-grid {
    grid-template-columns: 1fr;
  }
}

.video-card {
  position: relative;
  background: #1e1e1e;
  border-radius: 6px;
  overflow: hidden;
}

.video-thumb {
  position: relative;
  height: 160px;
}

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

.play-button-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: rgba(207, 32, 39, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}

.video-info {
  padding: 12px;
}

.video-title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
}

/* ==========================================================================
   Single Post View (Article Details)
   ========================================================================== */
.single-post-container {
  padding: 25px 0 40px;
}

.breadcrumbs-bar {
  font-size: 13px;
  color: var(--pk-gray-text);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.breadcrumbs-bar a:hover {
  color: var(--pk-red);
}

.article-main-card {
  background: #ffffff;
  border: 1px solid var(--pk-gray-border);
  border-radius: var(--pk-radius);
  padding: 24px;
  box-shadow: var(--pk-shadow-sm);
  margin-bottom: 25px;
}

.article-category {
  display: inline-block;
  background: var(--pk-red);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.article-title {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--pk-dark);
  margin-bottom: 14px;
  font-family: var(--pk-font-headline);
}

@media (max-width: 768px) {
  .article-title {
    font-size: 24px;
  }
}

.article-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 18px;
  font-size: 13px;
  color: var(--pk-gray-text);
  flex-wrap: wrap;
  gap: 12px;
}

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

.font-size-adjuster {
  display: flex;
  align-items: center;
  gap: 6px;
}

.font-btn {
  background: #f1f3f5;
  border: 1px solid #ddd;
  padding: 3px 8px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 700;
  font-size: 12px;
}

.font-btn:hover {
  background: var(--pk-red);
  color: #fff;
  border-color: var(--pk-red);
}

/* Social Share Bar */
.share-action-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 6px;
  color: #ffffff;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}

.share-wa { background-color: #25d366; }
.share-fb { background-color: #1877f2; }
.share-tw { background-color: #000000; }
.share-tg { background-color: #2aabee; }

.article-lead-image {
  margin-bottom: 20px;
  border-radius: 6px;
  overflow: hidden;
}

.image-caption {
  font-size: 12px;
  color: #666;
  text-align: center;
  padding: 6px 0;
  font-style: italic;
  background: #fbfbfb;
  border-bottom: 1px solid #eee;
}

.article-body-content {
  font-size: 18px;
  line-height: 1.8;
  color: #2b2b2b;
}

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

.article-body-content blockquote {
  border-left: 4px solid var(--pk-red);
  padding: 12px 18px;
  margin: 20px 0;
  background: #fff8f8;
  font-weight: 600;
  font-style: italic;
}

/* Related News Block */
.related-news-wrap {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 2px solid var(--pk-gray-border);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 768px) {
  .related-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Footer (4-Column Footer)
   ========================================================================== */
.epaperfooter {
  background-color: var(--pk-footer-bg);
  color: #ffffff;
  padding: 45px 0 20px 0;
  margin-top: 40px;
  border-top: 4px solid var(--pk-red);
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
  margin-bottom: 35px;
}

.footer-column {
  flex: 1 1 250px;
}

.footer-column h3 {
  color: #ffffff;
  border-bottom: 2px solid var(--pk-orange);
  padding-bottom: 10px;
  margin-bottom: 20px;
  font-size: 20px;
  font-weight: 800;
  font-family: var(--pk-font-hindi);
}

.footer-column p {
  line-height: 1.6;
  font-size: 14px;
  color: #d1d5db;
  margin-bottom: 10px;
}

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

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column a {
  color: #d1d5db;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-column ul li a::before {
  content: "→ ";
  color: var(--pk-orange);
  font-weight: bold;
}

.footer-column a:hover {
  color: var(--pk-orange);
}

/* Newsletter Input */
.subscribe-email {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 15px;
}

.subscribe-email input[type="email"] {
  height: 40px;
  border-radius: 6px;
  padding: 0 12px;
  border: 1px solid #444;
  background: #ffffff;
  color: #111;
  font-size: 14px;
  outline: none;
  flex: 1;
}

.subscribe-btn {
  height: 40px;
  padding: 0 18px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  background: var(--pk-orange);
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.subscribe-btn:hover {
  background: var(--pk-orange-dark);
}

.footer-bottom {
  border-top: 1px solid #333333;
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  font-size: 13px;
  color: #9ca3af;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-bottom .highlight {
  color: var(--pk-orange);
}

.footer-bottom a {
  color: #ffffff;
}

/* ==========================================================================
   Back To Top Floating Button & Mobile Nav Drawer
   ========================================================================== */
#cd-top {
  position: fixed;
  bottom: 30px;
  right: 25px;
  width: 42px;
  height: 42px;
  background-color: var(--pk-red);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 9999;
}

#cd-top.cd-is-visible {
  opacity: 1;
  visibility: visible;
}

#cd-top:hover {
  background-color: var(--pk-red-dark);
  transform: translateY(-3px);
}

/* Mobile Drawer */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  left: -300px;
  width: 290px;
  height: 100%;
  background: #ffffff;
  z-index: 9999;
  box-shadow: 4px 0 15px rgba(0,0,0,0.2);
  transition: left 0.3s ease;
  overflow-y: auto;
  padding: 20px;
}

.mobile-drawer.open {
  left: 0;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--pk-red);
  padding-bottom: 12px;
  margin-bottom: 15px;
}

.drawer-close-btn {
  font-size: 22px;
  background: none;
  border: none;
  cursor: pointer;
  color: #333;
}

.mobile-menu-list li a {
  display: block;
  padding: 10px 0;
  font-size: 15px;
  font-weight: 700;
  color: #222;
  border-bottom: 1px solid #f0f0f0;
}

.mobile-menu-list li a:hover {
  color: var(--pk-red);
}

/* Search Modal */
.search-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.search-modal.open {
  display: flex;
}

.search-modal-box {
  background: #ffffff;
  padding: 25px;
  border-radius: 8px;
  width: 100%;
  max-width: 550px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.search-close-btn {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
}

.search-form-inner {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.search-form-inner input {
  flex: 1;
  padding: 10px 14px;
  border: 2px solid #ddd;
  border-radius: 6px;
  font-size: 15px;
  outline: none;
}

.search-form-inner input:focus {
  border-color: var(--pk-red);
}

.search-form-inner button {
  background: var(--pk-red);
  color: #fff;
  border: none;
  padding: 0 20px;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
}


/* ==========================================================================
   v1.1 FIXES — logo, ticker, category-driven sections, mobile header/drawer
   ========================================================================== */

/* Logo: keep natural proportions (was squashed by fixed max-height) */
.header-logo .custom-logo-link { display: inline-block; line-height: 0; }
.header-logo img,
.header-logo .custom-logo {
  width: auto;
  height: auto;
  max-height: 70px;
  max-width: 100%;
  object-fit: contain;
  margin: 0 auto;
  display: block;
}
.header-logo a.logo-link { display: inline-block; }

/* Ticker: ONE scrolling track (items used to animate separately and overlap) */
.ticker-item { animation: none; margin-right: 28px; }
.ticker-item a { color: inherit; }
.ticker-item a:hover { color: var(--pk-red); }
.ticker-sep { color: var(--pk-red); margin-left: 16px; }
.ticker-track {
  display: inline-flex;
  white-space: nowrap;
  width: max-content;
  animation: tickerMarquee 60s linear infinite;
}
.breaking-ticker-content:hover .ticker-track { animation-play-state: paused; }
@keyframes tickerMarquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Homepage sections */
a.story-card { display: block; color: #fff; }
.card-focus-thumb a, .sub-item-thumb a, .city-card-img a, .video-thumb a, .lead-media a, .sub-hero-thumb a {
  display: block; width: 100%; height: 100%;
}
.card-focus-thumb img, .sub-item-thumb img, .city-card-img img, .video-thumb img, .sub-hero-thumb img {
  width: 100%; height: 100%; object-fit: cover;
}
.section-title a { color: inherit; }
.pk-empty-hint {
  background: #fff7ed; border: 1px dashed #f28c30; color: #9a3412;
  padding: 10px 12px; border-radius: 6px; font-size: 13px; line-height: 1.5; grid-column: 1 / -1;
}

/* Mobile drawer extras */
.drawer-logo img, .drawer-logo .custom-logo { max-height: 42px; width: auto; height: auto; display: block; }
.drawer-logo .custom-logo-link { display: inline-block; line-height: 0; }
.drawer-search { display: flex; margin-bottom: 12px; border: 1px solid var(--pk-gray-border); border-radius: 8px; overflow: hidden; }
.drawer-search input { flex: 1; border: 0; padding: 10px 12px; font-size: 14px; outline: none; min-width: 0; }
.drawer-search button { border: 0; background: var(--pk-red); color: #fff; padding: 0 14px; cursor: pointer; }
.mobile-menu-list, .mobile-menu-list ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu-list li { position: relative; }
.mobile-menu-list .sub-menu { display: none; padding-left: 14px; background: #fafafa; }
.mobile-menu-list li.sub-open > .sub-menu { display: block; }
.mobile-menu-list .sub-menu li a { font-weight: 600; font-size: 14px; }
.sub-toggle {
  position: absolute; right: 0; top: 0; width: 44px; height: 42px;
  background: none; border: 0; cursor: pointer; font-size: 14px; color: #555;
}
.sub-toggle i { transition: transform .2s; }
li.sub-open > .sub-toggle i { transform: rotate(180deg); }

/* MOBILE / TABLET header: hamburger + logo + ePaper only */
@media (max-width: 991px) {
  .header-top { padding: 8px 0; position: sticky; top: 0; z-index: 999; }
  .header-wrapper { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: nowrap; }
  .header-left { order: 1; flex: 0 0 auto; gap: 0; }
  .header-logo { order: 2; flex: 1 1 auto; min-width: 0; text-align: center; }
  .header-right { order: 3; flex: 0 0 auto; gap: 0; }

  .date-bar, .social-bar, .main-navigation-bar { display: none !important; }

  .mobile-nav-toggle { display: block; font-size: 24px; padding: 6px 8px; line-height: 1; }
  .header-logo img, .header-logo .custom-logo { max-height: 42px; }
  .logo-fallback { font-size: 26px; }
  .logo-tagline { display: none; }

  .epaper-btn-wrapper a { padding: 4px 8px; gap: 6px; font-size: 12px; border-width: 1.5px; border-radius: 6px; white-space: nowrap; }
  .epaper-icon-badge { font-size: 10px; padding: 2px 5px; }
}
@media (max-width: 480px) {
  .epaper-btn-wrapper a > span:not(.epaper-icon-badge) { display: none; }
  .epaper-btn-wrapper a { padding: 4px; }
  .header-logo img, .header-logo .custom-logo { max-height: 36px; }
}

/* ==========================================================================
   v1.2 — full-width col, article tools (Listen / News Card), PWA button
   ========================================================================== */
.col-12 { flex: 0 0 100%; max-width: 100%; padding: 0 12px; }

.article-tools {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  margin: 14px 0 18px; padding: 10px 12px;
  background: #fff8f5; border: 1px solid #fde1cf; border-radius: 10px;
}
.listen-player { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.listen-main-btn, .news-card-btn {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  border: 0; border-radius: 999px; padding: 9px 18px;
  font-weight: 800; font-size: 14px; font-family: var(--pk-font-hindi);
}
.listen-main-btn { background: var(--pk-red); color: #fff; }
.listen-main-btn:hover { background: var(--pk-red-dark, #a50f15); }
.news-card-btn { background: #fff; color: #111; border: 2px solid #111; }
.news-card-btn:hover { background: #111; color: #fff; }
.news-card-btn:disabled { opacity: .6; cursor: wait; }
.listen-mini-btn {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid #ccc; background: #fff; cursor: pointer;
}
.listen-speed { border: 1px solid #ccc; border-radius: 6px; padding: 6px 8px; background: #fff; font-size: 13px; }
.listen-status { font-size: 12px; color: #666; }

.newscard-modal {
  position: fixed; inset: 0; z-index: 10001; background: rgba(0,0,0,.75);
  display: flex; align-items: center; justify-content: center; padding: 16px;
}
.newscard-box { position: relative; background: #fff; border-radius: 12px; padding: 14px; max-width: 460px; width: 100%; max-height: 94vh; overflow: auto; }
.newscard-box img { width: 100%; height: auto; display: block; border-radius: 8px; }
.newscard-close { position: absolute; top: 20px; right: 20px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; border: 0; background: #111; color: #fff; font-size: 20px; cursor: pointer; }
.newscard-actions { display: flex; gap: 10px; margin-top: 12px; }
.newscard-actions a, .newscard-actions button {
  flex: 1; text-align: center; padding: 10px; border-radius: 8px; border: 0; cursor: pointer;
  font-weight: 800; font-size: 14px; color: #fff; background: var(--pk-red); text-decoration: none;
}
.newscard-actions .newscard-share { background: #25d366; }

.pwa-install-btn {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  background: #111; color: #fff; border: 0; border-radius: 8px; padding: 10px 16px; font-weight: 700; font-size: 14px;
}
.pwa-install-btn[hidden] { display: none; }
.mobile-drawer .pwa-install-btn { width: 100%; justify-content: center; margin-top: 16px; }

/* PWA install popup (bottom sheet) */
.pwa-popup {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10002;
  display: flex; justify-content: center; padding: 12px;
  transform: translateY(110%); transition: transform .3s ease; pointer-events: none;
}
.pwa-popup.show { transform: translateY(0); }
.pwa-popup-box {
  pointer-events: auto; width: 100%; max-width: 480px;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  background: #fff; border: 1px solid #e5e7eb; border-top: 3px solid var(--pk-red);
  border-radius: 14px; padding: 12px 14px; box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.pwa-popup-icon { width: 44px; height: 44px; border-radius: 10px; flex: 0 0 auto; }
.pwa-popup-text { flex: 1 1 140px; display: flex; flex-direction: column; font-size: 13px; color: #555; line-height: 1.35; min-width: 0; }
.pwa-popup-text strong { color: #111; font-size: 15px; }
.pwa-popup-yes { background: var(--pk-red); color: #fff; border: 0; border-radius: 8px; padding: 9px 14px; font-weight: 800; cursor: pointer; font-size: 14px; }
.pwa-popup-no { background: none; border: 0; color: #666; cursor: pointer; font-size: 13px; padding: 8px 6px; }
