/* Facepoint 1.6 — durable compact footer. Loads AFTER editorial-v14 / multilingual CSS.
   Only the footer is changed; ad locations and news templates stay untouched. */
.site-footer.fp-footer-v2 {
  --fp-footer-rule: rgba(198,217,246,.19);
  margin-top: 12px;
  background:linear-gradient(125deg,#0c192f 0%,#142946 65%,#0e1d36 100%);
  color:#f0f5fc;
  font-size:14px;
  line-height:1.8;
  isolation:isolate;
}
.site-footer.fp-footer-v2 .footer-grid {
  display:grid;
  grid-template-columns:minmax(0,1.55fr) minmax(0,1.14fr) minmax(0,1fr) minmax(0,1.14fr);
  padding:23px 0 21px;
  gap:0;
  align-items:start;
}
.site-footer.fp-footer-v2 .footer-grid > * {
  min-width:0;
  padding-inline:clamp(14px,1.65vw,29px);
  border-inline-start:1px solid var(--fp-footer-rule);
}
.site-footer.fp-footer-v2 .footer-grid > :first-child {border-inline-start:0;padding-inline-start:0;}
.site-footer.fp-footer-v2 .footer-grid > :last-child {padding-inline-end:0;}
/* The uploaded English logo contains navy lettering; always give it a light backing. */
.site-footer.fp-footer-v2 .footer-about .fp-footer-brand {
  display:flex;
  flex-direction:column;
  direction:ltr;
  align-items:stretch;
  justify-content:center;
  gap:3px;
  width:min(100%,307px);
  max-width:100%;
  padding:7px 10px;
  background:#ffffff;
  color:#0c2750;
  border:1px solid rgba(255,255,255,.8);
  border-radius:10px;
  box-shadow:0 5px 16px rgba(0,0,0,.13);
  text-decoration:none;
}
.site-footer.fp-footer-v2 .fp-footer-logo-primary,
.site-footer.fp-footer-v2 .fp-footer-logo-local {
  display:flex;
  align-items:center;
  min-width:0;
  width:100%;
}
.site-footer.fp-footer-v2 .fp-footer-logo-primary {justify-content:flex-start;}
.site-footer.fp-footer-v2 .fp-footer-logo-local {justify-content:flex-end;padding-top:3px;border-top:1px solid #e7edf7;}
.site-footer.fp-footer-v2 .footer-about .fp-footer-logo-primary img,
.site-footer.fp-footer-v2 .footer-about .fp-footer-logo-local img {
  display:block;
  width:auto;
  max-width:100%;
  height:auto;
  max-height:65px;
  object-fit:contain;
  filter:none!important;
  opacity:1!important;
}
.site-footer.fp-footer-v2 .footer-about .fp-footer-logo-local img {max-width:80%;max-height:45px;}
.site-footer.fp-footer-v2 .fp-footer-brand:hover {box-shadow:0 6px 20px rgba(0,0,0,.24);}
.site-footer.fp-footer-v2 .fp-footer-description {
  max-width:350px;
  font-size:14px;
  line-height:1.9;
  margin:10px 0 0;
  color:#dae6f8;
  overflow-wrap:anywhere;
}
.site-footer.fp-footer-v2 .footer-grid h3 {
  font-size:17px;
  font-weight:800;
  line-height:1.9;
  padding-bottom:7px;
  margin:0 0 12px;
  color:#fff;
}
.site-footer.fp-footer-v2 .footer-grid h3::after {height:2px;background:#f14665;}
.site-footer.fp-footer-v2 .footer-category-links {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:0 11px;
}
.site-footer.fp-footer-v2 .footer-info-links,
.site-footer.fp-footer-v2 .footer-info-links > ul {display:grid;gap:0;list-style:none;margin:0;padding:0;}
.site-footer.fp-footer-v2 :is(.footer-links a,.footer-page-menu a) {
  display:block;
  padding:2px 0;
  color:#e4edfb;
  font-size:14px;
  font-weight:500;
  line-height:2.05;
  overflow-wrap:anywhere;
}
.site-footer.fp-footer-v2 :is(.footer-links a,.footer-page-menu a):hover {color:#fff;text-decoration:underline;text-underline-offset:3px;}
.site-footer.fp-footer-v2 .fp-footer-follow {
  color:#dae6f8;
  font-size:14px;
  line-height:1.95;
  margin:0 0 10px;
  max-width:310px;
}
.site-footer.fp-footer-v2 .fp-social {
  display:flex;
  direction:ltr;
  flex-flow:row wrap;
  justify-content:flex-start;
  align-items:center;
  gap:7px;
  margin:0;
}
.site-footer.fp-footer-v2 .fp-social .social-link {
  display:inline-flex;
  flex:0 0 36px;
  width:36px;
  min-width:36px;
  height:36px;
  justify-content:center;
  align-items:center;
  border-radius:9px;
  color:#fff!important;
}
.site-footer.fp-footer-v2 .fp-social .social-link svg {width:19px;height:19px;display:block;}
.site-footer.fp-footer-v2 .fp-footer-widget-area {margin-top:8px;}
.site-footer.fp-footer-v2 .footer-bottom {
  padding:9px 0;
  background:#0b172d;
  border-top:1px solid var(--fp-footer-rule);
  color:#cbd9ef;
  font-size:12px;
}
.site-footer.fp-footer-v2 .fp-footer-bottom-inner {gap:10px;}
/* Urdu remains Nastaliq, but is large enough to read on high-DPI displays. */
body.facepoint-lang-ur .site-footer.fp-footer-v2 .footer-grid :is(h3,p,a,li),
body.facepoint-lang-ur .site-footer.fp-footer-v2 .footer-bottom :is(span,a) {
  font-family:'Noto Nastaliq Urdu','Noto Naskh Arabic',serif!important;
  line-height:2.2;
}
body.facepoint-lang-ur .site-footer.fp-footer-v2 .footer-grid :is(.footer-links a,.footer-page-menu a) {font-size:14px;line-height:2.25;}
body.facepoint-lang-ur .site-footer.fp-footer-v2 .fp-footer-description,
body.facepoint-lang-ur .site-footer.fp-footer-v2 .fp-footer-follow {font-size:14px;line-height:2.25;}
body.facepoint-lang-ur .site-footer.fp-footer-v2 .footer-grid h3 {font-size:17px;line-height:2.1;}
body.facepoint-lang-ur .site-footer.fp-footer-v2 .fp-social .social-link {line-height:1;}
@media(max-width:1140px) {
  .site-footer.fp-footer-v2 .footer-grid {grid-template-columns:minmax(0,1.25fr) minmax(0,1.12fr) minmax(0,.9fr);gap:19px 0;}
  .site-footer.fp-footer-v2 .footer-grid > * {padding-inline:17px;}
  .site-footer.fp-footer-v2 .footer-grid > :nth-child(4) {grid-column:1/-1;display:flex;align-items:center;gap:12px 18px;flex-wrap:wrap;padding:14px 0 0;border:0;border-top:1px solid var(--fp-footer-rule);}
  .site-footer.fp-footer-v2 .fp-footer-connect h3 {margin:0;}
  .site-footer.fp-footer-v2 .fp-footer-follow {margin:0;}
}
@media(max-width:740px) {
  .site-footer.fp-footer-v2 .footer-grid {grid-template-columns:repeat(2,minmax(0,1fr));padding:20px 0;gap:18px 0;}
  .site-footer.fp-footer-v2 .footer-grid > * {padding-inline:15px;}
  .site-footer.fp-footer-v2 .footer-grid > :first-child {grid-column:1/-1;padding:0 0 17px;border:0;border-bottom:1px solid var(--fp-footer-rule);}
  .site-footer.fp-footer-v2 .footer-grid > :nth-child(2) {border:0;padding-inline-start:0;}
  .site-footer.fp-footer-v2 .footer-grid > :nth-child(3) {padding-inline-end:0;}
  .site-footer.fp-footer-v2 .footer-grid > :nth-child(4) {grid-column:1/-1;padding:15px 0 0;}
  .site-footer.fp-footer-v2 .footer-about {display:flex;gap:12px;align-items:center;flex-wrap:wrap;}
  .site-footer.fp-footer-v2 .fp-footer-description {margin:0;flex:1;min-width:190px;}
  .site-footer.fp-footer-v2 .footer-category-links {grid-template-columns:1fr;}
}
@media(max-width:470px) {
  .site-footer.fp-footer-v2 .footer-grid {gap:15px 0;}
  .site-footer.fp-footer-v2 .footer-grid > * {padding-inline:10px;}
  .site-footer.fp-footer-v2 .footer-grid > :first-child,
  .site-footer.fp-footer-v2 .footer-grid > :nth-child(4) {padding-inline:0;}
  .site-footer.fp-footer-v2 .footer-grid h3 {font-size:15px;}
  .site-footer.fp-footer-v2 .fp-footer-brand {max-width:270px;}
  .site-footer.fp-footer-v2 .footer-grid :is(.footer-links a,.footer-page-menu a) {font-size:13px;}
  .site-footer.fp-footer-v2 .fp-footer-bottom-inner {justify-content:center;text-align:center;}
}

@media(max-width:470px) {
 .site-footer.fp-footer-v2 .footer-about .fp-footer-brand {
   flex-direction:row;
   align-items:center;
   justify-content:space-between;
   gap:6px;
   width:100%;
   max-width:340px;
   padding:7px 8px;
 }
 .site-footer.fp-footer-v2 .fp-footer-logo-primary {flex:0 1 59%;width:59%;}
 .site-footer.fp-footer-v2 .fp-footer-logo-local {flex:0 1 41%;width:41%;max-width:41%;padding-top:0;padding-inline-start:6px;border-top:0;border-inline-start:1px solid #e7edf7;}
 .site-footer.fp-footer-v2 .footer-about .fp-footer-logo-primary img {width:100%;max-height:58px;}
 .site-footer.fp-footer-v2 .footer-about .fp-footer-logo-local img {width:100%;max-width:100%;max-height:53px;}
 .site-footer.fp-footer-v2 .fp-footer-description {font-size:13px;margin-top:5px;line-height:1.9;}
 .site-footer.fp-footer-v2 .fp-footer-follow {display:none;}
 .site-footer.fp-footer-v2 .footer-grid > :nth-child(4) {gap:7px;}
}
