/* ==========================================================================
   TRIPURA TIMES - ULTRA MODERN FLAGSHIP EDITORIAL DESIGN SYSTEM
   Crafted for 50K+ daily readers: High Readability, Visual Polish, Performance
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800;900&family=Lora:ital,wght@0,500;0,600;0,700;1,500;1,600&family=Playfair+Display:ital,wght@0,600;0,700;0,800;0,900;1,600;1,700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Montserrat:wght@400;500;600;700;800&display=swap');

:root {
  /* Brand Colors */
  --tt-primary: #dc2626;
  /* Vivid Crimson Red */
  --tt-primary-dark: #991b1b;
  /* Deep Crimson */
  --tt-primary-light: #ef4444;
  /* Light Coral Red */
  --tt-primary-subtle: #fef2f2;
  /* Soft Red Wash */
  --tt-secondary: #0f172a;
  /* Deep Slate Navy */
  --tt-secondary-light: #1e293b;
  /* Slate */
  --tt-accent-gold: #f59e0b;
  /* Refined Amber Gold */
  --tt-accent-gold-dark: #d97706;
  /* Dark Gold */

  /* Neutral Surface Colors */
  --tt-bg: #f8fafc;
  --tt-surface: #ffffff;
  --tt-surface-alt: #f1f5f9;
  --tt-border: #e2e8f0;
  --tt-border-subtle: #f1f5f9;
  --tt-border-dark: #334155;

  /* Typography Colors */
  --tt-text-main: #0f172a;
  --tt-text-body: #334155;
  --tt-text-muted: #64748b;
  --tt-text-light: #94a3b8;

  /* Typography Families */
  --tt-font-masthead: 'Cinzel', 'Playfair Display', Georgia, serif;
  --tt-font-headline: 'Playfair Display', Georgia, serif;
  --tt-font-article: 'Lora', Georgia, serif;
  --tt-font-ui: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Geometry & Shadows */
  --tt-radius-sm: 6px;
  --tt-radius-md: 10px;
  --tt-radius-lg: 14px;
  --tt-radius-xl: 18px;
  --tt-shadow-subtle: 0 1px 3px 0 rgba(0, 0, 0, 0.04), 0 1px 2px -1px rgba(0, 0, 0, 0.02);
  --tt-shadow-card: 0 4px 12px -2px rgba(15, 23, 42, 0.06), 0 2px 4px -2px rgba(15, 23, 42, 0.03);
  --tt-shadow-hover: 0 16px 32px -4px rgba(15, 23, 42, 0.12), 0 6px 12px -2px rgba(15, 23, 42, 0.06);
  --tt-shadow-glow: 0 0 20px rgba(220, 38, 38, 0.25);
}

/* Base Document Styling & Dot/Bullet Elimination */
body {
  background-color: var(--tt-bg) !important;
  color: var(--tt-text-body) !important;
  font-family: var(--tt-font-ui) !important;
  font-size: 0.95rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

ul,
ol {
  list-style: none !important;
  padding-left: 0 !important;
  margin-bottom: 0 !important;
}

li {
  list-style: none !important;
  list-style-type: none !important;
}

/* Hide any stray owl carousel dots or unwanted stream dots */
.owl-dots,
.tt-stream-dot {
  display: none !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--tt-text-main);
  font-weight: 700;
}

a {
  color: inherit;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

a:hover {
  text-decoration: none;
  color: var(--tt-primary);
}

/* Custom Signature Blue Badges & Text Accents */
.badge-primary,
.badge-danger {
  background-color: var(--tt-primary) !important;
  color: #ffffff !important;
}

.text-danger {
  color: var(--tt-primary) !important;
}

.border-danger {
  border-color: var(--tt-primary) !important;
}

.btn-danger {
  background-color: var(--tt-primary) !important;
  border-color: var(--tt-primary) !important;
}

.btn-outline-danger {
  color: var(--tt-primary) !important;
  border-color: var(--tt-primary) !important;
}

.btn-outline-danger:hover {
  background-color: var(--tt-primary) !important;
  color: #ffffff !important;
}

/* ==========================================================================
   DISTINCT EDITORIAL CATEGORY BADGES / PILLS
   ========================================================================== */
.tt-cat-pill {
  display: inline-flex;
  align-items: center;
  font-family: var(--tt-font-ui, sans-serif);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.035em;
  padding: 3px 8px;
  border-radius: 4px;
  line-height: 1.2;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}

/* Tripura News - Signature Royal Blue */
.tt-cat-pill-tripura {
  background-color: #eff6ff !important;
  color: #1d4ed8 !important;
  border-color: #bfdbfe !important;
}

.tt-cat-pill-tripura:hover {
  background-color: #dbeafe !important;
  color: #1e40af !important;
}

/* Northeast News - Emerald / Forest Green */
.tt-cat-pill-northeast {
  background-color: #ecfdf5 !important;
  color: #047857 !important;
  border-color: #a7f3d0 !important;
}

.tt-cat-pill-northeast:hover {
  background-color: #d1fae5 !important;
  color: #065f46 !important;
}

/* National News - Crimson / Coral */
.tt-cat-pill-national {
  background-color: #fef2f2 !important;
  color: #b91c1c !important;
  border-color: #fecaca !important;
}

.tt-cat-pill-national:hover {
  background-color: #fee2e2 !important;
  color: #991b1b !important;
}

/* Sports Arena - Amber / Golden Tangerine */
.tt-cat-pill-sports {
  background-color: #fffbeb !important;
  color: #b45309 !important;
  border-color: #fde68a !important;
}

.tt-cat-pill-sports:hover {
  background-color: #fef3c7 !important;
  color: #92400e !important;
}

/* Entertainment / Cinema - Electric Violet / Purple */
.tt-cat-pill-entertainment {
  background-color: #faf5ff !important;
  color: #7e22ce !important;
  border-color: #e9d5ff !important;
}

.tt-cat-pill-entertainment:hover {
  background-color: #f3e8ff !important;
  color: #6b21a8 !important;
}

/* Business / Economy - Teal / Cyan */
.tt-cat-pill-business {
  background-color: #ecfeff !important;
  color: #0e7490 !important;
  border-color: #a5f3fc !important;
}

.tt-cat-pill-business:hover {
  background-color: #cffafe !important;
  color: #155e75 !important;
}

/* Politics / State Affairs - Slate Steel */
.tt-cat-pill-politics {
  background-color: #f1f5f9 !important;
  color: #334155 !important;
  border-color: #cbd5e1 !important;
}

.tt-cat-pill-politics:hover {
  background-color: #e2e8f0 !important;
  color: #1e293b !important;
}

/* Special Features & Opinion - Rose / Magenta */
.tt-cat-pill-feature {
  background-color: #fff1f2 !important;
  color: #be123c !important;
  border-color: #fecdd3 !important;
}

.tt-cat-pill-feature:hover {
  background-color: #ffe4e6 !important;
  color: #9f1239 !important;
}

/* Health / Wellness - Mint */
.tt-cat-pill-health {
  background-color: #f0fdf4 !important;
  color: #15803d !important;
  border-color: #bbf7d0 !important;
}

/* World / International - Indigo */
.tt-cat-pill-world {
  background-color: #eef2ff !important;
  color: #4338ca !important;
  border-color: #c7d2fe !important;
}

/* Default / General Fallback */
.tt-cat-pill-default {
  background-color: #f8fafc !important;
  color: #475569 !important;
  border-color: #e2e8f0 !important;
}

/* ==========================================================================
   1. TOP UTILITY STRIP & TRENDING BAR
   ========================================================================== */
.tt-topbar {
  background-color: var(--tt-secondary) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  padding: 6px 0;
  color: #94a3b8;
}

.tt-topbar a {
  color: #cbd5e1 !important;
}

.tt-topbar a:hover {
  color: #ffffff !important;
}

.tt-topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  font-size: 0.76rem;
  font-weight: 500;
  color: #e2e8f0;
}

