*,
*::before,
*::after{
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
    overflow-x:hidden;
}

html:not([data-nif-theme="dark"]),
html[data-nif-theme="light"]{
    --bg:#f5f8fd;
    --surface:#ffffff;
    --surface2:#eef4fb;
    --card:#ffffff;
    --text:#142942;
    --heading:#082b54;
    --muted:#6f8095;
    --border:#d8e4f0;
    --primary:#1689ed;
    --primary2:#536bf4;
    --primary-soft:#eaf5ff;
    --green:#11b981;
    --nav:rgba(255,255,255,.94);
    --shadow:0 18px 45px rgba(21,63,105,.09);
    --hero1:#f8fbff;
    --hero2:#edf5ff;
}

html[data-nif-theme="dark"]{
    --bg:#06101d;
    --surface:#0b1829;
    --surface2:#081421;
    --card:#0e1e32;
    --text:#dcecff;
    --heading:#f1f7ff;
    --muted:#91a6bc;
    --border:#203954;
    --primary:#45a8ff;
    --primary2:#7177ff;
    --primary-soft:#102a45;
    --green:#28d49b;
    --nav:rgba(7,17,30,.95);
    --shadow:0 20px 55px rgba(0,0,0,.28);
    --hero1:#071321;
    --hero2:#0a1b30;
}

body.nif-home-clean{
    margin:0;
    min-height:100vh;
    color:var(--text);
    background:var(--bg);
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;
    -webkit-font-smoothing:antialiased;
}

body.nif-home-clean a{
    text-decoration:none;
}

.nh-container{
    width:min(1180px,calc(100% - 36px));
    margin:0 auto;
}

.nh-nav{
    position:sticky;
    top:0;
    z-index:1000;
    border-bottom:1px solid var(--border);
    background:var(--nav);
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);
}

.nh-nav-inner{
    position:relative;
    display:flex;
    min-height:72px;
    align-items:center;
    gap:18px;
}

.nh-brand{
    display:flex;
    min-width:0;
    align-items:center;
    gap:10px;
    color:var(--heading);
    font-weight:900;
}

.nh-brand img{
    width:42px;
    height:42px;
    flex:0 0 42px;
    border-radius:12px;
    object-fit:cover;
}

.nh-brand span{
    overflow:hidden;
    max-width:210px;
    text-overflow:ellipsis;
    white-space:nowrap;
    font-size:17px;
}

.nh-menu{
    display:flex;
    margin-left:auto;
    align-items:center;
    gap:2px;
}

.nh-menu > a{
    display:flex;
    min-height:42px;
    align-items:center;
    justify-content:center;
    padding:9px 11px;
    border-radius:11px;
    color:var(--text);
    font-size:13px;
    font-weight:750;
    transition:.2s ease;
}

.nh-menu > a:hover{
    color:var(--primary);
    background:var(--primary-soft);
}

.nh-nav-btn{
    display:inline-flex;
    width:42px;
    height:42px;
    flex:0 0 42px;
    align-items:center;
    justify-content:center;
    border:1px solid var(--border);
    border-radius:12px;
    color:var(--primary);
    background:var(--surface);
    cursor:pointer;
}

.nh-nav-btn i{
    font-size:17px;
}

#nh-menu-toggle{
    display:none;
}

.nh-menu .nh-account-link{
    margin-left:5px;
    color:#fff;
    background:linear-gradient(
        135deg,
        var(--primary),
        var(--primary2)
    );
}

.nh-menu .nh-account-link:hover{
    color:#fff;
    filter:brightness(1.06);
}

.nh-hero{
    position:relative;
    overflow:hidden;
    padding:76px 0 66px;
    background:
        radial-gradient(
            circle at 12% 10%,
            rgba(26,144,241,.15),
            transparent 32%
        ),
        radial-gradient(
            circle at 86% 12%,
            rgba(91,96,245,.13),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            var(--hero1),
            var(--hero2)
        );
}

.nh-hero::before{
    position:absolute;
    inset:0;
    content:"";
    opacity:.55;
    pointer-events:none;
    background-image:
        linear-gradient(
            rgba(59,121,184,.06) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(59,121,184,.06) 1px,
            transparent 1px
        );
    background-size:42px 42px;
}

