/* =========================================================
   Site Header — News Portal Style
   ========================================================= */

:root {
  --brand-blue: #1560bd;
  --brand-blue-dark: #0e4c99;
  --brand-orange: #c0392b;
  --brand-orange-dark: #a5301f;
  --gold: #f4c430;
  --white: #ffffff;
  --gray-light: #eef2f6;
  --gray-border: #dfe6ee;
  --text-dark: #1e2a35;
  --nav-height: 46px;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

img, video, iframe {
    max-width: 100%;
    height: auto;
}



.preloader{
    position:fixed;
    inset:0;
    background:#ffffff;
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:99999;
}

.loader-box{
    text-align:center;
    width:340px;
}



.loader-logo{
    font-size:42px;
    font-weight:800;
    margin:0;
    color:#0056b3;
}

.loader-logo span{
    color:#e53935;
}

.loader-line{
    margin:25px auto;
    width:100%;
    height:6px;
    background:#ececec;
    border-radius:50px;
    overflow:hidden;
}

.loader-progress{
    height:100%;
    width:35%;
    background:linear-gradient(90deg,#0056b3,#00b4ff);
    animation:loading 1s infinite;
}

.loader-text{
    color:#777;
    font-size:14px;
}

@keyframes loading{

    0%{
        transform:translateX(-100%);
    }

    100%{
        transform:translateX(350%);
    }

}

@keyframes pulse{

    50%{
        transform:scale(1.08);
    }

}
*{ box-sizing: border-box; }

.site-header{
  font-family: 'Poppins', 'Noto Sans Telugu', sans-serif;
  width: 100%;
  position: relative;
  z-index: 500;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
}

.site-header {
    max-width: 1300px;
    margin: 0 auto;
    padding-bottom: 2px;
}



/* ---------- Top utility bar ---------- */


.header-topbar .topbar-inner{
  max-width: 1300px;
  margin: 0 auto;
  padding: 5px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background:#0e4c99 ;
}

/* Ticker wrapper */
.topbar-ticker{
  flex: 1 1 auto;
  overflow: hidden;
  position: relative;
  white-space: nowrap;
  mask-image: linear-gradient(to right, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
}

.topbar-ticker-track{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  animation: ticker-scroll 50s linear infinite;
  padding-left: 100%;
}

.topbar-ticker:hover .topbar-ticker-track{
  animation-play-state: paused;
}

.ticker-item{
  color: var(--white);
  font-size: 16px;
      font-weight: 700;
}

.ticker-sep{
  color: var(--gold);
  opacity: .6;
  font-size: 12px;
}

@keyframes ticker-scroll{
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}


/* ---------- Middle: logo / ad / actions ---------- */
.header-main{
  background: var(--white);
}

.header-main-inner{
  max-width: 1300px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

/* Logo block */
.brand-block{
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  line-height: 1;
}
.brand-name{
  font-family: 'Playfair Display', 'Noto Sans Telugu', serif;
  font-weight: 800;
  font-size: 40px;
  color: var(--brand-orange);
  letter-spacing: .5px;
  text-decoration: none;
  position: relative;
}
.brand-name::after{
  content:'';
  display:block;
  width: 60%;
  height: 3px;
  margin-top: 2px;
  background: linear-gradient(90deg,var(--brand-orange),transparent);
  border-radius: 2px;
}
.brand-sub{
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-blue);
}
.brand-sub i{ font-size: 13px; color: var(--brand-blue); }

/* Ad slot */
.header-ad{
  flex: 1 1 auto;
  max-width: 751px;
  min-width: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 65px;
  border: 1px solid var(--gray-border);
  border-radius: 4px;
  padding: 10px 12px;
  background: var(--gray-light);
  gap: 6px;
  overflow: hidden;
}

.header-ad .ad-mark{
  width: 22px; height: 22px;
  background: repeating-linear-gradient(45deg, var(--brand-orange) 0 3px, transparent 3px 6px);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  flex-shrink: 0;
}
.header-ad .ad-text{
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.5px;
  color: var(--brand-orange-dark);
  white-space: nowrap;
}
.header-ad .ad-badge{
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  color: var(--brand-blue-dark);
  font-size: 7px;
  line-height: 1;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-align: center;
}


/* Right action icons */
/* .header-actions{
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
  margin-left: 14px;
} */

.epaper-badge{
  border: 1px solid var(--gray-border);
  border-radius: 4px;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-dark);
  text-decoration: none;
  white-space: nowrap;
}

/* ---------- Nav bar ---------- */
.header-nav{
  background: var(--brand-blue);
}
.header-nav-inner{
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-behavior: smooth;
}
.header-nav-inner::-webkit-scrollbar{ display: none; }

.nav-home{
  flex-shrink: 0;
  width: var(--nav-height);
  height: var(--nav-height);
  background: rgba(255,255,255,.15);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 16px;
}
.nav-home:hover{ background: rgba(255,255,255,.28); }

.nav-menu{
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}
.nav-menu li{ flex-shrink: 0; position: relative; }
.nav-menu a{
  display: flex;
  align-items: center;
  gap: 4px;
  height: var(--nav-height);
  padding: 0 14px;
  color: var(--white);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 600;
  white-space: nowrap;
  border-right: 1px solid rgba(255,255,255,.15);
  transition: background .15s;
}
.nav-menu a:hover{ background: rgba(255,255,255,.14); }

.nav-menu a .caret{ font-size: 10px; opacity: .8; }

/* Mobile hamburger */
.nav-toggle{
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 20px;
  width: var(--nav-height);
  height: var(--nav-height);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 991px){
  .header-ad{ display: none; }
  .brand-name{ font-size: 32px; }
  .header-social{ display: none; }
  .header-icon-btn{ width: 30px; height: 30px; font-size: 13px; }
  .header-lang-btn{ padding: 5px 9px; font-size: 12px; }
}

@media (max-width: 768px){
  .topbar-links a:not(.topbar-search-link){ display: none; }
  .topbar-links .topbar-sep{ display: none; }

  .header-main-inner{ padding: 8px 12px; gap: 10px; }
  .brand-name{ font-size: 26px; }
  .brand-sub{ font-size: 12px; }
  /* .header-actions{ gap: 12px; } */
  .epaper-badge{ padding: 5px 7px; font-size: 10px; }

  .nav-toggle{ display: flex; order: -1; }
  .header-nav{ position: relative; }
  .header-nav-inner{
    position: static;
    overflow: visible;
  }
  .nav-menu{
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--brand-blue-dark);
    box-shadow: 0 6px 12px rgba(0,0,0,.2);
    max-height: 70vh;
    overflow-y: auto;
    z-index: 600;
  }
  .header-nav.nav-open .nav-menu{ display: flex; }
  .nav-menu a{
    height: auto;
    padding: 12px 16px;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,.1);
  }
  .nav-home{ display: none; }
}

