/* ==========================================================================
   NIH.am — modern theme layer
   Loaded after main.css; restyles existing markup without changing structure.
   ========================================================================== */

:root {
    --brand: #1d5fae;
    --brand-600: #174f93;
    --brand-700: #123c73;
    --brand-50: #eef4fc;
    --brand-100: #dde9f8;
    --accent: #a7193c;
    --green: #6fa51c;
    --navy: #0e2a4a;
    --bg: #f4f6fa;
    --surface: #ffffff;
    --text: #1d2433;
    --muted: #5b6577;
    --border: #e3e8f0;
    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 2px rgba(16, 24, 40, .05), 0 1px 3px rgba(16, 24, 40, .07);
    --shadow-md: 0 8px 24px rgba(16, 24, 40, .08);
    --shadow-lg: 0 18px 44px rgba(16, 24, 40, .14);
    --font: "Noto Sans Armenian", "Noto Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --header-top: 84px;
}

/* ---------- Base ---------- */
html, body {
    font-family: var(--font);
}
body {
    background: var(--bg);
    color: var(--text);
    font-size: 15px;
    line-height: 1.6;
}
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font);
    color: var(--navy);
    line-height: 1.3;
}
a {
    color: var(--text);
    transition: color .2s ease;
}
a:hover, a:focus {
    color: var(--brand);
}
a.link, .nav-content a, .xxxxxx a {
    color: var(--brand);
    word-break: break-word;
}
a.link:hover, .nav-content a:hover, .xxxxxx a:hover {
    text-decoration: underline;
}
::selection {
    background: var(--brand-100);
}
:focus-visible {
    outline: 2px solid var(--brand) !important;
    outline-offset: 2px;
}
img {
    max-width: 100%;
}
.main-wrapper {
    padding-top: 24px;
    padding-bottom: 8px;
}

/* ---------- Header ---------- */
/* body > header: only the site header; some pages embed their own <header> in content */
body > header {
    position: -webkit-sticky;
    position: sticky;
    top: calc(-1 * var(--header-top));
    z-index: 1000;
    background: var(--surface);
    box-shadow: 0 1px 0 var(--border), 0 6px 18px rgba(16, 24, 40, .06);
}
header > .container.padding-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: var(--header-top);
    padding-top: 0;
    padding-bottom: 0;
}
header .header-content,
header .header-search {
    width: auto;
    display: flex;
    padding: 0;
}
header .header-content .header-logo {
    width: auto;
}
header .header-content .header-logo img {
    width: auto;
    height: 52px;
}
header .header-search {
    gap: 8px;
    align-items: center;
}
header .header-search .search-block {
    padding-right: 0;
    position: relative;
}
header .header-search .search-block .form-group input,
header .header-search .search-block .form-group.active input {
    width: 240px;
    opacity: 1;
    height: 40px;
    padding: 0 44px 0 16px;
    border: 1px solid var(--border) !important;
    border-radius: 999px;
    background: var(--bg);
    color: var(--text);
    font-size: 14px;
    transition: border-color .2s, box-shadow .2s, background .2s, width .3s;
}
header .header-search .search-block .form-group input:focus {
    background: #fff;
    border-color: var(--brand) !important;
    box-shadow: 0 0 0 4px var(--brand-50);
    width: 280px;
}
header .header-search .search-icon {
    padding-right: 0;
    margin-left: -48px;
    margin-right: 12px;
    z-index: 2;
}
header .header-search .search-icon a {
    display: inline-flex;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}
header .header-search .search-icon .search.fa.fa-search {
    font-size: 15px;
    color: var(--muted);
}
header .header-search .search-icon a:hover .fa-search {
    color: var(--brand);
}
.face-icon {
    border-left: 0;
    height: auto;
    padding: 0;
}
.face-icon a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--bg);
    transition: background .2s, transform .2s;
}
.face-icon a:hover {
    background: var(--brand-50);
    transform: translateY(-1px);
}
.face-icon img {
    margin-top: 0;
    width: 18px;
    height: 18px;
    object-fit: contain;
}

/* ---------- Main navigation ---------- */
header .header-menu {
    background: linear-gradient(90deg, var(--brand-700) 0%, var(--brand) 100%);
}
.menu_background {
    background: transparent;
    border-radius: 0;
}
header .header-menu ul#menu {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: stretch;
}
header .header-menu ul#menu > li {
    display: flex;
    flex: 1 1 auto;
    border-right: 0;
}
header .header-menu ul#menu > li > a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .02em;
    line-height: 1.35;
    padding: 15px 10px;
    color: #fff;
    border-radius: 0;
    position: relative;
    transition: background .2s;
}
header .header-menu ul#menu > li > a::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 0;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: #fff;
    transform: scaleX(0);
    transition: transform .25s ease;
}
header .header-menu ul#menu > li:hover > a {
    background: rgba(255, 255, 255, .1);
    color: #fff;
}
header .header-menu ul#menu > li:hover > a::after {
    transform: scaleX(1);
}

