body {
    overflow: auto;
}

[data-elementor-device-mode="mobile"] .main-blog-posts .swiper-area {
    padding-left: 15px;
}
[data-elementor-device-mode="mobile"] .main-blog-posts .swiper-container,[data-elementor-device-mode="tablet"] .main-blog-posts .swiper-container {
    padding:0;
}
.main-blog-posts .swiper-container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto 2rem;
    position: relative;
    padding:0 15px;
 
}
[data-elementor-device-mode="desktop"] .main-blog-posts .swiper-container:after {
    content: '';
    width: 135px;
    height: 100%;
    background: linear-gradient(to left, rgba(245, 233, 218, 1), rgba(245, 233, 218, 0));
    position: absolute;
    z-index: 9;
    top: 0;
    right: 0;
}
[data-elementor-device-mode="mobile"] .main-blog-posts .swiper {
    width: 100%;
    height: 333px;
}
[data-elementor-device-mode="tablet"] .main-blog-posts .swiper {
    width: 100%;
    height: 333px;
}
.main-blog-posts .swiper {
    width: 100%;
    height: 470px;
}


.main-blog-posts .swiper-slide {
    width: auto;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    color: #fff;
}

.main-blog-posts .swiper-slide::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    z-index: 8;
    height: 40%;
    border-radius:12px;
}

.main-blog-posts .swiper-slide span {
    padding: 4px 12px 2px 12px;
    border-radius: 4px;
    font-size: 1.2rem;
    font-family: "JohnnieWalkerHeadline", sans-serif;
    font-weight: normal;
    font-style: normal;
    text-transform: uppercase;
    background-color: #ECA82B;
    color: #EBF4FF;
    transform: skewY(-6deg);
    display: inline-block;
    letter-spacing: 1px;
    margin-bottom: 8px;
    position: relative;
    z-index: 9;
}

[data-elementor-device-mode="mobile"] .main-blog-posts .swiper-slide h2 a {
    font-size: 1.5rem;
    line-height: 0.5em;
}

.main-blog-posts .swiper-slide h2 {
    display:inline-block;
    text-align: center;
    padding: 0 20px;
    margin: 15px 0 25px 0;
    position: relative;
    z-index: 9;
}

.main-blog-posts .swiper-slide h2 a {
    font-size: 2rem;
    font-family: "JohnnieWalkerHeadline", sans-serif;
    font-weight: normal;
    font-style: normal;
    line-height: 1em;
    text-decoration: none;
    color: #fff;
    text-transform: uppercase;
}

[data-elementor-device-mode="mobile"] .main-blog-posts .home-swiper-button-prev,
[data-elementor-device-mode="mobile"] .main-blog-posts .home-swiper-button-next {
    display: none;
}

.main-blog-posts .home-swiper-button-prev, .main-blog-posts .home-swiper-button-next {
    width: 50px;
    height: 50px;
    position: absolute;
    top: 45%;
    z-index: 10;
    color: #fff;
    border-radius: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(11px);
    display: flex;
    align-content: center;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    font-size: 30px;
    cursor: pointer;
}
.main-blog-posts .home-swiper-button-prev {
    left:20px;
}
.main-blog-posts .home-swiper-button-next {
    right:20px;
}


