/*
Theme Name: Ujala Speed News
Theme URI: https://ujalaspeednews.example
Author: Ujala Speed News
Author URI: https://ujalaspeednews.example
Description: तेज़, सटीक और भरोसेमंद हिंदी न्यूज़ थीम। सारा डेटा Posts और Categories से अपने-आप आता है — Hero, Breaking Ticker, Trending, Category Sections, Dark/Light Mode, AI Chat, और Social Links (WhatsApp, Instagram, Facebook, YouTube)। A fast, modern Hindi news theme fully driven by WordPress posts & categories.
Version: 1.0.0
Requires at least: 5.5
Tested up to: 6.6
Requires PHP: 7.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ujala-speed-news
Tags: news, magazine, blog, dark-mode, custom-menu, featured-images, translation-ready, right-sidebar, custom-logo
*/

:root{
  --bg:#ffffff; --surface:#f7f4ef; --surface-2:#efeae2;
  --ink:#1a1512; --ink-soft:#4a423c; --muted:#7d746c; --border:#e7e0d7;
  --red:#d81e24; --red-deep:#a5141a; --gold:#f5a623; --orange:#fb6d3a;
  --sunrise:linear-gradient(100deg,#ff9500 0%,#fb5a3a 55%,#e01e3c 100%);
  --shadow:0 2px 14px rgba(40,25,15,.08);
  --shadow-lg:0 12px 40px rgba(40,25,15,.14);
  --radius:14px; --maxw:1200px;
}
[data-theme="dark"]{
  --bg:#12100e; --surface:#1b1815; --surface-2:#242019;
  --ink:#f5f1ea; --ink-soft:#cfc7bd; --muted:#9a9188; --border:#2e2924;
  --red:#ff4a44; --red-deep:#ff6b60; --gold:#ffb84d; --orange:#ff8a5c;
  --shadow:0 2px 16px rgba(0,0,0,.4); --shadow-lg:0 14px 44px rgba(0,0,0,.55);
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{font-family:'Mukta',sans-serif;background:var(--bg);color:var(--ink);line-height:1.55;transition:background .35s ease,color .35s ease;overflow-x:hidden}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto;display:block}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 18px}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}

