.site-map-nav {
    background: url(../images/position.png) 15px center no-repeat #fff;
    border-bottom: 1px solid #ddd;
    line-height: 40px;
    text-indent: 36px;
    font-size: 12px;
    color: #555;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.site-map-nav a {
    color: #555;
}

/****************************************新增响应式样式*****************************************************/
/* 平板端 (768px 以下) */
@media screen and (max-width: 768px) {
    .site-map-nav {
        height: 36px;
        line-height: 36px;
        text-indent: 32px;
        background: #fff url(../images/position.png) no-repeat 12px center;
        background-size: 14px; /* 缩小图标 */
        font-size: 12px;
    }
}

/* 移动端 (480px 以下) */
@media screen and (max-width: 480px) {
    .site-map-nav {
        height: 32px;
        line-height: 32px;
        text-indent: 28px;
        background: #fff url(../images/position.png) no-repeat 12px center;
        background-size: 12px;
        font-size: 11px;
        padding-right: 10px; /* 右侧留白 */
    }

    /* 可选：隐藏"当前位置"文字，只保留路径 */
    .site-map-nav strong {
        display: none;
    }

    /* 调整背景位置 */
    .site-map-nav {
        text-indent: 10px;
        background: #fff; /* 或保留小图标 */
        padding-left: 10px;
    }
}

/* 超小屏 (360px 以下) - 只显示当前页面 */
@media screen and (max-width: 360px) {
    .site-map-nav {
        font-size: 11px;
        background: #fff; /* 或保留小图标 */
    }

    /* 只保留最后一个链接（当前页面） */
    .site-map-nav a:not(:last-of-type),
    .site-map-nav strong {
        display: none;
    }

    /* 隐藏分隔符 */
    .site-map-nav {
        text-indent: 0;
        background: #fff;
        padding-left: 10px;
        text-align: center;
    }
}