/* ============================================================
   AL JAZEERA NEWS – E-PAPER  |  main stylesheet
   Colors come from themes.css (CSS variables)
   ============================================================ */
:root {
    --nav-h: 58px;
    --font-ur-display: 'Noto Nastaliq Urdu', 'Jameel Noori Nastaleeq', serif;
    --font-ur: 'Noto Naskh Arabic', 'Noto Nastaliq Urdu', Tahoma, sans-serif;
    --font-en-display: 'Source Serif 4', Georgia, 'Times New Roman', serif;
    --font-en: system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    --radius: 14px;
    --shadow: 0 6px 24px rgba(10, 20, 60, .08);
}

html { scroll-behavior: smooth; }
body {
    background: var(--np-bg);
    color: var(--np-text);
    font-family: var(--font-en);
    -webkit-font-smoothing: antialiased;
}
body.lang-ur { font-family: var(--font-ur); }
a { color: var(--np-primary); }
[data-theme="midnight"] a { color: #93c5fd; }
img { max-width: 100%; }
.skip-link { position: absolute; z-index: 3000; background: #fff; padding: .5rem 1rem; }

/* ---------- Buttons ---------- */
.btn-accent { background: var(--np-accent); color: #fff; border: 0; }
.btn-accent:hover, .btn-accent:focus { background: var(--np-accent-dark); color: #fff; }
.btn-primary-np { background: var(--np-primary); color: #fff; border: 0; }
.btn-primary-np:hover { background: var(--np-primary-dark); color: #fff; }
.btn-outline-np { border: 1.5px solid var(--np-primary); color: var(--np-primary); background: transparent; }
.btn-outline-np:hover { background: var(--np-primary); color: #fff; }
[data-theme="midnight"] .btn-outline-np { border-color: var(--np-muted); color: var(--np-text); }

/* ============================================================
   MASTHEAD (newspaper header)
   ============================================================ */
.masthead { background: var(--np-surface); }

.mh-slogan-ur {
    background: var(--np-accent);
    color: #fff;
    text-align: center;
    font-family: var(--font-ur-display);
    font-weight: 700;
    font-size: clamp(1.25rem, 3.6vw, 2.4rem);
    line-height: 2.1;
    padding: 0 1rem .15rem;
    text-shadow: 0 2px 0 rgba(0, 0, 0, .25);
}
.mh-slogan-en {
    background: #fff;
    color: var(--np-slogan-en);
    text-align: center;
    font-family: var(--font-en-display);
    font-weight: 700;
    font-size: clamp(1.05rem, 3.4vw, 2.3rem);
    letter-spacing: -.01em;
    line-height: 1.35;
    padding: .25rem 1rem;
    border-bottom: 1px solid #e5e7ef;
}

.mh-main {
    position: relative;
    color: #fff;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, .16), transparent 60%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 12px),
        linear-gradient(180deg, var(--np-primary-2), var(--np-primary) 55%, var(--np-primary-dark));
    padding: 1.1rem 0 .8rem;
    overflow: hidden;
}
.mh-grid {
    direction: ltr;
    display: grid;
    grid-template-columns: 1fr minmax(0, 1.55fr) 1fr;
    align-items: center;
    gap: 1rem;
}
.mh-contact { display: flex; flex-direction: column; gap: .3rem; align-self: start; font-size: .86rem; }
.mh-contact a { color: #fff; text-decoration: none; opacity: .92; word-break: break-all; }
.mh-contact a:hover { opacity: 1; text-decoration: underline; }
.mh-contact i { color: var(--np-accent); background: #fff; border-radius: 50%; width: 1.45em; height: 1.45em; display: inline-grid; place-items: center; font-size: .78em; margin-inline-end: .25rem; }

.mh-logo { text-align: center; position: relative; }
.mh-daily {
    display: inline-block;
    font-family: var(--font-ur-display);
    font-weight: 700;
    font-size: clamp(.9rem, 2vw, 1.25rem);
    line-height: 2;
    background: #fff;
    color: var(--np-primary);
    padding: 0 1rem .1rem;
    border-radius: 999px;
    margin-bottom: .45rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .2);
}
.lang-en .mh-daily { font-family: var(--font-en-display); line-height: 1.6; padding: .1rem 1rem; }
.mh-logo-link { display: block; max-width: 470px; margin: 0 auto; }
.mh-logo-link img {
    display: block; width: 100%; height: auto;
    border: 3px solid #fff; border-radius: 8px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .35);
}

.mh-side { display: flex; flex-direction: column; align-items: flex-end; gap: .5rem; }
.lang-ur .mh-side { direction: rtl; }
.mh-editor { text-align: end; font-family: var(--font-ur-display); line-height: 2; }
.lang-en .mh-editor { font-family: var(--font-en-display); line-height: 1.4; }
.mh-editor small { display: block; opacity: .85; font-size: .85rem; }
.mh-editor strong { font-size: 1.15rem; }
.mh-cities { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .3rem; align-items: stretch; min-width: 130px; }
.mh-cities li {
    background: var(--np-accent);
    color: #fff;
    text-align: center;
    font-family: var(--font-ur-display);
    font-weight: 700;
    font-size: 1rem;
    line-height: 2;
    padding: 0 .8rem .1rem;
    border-radius: 4px;
    box-shadow: 0 2px 0 rgba(0, 0, 0, .25);
}
.mh-cities li.alt { background: #fff; color: var(--np-primary); }
.lang-en .mh-cities li { font-family: 'Oswald', var(--font-en); font-weight: 600; line-height: 1.8; letter-spacing: .03em; text-transform: uppercase; font-size: .85rem; }

.mh-exec {
    display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .4rem 1.2rem;
    margin-top: .8rem; padding-top: .55rem;
    border-top: 1px solid rgba(255, 255, 255, .2);
    font-family: var(--font-ur-display); line-height: 2;
}
.lang-en .mh-exec { font-family: var(--font-en-display); line-height: 1.5; }
.mh-wa { color: #fff; text-decoration: none; background: #1fa855; padding: .1rem .8rem; border-radius: 999px; font-family: var(--font-en); font-weight: 600; font-size: .92rem; line-height: 1.8; }
.mh-wa:hover { background: #178a45; color: #fff; }

/* Info strip */
.mh-info { background: #fff; color: #111; border-top: 3px solid var(--np-accent); border-bottom: 3px double var(--np-primary); }
.mh-info-row { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .35rem 0; }
.mh-box {
    flex: none; border: 2px solid #111; padding: 0 .7rem; font-weight: 700; white-space: nowrap;
    font-family: var(--font-ur-display); line-height: 2.1; font-size: .95rem;
}
.lang-en .mh-box { font-family: 'Oswald', var(--font-en); line-height: 1.8; letter-spacing: .02em; }
.mh-box b { color: var(--np-accent); }
.mh-info-mid {
    flex: 1; text-align: center; display: flex; flex-wrap: wrap; justify-content: center; gap: .1rem .45rem;
    font-family: var(--font-ur-display); line-height: 2.1; font-size: .95rem; font-weight: 700;
}
.lang-en .mh-info-mid { font-family: var(--font-en-display); line-height: 1.6; font-weight: 600; }
.mh-info-mid .sep { opacity: .5; }
.mh-info-mid .dot { color: var(--np-accent); }

/* ============================================================
   NAVIGATION
   ============================================================ */
.np-nav { background: var(--np-primary); border-bottom: 3px solid var(--np-accent); padding: .3rem 0; min-height: var(--nav-h); box-shadow: 0 4px 14px rgba(0, 0, 0, .12); }
.np-nav .nav-link { color: rgba(255, 255, 255, .88); font-weight: 600; padding: .55rem .9rem !important; border-radius: 8px; }
.lang-ur .np-nav .nav-link { font-size: 1.02rem; }
.np-nav .nav-link:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.np-nav .nav-link.active { color: #fff; background: var(--np-accent); }
.np-nav-brand { display: none; padding: 0; }
.np-nav-brand img { border-radius: 4px; border: 1px solid rgba(255, 255, 255, .5); height: 34px; width: auto; }
body.scrolled .np-nav-brand { display: block; }
.navbar-toggler { color: #fff; border-color: rgba(255, 255, 255, .4); font-size: 1.5rem; padding: .1rem .55rem; }
.navbar-toggler:focus { box-shadow: 0 0 0 2px rgba(255, 255, 255, .4); }
.np-date-jump { gap: .35rem; margin-inline: .5rem; }
.np-date-jump .btn { white-space: nowrap; display: inline-flex; align-items: center; gap: .3rem; }
.np-date-jump .form-control { min-width: 150px; }
.btn-lang { background: #fff; color: var(--np-primary); font-weight: 700; border-radius: 999px; padding-inline: .9rem; }
.btn-lang:hover { background: var(--np-accent); color: #fff; }
@media (max-width: 991.98px) {
    .np-nav-brand { display: block; }
    .np-nav .navbar-collapse { padding: .5rem 0 .75rem; }
    .np-date-jump { margin: .5rem 0; }
    .np-date-jump .form-control { flex: 1; }
    .btn-lang { width: 100%; }
}

/* Ticker */
.np-ticker { background: var(--np-surface); border-bottom: 1px solid var(--np-border); overflow: hidden; }
.np-ticker-label { flex: none; background: var(--np-accent); color: #fff; font-weight: 700; padding: .45rem .9rem; display: flex; align-items: center; gap: .35rem; white-space: nowrap; }
.np-ticker-track { flex: 1; overflow: hidden; position: relative; display: flex; align-items: center; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.np-ticker-move { display: inline-flex; white-space: nowrap; animation: np-tick var(--tick-dur, 40s) linear infinite; }
.np-ticker-track:hover .np-ticker-move { animation-play-state: paused; }
.np-ticker-item { padding: .45rem 1.5rem; position: relative; font-weight: 600; }
.np-ticker-item::after { content: '◆'; position: absolute; inset-inline-end: -.4rem; color: var(--np-accent); font-size: .7rem; top: 50%; transform: translateY(-50%); }
@keyframes np-tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
[dir="rtl"] .np-ticker-move { animation-name: np-tick-rtl; }
@keyframes np-tick-rtl { from { transform: translateX(0); } to { transform: translateX(50%); } }
@media (prefers-reduced-motion: reduce) { .np-ticker-move { animation: none; } }

/* ============================================================
   READER (PDF viewer)
   ============================================================ */
.ep-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: .9rem; flex-wrap: wrap; }
.ep-kicker { color: var(--np-accent); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }
.ep-title { font-family: var(--font-en-display); font-weight: 700; font-size: clamp(1.35rem, 3vw, 2rem); margin: 0; }
.lang-ur .ep-title { font-family: var(--font-ur-display); line-height: 2; }
.ep-meta { display: flex; flex-wrap: wrap; gap: .3rem 1rem; color: var(--np-muted); font-size: .88rem; }
.ep-ednav { display: flex; gap: .5rem; }

.ep-viewer { background: var(--np-surface); border: 1px solid var(--np-border); border-radius: var(--radius); box-shadow: var(--shadow); }
.ep-toolbar {
    position: sticky; top: var(--nav-h); z-index: 20;
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem;
    background: var(--np-primary); color: #fff; padding: .45rem .55rem;
    border-radius: var(--radius) var(--radius) 0 0;
    box-shadow: 0 6px 14px rgba(0, 0, 0, .12);
}
.ep-tgroup { display: flex; align-items: center; gap: .25rem; }
.ep-btn {
    min-width: 38px; height: 38px; padding: 0 .55rem;
    display: inline-flex; align-items: center; justify-content: center; gap: .35rem;
    background: rgba(255, 255, 255, .1); color: #fff; border: 0; border-radius: 9px;
    font-size: 1.02rem; text-decoration: none; transition: background .15s;
}
.ep-btn:hover, .ep-btn:focus-visible { background: rgba(255, 255, 255, .22); color: #fff; }
.ep-btn.active { background: var(--np-accent); }
.ep-btn-txt { font-size: .85rem; font-weight: 600; }
.ep-zoomval { font-size: .82rem; font-weight: 700; min-width: 56px; font-family: var(--font-en); }
.ep-pageno { display: inline-flex; align-items: center; gap: .3rem; font-size: .88rem; padding: 0 .2rem; }
.ep-pageno input {
    width: 3.1rem; height: 34px; text-align: center; border: 0; border-radius: 7px;
    font-weight: 700; color: var(--np-primary); background: #fff; -moz-appearance: textfield;
}
.ep-pageno input::-webkit-inner-spin-button { -webkit-appearance: none; }
.ep-cliphint { display: none; background: var(--np-accent); color: #fff; text-align: center; padding: .4rem; font-weight: 600; font-size: .9rem; }
.clip-mode .ep-cliphint { display: block; }

.ep-stage { position: relative; background: var(--np-reader-bg); padding: 16px; overflow-x: auto; direction: ltr; min-height: 60vh; border-radius: 0 0 var(--radius) var(--radius); }
.ep-pages { width: 100%; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; }
.ep-page {
    position: relative; width: 100%; background: #fff; overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .08), 0 10px 30px rgba(0, 0, 0, .12);
    scroll-margin-top: calc(var(--nav-h) + 64px);
    user-select: none; -webkit-user-select: none;
}
.ep-canvas { display: block; width: 100%; height: 100%; }
.ep-page-ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--np-muted); background: repeating-linear-gradient(0deg, #fafafa 0 22px, #f2f2f2 22px 24px); }
.ep-page-badge { position: absolute; bottom: 8px; left: 8px; background: rgba(0, 0, 0, .55); color: #fff; font-size: .75rem; padding: .1rem .55rem; border-radius: 999px; pointer-events: none; font-family: var(--font-ur); }
.clip-mode .ep-page { cursor: crosshair; touch-action: none; outline: 2px dashed var(--np-accent); outline-offset: -2px; }
.ep-clipbox { position: absolute; border: 2px dashed var(--np-accent); background: rgba(255, 255, 255, .25); box-shadow: 0 0 0 9999px rgba(0, 0, 0, .35); pointer-events: none; }
.ep-clip-img { box-shadow: var(--shadow); border: 1px solid var(--np-border); max-height: 65vh; width: auto; object-fit: contain; }

.ep-loading, .ep-error { text-align: center; padding: 4rem 1rem; color: var(--np-muted); }
.ep-loading .spinner-border { color: var(--np-primary); width: 3rem; height: 3rem; }
.ep-loading .progress { max-width: 260px; height: 6px; margin: 1rem auto 0; }
.ep-loading .progress-bar { background: var(--np-accent); }
.ep-error i { font-size: 3rem; color: var(--np-accent); }

/* fullscreen */
.ep-viewer:fullscreen { overflow: auto; background: var(--np-reader-bg); border-radius: 0; }
.ep-viewer:fullscreen .ep-toolbar { top: 0; border-radius: 0; }
.ep-viewer:fullscreen .ep-stage { min-height: 100vh; border-radius: 0; }
.ep-viewer:fullscreen .ep-page { scroll-margin-top: 64px; }
.ep-viewer.pseudo-full { position: fixed; inset: 0; z-index: 2000; overflow: auto; border-radius: 0; }
.ep-viewer.pseudo-full .ep-toolbar { top: 0; border-radius: 0; }

/* thumbnails */
.ep-thumbs { width: 300px !important; }
.ep-thumb-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.ep-thumb { background: none; border: 0; padding: 0; text-align: center; color: var(--np-text); font-size: .85rem; }
.ep-thumb-img { background: #f1f1f1; border: 2px solid var(--np-border); border-radius: 6px; overflow: hidden; margin-bottom: .3rem; transition: border-color .15s, transform .15s; }
.ep-thumb-img canvas { width: 100%; height: auto; display: block; }
.ep-thumb:hover .ep-thumb-img { transform: translateY(-2px); }
.ep-thumb.active .ep-thumb-img { border-color: var(--np-accent); box-shadow: 0 0 0 3px rgba(196, 22, 28, .2); }
.ep-thumb.active span { color: var(--np-accent); font-weight: 700; }

@media (max-width: 575.98px) {
    .ep-stage { padding: 8px; }
    .ep-pages { gap: 10px; }
    .ep-btn-txt { display: none; }
    .ep-btn { min-width: 32px; height: 32px; padding: 0 .35rem; font-size: .92rem; border-radius: 7px; }
    .ep-toolbar { justify-content: space-between; padding: .35rem; gap: .2rem; flex-wrap: nowrap; }
    .ep-tgroup { gap: 2px; }
    .ep-pageno { font-size: .8rem; gap: .2rem; padding: 0; }
    .ep-pageno input { width: 2.4rem; height: 30px; }
    .ep-zoomval { min-width: 48px; }
    .ep-zoom { display: none; } /* pinch-zoom on phones */
}

/* ============================================================
   CARDS / SIDEBAR / CALENDAR
   ============================================================ */
.np-card { background: var(--np-surface); border: 1px solid var(--np-border); border-radius: var(--radius); padding: 1rem; margin-bottom: 1.1rem; box-shadow: var(--shadow); }
.np-card-h { font-size: 1.05rem; font-weight: 700; margin: 0 0 .8rem; padding-bottom: .55rem; border-bottom: 2px solid var(--np-border); position: relative; display: flex; align-items: center; gap: .4rem; }
.np-card-h::after { content: ''; position: absolute; bottom: -2px; inset-inline-start: 0; width: 56px; height: 2px; background: var(--np-accent); }
.lang-ur .np-card-h { font-family: var(--font-ur-display); line-height: 2; font-size: 1.1rem; }
.np-card-h i { color: var(--np-accent); }

.np-cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .5rem; font-weight: 700; }
.np-cal-nav { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; background: var(--np-bg); color: var(--np-text); text-decoration: none; }
.np-cal-nav:hover { background: var(--np-primary); color: #fff; }
.np-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; text-align: center; }
.np-cal-wd { font-size: .7rem; color: var(--np-muted); font-weight: 700; padding: .2rem 0; overflow: hidden; white-space: nowrap; }
.np-cal-day { display: grid; place-items: center; aspect-ratio: 1; border-radius: 8px; font-size: .85rem; color: var(--np-muted); opacity: .55; }
.np-cal-day.has { background: rgba(10, 26, 140, .1); background: color-mix(in srgb, var(--np-primary) 14%, transparent); color: var(--np-text); font-weight: 700; opacity: 1; text-decoration: none; }
.np-cal-day.has:hover { background: var(--np-primary); color: #fff; }
.np-cal-day.today { outline: 2px solid var(--np-accent); outline-offset: -2px; opacity: 1; }
.np-cal-day.selected { background: var(--np-accent) !important; color: #fff !important; }

.np-recent { display: flex; flex-direction: column; gap: .6rem; }
.np-recent-item { display: flex; gap: .7rem; align-items: center; text-decoration: none; color: var(--np-text); padding: .35rem; border-radius: 10px; transition: background .15s; }
.np-recent-item:hover { background: var(--np-bg); color: var(--np-text); }
.np-recent-item img { width: 56px; height: 74px; object-fit: cover; object-position: top; border-radius: 5px; border: 1px solid var(--np-border); flex: none; background: #fff; }
.np-recent-item strong { display: block; font-size: .95rem; }
.np-recent-item small { color: var(--np-muted); font-size: .78rem; }
.np-card-wa { display: flex; gap: .9rem; align-items: center; background: linear-gradient(135deg, #1fa855, #128c7e); color: #fff; border: 0; }
.np-card-wa > i { font-size: 2.4rem; }
.np-card-wa strong { display: block; font-size: 1.05rem; }
.np-card-wa a { color: #fff; font-weight: 700; text-decoration: none; }

/* ============================================================
   ARCHIVE
   ============================================================ */
.np-pagehead { background: linear-gradient(135deg, var(--np-primary), var(--np-primary-dark)); color: #fff; padding: 2rem 0; margin-bottom: 1.5rem; }
.np-pagehead h1 { font-family: var(--font-en-display); font-weight: 700; margin: 0; font-size: clamp(1.5rem, 4vw, 2.3rem); }
.lang-ur .np-pagehead h1 { font-family: var(--font-ur-display); line-height: 2.1; }
.np-pagehead p { margin: .3rem 0 0; opacity: .85; }
.np-filter { display: flex; flex-wrap: wrap; gap: .6rem; align-items: flex-end; }
.np-filter .form-select, .np-filter .form-control { min-width: 130px; }

.np-ed-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 1.1rem; }
.np-ed-card { display: block; background: var(--np-surface); border: 1px solid var(--np-border); border-radius: 12px; overflow: hidden; text-decoration: none; color: var(--np-text); transition: transform .18s, box-shadow .18s; box-shadow: var(--shadow); }
.np-ed-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(10, 20, 60, .16); color: var(--np-text); }
.np-ed-cover { position: relative; aspect-ratio: 3 / 4; background: #fff; overflow: hidden; }
.np-ed-cover img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.np-ed-day { position: absolute; top: 8px; inset-inline-start: 8px; background: var(--np-accent); color: #fff; border-radius: 8px; text-align: center; padding: .15rem .5rem; line-height: 1.1; box-shadow: 0 4px 10px rgba(0, 0, 0, .25); font-family: var(--font-en); }
.np-ed-day b { display: block; font-size: 1.2rem; }
.np-ed-day small { font-size: .65rem; text-transform: uppercase; }
.np-ed-body { padding: .6rem .75rem .75rem; }
.np-ed-body strong { display: block; font-size: .92rem; }
.np-ed-body small { color: var(--np-muted); font-size: .76rem; display: block; }
.np-ed-latest { position: absolute; bottom: 8px; inset-inline-end: 8px; background: #1fa855; color: #fff; font-size: .7rem; font-weight: 700; padding: .1rem .5rem; border-radius: 999px; }

.pagination .page-link { color: var(--np-primary); }
.pagination .active > .page-link { background: var(--np-primary); border-color: var(--np-primary); color: #fff; }

.np-empty { text-align: center; padding: 4rem 1rem; color: var(--np-muted); }
.np-empty > i { font-size: 4rem; color: var(--np-primary); opacity: .35; }
.np-empty h2 { font-size: 1.3rem; margin-top: 1rem; color: var(--np-text); }
.lang-ur .np-empty h2 { font-family: var(--font-ur-display); line-height: 2.1; }

/* content pages */
.np-prose { font-size: 1.05rem; line-height: 1.85; }
.lang-ur .np-prose { line-height: 2.2; font-size: 1.12rem; }
.np-contact-item { display: flex; gap: .9rem; align-items: flex-start; padding: .8rem 0; border-bottom: 1px dashed var(--np-border); }
.np-contact-item:last-child { border-bottom: 0; }
.np-contact-item > i { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--np-primary); color: #fff; font-size: 1.2rem; }
.np-contact-item a { text-decoration: none; font-weight: 600; }

/* ============================================================
   FOOTER
   ============================================================ */
.np-footer { background: var(--np-footer-bg); color: rgba(255, 255, 255, .78); margin-top: 3rem; padding-top: 2.6rem; border-top: 4px solid var(--np-accent); }
.np-footer-logo img { border-radius: 10px; border: 2px solid rgba(255, 255, 255, .2); width: 120px; height: 120px; object-fit: cover; }
.np-footer-tag { margin-top: .8rem; font-weight: 600; color: #fff; }
.lang-ur .np-footer-tag { font-family: var(--font-ur-display); line-height: 2.1; }
.np-footer-h { color: #fff; font-weight: 700; margin-bottom: .9rem; font-size: 1rem; }
.np-footer-links { list-style: none; padding: 0; margin: 0; }
.np-footer-links li { padding: .25rem 0; }
.np-footer-links a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.np-footer-links a:hover { color: #fff; }
.np-footer-contact li { display: flex; gap: .5rem; align-items: baseline; font-size: .92rem; }
.lang-ur .np-footer-contact li[dir="ltr"] { justify-content: flex-end; flex-direction: row-reverse; }
.np-footer-contact i { color: var(--np-accent); }
.np-footer-arch { display: inline-block; margin-top: .8rem; color: #fff; text-decoration: none; }
.np-social { display: flex; gap: .5rem; margin-top: .6rem; }
.np-social a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; text-decoration: none; }
.np-social a:hover { background: var(--np-accent); }
.np-footer-bottom { margin-top: 2rem; padding: 1rem 0; background: rgba(0, 0, 0, .25); font-size: .88rem; }
.np-devby a { color: #fff; font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--np-accent); padding-bottom: 1px; }
.np-devby a:hover { color: var(--np-accent); }

.np-wa-float, .np-top {
    position: fixed; inset-inline-end: 18px; z-index: 1030;
    width: 52px; height: 52px; border-radius: 50%; border: 0;
    display: grid; place-items: center; font-size: 1.55rem; color: #fff; text-decoration: none;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .25);
}
.np-wa-float { bottom: 18px; background: #25d366; }
.np-wa-float:hover { color: #fff; transform: scale(1.06); }
.np-top { bottom: 82px; width: 44px; height: 44px; font-size: 1.1rem; background: var(--np-primary); inset-inline-end: 22px; opacity: 0; pointer-events: none; transition: opacity .2s; }
.np-top.show { opacity: 1; pointer-events: auto; }

/* ============================================================
   RESPONSIVE MASTHEAD
   ============================================================ */
@media (max-width: 991.98px) {
    .mh-grid { grid-template-columns: 1fr 1.6fr 1fr; gap: .7rem; }
    .mh-contact { font-size: .74rem; }
    .mh-cities { min-width: 0; }
    .mh-cities li { font-size: .85rem; padding: 0 .5rem; }
}
@media (max-width: 767.98px) {
    .mh-main { padding: .8rem 0 .6rem; }
    .mh-grid { grid-template-columns: 1fr; }
    .mh-logo { order: -1; }
    .mh-logo-link { max-width: 300px; }
    .mh-slogan-en { padding: .15rem .5rem; }
    .mh-side { align-items: center; }
    .mh-editor { text-align: center; }
    .mh-editor small { display: inline; }
    .mh-cities { flex-direction: row; flex-wrap: wrap; justify-content: center; }
    .mh-contact { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: .3rem .9rem; align-self: center; font-size: .78rem; order: 3; }
    .mh-exec { margin-top: .5rem; font-size: .9rem; }
    .mh-info-row { flex-wrap: wrap; justify-content: space-between; }
    .mh-info-mid { order: -1; flex-basis: 100%; font-size: .85rem; }
    .mh-box { font-size: .82rem; }
}
@media print {
    .np-nav, .np-footer, .np-wa-float, .np-top, .ep-toolbar, aside, .np-ticker { display: none !important; }
}
@media (max-width: 359.98px) {
    .ep-toolbar { flex-wrap: wrap; justify-content: center; }
}
