/* nastiro.com — header nav + breadcrumb fixes (load last) */

html {
    scroll-padding-top: 58px;
}

body {
    padding-top: 58px !important;
}

.eyou_left {
    top: 58px !important;
}

.ey-header {
    padding: 0 12px !important;
}

.ey-header .ey_con {
    max-width: 100% !important;
    height: 52px;
    align-items: center !important;
    gap: 8px;
    overflow: hidden;
}

.ey-header .logo {
    flex-shrink: 0;
    max-width: 140px;
    min-width: 0;
    font-size: 0;
}

.ey-header .logo img {
    height: 32px;
    margin-right: 0;
}

.ey-header .logo span {
    display: none !important;
}

.header-nav-scroll {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    height: 100%;
    display: flex;
    align-items: center;
}

.ey-header .header-nav-scroll > ul.menu {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    width: 100%;
    height: 52px !important;
    line-height: 52px !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: center;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}

.ey-header .header-nav-scroll > ul.menu::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.ey-header .menu .web-item {
    flex: 0 0 auto !important;
    max-width: none !important;
    margin: 0 1px !important;
    position: relative;
}

.ey-header .menu .web-item > a {
    display: inline-flex !important;
    align-items: center;
    gap: 2px;
    white-space: nowrap !important;
    padding: 6px 9px !important;
    line-height: 1.2 !important;
    font-size: 13px !important;
    max-width: 148px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ey-header .menu .web-item > a span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap !important;
    max-width: 120px;
    display: inline-block;
    vertical-align: middle;
}

.ey-header .menu .web-item .icon-down {
    flex-shrink: 0;
    font-size: 10px;
    line-height: 1;
}

.ey-header .menu .web-item.active > a {
    background: var(--primary-color-80) !important;
}

.ey-header .er-menu {
    top: 100% !important;
    margin-top: 2px;
}

.ey-header .ey-right {
    flex-shrink: 0;
}

.ey-header .ey-right .menu {
    height: auto !important;
    line-height: normal !important;
    overflow: visible !important;
}

/* Breadcrumb */
.echo-log > .ey_con.page-shell {
    display: block !important;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px 24px;
    box-sizing: border-box;
}

.page-breadcrumb {
    padding: 14px 0 6px;
    margin: 0;
}

.page-breadcrumb .breadcrumb {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border-radius: 0;
    font-size: 14px;
    line-height: 1.6;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    --bs-breadcrumb-divider: ">";
}

.page-breadcrumb .breadcrumb li {
    display: inline !important;
    float: none !important;
    padding: 0;
}

.page-breadcrumb .breadcrumb a {
    color: var(--primary-color-80);
    text-decoration: none;
}

.page-breadcrumb .breadcrumb a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

@media (max-width: 1400px) {
    .echo-log > .ey_con.page-shell {
        padding: 0 16px 20px;
    }
}
