/* Repio header: legacy login-account is not used; these rules target repio-user-account */

.repio-theme-active .header-ten-top .login-account,
.repio-theme-active .header-nine .login-account,
.repio-theme-active .mobile-menu .login-account {
    display: none !important;
}

.repio-user-account {
    position: relative;
    z-index: 100;
}

.repio-user-account__toggle {
    cursor: pointer;
}

.repio-user-account__avatar {
    display: inline-flex;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid rgba(0, 0, 0, 0.08);
}

.repio-user-account__avatar-img,
.repio-user-account__avatar img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover;
    display: block;
}

.repio-user-account__name {
    font-size: 0.875rem;
    max-width: 8rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.repio-user-account__menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    min-width: 10rem;
    padding: 0.35rem 0;
    background: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.repio-user-account:hover .repio-user-account__menu,
.repio-user-account:focus-within .repio-user-account__menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.repio-user-account__menu a {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--heading-color, #0f172a);
    text-decoration: none;
    font-size: 0.875rem;
}

.repio-user-account__menu a:hover {
    background: rgba(1, 98, 232, 0.08);
    color: var(--main-eight-600, #0162e8);
}

.repio-user-account--guest .repio-user-account__signin {
    text-decoration: none;
    font-size: 0.875rem;
}

.repio-header-auth a {
    text-decoration: none;
}

.repio-header-auth:not(.repio-header-auth--mobile) a {
    color: #000;
}

.repio-header-auth:not(.repio-header-auth--mobile) a:hover,
.repio-header-auth:not(.repio-header-auth--mobile) a:focus-visible {
    color: #fff;
}

.repio-user-account--mobile {
    width: 100%;
}

.repio-user-account--mobile .repio-user-account__toggle {
    width: 100%;
    justify-content: flex-start;
}

.repio-user-account--mobile .repio-user-account__menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding: 0.5rem 0 0;
    background: transparent;
}

.repio-user-account--mobile .repio-user-account__menu a {
    padding: 0.35rem 0;
    color: #fff;
}

.repio-user-account--mobile .repio-user-account__menu a:hover {
    background: transparent;
    color: var(--main-eight-600, #0162e8);
}

.repio-theme-active .header-nine .header-right {
    flex-shrink: 0;
}

.repio-theme-active .header-ten-top-end .footer-social .repio-social-brand-link {
    line-height: 1;
    text-decoration: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.repio-theme-active .header-ten-top-end .footer-social .repio-social-brand-icon {
    display: block;
    width: 2.5rem;
    height: 2.5rem;
    font-size: 2.5rem;
    line-height: 1;
}

.repio-theme-active .header-ten-top-end .footer-social .repio-social-brand-link:hover,
.repio-theme-active .header-ten-top-end .footer-social .repio-social-brand-link:focus-visible {
    opacity: 0.85;
    transform: translateY(-1px);
}

/* Top bar contact blocks: keep icon + label/value aligned like Repio demo */
.repio-theme-active .header-ten-top-item {
    align-items: center;
    flex-shrink: 0;
}

.repio-theme-active .header-ten-top-item h2 {
    font-size: 1.25rem;
    line-height: 1.3;
    margin: 0 0 3px;
}

.repio-theme-active .header-ten-top-item .tw-text-sm,
.repio-theme-active .header-ten-top-item__text > span,
.repio-theme-active .header-ten-top-item__text > a.tw-text-sm {
    display: block;
    font-size: 1.0625rem;
    line-height: 1.4;
}

.repio-theme-active .header-ten-top-item__text {
    min-width: 0;
}

/* index-5: Repio hides contact blocks below 1500px — show them on normal laptops */
@media screen and (min-width: 1200px) {
    .repio-theme-active .header-ten-top {
        display: block !important;
    }

    .repio-theme-active .header-ten-top-info {
        display: flex !important;
    }

    .repio-theme-active .header-ten-top-start {
        flex-wrap: nowrap;
    }
}

.repio-theme-active .header-nine .header-menu {
    flex: 1 1 auto;
    min-width: 0;
}

.repio-theme-active .header-nine nav {
    width: 100%;
}

/* Repio wordmark — text only (no uploaded JPG white box), brand blue #0165DF */
.repio-theme-active .header-ten-top .logo,
.repio-theme-active .header-nine .logo {
    display: flex;
    align-items: center;
    align-self: center;
    margin: 0;
    padding: 0;
    line-height: 1;
}

.repio-theme-active .header-ten-top .logo .link,
.repio-theme-active .header-nine .logo .link {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.repio-theme-active .header-ten-top .logo .logo-word--header-ten,
.repio-theme-active .repio-footer-app-showcase__logo .logo-word--header-ten,
.repio-theme-active .header-nine .logo .logo-word--header-nine {
    display: inline-block;
    margin: 0;
    padding: 0;
    font-family: var(--heading-font, "Plus Jakarta Sans", sans-serif);
    font-weight: 800;
    font-size: clamp(2.25rem, 4.5vw, 3.5rem);
    line-height: 1;
    letter-spacing: -0.03em;
    color: #0165df !important;
    text-transform: lowercase;
    white-space: nowrap;
    vertical-align: middle;
    text-shadow: none;
}

/* Dark Repio surfaces (mobile menu, search overlay, offcanvas) */
.repio-theme-active .logo-word--on-dark {
    display: inline-block;
    font-family: var(--heading-font, "Plus Jakarta Sans", sans-serif);
    font-weight: 800;
    font-size: clamp(2rem, 5vw, 2.75rem);
    line-height: 1;
    letter-spacing: -0.03em;
    color: #ffffff !important;
    text-transform: lowercase;
    white-space: nowrap;
    text-shadow: none;
}

.repio-theme-active .mobile-menu__logo .logo-word--on-dark {
    max-width: min(280px, 80vw);
}

.repio-theme-active .search_wrapper .search_top .search_logo .logo-word--on-dark {
    max-width: 200px;
}

.repio-theme-active .twoffcanvas__logo .logo-word--on-dark {
    max-width: 200px;
}

/* About section: connections wordmark */
.repio-theme-active .section-eight-subtitle--with-logo {
    text-transform: none;
}

.repio-theme-active .section-eight-subtitle .logo-word--section-eight {
    display: inline-block;
    font-family: var(--heading-font, "Plus Jakarta Sans", sans-serif);
    font-weight: 800;
    font-size: 5rem;
    line-height: 1;
    letter-spacing: -0.03em;
    color: #0165df !important;
    text-transform: lowercase;
    white-space: nowrap;
    vertical-align: middle;
    text-shadow: none;
}

/* Top bar: keep logo vertically centered with contact icons + text */
.repio-theme-active .header-ten-top-wrapper,
.repio-theme-active .header-ten-top-start {
    align-items: center;
}

/* Search overlay: white transparent logo, same max width as header */
.repio-theme-active .search_wrapper .search_top .search_logo {
    max-width: 200px;
}

.repio-theme-active .search_wrapper .search_top .search_logo a img.search-logo-img {
    filter: none;
    max-width: 200px;
    width: 100%;
    height: auto;
    display: block;
}

.repio-theme-active .header-nine .header-right {
    flex-shrink: 0;
}

/* Legacy Qixer menu (mobile menu only) */
.repio-theme-active .header-nine .header-menu .repio-primary-menu {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--size-8, 2rem);
    margin: 0;
    padding: 0;
}

.repio-theme-active .header-nine .header-menu .repio-primary-menu > li {
    position: relative;
    list-style: none;
}

.repio-theme-active .header-nine .header-menu .repio-primary-menu > li > a {
    display: inline-block;
    padding-block: 2.25rem;
    padding-inline-end: 1rem;
    font-weight: 500;
    color: hsl(var(--heading-color));
    text-decoration: none;
    transition: color 0.2s linear;
}

@media (min-width: 992px) {
    .repio-theme-active .header-nine .header-menu .repio-primary-menu > li:hover > a,
    .repio-theme-active .header-nine .header-menu .repio-primary-menu > li.current-menu-item > a {
        color: var(--main-eight-600);
    }
}

.repio-theme-active .header-nine .header-menu .repio-primary-menu > li.menu-item-has-children > a {
    position: relative;
    padding-inline-end: 1.25rem;
}

/* Modern chevron for dropdown parents (replaces legacy Phosphor \e136 glyph) */
.repio-theme-active .header-nine .header-menu .repio-primary-menu > li.menu-item-has-children > a::before,
.repio-theme-active .header-nine .header-menu > .nav-menu .has-submenu > .nav-menu__link::before {
    position: absolute;
    content: "";
    inset-inline-end: 0;
    inset-block-start: 50%;
    width: 0.45em;
    height: 0.45em;
    margin-block-start: -0.12em;
    border: 0;
    border-inline-end: 1.5px solid currentColor;
    border-block-end: 1.5px solid currentColor;
    font-family: unset;
    font-size: inherit;
    font-weight: unset;
    color: currentColor;
    opacity: 0.55;
    transform: translateY(-50%) rotate(45deg);
    transition:
        transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.2s ease,
        border-color 0.2s ease;
}

.repio-theme-active .header-nine .header-menu .repio-primary-menu > li.menu-item-has-children:hover > a::before,
.repio-theme-active .header-nine .header-menu > .nav-menu .has-submenu:hover > .nav-menu__link::before,
.repio-theme-active .header-nine .header-menu > .nav-menu .has-submenu.active > .nav-menu__link::before {
    color: var(--main-eight-600, #0162e8);
    opacity: 1;
    transform: translateY(-50%) rotate(-135deg);
}

.repio-theme-active .header-nine .header-menu .repio-primary-menu > li.menu-item-has-children:hover > .sub-menu {
    visibility: visible;
    opacity: 1;
    transform: scaleY(1);
}

.repio-theme-active .header-nine .header-menu .repio-primary-menu .sub-menu {
    position: absolute;
    inset-inline-start: 0;
    top: 100%;
    min-width: 230px;
    background: #fff;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    padding: 0.5rem;
    margin: 0;
    list-style: none;
    visibility: hidden;
    opacity: 0;
    transform: scaleY(0);
    transition: 0.4s ease;
    transform-origin: top center;
    z-index: 99;
}

.repio-theme-active .header-nine .header-menu .repio-primary-menu .sub-menu li {
    list-style: none;
}

.repio-theme-active .header-nine .header-menu .repio-primary-menu .sub-menu a {
    display: block;
    padding: 0.5rem 1.25rem;
    color: hsl(var(--heading-color));
    font-weight: 500;
    text-decoration: none;
    border-radius: 0.25rem;
}

.repio-theme-active .header-nine .header-menu .repio-primary-menu .sub-menu a:hover,
.repio-theme-active .header-nine .header-menu .repio-primary-menu .sub-menu .current-menu-item > a {
    color: var(--main-eight-600);
}

/* Desktop primary nav (Home, Pages, Services, …) */
.repio-theme-active .header-nine .header-menu > .nav-menu .nav-menu__link,
.repio-theme-active .header-nine .header-menu > .nav-menu .nav-menu__link:hover {
    text-transform: uppercase;
    font-size: 1.25rem;
    letter-spacing: 0.03em;
    color: #000 !important;
}

/* Desktop dropdown panel links only (Blog, Blog Details, About, …) */
.repio-theme-active .header-nine .header-menu > .nav-menu .nav-submenu .nav-submenu__link {
    font-size: 1.25rem !important;
    line-height: 1.5;
    color: hsl(var(--heading-color)) !important;
}

.repio-theme-active .header-nine .header-menu > .nav-menu .has-submenu > .nav-menu__link {
    padding-inline-end: 1.35rem !important;
}

.repio-theme-active .header-nine .header-menu > .nav-menu .nav-menu__item.activePage > .nav-menu__link {
    color: #000 !important;
}

.repio-theme-active .header-nine .header-menu > .nav-menu .has-submenu > .nav-menu__link::before {
    color: #000;
}

.repio-theme-active .header-nine .header-menu > .nav-menu .has-submenu:hover > .nav-menu__link::before,
.repio-theme-active .header-nine .header-menu > .nav-menu .has-submenu.active > .nav-menu__link::before {
    color: var(--main-eight-600, #0162e8);
}

/* Mobile: visible hamburger + logo row (main nav is in .mobile-menu drawer) */
@media screen and (max-width: 1199px) {
    .repio-theme-active .header-nine nav {
        flex-wrap: nowrap;
        gap: 0.75rem;
    }

    .repio-theme-active .header-nine .header-left {
        flex: 1 1 auto;
        min-width: 0;
    }

    .repio-theme-active .header-nine .header-right {
        flex-shrink: 0;
    }

    .repio-theme-active .header-nine .toggle-mobileMenu {
        color: hsl(var(--heading-color));
    }

    .repio-theme-active .header-nine .toggle-mobileMenu:hover,
    .repio-theme-active .header-nine .toggle-mobileMenu:focus-visible {
        color: #fff;
    }

    .repio-theme-active .header-nine .toggle-mobileMenu__icon {
        line-height: 1;
    }
}

/* Mobile drawer: legacy primary menu (render_frontend_menu) + auth icon row */
#repio-mobile-menu .nav-menu--mobile.repio-primary-menu > li {
    margin-bottom: 1.25rem;
}

#repio-mobile-menu .nav-menu--mobile.repio-primary-menu > li > a {
    display: block;
    font-size: 1.375rem;
    font-weight: 500;
    line-height: 1.45;
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

#repio-mobile-menu .nav-menu--mobile.repio-primary-menu > li > a:hover,
#repio-mobile-menu .nav-menu--mobile.repio-primary-menu > li.current-menu-item > a {
    color: rgba(255, 255, 255, 0.75);
}

#repio-mobile-menu .nav-menu--mobile.repio-primary-menu .sub-menu {
    margin-top: 0.75rem;
    padding-left: 1rem;
}

#repio-mobile-menu .nav-menu--mobile.repio-primary-menu .sub-menu > li {
    margin-bottom: 0.875rem;
}

#repio-mobile-menu .nav-menu--mobile.repio-primary-menu .sub-menu > li > a {
    font-size: 1.125rem;
    padding: 0.375rem 0;
}

#repio-mobile-menu .nav-menu--mobile .nav-menu__link {
    font-size: 1.375rem;
    padding: 0.75rem 0;
}

.repio-header-auth--mobile {
    gap: 1.25rem !important;
}

.repio-header-auth--mobile a {
    background-color: #fff !important;
    color: #000 !important;
}

.repio-header-auth--mobile a:hover,
.repio-header-auth--mobile a:focus-visible {
    background-color: var(--main-eight-600, #0162e8) !important;
    color: #fff !important;
}

/* Full-screen search overlay: Repio template --black is mis-tuned navy; use brand blue */
body.repio-theme-active .search_popup {
    background-color: var(--livechat-accent, #0162e8);
}

/* Homepage subscription cards: equal height + prevent large prices from wrapping */
#repio-pricing .pricing-eleven-price {
    font-size: clamp(2rem, 5vw, 4.25rem);
    white-space: nowrap;
}

#repio-pricing .pricing-eleven-price-row {
    min-width: 0;
}