.tt-topbar-item i {
  color: var(--tt-primary-light);
}

.tt-epaper-pill {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 40%, #b91c1c 100%) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 0.82rem !important;
  letter-spacing: 0.4px;
  padding: 5px 16px !important;
  border-radius: 50px !important;
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.65), 0 2px 6px rgba(0, 0, 0, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none !important;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.3);
  animation: epaperPulseGlow 2.5s infinite ease-in-out;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.tt-epaper-pill i {
  color: #fef08a !important;
  filter: drop-shadow(0 0 4px rgba(254, 240, 138, 0.8));
  animation: epaperIconBounce 2s infinite ease-in-out;
}

.tt-epaper-pill::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -70%;
  width: 50%;
  height: 200%;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.45) 50%, rgba(255,255,255,0) 100%);
  transform: rotate(25deg);
  animation: epaperShineSweep 3.5s infinite;
}

@keyframes epaperShineSweep {
  0% { left: -70%; }
  35%, 100% { left: 150%; }
}

@keyframes epaperPulseGlow {
  0%, 100% {
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.6);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 22px rgba(239, 68, 68, 0.9), 0 0 10px rgba(245, 158, 11, 0.7);
    transform: scale(1.03);
  }
}

@keyframes epaperIconBounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.25) rotate(-6deg); }
}

.tt-epaper-pill:hover {
  transform: translateY(-2px) scale(1.06) !important;
  box-shadow: 0 6px 25px rgba(239, 68, 68, 0.85), 0 0 18px rgba(245, 158, 11, 0.8) !important;
  color: #ffffff !important;
}

.tt-social-link {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #94a3b8 !important;
  margin-left: 5px;
  font-size: 0.78rem;
  transition: all 0.25s ease;
}

.tt-social-link:hover {
  background: var(--tt-primary);
  color: #ffffff !important;
  transform: translateY(-2px);
}

/* Trending Topic Ribbon */
.tt-trending-ribbon {
  background: #ffffff;
  border-bottom: 1px solid var(--tt-border);
  padding: 8px 0;
  font-size: 0.82rem;
}

.tt-trending-label {
  font-weight: 800;
  color: var(--tt-primary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.tt-trending-tag {
  display: inline-block;
  padding: 2px 10px;
  margin: 0 4px;
  background: var(--tt-surface-alt);
  color: var(--tt-text-main) !important;
  border-radius: 14px;
  font-weight: 600;
  font-size: 0.78rem;
  transition: all 0.2s;
}

.tt-trending-tag:hover {
  background: var(--tt-primary-subtle);
  color: var(--tt-primary) !important;
}

/* ==========================================================================
   2. GRAND MASTHEAD / BRANDING
   ========================================================================== */
.tt-masthead {
  background: #ffffff;
  padding: 24px 0 20px 0;
  border-bottom: 3px double var(--tt-border);
}

.tt-brand-wrap {
  text-decoration: none !important;
  display: inline-block;
}

.tt-brand-title {
  font-family: var(--tt-font-masthead);
  font-size: 3.2rem;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--tt-secondary);
  line-height: 0.95;
  margin: 0;
  text-transform: uppercase;
}

.tt-brand-title span {
  color: var(--tt-primary);
}

.tt-brand-sub {
  font-family: var(--tt-font-ui);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 3.5px;
  color: var(--tt-text-muted);
  font-weight: 700;
  margin-top: 8px;
  display: block;
}

/* ==========================================================================
   3. STICKY GLASSMORPHIC NAVIGATION
   ========================================================================== */
.tt-navbar-wrap {
  background: var(--tt-secondary) !important;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.14);
  border-bottom: 2px solid var(--tt-primary);
}

.tt-navbar {
  padding: 0 !important;
  min-height: 42px;
}

.tt-navbar .nav-link {
  font-family: var(--tt-font-ui);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 10px 13px !important;
  color: #e2e8f0 !important;
  position: relative;
  transition: all 0.2s ease;
  line-height: 1.2;
}

.tt-navbar .nav-link:hover,
.tt-navbar .nav-item.active .nav-link {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.08);
}

.tt-navbar .nav-item.active .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--tt-primary);
  border-radius: 2px 2px 0 0;
}

.tt-dropdown-menu {
  background: #ffffff;
  border: 1px solid var(--tt-border);
  border-radius: var(--tt-radius-md);
  box-shadow: var(--tt-shadow-hover);
  padding: 6px 0;
  margin-top: 0;
  animation: fadeInDown 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  min-width: 210px;
}

