/* News Day Urdu — FINAL APPROVED HEADER MOCKUP, TEST ONLY
   Scoped under .ndu-v2 to avoid styling the live site's other components.
   Assumes /fonts/Jameel-Noori-Nastaleeq.ttf already exists on the server.
*/
@font-face{font-family:'NDU Test Nastaleeq';src:url('fonts/Jameel-Noori-Nastaleeq.ttf') format('truetype');font-display:swap}
.ndu-v2{--ink:#092752;--cream:#fff9ec;--border:#e9e6e0;--green:#00633e;color:var(--ink);background:#fff;font-family:Arial,sans-serif;box-sizing:border-box}
.ndu-v2 *, .ndu-v2 *::before,.ndu-v2 *::after{box-sizing:border-box}
.ndu-v2 .ndu-head-shell{max-width:1920px;margin:0 auto;padding:20px 30px 0;display:grid;direction:ltr;grid-template-columns:minmax(0,1.15fr) minmax(0,.84fr) minmax(0,1.02fr);grid-template-rows:196px 105px;grid-template-areas:'tools brand feature' 'ad ad feature';gap:12px 23px;align-items:stretch}
.ndu-v2 .ndu-tools{grid-area:tools;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:10px;min-width:0}
.ndu-v2 .ndu-topline{display:flex;align-items:center;gap:16px;flex-wrap:wrap;direction:ltr;width:100%}
.ndu-v2 .nd-social-links{display:flex;direction:ltr;align-items:center;gap:9px;flex-shrink:0}
.ndu-v2 .nd-social{width:49px;height:49px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;color:#fff;font:800 26px/1 Arial,sans-serif;box-shadow:0 2px 6px #00000018}
.ndu-v2 .nd-social-facebook{background:#1877f2}.ndu-v2 .nd-social-youtube{background:#ff0033}.ndu-v2 .nd-social-instagram{background:#bb3088}.ndu-v2 .nd-social-x{background:#171717}.ndu-v2 .nd-social-pinterest{background:#c40025}.ndu-v2 .nd-social-tiktok{background:#111}
.ndu-v2 .nd-search{display:flex;direction:rtl;height:51px;min-width:195px;max-width:200px;flex:1;align-items:stretch;margin:0}
.ndu-v2 .nd-search input{width:100%;min-width:0;background:#fff;border:1px solid #d7dfec;border-radius:0 9px 9px 0;font:21px/1.8 'NDU Test Nastaleeq',serif;padding:3px 10px;text-align:right;color:var(--ink)}
.ndu-v2 .nd-search button{background:#092d60;border:none;border-radius:9px 0 0 9px;color:#fff;min-width:53px;font-size:29px;cursor:pointer}
.ndu-v2 .ndu-lower-left{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;flex-wrap:wrap;direction:ltr}
/* Language buttons: English (left), Roman Urdu (middle), Urdu (right).
   The coloured bottom bars remain visible; the selected button gets a solid coloured background and white text. */
.ndu-v2 .nd-languages {
  display: flex;
  flex-direction: row;
  direction: ltr;
  align-items: stretch;
  gap: 10px;
}
.ndu-v2 .nd-languages button {
  box-sizing: border-box;
  position: relative;
  min-height: 54px;
  padding: 9px 15px;
  background: #fff;
  border: 1px solid #d7dfeb;
  border-bottom: 5px solid transparent;
  border-radius: 15px;
  box-shadow: 0 2px 5px rgba(9,39,82,.07);
  color: #092752;
  font: 700 17px/1.35 Arial, sans-serif;
  white-space: nowrap;
  cursor: pointer;
  transition: color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.ndu-v2 .nd-languages button[data-lang="en"] {
  order: 1;
  border-bottom-color: #1479e6;
}
.ndu-v2 .nd-languages button[data-lang="roman"] {
  order: 2;
  border-bottom-color: #e60023;
}
.ndu-v2 .nd-languages button[data-lang="ur"] {
  order: 3;
  direction: rtl;
  font: 700 26px/1.4 'NDU Test Nastaleeq', serif;
  border-bottom-color: #078a3d;
}
.ndu-v2 .nd-languages button.is-active {
  color: #fff;
  box-shadow: 0 3px 10px rgba(9,39,82,.17);
}
/* Selected language: solid background and white label. */
.ndu-v2 .nd-languages button[data-lang="en"].is-active {
  background: #1479e6;
  color: #fff;
}
.ndu-v2 .nd-languages button[data-lang="roman"].is-active {
  background: #e60023;
  color: #fff;
}
.ndu-v2 .nd-languages button[data-lang="ur"].is-active {
  background: #078a3d;
  color: #fff;
}
/* Hover is intentionally limited to unselected buttons. */
.ndu-v2 .nd-languages button:not(.is-active):hover { background: #f8fbff; }
.ndu-v2 .nd-languages button:focus-visible {
  outline: 2px solid #092752;
  outline-offset: 3px;
}
.ndu-v2 .nd-date{display:block;text-align:right;direction:rtl;color:#1c385e;font:20px/1.8 'NDU Test Nastaleeq',serif;max-width:200px}
.ndu-v2 .nd-date small{display:block;font:12px/1.6 Arial,sans-serif;color:#68809b;direction:ltr;text-align:right}
.ndu-v2 .ndu-brand{grid-area:brand;display:flex;align-items:center;justify-content:center;min-width:0}
.ndu-v2 .nd-logo{display:block;width:100%;text-align:center}
.ndu-v2 .nd-logo-image{max-width:100%;width:auto;height:auto;max-height:185px;object-fit:contain;display:block;margin:auto}
.ndu-v2 .ndu-article{grid-area:feature;min-width:0}
.ndu-v2 .ndu-article a{display:block;width:100%;height:100%;border-radius:13px;overflow:hidden;border:2px solid #d7dfeb;box-shadow:0 2px 7px #102d4c18}
.ndu-v2 .ndu-article img{display:block;width:100%;height:100%;object-fit:cover}
.ndu-v2 .nd-top-ad{grid-area:ad;border:2px solid #092c68;border-radius:13px;background:#fbfdff;display:flex;align-items:center;justify-content:center;color:#71819d;font:22px/1.8 'NDU Test Nastaleeq',serif;text-align:center;min-height:98px}
.ndu-v2 .nd-nav-bar{margin-top:16px;padding:13px 22px 15px;background:#fff9ed;border-top:1px solid #f5efdf;border-bottom:1px solid #eee7d7}
.ndu-v2 .nd-nav-container{max-width:1920px;margin:auto}
.ndu-v2 .nd-menu-toggle{display:none}
.ndu-v2 .nd-nav{display:flex!important;direction:rtl;align-items:stretch;justify-content:space-between;flex-wrap:nowrap!important;gap:9px!important;overflow:visible!important;position:relative}
.ndu-v2 .nd-nav-item,.ndu-v2 .nd-more>button{flex:1 1 0;min-width:0!important;min-height:116px;max-width:none!important;display:flex!important;flex-direction:column;align-items:center;justify-content:center;border:1px solid #ece7dc;border-radius:27px;background:#fffdf8;color:var(--ink);text-decoration:none;box-shadow:0 5px 12px #142c4110;padding:7px 6px;cursor:pointer;white-space:nowrap}
.ndu-v2 .nd-nav-item b,.ndu-v2 .nd-more>button b{font:normal 26px/1.85 'NDU Test Nastaleeq',serif;white-space:nowrap}
.ndu-v2 .nd-nav-item small,.ndu-v2 .nd-more>button small{font:600 14px/1.5 Arial,sans-serif;color:#586e8f}
.ndu-v2 .nd-nav-item em,.ndu-v2 .nd-more>button em{display:none}
.ndu-v2 .nd-nav-item:first-of-type{background:var(--green)!important;color:white!important;flex:1.4 0 0;min-width:140px!important}
.ndu-v2 .nd-nav-item:first-of-type small{color:white!important}
.ndu-v2 .nd-more{position:relative;flex:1 1 0;min-width:0!important;width:auto!important}
.ndu-v2 .nd-more>button{width:100%!important;height:100%;font:inherit}
.ndu-v2 .nd-more-menu{display:none;position:absolute;top:calc(100% + 4px);left:0;z-index:1001;min-width:260px;background:white;border:1px solid #dce0e8;border-radius:12px;padding:7px;box-shadow:0 12px 25px #09275230;direction:rtl}
.ndu-v2 .nd-more.is-open .nd-more-menu{display:flex;flex-direction:column}
.ndu-v2 .nd-more-menu a{color:var(--ink);font:22px/1.9 'NDU Test Nastaleeq',serif;text-decoration:none;padding:5px 12px;border-radius:6px}
.ndu-v2 .nd-more-menu a:hover{background:#fff2d3}
.ndu-v2 .nd-nav-item:hover,.ndu-v2 .nd-more>button:hover{border-color:#d7c7a9;box-shadow:0 7px 16px #102a481e}
/* At intermediate widths preserve readable type by horizontal scrolling, not clipping labels. */
@media (max-width:1050px) and (min-width:901px) {.ndu-v2 .nd-nav{overflow-x:auto!important;overflow-y:hidden!important;justify-content:flex-start;scrollbar-width:thin}.ndu-v2 .nd-nav-item,.ndu-v2 .nd-more{flex:0 0 120px!important}.ndu-v2 .nd-nav-item:first-of-type{flex-basis:170px!important}}
@media(max-width:1250px){.ndu-v2 .ndu-head-shell{grid-template-columns:1fr 1fr;grid-template-rows:auto auto auto;grid-template-areas:'brand feature' 'tools tools' 'ad ad';gap:12px}.ndu-v2 .ndu-brand,.ndu-v2 .ndu-article{height:190px}.ndu-v2 .ndu-tools{align-items:center}.ndu-v2 .ndu-topline,.ndu-v2 .ndu-lower-left{justify-content:center}.ndu-v2 .nd-top-ad{height:85px}}
@media(max-width:900px){.ndu-v2 .ndu-head-shell{grid-template-columns:1fr;grid-template-areas:'brand' 'tools' 'feature' 'ad';grid-template-rows:auto;padding:14px}.ndu-v2 .ndu-brand{height:auto}.ndu-v2 .nd-logo-image{max-height:150px}.ndu-v2 .ndu-article{height:185px;max-width:500px;width:100%;margin:auto}.ndu-v2 .ndu-topline{justify-content:center}.ndu-v2 .ndu-lower-left{justify-content:center}.ndu-v2 .nd-nav-bar{padding:10px 14px}.ndu-v2 .nd-menu-toggle{display:block;width:100%;background:#075d43;color:#fff;border:0;border-radius:12px;padding:12px;font:23px 'NDU Test Nastaleeq',serif}.ndu-v2 .nd-nav{display:none!important;flex-direction:column;overflow:visible!important;margin-top:10px}.ndu-v2 .nd-nav.is-open{display:flex!important}.ndu-v2 .nd-nav-item,.ndu-v2 .nd-more{flex:none!important;width:100%!important}.ndu-v2 .nd-nav-item,.ndu-v2 .nd-more>button{min-height:75px;border-radius:20px}.ndu-v2 .nd-more-menu{position:static;box-shadow:none;max-width:none;width:100%}}
@media(max-width:540px){.ndu-v2 .ndu-topline{gap:10px}.ndu-v2 .nd-social-links{gap:5px}.ndu-v2 .nd-social{width:38px;height:38px;font-size:21px}.ndu-v2 .nd-search{max-width:100%;width:100%;flex-basis:100%}.ndu-v2 .nd-languages button{font-size:13px;padding:9px 12px}.ndu-v2 .nd-languages button[data-lang='ur']{font-size:21px}.ndu-v2 .nd-date{font-size:17px}.ndu-v2 .nd-top-ad{min-height:70px}}

/* NDU — Compact left header layout (desktop) */

@media (min-width: 1251px) {

  .ndu-v2 .ndu-tools {
    justify-content: center;
    gap: 8px;
  }

  .ndu-v2 .ndu-topline {
    flex-wrap: nowrap;
    gap: 12px;
  }

  .ndu-v2 .ndu-lower-left {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
  }

  .ndu-v2 .nd-date {
    flex: 0 0 auto;
    font-size: 17px;
    line-height: 1.6;
    max-width: 175px;
  }

  .ndu-v2 .nd-languages button {
    padding: 7px 12px;
    min-height: 46px;
  }
}

/* NDU TEST — Prevent search and logo overlap */

@media (min-width: 1251px) {
  .ndu-v2 .ndu-topline {
    flex-wrap: wrap !important;
    gap: 10px !important;
  }

  .ndu-v2 .nd-search {
    flex: 0 0 200px !important;
    min-width: 200px !important;
    max-width: 200px !important;
  }
}


/* NDU TEST — Date immediately below Search */

@media (min-width: 1251px) {
  .ndu-v2 .ndu-topline {
    display: grid !important;
    grid-template-columns: auto 200px;
    column-gap: 12px;
    row-gap: 4px;
    align-items: center;
  }

  .ndu-v2 .ndu-topline .nd-social-links {
    grid-column: 1;
    grid-row: 1;
  }

  .ndu-v2 .ndu-topline .nd-search {
    grid-column: 2;
    grid-row: 1;
    width: 200px;
  }

  .ndu-v2 .ndu-lower-left {
    justify-content: flex-start;
  }
}

/* NDU TEST — Keep Search and Date inside left column */

@media (min-width: 1251px) {
  .ndu-v2 .ndu-topline {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    align-content: flex-start;
    gap: 10px !important;
    width: 100%;
  }

  .ndu-v2 .ndu-topline .nd-social-links {
    flex: 0 0 100%;
  }

  .ndu-v2 .ndu-topline .nd-search {
    flex: 0 0 200px !important;
    width: 200px !important;
    max-width: 200px !important;
  }
}

/* NDU TEST — Center and emphasize logo dates */

.ndu-v2 .ndu-brand-inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ndu-v2 .ndu-brand-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: none;
  margin-top: 6px;
  text-align: center !important;
  direction: rtl;
  font-family: 'NDU Test Nastaleeq', serif;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.9;
}

.ndu-v2 .ndu-brand-date small {
  display: block;
  width: 100%;
  text-align: center !important;
  direction: ltr;
  font-family: Arial, sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
}


/* NDU TEST — lower the central logo and dates slightly on desktop only.
   Keep the feature thumbnail, navigation and all other sections unchanged. */
@media (min-width: 1251px) {
  .ndu-v2 .ndu-brand-inner {
    transform: translateY(18px);
  }
}

/* SAFE HOMEPAGE MERGE PREVIEW - final micro-adjustments */
@media (min-width:1251px) {
  .ndu-v2 .nd-logo-image { transform:translateY(-2px); }
  .ndu-v2 .ndu-brand-date { transform:translateY(-6px); }
  .ndu-v2 .ndu-urdu-date { display:block; position:relative; top:-5px; }
}
.ndu-v2 .nd-search input { border:2px solid #092d60; outline:none; }
.ndu-v2 .nd-search input:focus-visible { outline:2px solid #1479e6; outline-offset:2px; }
/* Limit cross-effects of old unscoped site CSS */
.ndu-v2 .ndu-head-shell .nd-logo { flex:initial;min-width:0; }
.ndu-v2 .ndu-head-shell .nd-logo-image { width:auto; max-height:185px; }
.ndu-v2 .ndu-head-shell .nd-date { max-width:none; }
.ndu-v2 .nd-search { overflow:visible; border:0; border-radius:0; background:transparent; }
.ndu-v2 .nd-nav-bar { border-bottom:1px solid #eee7d7; }
@media(max-width:900px) { .ndu-v2 .ndu-head-shell .nd-logo-image { max-height:150px; } }
