/* The Hindu Style Layout CSS with Perfect Mobile Responsiveness */
body {
  background-color: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #111111;
  overflow-x: hidden;
}
.hindu-main-container {
  max-width: 1200px;
  margin: 25px auto;
  padding-left: 15px;
  padding-right: 15px;
}

@media (min-width: 992px) {
  .col-hindu-border {
    border-right: 1px solid #e0e0e0;
    padding-right: 20px;
  }
  .col-hindu-right {
    padding-left: 20px;
  }
}

.news-category-badge {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  background-color: #b30000;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  text-decoration: none;
  display: inline-block;
  padding: 4px 8px;
  margin-right: 6px;
  margin-bottom: 12px;
  border-radius: 2px;
}
.news-category-badge:hover {
  color: #fff;
  background-color: #000;
  text-decoration: none;
}
.news-subcategory-badge {
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  background-color: #555555;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  display: inline-block;
  padding: 4px 8px;
  margin-bottom: 12px;
  border-radius: 2px;
}
.news-title {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 32px;
  font-weight: 900;
  line-height: 1.15;
  color: #000000;
  margin-bottom: 12px;
  word-break: break-word;
}
.news-meta {
  font-size: 12px;
  color: #555;
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
  padding: 8px 0;
  margin-bottom: 15px;
  text-transform: uppercase;
  font-weight: 700;
}
.share-box {
  background-color: #f9f9f9;
  border-left: 4px solid #b30000;
  padding: 10px 15px;
  margin: 15px 0 20px 0;
  font-size: 14px;
}
.share-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.share-links a, .share-links button {
  color: #333;
  font-weight: 600;
  text-decoration: none;
  font-size: 13px;
  text-transform: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.share-links a:hover, .share-links button:hover {
  color: #b30000;
}
.news-content {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 17px;
  line-height: 1.8;
  color: #222;
  word-break: break-word;
}
.news-content img {
  max-width: 100% !important;
  height: auto !important;
}

/* News Reaction Bar Styling */
.news-reactions-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  background: #fdfdfd;
  border: 1px solid #e5e5e5;
  padding: 10px 14px;
  border-radius: 6px;
  margin-top: 25px;
  position: relative;
}
.news-react-btn {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  color: #444;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s;
  position: relative;
}
.news-react-btn:hover {
  background: #f1f1f1;
  border-color: #bbb;
  color: #b30000;
}

/* Unified Clean Comment Cards & Flat Reply Box */
.comment-main-card {
  background: #fff;
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 15px;
}
.reply-flat-box {
  background: #f8f9fa;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  padding: 12px;
  margin-top: 10px;
  margin-left: 15px;
}
.comment-actions {
  font-size: 12px;
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  position: relative;
}
.action-btn {
  background: none;
  border: none;
  color: #555;
  cursor: pointer;
  padding: 0;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  transition: color 0.2s;
  position: relative;
}
.action-btn:hover {
  color: #b30000;
}
.reply-container {
  margin-top: 10px;
  padding-left: 10px;
  border-left: 2px solid #b30000;
}
.see-more-btn {
  background: none;
  border: none;
  color: #b30000;
  font-size: 12px;
  font-weight: 700;
  padding: 0;
  margin-top: 5px;
  margin-bottom: 15px;
  cursor: pointer;
  display: inline-block;
}
.see-more-btn:hover {
  text-decoration: underline;
}

.stack-story-item {
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 15px;
  margin-bottom: 15px;
}
.stack-story-title {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
  color: #111111;
  margin-bottom: 6px;
}
.stack-story-title a {
  color: #111111;
  text-decoration: none;
}
.stack-story-title a:hover {
  color: #b30000;
}
.story-meta {
  font-size: 10px;
  font-weight: 700;
  color: #666;
  text-transform: uppercase;
}

/* Mobile Responsive Overrides */
@media (max-width: 768px) {
  .news-title {
    font-size: 24px;
  }
  .news-content {
    font-size: 16px;
  }
  .hindu-main-container {
    margin: 10px auto;
    padding-left: 10px;
    padding-right: 10px;
  }
  .reply-flat-box {
    margin-left: 8px;
    padding: 10px;
  }
  .comment-main-card {
    padding: 12px;
  }
}