/* dropdowns */
header .header-menu .dropdown-menu-list ul {
    top: calc(100% + 10px);
    width: 320px !important;
    padding: 8px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    background: #fff;
}
header .header-menu .dropdown-menu-list:hover ul {
    top: 100%;
}
header .header-menu ul#menu > li:nth-last-child(-n+3) > ul {
    left: auto;
    right: 0;
}
header .header-menu .dropdown-menu-list ul li {
    border-bottom: 0;
}
header .header-menu .dropdown-menu-list ul li a {
    text-transform: none;
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.45;
    color: var(--text);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    transition: background .15s, color .15s;
}
header .header-menu .dropdown-menu-list ul li a:hover {
    background: var(--brand-50);
    color: var(--brand);
}

/* ---------- Page chrome: back link + page title ---------- */
.navigation {
    background: transparent;
    float: none;
    width: 100%;
    padding: 0 0 12px;
}
.navigation a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--brand);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .02em;
}
.navigation a::before {
    content: "\f104";
    font-family: FontAwesome;
    font-size: 15px;
}
.page-title {
    float: none;
    width: 100%;
    position: relative;
    overflow: hidden;
    margin: 0 0 20px !important;
    padding: 26px 32px;
    border-radius: var(--radius-lg);
    background: linear-gradient(120deg, var(--brand-700) 0%, var(--brand) 55%, #2f80d8 100%);
    color: #fff;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.25;
    box-shadow: var(--shadow-md);
}
.page-title::after {
    content: "";
    position: absolute;
    right: -40px;
    top: -60px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, .18), rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
}

/* ---------- Content surfaces ---------- */
.content-home,
.content,
.rectors-content {
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    padding: 28px;
    margin-bottom: 32px;
}
.content-home::after {
    content: "";
    display: table;
    clear: both;
}
.slider-home {
    margin-left: 0;
    margin-right: 0;
}
.padding-all-pages {
    padding-top: 0 !important;
}
.xxxxxx, .nav-content {
    font-size: 15.5px;
    line-height: 1.75;
    color: var(--text);
}
h1.font-size-20 {
    font-size: 26px !important;
    font-weight: 700;
    color: var(--navy);
    padding: 0 0 8px !important;
}
.content-home img.img-responsive {
    border-radius: var(--radius);
}

/* ---------- Section headings (home) ---------- */
.blogheader {
    margin: 36px 0 8px;
}
.blogheader > .col-md-12 {
    display: flex;
    align-items: center;
    gap: 20px;
    float: none;
}
.blogheader > .col-md-12 > div {
    float: none;
    width: auto;
    padding: 0;
}
.blogheader > .col-md-12 > div:not(.line) {
    flex: 0 1 auto;
    min-width: 0;
}
.blogheader .line {
    flex: 1 1 0;
    border-top: 0;
    height: 2px;
    margin-top: 0;
    background: linear-gradient(90deg, rgba(29, 95, 174, 0), rgba(29, 95, 174, .35));
}
.blogheader .col-md-12 > .line:last-child {
    background: linear-gradient(90deg, rgba(29, 95, 174, .35), rgba(29, 95, 174, 0));
}
.wrapper-title-cost {
    color: var(--navy);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: .02em;
    padding-bottom: 0;
    margin: 0;
}
.content-home > .main-wrapper-content > .line,
.col-md-12 > .line {
    border-top: 1px solid var(--border);
}

/* ---------- Home: subdivision logos ---------- */
.main-wrapper-images {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    padding: 8px 0 0;
    margin-top: 0 !important;
}
.main-wrapper-images > .row {
    display: contents;
}
.main-wrapper-images > .row::before,
.main-wrapper-images > .row::after {
    display: none;
}
.main-wrapper-images > .row > [class*="col-"] {
    float: none;
    width: auto;
    margin: 0 !important;
    padding: 0 !important;
}
.main-wrapper-images > .row > [class*="col-"] > a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 112px;
    padding: 18px 22px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.main-wrapper-images > .row > [class*="col-"] > a:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--brand-100);
}
.main-wrapper-images > .row > [class*="col-"] > a img {
    max-height: 64px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
}

