/* 标准边距 */
.index-container-wrap {
    margin: 0 auto;

    display: flex;
    display: -ms-flexbox;

    justify-content: center;
    -ms-flex-pack: center;

    flex-direction: column;
}

.index-content-container {
    width: 1300px;
    margin: 0 auto;
}

.index-header {
    height: 240px;
    margin: 0 auto;
}

.index-header-back {
    background: url("../images/index/top-back.png") center top no-repeat;
    height: 240px;
    /*width: 1920px;*/
    margin: 0 auto;
    background-size: 100%;
}

.index-header-top {
    left: 0;
    top: 0;
    height: 48px;
    background: rgba(255, 255, 255, 0.3);
}

.index-top-container {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: justify;
    justify-content: space-between;

    width: 1300px;
    margin: 0 auto;
    /*padding: 0 50px;*/
    align-items: flex-start;
    line-height: 48px;
    font-weight: 400;
}

.index-header-top-left {
    /* 使用浮动实现布局 */
    margin-left: 50px;
}

.index-header-top-right {
    display: flex;
    display: -ms-flexbox;

    margin-right: 50px;
}

.index-header-top-right > div {
    display: flex;
    display: -ms-flexbox;
    /* 让子元素水平排列 */
    margin-left: 5px; /* 可根据实际需求调整间距 */
}

.index-header-top-margin-left-5 {
    margin-left: 10px;
}

.index-header-content {
    padding-top: 40px;
    display: flex;
    display: -ms-flexbox;
    justify-content: space-between;
    -ms-flex-pack: justify;

    width: 1300px;
    margin: 0 auto;
}

.index-header-content-img {
    width: 80px;
    height: 80px;
    margin-right: 10px;
    background: url("../images/index/header-logo.png");
}

.index-header-content-left {
    display: flex;
    display: -ms-flexbox;
}

.index-header-content-title {
    display: flex;
    display: -ms-flexbox;
    -ms-flex-direction: column;
    flex-direction: column;
}

.index-header-content-left-title {
    font-size: 44px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 64px;

    color: rgb(190, 26, 45);
    text-align: left;

    vertical-align: top;
    position: relative;
    display: flex;
    display: -ms-flexbox;
}

.index-header-content-left-sub-title {
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
    color: rgba(56, 55, 54, 1);
    text-align: left;
    vertical-align: top;
}

.index-header-content-right {
    display: flex;
    display: -ms-flexbox;

    width: 470px;
    height: 40px;
    overflow: hidden;
    background: #fff;
    border-radius: 4px;
    line-height: 40px;
    font-size: 14px;
    margin-right: 90px;
}

.index-header-content-right-select {
    display: flex;
    display: -ms-flexbox;
    margin-right: 18px;
    cursor: pointer;
}

.index-header-content-right-select-type {
    padding: 0 13px;
}

.index-header-content-right-input {
    flex: 1;
    -ms-flex: 1 1 0%;

    margin: 5px 0;
    border: none;
}

.index-header-content-right-search {
    width: 80px;
    height: 32px;
    opacity: 1;
    border-radius: 4px;
    background: rgb(187, 35, 50);
    margin: 4px;
    color: #fff;
    text-align: center;
    line-height: 32px;
    cursor: pointer;
}

.index-nav-container {
    background: rgb(187, 35, 50);
    /*min-width: 1920px;*/
    overflow: auto;
}

.index-nav {
    color: #fff;
    font-size: 22px;
    line-height: 70px;
    margin: 0 auto;
    /*display: flex;*/
    /*justify-content: center;*/
    width: 1300px;
    overflow: hidden;
}

.index-nav-item {
    float: left;
    /*flex: 1;*/
    text-align: center;
    width: 14.28%;
}

.index-nav-item a {
    text-decoration: none; /* 移除默认下划线 */
    position: relative; /* 为伪元素定位 */
    display: inline-block; /* 使元素宽度自适应内容 */
}

.index-nav-item a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 8px; /* 调整下划线与文字的间距 */
    width: 0;
    height: 2px; /* 下划线高度 */
    /*background-color: currentColor; !* 下划线颜色与文字颜色相同 *!*/
    background-color: #e8c87f; /* 下划线颜色与文字颜色相同 */
    transition: width 0.3s ease; /* 添加过渡动画 */
}

.index-nav-item a:hover::after {
    width: 100%; /* 悬停时下划线宽度变为 100% */
}

.index-nav-item > a {
    color: #fff;
}

.text-ellipsis {
    /* 新增样式，实现文本溢出省略 */
    white-space: nowrap; /* 文本不换行 */
    overflow: hidden; /* 隐藏溢出内容 */
    text-overflow: ellipsis; /* 溢出部分显示省略号 */
    -ms-text-overflow: ellipsis; /* IE10 兼容 */
    width: 100%; /* 确保元素有宽度限制 */
}

.index-header-content-site-container {
    margin-left: 10px;
}
.index-header-content-site-img{
    width: 100px;
}
.index-header-content-site-img:hover + .index-header-content-sites,
.index-header-content-site-img:hover ~ .index-header-content-sites {
    visibility: visible;
    opacity: 1;
}
.index-header-content-sites:hover{
    visibility: visible;
    opacity: 1;
}
.index-header-content-sites {
    padding-right: 20px;
    position: absolute;
    background: #fff;
    border-radius: 4px;

    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.index-header-content-site {
    text-align: center;
    font-size: 16px;
    color: #000;
    font-weight: normal;
    float: left;
    width: 120px;
    line-height: 50px;
    padding-left: 20px;
    cursor: pointer;
}

.index-header-content-site:hover {
    /*background: rgb(187, 35, 50);*/
    color:  rgb(187, 35, 50);
}
