*{margin:0;padding:0;box-sizing:border-box}
body{font-family:'Noto Sans Telugu',sans-serif;background:#f4f5f7;color:#222}
a{text-decoration:none;color:inherit}
.container{width:96%;max-width:1300px;margin:auto}

/* HEADER */
.header{background:#fdf1d6;padding:12px 0;border-bottom:1px solid #ddd}
.header-flex{display:flex;align-items:center;justify-content:space-between;gap:15px}
.logo{width:420px;max-width:65%;height:auto}
.header-actions{display:flex;gap:9px}
.btn{padding:10px 17px;color:white;font-size:13px;font-weight:700;border-radius:4px}
.live{background:#d71920}
.login{background:#172238}
.epaper{background:#147b45}

/* NAV */
.navbar{background:#172238;color:white}
.navbar .container{display:flex;align-items:center}
.nav-links{display:flex;align-items:center;justify-content:space-between;gap:2px;width:60%;min-width:0}
.navbar a{padding:13px 9px;display:block;font-size:13px;font-weight:600;white-space:nowrap;flex:0 0 auto}
.navbar a:hover,.navbar a:focus-visible{background:#bd171b;color:#fff}
.menu-btn{display:none;cursor:pointer;padding:12px;font-size:22px}

/* BREAKING */
.breaking{display:flex;background:#fff;margin:15px auto;border:1px solid #ddd;overflow:hidden}
.breaking-label{background:#c91820;color:#fff;padding:11px 17px;font-weight:700;white-space:nowrap}
.breaking-content{padding:10px;overflow:hidden;flex:1}
.breaking-content span{display:inline-block;white-space:nowrap;animation:scroll 35s linear infinite;font-size:13px}
@keyframes scroll{from{transform:translateX(100%)}to{transform:translateX(-100%)}}

/* FEATURED THREE COLUMN */
.featured-layout{
 display:grid;
 grid-template-columns:1fr 2fr 1fr;
 gap:13px;
 margin:15px 0 22px;
 align-items:stretch
}
.side-stories{background:white;border:1px solid #e5e5e5;padding:10px}
.heading{
 background:#bd171b;color:white;padding:9px 12px;
 font-size:15px;font-weight:700;margin-bottom:8px
}
.mini-story{
 display:flex;gap:9px;padding:10px 0;
 border-bottom:1px solid #eee;min-height:85px
}
.mini-story img{
 width:95px;height:70px;object-fit:0;flex-shrink:0
}
.mini-story h3{font-size:12px;line-height:1.7;font-weight:600}
.mini-story small{font-size:10px;color:#bd171b}

/* CENTER SLIDER */
.center-news{display:flex;flex-direction:column;gap:18px;min-width:0}
.hero{position:relative;background:#222;height:440px;overflow:hidden;border-radius:3px;flex:0 0 auto}
.center-news .hero + .hero{margin-top:0}
.hero img{width:100%;height:100%;object-fit:0;opacity:.88}
.hero-overlay{
 position:absolute;bottom:0;left:0;right:0;
 padding:28px 22px;color:white;
 background:linear-gradient(transparent,rgba(0,0,0,.95))
}
.hero-overlay span{background:#c91820;padding:5px 10px;font-size:12px}
.hero-overlay h2{font-size:23px;line-height:1.7;margin-top:12px}
.hero-overlay p{font-size:11px;margin-top:9px}
.hero-controls{position:absolute;top:12px;right:12px;display:flex;gap:5px}
.hero-controls button{
 border:0;padding:9px 13px;cursor:pointer;background:white;
 font-size:18px
}
.dots{position:absolute;bottom:10px;right:20px}
.dots button{
 width:9px;height:9px;border:0;border-radius:50%;
 margin:3px;cursor:pointer;background:#ddd
}
.dots button.active{background:#e51b23}

/* HORIZONTAL STORIES */
.section-heading{
 display:flex;justify-content:space-between;align-items:center;
 border-bottom:2px solid #bd171b;margin:22px 0 15px
}
.section-heading h2{
 background:#bd171b;color:white;padding:9px 16px;font-size:17px
}
.section-heading a{font-size:12px;color:#bd171b}
.story-grid{
 display:grid;grid-template-columns:repeat(3,1fr);gap:12px
}
.story-card{background:white;border:1px solid #e8e8e8;overflow:hidden}
.story-card img{width:100%;height:auto}
.story-card .story-info{padding:10px}
.story-card small{color:#bd171b;font-size:10px}
.story-card h3{font-size:12px;line-height:1.7;margin-top:5px}

/* LATEST UPDATES */
.updates-layout{
 display:grid;grid-template-columns:2fr 1fr;gap:18px
}
.update-list{background:white;border:1px solid #eee}
.update{
 display:flex;gap:14px;padding:14px;
 border-bottom:1px solid #eee
}
.update img{width:150px;height:105px;object-fit:cover}
.update h3{font-size:15px;line-height:1.8;margin:5px 0}
.update small{color:#bd171b;font-size:11px}
.update p{font-size:11px;color:#888}

/* SIDEBAR */
.widget{background:white;border:1px solid #eee;padding:14px;margin-bottom:15px}
.widget h3{font-size:16px;padding-bottom:10px;border-bottom:2px solid #bd171b;margin-bottom:10px}
.widget a{display:block;padding:9px 0;border-bottom:1px solid #eee;font-size:13px}
.widget a:hover{color:#bd171b}

/* PAGINATION */
.pagination{display:flex;justify-content:center;gap:7px;padding:20px}
.pagination button{border:1px solid #ddd;background:white;padding:9px 14px;cursor:pointer}
.pagination button.active{background:#bd171b;color:white}

/* EPAPER */
.epaper-banner{
 margin:25px 0;background:#172238;color:white;text-align:center;
 padding:28px 15px
}
.epaper-banner h2{font-size:22px}
.epaper-banner p{font-size:13px;margin:10px}
.epaper-banner a{display:inline-block;background:#bd171b;padding:10px 22px;margin-top:8px}

/* FOOTER */
footer{background:#172238;color:white;padding:35px 0 15px}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:30px}
footer h3{margin-bottom:12px}
footer p,footer a{font-size:12px;color:#c9ced8;line-height:2}
footer li{list-style:none}
.copyright{text-align:center;border-top:1px solid #ffffff25;margin-top:25px;padding-top:15px;font-size:11px;color:#bbb}
.copyrights{text-align:center;border-top:1px margin-top:25px;padding-top:15px;font-size:11px;color:#bbb}

/* FIXED MOBILE BOTTOM NAVIGATION */
.mobile-footer{display:none}
@media(max-width:600px){
  body{padding-bottom:66px}
  .mobile-footer{position:fixed;left:0;right:0;bottom:0;z-index:9999;display:grid;grid-template-columns:repeat(5,1fr);background:#172238;border-top:2px solid #bd171b;box-shadow:0 -3px 12px rgba(0,0,0,.18);padding:7px 2px calc(7px + env(safe-area-inset-bottom))}
  .mobile-footer a{color:#d8deea;text-align:center;font-size:10px;font-weight:600;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;line-height:1.2;border-radius:8px;padding:5px 1px;transition:background .2s,color .2s}
  .mobile-footer a span{font-size:20px;line-height:1.1}
  .mobile-footer a.active{color:#ffd34e;background:#35445f;box-shadow:inset 0 -2px 0 #ffd34e}
  .mobile-footer a:active,.mobile-footer a:hover{color:#ffd34e}
}

/* MOBILE */
@media(max-width:850px){
 .featured-layout{grid-template-columns:1fr 2fr}
 .right-stories{grid-column:1/-1}
 .right-stories .mini-story{display:inline-flex;width:49%;vertical-align:top;padding:8px}
 .story-grid{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:600px){
 .header-flex{flex-direction:column}
 .logo{max-width:90%;width:340px}
 .navbar .container{display:block}
 .menu-btn{display:block}
 .nav-links{display:none;align-items:stretch;width:100%}
 .nav-links.show{display:flex}
 .nav-links a{padding:11px 15px}
 .featured-layout{grid-template-columns:1fr}
 .left-stories{order:2}
 .center-news{order:1}
 .right-stories{order:3;grid-column:auto}
 .right-stories .mini-story{width:100%}
 .center-news{gap:14px}
  .hero{height:280px}
 .hero-overlay h2{font-size:17px}
 .mini-story img{width:105px}
 .story-grid{grid-template-columns:repeat(2,1fr)}
 .updates-layout{grid-template-columns:1fr}
 .update img{width:105px;height:85px}
 .update h3{font-size:12px}
 .footer-grid{grid-template-columns:1fr}
 .breaking-label{font-size:11px;padding:10px}
}