.tt-dropdown-menu .dropdown-item {
  font-weight: 600;
  font-size: 0.82rem;
  padding: 8px 16px;
  color: var(--tt-text-main);
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tt-dropdown-menu .dropdown-item:hover {
  background: var(--tt-surface-alt);
  color: var(--tt-primary);
  padding-left: 20px;
}

.tt-search-box {
  position: relative;
  width: 180px;
}

.tt-search-input {
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 20px !important;
  color: #ffffff !important;
  font-size: 0.78rem;
  padding: 4px 28px 4px 12px !important;
  height: 30px !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
}

.tt-search-input::placeholder {
  color: #94a3b8;
}

.tt-search-input:focus {
  background: rgba(255, 255, 255, 0.22) !important;
  border-color: var(--tt-primary) !important;
  box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.3) !important;
  outline: none;
}

.tt-search-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #cbd5e1;
  font-size: 0.78rem;
  cursor: pointer;
  padding: 0;
}

/* ==========================================================================
   4. EDITORIAL HERO & REAL-TIME STREAM STAGE (BALANCED HEIGHTS)
   ========================================================================== */
.tt-hero-stage-wrap {
  padding: 20px 0 28px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--tt-border);
}

/* Level 1: Dominant Breaking/Top Story */
.tt-hero-dominant-card {
  background: #ffffff;
  border: 1px solid var(--tt-border);
  border-radius: var(--tt-radius-lg);
  overflow: hidden;
  box-shadow: var(--tt-shadow-subtle);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.tt-hero-dominant-card:hover {
  box-shadow: var(--tt-shadow-card);
  border-color: #cbd5e1;
}

.tt-dominant-img-wrap {
  height: 310px;
  position: relative;
  overflow: hidden;
  background: #0f172a;
}

.tt-dominant-img-wrap img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.tt-hero-dominant-card:hover .tt-dominant-img-wrap img {
  transform: scale(1.03);
}

.tt-live-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(220, 38, 38, 0.95);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.4);
  z-index: 2;
}

.tt-live-beacon {
  width: 8px;
  height: 8px;
  background: #ffffff;
  border-radius: 50%;
  animation: ttLiveBlink 1.2s infinite ease-in-out;
  display: inline-block;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.9);
}

.tt-live-beacon-red {
  width: 8px;
  height: 8px;
  background: #ef4444;
  border-radius: 50%;
  animation: ttLiveBlinkRed 1.2s infinite ease-in-out;
  display: inline-block;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.8);
}

@keyframes ttLiveBlink {
  0% {
    transform: scale(0.9);
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.8);
  }
  50% {
    transform: scale(1.25);
    opacity: 0.5;
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0);
  }
  100% {
    transform: scale(0.9);
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.8);
  }
}

@keyframes ttLiveBlinkRed {
  0% {
    transform: scale(0.9);
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.8);
  }
  50% {
    transform: scale(1.25);
    opacity: 0.5;
    box-shadow: 0 0 0 6px rgba(239, 68, 68, 0);
  }
  100% {
    transform: scale(0.9);
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.8);
  }
}

.tt-dominant-content {
  padding: 18px 20px;
}

.tt-dominant-title {
  font-family: var(--tt-font-headline);
  font-size: 1.55rem !important;
  font-weight: 800 !important;
  line-height: 1.3;
  color: var(--tt-text-main) !important;
  margin-bottom: 8px !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
  max-height: 2.6em;
}

.tt-dominant-title:hover {
  color: var(--tt-primary) !important;
}

.tt-dominant-excerpt {
  color: var(--tt-text-body);
  font-size: 0.92rem;
  line-height: 1.5;
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
  max-height: 3.0em;
}

/* Level 2: Two Supporting Medium Stories (Strict Equal Height) */
.tt-hero-sub-card {
  background: #ffffff;
  border: 1px solid var(--tt-border);
  border-radius: var(--tt-radius-md);
  overflow: hidden;
  height: 100%;
  min-height: 228px;
  box-shadow: var(--tt-shadow-subtle);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.tt-hero-sub-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--tt-shadow-card);
  border-color: #cbd5e1;
}

.tt-sub-img-wrap {
  height: 135px;
  position: relative;
  overflow: hidden;
  background: #0f172a;
}

.tt-sub-img-wrap img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.5s ease;
}

.tt-hero-sub-card:hover .tt-sub-img-wrap img {
  transform: scale(1.05);
}

.tt-sub-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--tt-primary);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
}

.tt-sub-content {
  padding: 12px 14px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tt-sub-title {
  font-family: var(--tt-font-ui);
  font-weight: 700;
  font-size: 0.92rem !important;
  line-height: 1.35;
  color: var(--tt-text-main) !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
  max-height: 2.7em;
}

.tt-sub-title:hover {
  color: var(--tt-primary) !important;
}

/* Real-Time 24/7 Vertical Latest News Stream (Balanced with Left Column) */
.tt-stream-panel {
  background: #ffffff;
  border: 1px solid var(--tt-border);
  border-radius: var(--tt-radius-lg);
  box-shadow: var(--tt-shadow-subtle);
  overflow: hidden;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.tt-stream-header {
  background: #0f172a;
  color: #ffffff;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.tt-stream-title {
  font-family: var(--tt-font-ui);
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
}

.tt-stream-status {
  background: rgba(30, 64, 175, 0.4);
  color: #93c5fd;
  border: 1px solid rgba(147, 197, 253, 0.4);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 12px;
  letter-spacing: 0.8px;
}

.tt-stream-body {
  padding: 8px 16px;
  flex: 1 1 0px;
  min-height: 0;
  height: 100%;
  overflow-y: auto;
  scrollbar-width: thin;
}

.tt-stream-body::-webkit-scrollbar {
  width: 5px;
}

.tt-stream-body::-webkit-scrollbar-track {
  background: #f8fafc;
}

.tt-stream-body::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}

.tt-stream-body::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.tt-stream-item {
  padding: 9px 0;
  border-bottom: 1px solid var(--tt-border-subtle);
  position: relative;
}

.tt-stream-item:last-child {
  border-bottom: none;
}

.tt-stream-time {
  font-size: 0.74rem;
  color: var(--tt-text-muted);
  font-weight: 600;
}

.tt-stream-link {
  font-family: var(--tt-font-ui);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--tt-text-main) !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
  max-height: 2.7em;
  transition: color 0.2s;
}

