﻿@import url("https://fonts.googleapis.com/css?family=Quicksand:400,500,700&subset=latin-ext");

.rns-wrapper {
    position: relative;
    overflow: hidden;
    font-family: "Quicksand", sans-serif;
    padding: 24px 0 36px;
    background: #ffffff;
}

    .rns-wrapper a,
    .rns-wrapper a:hover {
        text-decoration: none;
    }

.rns-icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    stroke-width: 0;
    stroke: currentColor;
    fill: currentColor;
}

.rns-wrapper .rns-background {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

    .rns-wrapper .rns-background:after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: linear-gradient(45deg, rgba(209, 0, 42, 0.6) 0%, #0E5DC4 100%);
        opacity: 0.9;
    }

    .rns-wrapper .rns-background img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        pointer-events: none;
        user-select: none;
    }

.rns-wrapper .rns-item-bg {
    width: 300px;
    height: 500px;
    position: absolute;
    top: 30px;
    background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
    border: 1px solid #e5ebf3;
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    opacity: 0;
    transition: all 0.3s;
    left: -30px;
    left: 50%;
    transform: translateX(-50%);
}

    .rns-wrapper .rns-item-bg.active {
        left: 0;
        top: 0;
        opacity: 1;
    }

.rns-wrapper .rns-slider {
    z-index: 2;
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 60px;
}

@media screen and (max-width: 1300px) {
    .rns-wrapper .rns-slider {
        max-width: 1000px;
    }
}

@media screen and (max-width: 576px) {
    .rns-wrapper .rns-slider {
        margin-top: 45px;
    }
}

.rns-wrapper .rns-slider__wrp {
    display: flex;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}

.rns-wrapper .rns-slider__item {
    width: 33.333%; /* 3 adet görünmesi için */
    height: 520px;
    flex-shrink: 0;
}


.rns-wrapper .rns-slider__item.swiper-slide {
    opacity: 1 !important; /* Hepsini görünür yap */
    pointer-events: auto !important;
}

.rns-wrapper .rns-slider__item.swiper-slide-active,
.rns-wrapper .rns-slider__item.swiper-slide-prev,
.rns-wrapper .rns-slider__item.swiper-slide-next {
    opacity: 1;
    pointer-events: auto;
}

.rns-wrapper .rns-slider__controls {
    position: relative;
    z-index: 12;
}

