/* TaazaWire Custom Styles */

/* Authentic Broadsheet Newspaper Typography & Rules */
.newspaper-headline {
  font-family: 'Martel', Georgia, serif;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.newspaper-col-rule {
  border-right: 1px solid #e2e8f0;
}
.dark .newspaper-col-rule {
  border-right: 1px solid #334155;
}

.newspaper-section-title {
  border-left: 4px solid #b91c1c;
  padding-left: 10px;
  font-family: 'Martel', Georgia, serif;
  font-weight: 800;
}

/* Custom marquee animation */
@keyframes marquee {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

.animate-marquee {
  display: inline-flex;
  white-space: nowrap;
  animation: marquee 35s linear infinite;
}

.animate-marquee:hover, .hover\:pause:hover {
  animation-play-state: paused;
}

/* Hide scrollbar for category menu */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Article rich content typography */
.article-content p {
  margin-bottom: 1.25rem;
  line-height: 1.8;
  font-size: 1.05rem;
}

.article-content h2, .article-content h3 {
  font-weight: 700;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
  color: #111827;
}

.dark .article-content h2, .dark .article-content h3 {
  color: #f3f4f6;
}

/* Toast Notification Styles */
#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  padding: 12px 20px;
  background: #0f172a;
  color: #ffffff;
  border-left: 4px solid #ef4444;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
  animation: toastIn 0.3s ease-out forwards;
}

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

/* Google Translate Clean Styling & Popup Removal */
.goog-te-banner-frame.skiptranslate,
.goog-te-banner-frame {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
}

body {
  top: 0px !important;
  position: static !important;
}

.goog-tooltip,
.goog-tooltip:hover {
  display: none !important;
}

.goog-text-highlight {
  background-color: transparent !important;
  box-shadow: none !important;
}

#goog-gt-tt,
.goog-te-balloon-frame {
  display: none !important;
}

#google_translate_element {
  position: fixed !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  z-index: -999 !important;
}

.skiptranslate iframe {
  display: none !important;
}

/* ==========================================================================
   🖨️ Clean Print & PDF Stylesheet (UPSC / Exam / Archival Standard)
   ========================================================================== */
@media print {
  header, nav, aside, footer,
  #theme-toggle, #toast-container,
  #tts-player-card, #native-lang-onboarding,
  #epaper-modal, #saved-news-modal,
  .social-share, .ad-banner,
  button, .no-print {
    display: none !important;
  }

  body {
    background: #ffffff !important;
    color: #111827 !important;
    font-size: 12pt !important;
    line-height: 1.6 !important;
  }

  main, article, .max-w-7xl, .lg\:col-span-8 {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
  }

  #article-main-title {
    font-size: 22pt !important;
    color: #000000 !important;
    margin-bottom: 10pt !important;
  }

  .article-content {
    font-size: 11pt !important;
    line-height: 1.6 !important;
    color: #1f2937 !important;
  }

  img {
    max-width: 100% !important;
    page-break-inside: avoid;
  }

  a {
    text-decoration: none !important;
    color: #000000 !important;
  }
}
