/* =========================================================
   Site Footer — News Portal Style
   ========================================================= */

:root{
  --footer-navy: #0c3a63;
  --footer-blue: #14588f;
  --footer-yellow: #f4c430;
  --footer-pink: #e6417a;
  --footer-white: #ffffff;
  --footer-gray: #b9c8d6;
}

*{ box-sizing: border-box; }

.site-footer{
    font-family: 'Poppins', 'Noto Sans Telugu', sans-serif;
    width: 100%;
    max-width: 1300px;
    margin: 0px auto;
}

/* ---------- Top block ---------- */
.footer-top{
  background: var(--footer-navy);
  padding: 14px 16px;
}
.footer-top-inner{
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* Logo */
.footer-logo{
  flex-shrink: 0;
  display: flex;
  align-items: baseline;
  gap: 2px;
  text-decoration: none;
}
.footer-logo .logo-main{
  font-family: 'Noto Sans Telugu', 'Playfair Display', serif;
  font-weight: 800;
  font-size: 30px;
  color: var(--footer-white);
  -webkit-text-stroke: .5px rgba(255,255,255,.4);
  letter-spacing: .5px;
}
.footer-logo .logo-suffix{
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--footer-yellow);
  align-self: flex-end;
  margin-bottom: 4px;
}

/* Center: links + copyright */
.footer-center{
  flex: 1 1 380px;
  text-align: center;
  min-width: 260px;
}
.footer-links{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 10px;
  margin: 0 0 6px;
  padding: 0;
  list-style: none;
}
.footer-links li{ display: flex; align-items: center; gap: 10px; }
.footer-links li:not(:last-child)::after{
  content: '|';
  color: var(--footer-gray);
  margin-left: 10px;
}
.footer-links a{
  color: var(--footer-white);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .3px;
  text-transform: uppercase;
  white-space: nowrap;
}
.footer-links a:hover{ color: var(--footer-yellow); }

.footer-copyright{
  color: var(--footer-white);
  font-size: 13px;
  margin: 0 0 2px;
}
.footer-powered{
  color: var(--footer-gray);
  font-size: 11.5px;
  margin: 0;
}

/* App block */
.footer-app{
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-app .app-label{
  color: var(--footer-white);
  font-weight: 700;
  font-size: 15px;
}
.footer-app a{
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--footer-white);
  text-decoration: none;
  font-size: 16px;
  flex-shrink: 0;
}
.footer-app .app-android{ background: #3ddc84; color: #0c3a63; }
.footer-app .app-apple{ background: #2b2f33; }

/* ---------- Bottom block ---------- */
.footer-bottom{
  background: var(--footer-blue);
  padding: 10px 16px;
}
.footer-bottom-inner{
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-legal{
  flex: 1 1 360px;
  color: var(--footer-white);
  font-size: 11.5px;
  line-height: 1.5;
  min-width: 260px;
}

.footer-meta{
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  text-align: right;
}
.footer-meta-links{
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 11.5px;
  line-height: 1.5;
}
.footer-meta-links span{ color: var(--footer-white); }
.footer-meta-links a{
  color: var(--footer-yellow);
  text-decoration: none;
  font-weight: 600;
}
.footer-meta-links a:hover{ text-decoration: underline; }
.footer-ip{
  color: var(--footer-gray);
  font-size: 10px;
}

.footer-meta-icons{
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.footer-abc-badge{
  background: var(--footer-navy);
  color: var(--footer-white);
  font-size: 10px;
  font-weight: 800;
  border-radius: 3px;
  padding: 3px 6px;
  border: 1px solid rgba(255,255,255,.25);
}
.footer-theme-toggle{
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--footer-yellow);
  color: var(--footer-navy);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  flex-shrink: 0;
}
.footer-totop{
  width: 30px; height: 30px;
  border-radius: 6px;
  background: var(--footer-pink);
  color: var(--footer-white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  flex-shrink: 0;
  text-decoration: none;
}
.footer-totop:hover{ opacity: .9; color: var(--footer-white); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 991px){
  .footer-top-inner{ justify-content: center; text-align: center; }
  .footer-center{ order: 3; flex-basis: 100%; }
  .footer-bottom-inner{ flex-direction: column; align-items: flex-start; }
  .footer-meta{ width: 100%; justify-content: space-between; text-align: left; }
  .footer-meta-links{ align-items: flex-start; }
}

@media (max-width: 600px){
  .footer-top-inner{ flex-direction: column; gap: 10px; }
  .footer-logo .logo-main{ font-size: 26px; }
  .footer-links{ gap: 4px 8px; }
  .footer-links a{ font-size: 11px; }
  .footer-links li:not(:last-child)::after{ margin-left: 8px; }

  .footer-bottom-inner{ gap: 10px; }
  .footer-meta{ flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-meta-icons{ align-self: flex-start; }
}
