.aij{
        display: flex;
    align-items: center;
    justify-content: space-between;
}
.aie{
        display: flex;
    align-items: center;
    justify-content: end;
}

.nr-topbar{
    background: linear-gradient(90deg, #2f7cf6 0%, #f1c24b 100%);
    padding: 14px 0;
}
.nr-topbar__inner{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
}
.nr-topbar__line{
        height: clamp(8px, 0.6vw + 6px, 14px);
    background: linear-gradient(90deg, #e31b23, #0b0b0d);
}
.lang ul{
    padding: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}
.lang ul li{
    list-style: none;
}
.lang ul li a{
    font-family: "Unbounded", "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: black;
}

.current-lang a{
    color: #2f7cf6;
}

.nr-brand{
    display:flex;
    align-items:center;
    gap:12px;
    text-decoration:none;
    color:#0c1b2a;
}
.nr-brand__logo{
    width:46px;
    height:46px;
    border-radius:8px;
    background:#ffffff;
    display:inline-block;
}
.nr-brand__title{
        font-weight: 800;
    font-size: 34px;
    line-height: 1;
    letter-spacing: .2px;
}
.nr-social{
    display:flex;
    gap:10px;
}
.nr-social__btn{
    width:36px;
    height:36px;
    border-radius:10px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:rgba(255,255,255,.2);
    color:#0c1b2a;
    text-decoration:none;
    font-weight:700;
}
.nr-nav{
    background:#f8fbff;
    border-bottom:1px solid #e9edf2;
}
.nr-menu{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    padding:14px 0;
}
.nr-menu__link{
    color:#0c1b2a;
    text-decoration:none;
    font-weight:700;
}
.nr-menu__link:hover{
    text-decoration:underline;
}

.nr-hero{
    padding: 70px 0;
    background:
        radial-gradient(1200px 520px at 70% 0%, rgba(110,120,255,.14), rgba(0,0,0,0) 55%),
        radial-gradient(900px 520px at 0% 80%, rgba(0,255,200,.10), rgba(0,0,0,0) 55%),
        linear-gradient(90deg, #07131a 0%, #0c1d2a 55%, #0b1622 100%);
    color: #fff;
    overflow: hidden;
}

.nr-hero .nr-hero__left{}

.nr-hero .nr-hero__title{
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: .92;
    margin: 0 0 18px;
    font-size: clamp(44px, 6vw, 88px);
        font-family: "Unbounded", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.nr-hero .nr-hero__title.en-title{
     font-size: 60px;
}

.org-node.org-node--lvl1{
        color: white !important;
    background: #171a21;
}



.nr-hero .nr-hero__desc{
    margin: 0 0 26px;
    max-width: 520px;
    color: rgba(255,255,255,.78);
    font-size: 16px;
    line-height: 1.6;
}

.nr-hero .nr-hero__actions{
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.nr-hero .nr-btn{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 800;
    font-size: 15px;
    border: 1px solid transparent;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
    user-select: none;
    white-space: nowrap;
}

.nr-hero .nr-btn .nr-btn__arrow{
    font-weight: 900;
}

.nr-hero .nr-btn.nr-btn--primary{
    background: linear-gradient(90deg, #3c49ff, #7b61ff);
    box-shadow: 0 14px 30px rgba(90,90,255,.22);
    color: #fff;
}

.nr-hero .nr-btn.nr-btn--secondary{
    background: rgba(124, 97, 255, .22);
    border-color: rgba(160, 140, 255, .22);
    color: #fff;
}

.nr-hero .nr-btn:hover{
    transform: translateY(-1px);
}

.nr-hero .nr-hero__stats{
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.nr-hero .nr-stat{
    padding: 22px 24px;
    border-radius: 18px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
    backdrop-filter: blur(10px);
}

.nr-hero .nr-stat .nr-stat__num{
    font-size: 44px;
    line-height: 1;
    font-weight: 900;
    margin-bottom: 6px;
        font-family: 'Montserrat';
}

.nr-hero .nr-stat .nr-stat__label{
    color: rgba(255,255,255,.70);
    font-size: 14px;
}
#p-super .people{
        display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

#p-super .person-header {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 8px;
}

.parthners{
    padding: 28px 0;

}
.parthners h1{
        font-family: "Unbounded", "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-size: 28px;
    margin-bottom: 28px;
}

.home-projects .reveal-up {
    margin-bottom: 32px;
}
.signle-page{
    padding: 28px 0;
}
.signle-page h1{
        font-family: "Unbounded", "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-size: 28px;
        margin-bottom: 32px;
}
.signle-page .single-block p{
    font-size: 17px;
    font-family: 'Montserrat';
    color: black;
}
.signle-page .single-block ul li{
        font-size: 17px;
    margin-bottom: 8px;
    font-family: 'Montserrat';
}
.signle-page .single-block ul {
        padding-left: 15px;
}

.news-dynamic-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 8px;
}

.dyn-thumb {
    background: linear-gradient(135deg, #eef2ff, #dde5ff);
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}
.dyn-thumb img {
        width: 100%;
    height: 245px;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}
.dyn-body {
    padding: 14px 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}
.dyn-date {
    font-size: 12px;
    color: #8494b2;
    font-weight: 500;
}
.dyn-title {
    font-size: 18px;
    font-weight: 800;
    color: #0b1522;
    line-height: 1.35;
    font-family: "Unbounded", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    margin: 10px 0;
}
.dyn-excerpt {
    font-size: 13px;
    color: #475569;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.dyn-more {
    margin-top: auto;
    font-size: 13px;
    font-weight: 700;
    color: #223a8f;
        font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif !important;
}
.dyn-card {
    background: #fff;
    border: 1px solid #e7eaf6;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 260px;
    text-decoration: none;
    color: inherit;
    transition: transform .16s ease, box-shadow .16s ease;
    cursor: pointer;
    animation: cardIn .4s ease both;
}

.gov-links .gov-card h3{
        font-family: "Unbounded", system-ui;
    font-size: 20px;
    display: block;
    font-weight: 600;
    margin-top: 24px;
}

.history-hero .lead{
    line-height: 1.7;
    opacity: .95;
    font-size: 16px;
}
.history-hero .history-title{
    margin-bottom: 20px;
}

.history-content h2{
        font-family: "Unbounded", system-ui, sans-serif;
    font-size: 26px;
    margin-bottom: 20px;
}

.history-priorities h2{
        font-family: "Unbounded", system-ui, sans-serif;
    font-size: 24px;
    margin-bottom: 20px;
}
.history-stats{
    padding: 40px 0 0;
}
.history-stats h2{
    font-family: "Unbounded", system-ui, sans-serif;
    font-size: 26px;
    margin-bottom: 20px;
}
.history-stats .stat .num{
        font-family: "Unbounded", system-ui, sans-serif;
    font-size: 30px;
}

.history-achievements h2{
        font-family: "Unbounded", system-ui, sans-serif;
    font-size: 24px;
    margin-bottom: 20px;
}
.history-timeline h2{
    font-family: "Unbounded", system-ui, sans-serif;
    font-size: 26px;
    margin-bottom: 20px;
}
.history-timeline .tl-content h3 {
    margin: 0 0 .35rem;
    font-family: "Unbounded", system-ui, sans-serif;
    font-size: 20px;
}

.error-404 {
      padding: 100px 0;
}
.error-404 h1{
         font-family: "Unbounded", "Montserrat Alternates", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-size: 52px;
    display: block;
    margin-bottom: 24px;
}
.error-404 p{
        margin: 20px 0;
    display: block;
}
footer p{
        padding: 20px 0;
    color: #ffffffb8;
    font-family: "Unbounded";
    font-size: 14px;
    display: block;
    margin: 0;
}

.error-404 a{
        color: white;
    font-family: "Unbounded";
    font-size: 14px;
    font-weight: 500;
}

.home-projects h1{
        font-family: "Unbounded", "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-size: 28px;
}
.contact-page{
    padding: 28px 0;
}

.contact-page h1{
    font-family: "Unbounded", "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-size: 28px;
    margin-bottom: 32px;
}
.contact-page .contact-card h3{
        font-family: "Unbounded", "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}
.contact-page .office h2{
        font-family: "Unbounded", "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-size: 24px;
}

.office .btn{
    color: white;
    font-weight: 600;
    font-family: 'Montserrat';
    margin-top: 18px;
}
.docs-tabs .btn{
     color: white;
    font-weight: 600;
    font-family: 'Montserrat';
    margin-top: 18px;
}

.docs-tabs .card{
    margin-bottom: 24px;
}
.docs-tabs  h2{
    font-family: "Unbounded", system-ui, sans-serif;
    font-size: 26px;
    margin-bottom: 20px;
}

.page.zasnovniki{
    padding: 28px 0;
}
.page.zasnovniki h1{
        font-family: "Unbounded", "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-size: 28px;
    margin-bottom: 28px;
}
.page.zasnovniki .lead{
        line-height: 1.7;
    opacity: .95;
    font-size: 16px;
}
.page.zasnovniki .people{
    margin: 20px 0;
}
.page.zasnovniki .card-person .role{
       font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}
.page.zasnovniki .card-person{
    padding: 16px;
}

.page.zasnovniki .card-person .name{
        font-weight: 600;
    font-family: "Unbounded", "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: white;
}
.page.zasnovniki .card-person p{
    font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: white;
}
.article-hero{
    padding-top: 28px;
}
.article-body{
    padding: 28px 0;
}

.article-header h1{
        font-family: "Unbounded", "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-size: 28px;
    margin-bottom: 28px;
}
.article-meta{
        display: block;
    margin: 0px 0 20px;
    font-family: 'Montserrat';
}
.article-body p{
        font-family: 'Montserrat';
    font-size: 16px;
}
.about-fond {
    padding: 28px 0;
}
.about-fond h1{
        font-family: "Unbounded", "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-size: 28px;
    margin-bottom: 28px;
}
.about-fond .lead{
       line-height: 1.7;
    opacity: .95;
    font-size: 16px;
}
.about-fond  .acc>button{

font-family: 'Montserrat';
    color: #ffffff;
    font-weight: 600;
}

.about-fond .timeline .tl-title{
    font-family: 'Unbounded';
}

.about-fond .two-col .note{
    font-family: 'Montserrat';
}
.about-fond .two-col .not a{
    font-weight: 600;
}
.structura{
        padding: 28px 0;
}
.structura h1{
        font-family: "Unbounded", "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-size: 28px;
    margin-bottom: 28px;
}

.structura .org-tree li{
    list-style: none
}
.structura .org-node{
        color: white;
    font-family: 'Montserrat';
}
.structura .org-tree li::before{
    display: none;
}


.modal[hidden]{ display:none !important; }
.modal{
    position:fixed;
    inset:0;
    z-index: 9999;
    display:flex;
    align-items:center;
    justify-content:center;
    padding: 18px;
}
.modal-backdrop{
    position:absolute;
    inset:0;
    background: rgba(0,0,0,.55);
}
.modal-dialog{
       position: absolute;
    width: 100%;
    max-height: 85vh;
    overflow: auto;
    background: #fff;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, .1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
    padding: 16px;
    z-index: 99999;
    max-width: 75%;
}
.modal-x{
    position:absolute;
    top:10px; right:10px;
    width:40px; height:40px;
    border-radius:12px;
    border:1px solid #e5e7eb;
    background:#fff;
    cursor:pointer;
    font-size: 22px;
    line-height: 1;
}
.modal-title{ font-weight:900; font-size: 20px; padding-right: 52px; }
.modal-body{
    margin-top:12px;
    color:#374151;
    line-height:1.6;
}
.modal-body b{ color:#111827; }


#people-board{
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
}
#people-board .card-person{
        grid-column: span 4;
}
#people-board .person-header{
        display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 8px;
}

.kerivnitstvo{
    padding: 28px 0;
}
.kerivnitstvo h1{
        font-family: "Unbounded", "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-size: 28px;
    margin-bottom: 28px;
}
.kerivnitstvo .card-person .name{
     font-family: 'Unbounded';
    color: white;
    font-weight: 500;
    font-size: 16px;
    margin-bottom: 6px;
}
.kerivnitstvo .card-person .role{
        font-family: 'Montserrat';
}

.kerivnitstvo .card-person .desc{
         color: #ffffffd6;
    font-size: 16px;
    margin: 0;
}
.kerivnitstvo  .person-header img{
    border-radius: 6px;
}

.kerivnitstvo .tablist button{
        font-family: 'Montserrat';
    font-weight: 500;
    color: white;
}
.kerivnitstvo .tab.is-active{
   color: white;
}

.kerivnitstvo .actions button{
        font-weight: 600;
    color: white;
    font-family: 'Montserrat';
}
.kerivnitstvo .org-node{
       color: #121821;
    font-family: 'Montserrat';
    font-weight: 500;
}
.kerivnitstvo .org-tree li::before{
    display: none;
}

.modal-backdrop{ z-index: 0; }
.modal-dialog{ z-index: 1; }

@media (max-width: 991.98px){
    .nr-hero{ padding: 54px 0; }
    .nr-hero .nr-hero__stats{ margin-top: 26px; }
}

.modal-title{
        padding-right: 52px;
    font-family: 'Unbounded';
    font-weight: 500;
}
.modal-body{
        margin-top: 12px;
    color: #374151;
    line-height: 1.6;
    padding: 0px 0px 24px;
        font-family: 'Montserrat';
}

.nr-hero .nr-hero .nr-btn{
        font-family: 'Montserrat';
    font-weight: 500;
}

.nr-social svg{
        width: 18px;
}

.content-in-page h2{
         font-family: "Unbounded", "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-size: 22px;
    margin-bottom: 22px;
}
.content-in-page h3{
         font-family: "Unbounded", "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-size: 20px;
    margin-bottom: 20px;
}
.content-in-page p{
         font-family: 'Montserrat';
    font-size: 16px;
}
.content-in-page ul{

}
.content-in-page li{
         font-family: 'Montserrat';
    font-size: 16px;
}


.signle-page .single-block .wp-block-image img{
    margin: 16px 0;
}
.page.structura .org-node{
            color: #000000;
}

.signle-page .single-block h2{
         font-family: "Unbounded", "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-size: 22px;
    margin-bottom: 22px;
}

@media (min-width: 800px){
    .footer-mob-social{
        display: none;
    }

}

@media (max-width: 800px){
    .nr-social{
        display: none;
    }
    .nr-social svg {
    width: 14px;
}
    .contact-card{
        min-height: auto;
    }

    .history-content .card{
        margin-bottom: 24px;
    }
    .history-content h2 {
    font-family: "Unbounded", system-ui, sans-serif;
    font-size: 20px;
    margin-bottom: 16px;
}

    .history-stats h2{
        font-size: 22px;
    }
    .history-priorities h2{
        font-size: 22px;
    }
    .history-stats .stat .num{
        font-size: 24px;
    }
    .history-achievements .card{
        margin-bottom: 24px;
    }
    .history-achievements h2{
        font-size: 20px;
    }
    .history-timeline h2{
        font-size: 22px;
    }
    .history-timeline .tl-content h3{
        font-size: 18px;
    }

    .nr-brand__title{
        font-size: 24px;
    }
    .nr-nav{
        height: 0;
    }
    .footer-mob-social{
                background: linear-gradient(180deg, rgba(0, 0, 0, .12), transparent 40%), #0b1a22;
        padding: 16px 0;;
    }
    .footer-mob-social .nr-social{
        display: block;
            justify-content: center;
    }

    .quicklinks-band .quick-links{
                grid-template-columns: auto;
    }
    .nr-nav{
        border-bottom: 0px solid;
    }

    .news-dynamic-grid{
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    .home-news .section-head{
        display: block
    }
    #people-board{
            grid-template-columns: repeat(1, 1fr);
    }
    #p-super .people{
            grid-template-columns: repeat(1, 1fr);
    }

       .nr-dropdown__link {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    color: #ffffff;
    text-decoration: none;
    font-family: 'Unbounded';
    font-weight: 400;

    }

}
