:root{
  --blue:#0b5ed7;
  --dark:#12161f;
  --text:#e9eefc;
  --muted:#b9c6e6;
  --pill:#e53935;
  --line:rgba(255,255,255,.12);
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:#f4f6fb;
  color:#0c1220;
}
a{color:inherit}

/* ===== TOPBAR (FIXED MOBILE OVERFLOW) ===== */
.topbar{
  background:#ffffff;
  border-bottom:1px solid #e8ecf6;
  padding: 10px 16px;
  display:flex;
  flex-direction:column;
  gap:10px;
}

/* Row 1: grid so right icons never drop weirdly */
.topbar-row1{
  display:grid;
  grid-template-columns: 1fr auto;
  align-items:center;
  gap:12px;
}

.topbar-left{
  min-width:0; /* ✅ allow ellipsis */
}

.date{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:13px;
  color:#0c1220;
  white-space:nowrap;
  min-width:0;
}
#autoDate{
  display:inline-block;
  min-width:0;
  max-width: 100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.dot{ color: var(--blue); font-size:12px; }

.topbar-right{
  display:flex;
  align-items:center;
  gap:10px;
  flex: 0 0 auto;
}

.social{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border-radius:12px;
  border:1px solid #e7ebf5;
  color:#111827;
  text-decoration:none;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.social:hover{
  transform: translateY(-1px);
  background:#f2f6ff;
  border-color:#d7e2ff;
  color:var(--blue);
}

.menu-btn{
  display:none;
  width:38px;
  height:38px;
  border-radius:12px;
  border:1px solid #e7ebf5;
  background:#fff;
  cursor:pointer;
}
.menu-btn i{ font-size:16px; }

/* Row 2 */
.topbar-row2{
  width:100%;
  display:flex;
  align-items:center;
  gap:10px;
  padding: 8px 10px;
  border:1px solid #e6ecf3;
  border-radius:12px;
  background:#f8fbff;
  overflow:hidden;
}

.breaking-pill{
  background:var(--pill);
  color:#fff;
  font-size:12px;
  font-weight:800;
  padding:6px 10px;
  border-radius:999px;
  white-space:nowrap;
  flex: 0 0 auto;
}

.breaking-link{
  color:#0c1220;
  text-decoration:none;
  font-size:13px;
  font-weight:650;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  flex: 1 1 auto;
}
.breaking-link:hover{
  color:var(--blue);
  text-decoration:underline;
}

/* ===== BRAND ===== */
.brand-row{
  background:#ffffff;
  padding:16px 16px 10px;
  border-bottom:1px solid #e8ecf6;
}
.brand{
  max-width:1200px;
  margin:0 auto;
  display:flex;
  flex-direction:column;
  gap:4px;
}
.brand-name{
  font-size:34px;
  font-weight:900;
  letter-spacing:.4px;
  display:flex;
  align-items:center;
  gap:8px;
  line-height:1.05;
}
.pk-flag{
  width:22px;
  height:auto;
  border-radius:3px;
}
.brand-tag{
  font-size:12px;
  color:#6b7280;
  font-weight:650;
}

/* ===== NAV ===== */
.nav-wrap{
  background:var(--dark);
  position:relative;
}
.main-nav{
  max-width:1200px;
  margin:0 auto;
  padding:0 10px;
}
.nav-links{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  align-items:center;
  gap:2px;
}
.nav-item{ position:relative; }

.nav-link{
  display:inline-flex;
  align-items:center;
  padding:14px 14px;
  color:var(--text);
  text-decoration:none;
  font-weight:700;
  font-size:13px;
  letter-spacing:.2px;
  text-transform:uppercase;
  border-radius:10px;
}
.nav-link:hover{ background:rgba(255,255,255,.06); }
.nav-link.active{ background:var(--blue); }

/* ===== DROPDOWN ===== */
.dropdown-menu{
  position:absolute;
  top:100%;
  left:0;
  min-width:240px;
  background:#ffffff;
  border:1px solid #e8ecf6;
  border-radius:12px;
  padding:8px 0;
  box-shadow: 0 10px 24px rgba(12,18,32,.18);
  display:none;
  z-index:1000;
}
.dropdown-menu li{ list-style:none; }
.dropdown-menu a{
  display:block;
  padding:10px 12px;
  text-decoration:none;
  font-weight:650;
  font-size:13px;
  color:#0c1220;
}
.dropdown-menu a:hover{
  background:#f2f6ff;
  color:var(--blue);
}

/* Desktop hover open */
@media (hover:hover){
  .nav-item.dropdown:hover > .dropdown-menu{ display:block; }
}

/* Mobile open class */
.nav-item.dropdown.open > .dropdown-menu{ display:block; }

/* ===== RESPONSIVE HEADER ===== */
@media (max-width: 980px){
  .menu-btn{ display:inline-grid; place-items:center; }

  .topbar{ padding: 10px 10px; }
  .social{ width:32px; height:32px; }
  .menu-btn{ width:34px; height:34px; }

  .brand-row{ padding: 14px 12px 10px; }
  .brand-name{ font-size: 30px; }
  .pk-flag{ width:20px; }

  .nav-links{
    position:absolute;
    left:0;
    right:0;
    top:100%;
    background:var(--dark);
    flex-direction:column;
    align-items:stretch;
    gap:0;
    display:none;
    padding:10px 10px 14px;
    border-top:1px solid var(--line);
    z-index: 999;
  }
  .nav-wrap.open .nav-links{ display:flex; }

  .nav-link{
    width:100%;
    justify-content:space-between;
    border-radius:12px;
  }

  .dropdown-menu{
    position:static;
    min-width:unset;
    border-radius:12px;
    margin:6px 0 0;
  }
}
/* ===== FOOTER (JOBZ11 STYLE) ===== */
.site-footer{
  background:#1c1f23;
  color:#fff;
  margin-top: 26px;
}

.footer-inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 34px 16px 22px;
  display:grid;
  grid-template-columns: 380px 1fr;
  gap: 28px;
  align-items:start;
}

.footer-left{ min-width:0; }

.footer-head{
  margin:0;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: .2px;
}

.footer-line{
  display:block;
  width: 44px;
  height: 2px;
  background:#ffffff;
  opacity:.8;
  margin: 10px 0 16px;
  border-radius: 999px;
}

.footer-logo{
  background:#fff;
  border-radius: 2px;
  overflow:hidden;
  width: 360px;
  max-width: 100%;
}
.footer-logo img{
  width: 100%;
  height: auto;
  display:block;
}

.footer-right{ min-width:0; }
.footer-text{
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: #ffffff;
  opacity: .95;
  text-align: center;
  padding-top: 6px;
}

/* bottom */
.footer-bottom{
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 14px 16px;
}

.footer-bottom{
  max-width: 1200px;
  margin: 0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copy{
  margin:0;
  font-size: 13px;
  color: rgba(255,255,255,.92);
}

.footer-copy .heart{
  color:#ff4d4d;
  font-weight: 900;
}

/* ✅ Only icons */
.footer-social{
  display:flex;
  align-items:center;
  gap: 12px;
}

.ficon{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display:grid;
  place-items:center;
  border: 1px solid rgba(255,255,255,.25);
  color:#fff;
  text-decoration:none;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.ficon:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.45);
}

/* responsive */
@media (max-width: 900px){
  .footer-inner{
    grid-template-columns: 1fr;
  }
  .footer-text{
    text-align: left;
  }
}

@media (max-width: 520px){
  .footer-bottom{
    justify-content:center;
    text-align:center;
  }
}
