/* FSecurity header — match fsecurity.am / sectox-child */

.portal-fsecurity-header {
    position: relative;
    z-index: 100;
}

.portal-fsecurity-header #mobile-menu {
    display: block;
}

.portal-fsecurity-header .logo.logo-white img,
.portal-fsecurity-header .logo.logo-black img {
    width: 210px;
}

.portal-fsecurity-header .tp-header-area,
.portal-fsecurity-header .tp-header-2-mobile-area {
    background: #fff;
    background-image: none;
}

.portal-fsecurity-header .tp-header-contact-icon i {
    color: #873d83;
    border: 2px solid #873d83;
}

.portal-fsecurity-header .header-inner {
    background-color: #873d83;
}

.portal-fsecurity-header .header-inner-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 12px;
}

.portal-fsecurity-header .header-inner-bar .tp-main-menu-2 {
    flex: 1 1 auto;
    min-width: 0;
}

.portal-fsecurity-header .tp-main-menu-2 ul {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    white-space: nowrap;
    padding-left: 24px;
    margin: 0;
}

.portal-fsecurity-header .header-inner a {
    color: #fff;
}

.portal-fsecurity-header .header-inner a:hover {
    color: #b2ff9e;
}

.portal-fsecurity-header .tp-header-area .far,
.portal-fsecurity-header .tp-header-2-mobile-area .far {
    color: #873d83;
}

.portal-fsecurity-header .header-lang-flags {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex: 0 0 auto;
    list-style: none;
    margin: 0;
    padding: 0 20px 0 0;
    gap: 12px;
}

.portal-fsecurity-header .header-lang-flags .wpml-ls-item {
    margin: 0;
    padding: 0;
    float: none;
    border: none;
}

.portal-fsecurity-header .header-lang-flags .wpml-ls-item::before {
    display: none !important;
}

.portal-fsecurity-header .wpml-ls-flag {
    width: 18px;
    height: auto;
    vertical-align: middle;
}

/* Contact — Noto Sans like fsecurity.am */
.portal-fsecurity-header .tp-header-icon-info label,
.portal-fsecurity-header .tp-header-icon-info a {
    font-family: 'Noto Sans', sans-serif;
    color: #212121;
}

.portal-fsecurity-header .tp-header-icon-info label {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0;
}

.portal-fsecurity-header--en .tp-header-icon-info label {
    text-transform: uppercase;
}

.portal-fsecurity-header .tp-header-icon-info a {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.portal-fsecurity-header .tp-header-icon-info a[href^='mailto:'] {
    text-transform: uppercase;
}

.portal-fsecurity-header .tp-header-icon-info a:hover {
    color: #873d83;
}

/* Nav — Bebas (EN), Noto (HY) like live site */
.portal-fsecurity-header .tp-main-menu-2 ul li {
    margin-right: 16px;
    padding-right: 16px;
    flex: 0 0 auto;
}

.portal-fsecurity-header .tp-main-menu-2 ul li a.nav-links {
    font-family: 'Bebas Neue', 'Noto Sans', sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 21px 0;
    white-space: nowrap;
}

.portal-fsecurity-header--hy .tp-main-menu-2 ul {
    padding-left: 16px;
}

.portal-fsecurity-header--hy .tp-main-menu-2 ul li {
    margin-right: 10px;
    padding-right: 10px;
}

.portal-fsecurity-header--hy .tp-main-menu-2 ul li a.nav-links {
    font-family: 'Noto Sans', sans-serif;
    font-size: 14px;
    letter-spacing: 0;
}

/* Auth button */
.portal-fsecurity-header .tp-btn-simelar {
    font-family: 'Bebas Neue', 'Noto Sans', sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    height: 48px;
    line-height: 49px;
    padding: 0 38px;
    border: none;
    border-radius: 0;
    background: #873d83;
    color: #fff;
}

.portal-fsecurity-header--hy .tp-btn-simelar {
    font-family: 'Noto Sans', sans-serif;
    letter-spacing: 0;
}

.portal-fsecurity-header .tp-btn-simelar:hover,
.portal-fsecurity-header .tp-btn-simelar:focus {
    background: #b2ff9e;
    color: #212121;
}

.portal-fsecurity-header .tp-btn-simelar:disabled {
    opacity: 0.85;
    cursor: wait;
}

.portal-fsecurity-header .tp-menu-toggle {
    color: #873d83;
    background: transparent;
    border: none;
    padding: 0;
    line-height: 1;
    cursor: pointer;
}

.portal-fsecurity-header .tp-header-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

/* Mobile right sidebar */
.portal-mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(17, 17, 17, 0.55);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
}

.portal-mobile-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.portal-mobile-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    width: min(320px, 86vw);
    height: 100%;
    background: #fff;
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.12);
    transform: translateX(105%);
    transition: transform 0.3s ease;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.portal-mobile-sidebar.is-open {
    transform: translateX(0);
}

.portal-mobile-sidebar__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 20px 18px;
    border-bottom: 1px solid #eee;
}

.portal-mobile-sidebar__head img {
    width: 150px;
    height: auto;
}

.portal-mobile-sidebar__close {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: #873d83;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.portal-mobile-sidebar__nav {
    flex: 1 1 auto;
    padding: 10px 0;
}

.portal-mobile-sidebar__nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.portal-mobile-sidebar__nav li a {
    display: block;
    padding: 14px 22px;
    font-family: 'Noto Sans', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #212121;
    text-transform: uppercase;
    border-bottom: 1px solid #f0f0f0;
}

.portal-mobile-sidebar__nav li a:hover {
    color: #873d83;
    background: rgba(135, 61, 131, 0.06);
}

.portal-mobile-sidebar__footer {
    padding: 18px 22px 28px;
    border-top: 1px solid #eee;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.portal-mobile-sidebar__footer .header-lang-flags {
    justify-content: flex-start;
    padding: 0;
}

.portal-mobile-sidebar__logout {
    width: 100%;
    margin-left: 0 !important;
}

.portal-mobile-sidebar__contact {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.portal-mobile-sidebar__contact li a {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-family: 'Noto Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #212121;
    line-height: 1.4;
}

.portal-mobile-sidebar__contact li a i {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    border-radius: 0;
    background: #873d83;
    color: #fff;
    font-size: 13px;
}

.portal-mobile-sidebar__contact li a:hover {
    color: #873d83;
}

@media (min-width: 1200px) {
    .portal-mobile-overlay,
    .portal-mobile-sidebar {
        display: none;
    }
}