.home-blog-posts {
    width:100%;
    background-color:#000000;
    max-height:1290px;
    display:flex;
    
}
[data-elementor-device-mode="desktop"] .home-blog-posts {
    flex-direction: column;
}
.post-content-container {
            max-width:1400px;
            margin:50px auto;
            display: grid; /* Grid düzeni kullan */
            grid-template-columns: repeat(3, 1fr); /* Masaüstü için 3 sütun */
            gap: 40px; /* Elemanlar arası boşluk */
            
        }

        .post-content-item {
           
        }
        [data-elementor-device-mode="mobile"] .round-thumbnail {
            width: 230px;
            height: 220px; 
        }

        [data-elementor-device-mode="tablet"] .round-thumbnail {
            width:250px;
            height: 250px; 
        }

        [data-elementor-device-mode="tablet"] .post-content-item {
        flex: 0 0 calc(45% - 45px);
        margin-right: 0px;
    }
        [data-elementor-device-mode="mobile"] .post-content-item {
                flex: 0 0 calc(73% - 55px); /* Yan yana 2 eleman göster */
                margin-right: 0px; /* Elemanlar arası boşluk */
            }

        .round-thumbnail {
            width: 380px;
            height: 380px;
            object-fit: cover; /* Görselin orantısız şekilde bozulmaması için */
            border-radius: 50%; /* Yuvarlak hale getirme */
        }

        /* Mobil görünüm için */
        @media (max-width: 768px) {
            .post-content-container {
                display: flex; /* Flex düzeni kullan */
                flex-wrap: nowrap; /* Tek satırda tut */
                overflow-x: auto; /* Yatay kaydırma */
                gap:30px; /* Elemanlar arası boşluk */
            }
            .post-content-container::-webkit-scrollbar {
                display: none;
            }
            .post-content-item:nth-child(n+2) {
            margin-left: -20px; /* Sol boşluk ekle */
            transform: translateX(0px); /* Sağ kaydır */
        }

             

            .post-content-item:last-child {
                margin-right: 0; /* Son elemanın sağ boşluğunu kaldır */
            }
        }
        .home-blog-posts .post-thumbnail {
            text-align:center;
        }
        [data-elementor-device-mode="mobile"] .home-blog-posts .post-title {
            font-size: 1.2rem;
            padding:0 40px;
        }
        .home-blog-posts .post-title {
            text-transform: uppercase;
            display: flex;
            justify-content: center;
            max-width: 245px;
            text-align: center;
            margin: 0 auto;
            letter-spacing: 2px;
            font-weight: 400;
            
        }
        .home-blog-posts .post-title a {
            color:#FAF4E1;
        }
        .home-blog-posts .post-category {
            background: #eca82b;
            text-align: center;
            color: #fff;
            font-family: 'JohnnieWalkerHeadline', sans-serif;
            font-weight: 400;
            font-size: 1.2rem;
            display: table;
            margin: 0 auto;
            padding: 5px 10px;
            border-radius: 4px;
            position: relative;
            top: -15px;
            letter-spacing:1px;
        }

        .all-posts-button {
            display:none;
        }
        [data-elementor-device-mode="desktop"] .all-posts-button {
            margin: 20px auto 40px;
            width: 100%;
            text-align: center;
            display: inline-flex;
            justify-content: center;
        }
        .all-posts-button a {
            background: #fff;
            padding: 10px 15px;
            font-size: 1.1rem;
            border-radius: 8px;
        }



.home-find-banner {
    width:100%;
    background: linear-gradient(to bottom, #F5E9DA 50%, #000000 50%);

}


[data-elementor-device-mode="mobile"] .find-cocktail {
    border:none;
    border-bottom:1px solid #ffffff;
    border-radius:0;
    flex-direction: column-reverse;
    justify-content: center;
    min-height:395px;
    padding: 50px 0;
}

.find-cocktail {
    max-width: 1170px;
    background-color: #000000;
    border: 1px solid #ffffff;
    border-radius: 8px;
    min-height: 320px;
    margin: 0 auto;
    position: relative;
    z-index: 8;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.fc-col-1 {
    width:60%;
    padding-left: 50px;
}
.fc-col-2 {
    width:40%;
    text-align: center;
}

.fc-col-1 h3 {
    color: #ECA82B;
    font-size: 70px;
    line-height: 77px;
    margin-bottom: 30px;
}

[data-elementor-device-mode="mobile"] .fc-col-1 {
    width:100%;
    padding: 0 30px;
    text-align: center;
}
[data-elementor-device-mode="mobile"] .fc-col-2 {
    width:40%;
}

[data-elementor-device-mode="mobile"] .fc-col-1 h3 {
    font-size: 60px;
    line-height: 66px;
    margin-top: 30px;
}



.home-collect-banner {}
.collect-cocktail {
    margin: 0 auto;
    max-width: 1170px;
    width: 100%;
    min-height: 540px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;


}
.collect-cocktail h3 {
    font-family: 'Plantin MT Pro', sans-serif;
    font-weight: 700;
    color: #ECA82B;
    font-size: 2.1rem;
    line-height:2rem;
    max-width: 690px;
    text-align: center;
    margin:30px 0;
}

[data-elementor-device-mode="mobile"] .collect-cocktail {
    min-height:450px;
}


.home-turler {
    max-width: 1360px;
    margin: 0 auto;
    padding:40px 0 30px 0;
    position: relative;
    z-index: 8;
    width: 100%;

}

/* Genel Flex Container */
.recete-kategori-listesi {
    display: flex;
    gap: 25px; /* Öğeler arası boşluk */
    box-sizing: border-box;
    overflow-x: auto; /* Mobilde sağa kaydırma */
    scroll-snap-type: x mandatory; /* Kaydırma noktaları */
    flex-wrap: nowrap; /* Mobilde sarma olmadan aynı satırda */
}

/* Flex Öğeler */
.kategori-item-link {
    flex: 0 0 calc(20% - 20px); /* Masaüstü: 5 öğe yan yana */
    max-width: calc(20% - 20px);
    text-decoration: none; /* Varsayılan link alt çizgisi kaldır */
    color: inherit; /* Metin rengi korunsun */
    scroll-snap-align: center; /* Kaydırma hizalaması */
}

/* Kategori Öğesi */
.kategori-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer; 
    
}

.kategori-item:hover {

}
.kategori-banner {
    height:250px;
    background-size: cover !important;
}
.kategori-banner::before {
    content:'';
    background-color: rgba(236, 168, 43, 0.61);
    mix-blend-mode: multiply;
    position: absolute;
    width: 100%;
    height: 100%;
    left:0;
}

/* Görsel Alanı */
.kategori-banner-img {
    width: 100%;
    height: auto;
    object-fit: cover; /* Görseller düzgün kırpılır */
}

/* Kategori Başlığı */
.kategori-baslik {
    position: absolute;
    left: 50%;
    top:40%;
    transform: translateX(-50%);
    color: #FAF4E1;
    font-size: 1.931rem;
    font-weight: 400;
    line-height: 1.9rem;
}

/* Mobil İçin Medya Sorgusu */
@media (max-width: 768px) {
    .kategori-item-link {
        flex: 0 0 calc(38.5% - 0px); /* Mobilde 3.5 öğe görünecek */
        max-width: calc(38.5% - 0px);
    }
    .recete-kategori-listesi::-webkit-scrollbar {
        display: none;
    }

    .kategori-item {
        border-radius:0;
    }

    .kategori-baslik {
        font-size: 1.56rem;
        line-height: 1.5rem;
       
    }
    .kategori-banner {
        height:160px;
    }

    .recete-kategori-listesi {
        padding:0 0 10px 0;
        gap:0;
    }
    .home-turler {
        padding:0;
    }
}


.favorite-recipes-container {
    background-color: #000000;
}

.favorite-recipes-inside {
    max-width: 1170px;
    margin: 0 auto;
    padding: 20px 0 70px 0;
    text-align: center;
}

.favorite-recipes {
    display: flex;
    flex-wrap: wrap; /* Masaüstü için sarma */
    gap: 40px 20px;
    margin-bottom:40px;
   
}

.recipe-item {
    flex: 1 1 calc(33.333% - 20px);
    border-radius: 5px;
    color: #ffffff;
    transition: transform 0.3s;
    padding-top: 80px;
    position: relative;
}



.recipe-thumbnail {
    overflow: hidden;
    position: relative;
    width: 353px;
    min-height: 470px;
    border-radius:20px;
    margin:0 auto;

}

.recipe-thumbnail:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 25%;
    background: linear-gradient(to bottom, rgb(0 0 0 / 77%), rgba(0, 0, 0, 0));
    z-index: 1;
}

