/* ============================================================
   NEWS तक — story.css
   Article / Story Page Styles
   ============================================================ */

/* Reading Progress Bar */
.story-reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gray-100);
  z-index: 9999;
}
.story-progress-fill {
  height: 100%;
  background: var(--gradient-red);
  width: 0%;
  transition: width 0.1s linear;
}

/* Category Badges */
.story-cats { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.story-cat-badge {
  display: inline-block;
  font-family: var(--font-hindi);
  font-size: .68rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--r-sm);
  background: var(--red);
  color: var(--white);
  letter-spacing: .3px;
  transition: var(--t-fast);
}
.story-cat-badge:hover { opacity: .88; }
.story-exclusive-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-hindi);
  font-size: .68rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--r-sm);
  background: var(--yellow);
  color: var(--dark);
  letter-spacing: .3px;
}

/* Headline */
.story-headline {
  font-family: var(--font-hindi);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 900;
  color: var(--dark);
  line-height: 1.35;
  margin: 16px 0 14px;
  letter-spacing: -.01em;
}

/* Summary */
.story-summary {
  font-family: var(--font-hindi);
  font-size: 1rem;
  color: var(--gray-700);
  line-height: 1.65;
  margin-bottom: 20px;
  padding: 14px 18px;
  background: var(--gray-50);
  border-left: 3px solid var(--red);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}

/* Meta Bar */
.story-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 18px;
}
.story-author { display: flex; align-items: center; gap: 10px; }
.story-author-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  overflow: hidden; flex-shrink: 0; border: 2px solid var(--border);
}
.story-author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.story-author-name {
  font-family: var(--font-hindi);
  font-size: .86rem;
  font-weight: 700;
  color: var(--dark);
  display: block;
  transition: var(--t-fast);
}
.story-author-name:hover { color: var(--red); }
.story-author-role {
  font-family: var(--font-hindi);
  font-size: .72rem;
  color: var(--gray-400);
  display: block;
}
.story-meta-right {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-hindi); font-size: .72rem; color: var(--gray-400);
}
.story-meta-right i { color: var(--red); }

/* Share Bar */
.story-share-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 16px;
  background: var(--gray-50);
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  margin-bottom: 20px;
}
.story-share-bottom { margin-top: 24px; margin-bottom: 0; }
.story-share-label {
  font-family: var(--font-hindi);
  font-size: .75rem;
  font-weight: 700;
  color: var(--gray-500);
  white-space: nowrap;
}
.story-share-btns { display: flex; gap: 6px; flex-wrap: wrap; }
.story-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  border: none;
  font-family: var(--font-hindi);
  font-size: .72rem;
  font-weight: 600;
  color: var(--white);
  cursor: pointer;
  transition: var(--t-fast);
}
.story-share-btn:hover { opacity: .88; transform: translateY(-1px); }
.story-share-btn.fb { background: #1877F2; }
.story-share-btn.tw { background: #1DA1F2; }
.story-share-btn.wa { background: #25D366; }
.story-share-btn.tg { background: #0088CC; }
.story-share-btn.cp { background: var(--gray-400); }
.story-meta-stats {
  display: flex; gap: 12px;
  font-family: var(--font-hindi); font-size: .72rem; color: var(--gray-400);
}
.story-meta-stats i { color: var(--red); }

/* Hero Image */
.story-hero-img {
  width: 100%; margin: 0 0 8px; border-radius: var(--r-lg); overflow: hidden;
}
.story-hero-img img {
  width: 100%; height: auto; border-radius: var(--r-lg);
  max-height: 480px; object-fit: cover;
}
.story-img-caption {
  font-family: var(--font-hindi);
  font-size: .72rem;
  color: var(--gray-400);
  padding: 8px 4px;
  display: flex; align-items: flex-start; gap: 6px;
}
.story-img-caption i { color: var(--red); flex-shrink: 0; margin-top: 1px; }

/* Article Body */
.story-body {
  font-family: var(--font-hindi);
  font-size: .97rem;
  color: var(--dark-3);
  line-height: 1.9;
}
.story-body p { margin-bottom: 20px; }
.story-body h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dark);
  margin: 30px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
  position: relative;
}
.story-body h2::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 50px; height: 2px;
  background: var(--red);
}
.story-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin: 22px 0 10px;
}
.story-lead { font-size: 1.02rem; font-weight: 400; }