.tt-stream-link:hover {
  color: var(--tt-primary) !important;
}

.tt-stream-footer {
  padding: 10px 16px;
  background: var(--tt-surface-alt);
  border-top: 1px solid var(--tt-border);
  text-align: right;
  flex-shrink: 0;
}

.tt-stream-footer a {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--tt-primary) !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   5. RANKED MOST READ TODAY STRIP (NUMBERS 01 TO 05)
   ========================================================================== */
.tt-ranked-section {
  padding: 10px 0;
}

.tt-ranked-strip-wrap {
  background: #ffffff;
  border: 1px solid var(--tt-border);
  border-radius: var(--tt-radius-lg);
  padding: 16px 20px;
  box-shadow: var(--tt-shadow-subtle);
}

.tt-ranked-heading {
  font-family: var(--tt-font-ui);
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--tt-secondary);
}

.tt-ranked-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 4px 2px;
  height: 100%;
}

.tt-ranked-num {
  font-family: var(--tt-font-headline);
  font-size: 2.0rem;
  font-weight: 900;
  line-height: 1;
  color: #cbd5e1;
  letter-spacing: -1px;
  flex-shrink: 0;
  transition: color 0.2s;
}

.tt-ranked-card:hover .tt-ranked-num {
  color: var(--tt-primary);
}

.tt-ranked-body {
  flex-grow: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.tt-ranked-title {
  font-family: var(--tt-font-ui);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--tt-text-main) !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
  max-height: 2.7em;
  margin-bottom: 4px;
}

.tt-ranked-title:hover {
  color: var(--tt-primary) !important;
}

.tt-ranked-meta {
  font-size: 0.72rem;
  color: var(--tt-text-muted);
}

/* Mobile Sticky Bottom Nav */
.tt-mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 56px;
  background: #0f172a;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 9990;
  justify-content: space-around;
  align-items: center;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.25);
}

.tt-mobile-bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #94a3b8 !important;
  font-size: 0.68rem;
  font-weight: 600;
  text-decoration: none !important;
  gap: 2px;
  flex: 1;
  height: 100%;
}

.tt-mobile-bottom-nav a i {
  font-size: 1.05rem;
}

.tt-mobile-bottom-nav a:hover,
.tt-mobile-bottom-nav a.active {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   5. LIVE BREAKING NEWS TICKER
   ========================================================================== */
.tt-ticker-bar {
  background: #ffffff;
  border: 1px solid var(--tt-border);
  border-radius: 50px;
  padding: 5px 12px;
  box-shadow: var(--tt-shadow-card);
  margin: 14px 0 28px 0;
  display: flex;
  align-items: center;
}

.tt-ticker-pill {
  background: linear-gradient(135deg, var(--tt-primary), var(--tt-primary-dark));
  color: #ffffff;
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 16px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(29, 78, 216, 0.35);
  flex-shrink: 0;
}

.tt-pulse-dot {
  width: 7px;
  height: 7px;
  background-color: #ffffff;
  border-radius: 50%;
  animation: ttPulse 1.5s infinite;
}

@keyframes ttPulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  }

  70% {
    transform: scale(1.15);
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

.tt-ticker-content {
  flex-grow: 1;
  padding: 0 16px;
  font-weight: 600;
  font-size: 0.90rem;
  color: var(--tt-secondary);
}

.tt-ticker-content a {
  color: var(--tt-secondary) !important;
  transition: color 0.2s;
}

.tt-ticker-content a:hover {
  color: var(--tt-primary) !important;
}

/* ==========================================================================
   6. SECTION HEADERS
   ========================================================================== */
.section-title {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  border-bottom: 2px solid var(--tt-border) !important;
  padding-bottom: 10px !important;
  margin-bottom: 20px !important;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 70px;
  height: 3px;
  background: var(--tt-primary);
  border-radius: 2px;
}

.section-title h4 {
  font-family: var(--tt-font-ui) !important;
  font-weight: 800 !important;
  font-size: 1.25rem !important;
  letter-spacing: -0.3px;
  color: var(--tt-secondary) !important;
  text-transform: uppercase;
  margin: 0 !important;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title a {
  font-weight: 700 !important;
  font-size: 0.8rem !important;
  color: var(--tt-primary) !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: var(--tt-primary-subtle);
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid rgba(29, 78, 216, 0.18);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-title a:hover {
  background: var(--tt-primary);
  color: #ffffff !important;
  transform: translateX(3px);
  box-shadow: 0 4px 10px rgba(29, 78, 216, 0.25);
}

/* ==========================================================================
   7. MAGAZINE SHOWCASE LAYOUT (STRICT HEIGHT EQUALIZATION)
   ========================================================================== */
.tt-category-cards-wrap {
  align-items: stretch;
}

.tt-lead-card {
  background: var(--tt-surface);
  border-radius: var(--tt-radius-xl);
  border: 1px solid var(--tt-border);
  overflow: hidden;
  box-shadow: var(--tt-shadow-card);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
  min-height: 432px;
  display: flex;
  flex-direction: column;
}

.tt-lead-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--tt-shadow-hover);
  border-color: #cbd5e1;
}

.tt-lead-img-wrap {
  height: 240px;
  position: relative;
  overflow: hidden;
  background: #0f172a;
}

.tt-lead-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.tt-lead-card:hover .tt-lead-img-wrap img {
  transform: scale(1.05);
}

.tt-lead-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--tt-primary);
  color: #ffffff;
  font-size: 0.70rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(29, 78, 216, 0.4);
  z-index: 2;
}

.tt-lead-body {
  padding: 16px 18px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tt-lead-title {
  font-family: var(--tt-font-headline);
  font-size: 1.35rem !important;
  font-weight: 800 !important;
  line-height: 1.35;
  color: var(--tt-text-main) !important;
  margin-bottom: 6px !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
  max-height: 2.7em;
}

.tt-lead-title:hover {
  color: var(--tt-primary) !important;
}

.tt-lead-excerpt {
  color: var(--tt-text-body);
  font-size: 0.90rem;
  line-height: 1.48;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
  max-height: 3.0em;
}

.tt-lead-readmore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--tt-primary);
  font-weight: 700;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tt-lead-readmore:hover {
  color: var(--tt-primary-dark);
  transform: translateX(4px);
}

