/*
Theme Name: MarathiPaper News
Theme URI: https://marathipaper.com/
Author: MarathiPaper
Description: Lightweight, responsive Marathi news portal theme with accessibility and SEO-friendly foundations.
Version: 1.0.0
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: marathipaper
*/
:root{--mp-red:#c91524;--mp-ink:#171717;--mp-muted:#666;--mp-line:#e8e8e8;--mp-bg:#f5f6f7;--mp-width:1200px}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#fff;color:var(--mp-ink);font-family:system-ui,-apple-system,"Noto Sans Devanagari","Nirmala UI",sans-serif;font-size:16px;line-height:1.7}
a{color:inherit;text-decoration:none}
a:hover{color:var(--mp-red)}
img{max-width:100%;height:auto}
button,input{font:inherit}
.mp-wrap{width:min(calc(100% - 32px),var(--mp-width));margin-inline:auto}
.mp-topbar{background:#171717;color:#fff;font-size:13px}
.mp-topbar .mp-wrap{display:flex;justify-content:space-between;gap:12px;padding:6px 0}
.mp-header{padding:20px 0;border-bottom:1px solid var(--mp-line)}
.mp-brandrow{display:flex;align-items:center;justify-content:space-between;gap:24px}
.mp-brand{font-weight:900;letter-spacing:-1px;font-size:clamp(28px,4vw,44px);line-height:1.2;color:var(--mp-red)}
.mp-tagline{margin:4px 0 0;color:var(--mp-muted);font-size:13px}
.mp-search{display:flex;gap:6px}
.mp-search input{width:210px;max-width:40vw;padding:9px 11px;border:1px solid #ddd;border-radius:4px}
.mp-search button,.mp-button{background:var(--mp-red);color:#fff;border:0;padding:9px 14px;border-radius:4px;cursor:pointer}
.mp-nav{background:var(--mp-red);color:#fff}
.mp-nav .mp-wrap{display:flex;gap:0;overflow-x:auto;white-space:nowrap}
.mp-nav a{display:block;padding:11px 14px;font-weight:700;font-size:14px}
.mp-nav a:hover{background:#a80e1b;color:#fff}
.mp-breaking{margin:18px auto;background:#fff6f6;border:1px solid #f1d3d6;display:flex;gap:12px;align-items:center;padding:10px 14px}
.mp-breaking strong{background:var(--mp-red);color:#fff;padding:3px 8px;white-space:nowrap;font-size:13px}
.mp-breaking a{font-weight:650}
.mp-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(260px,1fr);gap:28px;margin:22px auto 42px}
.mp-section-title{border-bottom:2px solid var(--mp-red);font-size:22px;margin:0 0 18px;padding-bottom:8px}
.mp-feature{display:grid;grid-template-columns:1.1fr 1fr;gap:18px;margin-bottom:24px}
.mp-feature .mp-thumb{aspect-ratio:16/9;overflow:hidden;background:#eee}
.mp-feature img,.mp-card img{width:100%;height:100%;object-fit:cover;display:block}
.mp-feature h2{font-size:clamp(21px,2.5vw,30px);line-height:1.45;margin:8px 0}
.mp-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.mp-card{min-width:0}
.mp-card .mp-thumb{aspect-ratio:16/9;overflow:hidden;background:#eee}
.mp-card h3{font-size:18px;line-height:1.5;margin:8px 0}
.mp-meta{font-size:12px;color:var(--mp-muted)}
.mp-sidebar-box{border:1px solid var(--mp-line);padding:16px;margin-bottom:22px}
.mp-sidebar-box h2{font-size:19px;margin:0 0 12px;border-bottom:1px solid var(--mp-line);padding-bottom:8px}
.mp-list{list-style:none;padding:0;margin:0}
.mp-list li{padding:10px 0;border-bottom:1px solid var(--mp-line);line-height:1.5}
.mp-list li:last-child{border-bottom:0}
.mp-post{max-width:850px;margin:28px auto 50px}
.mp-post h1{font-size:clamp(28px,4vw,42px);line-height:1.4;margin:8px 0 14px}
.mp-post .mp-hero{aspect-ratio:16/9;background:#eee;margin:20px 0;overflow:hidden}
.mp-post .mp-hero img{width:100%;height:100%;object-fit:cover}
.mp-content{font-size:18px;line-height:1.9}
.mp-content h2,.mp-content h3{line-height:1.5}
.mp-content a{text-decoration:underline;color:#a80e1b}
.mp-pagination{margin:26px 0}
.mp-pagination .page-numbers{display:inline-block;padding:7px 12px;border:1px solid var(--mp-line);margin:0 4px 4px 0}
.mp-pagination .current{background:var(--mp-red);color:#fff}
.mp-footer{background:#171717;color:#eee;padding:28px 0;margin-top:35px}
.mp-footer p{margin:5px 0}
.mp-footer a{color:#fff}
.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:800px){.mp-layout{grid-template-columns:1fr;gap:18px}.mp-feature{grid-template-columns:1fr}.mp-feature .mp-thumb{aspect-ratio:16/9}.mp-brandrow{align-items:flex-start;flex-direction:column;gap:12px}.mp-search{width:100%}.mp-search input{width:100%;max-width:none;flex:1}.mp-topbar .mp-wrap{flex-wrap:wrap}.mp-card-grid{gap:16px}.mp-card h3{font-size:16px}.mp-nav a{padding:10px 12px}}
@media(max-width:430px){.mp-wrap{width:min(calc(100% - 22px),var(--mp-width))}.mp-card-grid{grid-template-columns:1fr}.mp-breaking{align-items:flex-start}.mp-post .mp-content{font-size:17px}}