/* ---------- Home: quick links & promo tiles ---------- */
.quick-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    padding: 28px 0 0;
    clear: both;
}
.promo-tiles {
    display: flex;
    justify-content: center;
    gap: 18px;
    padding: 28px 0 0;
    clear: both;
}
.promo-tiles > .promo-tile {
    flex: 0 0 calc((100% - 36px) / 3);
}
.quick-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 64px;
    padding: 14px 20px;
    border-radius: var(--radius);
    color: #fff !important;
    font-weight: 600;
    font-size: 15px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease, filter .25s;
}
.quick-link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    filter: brightness(1.05);
}
.quick-link .fa {
    color: inherit;
    font-size: 18px;
}
.quick-link--blue { background: linear-gradient(135deg, #1d5fae, #2f80d8); }
.quick-link--green { background: linear-gradient(135deg, #5d9416, #85bc22); }
.quick-link--red { background: linear-gradient(135deg, #8b1432, #c0274d); }
.promo-tile {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 130px;
    padding: 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: transform .25s ease, box-shadow .25s ease;
}
.promo-tile:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.promo-tile img {
    max-height: 96px;
    max-width: 100%;
    object-fit: contain;
}

/* ---------- News cards ---------- */
.news_block {
    padding: 10px;
}
.news_list {
    display: block;
}
.new_border {
    position: relative;
    height: 100%;
    min-height: 150px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.new_border > .row {
    margin: 0;
    display: flex;
    align-items: stretch;
}
.new_border > .row::before,
.new_border > .row::after {
    display: none;
}
a:hover .new_border {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--brand-100);
}
.img_padding {
    padding: 12px !important;
    text-align: left;
}
.img_news,
.img_news_news_page {
    width: 100% !important;
    height: 124px !important;
    object-fit: cover;
    border-radius: 10px;
    background: var(--bg);
    transition: transform .4s ease;
}
a:hover .img_news {
    transform: scale(1.02);
}
.news_text_paddin {
    height: 148px;
    padding: 16px 18px 16px 6px !important;
    font-size: 14px;
    line-height: 1.55;
    color: var(--text);
    overflow: hidden;
    -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent);
    mask-image: linear-gradient(180deg, #000 72%, transparent);
}
.news_text_paddin p {
    text-align: left;
    margin: 0;
}
.padding-top-max {
    margin: 0 -10px;
    padding-top: 0;
}

/* ---------- Announcement cards ---------- */
.pub_border,
.announcement-hover {
    position: relative;
    display: flex !important;
    align-items: center;
    justify-content: center;
    height: 160px;
    padding: 24px 22px 20px !important;
    margin-bottom: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: none;
    color: var(--navy);
    font-weight: 600;
    font-size: 14.5px;
    line-height: 1.45;
    text-align: center;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.pub_border::before,
.announcement-hover::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--brand), var(--accent));
    opacity: .85;
}
.announcement-hover:hover,
a:hover .pub_border {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--brand-100);
    color: var(--brand);
}
.announcement-hover.publication-page {
    padding: 22px !important;
}
.col-md-4.text-align.padding-top,
.col-md-4.text-align.news_block {
    padding: 10px;
}

/* ---------- Buttons ---------- */
.btn {
    border-radius: 999px;
    font-weight: 600;
    transition: background .2s, box-shadow .2s, transform .2s;
}
.btn-primary {
    background: var(--brand);
    border-color: var(--brand);
    padding: 10px 26px;
    box-shadow: 0 6px 16px rgba(29, 95, 174, .25);
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background: var(--brand-600) !important;
    border-color: var(--brand-600) !important;
    transform: translateY(-1px);
}
.content-home .btn-primary {
    margin: 18px 0 4px;
}
.view_all_link {
    color: var(--brand);
    font-weight: 600;
}

/* ---------- Carousel of partner banners ---------- */
#myCarousel {
    padding: 8px 36px;
}
.custom-img-slider {
    border-radius: var(--radius-sm);
    transition: transform .25s, box-shadow .25s;
}
.slide-link:hover .custom-img-slider {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.carousel-control.left,
.carousel-control.right {
    width: 36px;
    opacity: 1;
    text-shadow: none;
}
.carousel-control .glyphicon {
    width: 32px;
    height: 32px;
    line-height: 32px;
    margin-top: -16px;
    font-size: 13px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}
.glyphicon-chevron-right:before,
.glyphicon-chevron-left:before {
    color: var(--brand);
}

/* ---------- Side navigation on subdivision pages ---------- */
.nav-bar-left {
    position: -webkit-sticky;
    position: sticky;
    top: 72px;
    padding: 8px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.nav-bar-left .list-group-item {
    border: 0;
    border-radius: var(--radius-sm) !important;
    margin-bottom: 4px;
    padding: 11px 14px;
    background: transparent;
    color: var(--text);
    font-size: 13.5px;
    line-height: 1.45;
    transition: background .15s, color .15s;
}
.nav-bar-left .list-group-item:last-child {
    margin-bottom: 0;
}
.nav-bar-left li:hover {
    background: var(--brand-50);
    color: var(--brand);
}
.nav-bar-left li.active,
.nav-bar-left li.active:hover,
.nav-bar-left li.active:focus {
    background: var(--brand);
    color: #fff;
    box-shadow: 0 6px 14px rgba(29, 95, 174, .25);
}
.nav-content-item.active {
    padding: 4px 8px;
    background: transparent;
}

/* ---------- Tabs ---------- */
.nav-tabs {
    border-bottom: 1px solid var(--border);
    margin-bottom: 20px;
}
.nav-tabs > li > a {
    border: 0 !important;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    color: var(--muted);
    font-weight: 600;
    font-size: 13.5px;
    padding: 10px 16px;
    margin-right: 4px;
    position: relative;
    background: transparent;
}
.nav-tabs > li > a:hover {
    background: var(--brand-50);
    color: var(--brand);
}
.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
    color: var(--brand);
    background: transparent;
}
.nav-tabs > li.active > a::after {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: -1px;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: var(--brand);
}
.nav-pills > li > a {
    border-radius: var(--radius-sm);
}
.nav-pills > li.active > a,
.nav-pills > li.active > a:hover,
.nav-pills > li.active > a:focus {
    background: var(--brand);
}

/* ---------- Generic components ---------- */
.list-group-item {
    border-color: var(--border);
}
.table > thead > tr > th {
    background: var(--bg);
    color: var(--navy);
    font-weight: 600;
    border-bottom: 1px solid var(--border);
}
.table > tbody > tr > td,
.table > thead > tr > th {
    border-color: var(--border);
    padding: 10px 12px;
}
.alert {
    border-radius: var(--radius-sm);
}
.modal-content {
    border: 0;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}
.modal-header {
    border-bottom-color: var(--border);
}
.card {
    border-radius: var(--radius);
}
.rectors-new-frame {
    border-radius: var(--radius);
    box-shadow: none;
    border: 1px solid var(--border);
    transition: transform .25s, box-shadow .25s;
}
.rectors-new-frame:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.rectors-new-frame:hover,
.rectors-new-frame:hover div {
    background: var(--brand);
}

/* ---------- Footer ---------- */
footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    margin-top: 16px;
}
footer .blue-line {
    display: none;
}
footer .partners {
    display: flex;
    align-items: center;
    gap: 24px;
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding: 32px 0 24px;
}
footer .partner_img {
    flex: 0 0 200px;
    width: 200px;
}
footer .about_partner {
    flex: 1;
    width: auto;
    padding-left: 0;
    font-size: 12.5px;
    line-height: 1.6;
    color: var(--muted);
}
footer .line-footer {
    width: 100%;
    border-bottom-color: var(--border);
}
footer .footer-bottom {
    padding: 18px 0 24px;
}
footer .footer-bottom > div {
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.7;
}
footer .footer-bottom img {
    max-height: 32px;
    opacity: .85;
    transition: opacity .2s;
}
footer .footer-bottom a:hover img {
    opacity: 1;
}

/* ---------- Responsive ---------- */
@media (min-width: 992px) and (max-width: 1199px) {
    header .header-menu ul#menu > li > a {
        font-size: 10.5px;
        padding: 14px 6px;
    }
    header .header-search .search-block .form-group input,
    header .header-search .search-block .form-group.active input {
        width: 190px;
    }
}

@media (max-width: 991px) {
    :root {
        --header-top: 68px;
    }
    header .header-content .header-logo img {
        height: 42px;
    }
    header .header-search .search-block .form-group input,
    header .header-search .search-block .form-group.active input,
    header .header-search .search-block .form-group input:focus {
        width: 180px;
    }
    header .header-menu .container {
        position: relative;
    }
    header .header-menu .header-menu-btn {
        display: block;
        padding: 8px 0;
    }
    header .header-menu .header-menu-btn a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 10px;
        background: rgba(255, 255, 255, .12);
        color: #fff;
    }
    header .header-menu .header-menu-btn .fa {
        font-size: 20px;
    }
    header .header-menu ul#menu {
        display: block;
        position: absolute;
        left: 15px;
        right: 15px;
        width: auto;
        z-index: 999;
        max-height: 0;
        overflow: hidden;
        background: #fff;
        border-radius: 0 0 var(--radius) var(--radius);
        box-shadow: var(--shadow-lg);
        transition: max-height .4s ease;
    }
    header .header-menu ul#menu.opened {
        max-height: 80vh;
        overflow-y: auto;
    }
    header .header-menu ul#menu.drop-open-menu {
        max-height: 80vh;
    }
    header .header-menu ul#menu:not(.opened) {
        max-height: 0;
    }
    header .header-menu ul#menu > li {
        display: block;
        border-bottom: 1px solid var(--border);
        position: relative;
    }
    header .header-menu ul#menu > li:last-child {
        border-bottom: 0;
    }
    header .header-menu ul#menu > li > a {
        justify-content: flex-start;
        text-align: left;
        color: var(--navy);
        font-size: 13px;
        padding: 14px 44px 14px 18px;
    }
    header .header-menu ul#menu > li > a::after {
        display: none;
    }
    header .header-menu ul#menu > li:hover > a {
        background: var(--brand-50);
        color: var(--brand);
    }
    header .header-menu ul li.dropdown-menu-list:after {
        content: "\f107";
        font: normal normal normal 18px/1 FontAwesome;
        position: absolute;
        right: 18px;
        top: 14px;
        color: var(--muted);
        transition: transform .2s;
    }
    header .header-menu ul li.dropdown-menu-list.drop-open:after {
        transform: rotate(180deg);
    }
    header .header-menu ul li.dropdown-menu-list:not(:has(ul)):after {
        display: none;
    }
    header .header-menu .dropdown-menu-list ul,
    header .header-menu .dropdown-menu-list:hover ul {
        position: static;
        visibility: visible;
        opacity: 1;
        width: 100% !important;
        max-height: 0;
        overflow: hidden;
        padding: 0 8px;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        background: var(--bg);
        transition: max-height .35s ease, padding .35s ease;
    }
    header .header-menu ul li.dropdown-menu-list.drop-open ul {
        max-height: 999px;
        padding: 6px 8px;
    }
    header .header-menu .dropdown-menu-list ul li a {
        padding: 10px 14px;
        font-size: 13px;
    }
    .main-wrapper-images {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .nav-bar-left {
        position: static;
        margin-bottom: 20px;
    }
}