.nh-hero-inner{
    position:relative;
    z-index:1;
}

.nh-hero-grid{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(360px,.86fr);
    align-items:center;
    gap:54px;
}

.nh-eyebrow{
    display:inline-flex;
    min-height:38px;
    align-items:center;
    gap:9px;
    padding:8px 13px;
    border:1px solid var(--border);
    border-radius:999px;
    color:var(--primary);
    background:var(--surface);
    box-shadow:var(--shadow);
    font-size:11px;
    font-weight:900;
    letter-spacing:.09em;
    text-transform:uppercase;
}

.nh-eyebrow i{
    color:var(--green);
    font-size:8px;
}

.nh-welcome{
    margin-top:18px;
    color:var(--muted);
    font-size:14px;
    font-weight:700;
}

.nh-hero h1{
    max-width:720px;
    margin:10px 0 18px;
    color:var(--heading);
    font-size:clamp(42px,5.7vw,72px);
    font-weight:950;
    letter-spacing:-.055em;
    line-height:1.01;
}

.nh-hero h1 .nh-highlight{
    display:block;
    color:var(--primary);
}

.nh-hero-desc{
    max-width:680px;
    margin:0;
    color:var(--muted);
    font-size:17px;
    line-height:1.75;
}

.nh-actions{
    display:flex;
    margin-top:28px;
    flex-wrap:wrap;
    gap:11px;
}

.nh-btn{
    display:inline-flex;
    min-height:52px;
    align-items:center;
    justify-content:center;
    gap:9px;
    padding:12px 20px;
    border:1px solid var(--border);
    border-radius:14px;
    color:var(--heading);
    background:var(--surface);
    font-size:14px;
    font-weight:850;
    transition:.2s ease;
}

.nh-btn:hover{
    transform:translateY(-2px);
    box-shadow:var(--shadow);
}

.nh-btn-primary{
    color:#fff;
    border-color:transparent;
    background:linear-gradient(
        135deg,
        var(--primary),
        var(--primary2)
    );
}

.nh-trust{
    display:flex;
    margin-top:24px;
    flex-wrap:wrap;
    gap:8px;
}

.nh-trust span{
    display:inline-flex;
    align-items:center;
    gap:7px;
    padding:7px 10px;
    border:1px solid var(--border);
    border-radius:999px;
    color:var(--muted);
    background:var(--surface);
    font-size:11px;
    font-weight:750;
}

.nh-trust i{
    color:var(--primary);
}

.nh-browser{
    overflow:hidden;
    border:1px solid var(--border);
    border-radius:25px;
    background:var(--surface);
    box-shadow:
        0 28px 70px
        rgba(18,59,105,.16);
}

html[data-nif-theme="dark"] .nh-browser{
    box-shadow:0 28px 70px rgba(0,0,0,.4);
}

.nh-browser-top{
    display:flex;
    min-height:48px;
    align-items:center;
    justify-content:space-between;
    padding:0 15px;
    border-bottom:1px solid var(--border);
}

.nh-browser-dots{
    display:flex;
    gap:6px;
}

.nh-browser-dots span{
    width:8px;
    height:8px;
    border-radius:50%;
    background:var(--border);
}

.nh-browser-top strong{
    overflow:hidden;
    max-width:190px;
    color:var(--muted);
    text-overflow:ellipsis;
    white-space:nowrap;
    font-size:11px;
}

.nh-browser img{
    display:block;
    width:100%;
    height:auto;
    aspect-ratio:16/10;
    object-fit:cover;
}

.nh-browser-fallback{
    display:flex;
    min-height:330px;
    align-items:center;
    justify-content:center;
    color:var(--primary);
    background:var(--primary-soft);
    font-size:72px;
}

.nh-role-grid{
    display:grid;
    margin-top:54px;
    grid-template-columns:repeat(3,1fr);
    gap:15px;
}

.nh-role-card{
    display:flex;
    min-width:0;
    align-items:center;
    gap:14px;
    padding:19px;
    border:1px solid var(--border);
    border-radius:19px;
    color:var(--text);
    background:var(--card);
    box-shadow:var(--shadow);
    transition:.2s ease;
}

