/* static/nativeComponents/CubeNav/index.wxss */
.clearfix:after {
  display: block;
  clear: both;
  content: "";
  visibility: hidden;
  height: 0;
}

.clearfix {
  zoom: 1;
}
.cube-nav {
  box-sizing: border-box;
  font-size: 16rpx;
  overflow: hidden;
}
.cube-bg {
  float: left;
  box-sizing: border-box;
}
.cube1,
.cube2,
.cube3 {
  height: 100%;
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
}
.cube2{
  padding-bottom: 10px;
}
.cube-item {
  width: 100%;
  box-sizing: border-box;
}
.cube2 .cube-item,
.cube3 .cube-item {
  width: 100%;
  float: left;
}
.cube-item .item-img {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 0;
  padding-bottom: 100%;
}
.cube-item .item-img image {
  width: 100%;
  height: 100%;
  position: absolute;
  margin: auto;
  top: -9999px;
  right: -9999px;
  bottom: -9999px;
  left: -9999px;
  object-fit: contain;
}
.cube-item .item-bg {
  background-image: linear-gradient(#8bd3fb, #4e98f8);
  background-image: -webkit-linear-gradient(#8bd3fb, #4e98f8);
}
.item-title {
  width: 100%;
  text-align: center;
  margin-top: 16rpx;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cube2::-webkit-scrollbar {
  display: none;
}

.nav-wrap {
  width: 100%;
  position: absolute;
  text-align: center;
  bottom: 20rpx;
}
.nav {
  width: 120rpx;
  height: 8rpx;
  border-radius: 4rpx;
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  background-color: #ccc;
}
.inner-nav {
  width: 60rpx;
  height: 8rpx;
  border-radius: 4px;
  position: absolute;
  background-color: var(--main-color);
  top: 0;
}
.navList {
  display: flex;
  align-items: center;
  border-radius: var(--box-border-radius);
  overflow: hidden;
  margin: var(--box-margin-y) var(--box-margin-x);
  background: var(--box-bg-color);
}
.navList>view{
  flex: 1;
  box-sizing: border-box;
  align-self: stretch;
}
.navList-item{
  background-color: var(--box-bg-color);
  background-size: cover;
  background-position: center;
  margin: var(--item-margin);
  padding: var(--item-padding);
  border-radius: var(--item-border-radius);
  overflow: hidden;
}
.navList-item .title{
  font-size: var(--t-font-size);
  color: var(--t-color);
  font-weight: var(--t-weight);
}
.navList-item .subTitle{
  margin-top: 6px;
  font-size: var(--sub-t-font-size);
  color: var(--sub-t-color);
  font-weight: var(--sub-t-weight);
}
.figure{
  margin: 20px auto 0;
  width: var(--figure-size);
  overflow: hidden;
}
.figure image{
  border-radius: var(--figure-border-radius);
  width: 100%;
}
.navList-left{
  margin-right: var(--item-margin-y);
}
.navList-left .navList-item{
  margin-right: 0;
}
.navList-right{
  display: flex;
  flex-direction: column;
}
.navList-right .navList-right-bottom {
  margin-top: 0;
}
.navList-right>view{
  flex: 1;
  display: flex;
}
.navList-right-top{
}
.navList-right-top-left{
  flex-shrink: 0;
  margin-right: 10px;
}
.navList-right-bottom{
}