﻿/*头部中国版-英文版 下拉选项*/
.el-dropdown {
  position: relative; /* 如果需要定位下拉菜单，建议加 */
  display: inline-block;
}

.el-dropdown .el-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border: 1px solid #ddd;
  list-style: none;
  margin: 0;
  padding: 8px 0;
  min-width: 120px;
  z-index: 1000;
}

.el-dropdown:hover .el-dropdown-menu {
  display: block;
}

.header__logo__site__list {
  cursor: pointer;
  padding: 8px 12px;
}

/*首页banner轮播 高度还原*/
.el-carousel__container {
    height: 336px;
    position: relative;
}
/* banner链接样式 还原原行内样式 */
.banner {
    display: block;
    width: 100%;
    position: relative;
    height: 100%;
}
.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* 轮播项 默认隐藏，只有is-active才显示 */
.el-carousel__item {
    display: none;
    width: 100%;
    height: 100%;
}
.el-carousel__item.is-active {
    display: block;
}
/* 角标样式 还原原行内样式 */
.banner_badge {
    color: #000;
    background-color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
}
/* 第1、2个轮播项角标隐藏 还原原visibility:hidden */
.el-carousel__item:nth-child(1) .banner_badge,
.el-carousel__item:nth-child(2) .banner_badge {
    visibility: hidden;
}
/* 按钮样式 还原原行内样式 */
.button {
    background-color: #000;
    color: #fff;
    padding: 4px 12px;
    display: inline-block;
    cursor: pointer;
}
/* 第一个轮播项按钮 白底色红字+隐藏 还原原样式 */
.el-carousel__item:nth-child(1) .button {
    background-color: #fff;
    color: #ff0000;
    display: none;
}
/* 左右箭头基础样式 悬浮优化 */
.el-carousel__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    cursor: pointer;
    border: none;
    background: rgba(0,0,0,0.2);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 16px;
}
.el-carousel__arrow--left { left: 15px; }
.el-carousel__arrow--right { right: 15px; }
.el-carousel__arrow:hover { background: rgba(0,0,0,0.5); }
/* 底部指示器位置 */
.el-carousel__indicators--horizontal {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}