/* Pull Quote */
.story-pullquote {
  margin: 28px 0;
  padding: 20px 24px;
  background: var(--red-bg);
  border-left: 4px solid var(--red);
  border-radius: 0 var(--r-lg) var(--r-lg) 0;
  position: relative;
}
.story-pullquote::before {
  content: '\201C';
  position: absolute;
  top: -10px; left: 18px;
  font-size: 4rem;
  color: var(--red);
  opacity: .25;
  line-height: 1;
  font-family: Georgia, serif;
}
.story-pullquote p {
  font-family: var(--font-hindi);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.6;
  margin: 0 0 8px;
  font-style: italic;
}
.story-pullquote cite {
  font-family: var(--font-hindi);
  font-size: .8rem;
  color: var(--red);
  font-weight: 700;
  font-style: normal;
}

/* Key Points Box */
.story-keypoints {
  background: var(--dark-2);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin: 24px 0;
}
.story-keypoints-head {
  background: var(--red);
  color: var(--white);
  font-family: var(--font-hindi);
  font-size: .88rem;
  font-weight: 800;
  padding: 12px 18px;
  display: flex; align-items: center; gap: 8px;
}
.story-keypoints-list {
  padding: 16px 20px;
  display: flex; flex-direction: column; gap: 10px;
}
.story-keypoints-list li {
  font-family: var(--font-hindi);
  font-size: .85rem;
  color: var(--white);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}
.story-keypoints-list li::before {
  content: '✓';
  position: absolute; left: 0;
  color: var(--yellow);
  font-weight: 700;
}

/* Stats Box */
.story-stats-box {
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px;
  margin: 24px 0;
}
.story-stats-title {
  font-family: var(--font-hindi);
  font-size: .88rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
}
.story-stats-title i { color: var(--red); }
.story-stat-item {
  text-align: center;
  padding: 14px;
  background: var(--white);
  border-radius: var(--r-md);
  border: 1px solid var(--border);
}
.story-stat-num {
  font-family: var(--font-body);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--red);
  line-height: 1.2;
}
.story-stat-label {
  font-family: var(--font-hindi);
  font-size: .7rem;
  color: var(--gray-500);
  margin-top: 4px;
  line-height: 1.4;
}

/* Inline Image */
.story-inline-img {
  margin: 24px 0;
  border-radius: var(--r-lg);
  overflow: hidden;
}
.story-inline-img img {
  width: 100%; height: auto;
  border-radius: var(--r-lg);
  max-height: 380px; object-fit: cover;
}

/* Video Embed */
.story-video-embed {
  background: var(--dark);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin: 24px 0;
  cursor: pointer;
}
.story-video-thumb {
  position: relative;
  aspect-ratio: 16/9;
}
.story-video-thumb img {
  width: 100%; height: 100%; object-fit: cover;
}
.story-video-play-btn {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.2);
  transition: var(--t-base);
  border: none; width: 100%;
}
.story-video-play-btn:hover { background: rgba(0,0,0,.38); }
.story-video-dur {
  position: absolute; bottom: 10px; right: 12px;
  background: rgba(0,0,0,.78);
  color: var(--white);
  font-size: .68rem;
  padding: 2px 8px;
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-weight: 600;
}
.story-video-caption {
  padding: 10px 16px;
  font-family: var(--font-hindi);
  font-size: .78rem;
  color: var(--gray-300);
  display: flex; align-items: center; gap: 8px;
}

/* Tags Section */
.story-tags-section {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex-wrap: wrap;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  margin-top: 28px;
}
.story-tags-label {
  font-family: var(--font-hindi);
  font-size: .78rem;
  font-weight: 700;
  color: var(--gray-500);
  white-space: nowrap;
  padding-top: 5px;
  display: flex; align-items: center; gap: 6px;
}
.story-tags-label i { color: var(--red); }

