
@font-face {
    font-family: 'Sukhumvit Set'; /* 统一使用同一个字体名称 */
    src: url('/wp-content/plugins/konvy-custom-blocks/assets/font/sukhumvit_set/SukhumvitSet-Thin.ttf') format('truetype');
    font-weight: 100; /* Thin */
    font-style: normal;
    font-display: swap;
}

/* SukhumvitSet-Light (字重: 300) */
@font-face {
    font-family: 'Sukhumvit Set';
    src: url('/wp-content/plugins/konvy-custom-blocks/assets/font/sukhumvit_set/SukhumvitSet-Light.ttf') format('truetype');
    font-weight: 300; /* Light */
    font-style: normal;
    font-display: swap;
}

/* SukhumvitSet-Text (字重: 400 - 假设为 Regular/Normal) */
@font-face {
    font-family: 'Sukhumvit Set';
    src: url('/wp-content/plugins/konvy-custom-blocks/assets/font/sukhumvit_set/SukhumvitSet-Text.ttf') format('truetype');
    font-weight: 400; /* Regular */
    font-style: normal;
    font-display: swap;
}

/* SukhumvitSet-Medium (字重: 500) */
@font-face {
    font-family: 'Sukhumvit Set';
    src: url('/wp-content/plugins/konvy-custom-blocks/assets/font/sukhumvit_set/SukhumvitSet-Medium.ttf') format('truetype');
    font-weight: 500; /* Medium */
    font-style: normal;
    font-display: swap;
}

/* SukhumvitSet-SemiBold (字重: 600) */
@font-face {
    font-family: 'Sukhumvit Set';
    src: url('/wp-content/plugins/konvy-custom-blocks/assets/font/sukhumvit_set/SukhumvitSet-SemiBold.ttf') format('truetype');
    font-weight: 600; /* SemiBold */
    font-style: normal;
    font-display: swap;
}

/* SukhumvitSet-Bold (字重: 700) */
@font-face {
    font-family: 'Sukhumvit Set';
    src: url('/wp-content/plugins/konvy-custom-blocks/assets/font/sukhumvit_set/SukhumvitSet-Bold.ttf') format('truetype');
    font-weight: 700; /* Bold */
    font-style: normal;
    font-display: swap;
}

/* Swiper 容器和滑块的基本样式 */
.k-dental-swiper-wrapper .swiper-container {
    width: 100%;
    overflow: hidden; /* 确保内容不溢出 */
}

.k-dental-swiper-wrapper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    /* height: auto; /* 让高度根据内容自适应 */
    text-align: center;
    background: #fff;
    box-sizing: border-box; /* 确保 padding/border 不会增加元素总宽度 */
}

/* 滑块内容样式 */
.k-dental-slide-content {
    box-sizing: border-box;
    width: 100%; /* 确保内容填充整个滑块 */
}

/* 图片容器样式 */
.k-dental-slide-image {
    line-height: 0; /* 移除图片底部额外的空间 */
    margin-bottom: 15px;
    text-align: center;
    overflow: hidden;
}

.k-dental-slide-image img {
    max-width: 100%;
    height: auto;
    display: inline-block; /* 确保图片居中和边距正常 */
}

/* 标题和副标题样式 */
.k-dental-slide-title {
    font-size: 24px;
    font-weight: bold;
    margin: 0 0 10px 0; /* 默认外边距 */
    line-height: 1.2;
}

.k-dental-slide-subtitle {
    font-size: 16px;
    color: #666;
    margin: 0; /* 默认外边距 */
    line-height: 1.5;
}
.k-dental-swiper-wrapper .swiper-container .swiper-pagination{
    position: initial;
    width: 100%;
    margin-top: 4px;
    margin-bottom: 4px;
    display: flex;
    justify-content: center;
}
/* 导航箭头和分页点样式 (Swiper 默认样式可能需要微调) */
.k-dental-swiper-wrapper .swiper-button-prev,
.k-dental-swiper-wrapper .swiper-button-next {
    color: #000; /* 箭头的颜色 */
    /* 其他样式调整 */
}

.k-dental-swiper-wrapper .swiper-pagination-bullet {
    background: #E2E2E2; /* 分页点的颜色 */
    height: 4px;
    width: 4px;
    border-radius: 2px; 
    margin: 0 2px; 
    transition: all 0.5 ease;
    opacity: 1;
}

