.tns-outer {
  padding: 0 !important;
}

.tns-outer [hidden] {
  display: none !important;
}

.tns-outer [aria-controls],
.tns-outer [data-action] {
  cursor: pointer;
}

.tns-slider {
  -webkit-transition: all 0s;
  -moz-transition: all 0s;
  transition: all 0s;
}

.tns-slider > .tns-item {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

/* 水平模式：子像素对齐 */
.tns-horizontal.tns-subpixel {
  white-space: nowrap;
}

.tns-horizontal.tns-subpixel > .tns-item {
  display: inline-block;
  vertical-align: top;
  white-space: normal;
}

/* 水平模式：非子像素对齐 */
.tns-horizontal.tns-no-subpixel:after {
  content: '';
  display: table;
  clear: both;
}

.tns-horizontal.tns-no-subpixel > .tns-item {
  float: left;
}

.tns-horizontal.tns-carousel.tns-no-subpixel > .tns-item {
  margin-right: -100%;
}

/* 不支持 calc 的降级方案 */
.tns-no-calc {
  position: relative;
  left: 0;
}

/* 画廊模式 */
.tns-gallery {
  position: relative;
  left: 0;
  min-height: 1px;
}

.tns-gallery > .tns-item {
  position: absolute;
  left: -100%;
  -webkit-transition: transform 0s, opacity 0s;
  -moz-transition: transform 0s, opacity 0s;
  transition: transform 0s, opacity 0s;
}

.tns-gallery > .tns-slide-active {
  position: relative;
  left: auto !important;
}

.tns-gallery > .tns-moving {
  -webkit-transition: all 0.25s;
  -moz-transition: all 0.25s;
  transition: all 0.25s;
}

/* 自动宽度 */
.tns-autowidth {
  display: inline-block;
}

/* 懒加载图片 */
.tns-lazy-img {
  -webkit-transition: opacity 0.6s;
  -moz-transition: opacity 0.6s;
  transition: opacity 0.6s;
  opacity: 0.6;
}

.tns-lazy-img.tns-complete {
  opacity: 1;
}

/* 高度自适应过渡 */
.tns-ah {
  -webkit-transition: height 0s;
  -moz-transition: height 0s;
  transition: height 0s;
}

/* 溢出隐藏 */
.tns-ovh {
  overflow: hidden;
}

/* 视觉隐藏（仅对读屏器等辅助技术可见） */
.tns-visually-hidden {
  position: absolute;
  left: -10000em;
}

/* 透明隐藏 */
.tns-transparent {
  opacity: 0;
  visibility: hidden;
}

/* 淡入 / 淡出 */
.tns-fadeIn {
  opacity: 1;
  filter: alpha(opacity=100);
  z-index: 0;
}

.tns-normal,
.tns-fadeOut {
  opacity: 0;
  filter: alpha(opacity=0);
  z-index: -1;
}

/* Viewport 修复 */
.tns-vpfix {
  white-space: nowrap;
}

.tns-vpfix > div,
.tns-vpfix > li {
  display: inline-block;
}

/* 测试用子像素进度条 */
.tns-t-subp2 {
  margin: 0 auto;
  width: 310px;
  position: relative;
  height: 10px;
  overflow: hidden;
}

.tns-t-ct {
  width: 2333.3333333%;
  width: -webkit-calc(100% * 70 / 3);
  width: -moz-calc(100% * 70 / 3);
  width: calc(100% * 70 / 3);
  position: absolute;
  right: 0;
}

.tns-t-ct:after {
  content: '';
  display: table;
  clear: both;
}

.tns-t-ct > div {
  width: 1.4285714%;
  width: -webkit-calc(100% / 70);
  width: -moz-calc(100% / 70);
  width: calc(100% / 70);
  height: 10px;
  float: left;
}



/* 宽度全屏，高度等比例 */
.fullscreen-slider {
	width: 100%;
	overflow: hidden;
}

/* 确保 slider 层级宽度正确 */
.fullscreen-slider .tiny-slider,
.fullscreen-slider .tiny-slider-inner,
.fullscreen-slider .tns-outer,
.fullscreen-slider .tns-inner,
.fullscreen-slider .tns-slider {
	width: 100%;
	margin: 0 !important;
}

/* 单 slide */
.slide-full {
	position: relative;
	width: 100%;
	height: auto !important;
}

/* 图片等比缩放 */
.slide-full img {
	display: block;
	width: 100%;
	height: auto;
}

/* 遮罩层 */
.slide-overlay {
    position: absolute;
    height: 40px;
    left: 0;
    right: 0;
    bottom: 0;              /* ← 贴底部 */
    display: flex;
    align-items: center;    /* ← 标题在条内垂直居中 */
    justify-content: center;
    padding-bottom: 0;
    background: rgba(128, 128, 128, 0.2);
}

.slide-full > div[style*="aspect-ratio"] {
    width: 100%;
}
.slide-text-white {
	--bs-text-opacity: 1;
	color: rgba(var(--bs-white-rgb), var(--bs-text-opacity)) !important;
	margin-top: 5px;
    margin-bottom: 5px;
}