﻿.headline-slider {
    margin: 40px 0;
    padding: 0 10px;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.4s ease;
}
    .headline-slider.slick-initialized {
        visibility: visible;
        opacity: 1;
    }

    .headline-slider .slide-item {
        margin: 0 10px;
        position: relative;
        border-radius: 12px;
        overflow: hidden;
        background-color: #fff;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        cursor: pointer;
    }

        .headline-slider .slide-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
        }

    .headline-slider img {
        width: 100%;
        height: 220px;
        object-fit: cover;
        object-position: center center; /* Resmi tam ortala */
        display: block;
    }

    .headline-slider .title-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 14px 18px;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
        color: #ffffff;
        font-size: 1.1rem;
        font-weight: 600;
    }

/* Slider okları için konum ve görünüm düzenlemeleri */
.top-custom-slick-prev,
.top-custom-slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 0, 0, 0.85); /* Daha yüksek kontrast */
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    z-index: 10;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    line-height: 1;
    padding: 0;
}

.top-custom-slick-prev {
    left: 25px;
}

.top-custom-slick-next {
    right: 25px;
}

@media (max-width: 768px) {
    .headline-slider img {
        height: 180px;
        object-position: center center;
    }

    .headline-slider .title-overlay {
        font-size: 1rem;
        padding: 10px 14px;
    }
}

@media (max-width: 576px) {
    .headline-slider img {
        height: 160px;
        object-position: center center;
    }

    .headline-slider .title-overlay {
        font-size: 0.95rem;
        padding: 8px 12px;
    }
}
