@charset "utf-8";
/*
Theme Name: Kroma
Version: 1.1.6
Tags: SEO, Responsive, WordPress
*/
.custom-carousel-wrapper {
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding: 20px 40px; /* 给两侧按钮留出空间 */
    box-sizing: border-box;
	 background-color: #fff;
}

.custom-carousel {
    overflow: hidden;
    width: 100%;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-item {
    flex: 0 0 calc(33.333% - 20px);
    margin: 0 10px;
    box-sizing: border-box;
    text-align: center; /* 标题居中 */
}

.carousel-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

/* 标题样式 */
.carousel-title {
    margin-top: 10px;
    font-size: 16px;
    color: #333;
    font-weight: bold;
}

/* 左右按钮样式 */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    transition: background 0.3s;
}

.nav-btn:hover { background: rgba(0,0,0,0.8); }
.prev-btn { left: 0; }
.next-btn { right: 0; }

/* 响应式：手机端显示 1 张 */
@media (max-width: 768px) {
    .carousel-item { flex: 0 0 calc(100% - 20px); }
    .custom-carousel-wrapper { padding: 0 30px; }
}

.wpcf7-submit {
    cursor: pointer;
}