body {
  background-color: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #111111;
}
.hindu-main-container {
  max-width: 1200px;
  margin: 18px auto 25px auto;
}

/* Equal 3 Column Dividers for Newspaper Look */
@media (min-width: 992px) {
  .col-hindu-border {
    border-right: 1px solid #e0e0e0;
    padding-right: 20px;
  }
  .col-hindu-mid {
    border-right: 1px solid #e0e0e0;
    padding-left: 20px;
    padding-right: 20px;
  }
  .col-hindu-right {
    padding-left: 20px;
  }
}

/* Custom styling for compact Header Ad Space */
.header-ad-banner {
  max-width: 728px;
  margin: 8px auto;
  text-align: center;
}
.header-ad-banner img {
  max-height: 50px !important;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: 2px;
}

.hindu-category-tag {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 11px;
  font-weight: 800;
  color: #b30000;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  text-decoration: none;
  display: block;
  margin-bottom: 5px;
}
.hindu-category-tag:hover {
  color: #000;
  text-decoration: underline;
}
.story-meta {
  font-size: 10px;
  font-weight: 700;
  color: #666;
  text-transform: uppercase;
}

/* Equal Size Vertical Stack Stories Across All 3 Columns (5 Each) */
.stack-story-item {
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 13px;
  margin-bottom: 13px;
}
.stack-story-item:last-child {
  border-bottom: none;
}
.stack-story-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.stack-story-content {
  flex: 1 1 auto;
  min-width: 0;
}
.stack-story-title {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.28;
  color: #111111;
  margin-bottom: 5px;
}
.stack-story-title a {
  color: #111111;
  text-decoration: none;
}
.stack-story-title a:hover {
  color: #b30000;
}
.stack-story-thumb {
  width: 74px;
  height: 56px;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
  border: 1px solid #e2e8f0;
}

/* Pagination Custom Styling */
.pagination .page-item .page-link {
  color: #111;
  border-color: #ddd;
  font-weight: 600;
  border-radius: 2px;
}
.pagination .page-item.active .page-link {
  background-color: #b30000;
  border-color: #b30000;
  color: #fff;
}

