/*
Theme Name: Tallakhas News Pro
Theme URI: https://tallakhas.com/
Author: Tallakhas Private Limited
Author URI: https://tallakhas.com/
Description: Responsive editorial news theme with configurable newspaper feed, accessible Load More, ad placements, publisher details and NewsArticle support.
Version: 3.3.0
Text Domain: tallakhas-news-pro
*/

:root {
    --primary-red: #d90429;
    --primary-dark: #9b001a;
    --dark-bg: #0f172a;
    --dark-card: #1e293b;
    --border-gray: #e2e8f0;
    --bg-light: #f1f5f9;
    --text-main: #0f172a;
    --text-muted: #475569;
    --gold: #ffb703;
    
    /* Category Colors matching Screenshot */
    --cat-national: #111827;
    --cat-state: #1f2937;
    --cat-business: #15803d;
    --cat-sports: #1d4ed8;
    --cat-ent: #7e22ce;
    --cat-tech: #9a3412;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { width: 100%; max-width: 100vw; overflow-x: hidden; font-family: 'Noto Sans Devanagari', sans-serif; background: #f8fafc; color: var(--text-main); line-height: 1.6; }
img, iframe, video { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: all 0.2s ease; }
a:hover { color: var(--primary-red); }
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 14px; }
#reading-progress { position: fixed; top: 0; left: 0; width: 0%; height: 4px; background: var(--primary-red); z-index: 99999; }

