/*
 * HOME-V6-01: shared NAB V6.1 styles for every NAB 2.0 page (layouts/nab and the
 * homepage). Plain CSS, no build step. Scoped to .nab-v2 and nv- classes.
 *   - V6.1 typography for body text (fonts: partials/nab/fonts.blade.php);
 *   - the category row under the header (.nv-catrow) and the inline language
 *     switch (.nv-lang) in partials/nab/header.blade.php;
 *   - the scam awareness popup (.nv-aw) in partials/nab/awareness-popup.blade.php.
 */

/* NAB-2.3.9 BRAND-BAND: the founder's soft brand gradient (light blue top-left -> mint -> warm cream bottom-right), the
   same colours as the Job Connect hero / Near me card / trust popup since 2.2.x, as tokens and ONE class for "brand"
   header areas only (jobs page top, Near me sheet header, employer form header, /studio intro). Cards and forms stay
   white. Text on it: navy #0a2540 (15:1), muted #5f6b75 (>= 4.9:1), royal blue #1652b0 (>= 6.4:1) - WCAG AA. */
:root {
    --nab-brand-sky: #e6f4fc;
    --nab-brand-mint: #e8f7f0;
    --nab-brand-cream: #fff7e0;
    --nab-brand-band: linear-gradient(120deg, var(--nab-brand-sky) 0%, var(--nab-brand-mint) 55%, var(--nab-brand-cream) 100%);
}
.nab-brand-band { border-radius: 20px; background: var(--nab-brand-band); }
.nv-studio-band { margin: 16px 0 8px; padding: 20px; }
@media (min-width: 640px) { .nv-studio-band { padding: 28px 32px; } }

body.nab-v2 {
    font-family: "DM Sans", "Noto Sans Devanagari", "Mukta", ui-sans-serif, system-ui, sans-serif;
}

