/*
Theme Name: Newsup Child - The True Interview
Theme URI: https://thetrueinterview.com
Description: Custom child theme for The True Interview Hindi news website
Author: Bharti Infotech
Template: newsup
Version: 1.1.0
Text Domain: newsup-child
*/

:root {
  --brand-red: #C8102E;
  --brand-navy: #1A1A2E;
  --bg-light: #F7F7F7;
  --text-dark: #222222;
  --text-muted: #6b6b6b;
}

body {
  background: var(--bg-light);
  color: var(--text-dark);
  font-family: 'Hind', 'Noto Sans Devanagari', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

a { color: inherit; text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--brand-red); }

h1, h2, h3, h4 {
  font-family: 'Mukta', 'Noto Sans Devanagari', Arial, sans-serif;
  font-weight: 700;
  color: var(--text-dark);
}

.tti-topbar { background: var(--brand-navy); color: #fff; font-size: 13px; padding: 6px 0; }
.tti-topbar .tti-container { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.tti-topbar .tti-social a { color: #fff; margin-left: 12px; font-size: 14px; }

.tti-header { background: #fff; padding: 18px 0; border-bottom: 3px solid var(--brand-red); }
.tti-header .tti-container { max-width: 1200px; margin: 0 auto; padding: 0 16px; display: flex; justify-content: center; align-items: center; }
.tti-logo { font-size: 34px; font-weight: 800; color: var(--brand-navy); letter-spacing: 1px; text-align: center; }
.tti-logo span { color: var(--brand-red); }
.tti-tagline { text-align: center; font-size: 13px; color: var(--text-muted); margin-top: 2px; }

/* TICKER - fixed overlap */
.tti-ticker-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--brand-red);
  height: 44px;
  overflow: hidden;
}
.tti-ticker-label {
  flex: 0 0 auto;
  background: #8f0c1f;
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0 18px 0 18px;
  padding-right: 26px;
  height: 100%;
  display: flex;
  align-items: center;
  z-index: 2;
  position: relative;
  clip-path: polygon(0 0, 100% 0, 88% 100%, 0% 100%);
}
.tti-ticker-scroll { flex: 1 1 auto; position: relative; overflow: hidden; height: 100%; }
.tti-ticker-track {
  position: absolute; top: 0; left: 0;
  display: flex; align-items: center; height: 100%;
  white-space: nowrap; animation: tti-marquee 28s linear infinite;
  padding-left: 100%;
}
.tti-ticker-track a { color: #fff; margin-right: 60px; font-size: 14px; font-weight: 500; }
.tti-ticker-wrap:hover .tti-ticker-track { animation-play-state: paused; }
@keyframes tti-marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }

/* NAV - stylish */
.tti-nav { background: linear-gradient(180deg, #22233a 0%, var(--brand-navy) 100%); position: sticky; top: 0; z-index: 999; box-shadow: 0 2px 6px rgba(0,0,0,0.25); }
.tti-nav .tti-container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.tti-nav ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; margin: 0; padding: 0; }
.tti-nav ul li { position: relative; }
.tti-nav ul li a {
  display: block; color: #fff; padding: 15px 20px; font-size: 13.5px;
  text-transform: uppercase; letter-spacing: 0.6px; font-weight: 700;
  border-bottom: 3px solid transparent; transition: all .25s ease;
}
.tti-nav ul li a:hover { background: rgba(200,16,46,0.15); border-bottom: 3px solid var(--brand-red); color: #fff; }
.tti-nav ul li.current-menu-item a { border-bottom: 3px solid var(--brand-red); background: rgba(200,16,46,0.15); }
.tti-hamburger { display: none; color: #fff; font-size: 22px; padding: 8px 14px; cursor: pointer; background: var(--brand-red); border-radius: 4px; margin: 6px 16px; }

.tti-trending { background: #fff; border-bottom: 1px solid #e5e5e5; padding: 10px 0; }
.tti-trending .tti-container { max-width: 1200px; margin: 0 auto; padding: 0 16px; display: flex; align-items: center; gap: 16px; overflow-x: auto; }
.tti-trending-label { color: var(--brand-red); font-weight: 700; white-space: nowrap; }
.tti-trending ol { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }
.tti-trending ol li { white-space: nowrap; font-size: 14px; font-weight: 600; }
.tti-trending ol li span { color: var(--brand-red); margin-right: 4px; }

.tti-wrap { max-width: 1200px; margin: 0 auto; padding: 24px 16px; }
.tti-columns { display: grid; grid-template-columns: 2.2fr 1fr; gap: 30px; }

.tti-headlines { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 30px; margin-bottom: 30px; }
.tti-headline-item { border-bottom: 1px dashed #ddd; padding: 10px 0; display: flex; justify-content: space-between; gap: 12px; }
.tti-headline-item a { font-weight: 600; font-size: 15px; }
.tti-headline-date { color: var(--text-muted); font-size: 12px; white-space: nowrap; }

.tti-section { margin-bottom: 34px; }
.tti-section-head { display: flex; justify-content: space-between; align-items: center; border-bottom: 3px solid var(--brand-red); padding-bottom: 8px; margin-bottom: 14px; }
.tti-section-head h2 { font-size: 20px; margin: 0; }
.tti-section-head a { color: var(--brand-red); font-size: 13px; font-weight: 600; }
.tti-post-list-item { border-bottom: 1px solid #eee; padding: 12px 0; }
.tti-post-list-item h3 { font-size: 16px; margin: 0 0 4px; }
.tti-post-meta { color: var(--text-muted); font-size: 12px; margin-bottom: 4px; }
.tti-post-excerpt { color: #444; font-size: 14px; }

.tti-sidebar-widget { background: #fff; border: 1px solid #eee; padding: 16px; margin-bottom: 20px; border-radius: 4px; }
.tti-sidebar-widget h3 { font-size: 16px; border-left: 4px solid var(--brand-red); padding-left: 10px; margin-top: 0; }
.tti-sidebar-widget li { padding: 8px 0; border-bottom: 1px solid #f0f0f0; font-size: 14px; font-weight: 600; }
.ad-slot { background: #f0f0f0; border: 1px dashed #ccc; min-height: 250px; display: flex; align-items: center; justify-content: center; color: #999; margin-bottom: 20px; }

.tti-single-header h1 { font-size: 28px; margin-bottom: 10px; }
.tti-byline { display: flex; align-items: center; gap: 10px; color: var(--text-muted); font-size: 13px; margin-bottom: 16px; }
.tti-featured-img img { width: 100%; border-radius: 4px; margin-bottom: 20px; }
.tti-article-body { font-size: 18px; line-height: 1.8; }
.tti-article-body p { margin-bottom: 18px; }
.tti-share-bar { display: flex; gap: 10px; margin: 20px 0; }
.tti-share-bar a { background: var(--brand-navy); color: #fff; padding: 8px 14px; border-radius: 4px; font-size: 13px; font-weight: 600; }
.tti-share-bar a.whatsapp { background: #25D366; }
.tti-share-bar a.facebook { background: #1877F2; }
.tti-share-bar a.twitter { background: #000; }
.tti-share-bar a.telegram { background: #0088cc; }
.tti-related { margin-top: 40px; }

/* NEWSLETTER - real form */
.tti-newsletter { background: var(--brand-navy); color: #fff; text-align: center; padding: 30px 16px; margin-top: 30px; }
.tti-newsletter h3 { color: #fff; margin-top: 0; }
.tti-newsletter-form { display: flex; justify-content: center; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.tti-newsletter-form input[type="email"] { padding: 12px 16px; border-radius: 4px; border: none; width: 320px; max-width: 80vw; font-size: 14px; }
.tti-newsletter-form button { background: var(--brand-red); color: #fff; border: none; padding: 12px 24px; border-radius: 4px; font-weight: 700; cursor: pointer; font-size: 14px; transition: background .2s ease; }
.tti-newsletter-form button:hover { background: #a10d24; }
.tti-newsletter-success { color: #7CFFB2; margin-top: 10px; font-size: 14px; font-weight: 600; }

.tti-footer { background: #111; color: #ccc; padding: 40px 0 0; margin-top: 30px; }
.tti-footer .tti-container { max-width: 1200px; margin: 0 auto; padding: 0 16px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.tti-footer h4 { color: #fff; font-size: 15px; margin-bottom: 12px; }
.tti-footer ul { list-style: none; padding: 0; margin: 0; }
.tti-footer li { margin-bottom: 8px; font-size: 13px; }
.tti-footer-bottom { text-align: center; padding: 16px; border-top: 1px solid #333; margin-top: 24px; font-size: 13px; }
.tti-credit { display: block; font-size: 12px; color: #888; margin-top: 6px; }
.tti-credit a { color: var(--brand-red); font-weight: 600; }
.tti-credit a:hover { text-decoration: underline; }

@media (max-width: 860px) {
  .tti-columns { grid-template-columns: 1fr; }
  .tti-headlines { grid-template-columns: 1fr; }
  .tti-footer .tti-container { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .tti-logo { font-size: 24px; }
  .tti-nav ul { display: none; flex-direction: column; width: 100%; }
  .tti-nav ul.tti-nav-open { display: flex; }
  .tti-hamburger { display: block; text-align: center; }
  .tti-footer .tti-container { grid-template-columns: 1fr; }
}
