/*
Theme Name: Samachara Hakku News V3
Theme URI: https://samacharahakku.com/
Author: SS Web Solutions
Description: Telugu news portal theme matching the supplied reference layout. Includes a separate YouTube Videos post type, automatic YouTube thumbnails, category navigation, sliders, latest news and category blocks.
Version: 3.3.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: samachara-hakku-news
*/
:root{--navy:#062b52;--navy2:#073967;--red:#e21b23;--green:#087c52;--yellow:#ffd400;--border:#d9dee5;--muted:#777;--bg:#f4f6f8;--container:1240px}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{font-family:"Noto Sans Telugu","Nirmala UI","Noto Sans",Arial,sans-serif;color:#17212b;background:#fff;font-size:14px;line-height:1.55}
a{text-decoration:none;color:inherit}
img{display:block;max-width:100%;height:auto}
.sh-container{width:min(var(--container),calc(100% - 18px));margin:auto}

/* Header */
.sh-header{background:#fff;border-top:2px solid var(--red)}
.sh-header-inner{display:grid;grid-template-columns:310px 1fr;gap:24px;align-items:center;min-height:84px}
.sh-brand{padding:6px 0}
.sh-brand .custom-logo{max-width:290px;max-height:72px;width:auto;margin:0}
.sh-title{font-size:28px;font-weight:900;line-height:1.1;color:var(--navy)}
.sh-date{font-size:11px;color:#555;margin-top:2px}
.sh-header-ad{height:62px;display:flex;align-items:center;justify-content:flex-end}
.sh-header-ad img{max-height:62px;width:auto;object-fit:contain}
.sh-ad-code{max-width:100%;text-align:center}

/* Navigation */
.sh-nav {
  background: var(--navy);
  color: #fff;
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 999;
}

/* Responsive centered navigation container */
.sh-nav-row {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  min-height: 42px;
  width: min(var(--container), calc(100% - 18px));
  max-width: var(--container);
  margin: 0 auto;
  box-sizing: border-box;
  overflow: visible;
}

.sh-home {
  width: 42px;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--red);
  font-size: 21px;
  font-weight: 900;
  text-decoration: none;
  flex-shrink: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

/* Menu Container - Centered Alignment */
.sh-menu {
  display: flex;
  align-items: stretch;
  justify-content: center; /* Items ni middle ki జరుపుతుంది */
  flex: 1;
  list-style: none;
  padding: 0;
  margin: 0;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none; /* Hide scrollbar for clean UI */
}

.sh-menu::-webkit-scrollbar {
  display: none;
}

/* Centered Items */
.sh-menu > li {
  position: relative;
  flex: 0 0 auto;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

/* Flexible Padding for screen scaling */
.sh-menu > li > a {
  display: block;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  color: #fff;
  text-decoration: none;
}

.sh-menu > li > a:hover,
.sh-menu > li.current-menu-item > a {
  background: var(--red);
}

/* Sub-Menu */
.sh-menu .sub-menu {
  display: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%); /* Submenu ni exact center ki తెస్తుంది */
  top: 100%;
  z-index: 99;
  min-width: 200px;
  background: #fff;
  color: #111;
  list-style: none;
  padding: 4px 0;
  margin: 0;
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.25);
  text-align: left;
}

.sh-menu li:hover > .sub-menu {
  display: block;
}

.sh-menu .sub-menu a {
  display: block;
  padding: 7px 10px;
  font-size: 13px;
  color: #111;
  text-decoration: none;
}

.sh-menu .sub-menu a:hover {
  background: var(--red);
  color: #fff;
}

/* Special Links Right Aligned */
.sh-special {
  display: flex;
  margin-left: auto;
  flex-shrink: 0;
}

.sh-special a {
  display: flex;
  align-items: center;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 900;
  color: #fff;
  text-decoration: none;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.sh-rti {
  background: var(--red);
}

.sh-epaper {
  background: var(--green);
}

.sh-more {
  background: #0a3159;
}

/* Responsive adjustments for Mobile & Tablet */
@media screen and (max-width: 991px) {
  .sh-menu {
    justify-content: flex-start; /* Small screens lo scrollable ga మారుస్తుంది */
  }
}

/* Breaking */
.sh-breaking{border-bottom:1px solid #ddd;background:#fff;display:flex;height:31px;overflow:hidden}
.sh-breaking-label{background:var(--red);color:#fff;padding:4px 13px;font-weight:900;white-space:nowrap;font-size:12px;z-index:2}
.sh-breaking-track{overflow:hidden;white-space:nowrap;flex:1;position:relative}
.sh-breaking-track-inner{display:inline-block;padding:4px 0 4px 14px;animation:shTicker 34s linear infinite}

/* Mouse cursor తెచ్చినప్పుడు ticker aగిపోతుంది - Click చేయడానికి సులువుగా ఉంటుంది */
.sh-breaking-track:hover .sh-breaking-track-inner{animation-play-state:paused}

.sh-breaking-track-inner span{margin-right:55px;font-size:12px}

/* Links Clickable అవ్వడానికి e styling mukhyam */
.sh-breaking-track-inner a{
    color: inherit;
    text-decoration: none;
    position: relative;
    z-index: 10;
    cursor: pointer;
    display: inline-block;
}
.sh-breaking-track-inner a:hover{
    text-decoration: underline;
    color: var(--red);
}

@keyframes shTicker{from{transform:translateX(100%)}to{transform:translateX(-100%)}}

/* Common */
.sh-main{padding:10px 0 22px;background:#fff}
.sh-section-title{margin:0;background:var(--navy);color:#fff;border-top:2px solid var(--red);padding:4px 9px;font-size:16px;font-weight:900;line-height:1.25}
.sh-section-title .tag{float:right;background:var(--red);font-size:9px;padding:2px 5px;margin-top:1px}
.sh-card{border:1px solid var(--border);background:#fff}
.sh-more{display:block;text-align:center;border:1px solid #e5a0a0;color:var(--red);font-weight:900;padding:5px;margin-top:7px;font-size:13px}

/* Top three columns */
.sh-top-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;align-items:stretch}
.sh-top-card{min-width:0;height:300px;display:flex;flex-direction:column;overflow:hidden}
.sh-top-card .sh-section-title{flex:0 0 auto}
.sh-top-card .sh-more{margin-top:auto;flex:0 0 auto}
.sh-top-card .sh-slider,.sh-top-card .sh-video-list,.sh-top-card .sh-latest-list{min-height:0}

/* Slider */
.sh-slider{position:relative;background:#111;overflow:hidden}
.sh-slide{display:none;position:relative}
.sh-slide.active{display:block}
.sh-slide img{width:100%;height:314px;object-fit:contain;object-position:center;background:#111}
.sh-slide:after{content:"";position:absolute;inset:45% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.88))}
.sh-slide-caption{position:absolute;z-index:2;left:0;right:0;bottom:0;padding:10px 14px 25px;color:#fff;font-size:19px;font-weight:900;line-height:1.35}
.sh-slide-category{display:inline-block;background:var(--red);font-size:10px;padding:2px 6px;margin-bottom:3px}
.sh-slider-arrow{position:absolute;z-index:4;top:50%;transform:translateY(-50%);width:34px;height:38px;border:0;background:rgba(0,0,0,.65);color:#fff;font-size:24px;cursor:pointer}
.sh-prev{left:5px}.sh-next{right:5px}
.sh-dots{position:absolute;z-index:5;bottom:7px;left:50%;transform:translateX(-50%);display:flex;gap:4px}
.sh-dot{width:7px;height:7px;border-radius:50%;background:#fff;opacity:.55;cursor:pointer}
.sh-dot.active{opacity:1;background:var(--red)}

/* Video list */
.sh-video-list{padding:0 8px;overflow:hidden;flex:1}
.sh-video-item{display:grid;grid-template-columns:92px 1fr;gap:8px;padding:6px 0;border-bottom:1px solid #e5e5e5}
.sh-video-item:last-child{border-bottom:0}
.sh-video-thumb{position:relative}
.sh-video-thumb img{width:92px;height:55px;object-fit:cover;border-radius:2px}
.sh-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:rgba(220,0,0,.9);color:#fff;font-size:12px}
.sh-video-title{font-size:12px;font-weight:800;line-height:1.35}
.sh-video-number{color:var(--red);font-size:10px;margin-right:5px}

/* Latest title-only */
.sh-latest-list{list-style:none;padding:0 8px;margin:0;overflow:hidden;flex:1}
.sh-latest-list li{padding:7px 0;border-bottom:1px solid #e5e5e5;font-size:13px;font-weight:700;line-height:1.4}
.sh-latest-list li:last-child{border-bottom:0}
.sh-latest-list .num{display:inline-block;width:23px;color:var(--red);font-size:10px}



/* Latest news + ad */
.sh-latest-ad-grid{display:grid;grid-template-columns:2fr 1fr;gap:8px;margin-top:9px}
.sh-latest-news{padding:6px}
.sh-latest-news-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:5px}
.sh-latest-story{display:grid;grid-template-columns:92px 1fr;gap:7px;border:1px solid #e3e6ea;padding:4px}
.sh-latest-story img{width:92px;height:58px;object-fit:cover}
.sh-latest-story h3{font-size:12px;line-height:1.4;margin:0;font-weight:800}
.sh-meta{font-size:8px;color:#999;margin-top:2px}
.sh-ad-box{border:1px dashed #bbb;background:#fafafa;min-height:190px;display:flex;align-items:center;justify-content:center;text-align:center;color:#888;padding:10px}

/* Category grid */
.sh-category-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:9px}
.sh-category{border:1px solid var(--border);background:#fff;min-width:0}
.sh-cat-body{padding:5px}
.sh-cat-feature img{width:100%;height:150px;object-fit:cover}
.sh-cat-feature h3{font-size:14px;line-height:1.4;margin:5px 2px;font-weight:900}
.sh-cat-list{list-style:none;margin:0;padding:0 2px}
.sh-cat-list li{border-top:1px solid #e4e4e4;padding:5px 2px;font-size:11px;font-weight:700;line-height:1.35}
.sh-empty{padding:35px 10px;text-align:center;color:#999;font-size:11px}

/* Archive / single */
.sh-content-area{padding:15px 0}
.sh-archive-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}
.sh-archive-card{border:1px solid var(--border)}
.sh-archive-card img{width:100%;height:175px;object-fit:cover}
.sh-archive-card .pad{padding:8px}
.sh-archive-card h2{font-size:16px;line-height:1.45;margin:0}
.sh-single-grid{display:grid;grid-template-columns:1fr 300px;gap:12px;padding:15px 0}
.sh-single-article{border:1px solid var(--border);padding:12px}
.sh-single-article h1{font-size:28px;line-height:1.4;margin:0 0 5px}
.sh-single-article .hero{width:100%;max-height:550px;object-fit:cover;margin:10px 0}
.sh-post-content{font-size:17px;line-height:1.95}
.sh-video-archive-note{background:#fff7f7;border:1px solid #f0cccc;padding:8px;margin-bottom:10px;color:#9a1111;font-weight:700}

/* Footer */
.sh-footer{background:#06223f;color:#fff;margin-top:10px;padding:25px 0 0}
.sh-footer-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:30px}
.sh-footer h3{font-size:15px;margin:0 0 9px;border-left:3px solid var(--red);padding-left:7px}
.sh-footer p,.sh-footer li{font-size:11px;color:#d8e2ed}
.sh-footer ul{list-style:none;padding:0;margin:0}
.sh-footer li{padding:5px 0;border-bottom:1px solid rgba(255,255,255,.09)}
.sh-footer-bottom{text-align:center;border-top:1px solid rgba(255,255,255,.12);margin-top:20px;padding:9px 0;font-size:10px;color:#d8e2ed}

/* Responsive */
@media(max-width:900px){
 .sh-header-inner{grid-template-columns:250px 1fr}
 .sh-menu>li>a{padding-left:7px;padding-right:7px;font-size:11px}
 .sh-top-grid{grid-template-columns:1fr 1fr}
 .sh-top-card:last-child{grid-column:1/-1}
 .sh-category-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:600px){
 body{font-size:13px}
 .sh-container{width:calc(100% - 8px)}
 .sh-header-inner{grid-template-columns:1fr;gap:2px;padding:5px 0}
 .sh-brand{text-align:center}
 .sh-brand .custom-logo{margin:auto;max-width:220px;max-height:60px}
 .sh-date{text-align:center}
 .sh-header-ad{height:52px;justify-content:center}
 .sh-header-ad img{max-height:50px}
 .sh-nav-row{overflow-x:auto}
 .sh-home{min-width:40px}
 .sh-menu{overflow-x:auto}
 .sh-menu>li>a{font-size:10px;padding:7px 8px}
 .sh-special{display:none}
 .sh-breaking-label{font-size:10px;padding-left:7px;padding-right:7px}
 .sh-breaking-track-inner span{font-size:10px}
 .sh-top-grid{grid-template-columns:1fr}
 .sh-top-card:last-child{grid-column:auto}
 .sh-slide img{
    width:100%;
    height:auto;
    display:block;
    object-fit:contain;
}
 .sh-slide-caption{font-size:17px}
 .sh-latest-ad-grid{grid-template-columns:1fr}
 .sh-latest-news-grid{grid-template-columns:1fr}
 .sh-category-grid{grid-template-columns:repeat(2,1fr)}
 .sh-cat-feature img{height:120px}
 .sh-cat-feature h3{font-size:12px}
 .sh-cat-list li{font-size:10px}
 .sh-archive-grid{grid-template-columns:repeat(2,1fr)}
 .sh-single-grid{grid-template-columns:1fr}
 .sh-single-article h1{font-size:22px}
 .sh-post-content{font-size:16px}
 .sh-footer-grid{grid-template-columns:1fr 1fr}
 .sh-footer-grid>div:first-child{grid-column:1/-1}
}

/* =========================================================
   v3.1.0 PROFESSIONAL NAV + FULL IMAGE DISPLAY UPDATE
   ========================================================= */
.sh-image-frame{position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#f4f5f7;width:100%;}
.sh-image-frame img{display:block;width:100%;height:100%;object-fit:contain!important;object-position:center center!important;}
.sh-slider-image{height:270px;}
.sh-slider-image img{background:#111;}
.sh-list-image{width:92px;height:58px;flex:0 0 92px;}
.sh-cat-image{height:150px;}
.sh-archive-image{height:175px;}
.sh-single-hero{height:min(550px,65vw);margin:10px 0;background:#f4f5f7;}
.sh-single-hero img{width:100%;height:100%;object-fit:contain!important;object-position:center!important;margin:0!important;max-height:none!important;}

/* Desktop navigation */
.sh-nav-row{position:relative;display:flex;align-items:center;gap:0;min-height:42px;}
.sh-desktop-menu-wrap{flex:0 1 auto;min-width:0;}
.sh-menu{display:flex;align-items:stretch;list-style:none;margin:0;padding:0;}
.sh-menu>li{position:relative;white-space:nowrap;}
.sh-menu>li>a,.sh-more-toggle{display:flex;align-items:center;height:42px;padding:0 34px;color:#fff;text-decoration:none;font-size:12px;font-weight:800;background:transparent;border:0;cursor:pointer;font-family:inherit;}
.sh-menu>li>a:hover,.sh-more-toggle:hover,.sh-menu>li.current-menu-item>a{background:rgba(255,255,255,.12);}
.sh-more-toggle span{font-size:8px;margin-left:4px;}
.sh-more-parent{position:relative;flex:0 0 auto;}
.sh-more-dropdown{position:absolute;z-index:1000;top:100%;right:0;left:auto;min-width:165px;display:none;background:#fff;border:1px solid #dfe4e9;box-shadow:0 8px 20px rgba(0,0,0,.16);padding:4px 0;margin:0;list-style:none;}
.sh-more-parent.open>.sh-more-dropdown{display:block;}
.sh-more-dropdown li a{display:block;color:#12263d;text-decoration:none;padding:9px 12px;font-size:12px;font-weight:800;white-space:nowrap;}
.sh-more-dropdown li a:hover{background:#f1f4f7;color:var(--red);}
.sh-special{display:flex;align-items:center;gap:5px;margin-left:6px;flex:0 0 auto;}
.sh-special a{display:inline-flex;align-items:center;justify-content:center;height:30px;padding:0 10px;color:#fff!important;text-decoration:none!important;border-radius:3px;font-size:11px;font-weight:900;box-shadow:0 1px 2px rgba(0,0,0,.12);}
.sh-rti{background:#d90000!important;}
.sh-epaper{background:#008a55!important;}
.sh-home{display:flex;align-items:center;justify-content:center;flex:0 0 38px;height:42px;color:#fff;text-decoration:none;font-size:21px;font-weight:900;}
.sh-home:hover{background:rgba(255,255,255,.12);}
.sh-mobile-menu-toggle,.sh-mobile-drawer,.sh-mobile-overlay{display:none;}

/* Keep slider caption overlay while image itself is never cropped */
.sh-slide{background:#111;}
.sh-slide:after{pointer-events:none;}

@media(max-width:1100px) and (min-width:601px){
 .sh-menu>li>a,.sh-more-toggle{padding-left:6px;padding-right:6px;font-size:10px;}
 .sh-special a{padding:0 7px;font-size:10px;}
}

@media(max-width:600px){
 .sh-nav{position:sticky;top:0;z-index:900;box-shadow:0 2px 7px rgba(0,0,0,.15);}
 .sh-nav-row{min-height:48px;padding:0 4px;justify-content:flex-start;}
 .sh-home{height:44px;flex-basis:42px;font-size:22px;}
 .sh-desktop-menu-wrap{display:none;}
 .sh-more-parent{display:none;}
 .sh-special{display:flex;margin-left:auto;gap:4px;}
 .sh-special a{height:32px;padding:0 8px;font-size:10px;border-radius:3px;}
 .sh-mobile-menu-toggle{display:inline-flex;align-items:center;gap:5px;height:36px;padding:0 8px;background:transparent;border:0;color:#fff;font:800 12px/1 inherit;cursor:pointer;}
 .sh-mobile-menu-toggle span{font-size:11px;}
 .sh-mobile-drawer{display:block;position:fixed;z-index:1200;top:0;left:0;width:min(310px,88vw);height:100dvh;background:#fff;transform:translateX(-105%);transition:transform .25s ease;box-shadow:8px 0 28px rgba(0,0,0,.25);overflow-y:auto;}
 .sh-mobile-drawer.open{transform:translateX(0);}
 .sh-mobile-overlay{display:block;position:fixed;z-index:1100;inset:0;background:rgba(0,0,0,.52);opacity:0;visibility:hidden;transition:.2s ease;}
 .sh-mobile-overlay.open{opacity:1;visibility:visible;}
 body.sh-menu-open{overflow:hidden;}
 .sh-mobile-drawer-head{height:54px;background:#082b52;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 15px;position:sticky;top:0;z-index:2;}
 .sh-mobile-drawer-head strong{font-size:17px;}
 .sh-mobile-close{width:35px;height:35px;border:0;background:transparent;color:#fff;font-size:29px;line-height:1;cursor:pointer;}
 .sh-mobile-menu-list{padding:7px 0 18px;}
 .sh-mobile-menu-list>a{display:flex;align-items:center;min-height:43px;padding:0 18px;color:#12263d;text-decoration:none;border-bottom:1px solid #edf0f3;font-size:14px;font-weight:800;}
 .sh-mobile-menu-list>a:hover{background:#f4f7fa;color:#c40000;}
 .sh-mobile-menu-list .sh-mobile-home{background:#f1f4f7;color:#082b52;font-size:20px;gap:10px;}
 .sh-mobile-menu-list .sh-mobile-home span{font-size:14px;}
 .sh-mobile-more-title{padding:10px 18px 6px;color:#d00000;font-size:11px;font-weight:900;text-transform:uppercase;border-bottom:1px solid #e9ecef;}
 .sh-mobile-special{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:14px 12px 4px;}
 .sh-mobile-special a{display:flex;align-items:center;justify-content:center;height:40px;color:#fff!important;text-decoration:none!important;border-radius:4px;font-size:12px;font-weight:900;}
 .sh-mobile-special .sh-rti{background:#d90000!important;}
 .sh-mobile-special .sh-epaper{background:#008a55!important;}

 .sh-slider-image{height:255px;}
 .sh-list-image{width:100%;height:92px;flex-basis:auto;}
 .sh-latest-story{grid-template-columns:92px 1fr;}
 .sh-cat-image{height:125px;}
 .sh-archive-image{height:150px;}
 .sh-single-hero{height:62vw;min-height:230px;max-height:430px;}
 .sh-slide-caption{padding-bottom:28px;}
}


/* Mobile menu: never show the More label/dropdown. Its items are listed directly. */
@media(max-width:600px){
 .sh-mobile-more-title,.sh-mobile-more{display:none!important;}
}


/* =========================================================
   Dashboard Advertisements + Single Post Social Sharing
   ========================================================= */
.sh-dashboard-ad{width:100%;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#fff;}
.sh-dashboard-ad a{display:flex;width:100%;height:100%;align-items:center;justify-content:center;}
.sh-dashboard-ad img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;object-position:center;}
.sh-dashboard-ad-header{width:970px;max-width:100%;height:90px;min-height:90px;}
.sh-dashboard-ad-header img{width:100%;height:90px;object-fit:contain;}
.sh-dashboard-ad-sidebar{width:300px;max-width:100%;height:250px;min-height:250px;margin:0 auto;}
.sh-dashboard-ad-sidebar img{width:300px;height:250px;object-fit:contain;}
.sh-header-ad{overflow:hidden;}
.sh-header-ad .sh-dashboard-ad-header{margin:0 auto;}
.sh-ad-box .sh-dashboard-ad-sidebar{min-height:250px;padding:0;background:#fff;border:1px solid #e1e4e8;}
.sh-ad-box .sh-dashboard-ad-sidebar{margin:auto;}

.sh-hashtags{display:flex;flex-wrap:wrap;gap:7px;margin:18px 0 10px;padding-top:12px;border-top:1px solid #e6e9ed;}
.sh-hashtags a{color:#d71920;font-size:13px;font-weight:800;background:#fff3f3;border:1px solid #f1caca;border-radius:15px;padding:4px 9px;opacity:.2;}
.sh-hashtags a:hover{background:#d71920;color:#fff;}
.sh-share-box{margin-top:12px;padding:12px 0;border-top:1px solid #e6e9ed;}
.sh-share-box>strong{display:block;font-size:14px;margin-bottom:8px;color:#082b52;}
.sh-share-buttons{display:flex;flex-wrap:wrap;gap:7px;}
.sh-share-buttons a,.sh-share-copy{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:0 12px;border:0;border-radius:4px;color:#fff!important;font-family:inherit;font-size:12px;font-weight:900;cursor:pointer;text-decoration:none!important;}
.sh-share-fb{background:#1877f2;}.sh-share-wa{background:#18a957;}.sh-share-x{background:#111;}.sh-share-tg{background:#229ed9;}.sh-share-copy{background:#6b7280;}
@media(max-width:600px){
 .sh-dashboard-ad-header{height:auto;min-height:0;max-height:90px;}
 .sh-dashboard-ad-header img{height:auto;max-height:90px;width:100%;}
 .sh-dashboard-ad-sidebar{height:auto;min-height:0;max-width:300px;}
 .sh-dashboard-ad-sidebar img{width:100%;height:auto;max-height:250px;}
 .sh-share-buttons a,.sh-share-copy{flex:1 1 calc(50% - 7px);}
}

/* =========================================================
   FINAL DESKTOP MENU + BREAKING TICKER STRUCTURE
   ========================================================= */
@media (min-width:601px){
  .sh-nav-row{
    width:min(var(--container),calc(100% - 18px));
    min-height:42px;
    display:flex;
    align-items:center;
    flex-wrap:nowrap;
    overflow:visible;
  }
  .sh-home{flex:0 0 38px;}
  .sh-desktop-menu-wrap{flex:1 1 auto;min-width:0;overflow:hidden;}
  .sh-menu{width:100%;display:flex;align-items:stretch;flex-wrap:nowrap;overflow:hidden;}
  .sh-menu>li{flex:0 0 auto;}
  .sh-menu>li>a{height:42px;padding:0 32px;white-space:nowrap;}
  .sh-special{flex:0 0 auto;margin-left:6px;white-space:nowrap;}
  .sh-special a{height:30px;padding:0 10px;}
  .sh-more-parent{flex:0 0 auto;margin-left:3px;}
  .sh-more-toggle{height:42px;padding:0 10px;white-space:nowrap;}
}

/* Breaking ticker sits directly below navigation and uses the same container width */
.sh-breaking-wrap{
  width:100%;
  background:#fff;
}
.sh-breaking{
  width:min(var(--container),calc(100% - 18px));
  height:34px;
  margin:0 auto;
  padding:0;
  display:flex;
  align-items:center;
  overflow:hidden;
  border-bottom:1px solid #d9dee5;
  border-left:1px solid #e9ecef;
  border-right:1px solid #e9ecef;
  background:#fff;
}
.sh-breaking-label{
  flex:0 0 auto;
  height:34px;
  display:flex;
  align-items:center;
  padding:0 14px;
  background:var(--red);
  color:#fff;
  font-size:12px;
  font-weight:900;
  line-height:1;
  white-space:nowrap;
}
.sh-breaking-track{
  flex:1 1 auto;
  min-width:0;
  height:34px;
  display:flex;
  align-items:center;
  overflow:hidden;
  white-space:nowrap;
}
.sh-breaking-track-inner{
  display:inline-block;
  width:max-content;
  padding-left:14px;
  animation:shTicker 34s linear infinite;
  will-change:transform;
}
.sh-breaking-track-inner span{
  display:inline-block;
  margin-right:55px;
  font-size:12px;
  font-weight:700;
  white-space:nowrap;
}
@keyframes shTicker{
  0%{transform:translateX(100%);}
  100%{transform:translateX(-100%);}
}

@media(max-width:600px){
  .sh-breaking{
    width:100%;
    max-width:none;
    margin:0;
    border-left:0;
    border-right:0;
    height:31px;
  }
  .sh-breaking-label{
    height:31px;
    padding:0 8px;
    font-size:10px;
  }
  .sh-breaking-track{height:31px;}
  .sh-breaking-track-inner{padding-left:10px;animation-duration:35s;}
  .sh-breaking-track-inner span{font-size:10px;margin-right:35px;}
}


/* =========================================================
   FINAL COMPACT SECTION + MORE BUTTON REFINEMENT
   Matches the supplied "మరిన్ని" example: small white box,
   subtle grey border, bottom-right, no red/blue highlight.
   ========================================================= */
.sh-main{padding:5px 0 12px!important;}
.sh-top-grid{gap:5px!important;margin-bottom:0!important;}
.sh-latest-ad-grid{gap:5px!important;margin-top:5px!important;}
.sh-category-grid{gap:5px!important;margin-top:5px!important;}

/* Every section's More button */
a.sh-more,
.sh-card a.sh-more,
.sh-category a.sh-more{
  display:table!important;
  width:max-content!important;
  min-width:0!important;
  max-width:100%;
  height:auto!important;
  min-height:0!important;
  margin:5px 0 0 auto!important;
  padding:3px 9px!important;
  box-sizing:border-box!important;
  background:#fff!important;
  background-image:none!important;
  color:#555!important;
  border:1px solid #cfd4da!important;
  border-radius:3px!important;
  box-shadow:none!important;
  outline:none!important;
  text-decoration:none!important;
  text-transform:none!important;
  text-align:center!important;
  font-family:inherit!important;
  font-size:11px!important;
  font-weight:700!important;
  line-height:16px!important;
  letter-spacing:0!important;
  cursor:pointer;
}
a.sh-more:hover,
.sh-card a.sh-more:hover,
.sh-category a.sh-more:hover{
  background:#f7f7f7!important;
  color:#333!important;
  border-color:#b9bec5!important;
  box-shadow:none!important;
}

/* Keep the button at the bottom-right of each card/section */
.sh-top-card{display:flex!important;flex-direction:column!important;}
.sh-top-card .sh-more{margin-top:auto!important;margin-left:auto!important;align-self:flex-end!important;}
.sh-category .sh-cat-body{display:flex!important;flex-direction:column!important;}
.sh-category .sh-cat-body .sh-more{margin-top:5px!important;margin-left:auto!important;align-self:flex-end!important;}
.sh-latest-news{display:flex!important;flex-direction:column!important;}
.sh-latest-news .sh-more{margin-top:5px!important;margin-left:auto!important;align-self:flex-end!important;}

/* Compact section title spacing */
.sh-section-title{margin-bottom:6px!important;}
.sh-card,.sh-category{padding:8px!important;}

/* Home icon: clearly visible */
.sh-home{
  width:43px!important;
  min-width:43px!important;
  flex:0 0 43px!important;
  height:42px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:var(--navy2)!important;
  color:#fff!important;
  font-size:22px!important;
  line-height:1!important;
  text-decoration:none!important;
  border-right:1px solid rgba(255,255,255,.16)!important;
}
.sh-home:hover{background:var(--red)!important;color:#fff!important;}

/* Breaking ticker: 48s, tighter news spacing, duplicated sequence */
.sh-breaking{
  width:min(var(--container),calc(100% - 18px))!important;
  margin:0 auto!important;
  height:32px!important;
  border-bottom:1px solid #ddd!important;
  background:#fff!important;
}
.sh-breaking-label{height:32px!important;padding:5px 12px!important;font-size:12px!important;line-height:22px!important;}
.sh-breaking-track-inner{
  display:inline-block!important;
  width:max-content!important;
  white-space:nowrap!important;
  padding:5px 0 5px 8px!important;
  animation:shTicker 48s linear infinite!important;
  will-change:transform;
}
.sh-breaking-track-inner span{margin-right:18px!important;font-size:12px!important;}
@keyframes shTicker{
  from{transform:translateX(0);}
  to{transform:translateX(-50%);}
}

@media(max-width:600px){
  .sh-main{padding:5px 0 10px!important;}
  .sh-top-grid,.sh-latest-ad-grid,.sh-category-grid{gap:5px!important;}
  .sh-home{width:42px!important;min-width:42px!important;flex-basis:42px!important;height:44px!important;}
  .sh-breaking{width:100%!important;margin:0!important;height:31px!important;}
  .sh-breaking-label{height:31px!important;padding:4px 8px!important;font-size:10px!important;line-height:23px!important;}
  .sh-breaking-track-inner{padding-left:8px!important;animation-duration:48s!important;}
  .sh-breaking-track-inner span{margin-right:14px!important;font-size:10px!important;}
  a.sh-more,.sh-card a.sh-more,.sh-category a.sh-more{font-size:10px!important;padding:2px 8px!important;line-height:15px!important;}
  .sh-card,.sh-category{padding:7px!important;}
}

/* =========================================================
   FOOTER COMPACT 2-COLUMN UPDATE
   ========================================================= */
.sh-footer{margin-top:8px;padding:18px 0 0;background:#06223f;color:#fff}
.sh-footer-grid{display:grid;grid-template-columns:2fr 1fr;gap:28px;align-items:start}
.sh-footer h3{font-size:14px;margin:0 0 8px;border-left:3px solid var(--red);padding-left:7px;line-height:1.3}
.sh-footer ul{list-style:none;padding:0;margin:0}
.sh-footer-categories ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:30px;row-gap:0}
.sh-footer li{padding:3px 0!important;border:0!important;margin:0!important;font-size:12px;line-height:1.55;color:#d8e2ed}
.sh-footer li a{display:block;border:0!important;text-decoration:none!important;color:#d8e2ed!important}
.sh-footer li a:hover{color:#fff!important}
.sh-footer-bottom{text-align:center;border-top:1px solid rgba(255,255,255,.12);margin-top:14px;padding:8px 0;font-size:10px;color:#d8e2ed}
@media(max-width:600px){
 .sh-footer{padding-top:15px}
 .sh-footer-grid{grid-template-columns:2fr 1fr;gap:14px}
 .sh-footer-categories ul{column-gap:12px}
 .sh-footer li{font-size:10px;line-height:1.5}
 .sh-footer h3{font-size:12px;margin-bottom:6px}
 .sh-footer-bottom{font-size:9px;margin-top:10px;padding:7px 0}
}


/* =========================================================
   ALL POSTS / LATEST NEWS PAGE
   Matches the supplied reference: two-column cards with
   thumbnail on the left and title/excerpt on the right.
   ========================================================= */
.sh-all-posts-page{padding-top:8px!important;}
.sh-all-posts-heading{margin-bottom:8px;}
.sh-all-posts-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
}
.sh-all-post-card{
  min-width:0;
  border:1px solid #dfe2e6;
  border-radius:6px;
  background:#fff;
  box-shadow:0 2px 8px rgba(0,0,0,.12);
  overflow:hidden;
}
.sh-all-post-link{
  display:grid;
  grid-template-columns:102px minmax(0,1fr);
  gap:9px;
  min-height:88px;
  padding:7px;
  align-items:start;
}
.sh-all-post-image{
  width:102px;
  height:72px;
  border-radius:4px;
  background:#f1f3f5;
}
.sh-all-post-image img{
  width:100%;
  height:100%;
  object-fit:cover!important;
  object-position:center!important;
}
.sh-all-post-content{min-width:0;}
.sh-all-post-content h2{
  margin:0;
  color:#0874c9;
  font-size:15px;
  line-height:1.35;
  font-weight:900;
}
.sh-all-post-meta{
  display:flex;
  align-items:center;
  gap:4px;
  margin-top:2px;
  color:#e21b23;
  font-size:9px;
  line-height:1.2;
  font-weight:800;
}
.sh-all-post-meta span:first-child{color:#0b65a8;}
.sh-all-post-content p{
  margin:3px 0 0;
  color:#555;
  font-size:11px;
  line-height:1.45;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
}
.sh-all-post-card:hover{
  box-shadow:0 3px 12px rgba(0,0,0,.16);
  border-color:#cfd5db;
}
.sh-all-posts-pagination{margin-top:12px;text-align:center;}
.sh-all-posts-pagination ul{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:5px;
  list-style:none;
  margin:0;
  padding:0;
}
.sh-all-posts-pagination a,
.sh-all-posts-pagination span{
  display:flex;
  align-items:center;
  justify-content:center;
  min-width:32px;
  min-height:30px;
  padding:3px 8px;
  border:1px solid #d2d7dc;
  border-radius:4px;
  background:#fff;
  color:#12385d;
  font-size:11px;
  font-weight:800;
}
.sh-all-posts-pagination .current{
  background:#062b52;
  color:#fff;
  border-color:#062b52;
}
@media(max-width:600px){
  .sh-all-posts-grid{grid-template-columns:1fr;gap:6px;}
  .sh-all-post-link{grid-template-columns:92px minmax(0,1fr);min-height:82px;padding:6px;gap:8px;}
  .sh-all-post-image{width:92px;height:68px;}
  .sh-all-post-content h2{font-size:13px;line-height:1.35;}
  .sh-all-post-content p{font-size:10px;line-height:1.35;}
  .sh-all-post-meta{font-size:8px;}
}

/* =========================================================
   FINAL DESKTOP NAVIGATION FIX
   Prevents overflow on 1920x1080 and large screens
   ========================================================= */

@media(min-width:601px){

  .sh-nav-row{
    width:min(var(--container),calc(100% - 18px))!important;
    max-width:var(--container)!important;
    min-height:42px!important;
    display:flex!important;
    align-items:center!important;
    flex-wrap:nowrap!important;
    overflow:visible!important;
    white-space:nowrap!important;
  }

  .sh-home{
    width:43px!important;
    min-width:43px!important;
    flex:0 0 43px!important;
    height:42px!important;
  }

  .sh-desktop-menu-wrap{
    flex:1 1 auto!important;
    min-width:0!important;
    max-width:none!important;
    overflow:hidden!important;
    white-space:nowrap!important;
  }

  .sh-menu{
    display:flex!important;
    align-items:stretch!important;
    justify-content:flex-start!important;
    flex:1 1 auto!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    flex-wrap:nowrap!important;
    overflow-x:auto!important;
    overflow-y:visible!important;
    white-space:nowrap!important;
    scrollbar-width:none!important;
  }

  .sh-menu::-webkit-scrollbar{
    display:none!important;
  }

  .sh-menu>li{
    flex:0 0 auto!important;
    white-space:nowrap!important;
  }

  .sh-menu>li>a,
  .sh-more-toggle{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    height:42px!important;
    padding:0 13px!important;
    font-size:12px!important;
    font-weight:800!important;
    white-space:nowrap!important;
  }

  .sh-special{
    display:flex!important;
    align-items:center!important;
    gap:5px!important;
    flex:0 0 auto!important;
    margin-left:6px!important;
    white-space:nowrap!important;
  }

  .sh-special a{
    height:30px!important;
    padding:0 10px!important;
    font-size:11px!important;
    white-space:nowrap!important;
  }

  .sh-more-parent{
    flex:0 0 auto!important;
    margin-left:3px!important;
    white-space:nowrap!important;
  }

  .sh-more-toggle{
    padding:0 10px!important;
  }
}

/* Large desktop: comfortable but controlled spacing */
@media(min-width:1400px){

  .sh-menu>li>a,
  .sh-more-toggle{
    padding-left:16px!important;
    padding-right:16px!important;
    font-size:13px!important;
  }

  .sh-special a{
    padding-left:12px!important;
    padding-right:12px!important;
    font-size:12px!important;
  }
}

/* Laptop / medium desktop */
@media(min-width:601px) and (max-width:1399px){

  .sh-menu>li>a,
  .sh-more-toggle{
    padding-left:8px!important;
    padding-right:8px!important;
    font-size:11px!important;
  }

  .sh-special a{
    padding-left:7px!important;
    padding-right:7px!important;
    font-size:10px!important;
  }
}

/* Mobile navigation remains compatible */
@media(max-width:600px){

  .sh-nav-row{
    width:100%!important;
    max-width:none!important;
    min-height:48px!important;
    padding:0 4px!important;
    overflow:visible!important;
  }

  .sh-desktop-menu-wrap{
    display:none!important;
  }

  .sh-more-parent{
    display:none!important;
  }

  .sh-special{
    display:flex!important;
    margin-left:auto!important;
    gap:4px!important;
  }

  .sh-special a{
    height:32px!important;
    padding:0 8px!important;
    font-size:10px!important;
  }
}