/* Side Compact Media Cards (Equal Stack to match Left Lead Card) */
.tt-side-media-card {
  background: var(--tt-surface);
  border-radius: var(--tt-radius-lg);
  border: 1px solid var(--tt-border);
  padding: 8px 10px;
  margin-bottom: 10px;
  height: 98px;
  display: flex;
  gap: 10px;
  align-items: center;
  box-shadow: var(--tt-shadow-subtle);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.tt-side-media-card:last-child {
  margin-bottom: 0;
}

.tt-side-media-card:hover {
  transform: translateX(4px);
  border-color: #cbd5e1;
  box-shadow: var(--tt-shadow-card);
}

.tt-side-img-wrap {
  width: 105px;
  height: 76px;
  border-radius: var(--tt-radius-md);
  overflow: hidden;
  flex-shrink: 0;
  background: #0f172a;
}

.tt-side-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.tt-side-media-card:hover .tt-side-img-wrap img {
  transform: scale(1.08);
}

.tt-side-body {
  flex-grow: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 2px 0;
}

.tt-side-title {
  font-family: var(--tt-font-ui);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--tt-text-main) !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
  max-height: 2.7em;
  margin-bottom: 4px;
  text-decoration: none !important;
}

.tt-side-media-card:hover .tt-side-title {
  color: var(--tt-primary) !important;
}

.tt-side-meta {
  font-size: 0.72rem;
  color: var(--tt-text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ==========================================================================
   8. OPINIONS & ARTICLES EDITORIAL SECTION (EQUAL HEIGHTS)
   ========================================================================== */
.tt-opinion-lead-card {
  background: #ffffff;
  border-radius: var(--tt-radius-xl);
  border: 1px solid var(--tt-border);
  border-left: 5px solid var(--tt-primary);
  padding: 20px;
  box-shadow: var(--tt-shadow-card);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
  min-height: 432px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tt-opinion-lead-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--tt-shadow-hover);
}

.tt-opinion-author-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--tt-surface-alt);
  color: var(--tt-secondary);
  font-weight: 700;
  font-size: 0.80rem;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.tt-opinion-title {
  font-family: var(--tt-font-article);
  font-size: 1.30rem !important;
  font-weight: 700 !important;
  line-height: 1.4;
  color: var(--tt-text-main) !important;
  margin-bottom: 10px !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
  max-height: 2.8em;
}

.tt-opinion-title:hover {
  color: var(--tt-primary) !important;
}

.tt-opinion-card-sm {
  background: #ffffff;
  border-radius: var(--tt-radius-lg);
  border: 1px solid var(--tt-border);
  border-left: 4px solid var(--tt-accent-gold);
  padding: 10px 14px;
  margin-bottom: 10px;
  height: 98px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--tt-shadow-subtle);
  transition: all 0.25s ease;
}

.tt-opinion-card-sm:last-child {
  margin-bottom: 0;
}

.tt-opinion-card-sm:hover {
  transform: translateX(4px);
  box-shadow: var(--tt-shadow-card);
}

.tt-opinion-card-sm a {
  font-family: var(--tt-font-article);
  font-weight: 600;
  font-size: 0.88rem;
  line-height: 1.35;
  color: var(--tt-text-main) !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
  max-height: 2.7em;
}

.tt-opinion-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--tt-primary), var(--tt-primary-dark));
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--tt-font-ui);
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: 0 4px 10px rgba(29, 78, 216, 0.35);
  flex-shrink: 0;
}

.tt-opinion-avatar-sm {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--tt-secondary), #334155);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--tt-font-ui);
  font-weight: 800;
  font-size: 0.74rem;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.25);
  flex-shrink: 0;
}

.tt-opinion-card-sm a:hover {
  color: var(--tt-primary) !important;
}

/* ==========================================================================
   9. SPECIAL FEATURES WIDE CARDS (BALANCED EQUAL HEIGHT)
   ========================================================================== */
.tt-feature-wide-card {
  background: #ffffff;
  border-radius: var(--tt-radius-xl);
  border: 1px solid var(--tt-border);
  overflow: hidden;
  box-shadow: var(--tt-shadow-card);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
  min-height: 410px;
  display: flex;
  flex-direction: column;
}

.tt-feature-wide-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--tt-shadow-hover);
}

.tt-feature-img-wrap {
  height: 200px;
  position: relative;
  overflow: hidden;
  background: #0f172a;
}

.tt-feature-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.tt-feature-wide-card:hover .tt-feature-img-wrap img {
  transform: scale(1.06);
}

/* ==========================================================================
   10. STANDARD NEWS CARD COMPONENT (PERFECT EQUAL HEIGHT GRID)
   ========================================================================== */
.tt-news-card {
  background: var(--tt-surface);
  border-radius: var(--tt-radius-lg);
  border: 1px solid var(--tt-border);
  overflow: hidden;
  box-shadow: var(--tt-shadow-subtle);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  height: calc(100% - 20px);
  min-height: 275px;
}

.tt-news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--tt-shadow-hover);
  border-color: #cbd5e1;
}

.tt-card-img-wrap {
  width: 100%;
  height: 150px;
  overflow: hidden;
  position: relative;
  background: #f1f5f9;
  flex-shrink: 0;
}

.tt-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.tt-news-card:hover .tt-card-img-wrap img {
  transform: scale(1.08);
}

.tt-card-body {
  padding: 12px 14px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tt-card-title {
  font-family: var(--tt-font-ui);
  font-weight: 700;
  font-size: 0.90rem !important;
  line-height: 1.35;
  color: var(--tt-text-main) !important;
  margin-bottom: 8px !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
  max-height: 2.7em;
  text-decoration: none !important;
  transition: color 0.2s;
}

.tt-news-card:hover .tt-card-title {
  color: var(--tt-primary) !important;
}

.tt-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.74rem;
  color: var(--tt-text-muted);
  padding-top: 8px;
  border-top: 1px solid var(--tt-border-subtle);
  margin-top: auto;
}

.tt-card-footer i {
  margin-right: 4px;
}

.tt-card-footer .fa-calendar,
.tt-card-footer .fa-calendar-alt {
  color: var(--tt-primary);
}

.tt-card-footer .fa-eye {
  color: #10b981;
}

