.yhs-slider-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.yhs-slider {
    display: flex;
    transition: transform 0.3s ease-in-out;
    cursor: grab;
}

.yhs-slider:active {
    cursor: grabbing;
}

.yhs-slide {
    flex: 0 0 100%;
    position: relative;
}

.yhs-slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.yhs-slide h3 {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    margin: 0;
    padding: 15px;
    background: rgba(0, 0, 0, 0.6);
    color: var(--title-color, #fff);
    font-size: var(--title-font-size, 20px);
}




.yhs-prev,
.yhs-next{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.75);
    color: var(--arrow-color, #ffffff);
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 20px;
    z-index: 4;
    transition: color 0.3s ease;
}

.yhs-prev {
    left: 10px;
    display:none;
}

.yhs-next {
    right: 10px;
    display:none;    
}

.yhs-prev:hover,
.yhs-next:hover {
    color: var(--arrow-hover-color, #cccccc);
}

.yhs-prev:active,
.yhs-next:active {
    color: var(--arrow-active-color, #999999);
}

/* Yeni yatay numaralandırma stilleri */
.yhs-numbers-bar {
    display: flex;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    padding: 5px;
    justify-content: center;
    gap: 5px;
    z-index: 3;
}

.yhs-number-item {
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.2);
}

.yhs-number-item.active {
    background-color: var(--number-bg-color, #000);
    font-weight: bold;
}

.yhs-number-item:hover {
    background-color: var(--number-bg-color, #000);
}

.yhs-number-item.yhs-ad-indicator {
    background-color: #ff4444;
    color: white;
}

.yhs-ad-indicator.active {
    background-color: #cc0000 !important;
}

.yhs-ad-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: #fff;
    z-index: 2;
}

.yhs-ad-slide a {
    display: block;
    width: 100%;
    height: 100%;
}

.yhs-ad-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (max-width: 768px) {
    .yhs-slide h3 {
        font-size: calc(var(--title-font-size, 20px) * 0.8);
        padding: 10px;
        bottom: 35px;
    }
    
    .yhs-numbers-bar {
        padding: 3px;
        gap: 3px;
    }

    .yhs-number-item {
        width: 20px;
        height: 20px;
        font-size: 11px;
    }
}