.nh-role-card:hover{
    transform:translateY(-3px);
    border-color:var(--primary);
}

.nh-role-icon{
    display:flex;
    width:48px;
    height:48px;
    flex:0 0 48px;
    align-items:center;
    justify-content:center;
    border-radius:14px;
    color:var(--primary);
    background:var(--primary-soft);
    font-size:19px;
}

.nh-role-card strong{
    display:block;
    color:var(--heading);
    font-size:14px;
}

.nh-role-card p{
    margin:4px 0 0;
    color:var(--muted);
    font-size:12px;
    line-height:1.5;
}

.nh-section{
    padding:82px 0;
    background:var(--surface);
}

.nh-section-alt{
    background:var(--surface2);
}

.nh-heading{
    max-width:730px;
    margin:0 auto 39px;
    text-align:center;
}

.nh-label{
    margin-bottom:8px;
    color:var(--primary);
    font-size:11px;
    font-weight:900;
    letter-spacing:.11em;
    text-transform:uppercase;
}

.nh-heading h2{
    margin:0;
    color:var(--heading);
    font-size:clamp(29px,4vw,43px);
    font-weight:930;
    letter-spacing:-.035em;
}

.nh-heading p{
    margin:12px 0 0;
    color:var(--muted);
    font-size:15px;
    line-height:1.7;
}

.nh-feature-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:16px;
}

.nh-feature{
    min-width:0;
    padding:20px;
    border:1px solid var(--border);
    border-radius:20px;
    background:var(--card);
    box-shadow:var(--shadow);
    transition:.2s ease;
}

.nh-feature:hover{
    transform:translateY(-3px);
    border-color:var(--primary);
}

.nh-feature-icon{
    display:flex;
    width:58px;
    height:58px;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    border-radius:16px;
    color:var(--primary);
    background:var(--primary-soft);
    font-size:22px;
}

.nh-feature-icon img{
    width:100%;
    height:100%;
    padding:8px;
    object-fit:contain;
}

.nh-feature h3{
    margin:15px 0 7px;
    color:var(--heading);
    font-size:16px;
    font-weight:850;
}

.nh-feature p{
    margin:0;
    color:var(--muted);
    font-size:13px;
    line-height:1.65;
}

.nh-stats{
    display:grid;
    overflow:hidden;
    grid-template-columns:repeat(4,1fr);
    border:1px solid #214b78;
    border-radius:24px;
    background:
        linear-gradient(
            145deg,
            #0b3261,
            #132d63
        );
    box-shadow:var(--shadow);
}

html[data-nif-theme="dark"] .nh-stats{
    background:
        linear-gradient(
            145deg,
            #0b2644,
            #101f3c
        );
}

.nh-stat{
    position:relative;
    padding:31px 20px;
    text-align:center;
}

.nh-stat:not(:last-child){
    border-right:1px solid rgba(255,255,255,.1);
}

.nh-stat i{
    display:flex;
    width:42px;
    height:42px;
    margin:0 auto 13px;
    align-items:center;
    justify-content:center;
    border-radius:12px;
    color:#62baff;
    background:rgba(255,255,255,.07);
}

.nh-stat-value{
    color:#fff;
    font-size:26px;
    font-weight:900;
    overflow-wrap:anywhere;
}

.nh-stat-label{
    margin-top:5px;
    color:rgba(231,242,255,.68);
    font-size:11px;
    font-weight:700;
}

.nh-method-grid{
    display:grid;
    grid-template-columns:
        repeat(
            auto-fit,
            minmax(145px,1fr)
        );
    gap:12px;
}

.nh-method{
    display:flex;
    min-height:126px;
    min-width:0;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:11px;
    padding:16px;
    border:1px solid var(--border);
    border-radius:18px;
    color:var(--heading);
    background:var(--card);
    box-shadow:var(--shadow);
    text-align:center;
}

.nh-method img{
    width:45px;
    height:45px;
    object-fit:contain;
}

.nh-method strong{
    max-width:100%;
    overflow-wrap:anywhere;
    font-size:12px;
}

