/*
Theme Name: Telangana Netram TV - Main & Post Widgets Plus 3.1.4
Theme URI: https://example.com/
Author: Telangana Netram TV
Description: A fully customizable Telugu news portal theme inspired by the supplied Telangana Netram TV layout. No Elementor required.
Version: 3.1.4
Text Domain: telangana-netram-sidebar
License: GPL-2.0-or-later
*/
:root{
  --tn-navy:#0b2f6b;
  --tn-blue:#08a8e8;
  --tn-red:#d51f3c;
  --tn-text:#151515;
  --tn-muted:#6d7785;
  --tn-border:#e7e9ed;
  --tn-bg:#fff;
  --tn-container:1180px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;background:var(--tn-bg);color:var(--tn-text);
  font-family:Arial,"Noto Sans Telugu","Nirmala UI",sans-serif;
  line-height:1.6;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto;display:block}
.container{width:min(100% - 32px,var(--tn-container));margin-inline:auto}
.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.site-header{background:var(--tn-navy);color:#fff}
.top-strip{min-height:42px;border-bottom:1px solid rgba(255,255,255,.12);font-size:13px}
.top-strip-inner{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:42px}
.top-links{display:flex;gap:16px;align-items:center;flex-wrap:wrap}
.top-links a:hover{opacity:.8}
.header-main{min-height:84px;display:flex;align-items:center}
.header-main-inner{display:grid;grid-template-columns:260px 1fr 260px;align-items:center;gap:20px}
.custom-logo{width:auto !important;height:auto !important;max-width:180px;max-height:72px;object-fit:contain}
.site-branding{display:flex;align-items:center}
.custom-logo-link{display:inline-flex;align-items:center}
.site-title{font-size:27px;font-weight:800;margin:0}
.site-description{font-size:12px;opacity:.75;margin:0}
.header-search{justify-self:center}
.search-toggle{border:0;background:transparent;color:#fff;font-size:20px;cursor:pointer}
.header-tools{display:flex;justify-content:flex-end;align-items:center;gap:12px;font-size:13px}
.social-links{display:flex;gap:8px}
.social-links a{display:inline-flex;width:28px;height:28px;border-radius:50%;align-items:center;justify-content:center;background:rgba(255,255,255,.12);font-size:12px}
.main-navigation{background:var(--tn-blue)}
.main-navigation .menu-toggle{display:none}
.main-navigation ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:nowrap;align-items:stretch;overflow-x:auto;overflow-y:hidden;white-space:nowrap;scrollbar-width:none;width:100%}
.main-navigation ul::-webkit-scrollbar{display:none}
.main-navigation li{margin:0;flex:0 0 auto;white-space:nowrap}
.main-navigation a{
  color:#fff;display:block;padding:13px 16px;font-weight:700;font-size:15px;white-space:nowrap;line-height:1.2
}
.main-navigation a:hover,.main-navigation .current-menu-item>a{background:rgba(0,0,0,.14)}
.breaking-bar{background:#f6f7f9;border-bottom:1px solid var(--tn-border)}
.breaking-inner{display:flex;align-items:center;min-height:42px;overflow:hidden}
.breaking-label{background:var(--tn-red);color:#fff;font-weight:800;padding:7px 12px;margin-right:0;white-space:nowrap;position:relative;z-index:2;flex:0 0 auto}
.breaking-track{white-space:nowrap;overflow:hidden;position:relative;flex:1;min-width:0;height:42px;display:flex;align-items:center}
.breaking-marquee{display:flex;width:max-content;will-change:transform;animation:tnTicker 42s linear infinite}
.breaking-set{display:flex;align-items:center;flex:0 0 auto}
.breaking-item{display:inline-flex;align-items:center;gap:8px;color:#222;text-decoration:none;font-weight:700;font-size:15px;line-height:1.2;padding:0 28px;white-space:nowrap}
.breaking-item:hover{color:var(--tn-red)}
.breaking-arrow{color:#e00000;font-size:14px}
.breaking-track:hover .breaking-marquee{animation-play-state:paused}
@keyframes tnTicker{from{transform:translateX(0)}to{transform:translateX(-50%)}}

.site-main{padding:28px 0 50px}
.hero-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(300px,.95fr);gap:18px;margin-bottom:36px}
.hero-card{position:relative;min-height:410px;overflow:hidden;border-radius:6px;background:#111}
.hero-card img{width:100%;height:100%;min-height:410px;object-fit:cover}
.hero-card:after{content:"";position:absolute;inset:35% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.88))}
.hero-content{position:absolute;z-index:2;left:22px;right:22px;bottom:20px;color:#fff}
.category-badge{display:inline-block;background:var(--tn-red);color:#fff;padding:4px 10px;font-size:12px;font-weight:800;border-radius:2px;margin-bottom:8px}
.hero-title{font-size:31px;line-height:1.25;margin:0 0 8px;font-weight:800}
.post-date{font-size:13px;color:#77818e}
.hero-content .post-date{color:#fff;opacity:.9}
.side-news{display:flex;flex-direction:column;gap:14px}
.category-feature-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(300px,.95fr);gap:18px}
.category-feature-card{position:relative;min-height:330px;overflow:hidden;border-radius:6px;background:#111}
.category-feature-card img{width:100%;height:330px;object-fit:cover}
.category-feature-card:after{content:"";position:absolute;inset:35% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.88))}
.category-feature-content{position:absolute;z-index:2;left:20px;right:20px;bottom:18px;color:#fff}
.category-feature-content h3{font-size:27px;line-height:1.28;margin:0 0 7px;font-weight:800}
.category-feature-content .post-date{color:#fff;opacity:.9}
.category-side-news{display:flex;flex-direction:column;gap:14px}
.category-side-news article{display:grid;grid-template-columns:82px 1fr;gap:12px;align-items:start}
.category-side-news img{width:82px;height:72px;object-fit:cover;border-radius:4px}

.side-news article{display:grid;grid-template-columns:82px 1fr;gap:12px;align-items:start}
.side-news img{width:82px;height:78px;object-fit:cover;border-radius:4px}
.side-title{font-size:16px;line-height:1.35;margin:0 0 5px;font-weight:800}
.section{margin-top:32px}
.section-heading{display:flex;align-items:center;justify-content:space-between;border-bottom:3px solid var(--tn-blue);margin-bottom:16px}
.section-heading h2{margin:0;background:var(--tn-blue);color:#fff;padding:7px 15px;font-size:20px}
.section-heading a{font-size:13px;color:var(--tn-blue);font-weight:700}
.news-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.news-card{border:1px solid var(--tn-border);background:#fff;border-radius:4px;overflow:hidden}
.news-card img{width:100%;height:155px;object-fit:cover}
.news-card-body{padding:11px}
.news-card h3{font-size:17px;line-height:1.35;margin:3px 0 7px}
.news-card .post-date{font-size:12px}
.list-section{display:grid;grid-template-columns:2fr 1fr;gap:24px}
.list-news{display:flex;flex-direction:column;gap:14px}
.list-news article{display:grid;grid-template-columns:170px 1fr;gap:14px;border-bottom:1px solid var(--tn-border);padding-bottom:14px}
.list-news img{width:170px;height:105px;object-fit:cover}
.list-news h3{font-size:19px;line-height:1.35;margin:0 0 6px}
.widget-area{border:1px solid var(--tn-border);padding:16px}
.widget-area h2,.widget-area h3{margin-top:0}
.site-footer{background:#092653;color:#fff;margin-top:20px;padding:35px 0}
.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:30px}
.site-footer a{opacity:.9}
.footer-menu ul{list-style:none;margin:0;padding:0}
.footer-menu li{margin-bottom:7px}
.footer-bottom{border-top:1px solid rgba(255,255,255,.15);margin-top:25px;padding-top:15px;font-size:13px;opacity:.8}
.pagination{margin:30px 0;display:flex;justify-content:center;gap:8px}
.pagination a,.pagination span{padding:7px 11px;border:1px solid var(--tn-border)}
.entry-header{margin-bottom:20px}
.entry-title{font-size:38px;line-height:1.25;margin:0 0 8px}
.entry-content{font-size:20px}
.entry-content p{margin:0 0 1em}
.entry-content img{margin:18px auto}
.single-featured{width:100%;max-height:600px;object-fit:cover;margin-bottom:20px}
.comments-area{margin-top:35px}
@media(max-width:900px){
  .category-feature-grid{grid-template-columns:1fr}
  .header-main-inner{grid-template-columns:190px 1fr auto}
  .header-tools{display:none}
  .hero-grid{grid-template-columns:1fr}
  .hero-card{min-height:360px}
  .category-feature-card{min-height:320px}
  .category-feature-card img{height:320px}
  .hero-card img{min-height:360px}
  .news-grid{grid-template-columns:repeat(2,1fr)}
  .list-section{grid-template-columns:1fr}
}
@media(max-width:640px){
  .container{width:min(100% - 20px,var(--tn-container))}
  .top-strip{display:none}
  .header-main{min-height:74px}
  .header-main-inner{grid-template-columns:auto 1fr auto;gap:8px}
  .custom-logo{width:auto !important;height:auto !important;max-height:58px;max-width:180px;object-fit:contain}
  .site-title{font-size:21px}
  .header-search{justify-self:end}
  .main-navigation ul{padding:0 2px}
  .main-navigation a{font-size:14px;padding:10px 13px}
  .breaking-inner{min-height:38px}
  .breaking-label{font-size:12px}
  .hero-card{min-height:290px}
  .category-feature-card{min-height:280px}
  .category-feature-card img{height:280px}
  .category-feature-content h3{font-size:23px}
  .hero-card img{min-height:290px}
  .hero-title{font-size:24px}
  .side-news article{grid-template-columns:74px 1fr}
  .side-news img{width:74px;height:68px}
  .side-title{font-size:15px}
  .news-grid{grid-template-columns:1fr 1fr;gap:10px}
  .news-card img{height:115px}
  .news-card h3{font-size:15px}
  .list-news article{grid-template-columns:115px 1fr;gap:10px}
  .list-news img{width:115px;height:85px}
  .list-news h3{font-size:16px}
  .footer-grid{grid-template-columns:1fr}
  .entry-title{font-size:29px}
  .entry-content{font-size:19px}
}


/* =========================================================
   TELANGANA NETRAM TV — LAYOUT OVERRIDES
   These rules intentionally use !important for compatibility
   with WordPress menu/custom-logo styles loaded by other CSS.
   ========================================================= */

/* Header logo: preserve the original image aspect ratio */
.site-header .site-branding,
.site-header .custom-logo-link{
  display:flex !important;
  align-items:center !important;
  width:auto !important;
  max-width:190px !important;
}
.site-header .custom-logo-link img.custom-logo,
.site-header img.custom-logo{
  display:block !important;
  width:auto !important;
  height:auto !important;
  max-width:190px !important;
  max-height:72px !important;
  min-width:0 !important;
  min-height:0 !important;
  object-fit:contain !important;
}

/* Header stays compact */
.site-header .header-main{
  min-height:84px !important;
}
.site-header .header-main-inner{
  display:grid !important;
  grid-template-columns:230px minmax(0,1fr) 230px !important;
  align-items:center !important;
  min-width:0 !important;
}

/* MAIN MENU — one horizontal row, never wrapping */
.site-header .main-navigation{
  width:100% !important;
  overflow:hidden !important;
}
.site-header .main-navigation > .container{
  width:min(100% - 32px,var(--tn-container)) !important;
  overflow:hidden !important;
}
.site-header .main-navigation .menu-main-menu-container,
.site-header .main-navigation .menu-primary-container,
.site-header .main-navigation > .container > div{
  width:100% !important;
  overflow:hidden !important;
}
.site-header .main-navigation ul,
.site-header .main-navigation ul.menu{
  display:flex !important;
  flex-direction:row !important;
  flex-wrap:nowrap !important;
  align-items:center !important;
  justify-content:flex-start !important;
  width:max-content !important;
  min-width:100% !important;
  max-width:none !important;
  height:46px !important;
  max-height:46px !important;
  margin:0 !important;
  padding:0 !important;
  overflow-x:auto !important;
  overflow-y:hidden !important;
  white-space:nowrap !important;
  float:none !important;
  clear:none !important;
}
.site-header .main-navigation li,
.site-header .main-navigation ul li{
  display:block !important;
  flex:0 0 auto !important;
  float:none !important;
  width:auto !important;
  max-width:none !important;
  margin:0 !important;
  padding:0 !important;
  white-space:nowrap !important;
}
.site-header .main-navigation li a,
.site-header .main-navigation ul li a{
  display:block !important;
  width:auto !important;
  white-space:nowrap !important;
  word-break:keep-all !important;
  overflow:visible !important;
  padding:13px 15px !important;
  line-height:20px !important;
  height:46px !important;
  font-size:15px !important;
}

/* CATEGORY SECTIONS — exact same left-large/right-small layout */
.site-main .category-feature-grid{
  display:flex !important;
  flex-direction:row !important;
  flex-wrap:nowrap !important;
  align-items:stretch !important;
  gap:18px !important;
  width:100% !important;
}
.site-main .category-feature-grid > .category-feature-card{
  flex:1 1 65% !important;
  width:65% !important;
  min-width:0 !important;
}
.site-main .category-feature-grid > .category-side-news{
  flex:0 0 32% !important;
  width:32% !important;
  min-width:0 !important;
  display:flex !important;
  flex-direction:column !important;
  gap:14px !important;
}
.site-main .category-side-news article{
  display:grid !important;
  grid-template-columns:82px minmax(0,1fr) !important;
  gap:12px !important;
  align-items:start !important;
  width:100% !important;
}
.site-main .category-side-news article img{
  width:82px !important;
  height:72px !important;
  object-fit:cover !important;
  border-radius:4px !important;
}
.site-main .category-side-news .side-title{
  margin:0 0 5px !important;
  line-height:1.35 !important;
  font-size:16px !important;
}

/* Do not allow the category section to become a vertical column on desktop */
@media (min-width:901px){
  .site-main .category-feature-grid{
    min-height:330px !important;
  }
}

/* Mobile: stack the large story and side stories only on small screens */
@media (max-width:900px){
  .site-header .header-main-inner{
    grid-template-columns:190px minmax(0,1fr) auto !important;
  }
  .site-header .custom-logo-link img.custom-logo,
  .site-header img.custom-logo{
    max-width:180px !important;
    max-height:58px !important;
  }
  .site-main .category-feature-grid{
    flex-direction:column !important;
    flex-wrap:nowrap !important;
  }
  .site-main .category-feature-grid > .category-feature-card,
  .site-main .category-feature-grid > .category-side-news{
    width:100% !important;
    flex:0 0 auto !important;
  }
}


/* =========================================================
   FINAL HEADER + CATEGORY FIX (v1.3)
   ========================================================= */
.site-header .header-main-inner{
  display:grid !important;
  grid-template-columns:240px minmax(0,1fr) 240px !important;
  align-items:center !important;
  gap:15px !important;
}
.site-header .site-branding{
  width:240px !important;
  max-width:240px !important;
  min-width:0 !important;
  display:flex !important;
  align-items:center !important;
}
.site-header .custom-logo-link{
  display:block !important;
  width:auto !important;
  max-width:190px !important;
  max-height:75px !important;
  line-height:0 !important;
}
.site-header .custom-logo-link img.custom-logo{
  display:block !important;
  width:auto !important;
  height:auto !important;
  max-width:190px !important;
  max-height:72px !important;
  min-width:0 !important;
  min-height:0 !important;
  aspect-ratio:auto !important;
  object-fit:contain !important;
}

/* Completely isolated one-row menu */
.site-header .tnt-horizontal-menu{
  display:block !important;
  width:100% !important;
  height:48px !important;
  max-height:48px !important;
  overflow:hidden !important;
}
.site-header .tnt-menu-inner{
  height:48px !important;
  overflow:hidden !important;
}
.site-header .tnt-menu-scroll{
  display:block !important;
  width:100% !important;
  height:48px !important;
  overflow-x:auto !important;
  overflow-y:hidden !important;
  white-space:nowrap !important;
  scrollbar-width:none !important;
}
.site-header .tnt-menu-scroll::-webkit-scrollbar{display:none !important}
.site-header .tnt-menu-scroll ul.tnt-menu-list,
.site-header .tnt-menu-scroll > ul{
  display:flex !important;
  flex-flow:row nowrap !important;
  flex-wrap:nowrap !important;
  align-items:center !important;
  justify-content:flex-start !important;
  width:max-content !important;
  min-width:100% !important;
  height:48px !important;
  max-height:48px !important;
  margin:0 !important;
  padding:0 !important;
  list-style:none !important;
  white-space:nowrap !important;
  overflow:visible !important;
}
.site-header .tnt-menu-scroll ul.tnt-menu-list > li,
.site-header .tnt-menu-scroll > ul > li{
  display:block !important;
  flex:0 0 auto !important;
  width:auto !important;
  height:48px !important;
  max-height:48px !important;
  margin:0 !important;
  padding:0 !important;
  float:none !important;
  clear:none !important;
  white-space:nowrap !important;
}
.site-header .tnt-menu-scroll ul.tnt-menu-list > li > a,
.site-header .tnt-menu-scroll > ul > li > a{
  display:flex !important;
  align-items:center !important;
  width:auto !important;
  height:48px !important;
  max-height:48px !important;
  padding:0 16px !important;
  margin:0 !important;
  font-size:15px !important;
  line-height:48px !important;
  white-space:nowrap !important;
  word-break:normal !important;
  overflow:visible !important;
  float:none !important;
}

/* Category layout: absolutely force two columns on desktop */
@media (min-width:901px){
  .site-main .category-feature-grid{
    display:grid !important;
    grid-template-columns:minmax(0,2fr) minmax(300px,1fr) !important;
    grid-auto-flow:row !important;
    gap:18px !important;
    width:100% !important;
  }
  .site-main .category-feature-grid > .category-feature-card{
    grid-column:1 !important;
    grid-row:1 !important;
    width:auto !important;
  }
  .site-main .category-feature-grid > .category-side-news{
    grid-column:2 !important;
    grid-row:1 !important;
    width:auto !important;
    display:flex !important;
    flex-direction:column !important;
    gap:14px !important;
  }
}

/* Mobile: menu remains one row and scrolls sideways */
@media (max-width:900px){
  .site-header .header-main-inner{
    grid-template-columns:190px minmax(0,1fr) !important;
  }
  .site-header .site-branding{
    width:190px !important;
    max-width:190px !important;
  }
  .site-header .custom-logo-link img.custom-logo{
    max-width:170px !important;
    max-height:58px !important;
  }
}

/* =========================================================
   REFERENCE LAYOUT — TOP NEWS + CATEGORY LISTS
   This block intentionally does NOT target .breaking-bar,
   .breaking-inner, .breaking-label or .breaking-track.
   ========================================================= */
.tnt-reference-top{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1.02fr);
  grid-template-rows:auto auto;
  gap:10px 12px;
  margin:0 0 30px;
}
.tnt-top-main{
  grid-column:1;
  grid-row:1;
  position:relative;
  min-width:0;
  height:260px;
  overflow:hidden;
  border:1px solid var(--tnt-top-border,#ddd);
  background:#111;
}
.tnt-top-main-image,.tnt-top-main-image img{
  display:block;width:100%;height:100%;
}
.tnt-top-main-image img{object-fit:cover}
.tnt-top-main-overlay{
  position:absolute;left:0;right:0;bottom:0;padding:55px 14px 14px;
  background:linear-gradient(to bottom,transparent,rgba(0,0,0,.86));
}
.tnt-top-main-overlay h2{
  margin:0;font-size:25px;line-height:1.28;font-weight:800;color:#fff;
}
.tnt-top-main-overlay h2 a{color:#fff}
.tnt-top-right{
  grid-column:2;grid-row:1 / span 2;
  display:flex;flex-direction:column;gap:5px;min-width:0;
}
.tnt-top-row{
  display:grid;grid-template-columns:82px minmax(0,1fr);gap:12px;align-items:center;
  min-height:49px;padding:4px;border:1px solid var(--tnt-top-border,#ddd);
  background:var(--tnt-top-row-bg,#fff);
}
.tnt-top-thumb,.tnt-top-thumb img{
  display:block;width:82px;height:51px;
}
.tnt-top-thumb img{object-fit:cover}
.tnt-top-row h3{
  margin:0;font-size:17px;line-height:1.25;font-weight:700;color:var(--tnt-top-text,#111);
}
.tnt-top-row h3 a{color:inherit}
.tnt-top-bottom{
  grid-column:1;grid-row:2;
  display:grid;grid-template-columns:82px minmax(0,1fr);gap:12px;align-items:center;
  min-height:62px;padding:5px;border:1px solid var(--tnt-top-border,#ddd);
  background:var(--tnt-top-row-bg,#fff);
}
.tnt-top-bottom-thumb,.tnt-top-bottom-thumb img{
  display:block;width:82px;height:51px;
}
.tnt-top-bottom-thumb img{object-fit:cover}
.tnt-top-bottom h3{
  margin:0;font-size:18px;line-height:1.25;font-weight:800;color:var(--tnt-top-bottom-text,#a40000);
}
.tnt-top-bottom h3 a{color:inherit}
.tnt-no-image{display:block;width:100%;height:100%;background:#e8e8e8}

/* Category blocks: red title strip + compact story rows */
.tnt-category-block{margin:0 0 28px}
.tnt-category-heading{
  display:flex;align-items:center;justify-content:space-between;
  min-height:38px;margin-bottom:7px;background:var(--tnt-category-heading,#df0000);
  border-bottom:0;
}
.tnt-category-heading h2{
  margin:0;padding:7px 12px;color:#fff;font-size:20px;line-height:1.2;font-weight:800;
}
.tnt-heading-arrow{font-size:11px;margin-right:7px;color:#fff}
.tnt-category-heading>a{
  padding:0 12px;color:#fff;font-size:13px;font-weight:700;white-space:nowrap;
}
.tnt-category-list{
  display:grid;grid-template-columns:1fr 1fr;gap:0 12px;
  border-top:1px solid var(--tnt-category-border,#ddd);
}
.tnt-category-item{
  display:grid;grid-template-columns:82px minmax(0,1fr);gap:10px;align-items:center;
  min-height:65px;padding:5px 3px;border-bottom:1px solid var(--tnt-category-border,#ddd);
  background:var(--tnt-category-bg,#fff);
}
.tnt-category-thumb,.tnt-category-thumb img{
  display:block;width:82px;height:54px;
}
.tnt-category-thumb img{object-fit:cover}
.tnt-category-item h3{
  margin:0;font-size:16px;line-height:1.28;font-weight:700;color:var(--tnt-category-text,#151515);
}
.tnt-category-item h3 a{color:inherit}
.tnt-category-item:hover{background:var(--tnt-category-hover,#fafafa)}

@media(max-width:900px){
  .tnt-reference-top{grid-template-columns:1fr;grid-template-rows:auto;gap:7px}
  .tnt-top-main,.tnt-top-right,.tnt-top-bottom{grid-column:1;grid-row:auto}
  .tnt-top-main{height:290px}
  .tnt-top-right{gap:4px}
  .tnt-top-row{grid-template-columns:74px minmax(0,1fr);min-height:58px}
  .tnt-top-thumb,.tnt-top-thumb img{width:74px;height:48px}
  .tnt-top-row h3{font-size:16px}
  .tnt-category-list{grid-template-columns:1fr}
}
@media(max-width:640px){
  .site-main{padding-top:16px}
  .tnt-top-main{height:230px}
  .tnt-top-main-overlay h2{font-size:21px}
  .tnt-top-row{grid-template-columns:70px minmax(0,1fr);padding:4px}
  .tnt-top-thumb,.tnt-top-thumb img{width:70px;height:48px}
  .tnt-top-row h3{font-size:15px}
  .tnt-top-bottom{grid-template-columns:70px minmax(0,1fr)}
  .tnt-top-bottom-thumb,.tnt-top-bottom-thumb img{width:70px;height:48px}
  .tnt-top-bottom h3{font-size:16px}
  .tnt-category-heading h2{font-size:18px}
  .tnt-category-item{grid-template-columns:70px minmax(0,1fr);min-height:62px}
  .tnt-category-thumb,.tnt-category-thumb img{width:70px;height:48px}
  .tnt-category-item h3{font-size:15px}
}


/* =========================================================
   CATEGORY GRID — one complete category per column
   Reference: Category A on the left, Category B on the right,
   then the next pair underneath. Posts inside each category
   stay in a single vertical list.
   ========================================================= */
.tnt-category-columns{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
  gap:16px 12px !important;
  align-items:start !important;
  margin-top:4px !important;
}
.tnt-category-columns .tnt-category-block{
  width:100% !important;
  min-width:0 !important;
  margin:0 !important;
  border:1px solid var(--tnt-category-border,#ddd) !important;
  background:#fff !important;
}
.tnt-category-columns .tnt-category-heading{
  min-height:39px !important;
  height:39px !important;
  margin:0 !important;
  background:var(--tnt-category-heading,#df0000) !important;
}
.tnt-category-columns .tnt-category-heading h2{
  font-size:20px !important;
  line-height:25px !important;
  padding:7px 11px !important;
}
.tnt-category-columns .tnt-category-heading>a{
  font-size:13px !important;
  padding:0 10px !important;
}
.tnt-category-columns .tnt-category-list{
  display:flex !important;
  flex-direction:column !important;
  gap:0 !important;
  border-top:0 !important;
}
.tnt-category-columns .tnt-category-item{
  display:grid !important;
  grid-template-columns:82px minmax(0,1fr) !important;
  gap:10px !important;
  min-height:68px !important;
  height:auto !important;
  padding:6px 7px !important;
  border:0 !important;
  border-bottom:1px solid var(--tnt-category-border,#ddd) !important;
  background:#fff !important;
  align-items:center !important;
}
.tnt-category-columns .tnt-category-item:last-child{border-bottom:0 !important}
.tnt-category-columns .tnt-category-thumb,
.tnt-category-columns .tnt-category-thumb img{
  display:block !important;
  width:82px !important;
  height:54px !important;
}
.tnt-category-columns .tnt-category-thumb img{object-fit:cover !important}
.tnt-category-columns .tnt-category-item h3{
  margin:0 !important;
  font-size:16px !important;
  line-height:1.28 !important;
  font-weight:700 !important;
  color:var(--tnt-category-text,#151515) !important;
}
.tnt-category-columns .tnt-category-item:hover{background:#fafafa !important}

@media(max-width:900px){
  .tnt-category-columns{
    grid-template-columns:1fr !important;
    gap:12px !important;
  }
}
@media(max-width:640px){
  .tnt-category-columns .tnt-category-heading{height:37px !important;min-height:37px !important}
  .tnt-category-columns .tnt-category-heading h2{font-size:18px !important;padding:6px 10px !important}
  .tnt-category-columns .tnt-category-item{grid-template-columns:70px minmax(0,1fr) !important;min-height:62px !important;padding:5px !important}
  .tnt-category-columns .tnt-category-thumb,
  .tnt-category-columns .tnt-category-thumb img{width:70px !important;height:48px !important}
  .tnt-category-columns .tnt-category-item h3{font-size:15px !important}
}


/* =========================================================
   HEADER CATEGORY BAR — MANUAL HORIZONTAL SCROLL ONLY
   No automatic marquee/animation. Users scroll with wheel,
   trackpad, touch swipe, or scrollbar.
   ========================================================= */
.site-header .tnt-menu-scroll{
  position:relative !important;
  display:block !important;
  width:100% !important;
  height:48px !important;
  max-height:48px !important;
  overflow-x:auto !important;
  overflow-y:hidden !important;
  white-space:nowrap !important;
  scrollbar-width:none !important;
  -webkit-overflow-scrolling:touch !important;
  touch-action:pan-x !important;
  overscroll-behavior-x:contain !important;
  cursor:grab !important;
}
.site-header .tnt-menu-scroll:active{cursor:grabbing !important}
.site-header .tnt-menu-scroll::-webkit-scrollbar{display:none !important}
.site-header .tnt-menu-scroll > ul.tnt-menu-list{
  display:flex !important;
  flex-flow:row nowrap !important;
  flex-wrap:nowrap !important;
  align-items:center !important;
  justify-content:flex-start !important;
  width:max-content !important;
  min-width:max-content !important;
  height:48px !important;
  margin:0 !important;
  padding:0 !important;
  list-style:none !important;
  white-space:nowrap !important;
  overflow:visible !important;
}
.site-header .tnt-menu-scroll > ul.tnt-menu-list > li{
  flex:0 0 auto !important;
  display:block !important;
  width:auto !important;
  height:48px !important;
  margin:0 !important;
  padding:0 !important;
  float:none !important;
  clear:none !important;
  white-space:nowrap !important;
}
.site-header .tnt-menu-scroll > ul.tnt-menu-list > li > a{
  display:flex !important;
  align-items:center !important;
  width:auto !important;
  height:48px !important;
  padding:0 16px !important;
  margin:0 !important;
  font-size:15px !important;
  line-height:48px !important;
  white-space:nowrap !important;
  float:none !important;
}


/* FINAL: manual main-menu scrolling */
.site-header .tnt-menu-scroll{overflow-x:auto !important;overflow-y:hidden !important;cursor:grab !important;touch-action:pan-x !important;user-select:none !important;-webkit-user-select:none !important;scroll-behavior:auto !important;}
.site-header .tnt-menu-scroll.is-dragging{cursor:grabbing !important;}
.site-header .tnt-menu-scroll > ul.tnt-menu-list{width:max-content !important;min-width:max-content !important;display:flex !important;flex-wrap:nowrap !important;}
.site-header .tnt-menu-scroll > ul.tnt-menu-list > li{flex:0 0 auto !important;}

/* FINAL: breaking ticker - one continuous strip, homepage only */
.breaking-bar{display:block !important;background:#f6f7f9 !important;border-bottom:1px solid var(--tn-border) !important;}
.breaking-inner{display:flex !important;align-items:center !important;min-height:42px !important;overflow:hidden !important;}
.breaking-label{flex:0 0 auto !important;background:var(--tn-red) !important;color:#fff !important;font-weight:800 !important;padding:7px 12px !important;margin-right:10px !important;white-space:nowrap !important;z-index:2 !important;}
.breaking-viewport{flex:1 1 auto !important;min-width:0 !important;overflow:hidden !important;white-space:nowrap !important;}
.breaking-track{display:flex !important;width:max-content !important;min-width:max-content !important;position:relative !important;white-space:nowrap !important;animation:tntBreakingMove 35s linear infinite !important;will-change:transform !important;}
.breaking-set{display:flex !important;align-items:center !important;flex:0 0 auto !important;white-space:nowrap !important;}
.breaking-track a{display:inline-block !important;flex:0 0 auto !important;animation:none !important;color:#151515 !important;text-decoration:none !important;padding:0 8px !important;white-space:nowrap !important;}
.breaking-track a:hover{text-decoration:underline !important;}
.ticker-dot{display:inline-block !important;padding:0 7px !important;color:var(--tn-red) !important;font-weight:900 !important;}
@keyframes tntBreakingMove{from{transform:translateX(0)}to{transform:translateX(-50%)}}
.breaking-bar:hover .breaking-track{animation-play-state:paused !important;}
@media(max-width:640px){.breaking-inner{min-height:38px !important}.breaking-label{font-size:12px !important;padding:6px 9px !important}.breaking-track{animation-duration:28s !important}.breaking-track a{font-size:13px !important;padding:0 6px !important}}


/* =========================================================
   SIDEBAR + WIDGETS — v2.7.0
   Homepage and single-post sidebar layout.
   ========================================================= */
.tnt-home-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 320px;
  gap:22px;
  align-items:start;
}
.tnt-home-content{min-width:0}
.tnt-sidebar{min-width:0;display:flex;flex-direction:column;gap:16px}
.tnt-sidebar .widget-area{
  margin:0;
  padding:0;
  border:1px solid var(--tn-border);
  border-radius:5px;
  background:#fff;
  overflow:hidden;
}
.tnt-sidebar .widget-area>h3,
.tnt-sidebar .widget-area .widget-title{
  margin:0;
  padding:10px 13px;
  background:var(--tn-blue);
  color:#fff;
  font-size:18px;
  line-height:1.25;
  font-weight:800;
}
.tnt-sidebar .widget-area>ul,
.tnt-sidebar .widget-area>ol,
.tnt-sidebar .widget-area>.textwidget,
.tnt-sidebar .widget-area>.custom-html-widget{padding:12px;margin:0}
.tnt-widget-list{list-style:none;margin:0;padding:0 12px!important}
.tnt-widget-list li{padding:9px 0;border-bottom:1px solid var(--tn-border)}
.tnt-widget-list li:last-child{border-bottom:0}
.tnt-widget-list a{display:block;font-size:15px;font-weight:700;line-height:1.35}
.tnt-widget-list a:hover{color:var(--tn-red)}
.tnt-widget-list span{display:block;margin-top:3px;font-size:11px;color:var(--tn-muted)}
.tnt-category-widget{list-style:none;margin:0;padding:8px 12px!important}
.tnt-category-widget li{border-bottom:1px solid var(--tn-border);padding:7px 0}
.tnt-category-widget li:last-child{border-bottom:0}
.tnt-category-widget a{font-weight:700;font-size:14px}
.tnt-category-widget .count{float:right;color:var(--tn-muted);font-size:12px}
.tnt-ad-placeholder{margin:12px;min-height:180px;display:flex;align-items:center;justify-content:center;background:#f4f5f7;border:1px dashed #cbd0d7;color:#8a919b;font-size:14px}
.tnt-single-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:22px;align-items:start}
.tnt-single-content{min-width:0}
.tnt-single-sidebar{position:sticky;top:15px}
.tnt-sidebar .widget_search form{display:flex;gap:6px;padding:12px}
.tnt-sidebar .widget_search input[type=search]{min-width:0;flex:1;padding:9px;border:1px solid #ddd}
.tnt-sidebar .widget_search button{padding:9px 12px;border:0;background:var(--tn-blue);color:#fff;font-weight:700}
.tnt-sidebar .widget_media_image img{margin:0 auto}
.tnt-sidebar .widget_recent_entries ul,.tnt-sidebar .widget_categories ul,.tnt-sidebar .widget_archive ul{margin:0;padding:10px 14px;list-style:none}
.tnt-sidebar .widget_recent_entries li,.tnt-sidebar .widget_categories li,.tnt-sidebar .widget_archive li{padding:7px 0;border-bottom:1px solid var(--tn-border)}
.tnt-sidebar .widget_recent_entries li:last-child,.tnt-sidebar .widget_categories li:last-child,.tnt-sidebar .widget_archive li:last-child{border-bottom:0}
@media(max-width:900px){
  .tnt-home-layout,.tnt-single-layout{grid-template-columns:1fr}
  .tnt-sidebar{display:block;margin-top:22px}
  .tnt-sidebar .widget-area{margin-bottom:14px}
  .tnt-single-sidebar{position:static}
}
@media(max-width:640px){
  .tnt-home-layout,.tnt-single-layout{gap:0}
  .tnt-sidebar .widget-area>h3,.tnt-sidebar .widget-area .widget-title{font-size:17px;padding:9px 11px}
}


/* =========================================================
   SIDEBAR WIDGET BLOCKS — v2.7.0
   ========================================================= */
.tnt-sidebar .widget-area{box-shadow:0 1px 5px rgba(0,0,0,.06)}
.tnt-widget-heading{background:var(--tn-blue);color:#fff;padding:10px 13px;font-size:18px;line-height:1.3;font-weight:800;border-bottom:3px solid var(--tn-red)}
.tnt-news-widget-list{list-style:none;margin:0;padding:6px 13px!important}
.tnt-news-widget-list li{padding:10px 0;border-bottom:1px solid var(--tn-border)}
.tnt-news-widget-list li:last-child{border-bottom:0}
.tnt-news-widget-list a{display:block;font-size:15px;font-weight:700;line-height:1.45}
.tnt-news-widget-list a:hover,.tnt-cat-widget-list a:hover{color:var(--tn-red)}
.tnt-news-widget-list span{display:block;margin-top:3px;color:var(--tn-muted);font-size:11px}
.tnt-cat-widget-list{list-style:none;margin:0;padding:7px 13px!important}
.tnt-cat-widget-list li{padding:7px 0;border-bottom:1px solid var(--tn-border);font-size:14px}
.tnt-cat-widget-list li:last-child{border-bottom:0}
.tnt-cat-widget-list a{font-weight:700}
.tnt-cat-widget-list .count{float:right;color:var(--tn-muted);font-size:12px}
.tnt-popular-list{list-style:none;margin:0;padding:5px 13px 8px!important;counter-reset:popular}
.tnt-popular-list li{display:grid;grid-template-columns:30px 1fr;gap:8px;align-items:start;padding:10px 0;border-bottom:1px solid var(--tn-border)}
.tnt-popular-list li:last-child{border-bottom:0}
.tnt-popular-list b{width:28px;height:28px;display:flex;align-items:center;justify-content:center;background:var(--tn-red);color:#fff;border-radius:3px;font-size:14px}
.tnt-popular-list a{font-size:14px;font-weight:700;line-height:1.4}
.tnt-ad-box{margin:12px;min-height:250px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;background:#f5f6f8;border:1px dashed #c8cdd5;color:#858c96;font-size:15px;font-weight:700}
.tnt-ad-box small{font-weight:400;font-size:12px;margin-top:3px}
.tnt-social-widget{display:flex;flex-wrap:wrap;gap:7px;padding:12px}
.tnt-social-widget a{padding:7px 10px;border:1px solid var(--tn-border);border-radius:3px;font-size:13px;font-weight:700;background:#fafafa}
.tnt-social-widget a:hover{background:var(--tn-blue);color:#fff;border-color:var(--tn-blue)}
@media(max-width:900px){.tnt-home-layout,.tnt-single-layout{grid-template-columns:minmax(0,1fr) 290px}.tnt-sidebar{position:static!important}}
@media(max-width:760px){.tnt-home-layout,.tnt-single-layout{grid-template-columns:1fr}.tnt-sidebar{margin-top:20px}.tnt-single-sidebar{position:static!important}}


/* Editable sidebar blocks */
.tnt-custom-block-image,.tnt-ad-image{display:block;width:100%;height:auto;margin:0 0 10px;border-radius:4px}
.tnt-custom-block-text{font-size:16px;line-height:1.65}
.tnt-custom-block-button{display:inline-block;margin-top:8px;padding:8px 14px;text-decoration:none;font-weight:700;border-radius:3px}
.tnt-sidebar .widget-area{margin-bottom:18px}


/* =========================================================
   EXTRA EDITABLE SIDEBAR BLOCKS — v2.7.0
   ========================================================= */
.tnt-featured-widget{padding:12px}
.tnt-featured-image{display:block;width:100%;height:auto;margin:0 0 10px;border-radius:4px}
.tnt-featured-title{display:block;font-size:17px;font-weight:800;line-height:1.4}
.tnt-featured-widget p{margin:7px 0 0;font-size:14px;line-height:1.55;color:var(--tn-muted)}
.tnt-thumb-news-list{list-style:none;margin:0;padding:6px 12px!important}
.tnt-thumb-news-list li{padding:9px 0;border-bottom:1px solid var(--tn-border)}
.tnt-thumb-news-list li:last-child{border-bottom:0}
.tnt-thumb-link{display:flex;gap:10px;align-items:center;text-decoration:none}
.tnt-thumb-image{width:76px;height:56px;object-fit:cover;border-radius:3px;flex:0 0 76px}
.tnt-thumb-link>span{font-size:14px;font-weight:700;line-height:1.4}
.tnt-tag-widget{padding:12px}
.tnt-tag-widget a{display:inline-block!important;margin:0 5px 7px 0;padding:5px 8px;background:#f3f5f8;border:1px solid var(--tn-border);border-radius:3px;text-decoration:none}
.tnt-video-widget{padding:10px}
.tnt-video-widget iframe{width:100%;max-width:100%;aspect-ratio:16/9;height:auto;display:block}
.tnt-notice-widget{padding:13px;background:#fff8e8;border-left:4px solid var(--tn-red)}
.tnt-notice-title{font-size:17px;font-weight:800;margin-bottom:6px}
.tnt-notice-text{font-size:14px;line-height:1.55}
.tnt-notice-text p{margin:0 0 6px}

/* v2.8.0 additional editable sidebar blocks */
.tnt-breaking-widget{padding:8px 12px}.tnt-breaking-line{padding:8px 0;border-bottom:1px solid var(--tn-border);font-size:14px;font-weight:700;line-height:1.45}.tnt-breaking-line:last-child{border-bottom:0}.tnt-breaking-line span{margin-right:7px;color:var(--tn-red)}
.tnt-manual-links{list-style:none;margin:0;padding:6px 13px!important}.tnt-manual-links li{border-bottom:1px solid var(--tn-border)}.tnt-manual-links li:last-child{border-bottom:0}.tnt-manual-links a{display:flex;justify-content:space-between;gap:10px;padding:9px 0;font-weight:700}.tnt-manual-links a span{font-size:20px;line-height:1;color:var(--tn-red)}
.tnt-photo-widget{padding:10px 12px}.tnt-photo-widget img{width:100%;height:auto;object-fit:cover}.tnt-photo-caption{padding-top:7px;font-size:14px;font-weight:700;line-height:1.45}.tnt-contact-widget{padding:8px 13px}.tnt-contact-widget>div{padding:8px 0;border-bottom:1px solid var(--tn-border);display:flex;flex-direction:column;gap:2px}.tnt-contact-widget>div:last-child{border-bottom:0}.tnt-contact-widget b{font-size:12px;color:var(--tn-muted)}.tnt-contact-widget a,.tnt-contact-widget span{font-size:14px;font-weight:700;word-break:break-word}.tnt-archive-widget{padding:8px 13px}.tnt-archive-widget ul{margin:0;padding:0;list-style:none}.tnt-archive-widget li{padding:7px 0;border-bottom:1px solid var(--tn-border)}.tnt-archive-widget a{font-weight:700}.tnt-archive-widget .post-count{float:right;color:var(--tn-muted)}

/* Front Page Main Content Widget Area */
.tnt-front-page-main-widgets{display:flex;flex-direction:column;gap:16px;margin:0 0 22px}
.tnt-front-page-main-widgets .widget-area{margin:0;border:1px solid var(--tn-border);border-radius:5px;background:#fff;overflow:hidden;box-shadow:0 1px 5px rgba(0,0,0,.06)}
.tnt-front-page-main-widgets .widget-area>h3,.tnt-front-page-main-widgets .widget-area .widget-title{margin:0;padding:10px 13px;background:var(--tn-blue);color:#fff;font-size:18px;line-height:1.3;font-weight:800;border-bottom:3px solid var(--tn-red)}
.tnt-front-main-widget .tnt-widget-heading{margin:0}
.tnt-front-page-main-widgets .widget-area>ul,.tnt-front-page-main-widgets .widget-area>ol,.tnt-front-page-main-widgets .textwidget,.tnt-front-page-main-widgets .custom-html-widget{padding:12px;margin:0}
@media(max-width:640px){.tnt-front-page-main-widgets{margin-bottom:16px}.tnt-front-page-main-widgets .widget-area>h3,.tnt-front-page-main-widgets .widget-area .widget-title{font-size:17px;padding:9px 11px}}

/* v2.9.1 category widget with featured images */
.tnt-category-widget-news{padding:8px 12px}
.tnt-cat-widget-item{display:flex;gap:10px;padding:10px 0;border-bottom:1px solid var(--tn-border);align-items:flex-start}
.tnt-cat-widget-item:last-child{border-bottom:0}
.tnt-cat-widget-thumb{width:92px;min-width:92px;height:64px;overflow:hidden;display:block;background:#f2f3f5}
.tnt-cat-widget-image{width:100%!important;height:100%!important;object-fit:cover;display:block}
.tnt-cat-widget-no-image{height:100%;display:flex;align-items:center;justify-content:center;font-size:10px;color:#888}
.tnt-cat-widget-text{min-width:0;flex:1}
.tnt-cat-widget-title{display:block;font-size:14px;font-weight:800;line-height:1.35}
.tnt-cat-widget-text>span{display:block;margin-top:4px;font-size:11px;color:var(--tn-muted)}
.tnt-cat-widget-empty{padding:12px;font-size:13px}
.tnt-post-sidebar-help{padding:12px;background:#fff;border:1px dashed #bbb}
.tnt-post-sidebar-help p{font-size:13px;margin:8px 0 0;line-height:1.5}
@media(max-width:760px){.tnt-cat-widget-thumb{width:84px;min-width:84px;height:60px}}


/* =========================================================
   v3.1.1 — Breadcrumbs
   ========================================================= */
.tnt-breadcrumbs{width:min(100% - 32px,var(--tn-container));margin:0 auto 32px;padding:10px 13px;background:#f7f8fa;border:1px solid var(--tn-border);border-radius:4px;font-size:13px;line-height:1.5;display:flex;align-items:center;gap:7px;overflow:hidden;white-space:nowrap}
.tnt-breadcrumbs a{color:var(--tn-blue);font-weight:700;flex:0 0 auto}
.tnt-breadcrumbs a:hover{color:var(--tn-red)}
.tnt-breadcrumb-sep{color:#8a929d;font-size:18px;line-height:1;flex:0 0 auto}
.tnt-breadcrumb-current{color:#555;font-weight:600;overflow:hidden;text-overflow:ellipsis}
@media(max-width:640px){.tnt-breadcrumbs{width:calc(100% - 20px);margin-bottom:22px;padding:8px 10px;font-size:12px}}