@media (max-width: 480px){
  .brand-name{ font-size: 22px; }
  .action-item span{ display: none; }
  .action-item i{ font-size: 20px; }
}

@media (max-width: 480px){
  .header-middle-actions{ gap: 8px; }
  .header-lang-btn span{ display: none; }
  .header-lang-btn{ padding: 6px 8px; }
  .header-lang-btn i{ font-size: 10px; }
  /* .header-actions{ gap: 8px; margin-left: 0; } */
  .epaper-badge span{ display: none; }
  .epaper-badge{ padding: 6px 8px; }
}


.brand-wrap {
    display: flex;
    flex-direction: column;
}

.brand-date {
    margin-top: 4px;
    font-size: 0.85rem;
    color: #333;
}

.header-middle-actions{
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}
.header-icon-btn{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid #ddd;
    border-radius: 50%;
    background: #fff;
    color: #222;
    font-size: 14px;
    cursor: pointer;
    transition: .25s;
}
.header-icon-btn:hover{
    background: #005fa9;
    color: #fff;
}
.lang-dropdown{
    position: relative;
}
.header-lang-btn{
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    color: #222;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}
.lang-menu{
    display: none;
    position: absolute;
    top: 110%;
    left: 0;
    min-width: 120px;
    margin: 0;
    padding: 4px 0;
    list-style: none;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0,0,0,.08);
    z-index: 10;
}
.lang-menu.open{
    display: block;
}
.lang-menu li a{
    display: block;
    padding: 8px 12px;
    color: #222;
    font-size: 13px;
    text-decoration: none;
}
.lang-menu li a:hover{
    background: #f5f5f5;
}
.header-social{
    display: flex;
    align-items: center;
    gap: 8px;
}
.social-icon{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #f2f2f2;
    color: #222;
    font-size: 13px;
    text-decoration: none;
    transition: .25s;
}
.social-icon.fb:hover{ background:#1877f2; color:#fff; }
.social-icon.insta:hover{ background:#e1306c; color:#fff; }
.social-icon.yt:hover{ background:#ff0000; color:#fff; }
.social-icon.x:hover{ background:#000; color:#fff; }

@media (max-width: 991px){
  .header-ad{ display: none; }
  .brand-name{ font-size: 32px; }
  .header-social{ display: none; }
  .header-icon-btn{ width: 30px; height: 30px; font-size: 13px; }
  .header-lang-btn{ padding: 5px 9px; font-size: 12px; }
}

@media (max-width: 991px){
  .lang-menu{
    left: auto;
    right: 0;
    min-width: 130px;
  }
}

.lang-dropdown{
  position: relative;
}
.header-middle-actions,
.header-main-inner{
  overflow: visible;
}

/* =========================================================
   Nav "More" dropdown — fixed positioning, JS-placed
   Works on click for both desktop and mobile.
   ========================================================= */

.nav-more-item{
  position: relative;
}

.nav-menu > li.nav-more-item > a{
  display: flex;
  align-items: center;
  gap: 4px;
  height: var(--nav-height);
  padding: 0 14px;
  color: var(--white);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 600;
  white-space: nowrap;
  border-right: none;
}
.nav-menu > li.nav-more-item > a:hover{
  background: rgba(255,255,255,.14);
}

.nav-more-menu{
  display: none;
  position: fixed;
  min-width: 220px;
  margin: 0;
  padding: 6px 0;
  list-style: none;
  background: var(--brand-blue-dark);
  box-shadow: 0 6px 12px rgba(0,0,0,.2);
  z-index: 9999;
  max-height: 70vh;
  overflow-y: auto;
}
.nav-more-menu.open{
  display: block;
}
.nav-more-menu li a{
  display: block;
  height: auto;
  padding: 10px 16px;
  color: var(--white);
  text-decoration: none;
  border-right: none;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.nav-more-menu li:last-child a{
  border-bottom: none;
}
.nav-more-menu li a:hover{
  background: rgba(255,255,255,.14);
}