.k-dental-swiper-wrapper .swiper-pagination-bullet-active {
    background: #002F70; /* 激活分页点的颜色 */
    border-radius: 2px;
    width: 12px;
    height: 4px;
}

/* Konvy Card Widgets */
.k-dental-swiper-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}
.k-dental-card {
    width: 100%;
    overflow: hidden;
    position: relative;
}
.k-dental-card-title{
    margin: 24px 0 16px 0;
}
.k-dental-card-excerpt{
    margin-bottom: 8px;
}
.k-dental-card-image{
    display: block;
    overflow: hidden;
}
.k-dental-card-image img{
    display: block;
}
.k-dental-swiper-wrapper a {
    text-decoration: none !important;
}
.k-dental-card-image a{
    display: block;
}

/* Reviews */
.k-dental-review-widgets{
    overflow: hidden;
}
.k-dental-review-widgets .testimonial-card {
    width: 400px;
	border-radius: 16px;
	padding: 24px;
	background: linear-gradient(0deg, rgba(0, 0, 0, 0.001), rgba(0, 0, 0, 0.001)), #FFFFFF;
	border: 1px solid #E8E8E8;
	box-sizing: border-box;
	color: #333;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: flex-start;
	gap: 16px;
    flex-shrink: 0;
}

.k-dental-review-widgets  .testimonial-card .card-header {
	display: flex;
	align-items: center;
	width: 100%;
}

.k-dental-review-widgets  .testimonial-card .avatar-container {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	overflow: hidden;
	margin-right: 16px;
	flex-shrink: 0;
}

.k-dental-review-widgets  .testimonial-card .avatar-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block; 
}


.k-dental-review-widgets  .testimonial-card .user-info {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.k-dental-review-widgets  .testimonial-card .user-name {
	font-size: 18px;
	font-weight: 600;
	margin: 0;
	color: #000;
}

.k-dental-review-widgets  .testimonial-card .review-date {
	font-size: 14px;
	color: #999;
	margin-top: 4px;
	font-weight: normal;;
}

.k-dental-review-widgets  .testimonial-card .rating-stars {
	color: #FACC15;
	font-size: 20px;
	line-height: 1;
	display:flex;
}

.k-dental-review-widgets  .testimonial-card .rating-stars>img{
	width: 20px;
	height:20px;
	margin-right: 10px;
}
.k-dental-review-widgets  .testimonial-card .rating-stars .fas.fa-star:last-child {
	margin-right: 0;
}

.k-dental-review-widgets  .testimonial-card .review-text {
	font-size: 16px;
	line-height: 24px;
	color: #000;
    word-break: break-word;
    text-overflow: ellipsis;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-weight: normal;
    overflow: hidden;
    height: 48px;
    text-align: left;
}
.k-dental-review-widgets  .testimonial-card .review-text p {
    margin-bottom: 0;
}

.swiper-container:not(.swiper-initialized) .swiper-pagination{
  display: none !important;
}

@media (min-width: 1024px) {
    .konvy-marquee-wrapper{
        display: flex  !important;
        transition-timing-function: linear !important;
        transition-delay: 0s !important;
        will-change: transform  !important;
    }
    .pc-top-115{    
        padding-top: 115px !important;
    }
}

/* 针对平板 */
@media (max-width: 1024px) {
    /* .elementor-tablet-breakpoint .k-dental-widget-wrapper .swiper-slide-image { margin-bottom: 10px; } */
}

/* 针对手机 */
@media (max-width: 767px) {
    /* .elementor-mobile-breakpoint .k-dental-widget-wrapper .swiper-slide-title { font-size: 20px; } */

    .k-dental-slide-image {
        margin-bottom: 8px;
    }
    .k-dental-card-title{
        margin: 12px 0 8px 0;
    }

    .reviews-list .elementor-image-box-wrapper {
		display: flex;
	}
	.reviews-list .elementor-image-box-wrapper .elementor-image-box-img {
		margin-right: 16px!important;
	}
	.k-dental-review-widgets .testimonial-card {
        width: 280px;
		padding: 16px;
		gap: 8px;
	}
	.k-dental-review-widgets  .testimonial-card .user-name {
        font-size: 16px;
    }
	.k-dental-review-widgets  .testimonial-card .review-date {
        font-size: 12px;
    }
	.k-dental-review-widgets  .testimonial-card .review-text {
		font-size: 14px;
		-webkit-line-clamp: 3;
		line-height: 21px;
        height: 63px;
	}
}