@media (max-width: 767px) {
    .face-icon {
        display: none;
    }
    .quick-links {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }
    .promo-tiles > .promo-tile {
        flex-basis: 100%;
    }
    header .header-search .search-block .form-group input,
    header .header-search .search-block .form-group.active input,
    header .header-search .search-block .form-group input:focus {
        width: 150px;
    }
    .content-home,
    .content,
    .rectors-content {
        padding: 18px;
        border-radius: var(--radius);
    }
    .page-title {
        font-size: 20px;
        padding: 20px 22px;
        border-radius: var(--radius);
    }
    .wrapper-title-cost {
        font-size: 18px;
    }
    h1.font-size-20 {
        font-size: 20px !important;
    }
    .content-home .col-md-4 > img.img-responsive {
        margin-bottom: 16px;
    }
    .new_border > .row {
        display: block;
    }
    .img_news,
    .img_news_news_page {
        height: 180px !important;
    }
    .news_text_paddin {
        height: auto;
        max-height: 140px;
        padding: 0 16px 16px !important;
    }
    footer .partners {
        flex-direction: column;
        text-align: center;
    }
    footer .partner_img {
        flex-basis: auto;
    }
    footer .about_partner {
        text-align: center;
    }
}

@media (max-width: 575px) {
    :root {
        --header-top: 60px;
    }
    header .header-content .header-logo img {
        height: 36px;
    }
    header .header-search .search-block .form-group input,
    header .header-search .search-block .form-group.active input,
    header .header-search .search-block .form-group input:focus {
        width: 120px;
        font-size: 13px;
    }
    .main-wrapper-images {
        gap: 12px;
        margin-left: 0;
    }
    .main-wrapper-images img {
        float: none;
    }
    .blogheader > .col-md-12 {
        gap: 12px;
    }
    .main-wrapper-images > .row > [class*="col-"] > a {
        height: 92px;
        padding: 12px;
    }
}

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