.nh-proof-shell{
    overflow:hidden;
    border:1px solid var(--border);
    border-radius:22px;
    background:var(--card);
    box-shadow:var(--shadow);
}

.nh-proof-scroll{
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
}

.nh-proof-table{
    width:100%;
    min-width:720px;
    border-collapse:collapse;
}

.nh-proof-table th{
    padding:14px 17px;
    color:var(--muted);
    background:var(--surface2);
    border-bottom:1px solid var(--border);
    text-align:left;
    font-size:10px;
    font-weight:900;
    letter-spacing:.06em;
    text-transform:uppercase;
}

.nh-proof-table td{
    padding:15px 17px;
    color:var(--text);
    border-bottom:1px solid var(--border);
    font-size:12px;
}

.nh-proof-table tbody tr:last-child td{
    border-bottom:0;
}

.nh-proof-amount{
    color:var(--primary)!important;
    font-weight:900;
}

.nh-empty{
    padding:30px;
    border:1px dashed var(--border);
    border-radius:18px;
    color:var(--muted);
    background:var(--card);
    text-align:center;
    font-size:13px;
}

.nh-footer{
    padding:32px 0;
    color:#96a9c0;
    background:#061325;
}

html[data-nif-theme="dark"] .nh-footer{
    background:#040b14;
}

.nh-footer-inner{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
}

.nh-footer p{
    margin:0;
    font-size:12px;
}

.nh-footer a{
    color:#d9e8fa;
}

.nh-footer-links{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:8px 14px;
}

.nh-footer-links a{
    font-size:11px;
}

@media(max-width:1050px){
    .nh-menu > a{
        padding-left:8px;
        padding-right:8px;
        font-size:12px;
    }

    .nh-hero-grid{
        grid-template-columns:1fr 380px;
        gap:30px;
    }
}

@media(max-width:900px){
    .nh-nav-inner{
        min-height:64px;
    }

    #nh-menu-toggle{
        display:inline-flex;
    }

    .nh-menu{
        position:absolute;
        top:calc(100% + 8px);
        right:0;
        left:0;
        display:none;
        max-height:calc(100vh - 86px);
        margin:0;
        padding:10px;
        flex-direction:column;
        align-items:stretch;
        overflow-y:auto;
        border:1px solid var(--border);
        border-radius:18px;
        background:var(--surface);
        box-shadow:var(--shadow);
    }

    .nh-menu.nh-open{
        display:flex;
    }

    .nh-menu > a{
        width:100%;
        min-height:46px;
        justify-content:flex-start;
        padding:10px 12px;
        font-size:13px;
    }

    .nh-menu .nh-account-link{
        margin-left:0;
        justify-content:center;
    }

    .nh-theme-btn{
        margin-left:auto;
    }

    .nh-hero-grid{
        grid-template-columns:1fr;
    }

    .nh-browser{
        max-width:650px;
        margin:auto;
    }

    .nh-role-grid{
        grid-template-columns:1fr;
    }

    .nh-feature-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .nh-stats{
        grid-template-columns:repeat(2,1fr);
    }

    .nh-stat:nth-child(2){
        border-right:0;
    }

    .nh-stat:nth-child(-n+2){
        border-bottom:1px solid rgba(255,255,255,.1);
    }
}

@media(max-width:600px){
    .nh-container{
        width:calc(100% - 24px);
    }

    .nh-brand img{
        width:36px;
        height:36px;
        flex-basis:36px;
    }

    .nh-brand span{
        max-width:150px;
        font-size:14px;
    }

    .nh-nav-btn{
        width:40px;
        height:40px;
        flex-basis:40px;
    }

    .nh-hero{
        padding:46px 0 48px;
    }

    .nh-hero h1{
        font-size:clamp(36px,12vw,48px);
    }

    .nh-hero-desc{
        font-size:15px;
    }

    .nh-actions{
        display:grid;
        grid-template-columns:1fr 1fr;
    }

    .nh-btn{
        min-width:0;
        padding-left:10px;
        padding-right:10px;
        font-size:12px;
    }

    .nh-browser{
        border-radius:20px;
    }

    .nh-role-grid{
        margin-top:32px;
    }

    .nh-section{
        padding:56px 0;
    }

    .nh-heading{
        margin-bottom:27px;
    }

    .nh-heading h2{
        font-size:30px;
    }

    .nh-heading p{
        font-size:13px;
    }

    .nh-feature-grid{
        grid-template-columns:1fr;
        gap:12px;
    }

    .nh-feature{
        padding:17px;
        border-radius:17px;
    }

    .nh-stats{
        border-radius:19px;
    }

    .nh-stat{
        padding:23px 9px;
    }

    .nh-stat-value{
        font-size:20px;
    }

    .nh-method-grid{
        grid-template-columns:repeat(2,1fr);
        gap:9px;
    }

    .nh-method{
        min-height:110px;
        padding:12px 8px;
        border-radius:16px;
    }

    .nh-footer-inner{
        flex-direction:column;
        text-align:center;
    }
}

