/*
Theme Name: Manual Hindi News
Theme URI: https://example.com/
Author: Your Name
Description: Editable, mobile-first Hindi news WordPress theme with demo content. Brand name, logo, menus, categories, posts and images are managed from WordPress.
Version: 1.0.0
Text Domain: manual-hindi-news
*/

:root{--news-red:#d71920;--news-dark:#111827;--news-text:#171717;--news-muted:#6b7280;--news-border:#e5e7eb;--news-bg:#f6f7f9}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--news-bg);color:var(--news-text);font-family:Arial,"Noto Sans Devanagari","Noto Sans",sans-serif;line-height:1.55}
a{text-decoration:none;color:inherit}
img{display:block;max-width:100%;height:auto}
.news-wrap{width:min(1180px,calc(100% - 28px));margin:auto}
.news-header{background:#fff;border-bottom:1px solid var(--news-border)}
.news-header-row{min-height:72px;display:flex;align-items:center;gap:20px}
.news-brand{display:flex;align-items:center;gap:10px;font-size:24px;font-weight:800}
.news-brand img{max-height:54px;width:auto}
.news-brand .brand-accent{color:var(--news-red)}
.news-search{margin-left:auto;display:flex;align-items:center;gap:7px}
.news-search input{width:230px;border:1px solid var(--news-border);border-radius:24px;padding:10px 14px;outline:none}
.news-search button{width:40px;height:40px;border:0;border-radius:50%;background:var(--news-dark);color:#fff;cursor:pointer}
.news-nav{background:#fff;border-bottom:1px solid var(--news-border);position:sticky;top:0;z-index:50}
.news-nav-scroll{display:flex;overflow:auto;white-space:nowrap;scrollbar-width:none}
.news-nav-scroll::-webkit-scrollbar{display:none}
.news-nav a{padding:11px 13px;font-weight:700;font-size:14px}
.news-nav a:hover{color:var(--news-red)}
.news-breaking{background:var(--news-red);color:#fff}
.news-breaking-row{display:flex;align-items:center;min-height:40px;gap:10px;overflow:hidden}
.news-breaking-label{background:#a80f15;font-weight:800;padding:5px 10px;border-radius:3px;white-space:nowrap}
.news-breaking-track{overflow:hidden;white-space:nowrap;flex:1}
.news-breaking-track a{margin-right:35px;font-size:14px}
.news-main{padding:18px 0 70px}
.news-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(280px,1fr);gap:20px}
.news-hero-grid{display:grid;grid-template-columns:1.45fr 1fr;gap:14px}
.news-card{background:#fff;border:1px solid var(--news-border);border-radius:10px;overflow:hidden}
.news-hero{position:relative;min-height:360px}
.news-hero img{width:100%;height:360px;object-fit:cover}
.news-hero-content{position:absolute;left:0;right:0;bottom:0;color:#fff;padding:28px 18px 15px;background:linear-gradient(transparent,rgba(0,0,0,.9))}
.news-cat{font-size:12px;color:var(--news-red);font-weight:800;margin-bottom:4px}
.news-hero .news-cat{color:#ffd8da}
.news-hero h1{font-size:26px;line-height:1.25;margin:0}
.news-meta{font-size:11px;color:var(--news-muted);margin-top:6px}
.news-hero .news-meta{color:#ddd}
.news-mini-list{display:flex;flex-direction:column;gap:10px}
.news-mini{display:grid;grid-template-columns:115px 1fr;gap:10px;padding:10px}
.news-mini img{width:115px;height:82px;object-fit:cover;border-radius:7px}
.news-mini h3{font-size:15px;line-height:1.35;margin:0}
.news-section{margin-top:22px}
.news-section-head{display:flex;justify-content:space-between;align-items:center;border-bottom:2px solid var(--news-dark);padding-bottom:7px;margin-bottom:10px}
.news-section-head h2,.news-section-head h1{margin:0;font-size:22px}
.news-more{color:var(--news-red);font-size:13px;font-weight:800}
.news-list{display:flex;flex-direction:column;gap:10px}
.news-item{display:grid;grid-template-columns:190px 1fr;gap:14px;background:#fff;border:1px solid var(--news-border);border-radius:9px;padding:10px}
.news-item img{width:190px;height:115px;object-fit:cover;border-radius:7px}
.news-item h3{font-size:18px;line-height:1.35;margin:0}
.news-excerpt{font-size:13px;color:#555;margin-top:4px}
.news-sidebar{display:flex;flex-direction:column;gap:18px}
.news-widget{background:#fff;border:1px solid var(--news-border);border-radius:10px;padding:14px}
.news-widget h3{margin:0 0 10px;border-left:4px solid var(--news-red);padding-left:9px}
.news-trending{padding:0;margin:0;list-style:none}
.news-trending li{padding:10px 0;border-bottom:1px solid var(--news-border)}
.news-number{color:var(--news-red);font-weight:900;margin-right:7px}
.news-ad{min-height:90px;background:#ececec;border:1px dashed #aaa;display:grid;place-items:center;color:#777;font-size:12px}
.news-categories{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.news-category-box{padding:11px;background:#fff;border:1px solid var(--news-border);border-radius:8px;text-align:center;font-weight:700}
.news-states{display:flex;gap:8px;overflow:auto}
.news-state{white-space:nowrap;padding:8px 13px;border:1px solid var(--news-border);border-radius:20px;background:#fff;font-size:13px;font-weight:700}
.news-video-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.news-video-media{position:relative}
.news-video-media img{width:100%;height:150px;object-fit:cover}
.news-play{position:absolute;left:10px;bottom:10px;width:38px;height:38px;border-radius:50%;background:rgba(0,0,0,.75);color:#fff;display:grid;place-items:center}
.news-video h3{margin:0;padding:9px;font-size:15px;line-height:1.35}
.news-article{background:#fff;border:1px solid var(--news-border);border-radius:10px;padding:20px}
.news-article h1{font-size:38px;line-height:1.25;margin:6px 0 10px}
.news-article-feature{width:100%;max-height:600px;object-fit:cover;border-radius:8px;margin:15px 0}
.news-content{font-size:18px;line-height:1.9}
.news-share{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}
.news-share a{border:1px solid var(--news-border);border-radius:20px;padding:7px 12px;font-size:13px}
.news-pagination{display:flex;justify-content:center;gap:7px;margin:20px 0}
.news-pagination a,.news-pagination span{background:#fff;border:1px solid var(--news-border);border-radius:6px;padding:8px 12px}
.news-footer{background:var(--news-dark);color:#dbe2ea;padding:35px 0 80px;margin-top:30px}
.news-footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:25px}
.news-footer a{color:#dbe2ea}
.news-mobile-nav{display:none}
@media(max-width:900px){.news-layout{grid-template-columns:1fr}.news-hero-grid{grid-template-columns:1fr}.news-sidebar{display:grid;grid-template-columns:1fr 1fr}}
@media(max-width:650px){
.news-wrap{width:calc(100% - 16px)}
.news-header-row{min-height:58px}
.news-brand{font-size:19px}
.news-search input{display:none}
.news-nav a{font-size:13px;padding:9px 10px}
.news-hero,.news-hero img{height:235px;min-height:235px}
.news-hero h1{font-size:21px}
.news-mini{grid-template-columns:100px 1fr}
.news-mini img{width:100px;height:72px}
.news-mini h3{font-size:14px}
.news-item{grid-template-columns:120px 1fr;gap:10px;padding:8px}
.news-item img{width:120px;height:84px}
.news-item h3{font-size:15px}
.news-excerpt{display:none}
.news-sidebar{display:block}
.news-categories{grid-template-columns:repeat(2,1fr)}
.news-video-grid{grid-template-columns:repeat(2,1fr)}
.news-video-media img{height:105px}
.news-video h3{font-size:13px}
.news-article{padding:13px}
.news-article h1{font-size:25px}
.news-content{font-size:16px}
.news-footer-grid{grid-template-columns:1fr}
.news-mobile-nav{display:grid;position:fixed;left:0;right:0;bottom:0;z-index:100;background:#fff;border-top:1px solid var(--news-border);grid-template-columns:repeat(5,1fr);padding:7px 4px calc(7px + env(safe-area-inset-bottom));box-shadow:0 -4px 18px rgba(0,0,0,.08)}
.news-mobile-nav a{text-align:center;font-size:10px;color:#444}
.news-mobile-nav b{display:block;font-size:18px;line-height:1.1}
}
