/* =========================================
   FocusZeno Footer v2 - News style
   ========================================= */

/* Theme ka purana footer (agar kisi wajah se reh jaye) chhupa do */
body .site-footer:not(.fzf-footer) {
  display: none;
}

.fzf-footer {
  --fzf-bg: #0f1b2d;
  --fzf-bg-2: #0a1422;
  --fzf-text: #c2cddb;
  --fzf-muted: #8393a8;
  --fzf-white: #ffffff;
  --fzf-blue: #1C6FC4;
  --fzf-line: rgba(255, 255, 255, 0.08);

  background: var(--fzf-bg);
  color: var(--fzf-text);
  font-size: 15px;
  line-height: 1.6;
  border-top: 4px solid var(--fzf-blue);
  margin-top: 0;
}
.fzf-footer *,
.fzf-footer *::before,
.fzf-footer *::after {
  box-sizing: border-box;
}

.fzf-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 4 columns ---------- */
.fzf-main {
  padding: 56px 0 40px;
}
.fzf-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
  gap: 40px;
}

/* ---------- Common ---------- */
.fzf-footer a {
  color: var(--fzf-text);
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}
.fzf-footer a:hover,
.fzf-footer a:focus {
  color: var(--fzf-white);
}
.fzf-footer p {
  color: var(--fzf-text);
  margin: 0 0 14px;
}
.fzf-title,
.fzf-footer .fzf-widget .widget-title,
.fzf-footer .fzf-widget h2 {
  position: relative;
  color: var(--fzf-white);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 20px;
  padding: 0 0 10px;
  border: none;
}
.fzf-title::after,
.fzf-footer .fzf-widget .widget-title::after,
.fzf-footer .fzf-widget h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 3px;
  background: var(--fzf-blue);
  border-radius: 2px;
}
.fzf-widget + .fzf-widget {
  margin-top: 28px;
}
.fzf-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ---------- Column 1: Intro ---------- */
.fzf-sitename {
  display: inline-block;
  color: var(--fzf-white) !important;
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 14px;
}
.fzf-logo {
  margin-bottom: 16px;
}
.fzf-logo img {
  max-height: 48px;
  width: auto;
}
.fzf-intro-text {
  color: var(--fzf-muted) !important;
  max-width: 340px;
}

/* Social */
.fzf-social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.fzf-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  color: var(--fzf-text);
}
.fzf-social a:hover {
  background: var(--fzf-blue);
  color: var(--fzf-white);
}

/* ---------- Column 2: Pages ---------- */
.fzf-list li {
  padding: 0;
  margin: 0 0 10px;
}
.fzf-pages .fzf-list a::before {
  content: "›";
  display: inline-block;
  margin-right: 8px;
  color: var(--fzf-blue);
  font-weight: 700;
  transition: transform 0.2s;
}
.fzf-pages .fzf-list a:hover::before {
  transform: translateX(3px);
}

/* ---------- Column 3: Categories ---------- */
.fzf-cat-list li {
  margin: 0;
  border-bottom: 1px solid var(--fzf-line);
}
.fzf-cat-list li:last-child {
  border-bottom: none;
}
.fzf-cat-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
}
.fzf-count {
  font-size: 12px;
  font-weight: 600;
  min-width: 28px;
  text-align: center;
  padding: 2px 8px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--fzf-muted);
}
.fzf-cat-list a:hover .fzf-count {
  background: var(--fzf-blue);
  color: var(--fzf-white);
}

/* ---------- Column 4: Latest News ---------- */
.fzf-post {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 0 0 14px;
  margin: 0 0 14px;
  border-bottom: 1px solid var(--fzf-line);
}
.fzf-post:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.fzf-thumb {
  flex: 0 0 64px;
}
.fzf-thumb img {
  display: block;
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 6px;
}
.fzf-post-body {
  min-width: 0;
}
.fzf-post-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--fzf-white) !important;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}
.fzf-post-title:hover {
  color: #7fb8f0 !important;
}
.fzf-date {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--fzf-muted);
}

/* ---------- Normal WP widgets (agar dalein) ---------- */
.fzf-footer .fzf-widget ul li {
  margin-bottom: 10px;
}
.fzf-footer .fzf-widget select,
.fzf-footer .fzf-widget input[type="search"] {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--fzf-line);
  color: var(--fzf-white);
  border-radius: 6px;
  padding: 8px 12px;
}

/* ---------- Bottom bar ---------- */
.fzf-bottom {
  background: var(--fzf-bg-2);
  border-top: 1px solid var(--fzf-line);
}
.fzf-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.fzf-copy {
  margin: 0 !important;
  font-size: 14px;
  color: var(--fzf-muted) !important;
}
.fzf-bottom-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
}
.fzf-bottom-menu li {
  margin: 0;
}
.fzf-bottom-menu a {
  font-size: 14px;
  color: var(--fzf-muted);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .fzf-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px 32px;
  }
}
@media (max-width: 600px) {
  .fzf-main {
    padding: 40px 0 28px;
  }
  .fzf-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .fzf-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
  .fzf-bottom-menu {
    justify-content: center;
  }
}