/* Editorial Author Tag */
.tt-author-tag {
  background: var(--tt-surface-alt);
  color: var(--tt-secondary);
  font-weight: 700;
  font-size: 0.73rem;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
}

/* ==========================================================================
   11. MOST VIEWED & TRENDING STORIES
   ========================================================================== */
.tt-trending-wrap {
  background: #ffffff;
  border: 1px solid var(--tt-border);
  border-radius: var(--tt-radius-xl);
  padding: 24px;
  box-shadow: var(--tt-shadow-card);
  margin: 32px 0;
}

.tt-trending-card {
  height: 265px;
  border-radius: var(--tt-radius-lg);
  overflow: hidden;
  position: relative;
  background: #0f172a;
}

.tt-trending-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.tt-trending-card:hover img {
  transform: scale(1.06);
}

.tt-trending-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(15, 23, 42, 0.95) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
}

.tt-trending-title {
  font-family: var(--tt-font-ui);
  font-size: 0.90rem;
  font-weight: 700;
  color: #ffffff !important;
  line-height: 1.35;
  margin-top: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
  max-height: 2.7em;
}

/* ==========================================================================
   12. FLAGSHIP LUXURY FOOTER
   ========================================================================== */
.tt-footer {
  background: #090d16 !important;
  color: #94a3b8;
  padding-top: 56px;
  margin-top: 56px;
  border-top: 4px solid var(--tt-primary);
}

.tt-footer h5 {
  font-family: var(--tt-font-ui);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
  color: #ffffff !important;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.tt-footer h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--tt-primary);
}

.tt-footer p {
  color: #94a3b8;
  font-size: 0.88rem;
  line-height: 1.7;
}

.tt-footer-link-pill {
  display: inline-block;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1 !important;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.80rem;
  font-weight: 600;
  margin: 3px;
  transition: all 0.2s ease;
}

.tt-footer-link-pill:hover {
  background: var(--tt-primary);
  color: #ffffff !important;
  border-color: var(--tt-primary);
  transform: translateY(-2px);
}

.tt-footer-copyright {
  background: #04060a;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 18px 0;
  font-size: 0.85rem;
  color: #64748b;
}

.tt-footer-copyright a {
  color: #cbd5e1;
}

/* Back to Top Button */
.back-to-top {
  border-radius: 50% !important;
  width: 44px;
  height: 44px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: var(--tt-primary) !important;
  border: none !important;
  box-shadow: 0 6px 16px rgba(29, 78, 216, 0.45) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  bottom: 30px;
  right: 30px;
}

.back-to-top:hover {
  background: var(--tt-primary-dark) !important;
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(29, 78, 216, 0.6) !important;
}

/* ==========================================================================
   13. COMPREHENSIVE RESPONSIVE IMAGES & MEDIA RULES
   ========================================================================== */
img,
video,
iframe {
  max-width: 100%;
  height: auto;
}

#topadd,
#topadd img,
.tt-masthead img {
  max-width: 100% !important;
  height: auto !important;
  display: block;
  margin: 0 auto;
}

/* Base Card Image Fit */
.tt-hero-main-card img,
.tt-subhero-card img,
.tt-lead-img-wrap img,
.tt-side-img-wrap img,
.tt-feature-img-wrap img,
.tt-card-img-wrap img,
.tt-trending-card img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
}

/* ==========================================================================
   EDITORIAL SECTION HEADERS & TOPIC CHIPS (SIGNATURE BLUE)
   ========================================================================== */
.tt-section-header-wrap {
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 8px;
  margin-bottom: 16px;
}

.tt-section-heading {
  font-family: var(--tt-font-headline);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--tt-secondary);
  text-transform: uppercase;
}

.tt-topic-chips-bar {
  gap: 6px;
}

.tt-topic-chip {
  display: inline-block;
  font-family: var(--tt-font-ui);
  font-size: 0.74rem;
  font-weight: 600;
  color: #475569 !important;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 3px 10px;
  border-radius: 20px;
  text-decoration: none !important;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tt-topic-chip:hover {
  background: #eff6ff;
  color: var(--tt-primary) !important;
  border-color: #bfdbfe;
}

.tt-topic-chip.active {
  background: var(--tt-primary);
  color: #ffffff !important;
  border-color: var(--tt-primary);
}

.tt-section-explore-link {
  font-family: var(--tt-font-ui);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--tt-primary) !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none !important;
  transition: transform 0.2s ease;
}

.tt-section-explore-link:hover {
  transform: translateX(3px);
  color: var(--tt-primary-dark) !important;
}

/* ==========================================================================
   ENTERTAINMENT CAROUSEL & CARDS (EQUAL HEIGHTS)
   ========================================================================== */
.tt-ent-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 260px;
}

.tt-ent-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  border-color: var(--tt-primary);
}

.tt-ent-img-wrap {
  position: relative;
  height: 155px;
  overflow: hidden;
  background: #0f172a;
  flex-shrink: 0;
}

.tt-ent-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.tt-ent-card:hover .tt-ent-img-wrap img {
  transform: scale(1.06);
}

.tt-ent-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(126, 34, 206, 0.9);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 14px;
  letter-spacing: 0.5px;
  backdrop-filter: blur(4px);
  z-index: 2;
}