/* Category row */
.nv-catrow {
    border-top: 1px solid #e3e5e7;
    margin-inline: -16px;
    padding-inline: 16px;
    overflow-x: auto;
    scrollbar-width: none;
}
.nv-catrow::-webkit-scrollbar { display: none; }
.nv-catrow > ul {
    display: flex;
    align-items: center;
    gap: 26px;
    margin: 0;
    padding: 0;
    list-style: none;
    white-space: nowrap;
}
.nv-catrow > ul > li { flex-shrink: 0; }
.nv-catrow > ul > li > a,
.nv-catrow .nv-more > button {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 48px;
    padding: 0;
    border: 0;
    background: none;
    color: #0a2540;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}
.nv-catrow > ul > li > a:hover,
.nv-catrow .nv-more > button:hover,
.nv-catrow .nv-more > button[aria-expanded="true"] { color: #c8102e; }
.nv-catrow > ul > li > a[aria-current="page"] { color: #c8102e; }
.nv-catrow > ul > li > a[aria-current="page"]::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 8px;
    height: 2px;
    background: #c8102e;
}
.nv-catrow a:focus-visible,
.nv-catrow button:focus-visible { outline: 2px solid #c8102e; outline-offset: 2px; border-radius: 4px; }
.nv-more { display: none; }
.nv-more > [data-nab-panel] { left: auto; right: 0; }

@media (min-width: 640px) {
    .nv-catrow { margin-inline: -24px; padding-inline: 24px; }
}
@media (min-width: 1024px) {
    .nv-catrow { margin-inline: 0; padding-inline: 0; overflow: visible; }
    .nv-more { display: list-item; list-style: none; margin-left: auto; }
}
/* POST-LIVE-01: below 1024 px the categories live in the Menu sheet (and the header menu on
   pages without the bottom bar), so the row is not repeated above the page. */
@media (max-width: 1023px) {
    .nv-catrow { display: none; }
}

/* Inline language switch: EN / नेपाली */
.nv-lang { display: inline-flex; align-items: center; gap: 6px; margin: 0 4px 0 0; font-size: 14px; color: #8a96a0; }
.nv-lang button {
    min-height: 44px;
    padding: 0 4px;
    border: 0;
    background: none;
    color: #6b7882;
    font: inherit;
    font-weight: 500;
    cursor: pointer;
}
.nv-lang button[aria-current="true"] { color: #0a2540; font-weight: 700; }
.nv-lang button:hover { color: #c8102e; }
.nv-lang button:focus-visible { outline: 2px solid #c8102e; outline-offset: 2px; border-radius: 4px; }

/* NAV-01C: About link in the header, desktop only (below 1024 px it is in the Menu sheet). */
.nv-hdr-about { display: none; }
@media (min-width: 1024px) {
    .nv-hdr-about { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; border-radius: 8px; color: #0a2540; font-size: 14px; font-weight: 500; text-decoration: none; }
    .nv-hdr-about:hover, .nv-hdr-about[aria-current="page"] { color: #c8102e; }
    .nv-hdr-about:focus-visible { outline: 2px solid #c8102e; outline-offset: 2px; }
}

/* Scam awareness popup. TRUST-01: the jobs look (soft gradient header, white card, a soft-yellow
   "4 things" bar, mint ticks, one royal-blue and one sky button; red only in the logo). Phones: a
   bottom sheet sliding up; desktop: a centred card with a short fade and scale. The header and the
   buttons always stay visible; the text alone scrolls if a very small screen ever needs it. */
.nv-aw {
    width: min(480px, calc(100vw - 24px));
    max-width: min(480px, calc(100vw - 24px));
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
    overflow: hidden;
    padding: 0;
    border: 0;
    border-radius: 22px;
    background: #fff;
    color: #0a2540;
    box-shadow: 0 2px 6px rgba(10, 37, 64, .1), 0 24px 60px rgba(10, 37, 64, .28);
    box-sizing: border-box;
}
.nv-aw[open] { display: flex; flex-direction: column; animation: nvAwPop .26s cubic-bezier(.2, .8, .2, 1); }
.nv-aw.is-closing { animation: nvAwPopOut .2s ease-in forwards; }
.nv-aw::backdrop { background: rgba(10, 37, 64, .55); animation: nvAwFade .26s ease-out; }
/* NAB-2.2.3: while the popup is open the page behind it cannot scroll, overscroll or pull-to-refresh;
   the sheet keeps its own scrolling to itself; on phones its top area is the drag handle. */
html.nab-aw-open, html.nab-aw-open body { overflow: hidden; overscroll-behavior: none; }
.nv-aw, .nv-aw-body { overscroll-behavior: contain; }
@media (max-width: 639px) { .nv-aw-top { touch-action: none; } }
.nv-aw * { box-sizing: border-box; }
.nv-aw-top { position: relative; flex-shrink: 0; display: flex; align-items: center; gap: 10px; padding: 14px 14px 12px 20px; background: linear-gradient(120deg, #e6f4fc 0%, #e8f7f0 55%, #fff7e0 100%); }
.nv-aw-grip { display: none; }
.nv-aw-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 16px 20px 4px; }
.nv-aw-actions { flex-shrink: 0; display: grid; gap: 8px; padding: 10px 20px 14px; background: #fff; }
/* AW-TEXT-02: the tag may wrap and shrink, so the close button always fits. */
.nv-aw-tag { min-width: 0; padding: 4px 10px; border-radius: 999px; background: #fff; color: #0a3a5c; font-size: 12px; font-weight: 700; line-height: 1.3; box-shadow: 0 1px 2px rgba(10, 37, 64, .08); }
.nv-aw-close { flex-shrink: 0; display: grid; place-items: center; width: 40px; height: 40px; margin-left: auto; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .85); color: #0a2540; font-size: 15px; cursor: pointer; }
.nv-aw-close:hover { background: #fff; }
.nv-aw h2 { margin: 0; font-size: 23px; line-height: 1.3; font-weight: 800; color: #0a2540; }
.nv-aw-intro { margin: 8px 0 0; font-size: 15px; line-height: 1.55; color: #334a57; }
.nv-aw-bar { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; padding: 10px 12px; border-radius: 12px; background: #fff3c4; color: #4a3b00; font-size: 15px; font-weight: 800; line-height: 1.4; }
.nv-aw-bar svg { flex: none; color: #9a6b00; }
.nv-aw-tips { margin: 6px 0 0; padding: 0; list-style: none; }
.nv-aw-tips li { position: relative; padding: 6px 0 6px 30px; font-size: 15px; line-height: 1.45; }
.nv-aw-tips li::before { content: ""; position: absolute; left: 0; top: 7px; width: 21px; height: 21px; border-radius: 50%; background: #d5f0e3 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314633f' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat; }
.nv-aw-tips a { color: #1652b0; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.nv-aw-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.nv-aw-cta, .nv-aw-post { display: flex; align-items: center; justify-content: center; min-height: 48px; margin: 0; padding: 0 10px; border-radius: 12px; font-size: 15px; font-weight: 700; line-height: 1.25; text-align: center; text-decoration: none; }
.nv-aw-cta { background: #1652b0; color: #fff !important; }
.nv-aw-cta:hover { background: #0f3f8c; }
/* EMPLOYER-TRUST-01: buttons never blend into the frosted card: solid blue main, solid white
   secondary with a clear blue border and blue text (7:1 on white). */
.nv-aw-post { border: 2px solid #1652b0; background: #fff; color: #1652b0 !important; }
.nv-aw-post:hover { background: #eaf1fb; }
.nv-aw-intro strong { color: #0a2540; }
.nv-aw-where { margin: 4px 0 0; font-size: 14px; }
.nv-aw-where a { color: #1652b0; font-weight: 700; text-decoration: none; }
.nv-aw-where a:hover { text-decoration: underline; }
.nv-aw-chat { justify-self: center; min-height: 40px; margin: 0; padding: 0 8px; border: 0; border-radius: 8px; background: none; color: #1652b0; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.nv-aw-chat:hover { text-decoration: underline; }
.nv-aw-chat[hidden] { display: none; }
.nv-aw-foot { margin: 0; font-size: 13px; line-height: 1.4; text-align: center; color: #5f6d77; }
.nv-aw-reg { margin: 0; font-size: 11.5px; line-height: 1.4; text-align: center; color: #66737c; }
.nv-aw :is(a, button):focus-visible { outline: 3px solid #1652b0; outline-offset: 3px; }
/* TRUST-01C: the ✕ gets focus when the popup opens; its ring shows only for keyboard users. */
.nv-aw .nv-aw-close:focus-visible { outline: none; }
.nv-aw.is-keyboard .nv-aw-close:focus-visible { outline: 3px solid #1652b0; outline-offset: 3px; }
/* TRUST-01C: the headline once, keynote style: whole words rise from blur to sharp one by one
   (about 0.8 s), then one soft shine sweeps across. Words are never split, so Nepali letters stay whole. */
.nv-aw h2 { position: relative; overflow: hidden; }
.nv-aw-word { display: inline-block; }
.nv-aw[open] .nv-aw-word { animation: nvAwWord .45s cubic-bezier(.2, .8, .2, 1) both; }
.nv-aw[open] .nv-aw-word:nth-child(2) { animation-delay: .07s; }
.nv-aw[open] .nv-aw-word:nth-child(3) { animation-delay: .14s; }
.nv-aw[open] .nv-aw-word:nth-child(4) { animation-delay: .21s; }
.nv-aw[open] .nv-aw-word:nth-child(5) { animation-delay: .28s; }
.nv-aw[open] .nv-aw-word:nth-child(6) { animation-delay: .35s; }
.nv-aw[open] .nv-aw-word:nth-child(7) { animation-delay: .42s; }
.nv-aw[open] .nv-aw-word:nth-child(8) { animation-delay: .49s; }
.nv-aw[open] .nv-aw-word:nth-child(9) { animation-delay: .56s; }
.nv-aw[open] .nv-aw-word:nth-child(10) { animation-delay: .63s; }
.nv-aw[open] h2::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .8) 50%, transparent 65%) no-repeat; background-size: 220% 100%; background-position: -60% 0; animation: nvAwShine .9s ease-in-out .85s 1 both; }
@keyframes nvAwWord { from { opacity: 0; transform: translateY(.35em); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes nvAwShine { from { background-position: 160% 0; } to { background-position: -60% 0; } }
@keyframes nvAwPop { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
@keyframes nvAwPopOut { from { opacity: 1; transform: none; } to { opacity: 0; transform: scale(.96); } }
@keyframes nvAwFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes nvAwUp { from { transform: translateY(100%); } to { transform: none; } }
@keyframes nvAwDown { from { transform: none; } to { transform: translateY(100%); } }
/* TRUST-01B: desktop = macOS style: a frosted-glass card over a blurred page, a short spring-like
   scale and fade; solid white where backdrop blur is not supported. */
@keyframes nvAwSpring { 0% { opacity: 0; transform: scale(.9); } 60% { opacity: 1; transform: scale(1.02); } 80% { transform: scale(.995); } 100% { opacity: 1; transform: none; } }
@media (min-width: 640px) {
    .nv-aw { border-radius: 28px; background: rgba(255, 255, 255, .82); -webkit-backdrop-filter: blur(28px) saturate(1.6); backdrop-filter: blur(28px) saturate(1.6); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6), 0 2px 8px rgba(10, 37, 64, .08), 0 30px 80px rgba(10, 37, 64, .35); }
    .nv-aw-top { background: linear-gradient(120deg, rgba(230, 244, 252, .85) 0%, rgba(232, 247, 240, .85) 55%, rgba(255, 247, 224, .85) 100%); }
    .nv-aw-actions { background: transparent; }
    .nv-aw::backdrop { background: rgba(10, 37, 64, .35); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
    .nv-aw[open] { animation: nvAwSpring .42s cubic-bezier(.2, .9, .3, 1); }
    .nv-aw.is-closing { animation: nvAwPopOut .2s ease-in forwards; }
    @supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
        .nv-aw { background: #fff; }
        .nv-aw::backdrop { background: rgba(10, 37, 64, .55); }
    }
}
@media (max-width: 639px) {
    .nv-aw { width: 100%; max-width: 100%; max-height: 94vh; max-height: 94dvh; margin: auto 0 0; border-radius: 22px 22px 0 0; padding-bottom: env(safe-area-inset-bottom); }
    .nv-aw[open] { animation: nvAwUp .3s cubic-bezier(.2, .8, .2, 1); }
    .nv-aw.is-closing { animation: nvAwDown .22s ease-in forwards; }
    .nv-aw-grip { display: block; position: absolute; top: 6px; left: 50%; width: 40px; height: 5px; margin-left: -20px; border-radius: 3px; background: rgba(10, 37, 64, .2); }
    .nv-aw-top { padding-top: 18px; }
    .nv-aw h2 { font-size: 21px; }
}

@media (prefers-reduced-motion: reduce) {
    .nv-catrow *, .nv-aw * { transition: none !important; }
    .nv-aw[open], .nv-aw.is-closing, .nv-aw::backdrop { animation: none; }
    .nv-aw[open] .nv-aw-word { animation: none; }
    .nv-aw[open] h2::after { animation: none; display: none; }
}

/* NEAR-ME-01: "Use my location" (vacancy form) and "Near me" (Opportunities page) */
.nv-loc { margin-top: 10px; }
.nv-loc-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid #ced9d5;
    border-radius: 8px;
    background: #fff;
    color: #0a2540;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
.nv-loc-btn:hover { background: #f1f5f2; }
.nv-loc-btn:disabled { opacity: .6; cursor: wait; }
.nv-loc-clear { margin-left: 8px; min-height: 44px; padding: 0 8px; border: 0; background: none; color: #8f1d2c; font: inherit; font-size: 14px; text-decoration: underline; cursor: pointer; }
.nv-loc-status { margin: 8px 0 0; font-size: 13px; line-height: 1.6; color: #5f6f78; }
.nv-loc-btn:focus-visible, .nv-loc-clear:focus-visible { outline: 2px solid #c8102e; outline-offset: 2px; }

.nv-near { padding: 22px; border: 1px solid #d3dfd2; border-radius: 14px; background: #eaf0e9; scroll-margin-top: 90px; }
.nv-near-head { display: flex; gap: 14px; align-items: flex-start; }
.nv-near-pin { display: grid; place-items: center; width: 46px; height: 46px; flex-shrink: 0; border: 1px solid #ccdacc; border-radius: 12px; background: #f6f9f3; color: #37765e; }
.nv-near h2 { margin: 0; font-size: 22px; font-weight: 700; color: #0a2540; }
.nv-near-head p { margin: 4px 0 0; font-size: 15px; line-height: 1.6; color: #4d6458; }
.nv-near-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 16px; }
.nv-near-or { font-size: 14px; color: #5f6f78; }
.nv-near select { min-height: 44px; min-width: 200px; padding: 0 12px; border: 1px solid #ced9d5; border-radius: 8px; background: #fff; color: #0a2540; font: inherit; font-size: 14px; }
.nv-near-list { margin: 12px 0 0; padding: 0; list-style: none; }
.nv-near-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; margin-top: 8px; border: 1px solid #dce2df; border-radius: 10px; background: #fff; }
.nv-near-list li[hidden] { display: none; }
.nv-near-list a { display: flex; flex-direction: column; min-width: 0; color: #0a2540; text-decoration: none; }
.nv-near-list a:hover strong { color: #c8102e; }
.nv-near-list strong { font-size: 16px; }
.nv-near-list a span { font-size: 13px; color: #5f6f78; }
.nv-near-km { flex-shrink: 0; font-size: 13px; font-weight: 600; color: #2f6f56; }
.nv-near-privacy { margin: 14px 0 0; font-size: 12px; line-height: 1.6; color: #6b7882; }
/* NAB-2.3.6: "मेरो स्थान पत्ता लगाउनुहोस्": warnings, the employer's confirm box, the place-name search on Near me. */
.nv-loc-status.is-warn { color: #9a3412; font-weight: 600; }
/* NAB-2.3.7: the short start ("वा आफैँ ठाउँ लेख्नुहोस्") and the confirmed place card. */
.nv-geo-manual { margin: 6px 0 0; }
.nv-geo-manual .nv-loc-clear { margin-left: 0; padding-left: 0; }
.nv-geo-manual[hidden] { display: none; }
.nv-geo-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; margin-top: 10px; padding: 10px 14px; border: 1px solid #ced9d5; border-left: 4px solid #1652b0; border-radius: 8px; background: #f7f9fc; font-size: 15px; line-height: 1.5; color: #0a2540; }
.nv-geo-card[hidden] { display: none; }
.nv-geo-card p { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.nv-geo-card .nv-loc-clear { margin-left: 0; }
.nv-near-controls[hidden] { display: none; } /* without JavaScript the controls (which need it) stay hidden */
.nv-geo-confirm { margin-top: 10px; padding: 12px 14px; border: 1px solid #ced9d5; border-left: 4px solid #1652b0; border-radius: 8px; background: #f7f9fc; font-size: 14px; line-height: 1.6; color: #0a2540; }
.nv-geo-confirm[hidden] { display: none; }
.nv-geo-confirm p { margin: 0 0 2px; }
.nv-geo-confirm .nv-geo-sub { font-size: 13px; color: #5f6f78; }
.nv-geo-confirm .nv-geo-q { margin-top: 8px; font-weight: 700; }
.nv-geo-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; }
.nv-geo-actions .nv-loc-clear { margin-left: 0; }
.nv-near input[type="search"] { min-height: 44px; min-width: 200px; padding: 0 12px; border: 1px solid #ced9d5; border-radius: 8px; background: #fff; color: #0a2540; font: inherit; font-size: 14px; }
@media (max-width: 640px) {
    .nv-near { padding: 18px 16px; }
    .nv-near select, .nv-near input[type="search"], .nv-loc-btn { width: 100%; justify-content: center; }
    .nv-near-or { width: 100%; text-align: center; }
}

/* ARTICLE-V6-01: V6.1 article reader (design reference: V6.1 globals.css .reader-meta,
   .reader-image, .reader-body, .reader-summary, .eyebrow.red, .modal h2, .callout).
   Same tokens and proportions, sizes scaled up for a full reading page and Nepali text. */
.nv-reader { position: relative; box-sizing: border-box; width: min(720px, 100%); margin: 0 auto; padding: 22px 16px 8px; color: #0a2540; } /* NAB-2.3.3: relative for the ad rail */
.nv-reader * { box-sizing: border-box; }
.nv-reader a:focus-visible, .nv-reader-related a:focus-visible, .nv-preview-note a:focus-visible { outline: 2px solid #c8102e; outline-offset: 3px; border-radius: 4px; }
.nv-reader-eyebrow { display: inline-block; font-size: 12px; font-weight: 650; letter-spacing: 1.8px; text-transform: uppercase; color: #c8102e; text-decoration: none; }
.nv-reader-eyebrow:hover { text-decoration: underline; }
.nv-reader-eyebrow:lang(ne) { font-size: 14px; letter-spacing: 0; }
.nv-reader-title { margin: 12px 0 0; font-family: "Manrope", "Noto Sans Devanagari", sans-serif; font-size: 27px; font-weight: 600; line-height: 1.4; letter-spacing: -0.8px; color: #0a2540; overflow-wrap: break-word; }
.nv-reader-title:lang(ne) { line-height: 1.55; letter-spacing: 0; }
.nv-reader-summary { margin: 14px 0 0; font-size: 17px; font-weight: 500; line-height: 1.8; color: #0a2540; }
.nv-reader-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 18px 0 0; padding: 12px 0; border-top: 1px solid #dce2df; border-bottom: 1px solid #dce2df; font-size: 13px; line-height: 1.6; color: #677680; }
.nv-reader-meta a { font-weight: 600; color: #0a2540; text-decoration: none; }
.nv-reader-meta a:hover { color: #c8102e; }
.nv-reader-figure { margin: 22px 0 0; }
.nv-reader-credit { margin: 6px 0 0; font-size: 13px; line-height: 1.5; color: #5b6770; } /* NAB-2.2.4 photo credit */
.nv-reader-image { display: block; width: 100%; aspect-ratio: 1.5; object-fit: cover; border-radius: 8px; background: #eef1ef; }
.nv-reader-body.nab-article-body { margin-top: 24px; font-size: 17px; line-height: 1.95; color: #4f626b; }
.nv-reader-body.nab-article-body :is(h2, h3, h4) { font-family: "Manrope", "Noto Sans Devanagari", sans-serif; color: #0a2540; }
.nv-reader-body.nab-article-body a { color: #0a2540; }
.nv-reader-source { margin: 26px 0 0; padding: 15px 17px; border: 1px solid #d6e0d2; border-radius: 8px; background: #eef3e9; font-size: 15px; line-height: 1.7; }
.nv-reader-source strong { display: block; font-size: 12px; font-weight: 700; letter-spacing: .4px; color: #2f6f56; }
.nv-reader-source strong:lang(ne) { letter-spacing: 0; } /* RELEASE-2.2.2: none on Devanagari */
.nv-reader-source a { font-weight: 700; color: #0a2540; overflow-wrap: anywhere; }
.nv-reader-source-note { display: block; font-size: 13px; color: #677680; }
.nv-reader-gallery { margin: 28px 0 0; }
.nv-reader-gallery h2 { margin: 0; font-size: 15px; font-weight: 700; }
.nv-reader-gallery ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 12px 0 0; padding: 0; list-style: none; }
.nv-reader-gallery img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.nv-reader-ad { margin: 28px 0 0; }
.nv-reader-ad-label { margin: 0 0 6px; font-size: 12px; color: #677680; }
.nv-reader-ad-box { display: flex; align-items: center; gap: 14px; padding: 12px; border: 1px solid #dce2df; border-radius: 10px; background: #fff; color: #0a2540; text-decoration: none; }
.nv-reader-ad-box img { flex-shrink: 0; width: 96px; height: 64px; object-fit: cover; border-radius: 6px; }
.nv-reader-ad-box span { display: flex; flex-direction: column; min-width: 0; }
.nv-reader-ad-box strong { font-size: 15px; overflow-wrap: break-word; }
.nv-reader-ad-box small { font-size: 13px; color: #677680; }
.nv-reader-share { margin-top: 30px; }
.nv-reader-related { box-sizing: border-box; width: min(1120px, 100%); margin: 26px auto 0; padding: 26px 16px 34px; border-top: 1px solid #dce2df; }
.nv-reader-related h2 { margin: 0; font-family: "Manrope", "Noto Sans Devanagari", sans-serif; font-size: 22px; font-weight: 650; color: #0a2540; }
.nv-reader-related ul { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; margin: 18px 0 0; padding: 0; list-style: none; }
.nv-reader-related a { display: block; color: #0a2540; text-decoration: none; }
.nv-reader-related a:hover h3 { color: #c8102e; }
.nv-reader-related img { display: block; width: 100%; height: auto; aspect-ratio: 1.8; object-fit: cover; border-radius: 8px; margin-bottom: 12px; }
/* NAB-2.3.2: "थप <category> समाचार →" under the article. */
.nv-reader-more { box-sizing: border-box; width: min(1120px, 100%); margin: 0 auto; padding: 4px 16px 34px; font-size: 15px; }
.nv-reader-more a { color: #c8102e; font-weight: 650; text-decoration: none; }
.nv-reader-more a:hover, .nv-reader-more a:focus-visible { text-decoration: underline; }
.nv-reader-related-cat { display: block; font-size: 12px; font-weight: 650; color: #c8102e; }
.nv-reader-related h3 { margin: 6px 0 0; font-family: "Manrope", "Noto Sans Devanagari", sans-serif; font-size: 18px; font-weight: 600; line-height: 1.45; }
.nv-reader-related-date { display: block; margin-top: 8px; font-size: 12px; color: #677680; }
.nv-preview-note { box-sizing: border-box; width: min(720px, calc(100% - 32px)); margin: 16px auto 0; padding: 12px 16px; border: 1px solid #e0b84f; border-radius: 8px; background: #fff4d6; color: #3d2e00; font-size: 14px; line-height: 1.6; }
.nv-preview-note a { margin-left: 6px; font-weight: 700; color: #7a1020; }
@media (min-width: 700px) {
    .nv-reader-related ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nv-reader-gallery ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
    .nv-reader { padding: 40px 24px 8px; }
    .nv-reader-title { font-size: 36px; letter-spacing: -1px; }
    .nv-reader-summary { font-size: 19px; }
    .nv-reader-image { aspect-ratio: 1.8; }
    .nv-reader-body.nab-article-body { font-size: 18px; }
    .nv-reader-related { padding: 32px 24px 44px; }
}
@media (min-width: 1024px) {
    .nv-reader-related ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* NAV-01 / NAV-01B: V6 mobile bottom bar (< 1024 px) and Menu sheet.
   Home | Jobs | Ask NAB (raised centre) | Discover | Menu. One outline icon set (24 px grid,
   1.75 px stroke); active = NAB red, inactive = muted grey. Desktop keeps the assistant's
   original "NAB सँग सोध्नुहोस्" pill (not restyled here).
   Layers as before: assistant 25 < sheet backdrop 30 < sheet 40 < bar 50. */
.nv-bar-spacer { height: calc(3.5rem + env(safe-area-inset-bottom, 0px)); }
.nv-bar { position: fixed; left: 0; right: 0; bottom: 0; padding: 0 env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px); background: rgba(255, 255, 255, .97); box-shadow: inset 0 1px 0 #e3e5e7, 0 -4px 16px rgba(10, 37, 64, .06); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.nv-bar { transition: transform .22s ease; } /* NAB-2.3.11: hide on scroll down (article pages only) */
.nv-bar.is-hidden { transform: translateY(110%); }
@media (prefers-reduced-motion: reduce) { .nv-bar { transition: none; } }
.nv-bar ul { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); max-width: 640px; margin: 0 auto; padding: 0; list-style: none; }
.nv-bar a, .nv-bar button, .nv-bar-disabled { box-sizing: border-box; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; width: 100%; min-height: 3.5rem; padding: 4px 2px; border: 0; background: none; color: #677680; font: inherit; font-size: 11px; font-weight: 500; line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.nv-bar svg { width: 24px; height: 24px; flex-shrink: 0; }
.nv-bar span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nv-bar a:hover, .nv-bar button:hover { color: #0a2540; }
.nv-bar [aria-current="page"], .nv-bar [aria-expanded="true"] { color: #c8102e; font-weight: 600; }
.nv-bar [aria-current="page"]::before, .nv-bar [aria-expanded="true"]::before { content: ""; position: absolute; top: 0; left: 50%; width: 24px; height: 2px; margin-left: -12px; border-radius: 2px; background: #c8102e; }
.nv-bar a:focus-visible, .nv-bar button:focus-visible { outline: 2px solid #c8102e; outline-offset: -4px; border-radius: 8px; }
/* While the Menu sheet or the assistant is open, only that item is highlighted. */
.nv-bar:has([aria-expanded="true"]) [aria-current="page"] { color: #677680; font-weight: 500; }
.nv-bar:has([aria-expanded="true"]) [aria-current="page"]::before { content: none; }
/* Centre Ask NAB: the icon sits in a slightly raised NAB-red circle (same outline icon, white). */
.nv-bar .nv-bar-ask { color: #0a2540; font-weight: 600; }
.nv-bar .nv-bar-ask::before { content: none !important; }
.nv-bar-ask-icon { display: grid; place-items: center; width: 42px; height: 42px; margin-top: -14px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px #fff, 0 4px 14px rgba(200, 16, 46, .22); }
.nv-bar .nv-bar-ask-icon svg { width: 28px; height: auto; }
.nv-bar .nv-bar-ask[aria-expanded="true"] .nv-bar-ask-icon { background: #fcebed; }
/* Discover before the "discover" category has a published article: shown, not a link. */
.nv-bar-disabled { cursor: default; color: #a3adb3; }
.nv-bar-soon { position: absolute; top: 3px; left: 50%; margin-left: 6px; padding: 1px 5px; border-radius: 999px; background: #eef1ef; color: #677680; font-size: 9px; font-weight: 600; line-height: 1.4; }

.nv-sheet-backdrop { position: fixed; inset: 0; z-index: 30; background: rgba(10, 37, 64, 0); transition: background-color .2s ease; }
.nv-sheet-backdrop.is-open { background: rgba(10, 37, 64, .45); }
.nv-sheet { position: fixed; left: 0; right: 0; bottom: calc(3.5rem + env(safe-area-inset-bottom, 0px)); z-index: 40; box-sizing: border-box; max-height: calc(100dvh - 3.5rem - 48px - env(safe-area-inset-bottom, 0px)); overflow-y: auto; overscroll-behavior: contain; margin: 0 auto; max-width: 640px; padding: 8px 18px 18px; border-radius: 16px 16px 0 0; background: #fff; color: #0a2540; box-shadow: 0 -12px 40px rgba(10, 37, 64, .18); transform: translateY(105%); transition: transform .22s ease; }
.nv-sheet.is-open { transform: translateY(0); }
.nv-sheet[hidden], .nv-sheet-backdrop[hidden] { display: none; }
html.nv-sheet-open, html.nv-sheet-open body { overflow: hidden; }
.nv-sheet-handle { width: 40px; height: 4px; margin: 4px auto 6px; border-radius: 2px; background: #cfd6d3; }
.nv-sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.nv-sheet-head h2 { margin: 0; font-family: "Manrope", "Noto Sans Devanagari", sans-serif; font-size: 18px; font-weight: 650; }
.nv-sheet-close { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border: 1px solid #dce2df; border-radius: 50%; background: #fff; color: #0a2540; cursor: pointer; }
.nv-sheet-row { box-sizing: border-box; display: flex; align-items: center; gap: 12px; width: 100%; min-height: 48px; margin-top: 10px; padding: 0 14px; border: 1px solid #dce2df; border-radius: 12px; background: #f7f8f6; color: #0a2540; font: inherit; font-size: 15px; font-weight: 600; text-align: left; text-decoration: none; cursor: pointer; }
.nv-sheet-label { margin: 18px 0 6px; font-size: 12px; font-weight: 650; letter-spacing: .6px; text-transform: uppercase; color: #677680; }
.nv-sheet-label:lang(ne) { letter-spacing: 0; font-size: 13px; }
.nv-sheet-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 12px; margin: 0; padding: 0; list-style: none; }
.nv-sheet-list--plain { grid-template-columns: minmax(0, 1fr); margin-top: 14px; padding-top: 10px; border-top: 1px solid #edf0ee; }
.nv-sheet-list a { display: flex; align-items: center; min-height: 44px; color: #0a2540; font-size: 15px; font-weight: 500; text-decoration: none; overflow-wrap: anywhere; }
.nv-sheet-list a[aria-current="page"] { color: #c8102e; font-weight: 650; }
.nv-sheet-lang { display: flex; gap: 8px; margin: 0; }
.nv-sheet-lang button { flex: 1; min-height: 44px; border: 1px solid #dce2df; border-radius: 10px; background: #fff; color: #0a2540; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.nv-sheet-lang button[aria-current="true"] { border-color: #c8102e; color: #c8102e; }
.nv-sheet a:focus-visible, .nv-sheet button:focus-visible { outline: 2px solid #c8102e; outline-offset: 2px; }

/* NAV-01B: homepage strip, one slim line under the category row; dismissed for the session.
   TRUST-01: two messages take turns (homepage/index); jobs colours, red only in the logo. */
.nv-hire { display: flex; align-items: center; gap: 4px; box-sizing: border-box; width: 100%; padding: 0 4px 0 16px; border-bottom: 1px solid #dfe9ef; background: linear-gradient(120deg, #e6f4fc 0%, #e8f7f0 55%, #fff7e0 100%); }
.nv-hire-slides { display: flex; flex: 1; min-width: 0; }
.nv-hire-link[hidden] { display: none; }
.nv-hire-link.is-in { animation: nvHireIn .35s ease-out; }
@keyframes nvHireIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .nv-hire-link.is-in { animation: none; } }
.nv-hire[hidden] { display: none; }
.nv-hire-link { display: flex; align-items: center; justify-content: center; gap: 8px; flex: 1; min-width: 0; min-height: 40px; color: #0a2540; font-size: 13px; font-weight: 500; text-decoration: none; }
/* One line where it fits; on narrow phones the Nepali text wraps rather than being cut off. */
.nv-hire-link span:first-of-type { padding: 6px 0; line-height: 1.35; overflow-wrap: anywhere; }
.nv-hire-link strong { color: #1652b0; font-weight: 700; }
.nv-hire-link:hover strong { text-decoration: underline; }
.nv-hire-link svg { flex-shrink: 0; color: #1652b0; }
.nv-hire-close { display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; border: 0; border-radius: 50%; background: none; color: #677680; cursor: pointer; }
.nv-hire-close:hover { color: #0a2540; background: rgba(255, 255, 255, .7); }
.nv-hire a:focus-visible, .nv-hire button:focus-visible { outline: 2px solid #1652b0; outline-offset: -2px; border-radius: 8px; }

/* The shared assistant on V2 pages (legacy pages do not load this file): below 1024 px the
   floating launcher and greeting give way to Ask NAB in the bar; the panel sits above the bar.
   Stronger selectors than the assistant's own inline styles, which come later in the page. */
@media (max-width: 1023px) {
    body .nab-assistant[data-context="v2"] .chatbot-fab,
    body .nab-assistant[data-context="v2"] .chatbot-greeting { display: none; }
    body .nab-assistant[data-context="v2"] .chatbot-panel { bottom: calc(3.5rem + 12px + env(safe-area-inset-bottom, 0px)); max-height: calc(100dvh - 3.5rem - 36px - env(safe-area-inset-bottom, 0px)); }
}
@media (min-width: 1024px) {
    .nv-bar, .nv-bar-spacer, .nv-sheet, .nv-sheet-backdrop { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
    .nv-sheet, .nv-sheet-backdrop { transition: none; }
}

/* POST-LIVE-01: the ticker pauses on hover only with a real mouse (a tap on a phone left it
   "hovered", so it stopped), and on focus only for keyboard focus (data-focus-paused, set by
   partials/nab/ticker); the pause button and reduced motion work as before. */
@media (hover: hover) and (pointer: fine) {
    [data-nab-ticker-viewport]:hover .tw-animate-nab-ticker { animation-play-state: paused; }
}
[data-nab-ticker][data-focus-paused="true"] .tw-animate-nab-ticker { animation-play-state: paused; }

/* ADS-HOME-01: active ads on the V2 homepage (partials/nab/home-ad.blade.php).
   Image boxes have a fixed aspect ratio, so nothing moves while an image loads. */
.nv-home-ad { margin: 20px auto 0; }
.nv-home-ad-label { margin: 0 0 6px; font-size: 12px; line-height: 16px; color: #677680; }
.nv-home-ad-box { display: block; border: 1px solid #dce2df; border-radius: 10px; background: #fff; color: #0a2540; text-decoration: none; overflow: hidden; }
a.nv-home-ad-box:focus-visible { outline: 2px solid #c8102e; outline-offset: 2px; }
.nv-home-ad-media { display: block; background: #f3f5f4; }
.nv-home-ad-media img { display: block; width: 100%; height: 100%; object-fit: contain; }
.nv-home-ad--banner { max-width: 728px; }
.nv-home-ad--banner .nv-home-ad-media { aspect-ratio: 728 / 90; }
.nv-home-ad--infeed { max-width: 728px; margin-top: 32px; }
/* NAB-2.3.3: the in-feed ad is a box (designer 600x500, shown at most 300x250). */
.nv-home-ad--infeed { max-width: 300px; }
.nv-home-ad--infeed .nv-home-ad-box { display: block; padding: 0; }
.nv-home-ad--infeed .nv-home-ad-media { width: 100%; aspect-ratio: 6 / 5; overflow: hidden; }
.nv-home-ad--infeed .nv-home-ad-copy { padding: 10px 12px 12px; }
.nv-home-ad--infeed .nv-home-ad-media img { object-fit: cover; }
.nv-home-ad--infeed .nv-home-ad-box.is-text .nv-home-ad-copy { padding: 4px 2px; }
.nv-home-ad-copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.nv-home-ad-copy strong { font-size: 16px; overflow-wrap: break-word; }
.nv-home-ad-copy small { font-size: 13px; color: #677680; overflow-wrap: break-word; }
@media (max-width: 768px) {
    .nv-home-ad { margin-top: 16px; }
    .nv-home-ad--banner .nv-home-ad-media.has-mobile { aspect-ratio: 320 / 100; }
}

/* NAB-2.3.3: MP4 ads (muted, looping) with their JPG poster; "reduce motion" shows only the poster. */
.nv-ad-motion { position: relative; }
.nv-ad-motion .nv-ad-video { display: block; width: 100%; height: 100%; object-fit: contain; background: #f3f5f4; }
.nv-ad-motion .nv-ad-poster { display: none; }
@media (prefers-reduced-motion: reduce) {
    .nv-ad-motion .nv-ad-video { display: none; }
    .nv-ad-motion .nv-ad-poster { display: block; }
}

/* NAB-2.3.3: homepage ad popup. Desktop: a centred card over a dimmed page; phones: a small card at
   the bottom above the menu bar (no dimming, the page stays usable). */
.nv-adpop[hidden] { display: none; }
.nv-adpop { position: fixed; inset: 0; z-index: 1800; display: flex; align-items: center; justify-content: center; padding: 16px; box-sizing: border-box; }
.nv-adpop-backdrop { position: absolute; inset: 0; background: rgba(10, 37, 64, .45); }
.nv-adpop-card { position: relative; box-sizing: border-box; width: min(440px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: #fff; border-radius: 14px; box-shadow: 0 18px 50px rgba(10, 37, 64, .28); padding: 12px 14px 14px; }
.nv-adpop-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.nv-adpop-label { margin: 0; font-size: 12px; font-weight: 650; color: #677680; letter-spacing: .02em; }
.nv-adpop-close { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 999px; background: #eef1ef; color: #0a2540; font-size: 20px; line-height: 1; cursor: pointer; }
.nv-adpop-close:hover { background: #e2e7e4; }
.nv-adpop-close:focus-visible { outline: 2px solid #c8102e; outline-offset: 2px; }
.nv-adpop-box { display: block; color: #0a2540; text-decoration: none; }
.nv-adpop-box:focus-visible { outline: 2px solid #c8102e; outline-offset: 3px; border-radius: 10px; }
.nv-adpop-media { display: block; overflow: hidden; border-radius: 10px; background: #f3f5f4; aspect-ratio: 6 / 5; }
.nv-adpop-media img, .nv-adpop-media video { display: block; width: 100%; height: 100%; object-fit: contain; }
.nv-adpop-copy { display: block; margin-top: 10px; }
.nv-adpop-copy strong { display: block; font-size: 16px; line-height: 1.4; }
.nv-adpop-copy small { display: block; margin-top: 2px; font-size: 13px; color: #677680; }
html.nab-adpop-open { overflow: hidden; }
@media (max-width: 640px) {
    .nv-adpop { inset: auto 0 calc(4rem + env(safe-area-inset-bottom, 0px)) 0; padding: 0 12px 8px; align-items: flex-end; }
    .nv-adpop-backdrop { display: none; }
    .nv-adpop-card { width: 100%; padding: 8px 10px 10px; border-radius: 12px; box-shadow: 0 8px 28px rgba(10, 37, 64, .25); }
    .nv-adpop-top { margin-bottom: 6px; }
    .nv-adpop-close { width: 40px; height: 40px; font-size: 18px; }
    .nv-adpop-box { display: flex; align-items: center; gap: 10px; }
    .nv-adpop-media { flex: 0 0 96px; width: 96px; aspect-ratio: 1; border-radius: 8px; }
    .nv-adpop-copy { margin-top: 0; }
    .nv-adpop-copy strong { font-size: 14px; }
}

/* NAB-2.3.3: article box ads (designer 600x500, shown at most 300x250): after the 2nd paragraph,
   at the end, and beside the article on wide screens (the rail; hidden below 1400 px). */
.nv-adbox { box-sizing: border-box; max-width: 300px; margin: 28px auto; }
.nv-adbox-label { margin: 0 0 6px; font-size: 12px; line-height: 16px; color: #677680; }
.nv-adbox-box { display: block; overflow: hidden; border: 1px solid #dce2df; border-radius: 10px; background: #fff; color: #0a2540; text-decoration: none; }
a.nv-adbox-box:focus-visible { outline: 2px solid #c8102e; outline-offset: 2px; }
.nv-adbox-media { display: block; aspect-ratio: 6 / 5; background: #f3f5f4; }
.nv-adbox-media img, .nv-adbox-media video { display: block; width: 100%; height: 100%; object-fit: contain; }
.nv-adbox-copy { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px 12px; line-height: 1.45; }
.nv-adbox-copy strong { font-size: 15px; overflow-wrap: break-word; }
.nv-adbox-copy small { font-size: 13px; color: #677680; overflow-wrap: break-word; }
.nab-article-body .nv-adbox { font-size: 15px; }
.nv-reader-body.nab-article-body a.nv-adbox-box { text-decoration: none; }
.nv-adbox-rail { display: none; }
@media (min-width: 1400px) {
    .nv-adbox-rail { display: block; position: absolute; top: 0; bottom: 0; left: calc(100% + 40px); width: 300px; }
    .nv-adbox--sidebar { position: sticky; top: 96px; margin: 0; }
}
/* NAB-2.3.3: NAB Studio (/studio): contact buttons, portfolio cards, team list, YouTube boxes. */
.nv-studio-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.nv-studio-work { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin: 16px 0 0; padding: 0; list-style: none; }
.nv-studio-work-card { overflow: hidden; border: 1px solid #dce2df; border-radius: 12px; background: #fff; }
.nv-studio-work-img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: #f3f5f4; }
.nv-studio-work-text { padding: 12px 14px 14px; }
.nv-studio-work-text h3 { margin: 0; font-size: 17px; line-height: 1.4; color: #0a2540; }
.nv-studio-work-meta { margin: 4px 0 0; font-size: 13px; color: #677680; }
.nv-studio-work-summary { margin: 8px 0 0; font-size: 14px; line-height: 1.6; color: #4f626b; }
@media (min-width: 640px) { .nv-studio-work { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .nv-studio-work { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.nv-team { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin: 16px 0 0; padding: 0; list-style: none; }
.nv-team-card { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid #dce2df; border-radius: 12px; background: #fff; }
.nv-team-photo { flex: 0 0 72px; width: 72px; height: 72px; border-radius: 999px; object-fit: cover; background: #eef1ef; }
.nv-team-initial { display: inline-flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 700; color: #c8102e; }
.nv-team-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; line-height: 1.4; }
.nv-team-text strong { font-size: 16px; color: #0a2540; }
.nv-team-text span { font-size: 14px; color: #4f626b; }
.nv-team-text .nv-team-type { font-size: 12px; font-weight: 650; color: #c8102e; }
.nv-team-text small { margin-top: 2px; font-size: 13px; color: #677680; }
@media (min-width: 640px) { .nv-team { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .nv-team { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.nv-yt { position: relative; aspect-ratio: 16 / 9; background: #0a2540; }
.nv-yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.nv-yt-play { position: absolute; inset: 0; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.nv-yt-play img { display: block; width: 100%; height: 100%; object-fit: cover; }
.nv-yt-icon { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); line-height: 0; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .35)); }
.nv-yt-play:focus-visible { outline: 3px solid #c8102e; outline-offset: -3px; }
.nv-yt-figure { margin: 22px 0; }
.nv-yt-figure .nv-yt { border-radius: 10px; overflow: hidden; }
.nv-yt-figure figcaption { margin-top: 6px; font-size: 13px; color: #677680; }
/* NAB-2.3.4: popup settings. The trust popup DESIGN is unchanged; only these additions:
   - an optional Admin poster inside the same frame (text design otherwise);
   - the homepage ad popup on phones shows the ad's 640x200 phone image full width when it has one;
   - a small "scam safety" button in the homepage strip that opens the trust popup again. */
.nv-aw-body--poster { padding-top: 4px; }
.nv-aw-poster { display: block; width: 100%; height: auto; max-height: min(60vh, 520px); object-fit: contain; border-radius: 12px; background: #f3f5f4; }
.nv-adpop-media picture { display: block; width: 100%; height: 100%; }
@media (max-width: 640px) {
    .nv-adpop-box.has-mobile { display: block; }
    .nv-adpop-box.has-mobile .nv-adpop-media { flex: none; width: 100%; aspect-ratio: 640 / 200; border-radius: 8px; }
    .nv-adpop-box.has-mobile .nv-adpop-copy { margin-top: 6px; }
}
.nv-hire-info { display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; border: 0; border-radius: 50%; background: none; color: #1652b0; cursor: pointer; }
.nv-hire-info:hover { color: #0a2540; background: rgba(255, 255, 255, .7); }
/* POST-LIVE-01 duplicate audit: from 1024 px the header's category row is visible, so the category
   page's own topic chips and the Jobs page's second "Post a vacancy" button would repeat it. */
@media (min-width: 1024px) {
    [data-nv-topics], [data-nv-employer-post] { display: none; }
}

/* LOGO-01: the logo image, the same height as the old text logo. */
/* The margins keep the old logo's box (its line height), so nothing below it moves. */
.nab-logo-img { display: block; width: auto; height: 30px; margin: 3px 0; }
.nab-logo-img--compact { height: 20px; margin: 4px 0; }
@media (min-width: 640px) {
    .nab-logo-img { height: 36px; margin: 2px 0; }
    .nab-logo-img--compact { height: 24px; margin: 4px 0; }
}
/* LOGO-01, FIX-2.1.1: broadcast wave on the mark, small arc to big. The script in partials/nab/bottom-nav
   sets the classes: 5 cycles to start, a gentle one every 30 s for up to 3 minutes, one when the chat
   closes. Static with reduced motion. */
.nab-mark { display: block; }
.nab-mark path { transform-box: fill-box; transform-origin: 0% 100%; }
@keyframes nabWave { 0%, 100% { opacity: 1; transform: scale(1); } 40% { opacity: .25; transform: scale(.92); } 70% { opacity: 1; transform: scale(1.06); } }
@keyframes nabWaveSoft { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .6; transform: scale(1.03); } }
.nab-wave-play .nab-mark .w1 { animation: nabWave 1.2s ease-in-out 5; }
.nab-wave-play .nab-mark .w2 { animation: nabWave 1.2s ease-in-out .15s 5; }
.nab-wave-play .nab-mark .w3 { animation: nabWave 1.2s ease-in-out .3s 5; }
.nab-wave-soft .nab-mark .w1 { animation: nabWaveSoft 1.6s ease-in-out 1; }
.nab-wave-soft .nab-mark .w2 { animation: nabWaveSoft 1.6s ease-in-out .15s 1; }
.nab-wave-soft .nab-mark .w3 { animation: nabWaveSoft 1.6s ease-in-out .3s 1; }
.nab-wave-once .nab-mark .w1 { animation: nabWave 1.2s ease-in-out 1; }
.nab-wave-once .nab-mark .w2 { animation: nabWave 1.2s ease-in-out .15s 1; }
.nab-wave-once .nab-mark .w3 { animation: nabWave 1.2s ease-in-out .3s 1; }
@media (prefers-reduced-motion: reduce) {
    .nab-mark path { animation: none !important; }
}

/* JOBS-THEME-01: the "NAB Jobs" look, only on pages with @section('nab_jobs_theme') (body.nab-jobs):
   royal blue instead of red; red stays in the logo and in error messages (.nab-err). Colours only. */
body.nab-jobs .tw-bg-brand, body.nab-jobs .before\:tw-bg-brand::before, body.nab-jobs .after\:tw-bg-brand::after, body.nab-jobs .hover\:tw-bg-brand:hover { background-color: #1652b0; }
body.nab-jobs .hover\:tw-bg-brand-dark:hover, body.nab-jobs .tw-bg-brand-dark { background-color: #0f3f8c; }
body.nab-jobs .tw-bg-brand-light, body.nab-jobs .aria-\[current\=page\]\:tw-bg-brand-light[aria-current="page"] { background-color: #eaf1fb; }
body.nab-jobs .tw-bg-brand-light\/70 { background-color: rgba(234, 241, 251, .7); }
body.nab-jobs .tw-text-brand, body.nab-jobs .hover\:tw-text-brand:hover, body.nab-jobs .tw-group:hover .group-hover\:tw-text-brand, body.nab-jobs .aria-expanded\:tw-text-brand[aria-expanded="true"], body.nab-jobs .aria-\[current\=page\]\:tw-text-brand[aria-current="page"] { color: #1652b0; }
body.nab-jobs .tw-text-brand-dark, body.nab-jobs .hover\:tw-text-brand-dark:hover, body.nab-jobs .aria-\[current\=page\]\:tw-text-brand-dark[aria-current="page"] { color: #0f3f8c; }
body.nab-jobs .tw-border-brand, body.nab-jobs .hover\:tw-border-brand:hover, body.nab-jobs .focus\:tw-border-brand:focus, body.nab-jobs .aria-\[current\=page\]\:tw-border-brand[aria-current="page"] { border-color: #1652b0; }
body.nab-jobs .tw-border-brand\/15 { border-color: rgba(22, 82, 176, .15); }
body.nab-jobs .focus\:tw-ring-brand\/20:focus { --tw-ring-color: rgba(22, 82, 176, .2); }
body.nab-jobs .focus\:tw-ring-brand\/30:focus { --tw-ring-color: rgba(22, 82, 176, .3); }
body.nab-jobs .focus-visible\:tw-outline-brand:focus-visible { outline-color: #1652b0; }
/* Silver for borders and form-field edges (3:1 on white). Meta text stays #5f6b75: #8a96a0 is only
   3:1 on white, below AA for small text. */
body.nab-jobs main .tw-border-border, body.nab-jobs main .tw-border-border-strong { border-color: #8a96a0; }
body.nab-jobs .tw-text-text-muted { color: #5f6b75; }
/* The site header and bars while on a Jobs page. */
body.nab-jobs .nv-catrow .nv-more > button[aria-expanded="true"], body.nab-jobs .nv-catrow > ul > li > a[aria-current="page"], body.nab-jobs .nv-lang button:hover, body.nab-jobs .nv-hdr-about:hover, body.nab-jobs .nv-hdr-about[aria-current="page"],
body.nab-jobs .nv-near-list a:hover strong, body.nab-jobs .nv-loc-clear, body.nab-jobs .nv-bar [aria-current="page"], body.nab-jobs .nv-sheet-list a[aria-current="page"], body.nab-jobs .nv-sheet-lang button[aria-current="true"] { color: #1652b0; }
body.nab-jobs .nv-bar [aria-current="page"]::before, body.nab-jobs .nv-catrow > ul > li > a[aria-current="page"]::after { background: #1652b0; }
body.nab-jobs .nv-bar .nv-bar-ask[aria-expanded="true"] { color: #0a2540; }
body.nab-jobs .nv-sheet-lang button[aria-current="true"] { border-color: #1652b0; }
body.nab-jobs .nv-catrow button:focus-visible, body.nab-jobs .nv-lang button:focus-visible, body.nab-jobs .nv-hdr-about:focus-visible, body.nab-jobs .nv-loc-btn:focus-visible, body.nab-jobs .nv-loc-clear:focus-visible,
body.nab-jobs .nv-bar a:focus-visible, body.nab-jobs .nv-bar button:focus-visible, body.nab-jobs .nv-sheet a:focus-visible, body.nab-jobs .nv-sheet button:focus-visible { outline-color: #1652b0; }
/* Hero and Near me card: soft gradient. */
body.nab-jobs .nab-jobs-hero, body.nab-jobs .nv-near { border: 0; border-radius: 20px; background: var(--nab-brand-band); } /* NAB-2.3.9: the brand tokens */
body.nab-jobs .nab-jobs-hero { margin: 16px 0 20px; padding: 20px; }
@media (min-width: 640px) { body.nab-jobs .nab-jobs-hero { padding: 28px 32px; } }
body.nab-jobs .nab-jobs-hero h1 { font-weight: 800; color: #0a2540; }
body.nab-jobs .nab-jobs-hero nav + .nab-jobs-eyebrow { margin-top: 14px; }
.nab-jobs-eyebrow { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .14em; color: #1652b0; }
/* RELEASE-2.2.2: Nepali (Devanagari) labels get no letter-spacing; Latin labels (lang="en") keep it. */
.nab-jobs-eyebrow:lang(ne) { font-size: 13px; letter-spacing: 0; }
/* Buttons. Secondary (NAB-2.2.3, founder): solid white, 2 px royal-blue border, blue text (7:1),
   so it never blends into the page; the main button stays solid royal blue. */
body.nab-jobs .nab-btn2 { border: 2px solid #1652b0; background: #fff; color: #1652b0; }
body.nab-jobs .nab-btn2:hover { border-color: #0f3f8c; background: #f2f6fd; color: #0f3f8c; }
body.nab-jobs main summary { min-height: 44px; }
/* Soft green for open and success; light yellow for notes. */
body.nab-jobs .nab-ok { background-color: #e8f7f0; color: #14633f; }
body.nab-jobs .nab-ok .tw-bg-brand { background-color: #1f8a5b; }
body.nab-jobs .nab-ok-panel { border-color: #a9dfc4; background-color: #e8f7f0; }
body.nab-jobs .nab-note { border-color: #eed98f; background-color: #fff7e0; }
body.nab-jobs .nab-note .tw-text-brand-dark { color: #5c4a00; }
/* Error messages stay red. */
body.nab-jobs .nab-err.tw-text-brand-dark, body.nab-jobs .nab-err .tw-text-brand-dark { color: #8f1d2c; }
body.nab-jobs .nab-err.tw-bg-brand-light { background-color: #f9edef; }
body.nab-jobs .nab-err.tw-border-brand, body.nab-jobs .nab-err.focus\:tw-border-brand:focus { border-color: #c32032; }
body.nab-jobs .nab-err.focus\:tw-ring-brand\/30:focus { --tw-ring-color: rgba(195, 32, 50, .3); }
/* UI-POLISH-01 (employer success and manage pages): one card style, soft theme chips and buttons, fewer
   borders; edit / deadline / share / close open as a bottom sheet (phone) or a side drawer (desktop).
   Without JavaScript each action stays an inline <details>; the sheet classes are added by script only. */
body.nab-jobs .nab-card { margin-top: 20px; padding: 20px; border: 0; border-radius: 20px; background: #fff; box-shadow: 0 1px 2px rgba(10, 37, 64, .06), 0 8px 28px rgba(10, 37, 64, .07); }
@media (min-width: 640px) { body.nab-jobs .nab-card { padding: 24px 28px; } }
body.nab-jobs .nab-card--mint { background: #e8f7f0; box-shadow: none; color: #14633f; }
body.nab-jobs .nab-card--sun { background: #fff7e0; box-shadow: none; }
body.nab-jobs .nab-card-title { margin: 0; font-size: 18px; font-weight: 800; line-height: 1.4; color: #0a2540; overflow-wrap: anywhere; }
body.nab-jobs .nab-card-title--sm { font-size: 16px; }
body.nab-jobs .nab-card-sub { margin: 2px 0 0; font-size: 14px; line-height: 1.5; color: #5f6b75; }
body.nab-jobs .nab-card-note { margin: 16px 0 0; padding: 12px 14px; border-radius: 14px; background: #fff7e0; color: #4a3b00; font-size: 14px; font-weight: 600; line-height: 1.6; }
body.nab-jobs .nab-card-kicker { margin: 0 0 6px; font-size: 12px; font-weight: 700; color: #5f6b75; }
body.nab-jobs .nab-card-text { margin: 8px 0 0; font-size: 15px; line-height: 1.65; color: #0a2540; }
body.nab-jobs .nab-card-muted { margin: 8px 0 0; font-size: 14px; line-height: 1.6; color: #5f6b75; }
body.nab-jobs .nab-facts { display: grid; gap: 14px; margin: 18px 0 0; font-size: 14px; }
@media (min-width: 640px) { body.nab-jobs .nab-facts { grid-template-columns: 1fr 1fr; } }
body.nab-jobs .nab-facts dt { font-size: 12px; font-weight: 600; color: #5f6b75; }
body.nab-jobs .nab-facts dd { margin: 2px 0 0; line-height: 1.6; color: #0a2540; overflow-wrap: anywhere; }
body.nab-jobs .nab-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
body.nab-jobs .nab-chip { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 18px; background: #e6f4fc; color: #0a3a5c; }
body.nab-jobs .nab-chip--open { background: #d5f0e3; color: #14633f; }
body.nab-jobs .nab-chip--pending, body.nab-jobs .nab-chip--changes { background: #ffefbd; color: #5c4a00; }
body.nab-jobs .nab-btn-soft { display: inline-flex; align-items: center; justify-content: center; gap: 8px; box-sizing: border-box; min-height: 44px; padding: 0 18px; border: 0; border-radius: 12px; background: #e6f4fc; color: #0a2540; font: inherit; font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; transition: background-color .15s ease; }
body.nab-jobs .nab-btn-soft:hover { background: #d2eaf8; color: #0a2540; }
body.nab-jobs .nab-btn-soft--mint { background: #e1f5eb; }
body.nab-jobs .nab-btn-soft--mint:hover { background: #cdeedd; }
body.nab-jobs .nab-btn-soft:focus-visible, body.nab-jobs .nab-action > summary:focus-visible, body.nab-jobs .nab-sheet-x:focus-visible { outline: 2px solid #1652b0; outline-offset: 2px; }
body.nab-jobs .nab-btn-row { display: grid; gap: 10px; margin-top: 16px; }
@media (min-width: 640px) { body.nab-jobs .nab-btn-row { display: flex; flex-wrap: wrap; } }
body.nab-jobs .nab-field { box-sizing: border-box; width: 100%; min-height: 48px; padding: 0 14px; border: 0; border-radius: 12px; background: #f1f6fa; color: #0a2540; font-size: 14px; }
/* Action list: one row per action, an icon tile in the theme gradient, no borders. */
body.nab-jobs .nab-actions { display: grid; gap: 4px; margin: 12px -8px 0; }
body.nab-jobs .nab-action > summary { display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 10px 8px; border-radius: 14px; list-style: none; cursor: pointer; color: #0a2540; transition: background-color .15s ease; }
body.nab-jobs .nab-action > summary::-webkit-details-marker { display: none; }
body.nab-jobs .nab-action > summary:hover { background: #f3f8fc; }
body.nab-jobs .nab-action-icon { display: flex; flex: none; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, #e6f4fc 0%, #e8f7f0 55%, #fff7e0 100%); color: #1652b0; }
body.nab-jobs .nab-action--quiet .nab-action-icon { background: #f1f3f5; color: #3d4a55; }
body.nab-jobs .nab-action-label { flex: 1; min-width: 0; font-size: 15px; font-weight: 700; line-height: 1.4; }
body.nab-jobs .nab-action-hint { display: block; margin-top: 2px; font-size: 13px; font-weight: 400; color: #5f6b75; }
body.nab-jobs .nab-action-chev { flex: none; color: #5f6b75; transition: transform .2s ease; }
body.nab-jobs .nab-action[open] > summary .nab-action-chev { transform: rotate(90deg); }
body.nab-jobs .nab-action.is-js > summary .nab-action-chev { transform: none; }
body.nab-jobs .nab-sheet { padding: 4px 8px 16px; }
body.nab-jobs .nab-sheet-head, body.nab-jobs .nab-sheet-grip { display: none; }
/* The sheet itself (script only). */
body.nab-jobs .nab-scrim { position: fixed; inset: 0; z-index: 2000; background: rgba(10, 37, 64, 0); transition: background-color .22s ease; }
body.nab-jobs .nab-scrim.is-in { background: rgba(10, 37, 64, .45); }
body.nab-jobs .nab-sheet.is-sheet { position: fixed; z-index: 2001; right: 0; bottom: 0; left: 0; box-sizing: border-box; max-height: 90vh; max-height: 90dvh; padding: 8px 20px calc(24px + env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain; border-radius: 22px 22px 0 0; background: #fff; box-shadow: 0 -10px 40px rgba(10, 37, 64, .2); transform: translateY(100%); transition: transform .28s cubic-bezier(.2, .8, .2, 1); }
body.nab-jobs .nab-sheet.is-sheet.is-in { transform: none; }
body.nab-jobs .nab-sheet.is-sheet:focus { outline: none; }
body.nab-jobs .is-sheet .nab-sheet-grip { display: block; width: 40px; height: 5px; margin: 0 auto 6px; border-radius: 3px; background: #c9d1d8; }
body.nab-jobs .is-sheet .nab-sheet-head { position: sticky; top: -8px; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 -20px 8px; padding: 8px 20px 12px; background: #fff; }
body.nab-jobs .nab-sheet-head h2 { margin: 0; font-size: 18px; font-weight: 800; line-height: 1.4; color: #0a2540; }
body.nab-jobs .nab-sheet-x { display: flex; flex: none; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 999px; background: #eef3f7; color: #0a2540; cursor: pointer; }
body.nab-jobs .nab-sheet-x:hover { background: #e1e9f0; }
@media (min-width: 768px) {
    body.nab-jobs .nab-sheet.is-sheet { top: 0; left: auto; width: 440px; max-height: none; padding: 24px 28px 32px; border-radius: 22px 0 0 22px; box-shadow: -10px 0 40px rgba(10, 37, 64, .2); transform: translateX(100%); }
    body.nab-jobs .is-sheet .nab-sheet-grip { display: none; }
    body.nab-jobs .is-sheet .nab-sheet-head { top: -24px; margin: -24px -28px 12px; padding: 24px 28px 12px; }
}
@media (prefers-reduced-motion: reduce) {
    body.nab-jobs .nab-scrim, body.nab-jobs .nab-sheet.is-sheet, body.nab-jobs .nab-action-chev, body.nab-jobs .nab-btn-soft, body.nab-jobs .nab-action > summary { transition: none; }
}
/* UI-POLISH-02: the same look on the other jobs pages (landing, job list, job page, post form, Near me).
   Boxes lose their thin border: white ones become the soft card, tinted ones a light sky panel; pills
   turn sky, the job type mint; section lines become space. Error boxes keep their red edge. */
body.nab-jobs main .tw-rounded-card.tw-border, body.nab-jobs main .tw-rounded-panel.tw-border { border-color: transparent; border-radius: 20px; }
body.nab-jobs main .tw-rounded-card.tw-border.tw-bg-surface, body.nab-jobs main .tw-rounded-panel.tw-border.tw-bg-surface { background-color: #fff; box-shadow: 0 1px 3px rgba(10, 37, 64, .1), 0 10px 30px rgba(10, 37, 64, .08); }
/* UI-POLISH-03 (founder): a light page tint behind jobs content so the white cards stand clearly apart. */
body.nab-jobs main { background-color: #f3f6f9; }
body.nab-jobs .nab-card:not(.nab-card--mint):not(.nab-card--sun) { box-shadow: 0 1px 3px rgba(10, 37, 64, .1), 0 10px 30px rgba(10, 37, 64, .08); }
body.nab-jobs .nv-near-list li { border-color: transparent; background: #fff; box-shadow: 0 1px 3px rgba(10, 37, 64, .1), 0 6px 18px rgba(10, 37, 64, .07); }
body.nab-jobs main .tw-rounded-card.tw-border.tw-bg-surface-subtle, body.nab-jobs main .tw-rounded-panel.tw-border.tw-bg-surface-subtle, body.nab-jobs main .tw-rounded-card.tw-border-dashed { background-color: #f1f7fc; }
body.nab-jobs main .nab-err.tw-rounded-card.tw-border, body.nab-jobs main .nab-err.tw-rounded-panel.tw-border { border-color: #c32032; }
body.nab-jobs main .tw-border-0.tw-border-t.tw-border-border { border-top-color: transparent; }
body.nab-jobs main .tw-rounded-pill.tw-bg-surface-subtle, body.nab-jobs main .tw-rounded-pill.tw-bg-surface-muted, body.nab-jobs main .tw-rounded-pill.tw-border { border-color: transparent; background-color: #e6f4fc; color: #0a3a5c; }
body.nab-jobs main .tw-rounded-pill.tw-bg-brand-light:not(.nab-ok) { background-color: #e1f5eb; color: #14633f; }
/* The job card "More details" link that opens a sheet. */
body.nab-jobs .nab-action--link > summary { display: inline-flex; min-height: 36px; padding: 0 2px; border-radius: 8px; font-size: 14px; font-weight: 600; color: #1652b0; }
body.nab-jobs .nab-action--link > summary:hover { background: none; text-decoration: underline; }
body.nab-jobs .nab-action--link > .nab-sheet:not(.is-sheet) { padding: 0; }
/* GUIDE-01: first-visit tips on the jobs pages (partials/nab/first-guide). A small bubble in the jobs
   gradient next to a button, no backdrop; "?" shows it again. */
body.nab-jobs .nab-guide { position: absolute; z-index: 1500; box-sizing: border-box; width: max-content; max-width: min(300px, calc(100vw - 24px)); padding: 14px 16px 12px; border-radius: 16px; background: linear-gradient(120deg, #e6f4fc 0%, #e8f7f0 55%, #fff7e0 100%); color: #0a2540; box-shadow: 0 2px 6px rgba(10, 37, 64, .12), 0 14px 34px rgba(10, 37, 64, .18); transition: top .2s ease, left .2s ease; }
body.nab-jobs .nab-guide-count { margin: 0; font-size: 12px; font-weight: 700; color: #1652b0; }
body.nab-jobs .nab-guide-text { margin: 4px 0 0; font-size: 16px; font-weight: 700; line-height: 1.5; }
body.nab-jobs .nab-guide-btns { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }
body.nab-jobs .nab-guide-btns button { min-height: 40px; padding: 0 14px; border: 0; border-radius: 10px; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
body.nab-jobs .nab-guide-skip { background: transparent; color: #0a2540; }
body.nab-jobs .nab-guide-skip:hover { background: rgba(10, 37, 64, .06); }
body.nab-jobs .nab-guide-next { background: #1652b0; color: #fff; }
body.nab-jobs .nab-guide-next:hover { background: #0f3f8c; }
body.nab-jobs .nab-guide-btns button:focus-visible, body.nab-jobs .nab-guide-again:focus-visible { outline: 2px solid #1652b0; outline-offset: 2px; }
body.nab-jobs .nab-guide-arrow { position: absolute; top: -7px; width: 14px; height: 14px; background: #e6f4fc; transform: rotate(45deg); }
body.nab-jobs .nab-guide.is-above .nab-guide-arrow { top: auto; bottom: -7px; background: #eef7ee; }
body.nab-jobs .nab-guide-target { outline: 3px solid #f2b705; outline-offset: 3px; }
/* GUIDE-02: on the post form the tip sits in the page flow above its block (never over a field). */
body.nab-jobs .nab-guide.is-inline { position: static; width: auto; max-width: none; margin: 0 0 18px; }
body.nab-jobs .nab-guide.is-inline .nab-guide-arrow { top: auto; bottom: -7px; left: 28px; background: #eaf5f0; }
body.nab-jobs .nab-guide-again { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 999px; background: #fff; color: #1652b0; font: inherit; font-size: 18px; font-weight: 800; cursor: pointer; box-shadow: 0 1px 3px rgba(10, 37, 64, .15); vertical-align: middle; }
body.nab-jobs .nab-guide-again[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { body.nab-jobs .nab-guide { transition: none; } }
/* TRUST-01C: the short scam warning next to Apply (job page, "application sent" page). */
body.nab-jobs .nab-warn-line { margin: 12px 0 0; padding: 10px 12px; border-radius: 12px; background: #fff3c4; color: #4a3b00; font-size: 14px; font-weight: 600; line-height: 1.55; }
body.nab-jobs .nab-warn-line a { color: #1652b0; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
/* TRUST-02: "कहाँ उजुरी गर्ने?" (pages/complaints): verified entries grouped by scam type. */
body.nab-jobs .nab-cmp-type { margin: 22px 0 0; font-size: 15px; font-weight: 800; line-height: 1.4; color: #1652b0; }
body.nab-jobs .nab-cmp-list { display: grid; gap: 10px; margin: 8px 0 0; padding: 0; list-style: none; }
body.nab-jobs .nab-cmp-list li { padding: 12px 14px; border-radius: 14px; background: #f1f7fc; }
body.nab-jobs .nab-cmp-name { margin: 0; font-size: 15px; font-weight: 700; line-height: 1.45; color: #0a2540; }
body.nab-jobs .nab-cmp-note { margin: 4px 0 0; font-size: 14px; line-height: 1.5; color: #5f6b75; }
body.nab-jobs .nab-cmp-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; }
body.nab-jobs .nab-cmp-list .nab-btn-soft { background: #fff; }
body.nab-jobs .nab-cmp-list .nab-btn-soft:hover { background: #e6f4fc; }
/* EMPLOYER-TRUST-01: "Why NAB" box on the post form. Phones: a compact box under the heading;
   desktop: a sticky side column next to the form (the page widens a little for it). */
body.nab-jobs .nab-why { margin: 0 0 16px; padding: 12px 14px; border-radius: 16px; background: #fff; box-shadow: 0 1px 3px rgba(10, 37, 64, .1), 0 8px 24px rgba(10, 37, 64, .07); }
body.nab-jobs .nab-why h2 { margin: 0; font-size: 15px; font-weight: 800; line-height: 1.4; color: #0a2540; }
body.nab-jobs .nab-why .nv-aw-tips { margin-top: 4px; }
body.nab-jobs .nab-why .nv-aw-tips li { padding: 3px 0 3px 26px; font-size: 13px; line-height: 1.45; }
body.nab-jobs .nab-why .nv-aw-tips li::before { top: 4px; width: 18px; height: 18px; background-size: 11px; }
@media (min-width: 1024px) {
    body.nab-jobs .nab-form-wide { max-width: 1100px; }
    body.nab-jobs .nab-form-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
    body.nab-jobs .nab-form-main { grid-column: 1; grid-row: 1; min-width: 0; }
    body.nab-jobs .nab-why { position: sticky; top: 20px; grid-column: 2; grid-row: 1; margin: 0; padding: 18px 20px; }
    body.nab-jobs .nab-why h2 { font-size: 16px; }
    body.nab-jobs .nab-why .nv-aw-tips li { padding: 6px 0 6px 30px; font-size: 14px; }
    body.nab-jobs .nab-why .nv-aw-tips li::before { top: 7px; width: 21px; height: 21px; background-size: 13px; }
}
/* EMPLOYER-TRUST-01: "How NAB Job Connect works" comparison (Opportunities). Neutral: both columns
   plain, NAB's column only lightly tinted; on phones each row stacks with its column names. */
body.nab-jobs .nab-how table { width: 100%; margin: 14px 0 0; border-collapse: separate; border-spacing: 0; font-size: 14px; line-height: 1.5; }
body.nab-jobs .nab-how th { padding: 10px 12px; font-size: 13px; font-weight: 800; text-align: left; color: #0a2540; background: #f1f3f5; }
body.nab-jobs .nab-how th + th { background: #e6f4fc; }
body.nab-jobs .nab-how th:first-child { border-radius: 12px 0 0 0; }
body.nab-jobs .nab-how th:last-child { border-radius: 0 12px 0 0; }
body.nab-jobs .nab-how td { width: 50%; padding: 10px 12px; vertical-align: top; color: #334a57; border-bottom: 1px solid #edf1f4; }
body.nab-jobs .nab-how td + td { background: #f6fbfe; color: #0a2540; font-weight: 600; }
body.nab-jobs .nab-how tr:last-child td { border-bottom: 0; }
@media (max-width: 639px) {
    body.nab-jobs .nab-how thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    body.nab-jobs .nab-how table, body.nab-jobs .nab-how tbody, body.nab-jobs .nab-how tr, body.nab-jobs .nab-how td { display: block; width: auto; }
    body.nab-jobs .nab-how tr { margin: 0 0 10px; border-radius: 14px; overflow: hidden; box-shadow: inset 0 0 0 1px #e3eaf0; }
    body.nab-jobs .nab-how td { border-bottom: 0; }
    body.nab-jobs .nab-how td::before { content: attr(data-label); display: block; margin-bottom: 2px; font-size: 12px; font-weight: 700; color: #5f6b75; }
}
/* The "Why NAB" box folds to one tappable line on phones (its details element). */
body.nab-jobs .nab-why summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 28px; list-style: none; cursor: pointer; }
body.nab-jobs .nab-why summary::-webkit-details-marker { display: none; }
body.nab-jobs .nab-why summary::after { content: ""; flex: none; width: 8px; height: 8px; border-right: 2px solid #1652b0; border-bottom: 2px solid #1652b0; transform: rotate(45deg); margin-top: -4px; }
body.nab-jobs .nab-why details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
body.nab-jobs .nab-why summary:focus-visible { outline: 2px solid #1652b0; outline-offset: 3px; border-radius: 6px; }
@media (min-width: 1024px) { body.nab-jobs .nab-why summary { pointer-events: none; cursor: default; } body.nab-jobs .nab-why summary::after { display: none; } }
/* NAB-2.2.3: post form: section headings start exactly where the field labels do (no legend padding);
   the three contact ticks are compact rows instead of padded boxes. */
body.nab-jobs [data-nab-vacancy-form] fieldset > legend { padding-left: 0; padding-right: 0; }
/* NAB-2.2.5: on phones a section heading that wraps stays inside its box (a legend straddles the
   box's top edge, so a second line would sit on the border): an ordinary full-width block there. */
@media (max-width: 640px) {
    body.nab-jobs [data-nab-vacancy-form] fieldset > legend { float: left; width: 100%; margin: 0 0 4px; line-height: 1.45; }
    body.nab-jobs [data-nab-vacancy-form] fieldset > legend + * { clear: both; }
}
body.nab-jobs .nab-tick-list { display: grid; gap: 2px; }
body.nab-jobs .nab-tick-row { padding: 8px 0; }
/* NAB-2.2.3: one button look on the jobs pages. Secondary = solid white, 2 px blue border, blue text
   (also the earlier sky buttons and Near me's location button); main = solid royal blue. Calm motion:
   on desktop a 1 px lift with a soft shadow; a press scales to .98; short; none with reduced motion. */
body.nab-jobs main .nab-btn2, body.nab-jobs main .nab-btn-soft, body.nab-jobs main .nv-loc-btn { border: 2px solid #1652b0; background: #fff; color: #1652b0; }
body.nab-jobs main .nab-btn2:hover, body.nab-jobs main .nab-btn-soft:hover, body.nab-jobs main .nv-loc-btn:hover { border-color: #0f3f8c; background: #f2f6fd; color: #0f3f8c; }
body.nab-jobs main .nab-btn2, body.nab-jobs main .nab-btn-soft, body.nab-jobs main .nv-loc-btn, body.nab-jobs main a.tw-bg-brand, body.nab-jobs main button.tw-bg-brand { transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease, color .15s ease; }
@media (hover: hover) and (pointer: fine) {
    body.nab-jobs main .nab-btn2:hover, body.nab-jobs main .nab-btn-soft:hover, body.nab-jobs main .nv-loc-btn:hover, body.nab-jobs main a.tw-bg-brand:hover, body.nab-jobs main button.tw-bg-brand:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(22, 82, 176, .16); }
}
body.nab-jobs main .nab-btn2:active, body.nab-jobs main .nab-btn-soft:active, body.nab-jobs main .nv-loc-btn:active, body.nab-jobs main a.tw-bg-brand:active, body.nab-jobs main button.tw-bg-brand:active { transform: scale(.98); box-shadow: none; }
@media (prefers-reduced-motion: reduce) {
    body.nab-jobs main .nab-btn2, body.nab-jobs main .nab-btn-soft, body.nab-jobs main .nv-loc-btn, body.nab-jobs main a.tw-bg-brand, body.nab-jobs main button.tw-bg-brand { transition: none; }
    body.nab-jobs main .nab-btn2:hover, body.nab-jobs main .nab-btn-soft:hover, body.nab-jobs main .nv-loc-btn:hover, body.nab-jobs main a.tw-bg-brand:hover, body.nab-jobs main button.tw-bg-brand:hover, body.nab-jobs main .nab-btn2:active, body.nab-jobs main .nab-btn-soft:active, body.nab-jobs main .nv-loc-btn:active, body.nab-jobs main a.tw-bg-brand:active, body.nab-jobs main button.tw-bg-brand:active { transform: none; }
}