/* ===== TOP BAR ===== */
.topbar{background:var(--surface-2);border-bottom:1px solid var(--border);font-size:.82rem}
.topbar .wrap{display:flex;align-items:center;justify-content:space-between;height:40px;gap:12px}
.tb-left{display:flex;align-items:center;gap:14px;color:var(--muted);min-width:0}
.tb-date{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tb-clock{font-weight:600;color:var(--ink-soft);white-space:nowrap}
.tb-right{display:flex;align-items:center;gap:6px}
.social-btn{width:30px;height:30px;border-radius:8px;display:grid;place-items:center;background:var(--surface);border:1px solid var(--border);color:var(--ink-soft);transition:transform .18s,background .18s,color .18s}
.social-btn:hover{transform:translateY(-2px)}
.social-btn.wa:hover{background:#25d366;color:#fff;border-color:#25d366}
.social-btn.ig:hover{background:linear-gradient(45deg,#f09433,#dc2743,#bc1888);color:#fff;border-color:transparent}
.social-btn.fb:hover{background:#1877f2;color:#fff;border-color:#1877f2}
.social-btn.yt:hover{background:#f00;color:#fff;border-color:#f00}
.social-btn svg{width:16px;height:16px}
.theme-toggle{width:52px;height:28px;border-radius:20px;border:1px solid var(--border);background:var(--surface);position:relative;cursor:pointer;flex:0 0 auto}
.theme-toggle .knob{position:absolute;top:2px;left:2px;width:22px;height:22px;border-radius:50%;background:var(--sunrise);display:grid;place-items:center;font-size:12px;transition:transform .3s cubic-bezier(.5,1.6,.4,.9)}
[data-theme="dark"] .theme-toggle .knob{transform:translateX(24px);background:#2b2620}

/* ===== MASTHEAD ===== */
.masthead{background:var(--bg);border-bottom:1px solid var(--border)}
.masthead .wrap{display:flex;align-items:center;gap:20px;padding:16px 18px}
.logo{display:flex;align-items:center;gap:12px;flex:0 0 auto}
.logo-mark{width:52px;height:52px;border-radius:14px;background:var(--sunrise);display:grid;place-items:center;box-shadow:0 6px 18px rgba(224,30,60,.32);position:relative;overflow:hidden}
.logo-mark::after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 30% 25%,rgba(255,255,255,.5),transparent 45%)}
.logo-mark svg{width:30px;height:30px;position:relative;z-index:1}
.logo-mark img{width:52px;height:52px;object-fit:cover;border-radius:14px}
.logo-text{line-height:1}
.logo-text .l1{font-family:'Baloo 2',sans-serif;font-weight:800;font-size:1.72rem;letter-spacing:-.5px}
.logo-text .l1 .speed{background:var(--sunrise);-webkit-background-clip:text;background-clip:text;color:transparent}
.logo-text .l2{font-size:.72rem;font-weight:600;color:var(--muted);letter-spacing:2px;text-transform:uppercase;margin-top:3px}
.mast-spacer{flex:1}
.searchbox{display:flex;align-items:center;gap:8px;background:var(--surface);border:1px solid var(--border);border-radius:30px;padding:9px 16px;min-width:230px}
.searchbox input{background:none;border:none;outline:none;color:var(--ink);font-family:inherit;font-size:.92rem;width:100%}
.searchbox button{background:none;border:none;cursor:pointer;color:var(--muted);display:grid;place-items:center}
.searchbox svg{width:17px;height:17px;color:var(--muted);flex:0 0 auto}
.mast-cta{background:var(--sunrise);color:#fff;border:none;border-radius:30px;padding:11px 20px;font-family:'Mukta';font-weight:700;font-size:.9rem;cursor:pointer;white-space:nowrap;box-shadow:0 6px 16px rgba(224,30,60,.28);transition:transform .18s}
.mast-cta:hover{transform:translateY(-2px)}

/* ===== NAV ===== */
.mainnav{background:var(--ink);position:sticky;top:0;z-index:50;box-shadow:var(--shadow)}
[data-theme="dark"] .mainnav{background:#000}
.mainnav .wrap{display:flex;align-items:center;gap:2px;overflow-x:auto;scrollbar-width:none}
.mainnav .wrap::-webkit-scrollbar{display:none}
.mainnav ul{list-style:none;display:flex;align-items:center;gap:2px;margin:0;padding:0}
.mainnav a,.navlink{color:#f3ede4;padding:13px 15px;font-weight:600;font-size:.95rem;white-space:nowrap;border-bottom:3px solid transparent;transition:color .18s,border-color .18s;display:inline-block}
.mainnav a:hover,.navlink:hover{color:var(--gold)}
.mainnav .current-menu-item>a,.mainnav .current-cat>a,.navlink.active{color:#fff;border-bottom-color:var(--red)}
.navlink.live{color:#fff}
.navlink.live .dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--red);margin-right:6px;animation:pulse 1.4s infinite}
@keyframes pulse{0%{box-shadow:0 0 0 0 rgba(216,30,36,.7)}70%{box-shadow:0 0 0 7px rgba(216,30,36,0)}100%{box-shadow:0 0 0 0 rgba(216,30,36,0)}}

/* ===== TICKER ===== */
.ticker{display:flex;align-items:stretch;background:var(--surface);border-bottom:1px solid var(--border);overflow:hidden}
.ticker-label{background:var(--sunrise);color:#fff;font-weight:800;font-size:.85rem;letter-spacing:.5px;padding:0 16px;display:flex;align-items:center;gap:7px;white-space:nowrap;flex:0 0 auto;clip-path:polygon(0 0,100% 0,92% 100%,0 100%)}
.ticker-label .blip{width:8px;height:8px;border-radius:50%;background:#fff;animation:pulse-w 1.2s infinite}
@keyframes pulse-w{0%,100%{opacity:1}50%{opacity:.3}}
.ticker-track{overflow:hidden;flex:1;display:flex;align-items:center}
.ticker-move{display:flex;gap:44px;white-space:nowrap;padding-left:20px;animation:scroll 40s linear infinite;font-weight:500;font-size:.92rem}
.ticker-track:hover .ticker-move{animation-play-state:paused}
.ticker-move a{color:var(--ink-soft)}
.ticker-move a:hover{color:var(--red)}
.ticker-move .tk-tag{color:var(--red);font-weight:800;margin-right:6px}
@keyframes scroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}

/* ===== SECTIONS ===== */
.section{padding:34px 0}
.sec-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;gap:12px}
.sec-title{display:flex;align-items:center;gap:11px;font-family:'Mukta';font-weight:800;font-size:1.5rem}
.sec-title .bar{width:6px;height:26px;border-radius:4px;background:var(--sunrise)}
.sec-more{color:var(--red);font-weight:700;font-size:.9rem}
.sec-more:hover{opacity:.8}

/* ===== HERO ===== */
.hero-grid{display:grid;grid-template-columns:1.55fr 1fr;gap:20px}
.hero-lead{position:relative;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);min-height:430px;display:flex;flex-direction:column;justify-content:flex-end;background-size:cover;background-position:center}
.hero-lead .overlay{position:absolute;inset:0;background:linear-gradient(to top,rgba(15,8,4,.92) 8%,rgba(15,8,4,.35) 55%,transparent 80%)}
.hero-lead .content{position:relative;z-index:2;padding:26px}
.cat-tag{display:inline-block;background:var(--red);color:#fff;font-size:.72rem;font-weight:700;padding:4px 11px;border-radius:5px;text-transform:uppercase;letter-spacing:.5px;margin-bottom:12px}
.hero-lead h1{font-family:'Mukta';font-weight:800;color:#fff;font-size:2.05rem;line-height:1.22;text-shadow:0 2px 12px rgba(0,0,0,.5)}
.hero-lead h1 a{color:#fff}
.hero-lead .meta{color:#f0d9c8;font-size:.82rem;margin-top:12px;display:flex;gap:14px;align-items:center;flex-wrap:wrap}
.hero-side{display:flex;flex-direction:column;gap:16px}
.side-card{display:flex;gap:14px;background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:12px;transition:transform .18s,box-shadow .18s}
.side-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}
.side-card .thumb{width:96px;height:74px;border-radius:9px;flex:0 0 auto;background-size:cover;background-position:center;background-color:var(--surface-2)}
.side-card .st{font-weight:700;font-size:1rem;line-height:1.3}
.side-card:hover .st{color:var(--red)}
.side-card .sm{color:var(--muted);font-size:.76rem;margin-top:6px}
.side-card .sm b{color:var(--red)}

/* ===== GRID ===== */
.main-cols{display:grid;grid-template-columns:1fr 320px;gap:34px}
.card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.card-grid.cols-2{grid-template-columns:repeat(2,1fr)}
.ncard{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;transition:transform .2s,box-shadow .2s;display:flex;flex-direction:column}
.ncard:hover{transform:translateY(-5px);box-shadow:var(--shadow-lg)}
.ncard .media{height:168px;background-size:cover;background-position:center;position:relative;background-color:var(--surface-2)}
.ncard .media .cat-tag{position:absolute;top:11px;left:11px;margin:0}
.ncard .body{padding:15px 16px 17px;display:flex;flex-direction:column;flex:1}
.ncard h3{font-weight:700;font-size:1.08rem;line-height:1.32;margin-bottom:9px}
.ncard:hover h3{color:var(--red)}
.ncard p{color:var(--ink-soft);font-size:.9rem;flex:1}
.ncard .foot{display:flex;justify-content:space-between;align-items:center;margin-top:13px;color:var(--muted);font-size:.78rem}

/* ===== SIDEBAR ===== */
.sidebar{display:flex;flex-direction:column;gap:26px}
.widget{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden}
.widget-head{background:var(--ink);color:#fff;font-weight:800;font-size:1.05rem;padding:13px 18px;display:flex;align-items:center;gap:9px}
[data-theme="dark"] .widget-head{background:#000}
.widget-head .flame{color:var(--gold)}
.trend-item{display:flex;gap:14px;padding:14px 16px;border-bottom:1px solid var(--border);align-items:flex-start;transition:background .15s}
.trend-item:last-child{border-bottom:none}
.trend-item:hover{background:var(--surface-2)}
.trend-item .num{font-family:'Baloo 2';font-weight:800;font-size:1.5rem;background:var(--sunrise);-webkit-background-clip:text;background-clip:text;color:transparent;flex:0 0 auto;width:26px}
.trend-item .tt{font-weight:600;font-size:.96rem;line-height:1.34}
.trend-item:hover .tt{color:var(--red)}
.widget-body{padding:6px 0}
.widget-body ul{list-style:none;margin:0;padding:0}
.widget-body li{padding:11px 16px;border-bottom:1px solid var(--border)}
.widget-body li:last-child{border-bottom:none}
.widget-body a:hover{color:var(--red)}
.widget-title{background:var(--ink);color:#fff;font-weight:800;font-size:1.05rem;padding:13px 18px;margin:0}
[data-theme="dark"] .widget-title{background:#000}

.subscribe{background:var(--sunrise);border-radius:var(--radius);padding:24px;color:#fff;text-align:center}
.subscribe h4{font-size:1.25rem;font-weight:800;margin-bottom:6px}
.subscribe p{font-size:.88rem;opacity:.95;margin-bottom:14px}
.subscribe .row{display:flex;gap:8px}
.subscribe input{flex:1;border:none;border-radius:9px;padding:11px 13px;font-family:inherit;font-size:.9rem;outline:none;min-width:0}
.subscribe button{background:#1a1512;color:#fff;border:none;border-radius:9px;padding:0 16px;font-family:'Mukta';font-weight:700;cursor:pointer;white-space:nowrap}
.weather-w{padding:20px;text-align:center}
.weather-w .temp{font-family:'Baloo 2';font-weight:800;font-size:2.6rem;line-height:1}
.weather-w .city{color:var(--muted);font-size:.9rem;margin-top:4px}
.weather-w .cond{margin-top:8px;font-weight:600;color:var(--ink-soft)}

/* ===== SINGLE POST ===== */
.single-wrap{max-width:820px;margin:0 auto;padding:34px 18px}
.single-cat{display:inline-block;background:var(--red);color:#fff;font-weight:700;font-size:.8rem;padding:5px 14px;border-radius:6px;text-transform:uppercase;letter-spacing:.5px}
.single-title{font-family:'Mukta';font-weight:800;font-size:2.3rem;line-height:1.2;margin:16px 0 14px}
.single-meta{display:flex;gap:16px;flex-wrap:wrap;color:var(--muted);font-size:.9rem;padding-bottom:18px;border-bottom:1px solid var(--border);margin-bottom:22px}
.single-feat{border-radius:var(--radius);overflow:hidden;margin-bottom:24px;box-shadow:var(--shadow)}
.single-content{font-family:'Tiro Devanagari Hindi',serif;font-size:1.14rem;line-height:1.9;color:var(--ink-soft)}
.single-content p{margin-bottom:20px}
.single-content h2,.single-content h3{font-family:'Mukta';color:var(--ink);margin:26px 0 12px;font-weight:700}
.single-content a{color:var(--red);text-decoration:underline}
.single-content img{border-radius:10px;margin:18px 0}
.single-content blockquote{border-left:4px solid var(--red);padding:6px 18px;margin:20px 0;background:var(--surface);border-radius:0 10px 10px 0}
.single-content ul,.single-content ol{margin:0 0 20px 22px}
.share-row{display:flex;gap:10px;align-items:center;margin:28px 0;flex-wrap:wrap}
.share-row .lbl{font-weight:700}
.share-row a{width:40px;height:40px;border-radius:10px;display:grid;place-items:center;color:#fff}
.share-row a.wa{background:#25d366}.share-row a.fb{background:#1877f2}.share-row a.tw{background:#111}.share-row a.tg{background:#0088cc}
.share-row a svg{width:19px;height:19px}
.tags-row{margin:24px 0}
.tags-row a{display:inline-block;background:var(--surface);border:1px solid var(--border);padding:6px 13px;border-radius:20px;font-size:.85rem;margin:0 6px 8px 0}
.tags-row a:hover{background:var(--sunrise);color:#fff;border-color:transparent}

/* ===== ARCHIVE HEADER ===== */
.arch-head{background:var(--surface);border-bottom:1px solid var(--border);padding:30px 0}
.arch-head h1{font-family:'Mukta';font-weight:800;font-size:2rem;display:flex;align-items:center;gap:12px}
.arch-head h1 .bar{width:6px;height:30px;border-radius:4px;background:var(--sunrise)}
.arch-head p{color:var(--muted);margin-top:6px}

/* ===== PAGINATION ===== */
.pagination{display:flex;gap:8px;justify-content:center;margin:34px 0;flex-wrap:wrap}
.pagination .page-numbers{padding:9px 15px;border-radius:9px;background:var(--surface);border:1px solid var(--border);font-weight:600}
.pagination .page-numbers.current{background:var(--sunrise);color:#fff;border-color:transparent}
.pagination a.page-numbers:hover{background:var(--surface-2)}

/* ===== VIDEO STRIP ===== */
.video-strip{background:var(--surface);border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
.video-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.vcard{border-radius:12px;overflow:hidden;position:relative;height:150px;background-size:cover;background-position:center;display:flex;align-items:flex-end;background-color:var(--surface-2)}
.vcard .vov{position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.85),transparent 60%)}
.vcard .play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:48px;height:48px;border-radius:50%;background:rgba(255,255,255,.92);display:grid;place-items:center;transition:transform .2s}
.vcard:hover .play{transform:translate(-50%,-50%) scale(1.12)}
.vcard .play svg{width:18px;height:18px;color:var(--red);margin-left:2px}
.vcard .vtitle{position:relative;z-index:2;color:#fff;font-weight:700;font-size:.92rem;padding:12px;line-height:1.3}

/* ===== FOOTER ===== */
.site-footer{background:var(--ink);color:#cfc7bd;padding:48px 0 0}
[data-theme="dark"] .site-footer{background:#000}
.footer-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1.3fr;gap:34px;padding-bottom:36px;border-bottom:1px solid rgba(255,255,255,.1)}
.site-footer h5{color:#fff;font-size:1.02rem;font-weight:700;margin-bottom:16px}
.site-footer .about-logo{display:flex;align-items:center;gap:10px;margin-bottom:14px}
.site-footer .about-logo .l1{font-family:'Baloo 2';font-weight:800;font-size:1.35rem;color:#fff}
.site-footer .about-logo .l1 .speed{background:var(--sunrise);-webkit-background-clip:text;background-clip:text;color:transparent}
.site-footer p{font-size:.9rem;line-height:1.7;color:#a89f95}
.site-footer .flinks{list-style:none;display:flex;flex-direction:column;gap:10px}
.site-footer .flinks a{font-size:.92rem;color:#bcb3a9;transition:color .15s,padding-left .15s}
.site-footer .flinks a:hover{color:var(--gold);padding-left:5px}
.fsocial{display:flex;gap:10px;margin-top:16px}
.fsocial a{width:38px;height:38px;border-radius:10px;background:rgba(255,255,255,.08);display:grid;place-items:center;color:#fff;transition:transform .18s,background .18s}
.fsocial a svg{width:18px;height:18px}
.fsocial a.wa:hover{background:#25d366;transform:translateY(-3px)}
.fsocial a.ig:hover{background:linear-gradient(45deg,#f09433,#dc2743,#bc1888);transform:translateY(-3px)}
.fsocial a.fb:hover{background:#1877f2;transform:translateY(-3px)}
.fsocial a.yt:hover{background:#f00;transform:translateY(-3px)}
.copyright{text-align:center;padding:20px 0;font-size:.85rem;color:#8f867c}

/* ===== AI CHAT ===== */
.chat-fab{position:fixed;bottom:24px;right:24px;z-index:200;width:62px;height:62px;border-radius:50%;background:var(--sunrise);border:none;cursor:pointer;box-shadow:0 10px 30px rgba(224,30,60,.42);display:grid;place-items:center;transition:transform .22s}
.chat-fab:hover{transform:scale(1.08)}
.chat-fab svg{width:28px;height:28px;color:#fff}
.chat-fab .badge{position:absolute;top:-3px;right:-3px;background:#1a1512;color:#fff;font-size:.62rem;font-weight:700;padding:3px 7px;border-radius:20px;border:2px solid var(--bg)}
.chat-panel{position:fixed;bottom:100px;right:24px;z-index:200;width:370px;max-width:calc(100vw - 32px);height:520px;max-height:calc(100vh - 130px);background:var(--bg);border:1px solid var(--border);border-radius:20px;box-shadow:var(--shadow-lg);display:flex;flex-direction:column;overflow:hidden;transform:translateY(20px) scale(.96);opacity:0;pointer-events:none;transition:all .26s cubic-bezier(.4,1.2,.5,1);transform-origin:bottom right}
.chat-panel.open{transform:translateY(0) scale(1);opacity:1;pointer-events:auto}
.chat-head{background:var(--sunrise);color:#fff;padding:15px 18px;display:flex;align-items:center;gap:12px}
.chat-head .ava{width:40px;height:40px;border-radius:50%;background:rgba(255,255,255,.22);display:grid;place-items:center;font-size:20px}
.chat-head .ci h4{font-size:1.02rem;font-weight:700}
.chat-head .ci .stat{font-size:.76rem;opacity:.92;display:flex;align-items:center;gap:5px}
.chat-head .ci .stat::before{content:"";width:7px;height:7px;border-radius:50%;background:#5cff9d;display:inline-block}
.chat-head .close{margin-left:auto;background:rgba(255,255,255,.18);border:none;color:#fff;width:30px;height:30px;border-radius:50%;cursor:pointer;font-size:16px}
.chat-body{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:12px;background:var(--surface)}
.msg{max-width:82%;padding:10px 14px;border-radius:15px;font-size:.92rem;line-height:1.5;animation:pop .2s ease;white-space:pre-wrap}
@keyframes pop{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.msg.bot{background:var(--bg);border:1px solid var(--border);align-self:flex-start;border-bottom-left-radius:4px}
.msg.user{background:var(--sunrise);color:#fff;align-self:flex-end;border-bottom-right-radius:4px}
.chat-sugg{display:flex;flex-wrap:wrap;gap:7px;padding:0 16px 10px;background:var(--surface)}
.chat-sugg button{background:var(--bg);border:1px solid var(--border);color:var(--ink-soft);font-family:inherit;font-size:.8rem;padding:7px 12px;border-radius:20px;cursor:pointer;transition:all .15s}
.chat-sugg button:hover{background:var(--sunrise);color:#fff;border-color:transparent}
.chat-input{display:flex;gap:8px;padding:12px;border-top:1px solid var(--border);background:var(--bg)}
.chat-input input{flex:1;background:var(--surface);border:1px solid var(--border);border-radius:22px;padding:11px 16px;font-family:inherit;font-size:.92rem;color:var(--ink);outline:none}
.chat-input button{background:var(--sunrise);border:none;width:42px;height:42px;border-radius:50%;cursor:pointer;display:grid;place-items:center;flex:0 0 auto}
.chat-input button svg{width:18px;height:18px;color:#fff}
.typing{display:flex;gap:4px;padding:12px 14px}
.typing span{width:7px;height:7px;border-radius:50%;background:var(--muted);animation:blink 1.2s infinite}
.typing span:nth-child(2){animation-delay:.2s}.typing span:nth-child(3){animation-delay:.4s}
@keyframes blink{0%,60%,100%{opacity:.3}30%{opacity:1}}

/* ===== RESPONSIVE ===== */
@media(max-width:960px){
  .hero-grid,.main-cols{grid-template-columns:1fr}
  .card-grid,.card-grid.cols-2{grid-template-columns:repeat(2,1fr)}
  .video-grid{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:1fr 1fr}
  .searchbox{display:none}
}
@media(max-width:600px){
  .card-grid,.video-grid,.footer-grid{grid-template-columns:1fr}
  .tb-date{display:none}.mast-cta{display:none}
  .hero-lead h1{font-size:1.55rem}.single-title{font-size:1.7rem}
  .logo-text .l1{font-size:1.4rem}.logo-mark{width:44px;height:44px}
  .chat-panel{bottom:90px}
}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