/* The Hindu Explains Style Section CSS */
.explains-section {
  background-color: #eef3f8;
  padding: 30px 20px;
  margin: 35px 0;
  border-radius: 2px;
}
.explains-header {
  text-align: center;
  margin-bottom: 25px;
  position: relative;
}
.explains-header h2 {
  font-size: 24px;
  font-weight: 800;
  color: #b30000;
  display: inline-block;
  background: #eef3f8;
  padding: 0 20px;
  position: relative;
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: 'Georgia', 'Times New Roman', serif;
}
.explains-header::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: #cbd5e1;
  z-index: 1;
}
.explains-flex-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  align-items: flex-start;
}
.explains-left-col {
  flex: 1.1;
  min-width: 260px;
}
.explains-left-col h3 {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 23px;
  font-weight: 900;
  line-height: 1.25;
  color: #000000;
  margin-bottom: 12px;
}
.explains-left-col h3 a {
  color: #000000;
  text-decoration: none;
}
.explains-left-col h3 a:hover {
  color: #b30000;
}
.explains-left-col p {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 14.5px;
  line-height: 1.55;
  color: #333333;
  margin-bottom: 15px;
}
.explains-left-col .author-name {
  font-size: 11px;
  font-weight: 800;
  color: #444;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.explains-center-col {
  flex: 1.8;
  min-width: 300px;
}
.explains-center-col img {
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}
.explains-right-col {
  flex: 1.1;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.explains-side-item {
  display: flex;
  gap: 14px;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid #d5dbe5;
}
.explains-side-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.explains-side-content h4 {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  color: #111111;
  margin-bottom: 4px;
}
.explains-side-content h4 a {
  color: #111111;
  text-decoration: none;
}
.explains-side-content h4 a:hover {
  color: #b30000;
}
.explains-side-meta {
  font-size: 10px;
  font-weight: 700;
  color: #666;
  text-transform: uppercase;
}
.explains-side-img {
  width: 85px;
  height: 65px;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
}

@media (max-width: 991px) {
  .explains-flex-layout {
    flex-direction: column;
  }
}

/* ================= IDENTICAL STORY CARD BASE STYLES (2PX RADIUS, CLEAN 1PX BORDER) ================= */
.story-card {
  width: 450px;
  height: 750px;
  background: #ffffff;
  border-radius: 2px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: left;
  position: relative;
  border: 1px solid #cbd5e1;
  font-family: 'Noto Sans Devanagari', sans-serif;
  color: #1e293b;
  flex-shrink: 0;
}
.story-card .card-header-box {
  background: #ffffff;
  padding: 12px 18px 9px 18px;
  border-top: 6px solid #b91c1c;
  border-bottom: 2px solid #e2e8f0;
  text-align: center;
  flex-shrink: 0;
}
.story-card .card-brand-title {
  font-family: 'Georgia', Times, serif, 'Noto Sans Devanagari';
  font-size: 24px;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: 1.2px;
  margin: 0;
  line-height: 1.15;
}
.tln-card-brand-back-link {
  color: inherit !important;
  text-decoration: none !important;
}
.story-card .card-brand-tagline {
  font-size: 7.5px;
  color: #475569;
  font-weight: 700;
  letter-spacing: 1px;
  margin-top: 4px;
  text-transform: uppercase;
}
.story-card .card-body-content {
  padding: 12px 18px;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-sizing: border-box;
}
.story-card .card-category {
  font-size: 13px;
  font-weight: 800;
  color: #b91c1c;
  padding: 2px 6px 2px 0;
  border-radius: 2px;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 2px;
  width: fit-content;
  line-height: 1.25;
  flex-shrink: 0;
}
.story-card .card-title {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.38;
  color: #0f172a;
  margin: 0 0 10px 0;
  padding-right: 2px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: break-word;
  word-break: normal;
  text-align: left;
  flex-shrink: 0;
}
.story-card .card-image-box {
  width: 100%;
  height: 225px;
  background: #f1f5f9;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 10px;
  flex-shrink: 0;
  border: 1px solid #cbd5e1;
}
.story-card .card-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.story-card .card-meta {
  font-size: 10.5px;
  font-weight: 700;
  color: #b91c1c;
  margin-bottom: 7px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  line-height: 1.3;
  flex-shrink: 0;
}
.story-card .card-desc {
  font-size: 18px;
  line-height: 1.52;
  color: #1e293b;
  font-weight: 600;
  padding-right: 2px;
  display: -webkit-box;
  -webkit-line-clamp: 10;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: break-word;
  word-break: normal;
  text-align: justify;
}
/* Brand Red Footer & White Text */
.story-card .card-footer-box {
  background: #b91c1c;
  color: #ffffff;
  padding: 10px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  font-weight: 600;
  gap: 8px;
  flex-shrink: 0;
}
.story-card .card-footer-box span,
.story-card .card-footer-box span:last-child {
  color: #ffffff;
  font-weight: 700;
}

/* ================= NEWS CARDS GALLERY (FRONT CARD ON TOP + ACTIONS ON FRONT CARD + BACK CARDS MORE HIDDEN) ================= */
.tln-cards-band-wrap {
  max-width: 1200px;
  margin: 16px auto 0 auto;
  padding-top: 8px;
  scroll-margin-top: 165px;
  position: relative;
  z-index: 1;
}
.news-cards-gallery-section {
  background-color: #dce6f2;
  background-image: linear-gradient(180deg, #e5eef8 0%, #d4e0ee 100%);
  padding: 16px 10px;
  margin: 0;
  border-radius: 6px;
  border: 1px solid #c6d5e8;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.75), 0 4px 14px rgba(15, 23, 42, 0.06);
  scroll-margin-top: 165px;
  position: relative;
  overflow: hidden;
}
.news-cards-scroll-track {
  display: flex;
  align-items: center;
  overflow-x: auto;
  padding: 10px 48px 12px 48px;
  scroll-behavior: auto;
  scrollbar-width: none;
}
.news-cards-scroll-track::-webkit-scrollbar {
  display: none;
}
.tln-gallery-item {
  flex: 0 0 214px;
  margin-left: -76px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 8px;
  padding: 5px;
  position: relative;
  z-index: 2;
  transform: scale(0.82);
  opacity: 0.45;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.14);
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease, z-index 0.1s ease;
}
.tln-gallery-item:first-child {
  margin-left: 0;
}
.tln-gallery-item.is-front-card {
  z-index: 30;
  transform: scale(1.04);
  opacity: 1;
  border-color: rgba(15, 23, 42, 0.25);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.32);
}

