/*
 Theme Name:   Kadence Child
 Theme URI:    https://www.kadencewp.com/
 Description:  A child theme for the Kadence WordPress theme.
 Author:       Kadence WP
 Author URI:   https://www.kadencewp.com/
 Template:     kadence
 Version:      1.0.0
 Text Domain:  kadence-child
 color: var(--global-palette1)
*/


.kadence-column8_7f6a3e-6a {
  margin-bottom: -3rem;
}

.kadence-column8_7f6a3e-6a .kb-buttons-wrap {
  width: 100%;
  margin-bottom: 0.5rem;
  margin-top: 1rem;
}
.kadence-column8_7f6a3e-6a .kb-btn8_6be272-34.kb-button {
  width: 100%;
  justify-content: space-between;
  border-radius: 2rem;
  padding: 5px 5px 5px 1rem;
}

.kadence-column8_7f6a3e-6a .kb-btn8_6be272-34.kb-button .kb-svg-icon-wrap {
  background: #171717;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
}

@media screen and (min-width: 651px) {
  .kb-row-layout-id8_262e74-2f {
    background-repeat: no-repeat;
    background-size:
      410px auto,
      410px auto;
    background-position:
      calc(50% - 570px) center,
      calc(50% + 570px) center;
    background-image:
      url(/wp-content/uploads/2026/05/toyota.webp),
      url(/wp-content/uploads/2026/05/lexus.webp);
  }
}

/* footer */
.footer-html-inner p{
  margin-bottom: 0;
}
 .footer-html-inner ul {
   margin-bottom: 0;
 }
 .site-footer-wrap .policies{
  margin: 0;
  color: #666;
 }
  .site-footer-wrap .policies a{
    color: #666;
  }
@media screen and (min-width: 651px) {
  .footer-html-inner{
    display: flex;
    gap:2rem;
  }

  .site-footer-wrap .policies {
    display: flex;
    gap: 2rem;
  }
}


/* trustpilot */

/* 整体背景 */
.custom-tp-container {
    background-color: #f8f6fa;
    padding: 40px 10px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    text-align: center;
    position: relative;
}

/* 头部 */
.custom-tp-header h2 { font-size: 28px; font-weight: 700; margin: 5px 0; color: #000; }
.custom-tp-header p { font-size: 16px; color: #333; margin-bottom: 25px; }
.custom-tp-star-icon { font-size: 32px; color: #00b67a; }

/* 轮播包裹层（为定位箭头准备） */
.custom-tp-slider-wrapper {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 45px; /* 为两侧箭头留出空间 */
}

/* 滚动核心 */
.custom-tp-slider {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scroll-behavior: smooth; /* 👈 关键：赋予丝滑的轮播滚动动画 */
    scroll-snap-type: x mandatory;
    justify-content: flex-start;
    padding: 10px 5px 20px 5px;
    scrollbar-width: none; /* 隐藏原生滚动条 */
}
.custom-tp-slider::-webkit-scrollbar {
    display: none; /* 隐藏原生滚动条 */
}

/* 基础卡片（移动端默认宽度） */
.custom-tp-card {
    flex: 0 0 280px; 
    background: #fff;
    border-radius: 4px;
    padding: 20px;
    text-align: left;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    scroll-snap-align: start; /* 滚动时自动吸附对齐 */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* 💻 电脑大屏适配：首屏精准锁定并排显示 5 个卡片，左对齐 */
@media (min-width: 1200px) {
    .custom-tp-slider {
        /* 100% 宽度减去 4个间隙(15px*4=60px)后平分 5 份 */
        --card-width: calc((100% - 60px) / 5); 
    }
    .custom-tp-card {
        flex: 0 0 var(--card-width);
    }
}

/* 🎯 轮播切换按钮（左右箭头）样式 */
.tp-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: 1px solid #e4e1e8;
    color: #333;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 10;
    transition: all 0.2s ease;
}
.tp-nav-btn:hover {
    background: #00b67a;
    color: #fff;
    border-color: #00b67a;
}
.tp-nav-btn.prev { left: 5px; }
.tp-nav-btn.next { right: 5px; }

/* 📱 手机端：隐藏左右方向箭头，依靠手指原生滑动 */
@media (max-width: 767px) {
    .custom-tp-slider-wrapper { padding: 0; }
    .tp-nav-btn { display: none !important; }
}

/* 卡片内部细节修饰 */
.tp-stars { color: #00b67a; font-size: 16px; margin-bottom: 10px; font-weight: bold; }
.tp-verified { color: #6f6f6f; font-size: 12px; font-weight: normal; margin-left: 5px; }
.custom-tp-card h3 { font-size: 15px; font-weight: 700; margin: 5px 0; color: #000; }
.custom-tp-card p { font-size: 13px; color: #454545; line-height: 1.4; margin-bottom: 15px; }
.tp-author { font-size: 12px; color: #6f6f6f; }
.custom-tp-footer { margin-top: 25px; font-size: 13px; color: #333; }
.custom-tp-footer a { color: #333; text-decoration: underline; }
.tp-logo { color: #00b67a; font-weight: bold; font-size: 16px; margin-top: 5px; }

/* category header */
/* .product-archive-hero-section .entry-hero-container-inner{
  background: linear-gradient(0deg, #CCE9EF 40%, #F0D9D1 100%);
} */

/* about, contact header*/
.kt-adv-heading115_6bb0d9-6a,.kt-adv-heading144_050449-f9{
  opacity: 0;
}