/*
Theme Name: Custom WP
Theme URI: https://example.com/
Author: Custom News Theme
Description: A clean, responsive editorial news theme with featured slider, latest news sidebar and category sections.
Version: 1.7.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: custom-wp
*/
:root{--ink:#171717;--muted:#69717a;--line:#e4e5e7;--soft:#f5f5f5;--accent:#d71920;--content:1280px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:var(--ink);font-family:Arial,Helvetica,sans-serif;font-size:16px;line-height:1.5}a{color:inherit;text-decoration:none}a:hover{color:var(--accent)}img{max-width:100%;height:auto;display:block}.site-container{width:min(var(--content),calc(100% - 40px));margin-inline:auto}
.site-header{background:#fff;border-bottom:1px solid var(--line)}.header-main{min-height:76px;display:flex;align-items:center;gap:28px}.site-branding{display:flex;align-items:center;flex-shrink:0}.custom-logo{max-height:48px;width:auto}.site-title{font-family:Georgia,serif;font-weight:800;font-size:30px;letter-spacing:-1.5px}.site-title span{color:var(--accent)}.primary-nav{flex:1}.primary-nav ul{display:flex;align-items:center;justify-content:center;gap:clamp(12px,2vw,30px);list-style:none;margin:0;padding:0}.primary-nav a{font-weight:600;font-size:15px;white-space:nowrap}.header-actions{display:flex;align-items:center;gap:18px}.search-toggle,.menu-toggle{border:0;background:none;padding:8px;cursor:pointer;font-size:22px}.menu-toggle{display:none}.trending-bar{border-top:1px solid var(--line);background:#fff}.trending-inner{min-height:54px;display:flex;align-items:center;gap:26px;overflow:hidden}.trending-label{font-weight:800;white-space:nowrap}.trending-links{display:flex;gap:28px;overflow:auto;white-space:nowrap;scrollbar-width:none}.trending-links a{font-size:14px;color:#555}.trending-links a:hover{color:var(--accent)}
.site-main{padding:24px 0 55px}.hero-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(300px,.92fr);gap:24px;align-items:start}.featured-slider{position:relative;overflow:hidden;background:#111;min-height:400px}.slide{display:none;position:relative}.slide.is-active{display:block}.slide-image{width:100%;height:510px;object-fit:cover;opacity:.94}.slide-overlay{position:absolute;inset:35% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.88));display:flex;flex-direction:column;justify-content:flex-end;padding:28px 28px 30px;color:#fff}.slide-category{font-size:12px;text-transform:uppercase;letter-spacing:.08em;font-weight:800;color:#fff;margin-bottom:8px}.slide-title{font-family:Georgia,serif;font-size:clamp(27px,3.2vw,44px);line-height:1.08;font-weight:700;margin:0;max-width:900px}.slide-meta{font-size:13px;color:#eee;margin-top:12px}.slider-arrow{position:absolute;top:48%;z-index:3;border:0;border-radius:50%;width:40px;height:40px;background:rgba(0,0,0,.55);color:#fff;font-size:23px;cursor:pointer}.slider-prev{left:14px}.slider-next{right:14px}.slider-dots{position:absolute;right:22px;bottom:18px;z-index:4;display:flex;gap:7px}.slider-dot{width:8px;height:8px;border:0;border-radius:50%;padding:0;background:rgba(255,255,255,.55);cursor:pointer}.slider-dot.is-active{background:#fff;width:22px;border-radius:8px}
.latest-panel{background:#f6f6f6;padding:22px 22px 12px}.section-heading{font-family:Georgia,serif;font-size:27px;line-height:1.15;margin:0 0 18px;padding-bottom:12px;border-bottom:1px solid #222}.latest-list{list-style:none;margin:0;padding:0;counter-reset:latest}.latest-item{counter-increment:latest;display:grid;grid-template-columns:72px minmax(0,1fr) 26px;gap:12px;align-items:start;padding:0 0 17px;margin:0 0 16px;border-bottom:1px solid #ddd}.latest-item:last-child{border:0;margin-bottom:0}.latest-thumb{width:72px;height:66px;object-fit:cover;background:#ddd}.latest-title{font-family:Georgia,serif;font-weight:700;font-size:17px;line-height:1.22;margin:0}.latest-number{font-family:Georgia,serif;font-size:32px;line-height:1;font-weight:800;text-align:right}.latest-meta{font-size:12px;color:var(--muted);margin-top:5px}
.home-section{margin-top:34px}.home-section-header{display:flex;align-items:center;justify-content:space-between;border-bottom:2px solid #222;margin-bottom:18px;padding-bottom:9px}.home-section-title{font-family:Georgia,serif;font-size:27px;margin:0}.view-all{font-size:13px;font-weight:700;color:var(--accent)}.news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.news-card-image{width:100%;aspect-ratio:16/9;object-fit:cover;background:#eee}.news-card-title{font-family:Georgia,serif;font-size:20px;line-height:1.2;margin:10px 0 6px}.news-meta{font-size:12px;color:var(--muted)}.news-list-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(250px,.9fr);gap:28px}.horizontal-news{display:grid;grid-template-columns:155px 1fr;gap:16px;padding:0 0 17px;margin-bottom:17px;border-bottom:1px solid var(--line)}.horizontal-news img{width:155px;height:105px;object-fit:cover}.horizontal-news h3{font-family:Georgia,serif;font-size:21px;line-height:1.2;margin:2px 0 7px}.horizontal-news p{color:#555;font-size:14px;margin:0}
.content-area{max-width:850px;margin:0 auto}.entry-title{font-family:Georgia,serif;font-size:clamp(34px,5vw,52px);line-height:1.08;margin:8px 0 14px}.entry-meta{color:var(--muted);font-size:13px;margin-bottom:22px}.entry-content{font-size:18px;line-height:1.8}.entry-content img{height:auto}.entry-content h2,.entry-content h3{font-family:Georgia,serif;line-height:1.2}.entry-content a{text-decoration:underline;color:#1558a6}.entry-featured{margin:22px 0}.archive-header{margin-bottom:24px;border-bottom:2px solid #222}.archive-title{font:700 36px Georgia,serif;margin:0 0 12px}.pagination{margin-top:30px}.pagination .page-numbers{display:inline-block;padding:8px 12px;border:1px solid var(--line);margin-right:5px}.pagination .current{background:#171717;color:#fff}
.site-footer{background:#151515;color:#eee;padding:36px 0;margin-top:40px}.footer-inner{display:flex;justify-content:space-between;gap:24px;align-items:center}.footer-copy{font-size:13px;color:#bbb}.screen-reader-text{position:absolute;left:-9999px}.no-posts{padding:25px;background:var(--soft);color:#555}
@media(max-width:980px){.header-main{gap:14px}.primary-nav ul{gap:13px}.primary-nav a{font-size:13px}.hero-grid{grid-template-columns:minmax(0,1.7fr) minmax(270px,1fr)}.slide-image{height:420px}.latest-panel{padding:17px}.latest-item{grid-template-columns:60px 1fr 22px;gap:9px}.latest-thumb{width:60px;height:58px}.latest-title{font-size:15px}.news-grid{gap:15px}}
@media(max-width:760px){.site-container{width:min(100% - 28px,var(--content))}.header-main{min-height:66px;justify-content:space-between}.menu-toggle{display:block}.primary-nav{display:none;position:absolute;z-index:20;top:66px;left:0;right:0;background:#fff;border-bottom:1px solid var(--line);padding:15px 20px}.primary-nav.is-open{display:block}.primary-nav ul{display:grid;grid-template-columns:repeat(2,1fr);gap:0}.primary-nav li{padding:10px 0;border-bottom:1px solid var(--line)}.site-title{font-size:25px}.header-actions{gap:5px}.trending-inner{min-height:46px;gap:14px}.trending-links{gap:18px}.site-main{padding-top:15px}.hero-grid{grid-template-columns:1fr;gap:18px}.slide-image{height: min(68vw,390px);min-height:245px}.slide-overlay{padding:18px 18px 24px}.slide-title{font-size:clamp(24px,6vw,34px)}.latest-panel{padding:18px}.latest-item{grid-template-columns:68px 1fr 24px}.latest-thumb{width:68px;height:60px}.latest-title{font-size:16px}.news-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 13px}.news-card-title{font-size:17px}.home-section{margin-top:27px}.home-section-title{font-size:24px}.news-list-layout{grid-template-columns:1fr}.horizontal-news{grid-template-columns:112px 1fr;gap:12px}.horizontal-news img{width:112px;height:86px}.horizontal-news h3{font-size:18px}.footer-inner{display:block}.footer-copy{margin-top:10px}}
@media(max-width:420px){.news-grid{grid-template-columns:1fr}.news-grid .news-card{display:grid;grid-template-columns:115px 1fr;gap:12px;align-items:start}.news-grid .news-card-image{width:115px;height:86px;aspect-ratio:auto}.news-card-title{margin:0 0 6px;font-size:17px}.slide-title{font-size:23px}.latest-item{grid-template-columns:58px 1fr 22px}.latest-thumb{width:58px;height:55px}}

/* Custom WP v1.1 header and fallback refinements */
.site-header{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.98)}
.primary-nav ul{position:relative}
.primary-nav li{position:relative}
.primary-nav .sub-menu{display:none;position:absolute;top:100%;left:0;min-width:220px;padding:8px 0;margin:0;background:#fff;border:1px solid var(--line);box-shadow:0 12px 28px rgba(0,0,0,.10);z-index:120;flex-direction:column;align-items:stretch;gap:0}
.primary-nav li:hover>.sub-menu,.primary-nav li:focus-within>.sub-menu{display:flex}
.primary-nav .sub-menu li{padding:0;border-bottom:1px solid #f0f0f0}
.primary-nav .sub-menu a{display:block;padding:10px 15px;font-size:14px}
.primary-nav .sub-menu .sub-menu{top:0;left:100%}
.trending-inner{min-width:0}
.trending-label{font-size:15px;text-transform:uppercase;letter-spacing:.02em}
.trending-links a{font-size:13px}
.site-branding{min-width:0}
.site-title{white-space:nowrap}
.slide-image.nbe-slide-placeholder{height:510px;background:radial-gradient(circle at 78% 20%,rgba(215,25,32,.28),transparent 28%),linear-gradient(135deg,#343434 0%,#202020 48%,#090909 100%);display:flex;align-items:center;justify-content:center}
.nbe-slide-placeholder:before{content:"TELANGANA NEWS ROOM";font-family:Georgia,serif;font-size:clamp(22px,4vw,46px);font-weight:700;letter-spacing:.04em;color:rgba(255,255,255,.14);text-align:center;padding:20px}
@media(max-width:760px){
 .site-header{position:relative}
 .primary-nav .sub-menu{position:static;box-shadow:none;border:0;border-left:2px solid var(--line);margin:0 0 0 10px;padding:0 0 0 8px;min-width:0}
 .primary-nav li:hover>.sub-menu{display:none}
 .primary-nav li:focus-within>.sub-menu{display:flex}
 .slide-image.nbe-slide-placeholder{height:min(68vw,390px);min-height:245px}
}


/* v1.2 layout correction: constrain header and render nested menu as a true dropdown */
html,body{max-width:100%;overflow-x:hidden}
.site-container{width:min(var(--content),calc(100% - 40px));margin-left:auto;margin-right:auto}
.header-main{width:min(var(--content),calc(100% - 40px));margin-left:auto;margin-right:auto;min-width:0;overflow:visible}
.site-branding{flex:0 0 auto;max-width:34%}
.primary-nav{min-width:0;overflow:visible}
.primary-nav>ul{display:flex;flex-wrap:nowrap;align-items:center;justify-content:center;gap:clamp(10px,1.55vw,25px);min-width:0}
.primary-nav>ul>li{flex:0 0 auto}
.primary-nav>ul>li>a{display:block;white-space:nowrap}
.primary-nav ul.sub-menu,
.primary-nav .sub-menu{display:none;position:absolute;top:100%;left:0;z-index:9999;min-width:215px;max-width:260px;margin:0;padding:7px 0;background:#fff;border:1px solid var(--line);box-shadow:0 12px 28px rgba(0,0,0,.13);flex-direction:column;align-items:stretch;justify-content:flex-start;gap:0}
.primary-nav li.menu-item-has-children{position:relative}
.primary-nav li.menu-item-has-children:hover>.sub-menu,
.primary-nav li.menu-item-has-children:focus-within>.sub-menu{display:flex}
.primary-nav .sub-menu li{display:block;width:100%;padding:0;margin:0;border:0}
.primary-nav .sub-menu a{display:block;width:100%;padding:10px 15px;font-size:14px;line-height:1.35;white-space:normal}
.primary-nav .sub-menu a:hover{background:#f5f5f5;color:var(--accent)}
.primary-nav .sub-menu .sub-menu{top:0;left:100%}
.trending-inner{width:min(var(--content),calc(100% - 40px));margin-left:auto;margin-right:auto}
.site-main>.site-container{width:min(var(--content),calc(100% - 40px));margin-left:auto;margin-right:auto}
.nbe-slide-placeholder{width:100%;height:510px;background:radial-gradient(circle at 78% 20%,rgba(215,25,32,.32),transparent 28%),linear-gradient(135deg,#343434 0%,#202020 48%,#090909 100%) !important;display:flex;align-items:center;justify-content:center}
.nbe-slide-placeholder:before{content:"TELANGANA NEWS ROOM";display:block;font-family:Georgia,serif;font-size:clamp(22px,4vw,46px);font-weight:700;letter-spacing:.04em;color:rgba(255,255,255,.22);text-align:center;padding:20px}
@media(max-width:1100px){
 .header-main{gap:12px}
 .site-branding{max-width:28%}
 .site-title{font-size:clamp(20px,2vw,27px)}
 .primary-nav>ul{gap:10px}
 .primary-nav>ul>li>a{font-size:13px}
}
@media(max-width:760px){
 .header-main{width:calc(100% - 28px)}
 .site-branding{max-width:none}
 .primary-nav{overflow:visible}
 .primary-nav>ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0}
 .primary-nav>ul>li{min-width:0}
 .primary-nav .sub-menu{position:static;display:none;min-width:0;max-width:none;border:0;border-left:2px solid var(--line);box-shadow:none;margin:0 0 0 8px;padding:0 0 0 8px}
 .primary-nav li.menu-item-has-children:hover>.sub-menu{display:none}
 .primary-nav li.menu-item-has-children:focus-within>.sub-menu{display:flex}
 .nbe-slide-placeholder{height:min(68vw,390px);min-height:245px}
}


/* Custom WP v1.3 – dynamic category homepage sections */
.category-home-section{margin-top:42px}
.category-home-section .home-section-header{margin-bottom:10px}
.category-subnav{display:flex;align-items:center;gap:20px;overflow-x:auto;white-space:nowrap;padding:0 0 15px;margin-bottom:17px;border-bottom:1px solid var(--line);scrollbar-width:thin}
.category-subnav-link{font-size:13px;color:#62676d;font-weight:600;flex:0 0 auto}
.category-subnav-link:hover,.category-subnav-link.is-current{color:var(--accent)}
.category-subnav-link.is-current{font-weight:800}
.category-feature-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,1fr);gap:25px;align-items:start}
.category-feature-image{width:100%;aspect-ratio:16/9;object-fit:cover;background:#eee}
.category-image-placeholder,.category-thumb-placeholder{display:block;background:linear-gradient(135deg,#e7e7e7,#f5f5f5)}
.category-featured h3{font-family:Georgia,serif;font-size:25px;line-height:1.18;margin:11px 0 7px}
.category-feature-excerpt{font-size:14px;line-height:1.55;color:#555;margin:9px 0 0}
.category-compact-list{display:flex;flex-direction:column}
.category-compact-item{display:grid;grid-template-columns:112px minmax(0,1fr);gap:14px;padding:0 0 15px;margin:0 0 15px;border-bottom:1px solid var(--line);align-items:start}
.category-compact-item:last-child{margin-bottom:0}
.category-compact-thumb img,.category-thumb-placeholder{width:112px;height:78px;object-fit:cover}
.category-compact-copy h3{font-family:Georgia,serif;font-size:18px;line-height:1.2;margin:1px 0 7px}
@media(max-width:760px){
 .category-feature-grid{grid-template-columns:1fr;gap:18px}
 .category-featured h3{font-size:22px}
 .category-compact-item{grid-template-columns:100px minmax(0,1fr);gap:12px}
 .category-compact-thumb img,.category-thumb-placeholder{width:100px;height:72px}
 .category-compact-copy h3{font-size:16px}
 .category-subnav{gap:16px}
}


/* v1.4 – refined editorial category modules */
.category-home-section{
  margin-top:52px;
  padding:24px 26px 26px;
  background:#fafafa;
  border:1px solid #ececec;
  border-top:3px solid #202020;
}
.category-section-topline{
  display:flex;align-items:center;gap:12px;
  margin:0 0 7px;
}
.category-section-kicker{
  color:var(--accent);font-size:10px;font-weight:800;
  letter-spacing:.16em;text-transform:uppercase;white-space:nowrap;
}
.category-section-rule{height:1px;background:#e5e5e5;flex:1}
.category-home-section .home-section-header{
  border:0;margin:0;padding:0 0 15px;
  border-bottom:1px solid #dedede;
}
.category-home-section .home-section-title{
  font-size:30px;letter-spacing:-.7px;
}
.category-home-section .view-all{
  display:inline-flex;align-items:center;gap:7px;
  padding:8px 12px;border:1px solid #e5b7b8;
  color:var(--accent);font-size:11px;letter-spacing:.04em;
  transition:background .2s,color .2s,border-color .2s;
}
.category-home-section .view-all:hover{
  background:var(--accent);color:#fff;border-color:var(--accent);
}
.category-subnav{
  gap:9px;padding:13px 0 16px;margin:0 0 20px;
  border-bottom:1px solid #e6e6e6;
}
.category-subnav-link{
  display:inline-flex;padding:5px 12px;border:1px solid transparent;
  border-radius:20px;background:#f0f0f0;color:#555;
  font-size:12px;font-weight:700;transition:all .2s;
}
.category-subnav-link:hover,.category-subnav-link.is-current{
  background:#202020;color:#fff;border-color:#202020;
}
.category-feature-grid{
  display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,1fr);
  gap:28px;align-items:stretch;
}
.category-featured-story{min-width:0}
.category-featured-story>a{display:block}
.category-feature-image{
  width:100%;aspect-ratio:16/9;max-height:390px;
  object-fit:cover;background:#e9e9e9;
  transition:transform .35s ease;
}
.category-featured-story>a:hover .category-feature-image{transform:scale(1.012)}
.category-featured-story h3{
  font-family:Georgia,serif;font-size:clamp(23px,2.2vw,30px);
  line-height:1.14;letter-spacing:-.55px;margin:8px 0 8px;
}
.category-story-label{
  display:inline-block;margin-top:13px;color:var(--accent);
  font-size:10px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;
}
.category-featured-story .news-meta{font-size:11px}
.category-feature-excerpt{
  max-width:760px;font-size:14px;line-height:1.65;color:#555;margin:9px 0 0;
}
.category-compact-list{
  min-width:0;display:flex;flex-direction:column;
  border-left:1px solid #e2e2e2;padding-left:25px;
}
.category-compact-item{
  display:grid;grid-template-columns:116px minmax(0,1fr);
  gap:14px;padding:0 0 16px;margin:0 0 16px;
  border-bottom:1px solid #e2e2e2;align-items:start;
}
.category-compact-item:last-child{border-bottom:0;margin-bottom:0;padding-bottom:0}
.category-compact-thumb{display:block;overflow:hidden;background:#e8e8e8}
.category-compact-thumb img,.category-thumb-placeholder{
  width:116px;height:82px;object-fit:cover;transition:transform .3s ease;
}
.category-compact-thumb:hover img{transform:scale(1.06)}
.category-compact-copy h3{
  font-family:Georgia,serif;font-size:17px;line-height:1.23;
  letter-spacing:-.2px;margin:0 0 7px;
}
.category-compact-copy h3 a:hover{color:var(--accent)}
.category-compact-copy .news-meta{font-size:11px}
@media(max-width:900px){
  .category-feature-grid{grid-template-columns:minmax(0,1.25fr) minmax(250px,1fr);gap:20px}
  .category-compact-list{padding-left:18px}
  .category-compact-item{grid-template-columns:96px minmax(0,1fr);gap:11px}
  .category-compact-thumb img,.category-thumb-placeholder{width:96px;height:72px}
  .category-compact-copy h3{font-size:15px}
}
@media(max-width:760px){
  .category-home-section{margin-top:30px;padding:17px 15px 18px}
  .category-home-section .home-section-title{font-size:25px}
  .category-home-section .home-section-header{align-items:center}
  .category-subnav{gap:7px;padding:11px 0 13px;margin-bottom:15px}
  .category-subnav-link{font-size:11px;padding:5px 10px}
  .category-feature-grid{grid-template-columns:1fr;gap:20px}
  .category-feature-image{aspect-ratio:16/9;max-height:none}
  .category-featured-story h3{font-size:23px}
  .category-compact-list{border-left:0;border-top:1px solid #ddd;padding:17px 0 0}
  .category-compact-item{grid-template-columns:112px minmax(0,1fr);gap:13px;padding-bottom:13px;margin-bottom:13px}
  .category-compact-thumb img,.category-thumb-placeholder{width:112px;height:78px}
  .category-compact-copy h3{font-size:16px}
}
@media(max-width:420px){
  .category-home-section{padding:15px 12px}
  .category-home-section .home-section-title{font-size:23px}
  .category-home-section .view-all{padding:6px 8px;font-size:10px}
  .category-compact-item{grid-template-columns:96px minmax(0,1fr);gap:10px}
  .category-compact-thumb img,.category-thumb-placeholder{width:96px;height:70px}
}


/* v1.5 – mixed editorial homepage: latest updates + 3-column and 2-column category modules */
.recent-updates-section{margin-top:38px;padding:23px 24px 25px;background:#fff;border:1px solid #e8e8e8}
.recent-updates-heading{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:17px;padding-bottom:12px;border-bottom:2px solid #202020}
.recent-eyebrow{display:block;color:var(--accent);font-size:10px;font-weight:900;letter-spacing:.17em;margin-bottom:5px}
.recent-updates-heading .home-section-title{font-size:28px}
.recent-updates-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.recent-update-card{min-width:0;display:flex;flex-direction:column}
.recent-update-image{display:block;overflow:hidden;background:#eee}
.recent-update-image img,.recent-update-image .category-thumb-placeholder{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;transition:transform .35s}
.recent-update-image:hover img{transform:scale(1.04)}
.recent-update-copy{padding-top:10px}
.recent-update-meta{font-size:10px;color:var(--accent);font-weight:800;letter-spacing:.04em;text-transform:uppercase;margin-bottom:5px}
.recent-update-copy h3{font:700 19px/1.22 Georgia,serif;margin:0 0 6px}
.recent-update-copy h3 a:hover{color:var(--accent)}
.recent-update-copy p{font-size:13px;line-height:1.5;color:#666;margin:0}
.category-layout-three .category-three-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 20px}
.category-three-card{min-width:0;border-bottom:1px solid #e5e5e5;padding-bottom:16px}
.category-three-image{display:block;overflow:hidden;background:#eee}
.category-three-image img,.category-three-image .category-thumb-placeholder{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;transition:transform .35s}
.category-three-image:hover img{transform:scale(1.04)}
.category-three-copy{padding-top:8px}
.category-three-copy .category-story-label{margin:0 0 6px}
.category-three-copy h3{font:700 19px/1.22 Georgia,serif;letter-spacing:-.2px;margin:0 0 7px}
.category-three-copy h3 a:hover{color:var(--accent)}
.category-three-copy p{font-size:13px;line-height:1.5;color:#666;margin:7px 0 0}
.category-layout-two .category-feature-grid{grid-template-columns:minmax(0,1.5fr) minmax(290px,1fr);gap:28px}
.category-layout-two .category-feature-image{aspect-ratio:16/9;max-height:380px}
.category-layout-two .category-compact-list{border-left:1px solid #e2e2e2;padding-left:24px}
@media(max-width:900px){
 .recent-updates-grid{gap:15px}
 .recent-update-copy h3,.category-three-copy h3{font-size:17px}
 .category-layout-two .category-feature-grid{grid-template-columns:minmax(0,1.2fr) minmax(240px,1fr);gap:18px}
 .category-layout-two .category-compact-list{padding-left:16px}
}
@media(max-width:760px){
 .recent-updates-section{padding:17px 15px}
 .recent-updates-heading .home-section-title{font-size:24px}
 .recent-updates-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 13px}
 .recent-update-copy h3{font-size:16px}
 .recent-update-copy p{display:none}
 .category-layout-three .category-three-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 13px}
 .category-three-copy h3{font-size:16px}
 .category-three-copy p{display:none}
 .category-layout-two .category-feature-grid{grid-template-columns:1fr;gap:18px}
 .category-layout-two .category-compact-list{border-left:0;border-top:1px solid #ddd;padding:17px 0 0}
}
@media(max-width:420px){
 .recent-updates-grid{grid-template-columns:1fr}
 .recent-update-card{display:grid;grid-template-columns:112px minmax(0,1fr);gap:12px;align-items:start}
 .recent-update-copy{padding-top:0}
 .recent-update-image img,.recent-update-image .category-thumb-placeholder{width:112px;height:82px;aspect-ratio:auto}
 .recent-update-copy h3{font-size:15px}
 .category-layout-three .category-three-grid{grid-template-columns:1fr}
 .category-three-card{display:grid;grid-template-columns:112px minmax(0,1fr);gap:12px;align-items:start}
 .category-three-image img,.category-three-image .category-thumb-placeholder{width:112px;height:82px;aspect-ratio:auto}
 .category-three-copy{padding-top:0}
 .category-three-copy h3{font-size:15px}
}


/* v1.6 – polished color system inspired by the approved editorial mockup */
:root{
  --brand-navy:#102747;
  --brand-navy-deep:#0b1d36;
  --brand-red:#d71920;
  --brand-pink:#d92f50;
  --brand-blue:#1769c2;
  --brand-purple:#7138b8;
  --brand-teal:#138477;
  --brand-amber:#c87918;
  --brand-bg:#f5f7fa;
  --brand-line:#e5eaf0;
}
body{background:var(--brand-bg)}
.site-header{background:#fff;box-shadow:0 2px 14px rgba(16,39,71,.07)}
.site-title,.site-branding a{color:var(--brand-navy)}
.primary-nav{background:var(--brand-navy)}
.primary-nav>ul>li>a{color:#fff}
.primary-nav>ul>li:hover>a,.primary-nav>ul>li.current-menu-item>a{color:#fff;background:rgba(255,255,255,.12)}
.primary-nav .sub-menu{background:#fff;border-color:#e3e8ef}
.primary-nav .sub-menu a{color:var(--brand-navy)}
.trending-bar{background:#fff0f1;border-top:1px solid #ffe0e2;border-bottom:1px solid #ffe0e2}
.trending-label{color:var(--brand-red)}
.trending-links a{color:#8f1c27}
.site-main{background:var(--brand-bg)}
.section-heading{background:var(--brand-navy);color:#fff;padding:12px 15px;border-radius:10px 10px 0 0}
.latest-panel{background:#fff;border:1px solid var(--brand-line);border-radius:12px;overflow:hidden;box-shadow:0 5px 18px rgba(16,39,71,.06)}
.latest-list{padding:0 15px}
.latest-item{border-bottom:1px solid #edf0f4}
.latest-number{color:#b9c4d2}
.featured-slider{border-radius:13px;overflow:hidden;box-shadow:0 8px 24px rgba(16,39,71,.12)}
.slide-overlay{background:linear-gradient(180deg,transparent 20%,rgba(5,18,36,.88) 100%)}
.slide-category{background:var(--brand-red);border-radius:4px;padding:5px 9px}
.home-section-header{border-bottom:0}
.recent-updates-section{background:#fff;border:1px solid var(--brand-line);border-radius:14px;box-shadow:0 5px 18px rgba(16,39,71,.045)}
.recent-updates-heading{border-bottom:2px solid var(--brand-navy)}
.recent-updates-heading .home-section-title{color:var(--brand-navy)}
.recent-update-card{background:#fff;border:1px solid #edf0f4;border-radius:10px;overflow:hidden;box-shadow:0 3px 12px rgba(16,39,71,.045);transition:transform .2s,box-shadow .2s}
.recent-update-card:hover{transform:translateY(-3px);box-shadow:0 8px 20px rgba(16,39,71,.10)}
.recent-update-image img,.recent-update-image .category-thumb-placeholder{border-radius:0}
.recent-update-copy{padding:11px 12px 13px}
.recent-update-meta{color:var(--brand-red)}
.category-home-section{
  --section-accent:var(--brand-red);
  --section-tint:#fff2f3;
  background:#fff;border:1px solid var(--brand-line);
  border-top:0;border-radius:14px;padding:0 22px 23px;
  overflow:hidden;box-shadow:0 5px 18px rgba(16,39,71,.045);
}
.category-section-topline{display:none}
.category-home-section .home-section-header{
  margin:0 -22px 0;padding:15px 22px;
  background:linear-gradient(105deg,var(--section-accent),color-mix(in srgb,var(--section-accent) 78%,#fff));
  border:0;color:#fff;
}
.category-home-section .home-section-title,
.category-home-section .home-section-title a{color:#fff}
.category-home-section .home-section-title{font-family:Arial,sans-serif;font-size:25px;font-weight:800;letter-spacing:-.5px}
.category-home-section .view-all{
  color:#fff;border:1px solid rgba(255,255,255,.55);
  border-radius:20px;padding:7px 12px;font-size:11px;
}
.category-home-section .view-all:hover{background:#fff;color:var(--section-accent);border-color:#fff}
.category-subnav{
  margin:0 -22px 19px;padding:12px 22px;
  background:var(--section-tint);border-bottom:1px solid color-mix(in srgb,var(--section-accent) 14%,#fff);
}
.category-subnav-link{
  background:#fff;border:1px solid color-mix(in srgb,var(--section-accent) 18%,#fff);
  color:#465366;border-radius:18px;padding:6px 12px;
}
.category-subnav-link:hover,.category-subnav-link.is-current{
  background:var(--section-accent);border-color:var(--section-accent);color:#fff;
}
.category-story-label{color:var(--section-accent)}
.category-featured-story h3,.category-three-copy h3,.category-compact-copy h3{color:#17263b}
.category-featured-story h3 a:hover,.category-three-copy h3 a:hover,.category-compact-copy h3 a:hover{color:var(--section-accent)}
.category-three-card{background:#fff;border:1px solid #edf0f4;border-radius:10px;overflow:hidden;padding:0 0 13px;box-shadow:0 3px 12px rgba(16,39,71,.04)}
.category-three-copy{padding:0 13px}
.category-three-copy .category-story-label{margin-top:11px}
.category-three-image img,.category-three-image .category-thumb-placeholder{border-radius:0}
.category-layout-two .category-compact-list{background:linear-gradient(180deg,var(--section-tint),#fff 40%);border-left:0;border-radius:10px;padding:15px}
.category-layout-two .category-compact-item{border-bottom:1px solid color-mix(in srgb,var(--section-accent) 13%,#fff)}
.category-layout-two .category-compact-item:last-child{border-bottom:0}
.category-compact-thumb img{border-radius:7px}
.category-compact-copy h3{font-size:17px}
.category-home-section.category-color-telangana{--section-accent:#d92f50;--section-tint:#fff0f3}
.category-home-section.category-color-andhra-pradesh{--section-accent:#168477;--section-tint:#eaf8f5}
.category-home-section.category-color-india{--section-accent:#d87919;--section-tint:#fff6e9}
.category-home-section.category-color-politics{--section-accent:#1769c2;--section-tint:#edf5ff}
.category-home-section.category-color-telugu-cinema{--section-accent:#c33b65;--section-tint:#fff0f5}
.category-home-section.category-color-entertainment{--section-accent:#9b45a6;--section-tint:#faf0fc}
.category-home-section.category-color-ott{--section-accent:#7138b8;--section-tint:#f5efff}
.category-home-section.category-color-world{--section-accent:#287b9e;--section-tint:#edf8fc}
.category-home-section.category-color-business{--section-accent:#247b58;--section-tint:#edf8f1}
.category-home-section.category-color-technology{--section-accent:#3755a5;--section-tint:#eef2ff}
.category-home-section.category-color-sports{--section-accent:#bd651c;--section-tint:#fff4e9}
.category-home-section.category-color-education-jobs{--section-accent:#397d9b;--section-tint:#edf8fc}
.category-home-section.category-color-lifestyle{--section-accent:#b34b85;--section-tint:#fff0f7}
@media(max-width:760px){
 .category-home-section{padding:0 14px 16px;border-radius:11px}
 .category-home-section .home-section-header{margin:0 -14px;padding:13px 14px}
 .category-home-section .home-section-title{font-size:22px}
 .category-subnav{margin:0 -14px 15px;padding:10px 14px}
 .category-layout-two .category-compact-list{padding:13px}
 .category-three-card{border-radius:8px}
}


/* v1.7 – soft gradient editorial panels inspired by modern product/news storytelling */
.category-home-section{
  position:relative;isolation:isolate;
  margin-top:38px;padding:0 22px 24px;
  border:1px solid rgba(220,229,240,.9);
  border-radius:22px;overflow:hidden;
  background:
    radial-gradient(ellipse at 2% 100%,var(--section-glow,rgba(100,160,255,.13)) 0,transparent 48%),
    linear-gradient(120deg,var(--section-wash,#f3f7ff) 0%,#fff 58%,var(--section-wash-2,#f7faff) 100%);
  box-shadow:0 10px 30px rgba(23,48,82,.045);
}
.category-home-section:before{
  content:"";position:absolute;z-index:-1;pointer-events:none;
  width:300px;height:300px;right:-115px;top:-155px;border-radius:50%;
  background:radial-gradient(circle,var(--section-glow,rgba(100,160,255,.16)),transparent 70%);
}
.category-home-section .home-section-header{
  margin:0 -22px 0;padding:19px 22px 14px;
  background:transparent;border:0;color:var(--section-ink,#17345c);
  position:relative;
}
.category-home-section .home-section-title,
.category-home-section .home-section-title a{
  color:var(--section-ink,#17345c);
}
.category-home-section .home-section-title{
  font-family:Arial,sans-serif;font-size:27px;font-weight:800;
  letter-spacing:-.7px;display:flex;align-items:center;gap:12px;
}
.category-home-section .home-section-title:before{
  content:"";display:block;width:6px;height:31px;border-radius:8px;
  background:linear-gradient(180deg,var(--section-accent),var(--section-accent-2,var(--section-accent)));
}
.category-home-section .view-all{
  color:var(--section-accent);border:1px solid color-mix(in srgb,var(--section-accent) 28%,#fff);
  background:rgba(255,255,255,.64);border-radius:22px;padding:8px 14px;
  font-weight:800;
}
.category-home-section .view-all:hover{
  background:var(--section-accent);color:#fff;border-color:var(--section-accent);
}
.category-subnav{
  margin:0 -22px 20px;padding:11px 22px 14px;
  background:rgba(255,255,255,.42);
  border-top:1px solid rgba(255,255,255,.8);
  border-bottom:1px solid rgba(220,229,240,.8);
}
.category-subnav-link{
  border-radius:22px;background:rgba(255,255,255,.78);
  border:1px solid rgba(220,229,240,.9);
  color:var(--section-ink,#42536b);padding:7px 14px;
}
.category-subnav-link:hover,.category-subnav-link.is-current{
  background:var(--section-accent);border-color:var(--section-accent);color:#fff;
}
.category-layout-three .category-three-grid{gap:18px}
.category-three-card{
  background:rgba(255,255,255,.88);border:1px solid rgba(224,231,240,.9);
  border-radius:15px;overflow:hidden;padding:0 0 14px;
  box-shadow:0 5px 18px rgba(25,50,85,.045);
  transition:transform .22s ease,box-shadow .22s ease;
}
.category-three-card:hover{
  transform:translateY(-4px);box-shadow:0 12px 26px rgba(25,50,85,.11);
}
.category-three-image img,.category-three-image .category-thumb-placeholder{
  border-radius:0;aspect-ratio:16/9;object-fit:cover;
}
.category-three-copy{padding:0 14px}
.category-three-copy .category-story-label{
  color:var(--section-accent);font-size:10px;letter-spacing:.12em;
  margin:12px 0 7px;
}
.category-three-copy h3{font-size:19px;line-height:1.25}
.category-three-copy p{color:#596579}
.category-layout-two .category-feature-grid{gap:24px}
.category-layout-two .category-featured-story{
  background:rgba(255,255,255,.9);border:1px solid rgba(224,231,240,.9);
  border-radius:16px;overflow:hidden;padding-bottom:16px;
  box-shadow:0 5px 18px rgba(25,50,85,.045);
}
.category-layout-two .category-featured-story>a,
.category-layout-two .category-featured-story>.news-meta,
.category-layout-two .category-featured-story>.category-feature-excerpt{margin-left:16px;margin-right:16px}
.category-layout-two .category-featured-story>a .category-feature-image{width:calc(100% + 32px);max-width:none;margin-left:-16px}
.category-layout-two .category-featured-story .category-story-label{margin-top:13px}
.category-layout-two .category-compact-list{
  background:rgba(255,255,255,.64);border:1px solid rgba(224,231,240,.9);
  border-radius:16px;padding:15px;
}
.category-layout-two .category-compact-item{
  border-bottom:1px solid rgba(218,228,240,.9);padding-bottom:13px;margin-bottom:13px;
}
.category-layout-two .category-compact-item:last-child{border:0;margin:0;padding:0}
.category-compact-thumb img{border-radius:9px}
.category-home-section.category-color-telangana{
  --section-accent:#df4165;--section-accent-2:#ff8b9e;--section-ink:#74223d;
  --section-wash:#fff0f4;--section-wash-2:#fff8fa;--section-glow:rgba(245,91,133,.19)
}
.category-home-section.category-color-andhra-pradesh{
  --section-accent:#149b8a;--section-accent-2:#73d8c4;--section-ink:#155b55;
  --section-wash:#eafaf6;--section-wash-2:#f6fffc;--section-glow:rgba(52,196,168,.19)
}
.category-home-section.category-color-india{
  --section-accent:#dc8a28;--section-accent-2:#f5c36b;--section-ink:#754717;
  --section-wash:#fff6e9;--section-wash-2:#fffdf7;--section-glow:rgba(245,177,75,.2)
}
.category-home-section.category-color-politics{
  --section-accent:#2675d8;--section-accent-2:#69b9f5;--section-ink:#173e79;
  --section-wash:#edf5ff;--section-wash-2:#f8fbff;--section-glow:rgba(73,151,238,.2)
}
.category-home-section.category-color-telugu-cinema{
  --section-accent:#cf4774;--section-accent-2:#f18bb0;--section-ink:#742d4b;
  --section-wash:#fff0f5;--section-wash-2:#fff9fb;--section-glow:rgba(226,94,148,.18)
}
.category-home-section.category-color-entertainment{
  --section-accent:#a04db5;--section-accent-2:#d49be2;--section-ink:#5e326e;
  --section-wash:#f8effb;--section-wash-2:#fdf9ff;--section-glow:rgba(179,105,201,.18)
}
.category-home-section.category-color-ott{
  --section-accent:#7546c8;--section-accent-2:#b39af0;--section-ink:#42266f;
  --section-wash:#f4efff;--section-wash-2:#fbf9ff;--section-glow:rgba(139,103,220,.2)
}
.category-home-section.category-color-world{
  --section-accent:#2589ad;--section-accent-2:#80cfe0;--section-ink:#1e526b;
  --section-wash:#edf9fc;--section-wash-2:#f8fdff;--section-glow:rgba(83,181,207,.18)
}
.category-home-section.category-color-business{
  --section-accent:#25845e;--section-accent-2:#82c99d;--section-ink:#20563e;
  --section-wash:#eef9f1;--section-wash-2:#f9fdf9;--section-glow:rgba(90,181,125,.18)
}
.category-home-section.category-color-technology{
  --section-accent:#4b61b8;--section-accent-2:#92a8f0;--section-ink:#303e78;
  --section-wash:#f0f3ff;--section-wash-2:#fafbff;--section-glow:rgba(109,132,221,.18)
}
.category-home-section.category-color-sports{
  --section-accent:#c97828;--section-accent-2:#f1b66c;--section-ink:#75451c;
  --section-wash:#fff5e9;--section-wash-2:#fffdf9;--section-glow:rgba(228,158,76,.18)
}
.category-home-section.category-color-education-jobs{
  --section-accent:#3b8ca8;--section-accent-2:#8acbd9;--section-ink:#20566b;
  --section-wash:#eef9fc;--section-wash-2:#fbfeff;--section-glow:rgba(91,180,203,.18)
}
.category-home-section.category-color-lifestyle{
  --section-accent:#b84f91;--section-accent-2:#e6a0ca;--section-ink:#6e3158;
  --section-wash:#fff1f8;--section-wash-2:#fffaff;--section-glow:rgba(216,111,174,.18)
}
.recent-updates-section{
  background:linear-gradient(115deg,#f0f7ff 0%,#f4fbf8 52%,#fff7f8 100%);
  border:1px solid #e5edf4;border-radius:20px;
}
.recent-update-card{border-radius:14px}
@media(max-width:760px){
 .category-home-section{padding:0 14px 16px;border-radius:16px}
 .category-home-section .home-section-header{margin:0 -14px;padding:15px 14px 12px}
 .category-home-section .home-section-title{font-size:22px}
 .category-subnav{margin:0 -14px 15px;padding:10px 14px}
 .category-layout-two .category-featured-story>a .category-feature-image{width:calc(100% + 28px);margin-left:-14px}
 .category-layout-two .category-featured-story>a,
 .category-layout-two .category-featured-story>.news-meta,
 .category-layout-two .category-featured-story>.category-feature-excerpt{margin-left:14px;margin-right:14px}
}