/* Scaled 450x750 Card Preview inside Gallery */
.tln-card-scale-wrap {
  width: 204px;
  height: 326px;
  overflow: hidden;
  border-radius: 6px;
  position: relative;
  cursor: pointer;
  background: #ffffff;
}
.tln-mini-card {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  transform: scale(0.453);
  transform-origin: top left;
  box-shadow: none;
}
.tln-card-scale-wrap::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 118px;
  background: linear-gradient(180deg, rgba(10, 15, 25, 0) 0%, rgba(10, 15, 25, 0.72) 48%, rgba(8, 12, 20, 0.94) 100%);
  pointer-events: none;
  z-index: 2;
}

/* Buttons inside the card: visible ONLY on the front card over its bottom area */
.tln-gallery-item .tln-card-actions {
  display: none;
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  gap: 6px;
  z-index: 5;
}
.tln-gallery-item.is-front-card .tln-card-actions {
  display: flex;
}
.tln-btn-dl, .tln-btn-read {
  flex: 1;
  padding: 6px 6px;
  font-size: 10.5px;
  font-weight: 700;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-decoration: none !important;
  line-height: 1.2;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
  transition: background 0.2s ease, transform 0.15s ease;
}
.tln-btn-dl {
  background: #0284c7;
  color: #ffffff !important;
}
.tln-btn-dl:hover {
  background: #0369a1;
}
.tln-btn-read {
  background: #dc2626;
  color: #ffffff !important;
}
.tln-btn-read:hover {
  background: #b91c1c;
}

/* ================= CARD PREVIEW SECTION ================= */
.tln-preview-stage-section {
  display: none;
  background: #ffffff;
  padding: 0;
  margin: 0;
  scroll-margin-top: 0;
  position: relative;
  z-index: 2;
  touch-action: pan-y;
}
.tln-preview-stage-section.active {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

/* Full screen edge-to-edge mode when card landing is active */
html.tln-fullscreen-card-lock,
body.tln-fullscreen-card-mode {
  overflow: hidden !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #ffffff !important;
}

body.tln-fullscreen-card-mode .tln-site-header-wrap,
body.tln-fullscreen-card-mode .tln-standard-home-content,
body.tln-fullscreen-card-mode .tln-standard-home-footer,
body.tln-fullscreen-card-mode .tln-modal-bottom-wrap,
body.tln-fullscreen-card-mode .tln-card-actions {
  display: none !important;
}

body.tln-fullscreen-card-mode #tlnPreviewStageSection {
  position: fixed !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  max-width: 100vw !important;
  max-height: 100dvh !important;
  padding: 0 !important;
  margin: 0 !important;
  background: #ffffff !important;
  z-index: 9999 !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
}

body.tln-fullscreen-card-mode .tln-modal-stage {
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  max-width: 100vw !important;
  max-height: 100dvh !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  overflow: hidden !important;
}

