﻿.tsh-topnav {
    display:flex;
    width:auto;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.tsh-topnav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 76px;
}

.tsh-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    flex-shrink: 0;
}

.tsh-brand__logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
    display: block;
}

.tsh-brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.tsh-brand__name {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.tsh-brand__tagline {
    font-size: 0.78rem;
    color: #64748b;
    margin-top: 2px;
}

.tsh-topnav__menu {
    position: absolute;
    left:50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 25px;
}


.tsh-topnav__link {
    text-decoration: none;
    color: #334155;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 14px;
    border-radius: 999px;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

    .tsh-topnav__link:hover,
    .tsh-topnav__link:focus-visible {
        background: #f1f5f9;
        color: #0f172a;
        outline: none;
    }

    .tsh-topnav__link[aria-current="page"] {
        background: #0f172a;
        color: #ffffff;
    }

    /*mobile*/
@media (max-width: 768px) {

    .tsh-topnav__inner {
        width: auto;
        display: block;
    }

        .tsh-topnav__inner::-webkit-scrollbar {
            display: none;
        }

    .tsh-brand {
        display: flex;
        align-items: center;
        gap: 5px;
        text-decoration: none;
        color: inherit;
        flex-shrink: 0;
    }

    .tsh-topnav__menu {
        display: flex;
        width: auto;
        gap: 8px; /* .1px won’t be visible */

        overflow-x: auto;
        overflow-y: hidden;
        padding: 1px 0;
        margin: 0 10px 0 0;
        /* Smooth scrolling */
        scroll-behavior: smooth;
        /* Mobile momentum scroll (iOS) */
        -webkit-overflow-scrolling: touch;
        /* Hide scrollbar (optional) */
        scrollbar-width: none; /* Firefox */
    }

        .tsh-topnav__menu::-webkit-scrollbar {
            display: none;
        }
}
/* Small mobile (iPhone SE / tight screens) */
@media (max-width: 480px) {
    .tsh-topnav__inner {
        width:auto;
        display: block;
     
    }

        .tsh-topnav__inner::-webkit-scrollbar {
            display: none;
        }
    .tsh-brand {
        display: flex;
        align-items: center;
        gap: 5px;
        text-decoration: none;
        color: inherit;
        flex-shrink: 0;
    }
    .tsh-topnav__menu {
        display: flex;
        width:400px;
        gap: 8px; /* .1px won’t be visible */

        overflow-x: auto;
        overflow-y: hidden;
        padding: 1px 0;
        margin: 0 10px 0 0;
        /* Smooth scrolling */
        scroll-behavior: smooth;
        /* Mobile momentum scroll (iOS) */
        -webkit-overflow-scrolling: touch;
        /* Hide scrollbar (optional) */
        scrollbar-width: none; /* Firefox */
    }
        .tsh-topnav__menu::-webkit-scrollbar {
            display:none;
        }
 }


