/* Future Andhra - Main CSS matching original design */
:root{--primary:#C0392B;--primary-dark:#922B21;--primary-light:#E74C3C;--accent:#F39C12;--dark:#0D0D0D;--dark-2:#1A1A2E;--dark-3:#16213E;--white:#FFFFFF;--gray-100:#F8F9FA;--gray-200:#E9ECEF;--gray-300:#DEE2E6;--gray-500:#ADB5BD;--gray-700:#495057;--gray-800:#343A40;--gray-900:#212529;--font-tel:'Tiro Telugu','Noto Sans Telugu','Gautami','Pothana2000',serif;--font-disp:'Ramabhadra','Noto Sans Telugu','Gautami',sans-serif;--font-head:'Ramabhadra','Noto Sans Telugu',serif;--font-nav:'NTR','Noto Sans Telugu','Gautami',sans-serif;--shadow-sm:0 1px 4px rgba(0,0,0,.08);--shadow-md:0 4px 16px rgba(0,0,0,.12);--shadow-lg:0 8px 32px rgba(0,0,0,.18);--radius:6px;--radius-lg:12px;--trans:.2s ease;--max-w:1340px}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;font-size:16px}
body{font-family:var(--font-tel);background:#F4F4F4;color:var(--gray-900);line-height:1.75;overflow-x:hidden;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
a{text-decoration:none;color:inherit}
img{max-width:100%;height:auto;display:block;object-fit:cover}
ul{list-style:none}
button{cursor:pointer;font-family:inherit}
.container{max-width:var(--max-w);margin:0 auto;padding:0 16px}
#top-bar{background:var(--dark-2);color:#aaa;padding:6px 0;border-bottom:2px solid var(--primary)}
.tb-inner{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap}
.tb-date{font-family:var(--font-disp);font-size:12px;letter-spacing:.8px;color:#888;display:flex;align-items:center;gap:6px}
.tb-links{display:flex;gap:16px;align-items:center}
.tb-links a{color:#777;font-size:11px;font-family:var(--font-disp);letter-spacing:.4px;transition:color var(--trans)}
.tb-links a:hover{color:var(--primary-light)}
.tb-links span{color:#333}
.tb-social{display:flex;gap:6px}
.tb-social a{color:#666;font-size:11px;width:24px;height:24px;display:flex;align-items:center;justify-content:center;border-radius:50%;border:1px solid #333;transition:all var(--trans)}
.tb-social a:hover{background:var(--primary);color:white;border-color:var(--primary)}
#breaking-bar{background:linear-gradient(135deg,var(--primary-dark),var(--primary));padding:0;border-bottom:1px solid rgba(255,255,255,.1)}
.brk-inner{display:flex;align-items:stretch;min-height:38px}
.brk-label{background:var(--dark);color:white;padding:0 18px;display:flex;align-items:center;gap:8px;font-family:var(--font-disp);font-size:13px;letter-spacing:1.5px;white-space:nowrap;position:relative;clip-path:polygon(0 0,calc(100% - 12px) 0,100% 50%,calc(100% - 12px) 100%,0 100%);padding-right:28px}
.brk-label .pulse{width:8px;height:8px;background:#ff4444;border-radius:50%;animation:pulse 1.2s infinite;flex-shrink:0}
@keyframes pulse{0%,100%{box-shadow:0 0 0 0 rgba(255,68,68,.5)}50%{box-shadow:0 0 0 6px rgba(255,68,68,0)}}
.brk-ticker{flex:1;overflow:hidden;display:flex;align-items:center;padding:0 16px}
.brk-track{display:flex;gap:40px;animation:ticker 10s linear infinite;white-space:nowrap}
.brk-track:hover{animation-play-state:paused}
.brk-track a{color:white;font-size:13px;font-weight:600;transition:opacity var(--trans);flex-shrink:0}
.brk-track a:hover{opacity:.8}
.brk-track a::before{content:"▸ ";opacity:.7}
@keyframes ticker{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}
#hdr{background:var(--white);box-shadow:var(--shadow-md);position:sticky;top:0;z-index:990;isolation:auto}
.hdr-inner{padding:10px 16px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.logo{display:flex;align-items:center;gap:10px;flex-shrink:0}
.logo-img{width:52px;height:52px;border-radius:8px;object-fit:contain;background:var(--primary);display:flex;align-items:center;justify-content:center;color:white;font-family:var(--font-disp);font-size:28px;letter-spacing:-1px}
.logo-img-real{max-height:60px;width:auto;border-radius:6px}
.logo-text{display:flex;flex-direction:column}
.logo-name{font-family:var(--font-disp);font-size:28px;letter-spacing:1px;color:var(--primary);line-height:1}
.logo-tag{font-size:10px;color:var(--gray-500);letter-spacing:.5px;font-family:var(--font-disp)}
.hdr-center{flex:1;max-width:420px}
.search-box{display:flex;border:2px solid var(--gray-200);border-radius:25px;overflow:hidden;transition:border-color var(--trans);background:var(--gray-100)}
.search-box:focus-within{border-color:var(--primary)}
.search-box input{flex:1;padding:9px 16px;background:none;border:none;outline:none;font-family:var(--font-tel);font-size:14px;color:var(--gray-900)}
.search-box button{padding:0 16px;background:var(--primary);color:white;font-size:13px;transition:background var(--trans);border:none;cursor:pointer}
.search-box button:hover{background:var(--primary-dark)}
.hdr-right{display:flex;align-items:center;gap:12px}
.hdr-quick{display:flex;gap:6px}
.hdr-quick a{padding:7px 13px;border-radius:20px;font-size:11px;font-family:var(--font-disp);letter-spacing:.5px;transition:all var(--trans);white-space:nowrap}
.hdr-quick .q-epaper{background:var(--dark-2);color:white}
.hdr-quick .q-epaper:hover{background:var(--primary)}
.hdr-quick .q-app{background:var(--primary);color:white}
.hdr-quick .q-app:hover{background:var(--primary-dark)}
.hamburger{display:none;flex-direction:column;gap:5px;padding:8px;cursor:pointer}
.hamburger span{display:block;width:24px;height:2px;background:var(--gray-700);border-radius:2px;transition:all var(--trans)}

/* ══════════════════════════════════════════════════════════
   SUBCATEGORY SELECT ROW  (#sub-nav-selects)
   Always-visible row of native <select> elements, one per
   category that has subcategories. Sits directly under the
   main nav. Native browser dropdown handles open/close/scroll.
══════════════════════════════════════════════════════════ */

#sub-nav-selects{
  background:#111827;
  border-top:1px solid rgba(255,255,255,.06);
  border-bottom:2px solid var(--primary);
  padding:5px 0;
}
.sub-nav-inner{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  align-items:center;
  padding:2px 0;
}

/* ── Each category select ───────────────────────────────── */
.sub-cat-select{
  /* layout */
  flex:0 1 auto;
  min-width:140px;
  max-width:210px;
  padding:5px 28px 5px 10px;  /* right pad = space for arrow */
  /* colours */
  background:#1e2a3a;
  color:#c8cbd8;
  border:1px solid rgba(255,255,255,.1);
  border-radius:4px;
  /* type */
  font-family:var(--font-nav);
  font-size:12.5px;
  line-height:1.4;
  /* arrow */
  appearance:none;
  -webkit-appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23C0392B'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 9px center;
  cursor:pointer;
  outline:none;
  transition:border-color .15s, color .15s, background .15s;
  /* native scroll for long lists handled by browser */
}
.sub-cat-select:hover{
  border-color:var(--primary);
  color:#fff;
  background-color:#263040;
}
.sub-cat-select:focus{
  border-color:var(--primary-light);
  color:#fff;
  box-shadow:0 0 0 2px rgba(192,57,43,.25);
}

/* ── Options ─────────────────────────────────────────────── */
.sub-cat-select option{
  background:#1e2a3a;
  color:#c8cbd8;
  font-family:var(--font-nav);
  font-size:13px;
  padding:6px 10px;
}
/* Placeholder / header option */
.sub-cat-select option[value=""]{
  color:rgba(200,203,216,.5);
  font-size:11.5px;
}
/* Active subcategory highlight */
.sub-cat-select option:checked{
  background:var(--primary);
  color:#fff;
}

/* ── Mobile: hide (mobile menu handles subcats) ─────────── */
@media(max-width:680px){
  #sub-nav-selects{display:none}
}

/* ══════════════════════════════════════════════
   MOBILE ACCORDION
═══════════════════════════════════════════════ */
.mob-cat-group{display:flex;flex-direction:column}
.mob-cat-toggle{
  display:flex;align-items:center;justify-content:space-between;
  color:#ccc;padding:13px 10px;
  border-bottom:1px solid rgba(255,255,255,.07);
  font-family:var(--font-nav);font-size:15px;
  cursor:pointer;background:none;
  border-top:none;border-left:none;border-right:none;
  text-align:left;width:100%;
  transition:color .2s;
}
.mob-cat-toggle:hover{color:#fff}
.mob-cat-toggle .mob-arrow{font-size:10px;transition:transform .25s;flex-shrink:0}
.mob-cat-toggle.open .mob-arrow{transform:rotate(180deg)}
.mob-cat-link{
  display:block;color:#ccc;
  padding:13px 10px;
  border-bottom:1px solid rgba(255,255,255,.07);
  font-family:var(--font-nav);font-size:15px;
  transition:color .2s;
  text-decoration:none;
}
.mob-cat-link:hover{color:#fff}
.mob-sub-list{
  display:none;flex-direction:column;
  background:rgba(0,0,0,.18);
  border-bottom:1px solid rgba(255,255,255,.07);
}
.mob-sub-list.open{display:flex}
.mob-sub-list a{
  display:block;color:#aaa;
  padding:9px 10px 9px 28px;
  font-family:var(--font-nav);font-size:13px;
  border-bottom:1px solid rgba(255,255,255,.04);
  transition:color .2s;
  text-decoration:none;
}
.mob-sub-list a:last-child{border-bottom:none}
.mob-sub-list a:hover{color:#fff}
.mob-sub-list a::before{content:'›';color:var(--primary);margin-right:6px}

.main-grid{display:grid;grid-template-columns:1fr 300px;gap:24px;padding:24px 0}
.content-area{min-width:0}
.sidebar{min-width:0}
.sec{margin-bottom:28px}
.sec-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px;gap:12px}
.sec-title{font-family:var(--font-disp);font-size:clamp(16px,2vw,20px);letter-spacing:.01em;color:var(--gray-900);display:flex;align-items:center;gap:10px;font-weight:700;line-height:1.3}
.sec-title::before{content:'';display:block;width:4px;height:22px;background:var(--primary);border-radius:2px}
.sec-more{font-family:var(--font-disp);font-size:11px;letter-spacing:.8px;color:var(--primary);display:flex;align-items:center;gap:4px;transition:gap var(--trans)}
.sec-more:hover{gap:8px}
.sec-more::after{content:"→"}
#breaking-highlight{margin-bottom:24px}
.brk-hero{display:grid;grid-template-columns:1fr 1fr;gap:3px;border-radius:var(--radius-lg);overflow:hidden}
.brk-hero-main{position:relative;height:420px;overflow:hidden}
.brk-hero-side{height:207px;overflow:hidden;position:relative}
.brk-overlay{position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.85) 0%,rgba(0,0,0,.3) 50%,transparent 100%)}
.brk-badge{position:absolute;top:16px;left:16px;background:var(--primary);color:white;font-family:var(--font-disp);font-size:11px;letter-spacing:1.5px;padding:4px 12px;border-radius:4px;display:flex;align-items:center;gap:6px;z-index:2}
.brk-badge .dot{width:6px;height:6px;background:#fff;border-radius:50%;animation:pulse 1s infinite}
.brk-caption{position:absolute;bottom:0;left:0;right:0;padding:20px;color:white;z-index:2}
.brk-caption .cat{font-family:var(--font-disp);font-size:11px;letter-spacing:1px;color:var(--accent);margin-bottom:6px}
.brk-caption h2{font-family:var(--font-disp);font-size:clamp(16px,2.2vw,22px);font-weight:700;line-height:1.35;margin-bottom:8px;word-break:break-word;overflow-wrap:anywhere;padding-bottom:4px}
.brk-caption .meta{font-size:11px;color:rgba(255,255,255,.7)}
.brk-side-caption{position:absolute;bottom:0;left:0;right:0;padding:14px;color:white;z-index:2}
.brk-side-caption p{font-family:var(--font-disp);font-size:13px;font-weight:600;line-height:1.5;margin-bottom:4px;word-break:break-word;overflow-wrap:anywhere}
.brk-side-caption .cat{font-family:var(--font-disp);font-size:10px;letter-spacing:1px;color:var(--accent)}
.card{background:white;border-radius:var(--radius);overflow:hidden;transition:transform var(--trans),box-shadow var(--trans)}
.card:hover{transform:translateY(-2px);box-shadow:var(--shadow-md)}
.card-img{position:relative;overflow:hidden}
.card-img img{transition:transform .4s ease;width:100%;height:100%;object-fit:cover}
.card:hover .card-img img{transform:scale(1.04)}
.card-cat{position:absolute;top:10px;left:10px;background:var(--primary);color:white;font-family:var(--font-disp);font-size:10px;letter-spacing:1px;padding:3px 10px;border-radius:3px}
.card-body{padding:14px}
.card-title{font-family:var(--font-disp);font-size:clamp(13px,1.6vw,16px);font-weight:700;line-height:1.55;color:var(--gray-900);margin-bottom:8px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;word-break:break-word;overflow-wrap:anywhere;padding-bottom:2px}
.card-title:hover{color:var(--primary)}
.card-meta{display:flex;align-items:center;gap:10px;font-size:11px;color:var(--gray-500);flex-wrap:wrap}
.card-meta span{display:flex;align-items:center;gap:4px}
#top-stories{margin-bottom:24px}
.slider-wrap{position:relative;overflow:hidden;border-radius:var(--radius-lg)}
.slider-track{display:flex;transition:transform .45s cubic-bezier(.4,0,.2,1)}
.slide{min-width:100%;position:relative;height:400px}
.slide img{width:100%;height:100%;object-fit:cover}
.slide-overlay{position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.88) 0%,rgba(0,0,0,.2) 60%,transparent 100%)}
.slide-content{position:absolute;bottom:0;left:0;right:0;padding:28px 32px}
.slide-content .cat{font-family:var(--font-disp);font-size:11px;letter-spacing:1.5px;color:var(--accent);margin-bottom:10px}
.slide-content h2{font-family:var(--font-disp);font-size:clamp(18px,2.8vw,26px);color:white;font-weight:700;line-height:1.35;margin-bottom:10px;max-width:700px;word-break:break-word;overflow-wrap:anywhere;padding-bottom:4px;text-shadow:0 2px 8px rgba(0,0,0,.5)}
.slide-content .meta{font-size:12px;color:rgba(255,255,255,.7)}
.slider-btn{position:absolute;top:50%;transform:translateY(-50%);background:rgba(255,255,255,.15);backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,.3);color:white;width:44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:16px;cursor:pointer;transition:all var(--trans);z-index:10}
.slider-btn:hover{background:var(--primary);border-color:var(--primary)}
.slider-btn.prev{left:16px}
.slider-btn.next{right:16px}
.slider-dots{position:absolute;bottom:16px;right:24px;display:flex;gap:6px;z-index:10}
.slider-dots span{width:8px;height:8px;border-radius:50%;background:rgba(255,255,255,.5);cursor:pointer;transition:all var(--trans)}
.slider-dots span.active{background:var(--primary);width:20px;border-radius:4px}
.news-grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.news-grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.news-grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
.h160{height:160px}
.h200{height:200px}
.h240{height:240px}
.cat-block{background:white;border-radius:var(--radius);overflow:hidden;margin-bottom:24px}
.cat-block-head{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:2px solid var(--primary);background:var(--gray-100)}
.cat-block-head h3{font-family:var(--font-disp);font-size:18px;letter-spacing:.8px;color:var(--primary);display:flex;align-items:center;gap:8px}
.cat-block-head a{font-family:var(--font-disp);font-size:12px;color:var(--primary);letter-spacing:.5px}
.cat-block-body{padding:16px}
.cat-main-card{display:flex;gap:12px;margin-bottom:14px;padding-bottom:14px;border-bottom:1px solid var(--gray-200)}
.cat-main-card img{width:100px;height:70px;object-fit:cover;border-radius:var(--radius);flex-shrink:0}
.cat-main-card h4{font-size:13px;font-weight:700;line-height:1.55;color:var(--gray-900);word-break:break-word;overflow-wrap:anywhere}
.cat-main-card h4:hover{color:var(--primary)}
.cat-sub-list{display:flex;flex-direction:column;gap:10px}
.cat-sub-item{display:flex;gap:10px;align-items:flex-start}
.cat-sub-item img{width:64px;height:44px;object-fit:cover;border-radius:4px;flex-shrink:0}
.cat-sub-item p{font-size:12px;font-weight:600;line-height:1.5;color:var(--gray-800);word-break:break-word;overflow-wrap:anywhere}
.cat-sub-item p:hover{color:var(--primary)}
.trending-list{display:flex;flex-direction:column;gap:0}
.trend-item{display:flex;align-items:center;gap:14px;padding:12px 16px;background:white;border-bottom:1px solid var(--gray-100);transition:background var(--trans)}
.trend-item:first-child{border-radius:var(--radius) var(--radius) 0 0}
.trend-item:last-child{border-radius:0 0 var(--radius) var(--radius);border-bottom:none}
.trend-item:hover{background:var(--gray-100)}
.trend-num{font-family:var(--font-disp);font-size:28px;color:var(--gray-200);letter-spacing:-1px;min-width:40px;text-align:center;font-weight:900;line-height:1}
.trend-item:nth-child(1) .trend-num{color:rgba(192,57,43,.3)}
.trend-item:nth-child(2) .trend-num{color:rgba(192,57,43,.2)}
.trend-item:nth-child(3) .trend-num{color:rgba(192,57,43,.15)}
.trend-body p{font-family:var(--font-disp);font-size:14px;font-weight:700;line-height:1.55;color:var(--gray-900);word-break:break-word;overflow-wrap:anywhere;padding-bottom:2px}
.trend-body p:hover{color:var(--primary)}
.trend-body .meta{font-size:10px;color:var(--gray-500);margin-top:3px}
.widget{background:white;border-radius:var(--radius);overflow:hidden;margin-bottom:20px}
.widget-head{background:var(--dark-2);color:white;padding:12px 16px;font-family:var(--font-disp);font-size:15px;letter-spacing:.8px;border-bottom:2px solid var(--primary)}
.widget-body{padding:14px}
.widget-list{display:flex;flex-direction:column;gap:10px}
.widget-item{display:flex;gap:10px;align-items:flex-start;padding-bottom:10px;border-bottom:1px solid var(--gray-100)}
.widget-item:last-child{border-bottom:none;padding-bottom:0}
.widget-item img{width:68px;height:50px;object-fit:cover;border-radius:4px;flex-shrink:0}
.widget-item p{font-size:12px;font-weight:700;line-height:1.5;color:var(--gray-800);word-break:break-word;overflow-wrap:anywhere}
.widget-item p:hover{color:var(--primary)}
.widget-item .wmeta{font-size:10px;color:var(--gray-500);margin-top:3px}
.ad-widget{border:1px dashed var(--gray-300);border-radius:var(--radius);min-height:250px;display:flex;align-items:center;justify-content:center;background:var(--gray-100);color:var(--gray-400);font-family:var(--font-disp);font-size:12px;letter-spacing:.5px;flex-direction:column;gap:6px;margin-bottom:20px}
.ad-banner-full{text-align:center;padding:15px 0;background:#f9f9f9;margin-bottom:24px;border-radius:var(--radius)}
.cat-widget-list{display:flex;flex-direction:column}
.cat-widget-item{display:flex;justify-content:space-between;align-items:center;padding:9px 0;border-bottom:1px solid var(--gray-100);font-size:13px;color:var(--gray-700);transition:color var(--trans);font-weight:600}
.cat-widget-item:hover{color:var(--primary)}
.cat-widget-item:last-child{border-bottom:none}
.cat-widget-item .cnt{background:var(--primary);color:white;font-size:10px;font-family:var(--font-disp);letter-spacing:.5px;padding:2px 8px;border-radius:10px}
#footer{background:var(--dark-2);color:#ccc;margin-top:40px}
.footer-top{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:32px;padding:48px 0 32px}
.footer-logo{font-family:var(--font-disp);font-size:32px;color:var(--primary);letter-spacing:1px;margin-bottom:10px}
.footer-tagline{font-size:12px;color:#777;line-height:1.6;max-width:240px;margin-bottom:16px}
.footer-social{display:flex;gap:8px}
.footer-social a{width:34px;height:34px;border-radius:50%;border:1px solid #444;display:flex;align-items:center;justify-content:center;color:#777;font-size:13px;transition:all var(--trans)}
.footer-social a:hover{background:var(--primary);color:white;border-color:var(--primary)}
.footer-col h4{font-family:var(--font-disp);font-size:14px;letter-spacing:1px;color:white;margin-bottom:14px;padding-bottom:8px;border-bottom:2px solid var(--primary);display:inline-block}
.footer-col ul li{margin-bottom:8px}
.footer-col ul li a{font-size:12px;color:#777;transition:color var(--trans);display:flex;align-items:center;gap:6px}
.footer-col ul li a:hover{color:var(--primary-light)}
.footer-col ul li a::before{content:"›";color:var(--primary)}
.footer-bottom{border-top:1px solid #333;padding:16px 0;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px}
.footer-bottom p{font-size:11px;color:#555}
.ph{background:linear-gradient(135deg,#2a2a4a,#1a1a2e);display:flex;align-items:center;justify-content:center;color:rgba(255,255,255,.2);font-size:24px}
#mobile-menu{position:fixed;top:0;left:0;bottom:0;width:280px;background:var(--dark-2);z-index:2000;transform:translateX(-100%);transition:transform .3s ease;overflow-y:auto;padding:20px;display:flex;flex-direction:column;gap:4px}
#mobile-menu.open{transform:translateX(0)}
#mobile-overlay{position:fixed;inset:0;background:rgba(0,0,0,.6);z-index:1999;display:none}
#mobile-overlay.show{display:block}
.mob-close{color:white;font-size:20px;margin-bottom:16px;cursor:pointer}
.mob-logo{font-family:var(--font-disp);font-size:26px;color:var(--primary);margin-bottom:20px}
#mobile-menu a{display:block;color:#ccc;padding:13px 8px;border-bottom:1px solid rgba(255,255,255,.07);font-family:var(--font-nav);font-size:15px;letter-spacing:.02em;transition:color var(--trans);word-break:break-word;overflow-wrap:anywhere}
#mobile-menu a:hover{color:white}
#scroll-top{position:fixed;bottom:24px;right:24px;width:44px;height:44px;background:var(--primary);color:white;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:16px;cursor:pointer;z-index:999;opacity:0;transform:translateY(20px);transition:all var(--trans);box-shadow:var(--shadow-md);border:none}
#scroll-top.show{opacity:1;transform:translateY(0)}
#scroll-top:hover{background:var(--primary-dark)}
@media(max-width:1100px){.news-grid-4{grid-template-columns:repeat(3,1fr)}.footer-top{grid-template-columns:1fr 1fr}}
@media(max-width:900px){.main-grid{grid-template-columns:1fr}.sidebar{display:grid;grid-template-columns:1fr 1fr;gap:16px}.news-grid-4{grid-template-columns:repeat(2,1fr)}.brk-hero{grid-template-columns:1fr}.brk-hero-main{height:280px}}
@media(max-width:680px){.hamburger{display:flex}#nav{display:none}.hdr-quick{display:none}.hdr-center{max-width:200px}.news-grid-4,.news-grid-3,.news-grid-2{grid-template-columns:1fr}.sidebar{grid-template-columns:1fr}.footer-top{grid-template-columns:1fr}.footer-bottom{flex-direction:column;align-items:flex-start}}
@media(max-width:480px){.logo-name{font-size:22px}.slide-content h2{font-size:17px}.slide{height:280px}.brk-hero-main{height:240px}}

/* ─── INNER PAGE LAYOUT ─── */
.page-wrapper{padding:24px 0}
.content-grid{display:grid;grid-template-columns:1fr 300px;gap:24px}
.no-results{text-align:center;padding:60px 20px;background:white;border-radius:var(--radius)}
.no-results i{font-size:48px;color:#ddd;display:block;margin-bottom:15px}
.no-results h2{font-size:20px;color:#555;margin-bottom:8px}
.news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.card-excerpt{font-size:12px;color:var(--gray-500);margin-bottom:8px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;word-break:break-word;overflow-wrap:anywhere}
@media(max-width:900px){.content-grid{grid-template-columns:1fr}.news-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.news-grid{grid-template-columns:1fr}}

/* ─── SINGLE POST ─── */
.post-header{margin-bottom:20px}
.post-title{font-family:var(--font-disp);font-size:clamp(22px,3vw,34px);font-weight:700;line-height:1.3;color:var(--gray-900);margin-bottom:12px;word-break:break-word;overflow-wrap:anywhere;padding-bottom:4px}
.post-meta{display:flex;flex-wrap:wrap;gap:12px;font-size:12px;color:var(--gray-500);margin-bottom:16px}
.post-meta span{display:flex;align-items:center;gap:5px}
.post-featured-img{border-radius:var(--radius-lg);overflow:hidden;margin-bottom:20px}
.post-featured-img img{width:100%;max-height:480px;object-fit:cover}
.post-content{font-family:var(--font-tel);font-size:clamp(15px,1.8vw,17px);line-height:1.9;color:#1e1e1e}
.post-content h2,.post-content h3{font-family:var(--font-disp);font-weight:700;margin:24px 0 12px;line-height:1.3}
.post-content h2{font-size:clamp(18px,2.2vw,24px);border-left:4px solid var(--primary);padding-left:12px}
.post-content h3{font-size:clamp(16px,1.8vw,20px)}
.post-content p{margin-bottom:14px}
.post-content img{border-radius:var(--radius);margin:16px 0;max-width:100%}
.post-content a{color:var(--primary);text-decoration:underline}
.share-section{margin:24px 0;padding:20px;background:var(--gray-100);border-radius:var(--radius)}
.share-section p{font-family:var(--font-disp);font-size:14px;letter-spacing:.8px;margin-bottom:12px;color:var(--gray-700)}
.related-section{margin-top:32px}
.related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
@media(max-width:600px){.related-grid{grid-template-columns:1fr}}

/* ─── CATEGORY PAGE ─── */
.cat-hero{background:var(--dark-2);padding:28px 0;margin-bottom:24px;border-bottom:3px solid var(--primary)}
.cat-hero h1{font-family:var(--font-disp);font-size:32px;color:white;letter-spacing:1px}
.cat-hero .meta{font-size:13px;color:#888;margin-top:4px}
.cat-featured-card{position:relative;border-radius:var(--radius-lg);overflow:hidden;margin-bottom:20px;display:block}
.cat-featured-card img{width:100%;height:320px;object-fit:cover}
.cat-featured-card .overlay{position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.85),transparent 60%)}
.cat-featured-card .caption{position:absolute;bottom:0;left:0;right:0;padding:20px;color:white}
.cat-featured-card .caption h2{font-family:var(--font-disp);font-size:clamp(15px,1.8vw,19px);font-weight:700;line-height:1.4;word-break:break-word;overflow-wrap:anywhere}
.cat-featured-card .caption .cat{font-family:var(--font-disp);font-size:11px;letter-spacing:1px;color:var(--accent);margin-bottom:6px}

/* ─── BREADCRUMB ─── */
.breadcrumb{font-size:12px;color:#888;padding:10px 0 0;display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.breadcrumb a{color:var(--primary)}
.breadcrumb span{color:#ccc}

/* ─── SEARCH PAGE ─── */
.search-hero{background:var(--gray-100);padding:30px 0;border-bottom:1px solid var(--gray-200);margin-bottom:24px}

/* ─── PAGINATION ─── */
.pagination{display:flex;gap:6px;justify-content:center;margin:24px 0;flex-wrap:wrap}
.pagination a,.pagination span{padding:8px 14px;background:white;border-radius:var(--radius);font-size:13px;font-family:var(--font-disp);border:1px solid var(--gray-200);transition:all .2s;color:var(--gray-700)}
.pagination a:hover,.pagination span.current{background:var(--primary);color:white;border-color:var(--primary)}

/* ─── SIDEBAR (inner pages) ─── */
.sidebar-widget{background:white;border-radius:var(--radius);overflow:hidden;margin-bottom:20px}
.widget-title{background:var(--dark-2);color:white;padding:12px 16px;font-family:var(--font-disp);font-size:15px;letter-spacing:.8px;border-bottom:2px solid var(--primary)}
.widget-body{padding:14px}
.widget-cat-link{padding:8px 0;border-bottom:1px solid var(--gray-100);font-size:13px;font-weight:600}
.widget-cat-link:last-child{border-bottom:none}
.widget-cat-link a{color:var(--gray-700);transition:color .2s}
.widget-cat-link a:hover{color:var(--primary)}

/* ─── MISSING CLASSES: Category & Post Pages ─── */

/* Category page header banner */
.cat-header{background:var(--dark-2);padding:28px 0;margin-bottom:24px;border-bottom:3px solid var(--primary);color:white}
.cat-header h1{font-family:var(--font-disp);font-size:clamp(22px,3vw,32px);color:white;letter-spacing:1px;margin-bottom:4px}
.cat-header p{font-size:13px;color:#888;margin-top:4px}

/* Section heading with title + count */
.section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px;padding-bottom:10px;border-bottom:2px solid var(--primary)}
.section-head h2{font-family:var(--font-disp);font-size:clamp(16px,2vw,20px);font-weight:700;color:var(--gray-900);display:flex;align-items:center;gap:8px}
.section-head h2::before{content:'';display:block;width:4px;height:20px;background:var(--primary);border-radius:2px}

/* Article card (news-card = alias for .card) */
.news-card{background:white;border-radius:var(--radius);overflow:hidden;transition:transform var(--trans),box-shadow var(--trans)}
.news-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-md)}
.news-card .card-img{position:relative;overflow:hidden}
.news-card .card-img img{width:100%;height:200px;object-fit:cover;transition:transform .4s ease;display:block}
.news-card:hover .card-img img{transform:scale(1.04)}

/* Category badge on cards (positioned absolute inside .card-img) */
.card-category{position:absolute;top:10px;left:10px;background:var(--primary);color:white;font-family:var(--font-disp);font-size:10px;letter-spacing:1px;padding:3px 10px;border-radius:3px;z-index:2}

/* Sidebar latest-post list cards */
.list-card{display:flex;gap:10px;align-items:flex-start;padding:10px 0;border-bottom:1px solid var(--gray-100)}
.list-card:last-child{border-bottom:none}
.list-card img{width:68px;height:50px;object-fit:cover;border-radius:4px;flex-shrink:0}
.list-card-info{flex:1;min-width:0}
.list-card-info h4{font-size:12px;font-weight:700;line-height:1.5;color:var(--gray-800);word-break:break-word;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.list-card-info h4:hover{color:var(--primary)}
.list-card-info .time,.time{font-size:10px;color:var(--gray-500);margin-top:3px;display:block}

/* Advertisement section */
.ad-banner-section{text-align:center;padding:12px 0;background:#f9f9f9;margin-bottom:20px;border-radius:var(--radius)}
.ad-label{font-size:10px;color:#aaa;letter-spacing:.8px;display:block;margin-bottom:4px;font-family:var(--font-disp)}

/* Post category badge */
.post-category-badge{display:inline-block;background:var(--primary);color:white;font-family:var(--font-disp);font-size:11px;letter-spacing:1px;padding:4px 12px;border-radius:4px;margin-bottom:12px}
.post-category-badge:hover{background:var(--primary-dark);color:white}


/* ─── SHARE BOX ─── */
.share-box{margin:28px 0;padding:20px 24px;background:#fff;border-radius:var(--radius);border:1px solid var(--gray-200);box-shadow:var(--shadow-sm)}
.share-box h4{font-family:var(--font-disp);font-size:14px;letter-spacing:.8px;margin-bottom:14px;color:var(--gray-700);display:flex;align-items:center;gap:8px}
.share-btns{display:flex;flex-wrap:wrap;gap:10px}

/* ── SHARE BUTTONS ─────────────────────────────────────────
   Background and color use !important to guarantee they are
   never overridden by global resets (a{color:inherit}),
   theme overrides, or any other stylesheet loaded after this.
────────────────────────────────────────────────────────── */

/* Base layout and structure */
.share-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.share-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 10px 20px !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  font-family: var(--font-disp) !important;
  cursor: pointer !important;
  border: 2px solid transparent !important;
  color: #ffffff !important;
  text-decoration: none !important;
  line-height: 1 !important;
  min-height: 42px !important;
  box-sizing: border-box !important;
  transition: background .22s ease, transform .15s ease, box-shadow .22s ease !important;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  opacity: 1 !important;
}
.share-btn i {
  font-size: 15px !important;
  flex-shrink: 0;
  line-height: 1;
  color: #ffffff !important;
  opacity: 1 !important;
}

/* ── Platform colors — !important beats every global reset ── */
.share-fb { background: #1877f2 !important; border-color: #1877f2 !important; color: #fff !important; }
.share-tw { background: #14171a !important; border-color: #14171a !important; color: #fff !important; }
.share-wa { background: #25d366 !important; border-color: #25d366 !important; color: #fff !important; }
.share-tg { background: #229ed9 !important; border-color: #229ed9 !important; color: #fff !important; }
.share-cp { background: #546e7a !important; border-color: #546e7a !important; color: #fff !important; }

/* ── Hover states ── */
.share-fb:hover { background: #1255c0 !important; border-color: #1255c0 !important; box-shadow: 0 4px 16px rgba(24,119,242,.5); transform: translateY(-2px); color: #fff !important; }
.share-tw:hover { background: #2d3748 !important; border-color: #2d3748 !important; box-shadow: 0 4px 16px rgba(0,0,0,.45);           transform: translateY(-2px); color: #fff !important; }
.share-wa:hover { background: #1aad45 !important; border-color: #1aad45 !important; box-shadow: 0 4px 16px rgba(37,211,102,.5);        transform: translateY(-2px); color: #fff !important; }
.share-tg:hover { background: #1880b8 !important; border-color: #1880b8 !important; box-shadow: 0 4px 16px rgba(34,158,217,.5);        transform: translateY(-2px); color: #fff !important; }
.share-cp:hover { background: #37474f !important; border-color: #37474f !important; box-shadow: 0 4px 16px rgba(84,110,122,.45);       transform: translateY(-2px); color: #fff !important; }

/* ── Active/tap feedback ── */
.share-btn:active { transform: translateY(1px) !important; box-shadow: none !important; opacity: .88 !important; }

/* ── Mobile: full-width stacked ── */
@media (max-width: 600px) {
  .share-btns { flex-direction: column; gap: 8px; }
  .share-btn  { width: 100% !important; justify-content: center !important; padding: 12px 16px !important; }
}

/* ================================================================
   SHARE BUTTONS — href + nth-child fallback
   Targets bare <a> tags inside .share-btns even when the template
   does NOT add .share-fb / .share-tw / .share-btn class names.
   Uses href attribute substrings AND nth-child order as a belt-and-
   suspenders approach so at least one selector always matches.
   ================================================================ */

/* ── Base reset for every anchor inside the share bar ── */
.share-btns a,
.share-btns button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  padding: 9px 18px !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  text-decoration: none !important;
  border: 2px solid transparent !important;
  cursor: pointer !important;
  line-height: 1 !important;
  min-height: 40px !important;
  box-sizing: border-box !important;
  transition: background .22s ease, transform .15s ease, box-shadow .22s ease !important;
  opacity: 1 !important;
}
.share-btns a i,
.share-btns button i {
  color: #ffffff !important;
  font-size: 14px !important;
  opacity: 1 !important;
}

/* ── href-based platform colours (most reliable) ── */
.share-btns a[href*="facebook"]                         { background: #1877f2 !important; border-color: #1877f2 !important; }
.share-btns a[href*="twitter"], .share-btns a[href*="x.com"]  { background: #14171a !important; border-color: #14171a !important; }
.share-btns a[href*="whatsapp"]                         { background: #25d366 !important; border-color: #25d366 !important; }
.share-btns a[href*="t.me"], .share-btns a[href*="telegram"]  { background: #229ed9 !important; border-color: #229ed9 !important; }
.share-btns a[href*="copy"], .share-btns a[onclick*="copy"], .share-btns button[onclick*="copy"] { background: #546e7a !important; border-color: #546e7a !important; }

/* ── nth-child fallback (order: FB, TW, WA, TG, Copy) ── */
.share-btns a:nth-child(1), .share-btns > *:nth-child(1) { background: #1877f2 !important; border-color: #1877f2 !important; }
.share-btns a:nth-child(2), .share-btns > *:nth-child(2) { background: #14171a !important; border-color: #14171a !important; }
.share-btns a:nth-child(3), .share-btns > *:nth-child(3) { background: #25d366 !important; border-color: #25d366 !important; }
.share-btns a:nth-child(4), .share-btns > *:nth-child(4) { background: #229ed9 !important; border-color: #229ed9 !important; }
.share-btns a:nth-child(5), .share-btns > *:nth-child(5) { background: #546e7a !important; border-color: #546e7a !important; }

/* ── Hover — also overrides global a:hover { color:#cc0000 } ── */
.share-btns a:hover, .share-btns button:hover           { color: #ffffff !important; transform: translateY(-2px) !important; }
.share-btns a[href*="facebook"]:hover                   { background: #1255c0 !important; border-color: #1255c0 !important; box-shadow: 0 4px 16px rgba(24,119,242,.45) !important; }
.share-btns a[href*="twitter"]:hover, .share-btns a[href*="x.com"]:hover  { background: #2d3748 !important; border-color: #2d3748 !important; box-shadow: 0 4px 16px rgba(0,0,0,.4) !important; }
.share-btns a[href*="whatsapp"]:hover                   { background: #1aad45 !important; border-color: #1aad45 !important; box-shadow: 0 4px 16px rgba(37,211,102,.45) !important; }
.share-btns a[href*="t.me"]:hover, .share-btns a[href*="telegram"]:hover  { background: #1880b8 !important; border-color: #1880b8 !important; box-shadow: 0 4px 16px rgba(34,158,217,.45) !important; }
.share-btns a:nth-child(1):hover { background: #1255c0 !important; border-color: #1255c0 !important; }
.share-btns a:nth-child(2):hover { background: #2d3748 !important; border-color: #2d3748 !important; }
.share-btns a:nth-child(3):hover { background: #1aad45 !important; border-color: #1aad45 !important; }
.share-btns a:nth-child(4):hover { background: #1880b8 !important; border-color: #1880b8 !important; }
.share-btns a:nth-child(5):hover { background: #37474f !important; border-color: #37474f !important; }

/* ── Mobile ── */
@media (max-width: 600px) {
  .share-btns a, .share-btns button { width: 100% !important; padding: 12px 16px !important; }
}