/*
 Theme Name:   Factory - GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      1.0
*/

/* Pagination Static Position */
.testimonial-splide .splide__pagination {
	position:static;
	margin:44px 0 0;
}
.testimonial-splide .splide__pagination__page.is-active {
	background: #6bc5ed;
}



.main-navigation .main-nav > ul > li > a {
  position: relative;
}

.main-navigation .main-nav > ul > li > a::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 20px;
  width: calc(100% - 40px);
  height: 4px;
  background-color: transparent;
  transition: background-color 0.3s ease;
}

.main-navigation .main-nav > ul > li > a:hover::after {
  background-color: var(--button-color);
}




.background-slider {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}
.background-slider .slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s;
}
.background-slider .slide.active {
  opacity: 1;
}
.background-slider::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: 1;
}

/* Line Limits */
.line-limit-3,
.line-limit-2,
.line-limit-1 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-limit-3 {
  -webkit-line-clamp: 3;
}

.line-limit-2 {
  -webkit-line-clamp: 2;
}

.line-limit-1 {
  -webkit-line-clamp: 1;
}


.title-link a{
    width: 100%;
    background-repeat: no-repeat;
    background-image: linear-gradient(transparent calc(100% - 2px), currentcolor 2px);
    transition: 0.9s cubic-bezier(0.32, 0.32, 0.15, 1.17);
    background-size: 0px 100%;
}

.title-link:hover a{
    background-size: 100% 100%;
}

/* 外层 wrapper 设置 */
.gb-tabs__menu-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

/* 滚动区域保持原样 */
.gb-tabs__menu {
  overflow-x: auto;
  display: flex;
  white-space: nowrap;
  scroll-behavior: smooth;
  flex: 1;

  /* 隐藏滚动条但保留滚动行为 */
  scrollbar-width: none;         /* Firefox */
  -ms-overflow-style: none;      /* IE 10+ */
}

.gb-tabs__menu::-webkit-scrollbar {
  display: none;                 /* Chrome / Safari / Edge */
}


/* 左右箭头按钮样式 */
.gb-tabs__arrow {
  width: 36px;
  height: 56px;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* box-shadow: 0 2px 4px rgba(0,0,0,0.1); */
  transition: all 0.2s ease;
  cursor: pointer;
  user-select: none;
  z-index: 2;
}

/* .gb-tabs__arrow:hover {
  background-color: #f0f0f0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
} */

.gb-tabs__arrow:disabled {
  opacity: 0.3;
  cursor: default;
  box-shadow: none;
}