.rns-wrapper .rns-slider__arrow {
    background: #ffffff;
    color: #19324d;
    border: none;
    display: inline-flex;
    width: 50px;
    height: 50px;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    z-index: 12;
    cursor: pointer;
    outline: none !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

    .rns-wrapper .rns-slider__arrow:hover {
        color: #0e5dc4;
        box-shadow: 0 14px 34px rgba(14, 93, 196, 0.16);
    }

    .rns-wrapper .rns-slider__arrow:focus {
        outline: none !important;
    }

    .rns-wrapper .rns-slider__arrow .rns-icon-wrap {
        display: inline-flex;
    }

    .rns-wrapper .rns-slider__arrow.rns-slider__arrow--prev {
        left: 15px;
        transform: translateY(-50%);
    }

    .rns-wrapper .rns-slider__arrow.rns-slider__arrow--next {
        right: 15px;
        transform: translateY(-50%);
    }

.rns-wrapper .rns-slider__pagination {
    text-align: center;
    margin-top: 50px;
}

    .rns-wrapper .rns-slider__pagination .swiper-pagination-bullet {
        width: 13px;
        height: 10px;
        display: inline-block;
        background: #cad5e2;
        opacity: 0.9;
        margin: 0 5px;
        border-radius: 20px;
        transition: opacity 0.5s, background-color 0.5s, width 0.5s;
        transition-delay: 0.5s, 0.5s, 0s;
    }

    .rns-wrapper .rns-slider__pagination .swiper-pagination-bullet-active {
        opacity: 1;
        background: #0e5dc4;
        width: 100px;
        transition-delay: 0s;
    }

@media screen and (max-width: 576px) {
    .rns-wrapper .rns-slider__pagination .swiper-pagination-bullet-active {
        width: 70px;
    }
}

.rns-wrapper .rns-card {
    padding: 40px;
    color: #1f2937;
    background: transparent;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
    overflow: hidden;
    transition: color 0.3s ease, transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

@media screen and (min-width: 800px) {
    .rns-wrapper .rns-card:hover {
        color: #111827;
        background: linear-gradient(180deg, rgba(93, 169, 221, 0.16) 0%, rgba(93, 169, 221, 0.08) 100%);
        box-shadow: 0 16px 36px rgba(93, 169, 221, 0.22);
        transform: translateY(-4px);
        transition-delay: 0.1s;
    }

        .rns-wrapper .rns-card:hover .rns-card__date,
        .rns-wrapper .rns-card:hover .rns-card__title,
        .rns-wrapper .rns-card:hover .rns-card__text {
            opacity: 1;
            transition-delay: 0.1s;
        }

        .rns-wrapper .rns-card:hover .rns-card__date {
            border-bottom-color: #5DA9DD;
            color: #2e6e9f;
        }

        .rns-wrapper .rns-card:hover .rns-card__title {
            color: #17486c;
        }

        .rns-wrapper .rns-card:hover .rns-card__text {
            color: #365b78;
        }

        .rns-wrapper .rns-card:hover .rns-card__image {
            box-shadow: 0 16px 34px rgba(93, 169, 221, 0.28);
        }
}

.rns-wrapper .rns-card.active {
    color: #111827;
    background: linear-gradient(180deg, rgba(93, 169, 221, 0.14) 0%, rgba(93, 169, 221, 0.06) 100%);
    box-shadow: 0 16px 36px rgba(93, 169, 221, 0.18);
}

    .rns-wrapper .rns-card.active .rns-card__date,
    .rns-wrapper .rns-card.active .rns-card__title,
    .rns-wrapper .rns-card.active .rns-card__text {
        opacity: 1;
    }

    .rns-wrapper .rns-card.active .rns-card__date {
        border-bottom-color: #5DA9DD;
        color: #2e6e9f;
    }

    .rns-wrapper .rns-card.active .rns-card__title {
        color: #17486c;
    }

    .rns-wrapper .rns-card.active .rns-card__text {
        color: #365b78;
    }

    .rns-wrapper .rns-card.active .rns-card__image {
        box-shadow: 0 16px 34px rgba(93, 169, 221, 0.24);
    }

@media screen and (max-width: 992px) {
    .rns-wrapper .rns-card {
        padding: 30px;
    }
}

@media screen and (max-width: 576px) {
    .rns-wrapper .rns-card {
        padding: 20px;
    }
}

.rns-wrapper .rns-card__date {
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 2px solid #dbe4ee;
    display: inline-block;
    color: #4b5d73;
    opacity: 0.85;
    transition: opacity 0.3s;
}

@media screen and (max-width: 576px) {
    .rns-wrapper .rns-card__date {
        margin-bottom: 10px;
        display: inline-flex;
        align-items: center;
        padding-bottom: 0;
    }
}

.rns-wrapper .rns-card__date-title {
    /*display: block;
    font-size: 32px;*/
    margin-bottom: 10px;
/*    font-weight: 700;
*/}

@media screen and (max-width: 576px) {
    .rns-wrapper .rns-card__date-title {
        margin-right: 10px;
    }
}

.rns-wrapper .rns-card__date-text {
    font-size: 16px;
}

.rns-wrapper .rns-card__title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    opacity: 0.92;
    margin-top: 10px;
    margin-bottom: 15px;
    transition: opacity 0.3s;
    /* Uzun başlıkları 2 satırda sınırla */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height 150px;
}

@media screen and (max-width: 576px) {
    .rns-wrapper .rns-card__title {
        font-size: 22px;
        margin-bottom: 10px;
    }
}

.rns-wrapper .rns-card__text {
    margin: 10px 0;
    line-height: 1.6em;
    font-size: 15px;
    color: #526173;
    opacity: 0.9;
    transition: opacity 0.3s;
    flex: 1; /* kalan alanı doldurur, resim hep aşağıda kalır */
}

.rns-wrapper .rns-card__image {
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.1);
    height: 200px;
    margin-top: 0; /* flex ile artık gerek yok */
    width: 100%;
    transition: all 0.3s;
    transform-origin: 0% 0%;
}

@media screen and (max-width: 576px) {
    .rns-wrapper .rns-card__image {
        height: 180px;
        margin-top: 20px;
    }
}

.rns-wrapper .rns-card__image img {
    max-width: 100%;
    height: 100%;
    width: 100%;
    object-fit: cover;
}