@media(max-width:360px){
    .nh-brand span{
        max-width:120px;
    }

    .nh-actions{
        grid-template-columns:1fr;
    }
}

@media(prefers-reduced-motion:reduce){
    *,
    *::before,
    *::after{
        scroll-behavior:auto!important;
        transition:none!important;
        animation:none!important;
    }
}


/* HOME CLEAN V2 - NAV + FULL HERO IMAGE */

.nh-menu > a{
    gap:7px;
}

.nh-menu > a > i{
    width:17px;
    color:var(--primary);
    text-align:center;
    font-size:13px;
}

.nh-menu .nh-account-link > i{
    color:#fff;
}

/* Show the complete homepage image without cropping */
.nh-browser{
    width:100%;
    max-width:560px;
    margin-left:auto;
    margin-right:auto;
}

.nh-browser img{
    display:block;
    width:100%;
    height:min(52vh,470px);
    max-height:470px;
    padding:10px;
    object-fit:contain;
    object-position:center;
    background:var(--surface);
}

@media(max-width:900px){
    .nh-browser{
        max-width:620px;
    }

    .nh-browser img{
        height:min(48vh,420px);
        max-height:420px;
    }
}

@media(max-width:600px){
    .nh-browser{
        width:100%;
        max-width:100%;
    }

    .nh-browser img{
        width:100%;
        height:min(42vh,320px);
        max-height:320px;
        padding:7px;
        object-fit:contain;
    }

    .nh-menu > a{
        gap:10px;
    }

    .nh-menu > a > i{
        width:21px;
        font-size:15px;
    }
}


/* NIF HOME PREMIUM NAV IMAGE V2 START */

/* =========================
   HERO IMAGE - NATURAL SIZE
   ========================= */

.nh-browser{
    width:100%;
    max-width:540px;
    margin-left:auto;
    margin-right:auto;
    overflow:hidden;
    border:1px solid var(--border);
    border-radius:26px;
    background:var(--surface);
    box-shadow:
        0 28px 70px
        rgba(18,70,125,.18);
}

html[data-nif-theme="dark"] .nh-browser{
    box-shadow:
        0 30px 75px
        rgba(0,0,0,.42);
}

.nh-browser-top{
    min-height:48px;
    padding:0 17px;
    background:var(--surface);
}

.nh-browser img{
    display:block !important;
    width:100% !important;
    height:auto !important;
    max-width:100% !important;
    max-height:none !important;
    margin:0 !important;
    padding:0 !important;
    object-fit:contain !important;
    object-position:center !important;
    background:#050505;
}

/* =========================
   PREMIUM NAVIGATION
   ========================= */

.nh-menu{
    gap:5px;
}

.nh-menu > a,
.nh-menu-more > summary{
    position:relative;
    display:flex;
    min-height:44px;
    align-items:center;
    justify-content:center;
    gap:8px;
    padding:9px 12px;
    border:1px solid transparent;
    border-radius:12px;
    color:var(--text);
    background:transparent;
    cursor:pointer;
    font-size:13px;
    font-weight:800;
    transition:
        color .18s ease,
        background .18s ease,
        border-color .18s ease,
        transform .18s ease;
}

.nh-menu > a > i,
.nh-menu-more > summary > i:first-child{
    width:17px;
    color:var(--primary);
    text-align:center;
    font-size:13px;
}