.tt-ent-body {
  padding: 10px 12px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tt-ent-title {
  font-family: var(--tt-font-headline);
  font-size: 0.90rem;
  font-weight: 700;
  line-height: 1.35;
  color: #1e293b !important;
  margin-top: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
  max-height: 2.7em;
}

.tt-ent-title:hover {
  color: var(--tt-primary) !important;
}

/* Entertainment Carousel Nav Buttons */
.entertainment-carousel .owl-nav {
  position: absolute;
  top: -48px;
  right: 120px;
  display: flex;
  gap: 8px;
}

/* Responsive Overrides */
@media (max-width: 991.98px) {
  .tt-brand-title {
    font-size: 2.3rem;
  }

  .tt-dominant-img-wrap {
    height: 260px !important;
  }

  .tt-lead-card {
    margin-bottom: 24px;
  }

  .tt-lead-img-wrap {
    height: 230px !important;
  }

  .tt-feature-img-wrap {
    height: 190px !important;
  }

  .tt-card-img-wrap {
    height: 170px !important;
  }
}

@media (max-width: 767.98px) {
  .tt-dominant-img-wrap {
    height: 220px !important;
  }

  .tt-lead-img-wrap {
    height: 200px !important;
  }

  .tt-feature-img-wrap {
    height: 170px !important;
  }

  .tt-side-media-card {
    padding: 8px 10px;
  }

  .tt-side-img-wrap {
    width: 95px !important;
    height: 70px !important;
  }
}

@media (max-width: 575.98px) {
  .tt-brand-title {
    font-size: 1.75rem;
  }

  .tt-brand-sub {
    font-size: 0.65rem;
    letter-spacing: 2px;
  }

  .tt-dominant-img-wrap {
    height: 190px !important;
  }

  .tt-lead-card {
    margin-bottom: 20px;
  }

  .tt-lead-img-wrap {
    height: 180px !important;
  }

  .tt-lead-body {
    padding: 16px 12px;
  }

  .tt-side-media-card {
    padding: 6px 8px;
    gap: 8px;
  }

  .tt-side-img-wrap {
    width: 80px !important;
    height: 60px !important;
  }

  .tt-card-img-wrap {
    height: 160px !important;
  }

  .tt-trending-card {
    height: 230px !important;
  }

  .tt-opinion-lead-card {
    padding: 16px 12px;
  }
}

/* ==========================================================================
   11. FLAGSHIP ARTICLE READER EXPERIENCE (NewsDetails)
   ========================================================================== */

/* Top Reading Progress Bar */
#readingProgressBar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3.5px;
  background: linear-gradient(90deg, #1d4ed8 0%, #3b82f6 50%, #dc2626 100%);
  width: 0%;
  z-index: 999999;
  transition: width 0.1s ease-out;
  box-shadow: 0 0 8px rgba(29, 78, 216, 0.6);
}

/* Article Stage Card */
.tt-article-reader-card {
  background: #ffffff;
  border-radius: var(--tt-radius-lg);
  border: 1px solid var(--tt-border);
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.05);
  padding: 36px 40px;
  margin-bottom: 30px;
}

@media (max-width: 767.98px) {
  .tt-article-reader-card {
    padding: 20px 16px;
    border-radius: 12px;
  }
}

/* Breadcrumbs */
.tt-article-breadcrumb {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--tt-text-muted);
  margin-bottom: 14px;
}

.tt-article-breadcrumb a {
  color: var(--tt-text-muted);
  text-decoration: none;
}

.tt-article-breadcrumb a:hover {
  color: var(--tt-primary, #1d4ed8);
}

.tt-article-breadcrumb span.sep {
  margin: 0 6px;
  color: #cbd5e1;
}

/* Category & Read Time Meta Strip */
.tt-article-pre-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.tt-reading-time-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #f1f5f9;
  color: #475569;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
}

.tt-views-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #ecfdf5;
  color: #059669;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid #a7f3d0;
}

/* Main Article Headline */
.tt-article-main-title {
  font-family: var(--tt-font-headline, 'Playfair Display', serif);
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1.28;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

@media (max-width: 767.98px) {
  .tt-article-main-title {
    font-size: 1.7rem;
    line-height: 1.32;
  }
}

/* Author & Meta Bar with Font Resizer */
.tt-article-byline-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 14px 0;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 24px;
  gap: 12px;
}

.tt-author-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tt-author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
}

.tt-author-name {
  font-weight: 800;
  font-size: 0.95rem;
  color: #0f172a;
  margin: 0;
  line-height: 1.2;
}

.tt-author-sub {
  font-size: 0.78rem;
  color: #64748b;
  margin: 0;
}

/* Reader Tools (Font Size, Share, Print) */
.tt-reader-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tt-font-btn {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  color: #334155;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 4px 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tt-font-btn:hover {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
}