/* Author Bio */
.story-author-bio {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  margin-top: 24px;
  align-items: flex-start;
}
.story-author-bio-img {
  width: 72px; height: 72px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 3px solid var(--white);
  box-shadow: var(--shadow-sm);
}
.story-author-bio-img img { width: 100%; height: 100%; object-fit: cover; }
.story-author-bio-name {
  font-family: var(--font-hindi);
  font-size: .95rem;
  font-weight: 800;
  color: var(--dark);
  margin: 0 0 2px;
}
.story-author-bio-role {
  font-family: var(--font-hindi);
  font-size: .72rem;
  color: var(--gray-400);
  margin: 0 0 8px;
  display: flex; align-items: center; gap: 5px;
}
.story-author-bio-desc {
  font-family: var(--font-hindi);
  font-size: .78rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin: 0 0 8px;
}
.story-author-more-link {
  font-family: var(--font-hindi);
  font-size: .78rem;
  font-weight: 700;
  color: var(--red);
  display: inline-flex; align-items: center; gap: 5px;
  transition: var(--t-fast);
}
.story-author-more-link:hover { gap: 8px; }

/* Comments */
.story-comments-section {
  padding: 28px 0;
  border-top: 2px solid var(--border);
  margin-top: 32px;
}
.story-comment-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 16px;
}
.story-comment-form-head { display: flex; gap: 12px; align-items: flex-start; }
.story-comment-textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 10px 14px;
  font-family: var(--font-hindi);
  font-size: .85rem;
  outline: none;
  resize: none;
  transition: var(--t-fast);
}
.story-comment-textarea:focus { border-color: var(--red); }
.story-comments-list { display: flex; flex-direction: column; gap: 0; }
.story-comment-item {
  display: flex;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-100);
  align-items: flex-start;
}
.story-comment-item:last-child { border-bottom: none; }
.story-comment-avatar-sm {
  width: 36px; height: 36px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.story-comment-avatar-sm img { width: 100%; height: 100%; object-fit: cover; }
.story-comment-meta {
  display: flex; align-items: center; gap: 10px; margin-bottom: 5px;
}
.story-comment-name {
  font-family: var(--font-hindi);
  font-size: .82rem;
  font-weight: 700;
  color: var(--dark);
}
.story-comment-time {
  font-family: var(--font-hindi);
  font-size: .7rem;
  color: var(--gray-400);
}
.story-comment-text {
  font-family: var(--font-hindi);
  font-size: .82rem;
  color: var(--dark-3);
  line-height: 1.6;
  margin: 0 0 8px;
}
.story-comment-actions {
  display: flex; gap: 12px;
}
.story-comment-actions button {
  font-family: var(--font-hindi);
  font-size: .72rem;
  color: var(--gray-400);
  background: none;
  border: none;
  cursor: pointer;
  display: flex; align-items: center; gap: 4px;
  transition: var(--t-fast);
}
.story-comment-actions button:hover { color: var(--red); }

/* Responsive */
@media (max-width: 767px) {
  .story-headline { font-size: 1.25rem; }
  .story-meta-bar { flex-direction: column; gap: 10px; }
  .story-meta-right { gap: 8px; font-size: .68rem; flex-wrap: wrap; }
  .story-share-bar { padding: 10px 12px; }
  .story-share-btn span { display: none; }
  .story-share-btn { padding: 7px 10px; }
  .story-meta-stats { display: none; }
  .story-summary { font-size: .9rem; padding: 12px 14px; }
  .story-body { font-size: .9rem; }
  .story-body h2 { font-size: 1.05rem; }
  .story-pullquote p { font-size: .92rem; }
  .story-stat-num { font-size: 1.1rem; }
  .story-author-bio { flex-direction: column; gap: 12px; }
  .story-author-bio-img { width: 56px; height: 56px; }
}