.nh-menu > a:hover,
.nh-menu-more > summary:hover{
    color:var(--primary);
    border-color:var(--border);
    background:var(--primary-soft);
}

.nh-menu-more{
    position:relative;
}

.nh-menu-more > summary{
    list-style:none;
}

.nh-menu-more > summary::-webkit-details-marker{
    display:none;
}

.nh-more-arrow{
    margin-left:2px;
    color:var(--muted) !important;
    font-size:9px !important;
    transition:transform .18s ease;
}

.nh-menu-more[open] .nh-more-arrow{
    transform:rotate(180deg);
}

.nh-more-panel{
    position:absolute;
    top:calc(100% + 10px);
    right:0;
    z-index:1200;
    display:grid;
    width:275px;
    padding:9px;
    gap:3px;
    border:1px solid var(--border);
    border-radius:17px;
    background:var(--surface);
    box-shadow:
        0 22px 60px
        rgba(13,54,96,.18);
}

html[data-nif-theme="dark"] .nh-more-panel{
    box-shadow:
        0 25px 65px
        rgba(0,0,0,.42);
}

.nh-more-panel a{
    display:flex;
    min-height:43px;
    align-items:center;
    gap:10px;
    padding:9px 11px;
    border-radius:10px;
    color:var(--text);
    font-size:12px;
    font-weight:750;
}

.nh-more-panel a:hover{
    color:var(--primary);
    background:var(--primary-soft);
}

.nh-more-panel a i{
    width:19px;
    color:var(--primary);
    text-align:center;
}

.nh-menu-head{
    display:none;
}

.nh-menu .nh-login-link{
    border:1px solid var(--border);
    background:var(--surface);
}

.nh-menu .nh-account-link{
    min-width:102px;
    color:#fff;
    border-color:transparent;
    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--primary2)
        );
    box-shadow:
        0 10px 25px
        rgba(48,112,236,.18);
}

.nh-menu .nh-account-link i{
    color:#fff;
}

@media(max-width:900px){

    .nh-menu{
        top:calc(100% + 10px);
        padding:12px;
        gap:5px;
        border-radius:22px;
    }

    .nh-menu-head{
        display:flex;
        margin-bottom:5px;
        padding:8px 8px 12px;
        align-items:center;
        justify-content:space-between;
        border-bottom:1px solid var(--border);
    }

    .nh-menu-head strong{
        color:var(--heading);
        font-size:13px;
        font-weight:900;
        letter-spacing:.04em;
    }

    .nh-menu-head span{
        color:var(--muted);
        font-size:10px;
        font-weight:700;
    }

    .nh-menu > a,
    .nh-menu-more > summary{
        width:100%;
        min-height:49px;
        justify-content:flex-start;
        padding:11px 13px;
        border:1px solid transparent;
        border-radius:13px;
        font-size:14px;
    }

    .nh-menu > a > i,
    .nh-menu-more > summary > i:first-child{
        width:25px;
        font-size:16px;
    }

    .nh-menu-more{
        width:100%;
    }

    .nh-menu-more > summary .nh-more-arrow{
        margin-left:auto;
    }

    .nh-more-panel{
        position:static;
        width:100%;
        margin-top:4px;
        padding:7px;
        border-radius:14px;
        box-shadow:none;
        background:var(--surface2);
    }

    html[data-nif-theme="dark"] .nh-more-panel{
        box-shadow:none;
    }

    .nh-more-panel a{
        min-height:45px;
        padding:9px 12px;
        border-radius:10px;
        font-size:13px;
    }

    .nh-menu .nh-login-link{
        margin-top:5px;
    }

    .nh-menu .nh-account-link{
        justify-content:center;
        margin-top:2px;
        min-height:51px;
    }

    .nh-browser{
        max-width:620px;
    }
}

@media(max-width:600px){

    .nh-browser{
        width:100%;
        max-width:100%;
        border-radius:22px;
    }

    .nh-browser-top{
        min-height:46px;
        padding:0 14px;
    }

    .nh-browser img{
        width:100% !important;
        height:auto !important;
        max-height:none !important;
    }

    .nh-menu{
        max-height:
            calc(100dvh - 90px);
        overflow-y:auto;
        overscroll-behavior:contain;
    }
}