/* 1. Header & Utilities */
.top-bar { background: var(--dark-bg); color: #f8fafc; font-size: 13px; padding: 8px 0; border-bottom: 2px solid var(--primary-red); }
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.top-left-items { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.live-clock-badge { background: #1e293b; color: var(--gold); padding: 4px 10px; border-radius: 4px; font-weight: 700; border: 1px solid #334155; }
.top-action-btn { background: var(--primary-red); color: #fff !important; padding: 4px 11px; border-radius: 4px; font-weight: 700; font-size: 12px; display: inline-flex; align-items: center; gap: 5px; cursor: pointer; border: none; }
.social-links-wrap { display: flex; align-items: center; gap: 6px; }
.social-icon-btn { background: #1e293b; color: #fff !important; padding: 5px 10px; border-radius: 5px; font-size: 12px; }
.site-header { background: #fff; padding: 16px 0; border-bottom: 1px solid var(--border-gray); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.header-inner.logo-left { flex-direction: row; }
.header-inner.logo-center { flex-direction: column; text-align: center; }
.main-nav { background: var(--primary-red); color: #fff; font-weight: 700; position: sticky; top: 0; z-index: 9990; box-shadow: 0 3px 10px rgba(0,0,0,0.12); }
.main-nav ul { list-style: none; display: flex; overflow-x: auto; white-space: nowrap; }
.main-nav ul::-webkit-scrollbar { display: none; }
.main-nav ul li a { display: block; padding: 11px 15px; color: #fff; }
.breaking-ticker { background: #fffbeb; border-bottom: 2px solid #fde68a; padding: 7px 0; }
.ticker-wrap { display: flex; align-items: center; gap: 10px; overflow: hidden; }
.ticker-label { background: var(--primary-red); color: #fff; padding: 4px 10px; font-weight: 800; font-size: 12px; border-radius: 4px; }
.web-stories-strip { background: #fff; border: 1px solid var(--border-gray); border-radius: 8px; padding: 12px; margin: 16px auto 0; display: flex; gap: 14px; overflow-x: auto; }
.story-bubble { flex: 0 0 82px; text-align: center; font-size: 12px; font-weight: 700; }
.story-ring { width: 68px; height: 68px; border-radius: 50%; padding: 3px; background: linear-gradient(45deg, #d90429, #ffb703); margin: 0 auto 5px; overflow: hidden; }
.story-ring img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 2px solid #fff; }

/* 2. DAINIK BHASKAR STYLE EXACT BOX GRID (Screenshot Match) */
.bhaskar-cat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 24px auto; }
.cat-column-box { background: #fff; border: 1px solid var(--border-gray); border-radius: 8px; overflow: hidden; }

/* The top category tab like "देश व राजनीति" */
.cat-box-header { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-bottom: 1px solid var(--border-gray); }
.cat-box-header .red-bar { width: 4px; height: 18px; background: var(--primary-red); }
.cat-box-header h2 { font-size: 16px; font-weight: 800; color: #111827; display: flex; align-items: center; gap: 6px; }

/* Hero Box Inside Category (Black, Green, Blue background headers) */
.cat-hero-card { position: relative; border-radius: 6px; margin: 12px; overflow: hidden; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 16px; min-height: 160px; }
.cat-hero-card.theme-national { background: var(--cat-national); }
.cat-hero-card.theme-state { background: var(--cat-state); }
.cat-hero-card.theme-business { background: var(--cat-business); }
.cat-hero-card.theme-sports { background: var(--cat-sports); }
.cat-hero-card.theme-ent { background: var(--cat-ent); }
.cat-hero-card.theme-tech { background: var(--cat-tech); }

.cat-hero-badge { position: absolute; top: 0; left: 0; background: var(--primary-red); color: #fff; font-size: 10px; font-weight: 800; padding: 3px 8px; text-transform: uppercase; }
.cat-hero-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 6px; z-index: 2; position: relative; }
.cat-hero-card p { font-size: 12px; color: #cbd5e1; z-index: 2; position: relative; line-height: 1.4; }
.cat-hero-card .sponsor { font-size: 10px; color: var(--gold); margin-top: 10px; z-index: 2; position: relative; }

/* Exact List Format below Hero */
.cat-news-list { padding: 0 16px 16px; }
.cat-news-list .main-hl { font-size: 15.5px; font-weight: 800; line-height: 1.4; margin-bottom: 12px; color: #0f172a; }
.cat-news-list ul { list-style: none; }
.cat-news-list ul li { font-size: 14px; font-weight: 600; padding: 8px 0; border-top: 1px solid #f1f5f9; display: flex; gap: 8px; line-height: 1.5; color: #334155; }
.cat-news-list ul li::before { content: "▸"; color: var(--primary-red); font-weight: 800; }

/* 3. Latest News Feed List (With Play Icon overlay & Share Links) */
.news-layout { display: grid; grid-template-columns: minmax(0, 2.35fr) minmax(0, 1fr); gap: 24px; margin: 20px auto; align-items: start; }
.article-box, .sidebar-widget { background: #fff; border: 1px solid var(--border-gray); padding: 18px; border-radius: 8px; margin-bottom: 20px; }
.widget-title { font-size: 18px; font-weight: 800; border-left: 4px solid var(--primary-red); padding-left: 10px; margin-bottom: 15px; }

.bhaskar-list-item { display: flex; flex-direction: column; gap: 12px; padding: 20px 0; border-top: 1px solid var(--border-gray); }
.bhaskar-list-content { width: 100%; }
.bhaskar-list-title { font-size: 24px; font-weight: 900; line-height: 1.35; margin-bottom: 8px; }
.bhaskar-list-title a { color: #0f172a; }
.bhaskar-list-excerpt { font-size: 14px; color: #475569; margin-bottom: 10px; line-height: 1.5; }
.bhaskar-list-meta { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: #64748b; font-weight: 700; }
.bhaskar-cat-pill { background: transparent; color: #0f172a; font-weight: 800; }
.bhaskar-list-social { display: flex; gap: 10px; font-size: 14px; }
.bhaskar-list-social a { color: #94a3b8; }
.bhaskar-list-social a:hover { color: #0f172a; }

.bhaskar-list-thumb { width: 100%; position: relative; }
.bhaskar-list-thumb img { width: 100%; max-height: 400px; object-fit: cover; border-radius: 8px; }
.bhaskar-play-icon { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 32px; height: 32px; background: rgba(0,0,0,0.6); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; border: 2px solid #fff; }

.load-more-btn { display: block; width: 100%; background: #f8fafc; color: #0f172a; border: 1px solid #cbd5e1; padding: 12px; text-align: center; font-weight: 800; font-size: 15px; border-radius: 6px; cursor: pointer; margin-top: 10px; }
.load-more-btn:hover { background: #e2e8f0; }

/* 4. Single Article SEO Optimizations (RankMath Target) */
/* Moved to H1 for title, clean H2/H3 in content, image alt text pulled dynamically in PHP */
.article-tools { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; background: #f8fafc; border: 1px solid var(--border-gray); padding: 10px 12px; border-radius: 6px; margin-bottom: 16px; font-size: 13px; }
.tool-btn { background: #fff; border: 1px solid #cbd5e1; color: #0f172a; padding: 5px 10px; border-radius: 4px; cursor: pointer; font-weight: 700; font-size: 12px; }
#article-content-text h2, #article-content-text h3 { color: #0f172a; margin: 20px 0 10px; }

/* 5. Custom Dynamic Footer */
.site-footer { background: var(--dark-bg); color: #e2e8f0; padding: 45px 0 22px; margin-top: 45px; border-top: 5px solid var(--primary-red); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 28px; margin-bottom: 30px; }
.footer-col h4 { color: inherit; font-size: 17px; font-weight: 800; margin-bottom: 14px; border-left: 3px solid var(--gold); padding-left: 9px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; font-size: 14px; display: flex; align-items: center; gap: 6px; }
.footer-links li::before { content: "›"; color: var(--gold); font-weight: bold; }
.footer-links li a { color: inherit; opacity:.9; }
.footer-links li a:hover { color: var(--gold); }
.footer-cta-box { background: #1e293b; border: 1px solid #334155; padding: 16px; border-radius: 8px; }
.footer-promo-btn { display: block; width: 100%; text-align: center; padding: 10px 14px; border-radius: 6px; font-weight: 800; font-size: 14px; margin-bottom: 10px; cursor: pointer; border: none; }

/* Miscellaneous */
.tallakhas-ad-slot { background: #ffffff; border: 1px dashed #94a3b8; text-align: center; padding: 12px; margin: 18px 0; border-radius: 8px; font-size: 12px; color: #475569; width: 100%; }
.live-broadcast-sec { background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); color: #fff; border-radius: 10px; padding: 18px; margin: 20px auto; }
.responsive-embed { position: relative; width: 100%; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 8px; background: #000; }
.responsive-embed iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

@media (max-width: 992px) {
    .news-layout { grid-template-columns: 1fr; }
    .bhaskar-cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .bhaskar-cat-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .bhaskar-list-item { flex-direction: column; align-items: stretch; }
    .bhaskar-list-thumb { flex: auto; }
    .bhaskar-list-thumb img { height: 180px; }
}


/* Modal & Form Fixes */
.tnp-modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15, 23, 42, 0.88); z-index: 999999; display: none; align-items: center; justify-content: center; padding: 12px; }
.tnp-modal-overlay.open { display: flex !important; }
.tnp-modal-card { background: #fff; color: #0f172a; width: 100%; max-width: 600px; border-radius: 10px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
.tnp-modal-header { background: var(--dark-bg); color: #fff; padding: 16px 20px; display: flex; justify-content: space-between; align-items: center; }
.tnp-modal-body { padding: 20px; background: #f8fafc; }
.citizen-form { display: flex; flex-direction: column; gap: 12px; }
.citizen-form input, .citizen-form textarea { width: 100%; padding: 12px; border: 1px solid #cbd5e1; border-radius: 6px; font-family: inherit; font-size: 14px; background: #fff; color: #0f172a; }
.citizen-form button { background: var(--primary-red); color: #fff; border: none; padding: 12px 20px; border-radius: 6px; font-weight: 800; cursor: pointer; text-transform: uppercase; letter-spacing: 0.5px; }

/* Footer Image Fixes */
.footer-col > a > img, .footer-col > a > video { max-width: 100%; max-height: 80px; object-fit: contain; margin-bottom: 15px; display: block; }

/* Push Prompt Fixes */
.tnp-push-prompt { position: fixed; bottom: 84px; left: 22px; width: 340px; max-width: calc(100vw - 44px); background: #0f172a; color: #fff; border-radius: 10px; padding: 16px; box-shadow: 0 15px 35px rgba(0,0,0,0.35); border-top: 4px solid var(--primary-red); z-index: 99991; display: none; }
.tnp-push-prompt.show { display: block !important; }



/* Dainik Bhaskar Exact Feed Styles */
.bhaskar-list-item-large { display: flex; flex-direction: column; padding: 20px 0; border-top: 1px solid #334155; }
.bhaskar-list-item-large .bhaskar-list-title { font-size: 24px; font-weight: 800; line-height: 1.35; margin-bottom: 6px; order: 1; }
.bhaskar-list-item-large .bhaskar-list-title a { color: #f8fafc; }
.bhaskar-list-item-large .bhaskar-list-excerpt { font-size: 15px; color: #94a3b8; margin-bottom: 15px; line-height: 1.5; order: 2; }
.bhaskar-list-item-large .bhaskar-list-thumb { width: 100%; position: relative; order: 3; margin-bottom: 12px; }
.bhaskar-list-item-large .bhaskar-list-thumb img { width: 100%; max-height: 380px; object-fit: cover; border-radius: 8px; }
.bhaskar-list-item-large .bhaskar-list-meta { display: flex; justify-content: space-between; align-items: center; order: 4; }

.bhaskar-list-item-small { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-top: 1px solid #334155; align-items: flex-start; }
.bhaskar-list-item-small .bhaskar-list-content { width: 100%; flex: 1; display: flex; flex-direction: column; justify-content: space-between; min-height: 85px; }
.bhaskar-list-item-small .bhaskar-list-title { font-size: 17px; font-weight: 800; line-height: 1.35; margin-bottom: 10px; }
.bhaskar-list-item-small .bhaskar-list-title a { color: #f8fafc; }
.bhaskar-list-item-small .bhaskar-list-thumb { flex: 0 0 140px; position: relative; }
.bhaskar-list-item-small .bhaskar-list-thumb img { width: 100%; height: 85px; object-fit: cover; border-radius: 6px; }

/* Category Pill & Social Icons */
.bhaskar-cat-pill { display: inline-block; padding: 4px 10px; background: rgba(255,255,255,0.1); color: #cbd5e1; font-size: 12px; font-weight: 700; border-radius: 20px; transition: background 0.2s; }
.bhaskar-cat-pill:hover { background: rgba(255,255,255,0.2); color: #fff; }
.bhaskar-list-social { display: flex; gap: 16px; font-size: 15px; color: #94a3b8; }
.bhaskar-list-social a { color: #64748b; }
.bhaskar-list-social a:hover { color: #cbd5e1; }

.bhaskar-duration { position: absolute; bottom: 5px; right: 5px; background: rgba(0,0,0,0.7); color: #fff; font-size: 10px; font-weight: bold; padding: 2px 5px; border-radius: 4px; }
.bhaskar-play-icon { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 36px; height: 36px; background: rgba(0,0,0,0.6); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; border: 2px solid #fff; }

/* Background fix for dark mode compatibility on article box */
body:not(.tnp-dark-mode) .bhaskar-list-item-large, body:not(.tnp-dark-mode) .bhaskar-list-item-small { border-color: var(--border-gray); }
body:not(.tnp-dark-mode) .bhaskar-list-title a { color: #0f172a; }
body:not(.tnp-dark-mode) .bhaskar-list-excerpt { color: #475569; }
body:not(.tnp-dark-mode) .bhaskar-cat-pill { background: #f1f5f9; color: #334155; }
body:not(.tnp-dark-mode) .bhaskar-cat-pill:hover { background: #e2e8f0; }

.article-box { background: transparent; border: none; box-shadow: none; padding: 0; }
body.tnp-dark-mode .article-box { background: transparent; border: none; }
.widget-title { border-left: none; padding-left: 0; font-size: 20px; }


/* In-Feed Ads */
.in-feed-ad-slot { margin: 15px 0; padding: 10px; background: #f8fafc; border: 1px dashed #cbd5e1; text-align: center; border-radius: 6px; }
body.tnp-dark-mode .in-feed-ad-slot { background: #0f172a; border-color: #334155; }

/* Left/Right Gutter Ad Spaces */
.site-wrapper { display: flex; justify-content: center; width: 100%; max-width: 1600px; margin: 0 auto; }
.gutter-ad-left, .gutter-ad-right { width: 160px; display: none; padding-top: 20px; }
.main-content-wrapper { flex: 1; max-width: 1280px; width: 100%; }

@media (min-width: 1400px) {
    .gutter-ad-left, .gutter-ad-right { display: block; }
}

.logo-link { display: flex; align-items: center; }
.site-main-logo { width: 100%; height: auto; max-height: 90px; }

/* ======================================================================
   TALLAKHAS NEWS PRO 3.1 — newsroom UX and responsive layout refinement
   ====================================================================== */
:root {
    --primary-red: #c90024;
    --primary-dark: #930019;
    --gold: #f5b301;
    --bg-light: #f5f7fa;
    --text-main: #172033;
    --text-muted: #64748b;
    --border-gray: #e5eaf0;
    --surface: #ffffff;
    --surface-soft: #f8fafc;
    --shadow-soft: 0 5px 18px rgba(15, 23, 42, .055);
}
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { background: var(--bg-light); color: var(--text-main); }
.container { max-width: 1320px; padding-left: 18px; padding-right: 18px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(201, 0, 36, .45); outline-offset: 2px; }

/* Header, search and navigation */
.top-bar { padding: 7px 0; }
.top-bar-inner { min-height: 34px; }
.social-links-wrap { flex-wrap: wrap; }
.social-icon-btn { min-width: 30px; min-height: 28px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.site-header { padding: 14px 0; }
.header-inner { flex-wrap: nowrap; align-items: center; }
.header-inner.logo-center { flex-wrap: wrap; }
.header-inner.logo-right { flex-direction: row-reverse; }
.logo-area { flex: 0 0 auto; min-width: 0; }
.logo-link { max-width: 100%; }
.logo-link img, .logo-link video { max-width: 100%; height: auto; }
.header-right-area { flex: 1 1 420px; min-width: 240px; display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
.header-ad-area { width: 100%; }
.header-search-area { width: 100%; max-width: 520px; margin-left: auto; }
.search-form { display: flex; align-items: stretch; gap: 0; width: 100%; }
.search-form label { flex: 1; min-width: 0; }
.search-form .search-field { display: block; width: 100%; min-height: 40px; padding: 8px 12px; border: 1px solid #d7dee8; border-right: 0; border-radius: 7px 0 0 7px; background: #fff; color: #172033; font: inherit; font-size: 14px; }
.search-form .search-submit { min-height: 40px; padding: 0 16px; border: 1px solid var(--primary-red); border-radius: 0 7px 7px 0; background: var(--primary-red); color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
.main-nav { border-bottom: 3px solid #9a001b; }
.main-nav .nav-container { overflow: hidden; }
.main-nav ul { scrollbar-width: none; }
.main-nav ul li a { padding: 12px 16px; min-height: 44px; }
.main-nav ul li a:hover, .main-nav ul li.current-menu-item > a { background: rgba(0,0,0,.16); color: #fff; }

/* Breaking-news ticker */
.breaking-ticker { padding: 8px 0; border-bottom: 1px solid #f5d88b; }
.ticker-wrap { min-width: 0; }
.ticker-label { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; }
.ticker-track { flex: 1; min-width: 0; overflow: hidden; }
.ticker-items { display: flex; align-items: center; width: max-content; gap: 34px; animation: tnpTicker 48s linear infinite; }
.ticker-items:hover { animation-play-state: paused; }
.ticker-items a { display: inline-block; color: #172033; font-weight: 700; font-size: 13px; white-space: nowrap; }
@keyframes tnpTicker { from { transform: translateX(0); } to { transform: translateX(-48%); } }

/* Stories strip */
.web-stories-strip { align-items: flex-start; gap: 16px; padding: 14px; box-shadow: var(--shadow-soft); }
.stories-strip-heading { flex: 0 0 auto; display: flex; align-items: center; gap: 7px; padding: 5px 12px 5px 2px; border-right: 1px solid var(--border-gray); color: var(--primary-red); font-size: 14px; font-weight: 900; white-space: nowrap; }
.story-bubble { flex: 0 0 86px; color: #273449; }
.story-ring { width: 70px; height: 70px; padding: 3px; }
.story-ring img { width: 100%; height: 100%; }
.story-title-text { display: block; max-height: 34px; overflow: hidden; line-height: 1.35; }
.homepage-top-ad, .homepage-bottom-ad { min-height: 0; }

/* Newspaper feed */
.news-layout { grid-template-columns: minmax(0, 2.4fr) minmax(270px, .95fr); gap: 28px; margin-top: 22px; margin-bottom: 30px; }
.news-feed-main, .archive-main, .article-column { min-width: 0; }
.bhaskar-list-container { padding: 0 22px; border: 1px solid var(--border-gray); border-radius: 10px; background: var(--surface); box-shadow: var(--shadow-soft); overflow: hidden; }
.bhaskar-feed-header { min-height: 58px; display: flex; align-items: center; gap: 11px; border-bottom: 2px solid var(--text-main); color: var(--text-main); font-size: 20px; font-weight: 900; }
.bhaskar-feed-header .red-bar, .widget-title .red-bar { width: 5px; height: 22px; flex: 0 0 5px; background: var(--primary-red); border-radius: 3px; }
.bhaskar-feed-header h1 { margin: 0; font-size: 20px; font-weight: 900; line-height: 1.3; }
.feed-updated-label { margin-left: auto; color: #7b8797; font-size: 11px; font-weight: 700; white-space: nowrap; }
.bhaskar-list-item-large { display: flex; flex-direction: column; gap: 0; padding: 22px 0 19px; border-top: 1px solid var(--border-gray); }
.feed-lead-label { align-self: flex-start; margin-bottom: 8px; padding: 3px 9px; border-radius: 3px; background: var(--primary-red); color: #fff; font-size: 11px; font-weight: 900; }
.bhaskar-list-item-large .bhaskar-list-title { order: 1; margin: 0 0 8px; font-size: clamp(22px, 2.3vw, 30px); font-weight: 900; line-height: 1.36; }
.bhaskar-list-item-large .bhaskar-list-title a { color: #172033 !important; }
.bhaskar-list-item-large .bhaskar-list-title a:hover, .bhaskar-list-item-small .bhaskar-list-title a:hover { color: var(--primary-red) !important; }
.bhaskar-list-item-large .bhaskar-list-excerpt { order: 2; margin: 0 0 14px; color: #586579; font-size: 15px; line-height: 1.7; }
.bhaskar-list-item-large .bhaskar-list-thumb { order: 3; display: block; width: 100%; margin: 0 0 13px; overflow: hidden; border-radius: 8px; }
.bhaskar-list-item-large .bhaskar-list-thumb img { display: block; width: 100%; max-height: 420px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; transition: transform .35s ease; }
.bhaskar-list-item-large .bhaskar-list-thumb:hover img { transform: scale(1.015); }
.bhaskar-list-item-large .bhaskar-list-content { display: contents; }
.bhaskar-list-item-large .bhaskar-list-meta { order: 4; }
.bhaskar-list-item-small { display: flex; flex-direction: row; align-items: center; gap: 18px; padding: 17px 0; border-top: 1px solid var(--border-gray); }
.bhaskar-list-item-small .bhaskar-list-content { flex: 1 1 auto; min-width: 0; min-height: 88px; display: flex; flex-direction: column; justify-content: center; }
.bhaskar-list-item-small .bhaskar-list-title { margin: 0 0 12px; font-size: 18px; line-height: 1.45; font-weight: 800; }
.bhaskar-list-item-small .bhaskar-list-title a { color: #172033 !important; }
.bhaskar-list-item-small .bhaskar-list-thumb { flex: 0 0 152px; width: 152px; display: block; overflow: hidden; border-radius: 7px; }
.bhaskar-list-item-small .bhaskar-list-thumb img { display: block; width: 100%; height: 98px; object-fit: cover; border-radius: 7px; }
.bhaskar-list-meta { gap: 10px; }
.feed-meta-left { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; min-width: 0; }
.feed-meta-left time { color: #8792a2; font-size: 11px; font-weight: 600; white-space: nowrap; }
.bhaskar-cat-pill { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 4px; background: #fff1f3 !important; color: #b80020 !important; font-size: 11px; font-weight: 800; }
.bhaskar-cat-pill:hover { background: #ffe0e5 !important; color: #8e0018 !important; }
.bhaskar-list-social { align-items: center; gap: 11px; flex: 0 0 auto; }
.bhaskar-list-social a { min-width: 24px; min-height: 24px; display: inline-flex; justify-content: center; align-items: center; color: #8994a4; font-size: 13px; }
.bhaskar-list-social a:hover, .bhaskar-list-social a.copied { color: var(--primary-red); }
.bhaskar-duration, .bhaskar-play-icon { display: none !important; }
.no-news-message { padding: 30px 0; color: var(--text-muted); }

/* Ads: clearly labelled and visually separated from editorial content */
.tallakhas-ad-slot { display: block; width: 100%; max-width: 100%; margin: 14px auto; padding: 10px; border: 1px solid #e5eaf0; border-radius: 7px; background: #fbfcfe; color: #64748b; text-align: center; }
.tallakhas-ad-slot .ad-label { display: block; margin-bottom: 7px; color: #8b95a3; font-size: 10px; font-weight: 700; letter-spacing: .7px; text-transform: uppercase; }
.demo-ad-banner { display: flex; flex-direction: column; gap: 3px; min-height: 58px; justify-content: center; align-items: center; background: #f1f5f9; border-radius: 5px; }
.demo-ad-banner strong { color: #475569; font-size: 13px; }
.demo-ad-banner span { font-size: 11px; }
.in-feed-ad-slot { margin: 14px -6px; padding: 5px 6px; border: 0; border-top: 1px solid var(--border-gray); border-bottom: 1px solid var(--border-gray); border-radius: 0; background: #fbfcfe; }
.in-feed-ad-slot .tallakhas-ad-slot { margin: 8px auto; }

/* Load more and crawlable page links */
.load-more-btn { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; margin: 20px 0 12px; border: 1px solid #d8dee8; border-radius: 7px; background: #fff; color: #1e293b; font-size: 14px; transition: background .2s, border-color .2s; }
.load-more-btn:hover:not(:disabled) { border-color: var(--primary-red); background: #fff7f8; color: var(--primary-red); }
.load-more-btn:disabled { opacity: .7; cursor: wait; }
.feed-pagination { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0 18px; }
.feed-pagination a, .nav-links a, .nav-links span { display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; border: 1px solid var(--border-gray); border-radius: 5px; background: #fff; color: #344054; font-size: 12px; font-weight: 800; }
.feed-pagination a:hover, .nav-links a:hover { border-color: var(--primary-red); color: var(--primary-red); }

/* Sidebar */
.news-sidebar { min-width: 0; }
.news-sidebar .sidebar-widget { padding: 18px; margin-bottom: 20px; border: 1px solid var(--border-gray); border-radius: 9px; background: #fff; box-shadow: var(--shadow-soft); }
.widget-title { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; padding: 0 0 11px; border-bottom: 1px solid var(--border-gray); color: #172033; font-size: 17px; line-height: 1.4; }
.widget-title .red-bar { width: 4px; height: 19px; }
.most-read-list { display: flex; flex-direction: column; gap: 0; padding: 0; list-style: none; }
.most-read-list li { display: flex; gap: 11px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid #eef1f5; }
.most-read-list li:last-child { border-bottom: 0; }
.most-read-list li a { color: #263348; font-size: 13px; line-height: 1.55; font-weight: 700; }
.most-read-list li a:hover { color: var(--primary-red); }
.most-read-number { flex: 0 0 24px; width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: #fff1f3; color: var(--primary-red); font-size: 12px; font-weight: 900; }
.most-read-empty { color: #8b95a3; font-size: 12px; }
.creative-cat-list { padding: 0; margin: 0; list-style: none; }
.creative-cat-list li { border-bottom: 1px solid #eef1f5; }
.creative-cat-list li a { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; color: #344054; font-size: 13px; font-weight: 700; }
.creative-cat-list li a:hover { color: var(--primary-red); }
.creative-cat-list .count { color: #98a2b3; font-size: 11px; }
.latest-sidebar-list { list-style: none; margin: 0; padding: 0; }
.latest-sidebar-list li { display: flex; flex-direction: column; gap: 4px; padding: 10px 0; border-bottom: 1px solid var(--border-gray); }
.latest-sidebar-list li a { color: #263348; font-size: 13px; line-height: 1.5; font-weight: 700; }
.latest-sidebar-list li time { color: #8b95a3; font-size: 11px; }

/* Social channel hub and live video */
.social-channel-hub { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 26px; padding-top: 18px; padding-bottom: 18px; border: 1px solid var(--border-gray); border-radius: 9px; background: #fff; box-shadow: var(--shadow-soft); }
.social-hub-heading h2 { margin-bottom: 3px; color: #172033; font-size: 17px; font-weight: 900; }
.social-hub-heading p { color: #778295; font-size: 12px; }
.social-hub-links { display: flex; flex-wrap: wrap; gap: 8px; }
.social-hub-links a, .live-channel-links a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid var(--border-gray); border-radius: 6px; background: #fff; color: #344054; font-size: 12px; font-weight: 800; }
.social-hub-links a:hover, .live-channel-links a:hover { border-color: var(--primary-red); color: var(--primary-red); }
.social-hub-external { color: #a0a8b5; font-size: 10px; }
.live-broadcast-sec { overflow: hidden; padding: 18px; background: #121d31; border-radius: 10px; box-shadow: var(--shadow-soft); }
.live-header-bar { margin-bottom: 14px; }
.live-header-bar h2 { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 18px; font-weight: 900; }
.live-channel-links { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 12px; }
.live-channel-links a { border-color: #3a465a; background: #1d2b43; color: #fff; }

/* Article reading experience */
.single-news-layout { align-items: start; }
.article-box { padding: 0; margin-bottom: 24px; background: transparent; border: 0; box-shadow: none; }
.article-categories { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; }
.article-categories .badge-cat a { display: inline-flex; padding: 4px 10px; border-radius: 4px; background: #fff1f3; color: #b80020; font-size: 11px; font-weight: 800; }
.article-title { margin: 0 0 15px; color: #101828; font-size: clamp(26px, 3vw, 38px); line-height: 1.35; font-weight: 900; }
.article-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-bottom: 14px; padding: 11px 13px; border: 1px solid var(--border-gray); border-radius: 7px; background: #fff; color: #697586; font-size: 12px; }
.article-byline a { color: #344054; font-weight: 800; }
.article-byline a:hover { color: var(--primary-red); }
.article-featured-image { margin: 18px 0; }
.article-featured-image img { display: block; width: 100%; max-height: 620px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 9px; }
.article-featured-image figcaption { margin-top: 7px; color: #7b8797; font-size: 11px; text-align: center; }
.article-tools { justify-content: flex-start; gap: 8px; margin: 12px 0 16px; padding: 9px; border: 1px solid var(--border-gray); background: #fff; }
.tool-btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; }
.tool-btn.whatsapp-share { border-color: #ccebd8; background: #f0fbf4; color: #138a45; }
.article-content { color: #273449; font-size: 18px; line-height: 1.9; overflow-wrap: anywhere; }
.article-content p { margin: 0 0 18px; }
.article-content h2 { margin: 28px 0 12px; color: #172033; font-size: 24px; line-height: 1.4; font-weight: 900; }
.article-content h3 { margin: 23px 0 10px; color: #273449; font-size: 20px; font-weight: 800; }
.article-content a { color: #c90024; text-decoration: underline; text-underline-offset: 2px; }
.article-content blockquote { margin: 20px 0; padding: 14px 18px; border-left: 4px solid var(--primary-red); background: #fff; color: #475569; }
.article-footer-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; margin-top: 22px; padding-top: 12px; border-top: 1px solid var(--border-gray); color: #758195; font-size: 11px; }
.related-news-section { padding: 18px; border: 1px solid var(--border-gray); border-radius: 9px; background: #fff; }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.related-thumb { display: block; overflow: hidden; border-radius: 6px; }
.related-thumb img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.related-item h3 { margin: 8px 0 5px; font-size: 14px; line-height: 1.45; font-weight: 800; }
.related-item h3 a { color: #263348; }
.related-item time { color: #8b95a3; font-size: 10px; }
.paywall-box { margin: 20px 0; padding: 20px; border: 1px solid #f4d38a; border-radius: 8px; background: #fffbeb; color: #5d4712; }
.paywall-btn { display: inline-flex; margin-top: 8px; padding: 9px 16px; border-radius: 5px; background: var(--primary-red); color: #fff !important; font-size: 13px; font-weight: 800; }
.live-content-updated { opacity: .72; transition: opacity .5s ease; }

/* Archive, search and error templates */
.archive-layout { display: grid; grid-template-columns: minmax(0, 2.4fr) minmax(270px, .95fr); gap: 28px; margin-top: 24px; }
.archive-heading { margin-bottom: 16px; padding: 20px 22px; border: 1px solid var(--border-gray); border-radius: 9px; background: #fff; }
.archive-eyebrow { margin-bottom: 4px; color: var(--primary-red); font-size: 10px; font-weight: 900; letter-spacing: 1px; }
.archive-heading h1 { color: #172033; font-size: 25px; font-weight: 900; }
.archive-description { margin-top: 8px; color: #667085; font-size: 13px; }
.archive-search-form { max-width: 540px; margin-top: 15px; }
.navigation.pagination { margin: 18px 0; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.nav-links .current { border-color: var(--primary-red); background: var(--primary-red); color: #fff; }
.error-page { max-width: 720px; margin: 60px auto; padding: 42px 20px; text-align: center; border: 1px solid var(--border-gray); border-radius: 12px; background: #fff; }
.error-code { color: var(--primary-red); font-size: clamp(64px, 15vw, 110px); font-weight: 900; line-height: 1; }
.error-page h1 { margin: 12px 0; color: #172033; font-size: 26px; }
.error-page p { margin-bottom: 18px; color: #667085; }
.error-page .search-form { max-width: 440px; margin: 0 auto 18px; }
.error-home-link { display: inline-flex; padding: 10px 16px; border-radius: 6px; background: var(--primary-red); color: #fff; font-weight: 800; }

/* Footer polish */
.site-footer { margin-top: 40px; }
.footer-contact-line { margin-top: 6px; color: #94a3b8; font-size: 12px; text-align: center; }
.footer-bottom { gap: 12px; }

/* Persistent dark mode */
body.tnp-dark-mode { background: #0c1423; color: #e5eaf2; --surface: #172337; --surface-soft: #1a2940; --border-gray: #2c3b53; }
body.tnp-dark-mode .site-header,
body.tnp-dark-mode .web-stories-strip,
body.tnp-dark-mode .bhaskar-list-container,
body.tnp-dark-mode .news-sidebar .sidebar-widget,
body.tnp-dark-mode .archive-heading,
body.tnp-dark-mode .related-news-section,
body.tnp-dark-mode .article-byline,
body.tnp-dark-mode .article-tools,
body.tnp-dark-mode .error-page,
body.tnp-dark-mode .social-channel-hub { background: #172337; border-color: #2c3b53; color: #e5eaf2; }
body.tnp-dark-mode .bhaskar-feed-header,
body.tnp-dark-mode .bhaskar-list-item-large .bhaskar-list-title a,
body.tnp-dark-mode .bhaskar-list-item-small .bhaskar-list-title a,
body.tnp-dark-mode .widget-title,
body.tnp-dark-mode .archive-heading h1,
body.tnp-dark-mode .article-title,
body.tnp-dark-mode .article-content h2,
body.tnp-dark-mode .article-content h3,
body.tnp-dark-mode .social-hub-heading h2 { color: #f2f5fa !important; }
body.tnp-dark-mode .bhaskar-list-item-large .bhaskar-list-excerpt,
body.tnp-dark-mode .article-content,
body.tnp-dark-mode .article-byline,
body.tnp-dark-mode .article-byline a,
body.tnp-dark-mode .most-read-list li a,
body.tnp-dark-mode .creative-cat-list li a,
body.tnp-dark-mode .latest-sidebar-list li a { color: #cbd5e1; }
body.tnp-dark-mode .bhaskar-list-item-large,
body.tnp-dark-mode .bhaskar-list-item-small,
body.tnp-dark-mode .most-read-list li,
body.tnp-dark-mode .creative-cat-list li,
body.tnp-dark-mode .latest-sidebar-list li { border-color: #2c3b53; }
body.tnp-dark-mode .bhaskar-cat-pill { background: #382331 !important; color: #ffb7c4 !important; }
body.tnp-dark-mode .feed-pagination a,
body.tnp-dark-mode .nav-links a,
body.tnp-dark-mode .nav-links span,
body.tnp-dark-mode .load-more-btn,
body.tnp-dark-mode .social-hub-links a { background: #1d2b43; border-color: #33445f; color: #e5eaf2; }
body.tnp-dark-mode .tallakhas-ad-slot,
body.tnp-dark-mode .in-feed-ad-slot { background: #131f32; border-color: #33445f; }
body.tnp-dark-mode .ticker-items a { color: #172033; }
body.tnp-dark-mode .article-content blockquote { background: #172337; color: #cbd5e1; }

/* Tablet and mobile */
@media (max-width: 1050px) {
    .news-layout, .archive-layout { grid-template-columns: minmax(0, 1fr); }
    .news-sidebar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
    .news-sidebar > .tallakhas-ad-slot { grid-column: 1 / -1; }
    .news-sidebar .sidebar-widget { margin-bottom: 0; }
    .header-inner { flex-wrap: wrap; }
    .header-right-area { flex-basis: 100%; flex-direction: row; align-items: center; }
    .header-ad-area { flex: 1 1 60%; min-width: 0; }
    .header-search-area { flex: 1 1 40%; margin-left: 0; }
}
@media (max-width: 680px) {
    .container { padding-left: 12px; padding-right: 12px; }
    .top-bar-inner { align-items: flex-start; }
    .top-left-items { gap: 6px; }
    .live-clock-badge { font-size: 10px; padding: 4px 7px; }
    .social-links-wrap { gap: 4px; }
    .social-icon-btn { padding: 4px 7px; font-size: 11px; }
    .site-header { padding: 11px 0; }
    .header-inner { justify-content: center; gap: 10px; }
    .logo-area { width: 100%; display: flex; justify-content: center; }
    .logo-link img, .logo-link video { max-height: 70px !important; }
    .header-right-area { width: 100%; flex-direction: column; gap: 8px; }
    .header-ad-area { display: none; }
    .header-search-area { width: 100%; max-width: none; }
    .search-form .search-field, .search-form .search-submit { min-height: 39px; }
    .main-nav ul li a { padding: 10px 13px; font-size: 13px; }
    .breaking-ticker { padding: 6px 0; }
    .ticker-label { padding: 4px 7px; font-size: 10px; }
    .ticker-items { gap: 20px; }
    .ticker-items a { font-size: 11px; }
    .web-stories-strip { margin-top: 11px; padding: 10px; gap: 11px; }
    .stories-strip-heading { font-size: 11px; padding-right: 8px; }
    .story-bubble { flex-basis: 72px; font-size: 10px; }
    .story-ring { width: 58px; height: 58px; }
    .news-layout, .archive-layout { gap: 16px; margin-top: 15px; }
    .bhaskar-list-container { padding: 0 13px; border-radius: 8px; }
    .bhaskar-feed-header { min-height: 49px; }
    .bhaskar-feed-header h1 { font-size: 17px; }
    .feed-updated-label { font-size: 9px; }
    .bhaskar-list-item-large { padding: 16px 0 15px; }
    .bhaskar-list-item-large .bhaskar-list-title { font-size: 21px; }
    .bhaskar-list-item-large .bhaskar-list-excerpt { font-size: 13px; line-height: 1.55; }
    .bhaskar-list-item-large .bhaskar-list-thumb img { aspect-ratio: 16 / 10; max-height: 260px; }
    .bhaskar-list-item-small { gap: 11px; padding: 13px 0; }
    .bhaskar-list-item-small .bhaskar-list-content { min-height: 76px; }
    .bhaskar-list-item-small .bhaskar-list-title { margin-bottom: 7px; font-size: 14px; line-height: 1.42; }
    .bhaskar-list-item-small .bhaskar-list-thumb { flex-basis: 105px; width: 105px; }
    .bhaskar-list-item-small .bhaskar-list-thumb img { height: 76px; }
    .bhaskar-list-meta { align-items: flex-end; }
    .feed-meta-left { gap: 5px 7px; }
    .feed-meta-left time { font-size: 9px; }
    .bhaskar-cat-pill { padding: 3px 6px; font-size: 9px; }
    .bhaskar-list-social { gap: 6px; }
    .bhaskar-list-social a { min-width: 20px; min-height: 20px; font-size: 11px; }
    .news-sidebar { grid-template-columns: minmax(0, 1fr); }
    .news-sidebar .sidebar-widget { padding: 14px; }
    .social-channel-hub { flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 16px; padding: 15px; }
    .social-hub-links { width: 100%; }
    .live-broadcast-sec { padding: 13px; }
    .live-header-bar h2 { font-size: 15px; }
    .article-title { font-size: 25px; }
    .article-byline { gap: 8px 12px; padding: 9px; font-size: 10px; }
    .article-tools { gap: 6px; }
    .tool-btn { padding: 6px 8px; font-size: 10px; }
    .article-content { font-size: 16px; line-height: 1.82; }
    .article-content h2 { font-size: 21px; }
    .article-content h3 { font-size: 18px; }
    .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .archive-heading { padding: 15px; }
    .archive-heading h1 { font-size: 21px; }
    .footer-grid { gap: 20px; }
    .error-page { margin: 28px auto; padding: 28px 15px; }
}
@media (max-width: 390px) {
    .bhaskar-list-item-small { gap: 8px; }
    .bhaskar-list-item-small .bhaskar-list-thumb { flex-basis: 90px; width: 90px; }
    .bhaskar-list-item-small .bhaskar-list-thumb img { height: 68px; }
    .bhaskar-list-item-small .bhaskar-list-title { font-size: 13px; }
    .article-byline { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Search form accessibility helper */
.search-form .screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.search-form .search-submit { display: inline-flex; justify-content: center; align-items: center; gap: 7px; white-space: nowrap; }


/* v3.2.0: expanded ad inventory, push CTA and mobile-safe ad rendering */
.tnp-push-subscribe{display:inline-flex;align-items:center;gap:7px;border:0;border-radius:5px;background:var(--primary-red);color:#fff;padding:8px 12px;font:600 13px inherit;cursor:pointer;min-height:38px}
.tnp-push-subscribe:hover,.tnp-push-subscribe:focus{filter:brightness(.94);outline:2px solid rgba(217,4,41,.25);outline-offset:2px}
.homepage-top-ad,.homepage-bottom-ad,.homepage-top-ad .tallakhas-ad-slot,.homepage-bottom-ad .tallakhas-ad-slot{max-width:100%;overflow:hidden}
.ad-after-two-latest,.ad-after-most-read{width:100%;min-width:0}
@media(max-width:767px){.tnp-push-subscribe{font-size:12px;padding:7px 9px;max-width:100%;white-space:normal}.tallakhas-ad-slot,.in-feed-ad-slot{max-width:100%;overflow:hidden;box-sizing:border-box}.tallakhas-ad-slot iframe,.tallakhas-ad-slot ins,.in-feed-ad-slot iframe,.in-feed-ad-slot ins{max-width:100%!important}.header-ad-area{width:100%;max-width:100%;overflow:hidden}.gutter-ad-left,.gutter-ad-right{display:none!important}}


/* v3.3.0 — multi-format animated logo, movable feeds, WP widget zones and responsive footer */
.logo-link { display:inline-flex; align-items:center; justify-content:center; max-width:100%; min-width:0; }
.tnp-logo-media { position:relative; display:inline-block; width:250px; max-width:100%; max-height:90px; line-height:0; vertical-align:middle; overflow:hidden; }
.tnp-logo-media .tnp-logo-fallback { position:relative; display:block; width:100%; height:auto; max-height:90px; object-fit:contain; opacity:1; transition:opacity .15s ease; }
.tnp-logo-media .tnp-logo-video { position:absolute; inset:0; display:block; width:100%; height:100%; max-height:90px; object-fit:contain; opacity:0; background:transparent; }
.tnp-logo-media.is-playing .tnp-logo-fallback { opacity:0; }
.tnp-logo-media.is-playing .tnp-logo-video { opacity:1; }
.site-main-logo { display:block; height:auto; max-width:100%; object-fit:contain; }
.footer-logo-link { display:inline-flex; align-items:center; max-width:100%; margin-bottom:12px; }
.footer-logo-link .tnp-logo-media { max-height:80px; }
.footer-logo-link .tnp-logo-fallback, .footer-logo-link .tnp-logo-video { max-height:80px; }
.footer-about-text { color:inherit; opacity:.9; font-size:13.5px; line-height:1.65; margin-bottom:14px; }

.tnp-positioned-hub { width:100%; max-width:100%; min-width:0; margin:16px auto; }
.social-channel-hub { box-sizing:border-box; width:100%; max-width:1280px; }
.tnp-header-below-widgets { display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:16px; margin-top:14px; margin-bottom:14px; }
.tnp-widget-area .widget { min-width:0; max-width:100%; }
.tnp-widget-area img, .tnp-widget-area iframe, .tnp-widget-area video { max-width:100%; }
.tnp-header-below-widgets .widget, .tnp-footer-widget-area .widget { background:#fff; border:1px solid var(--border-gray); border-radius:8px; padding:14px; }
.tnp-footer-widget-area { display:grid; grid-template-columns:repeat(auto-fit,minmax(190px,1fr)); gap:16px; margin-bottom:26px; }
.tnp-left-sidebar { min-width:0; width:100%; }
.tnp-left-sidebar .tnp-positioned-hub, .news-sidebar .tnp-positioned-hub { width:100%; max-width:100%; margin:0 0 18px; }
.tnp-left-sidebar .live-broadcast-sec, .news-sidebar .live-broadcast-sec { padding:12px; }
.tnp-left-sidebar .social-channel-hub, .news-sidebar .social-channel-hub { display:block; padding:12px; }
.tnp-left-sidebar .social-hub-links, .news-sidebar .social-hub-links { display:grid; grid-template-columns:1fr; }
.tnp-widget-area .widget-title { margin-bottom:10px; }
.footer-extra-content { margin:20px 0; padding:14px 0; border-top:1px solid rgba(255,255,255,.15); border-bottom:1px solid rgba(255,255,255,.15); }
.footer-extra-content a { color:var(--gold); }
.footer-grid { grid-template-columns:repeat(auto-fit,minmax(190px,1fr)); }

@media (min-width:1051px) {
  .news-layout.has-left-sidebar { grid-template-columns:minmax(175px,.72fr) minmax(0,2.4fr) minmax(260px,1fr); }
}
@media (max-width:1050px) {
  .news-layout.has-left-sidebar { grid-template-columns:minmax(0,1fr); }
  .news-layout.has-left-sidebar .news-feed-main { order:1; }
  .news-layout.has-left-sidebar .tnp-left-sidebar { order:2; }
  .news-layout.has-left-sidebar .news-sidebar { order:3; }
}
@media (max-width:680px) {
  .tnp-logo-media { max-width:min(100%, 320px); max-height:70px; }
  .tnp-logo-media .tnp-logo-fallback, .tnp-logo-media .tnp-logo-video { max-height:70px; }
  .site-main-logo { max-height:70px !important; }
  .tnp-header-below-widgets, .tnp-footer-widget-area { grid-template-columns:minmax(0,1fr); gap:10px; margin-top:10px; }
  .tnp-positioned-hub { margin:12px auto; padding-left:12px; padding-right:12px; }
  .tnp-positioned-hub .responsive-embed { border-radius:7px; }
  .tnp-positioned-hub .live-channel-links { display:grid; grid-template-columns:repeat(auto-fit,minmax(130px,1fr)); }
  .footer-grid { grid-template-columns:minmax(0,1fr); gap:18px; }
  .footer-col { min-width:0; }
  .footer-bottom { flex-direction:column; align-items:flex-start; gap:9px; }
}

/* Widget cards in all registered sidebar locations */
.news-sidebar .widget,
.tnp-left-sidebar .widget { background:#fff; border:1px solid var(--border-gray); border-radius:8px; padding:15px; margin:0 0 16px; min-width:0; box-shadow:var(--shadow-soft); }
.news-sidebar .widget-title,
.tnp-left-sidebar .widget-title { display:flex; align-items:center; gap:8px; padding:0 0 9px; margin-bottom:11px; border-bottom:1px solid var(--border-gray); font-size:16px; font-weight:800; }
.site-footer .tnp-footer-widget-area .widget { color:#172033; }

.tnp-social-embed, .tnp-custom-live-embed { width:100%; max-width:100%; overflow:hidden; margin:12px 0; }
.tnp-social-embed iframe, .tnp-custom-live-embed iframe { display:block; width:100%; max-width:100%; min-height:240px; border:0; }
.tnp-custom-live-embed iframe { height:100%; }