body.tln-fullscreen-card-mode .tln-modal-card-holder {
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

body.tln-fullscreen-card-mode .tln-modal-card-holder::after {
  display: none !important;
}

body.tln-fullscreen-card-mode .tln-modal-card-holder .story-card {
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* Hide any action/share/download/read-more/copy/back buttons inside card in full-screen landing */
body.tln-fullscreen-card-mode .tln-modal-card-holder .tln-card-actions,
body.tln-fullscreen-card-mode .tln-modal-card-holder .tln-btn-dl,
body.tln-fullscreen-card-mode .tln-modal-card-holder .tln-btn-read,
body.tln-fullscreen-card-mode .tln-modal-card-holder .card-actions,
body.tln-fullscreen-card-mode .tln-modal-card-holder .share-buttons {
  display: none !important;
}

/* Hide regular footer elements in full-screen card landing, show ONLY footer floating button(s) */
body.tln-fullscreen-card-mode .tln-preview-footer-wrap {
  display: block !important;
  position: fixed !important;
  inset: 0 !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  pointer-events: none !important;
  z-index: 10001 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
body.tln-fullscreen-card-mode .tln-preview-footer-wrap > * {
  visibility: hidden !important;
}
body.tln-fullscreen-card-mode .tln-preview-footer-wrap .tln-footer-floating-only,
body.tln-fullscreen-card-mode .tln-preview-footer-wrap .tln-footer-floating-only * {
  visibility: visible !important;
  pointer-events: auto !important;
}

/* Small Three-Dots Menu Floating Button & Bottom-to-Up Single-Line Bar (Zero Bottom Margin/Padding) */
@keyframes tlnDotsFloatPulse {
  0%, 100% {
    transform: translate(-50%, 0px);
    box-shadow: 0 3px 10px rgba(185, 28, 28, 0.36);
  }
  50% {
    transform: translate(-50%, -4px);
    box-shadow: 0 7px 16px rgba(185, 28, 28, 0.52);
  }
}

.tln-corner-action-dock {
  display: none;
}
body.tln-fullscreen-card-mode .tln-corner-action-dock {
  display: block;
  position: fixed;
  bottom: 0;
  left: 50%;
  margin: 0;
  padding: 0;
  transform: translateX(-50%);
  z-index: 10002;
  pointer-events: none;
}
.tln-corner-peek-tab {
  pointer-events: auto;
  position: fixed;
  left: 50%;
  bottom: 0;
  margin: 0;
  padding: 0;
  width: 30px;
  height: 28px;
  background: #b91c1c;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.48);
  border-bottom: none;
  border-radius: 10px 10px 0 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10003;
  animation: tlnDotsFloatPulse 1.8s ease-in-out infinite;
  transition: opacity 0.2s ease, background 0.18s ease;
}
.tln-corner-peek-tab:hover,
.tln-corner-peek-tab:focus {
  background: #991b1b;
  color: #ffffff;
}
.tln-peek-dots-icon {
  font-size: 13px;
  line-height: 1;
  margin: 0;
  padding: 0;
  color: #ffffff;
}
.tln-corner-action-drawer {
  pointer-events: none;
  position: fixed;
  bottom: 0;
  left: 50%;
  margin: 0;
  padding: 6px 12px;
  padding-bottom: 6px;
  margin-bottom: 0;
  width: max-content;
  max-width: calc(100vw - 16px);
  background: #b91c1c;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-bottom: none;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -6px 24px rgba(185, 28, 28, 0.45);
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 7px;
  opacity: 0;
  transform: translate(-50%, 36px);
  visibility: hidden;
  transition: opacity 0.24s ease, transform 0.26s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.24s ease;
  z-index: 10004;
}
body.tln-fullscreen-card-mode .tln-corner-action-dock.is-open .tln-corner-action-drawer {
  pointer-events: auto;
  opacity: 1;
  transform: translate(-50%, 0);
  visibility: visible;
}
body.tln-fullscreen-card-mode .tln-corner-action-dock.is-open .tln-corner-peek-tab {
  opacity: 0;
  animation: none;
  pointer-events: none;
}
.tln-dock-btn {
  padding: 8px 12px;
  margin-bottom: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: #b91c1c;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.15;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none !important;
  cursor: pointer;
  color: #ffffff !important;
  transition: background 0.18s ease, transform 0.15s ease;
}
.tln-dock-btn:hover,
.tln-dock-btn:focus {
  background: #991b1b;
  color: #ffffff !important;
}

/* Hide main home content & home footer when preview is active */
body.tln-mobile-card-landing .tln-site-header-wrap,
body.tln-mobile-card-landing .tln-standard-home-content,
body.tln-mobile-card-landing .tln-standard-home-footer,
body.tln-gallery-preview-active .tln-site-header-wrap,
body.tln-gallery-preview-active .tln-standard-home-content,
body.tln-gallery-preview-active .tln-standard-home-footer {
  display: none !important;
}

/* When header is hidden in card preview/landing mode, clear body top padding so card section is not pushed down */
body.tln-mobile-card-landing,
body.tln-gallery-preview-active {
  padding-top: 0 !important;
}

/* Preview footer: shown on mobile landing & mobile gallery click, hidden on desktop gallery click */
.tln-preview-footer-wrap {
  display: none;
  margin-top: 4px;
  flex-shrink: 0;
}
@media (max-width: 767px) {
  body.tln-mobile-card-landing .tln-preview-footer-wrap,
  body.tln-gallery-preview-active .tln-preview-footer-wrap {
    display: block !important;
  }
}
@media (min-width: 768px) {
  body.tln-gallery-preview-active .tln-site-header-wrap,
  body.tln-gallery-preview-active .tln-preview-footer-wrap {
    display: none !important;
  }
}

.tln-modal-stage {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 2px 0;
  position: relative;
  flex-shrink: 0;
}
.tln-modal-card-holder {
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.22);
}
.tln-modal-card-holder::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 150px;
  background: linear-gradient(180deg, rgba(10, 15, 25, 0) 0%, rgba(10, 15, 25, 0.65) 52%, rgba(8, 12, 20, 0.92) 100%);
  pointer-events: none;
  z-index: 3;
}
.tln-modal-card-holder .story-card {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 450px !important;
  height: 750px !important;
  border-radius: 2px !important;
  transform-origin: top left !important;
}

/* Mobile Only: Small Floating Right-Side Badge (Slides out from Right, Stays 5 Seconds, Then Hides) */
.tln-right-floating-badge {
  display: none;
}
@media (max-width: 767px) {
  .tln-right-floating-badge {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translate(115%, -50%);
    background: linear-gradient(135deg, #b91c1c, #dc2626);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-right: none;
    border-radius: 999px 0 0 999px;
    padding: 5px 10px 5px 8px;
    font-size: 9.5px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.15px;
    box-shadow: -3px 4px 14px rgba(15, 23, 42, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    z-index: 10005;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    cursor: pointer;
    transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease, visibility 0.25s ease;
  }
  .tln-preview-stage-section.is-badge-visible .tln-right-floating-badge {
    transform: translate(0, -50%);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}

/* Desktop Only: Stylish Left & Right Arrow Buttons */
.tln-desktop-arrow-btn {
  display: none;
}
@media (min-width: 768px) {
  .tln-desktop-arrow-btn {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #b91c1c, #dc2626);
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.65);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.24);
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10005;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  }
  .tln-desktop-arrow-btn:hover,
  .tln-desktop-arrow-btn:focus {
    background: linear-gradient(135deg, #991b1b, #b91c1c);
    color: #ffffff;
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 12px 26px rgba(185, 28, 28, 0.36);
    outline: none;
  }
  .tln-desktop-arrow-btn:active {
    transform: translateY(-50%) scale(0.96);
  }
  .tln-desktop-arrow-btn.left-side {
    left: 24px;
  }
  .tln-desktop-arrow-btn.right-side {
    right: 24px;
  }
}

/* Single Line Bottom Action Buttons (Download, Read More, Copy Link, Back) */
.tln-modal-bottom-wrap {
  width: 100%;
  max-width: 560px;
  margin: 8px auto 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 3;
  flex-shrink: 0;
}
.tln-modal-bottom-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  gap: 6px;
}
.tln-modal-btn-sm {
  padding: 6px 10px;
  border-radius: 2px;
  font-size: 11px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-decoration: none !important;
  line-height: 1.2;
  white-space: nowrap;
}
.tln-modal-dl-btn {
  background: linear-gradient(135deg, #0284c7, #0369a1);
  color: #ffffff !important;
}
.tln-modal-read-btn {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  color: #ffffff !important;
}
.tln-modal-copy-btn {
  background: #1e293b;
  color: #ffffff !important;
}
.tln-modal-copy-btn:hover {
  background: #334155;
  color: #ffffff !important;
}
.tln-modal-back-btn {
  background: #0f172a;
  color: #ffffff !important;
}
.tln-modal-back-btn:hover {
  background: #dc2626;
  color: #ffffff !important;
}