/* ============================================
   加盟详情页 - 公共样式
   ============================================ */

/* 轮播图基础样式 */
.company-join-showcase-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 8px;
}

.company-join-carousel-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.company-join-carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    /* transition: opacity 0.5s ease; */ /* 动画已禁用 */
}

.company-join-carousel-item.active {
    opacity: 1;
    z-index: 1;
}

.company-join-carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 轮播图指示器 */
.company-join-carousel-indicators {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.company-join-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    /* transition: all 0.3s ease; */ /* 动画已禁用 */
}

.company-join-indicator.active {
    background: #fff;
    width: 24px;
    border-radius: 4px;
}

/* 轮播图控制按钮 */
.company-join-carousel-prev,
.company-join-carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    /* transition: all 0.3s ease; */ /* 动画已禁用 */
}

.company-join-carousel-prev:hover,
.company-join-carousel-next:hover {
    background: rgba(0, 0, 0, 0.7);
}

.company-join-carousel-prev {
    left: 12px;
}

.company-join-carousel-next {
    right: 12px;
}

/* 缩略图 */
.company-join-showcase-thumbs {
    display: flex !important;
    gap: 6px;
    margin-top: 6px;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-behavior: auto; /* 禁用平滑滚动 */
    -webkit-overflow-scrolling: touch;
    /* 确保所有小图都能显示 */
    flex-wrap: nowrap;
    /* 确保容器可见 */
    visibility: visible !important;
    opacity: 1 !important;
    position: relative;
    z-index: 1;
    /* 确保滚动功能正常 */
    will-change: scroll-position;
}

.company-join-showcase-thumb {
    width: 56px;
    height: 56px;
    min-width: 56px; /* 确保最小宽度 */
    min-height: 56px; /* 确保最小高度 */
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    /* transition: all 0.3s ease; */ /* 动画已禁用 */
    flex-shrink: 0;
    flex-grow: 0;
    display: block !important; /* 强制显示 */
    visibility: visible !important; /* 确保可见 */
    opacity: 1 !important; /* 确保不透明 */
}

.company-join-showcase-thumb.active {
    border-color: #3b82f6;
}

.company-join-showcase-thumb img {
    width: 100%;
    height: 100%;
    min-width: 56px;
    min-height: 56px;
    object-fit: cover;
    display: block !important; /* 强制显示 */
    visibility: visible !important; /* 确保可见 */
    opacity: 1 !important; /* 确保不透明 */
}

/* 单张图片 */
.company-join-single-image {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
}

.company-join-single-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 无图片占位 */
.company-join-no-image {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f5f7fa;
    color: #94a3b8;
    border-radius: 8px;
}

.company-join-no-image i {
    font-size: 48px;
    margin-bottom: 12px;
}

/* 动画已禁用 */