/* Featured Hero Image Showcase */
.tt-article-hero-img-wrap {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: #0f172a;
  margin-bottom: 28px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.tt-article-hero-img-wrap img {
  width: 100% !important;
  max-height: 520px !important;
  object-fit: cover !important;
  display: block;
}

.tt-article-img-caption {
  background: #f8fafc;
  padding: 8px 16px;
  font-size: 0.78rem;
  color: #64748b;
  border-top: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Article Body Typography */
.tt-article-content-body {
  font-family: var(--tt-font-article, 'Lora', Georgia, serif);
  font-size: 1.02rem;
  line-height: 1.75;
  color: #1e293b;
}

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

.tt-article-content-body p:first-of-type::first-letter {
  font-family: var(--tt-font-headline, 'Playfair Display', serif);
  font-size: 2.8rem;
  line-height: 0.88;
  float: left;
  margin-right: 10px;
  margin-top: 4px;
  font-weight: 800;
  color: #1d4ed8;
}

.tt-article-content-body blockquote {
  border-left: 4px solid #1d4ed8;
  padding: 16px 24px;
  margin: 28px 0;
  background: #f8fafc;
  border-radius: 0 12px 12px 0;
  font-style: italic;
  font-size: 1.2rem;
  color: #0f172a;
}

/* Social Share Bar */
.tt-article-share-strip {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 20px;
  margin: 32px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.tt-share-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #ffffff !important;
  font-size: 0.95rem;
  transition: transform 0.2s ease, opacity 0.2s ease;
  text-decoration: none !important;
}

.tt-share-icon-btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.tt-share-wa { background: #25d366; }
.tt-share-fb { background: #1877f2; }
.tt-share-tw { background: #000000; }
.tt-share-ln { background: #0a66c2; }
.tt-share-copy { background: #475569; }

/* Re-circulation Next Story Box */
.tt-next-story-box {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 1px solid #bfdbfe;
  border-radius: 14px;
  padding: 22px 24px;
  margin-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: transform 0.25s ease;
}

.tt-next-story-box:hover {
  transform: translateY(-2px);
  border-color: #93c5fd;
}

/* Sidebar Trending List */
.tt-side-trending-card {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f1f5f9;
  align-items: center;
}

.tt-side-trending-card:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.tt-side-trending-rank {
  font-family: var(--tt-font-headline);
  font-size: 1.4rem;
  font-weight: 800;
  color: #cbd5e1;
  min-width: 24px;
  line-height: 1;
}

.tt-side-trending-card:hover .tt-side-trending-rank {
  color: var(--tt-primary, #1d4ed8);
}

.tt-side-trending-img {
  width: 75px;
  height: 55px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #0f172a;
}

.tt-side-trending-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tt-side-trending-title {
  font-family: var(--tt-font-ui);
  font-weight: 700;
  font-size: 0.86rem !important;
  line-height: 1.35;
  color: #0f172a !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
  max-height: 2.7em;
}

.tt-side-trending-title:hover {
  color: var(--tt-primary, #1d4ed8) !important;
  text-decoration: none;
}

/* Sticky Sidebar for Article & News Details */
.tt-sticky-sidebar {
  position: -webkit-sticky;
  position: sticky;
  top: 85px;
  z-index: 10;
}

/* Legal / Static Page Container Styling */
.legal-hero, .about-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #1d4ed8 100%);
  padding: 55px 0 45px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.legal-hero::after, .about-hero::after {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(29, 78, 216, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.legal-card, .about-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 40px 45px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  border: 1px solid #e2e8f0;
  line-height: 1.85;
  color: #334155;
  font-size: 0.98rem;
  margin-bottom: 40px;
}
.legal-card h3, .about-card h3 {
  font-family: var(--tt-font-headline, 'Playfair Display', serif);
  font-weight: 800;
  color: #0f172a;
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 20px;
  margin-top: 25px;
}
.legal-card h3:first-of-type, .about-card h3:first-of-type {
  margin-top: 0;
}
.legal-card h3::after, .about-card h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--tt-primary, #1d4ed8);
  border-radius: 2px;
}
.legal-card ul, .about-card ul {
  padding-left: 20px;
  margin-bottom: 20px;
}
.legal-card ul li, .about-card ul li {
  margin-bottom: 8px;
}

/* ==========================================================================
   Global Top Advertisement Hiding (Per Requirement 3)
   ========================================================================== */
#topadd,
.tt-masthead #topadd,
div[id*="topadd"],
div[id*="TopAdd"],
div[id*="topAdd"] {
  display: none !important;
}

/* ==========================================================================
   Redefined News & Article Grid Cards (Fixes Text Overlapping - Requirement 2)
   ========================================================================== */
.news-card, .article-card {
  background: #ffffff !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  border: 1px solid #e2e8f0 !important;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04) !important;
}

.news-card:hover, .article-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.12), 0 4px 8px -2px rgba(15, 23, 42, 0.04) !important;
  border-color: #cbd5e1 !important;
}

.news-img-container, .article-img-container {
  position: relative !important;
  width: 100% !important;
  height: 210px !important;
  background-color: #0f172a !important;
  overflow: hidden !important;
}

.news-img, .article-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.4s ease !important;
}

.news-card:hover .news-img, .article-card:hover .article-img {
  transform: scale(1.05) !important;
}

.news-card .card-body, .article-card .card-body {
  padding: 1.25rem !important;
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
}

.news-meta, .article-meta {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  font-size: 0.72rem !important;
  color: #64748b !important;
  gap: 8px;
  border-bottom: 1px solid #f1f5f9 !important;
  padding-bottom: 6px !important;
  margin-bottom: 8px !important;
}

.news-title, .article-title {
  font-family: var(--tt-font-ui, 'Plus Jakarta Sans', sans-serif) !important;
  font-size: 0.94rem !important;
  font-weight: 700 !important;
  line-height: 1.36 !important;
  color: #0f172a !important;
  margin-bottom: 6px !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  min-height: 2.72em !important;
  transition: color 0.2s ease !important;
}

.news-card:hover .news-title, .article-card:hover .article-title {
  color: #dc2626 !important;
}

.news-desc, .article-desc {
  font-size: 0.74rem !important;
  line-height: 1.4 !important;
  color: #64748b !important;
  margin-bottom: 10px !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  min-height: 2.6em !important;
  word-break: break-word !important;
}

.news-readmore, .article-readmore {
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  color: #dc2626 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  margin-top: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  transition: gap 0.2s ease, color 0.2s ease !important;
}

.news-readmore:hover, .article-readmore:hover {
  gap: 7px !important;
  color: #991b1b !important;
  text-decoration: none !important;
}

/* ==========================================================================
   Tripura Times Official App / ePaper Modal & Banner (Home Page Integration - Compact & Sleek)
   ========================================================================== */
.tt-app-modal .modal-content {
  border-radius: 18px !important;
  box-shadow: 0 20px 50px -10px rgba(15, 23, 42, 0.4) !important;
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}

.tt-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 1050;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #334155;
  color: #ffffff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
  border: none;
  font-size: 1rem;
  line-height: 1;
  transition: all 0.2s ease;
  padding: 0 !important;
}

.tt-modal-close:hover {
  background: #0f172a;
  opacity: 1;
  transform: rotate(90deg) scale(1.1);
}

.tt-badge-official {
  display: inline-flex;
  align-items: center;
  background: #fffbeb;
  border: 1px solid #fef3c7;
  color: #b45309;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  padding: 2px 10px;
  border-radius: 50px;
  text-transform: uppercase;
}

.tt-app-feature-card {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 6px 8px;
  height: 100%;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.tt-app-feature-card:hover {
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

.tt-app-feature-icon {
  font-size: 0.95rem;
  line-height: 1;
}

.tt-pricing-box {
  background: #fff5f5;
  border: 1px dashed #fca5a5;
  border-radius: 10px;
}

.btn-google-play {
  background: #059669 !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 0.86rem !important;
  padding: 8px 16px !important;
  border-radius: 10px !important;
  box-shadow: 0 3px 10px rgba(5, 150, 105, 0.3) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s ease !important;
  border: none !important;
}

.btn-google-play:hover {
  background: #047857 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 5px 14px rgba(5, 150, 105, 0.4) !important;
  color: #ffffff !important;
}

.btn-web-epaper {
  background: #f1f5f9 !important;
  color: #1e293b !important;
  font-weight: 700 !important;
  font-size: 0.82rem !important;
  padding: 7px 16px !important;
  border-radius: 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid #cbd5e1 !important;
  transition: all 0.2s ease !important;
}

.btn-web-epaper:hover {
  background: #e2e8f0 !important;
  color: #0f172a !important;
  transform: translateY(-1px) !important;
  text-decoration: none !important;
}

.tt-flyer-img {
  max-height: 330px !important;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
}

.tt-flyer-img:hover {
  transform: scale(1.02);
}