/* NIF HOME PREMIUM NAV IMAGE V2 END */


/* NIF HOME DESKTOP MENU V3 START */

@media(min-width:901px){

    /* Theme + Menu buttons stay on the right */
    .nh-theme-btn{
        margin-left:auto;
    }

    #nh-menu-toggle{
        display:inline-flex !important;
    }

    /* Hide normal horizontal menu */
    .nh-menu{
        position:absolute;
        top:calc(100% + 12px);
        right:0;
        left:auto;

        display:none;
        width:370px;
        max-width:calc(100vw - 36px);
        max-height:calc(100vh - 100px);

        margin:0;
        padding:13px;

        flex-direction:column;
        align-items:stretch;
        gap:5px;

        overflow-y:auto;

        border:1px solid var(--border);
        border-radius:22px;

        background:var(--surface);

        box-shadow:
            0 26px 70px
            rgba(13,54,96,.20);

        backdrop-filter:blur(18px);
        -webkit-backdrop-filter:blur(18px);
    }

    html[data-nif-theme="dark"] .nh-menu{
        box-shadow:
            0 28px 75px
            rgba(0,0,0,.48);
    }

    .nh-menu.nh-open{
        display:flex;
    }

    .nh-menu-head{
        display:flex;
        min-height:46px;
        margin-bottom:4px;
        padding:8px 10px 12px;

        align-items:center;
        justify-content:space-between;

        border-bottom:1px solid var(--border);
    }

    .nh-menu-head strong{
        color:var(--heading);
        font-size:13px;
        font-weight:900;
        letter-spacing:.08em;
    }

    .nh-menu-head span{
        color:var(--muted);
        font-size:11px;
        font-weight:700;
    }

    .nh-menu > a,
    .nh-menu-more > summary{
        width:100%;
        min-height:48px;

        justify-content:flex-start;

        padding:10px 13px;

        border:1px solid transparent;
        border-radius:13px;

        font-size:13px;
    }

    .nh-menu > a > i,
    .nh-menu-more > summary > i:first-child{
        width:25px;
        font-size:15px;
    }

    .nh-menu > a:hover,
    .nh-menu-more > summary:hover{
        border-color:var(--border);
        background:var(--primary-soft);
    }

    .nh-menu-more{
        width:100%;
    }

    .nh-menu-more > summary .nh-more-arrow{
        margin-left:auto;
    }

    /* More becomes an accordion inside desktop menu */
    .nh-more-panel{
        position:static;

        width:100%;
        margin-top:5px;
        padding:7px;

        border:1px solid var(--border);
        border-radius:13px;

        background:var(--surface2);

        box-shadow:none;
    }

    html[data-nif-theme="dark"] .nh-more-panel{
        box-shadow:none;
    }

    .nh-more-panel a{
        min-height:43px;
        padding:9px 11px;
        border-radius:10px;
        font-size:12px;
    }

    .nh-menu .nh-login-link{
        margin-top:5px;
    }

    .nh-menu .nh-account-link{
        width:100%;
        min-height:51px;
        margin:2px 0 0;
        justify-content:center;
    }
}

/* NIF HOME DESKTOP MENU V3 END */


/* NIF HOME IMAGE 1122x1402 FIT V4 */
.nh-browser{
    overflow:hidden !important;
}

.nh-browser img{
    display:block !important;
    width:100% !important;
    height:auto !important;
    aspect-ratio:1122 / 1402 !important;
    object-fit:cover !important;
    object-position:center !important;
    margin:0 !important;
    padding:0 !important;
    background:transparent !important;
}

@media(min-width:901px){
    .nh-browser{
        width:100% !important;
        max-width:520px !important;
    }
}

@media(max-width:900px){
    .nh-browser{
        width:100% !important;
        max-width:560px !important;
    }
}

@media(max-width:600px){
    .nh-browser{
        width:100% !important;
        max-width:100% !important;
    }

    .nh-browser img{
        width:100% !important;
        height:auto !important;
        aspect-ratio:1122 / 1402 !important;
    }
}
