/* =========================================================
   SÜRMANŞET MODÜLÜ
   Masaüstü eski yapı korunur.
   Mobil: düz renk alanı + altı çizgili kayan sistem
========================================================= */

.surmanset-wrapper {
    margin-top: 20px;
    margin-bottom: 30px;
}

.surmanset-container {
    width: 100%;
    height: 440px;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    background: #0b1021;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.surmanset-swiper {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.surmanset-swiper .swiper-wrapper {
    width: 100%;
    height: 100%;
}

.surmanset-slide {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.surmanset-slide a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
}

.surmanset-img-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 60%;
    z-index: 1;
    background: #050816;
    overflow: hidden;
}

.surmanset-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    image-rendering: high-quality;
    position: relative;
    z-index: 2;
    user-select: none;
    -webkit-user-drag: none;
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.surmanset-slide:hover .surmanset-img-wrapper img {
    transform: scale(1.04);
}

.surmanset-content-bg {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 55%;
    background: linear-gradient(135deg, #091024 0%, #162244 100%);
    clip-path: polygon(0 0, 100% 0, 80% 100%, 0% 100%);
    -webkit-clip-path: polygon(0 0, 100% 0, 80% 100%, 0% 100%);
    z-index: 2;
    box-shadow: 5px 0 25px rgba(0,0,0,0.5);
    transition: background 0.5s ease;
    pointer-events: none;
}

.surmanset-content-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 4px 4px;
}