.recipe-thumbnail img {
    position: absolute; /* Pozisyonu mutlak yap */
    z-index:0;
    top: 50%; /* Dikey ortalama */
    left: 50%; /* Yatay ortalama */
    min-width: 100%; /* Minimum genişlik */
    width: auto; /* Genişliği otomatik ayarla */
    height: auto; /* Yüksekliği otomatik ayarla */
    transform: translate(-50%, -50%) scale(1.4);
    transform-origin: center;
}

.recipe-item h2 {
    position: absolute;
    z-index: 2;
    text-align: center;
    top: 1px;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 105px;
    width: 100%;
    padding: 0 35px;
}
.recipe-item h2 a {
    color: #ECA82B;
    font-weight: 400;
    font-size: 3.45rem;
    line-height: 3.3rem;
}

.recipe-item a {
    text-decoration: none;
}

.favorite-main-title {
    text-align: center;
    color: #fff;
    font-family: 'JohnnieWalkerHeadline', sans-serif;
    font-weight: 400;
    font-size: 1.8rem;
    letter-spacing: 2px;
    margin: 25px auto 35px;
}

/* Mobilde yatay kaydırma */
@media (max-width: 768px) {
    .favorite-recipes {
        flex-wrap: nowrap; /* Satırı sarmayı devre dışı bırak */
        overflow-x: auto; /* Yatay kaydırma etkin */
        gap: 10px; /* Mobilde daha dar boşluk */
        padding: 10px;
        scroll-snap-type: x mandatory; /* Kaydırmada odak noktası */
        
    }
    .favorite-main-title {
        margin: 20px auto 15px; 
    }
    .favorite-recipes::-webkit-scrollbar {
        display: none;
    }
    .recipe-item {
        flex: 0 0 calc(60% - 10px);
        scroll-snap-align: start;
        padding-left: 25px;
    
    }

    .recipe-thumbnail img {
    }

    .recipe-thumbnail {
        min-height: 320px;
        width: 230px;
    }
    .recipe-item h2 a {
        color: #ECA82B;
        font-weight: 400;
        font-size: 2.45rem;
        line-height: 2.3rem;
    }
    .recipe-item h2 {
        min-height:98px;
    }
}