.surmanset-content-bg.sd-red-bg {
    background: linear-gradient(135deg, #8a0000 0%, #e60000 50%, #8a0000 100%);
    background-size: 200% 200%;
    animation: redAlertPan 3s ease infinite;
    box-shadow: 10px 0 30px rgba(230, 0, 0, 0.6);
}

.surmanset-content-bg.sd-red-bg::before {
    background-image: radial-gradient(rgba(0,0,0,0.15) 1px, transparent 1px);
}

@keyframes redAlertPan {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.surmanset-content {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 48%;
    padding: 40px 20px 40px 40px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    pointer-events: none;
}

.surmanset-meta {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.surmanset-cat {
    background: transparent;
    color: #94a3b8;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sd-text-only {
    color: #ffffff;
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.sd-text-dot {
    width: 10px;
    height: 10px;
    background-color: #fff;
    border-radius: 50%;
    animation: sdTextPulse 1s infinite alternate;
}

@keyframes sdTextPulse {
    0% {
        transform: scale(0.8);
        opacity: 0.8;
        box-shadow: 0 0 5px #fff;
    }

    100% {
        transform: scale(1.2);
        opacity: 1;
        box-shadow: 0 0 15px #fff;
    }
}

.cat-on-red {
    color: rgba(255,255,255,0.85);
    border-left: 2px solid rgba(255,255,255,0.4);
    padding-left: 10px;
}

.surmanset-title {
    color: #ffffff;
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
    letter-spacing: -0.5px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* =========================================================
   MASAÜSTÜ PAGINATION - ESKİ NUMARALI YAPI
========================================================= */

.surmanset-pagination {
    position: relative;
    margin-top: 15px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    width: 100%;
}

.surmanset-pagination .swiper-pagination-bullet {
    width: 32px;
    height: 32px;
    background: #ffffff;
    color: #475569;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 13px;
    border-radius: 2px;
    border: 1px solid #cbd5e1;
    opacity: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    cursor: pointer;
    transition: all 0.2s ease;
}

.surmanset-pagination .swiper-pagination-bullet:hover {
    background: #f8fafc;
    color: #0f172a;
    border-color: #94a3b8;
}

.surmanset-pagination .swiper-pagination-bullet-active {
    background: #0b1021;
    border-color: #0b1021;
    color: #fff;
    font-weight: 900;
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

@media (max-width: 1024px) {
    .surmanset-title {
        font-size: 2rem;
    }

    .surmanset-content {
        width: 52%;
    }

    .surmanset-content-bg {
        width: 60%;
    }
}

/* =========================================================
   MOBİL - ÜÇGEN YOK, DÜZ RENK BLOĞU + ALT ÇİZGİLER
========================================================= */

@media (max-width: 768px) {
    .surmanset-wrapper {
        margin-top: 10px;
        margin-bottom: 20px;
    }

    .surmanset-container {
        height: 450px !important;
        border-radius: 0 !important;
        margin-left: -16px !important;
        width: calc(100% + 32px) !important;
        box-shadow: none !important;
        background: #0b1021 !important;
        overflow: hidden !important;
        position: relative !important;
    }

    .surmanset-swiper,
    .surmanset-swiper .swiper-wrapper,
    .surmanset-slide,
    .surmanset-slide a {
        width: 100% !important;
        height: 100% !important;
    }

    .surmanset-img-wrapper {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: auto !important;
        width: 100% !important;
        height: 60% !important;
        z-index: 1 !important;
        background: #050816 !important;
        overflow: hidden !important;
    }

    .surmanset-img-wrapper img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center top !important;
        transform: none !important;
    }

    .surmanset-slide:hover .surmanset-img-wrapper img {
        transform: none !important;
    }

    .surmanset-content-bg,
    .surmanset-content-bg.sd-red-bg {
        position: absolute !important;
        top: 60% !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: 40% !important;
        z-index: 2 !important;

        clip-path: none !important;
        -webkit-clip-path: none !important;
        transform: none !important;

        border-radius: 0 !important;
        box-shadow: none !important;
    }

    .surmanset-content-bg {
        background: linear-gradient(135deg, #091024 0%, #162244 100%) !important;
    }

    .surmanset-content-bg.sd-red-bg {
        background: linear-gradient(135deg, #8a0000 0%, #e60000 50%, #8a0000 100%) !important;
        background-size: 200% 200% !important;
        animation: redAlertPan 3s ease infinite !important;
    }

    .surmanset-content-bg::before,
    .surmanset-content-bg.sd-red-bg::before {
        display: none !important;
    }

    .surmanset-content {
        position: absolute !important;
        top: 60% !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: 40% !important;
        z-index: 3 !important;

        padding: 18px 20px 16px 20px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        pointer-events: none !important;
    }

    .surmanset-title {
        font-size: 1.42rem !important;
        line-height: 1.22 !important;
        -webkit-line-clamp: 3 !important;
    }

    .surmanset-meta {
        margin-bottom: 8px !important;
        gap: 10px !important;
    }

    .surmanset-cat {
        font-size: 11px !important;
        color: rgba(255,255,255,0.72) !important;
        letter-spacing: 0.8px !important;
    }

    .sd-text-only {
        font-size: 11px !important;
        letter-spacing: 1.2px !important;
        color: #ffffff !important;
    }

    .sd-text-dot {
        width: 7px !important;
        height: 7px !important;
    }

    .cat-on-red {
        border-left: 1px solid rgba(255,255,255,0.35) !important;
        padding-left: 8px !important;
    }

    /* Mobilde numara yok, sadece kayan alt çizgiler */
    .surmanset-pagination {
        position: relative !important;
        margin-top: 10px !important;
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 8px !important;
        width: 100% !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        padding: 0 2px 10px 2px !important;
        scrollbar-width: none !important;
        -webkit-overflow-scrolling: touch !important;
        scroll-behavior: smooth !important;
        align-items: center !important;
    }

    .surmanset-pagination::-webkit-scrollbar {
        display: none !important;
    }

    .surmanset-pagination .swiper-pagination-bullet {
        flex: 0 0 30px !important;
        width: 30px !important;
        min-width: 30px !important;
        height: 14px !important;
        padding: 0 !important;
        margin: 0 !important;
        border: none !important;
        border-radius: 0 !important;
        background: transparent !important;
        color: transparent !important;
        font-size: 0 !important;
        line-height: 0 !important;
        box-shadow: none !important;
        transform: none !important;
        opacity: 1 !important;
        position: relative !important;
        display: block !important;
    }

    .surmanset-pagination .swiper-pagination-bullet::after {
        content: "" !important;
        position: absolute !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 4px !important;
        height: 4px !important;
        border-radius: 999px !important;
        background: #cbd5e1 !important;
        transition: background 0.2s ease, height 0.2s ease, transform 0.2s ease !important;
    }

    .surmanset-pagination .swiper-pagination-bullet-active {
        flex-basis: 44px !important;
        width: 44px !important;
        min-width: 44px !important;
        background: transparent !important;
        color: transparent !important;
        border: none !important;
        box-shadow: none !important;
        transform: none !important;
    }

    .surmanset-pagination .swiper-pagination-bullet-active::after {
        height: 5px !important;
        background: linear-gradient(90deg, #111827 0%, #c8102e 100%) !important;
        transform: translateY(-1px) !important;
    }

    .surmanset-pagination .swiper-pagination-bullet:hover {
        background: transparent !important;
        color: transparent !important;
        border: none !important;
        box-shadow: none !important;
        transform: none !important;
    }
}

@media (max-width: 420px) {
    .surmanset-container {
        height: 420px !important;
    }

    .surmanset-content {
        padding: 16px 16px 14px 16px !important;
    }

    .surmanset-title {
        font-size: 1.30rem !important;
        line-height: 1.22 !important;
    }

    .surmanset-pagination .swiper-pagination-bullet {
        flex-basis: 26px !important;
        width: 26px !important;
        min-width: 26px !important;
    }

    .surmanset-pagination .swiper-pagination-bullet-active {
        flex-basis: 40px !important;
        width: 40px !important;
        min-width: 40px !important;
    }
}