/* =========================================================
   DAYVERO - SON YAZILAR
   TEMİZ BAZ SÜRÜM
   ========================================================= */

/* =========================================================
   SLIDER ALANI
   ========================================================= */

body.home .dayvero-latest-posts-swiper {
    position: relative;
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

body.home .dayvero-latest-posts-swiper .dayvero-latest-posts {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* =========================================================
   SLIDE
   ========================================================= */
 body.home .dayvero-latest-posts-swiper .swiper-slide {
    flex-shrink: 0;
    height: auto;
    margin: 0;
    box-sizing: border-box;
};
};
}

/* =========================================================
   GÖRSEL
   ========================================================= */

body.home .dayvero-latest-posts-swiper .post-thumbnail {
    display: block !important;
    width: 100%;
    height: auto;
    margin: 0;
    overflow: hidden;
    border-radius: 22px;
}

body.home .dayvero-latest-posts-swiper .post-thumbnail-inner {
    display: block !important;
    width: 100%;
}

body.home .dayvero-latest-posts-swiper .post-thumbnail img {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 22px;
}

/* =========================================================
   KART İÇERİĞİ
   ========================================================= */

body.home .dayvero-latest-posts-swiper .entry-content-wrap {
    width: 100%;
    box-sizing: border-box;
    padding-top: 14px;
}

/* =========================================================
   KATEGORİLER - GİZLE
   ========================================================= */

body.home .dayvero-latest-posts-swiper .entry-taxonomies,
body.home .dayvero-latest-posts-swiper .entry-taxonomies-container,
body.home .dayvero-latest-posts-swiper .category-links,
body.home .dayvero-latest-posts-swiper .cat-links {
    display: none !important;
}

/* =========================================================
   META - GİZLE
   ========================================================= */

body.home .dayvero-latest-posts-swiper .entry-meta {
    display: none !important;
}

/* =========================================================
   BAŞLIK
   ========================================================= */

body.home .dayvero-latest-posts-swiper .entry-title {
    margin: 0;
    line-height: 1.35;
}

/* =========================================================
   ÖZET
   ========================================================= */

body.home .dayvero-latest-posts-swiper .entry-summary {
    display: block !important;
    margin-top: 12px;
}

body.home .dayvero-latest-posts-swiper .entry-summary p {
    margin: 0;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;

    overflow: hidden;
}

/* =========================================================
   READ MORE - GİZLE
   ========================================================= */

body.home .dayvero-latest-posts-swiper .entry-footer,
body.home .dayvero-latest-posts-swiper .entry-actions,
body.home .dayvero-latest-posts-swiper .more-link-wrap,
body.home .dayvero-latest-posts-swiper .post-more-link {
    display: none !important;
}

/* =========================================================
   TÜM YAZILARI GÖR - GİZLE
   ========================================================= */

body.home .dayvero-latest-posts-all-button {
    display: none !important;
}

/* =========================================================
   OKLAR
   ========================================================= */

body.home .dayvero-latest-posts-prev,
body.home .dayvero-latest-posts-next {
    position: absolute;
    top: 38%;

    z-index: 20;

    width: 48px;
    height: 48px;

    padding: 0;
    margin: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(4px);

    box-shadow: none;

    cursor: pointer;

    transition:
        background 0.2s ease,
        opacity 0.2s ease;
}

body.home .dayvero-latest-posts-prev {
    left: 14px;
}

body.home .dayvero-latest-posts-next {
    right: 14px;
}

body.home .dayvero-latest-posts-prev:hover,
body.home .dayvero-latest-posts-next:hover {
    background: rgba(255, 255, 255, 0.65);
}

body.home .dayvero-latest-posts-prev svg,
body.home .dayvero-latest-posts-next svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: #245e4b;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* =========================================================
   DISABLED OK
   ========================================================= */

body.home .dayvero-latest-posts-prev.swiper-button-disabled,
body.home .dayvero-latest-posts-next.swiper-button-disabled {
    opacity: 0.25;
    pointer-events: none;
}

/* =========================================================
   PAGINATION
   ========================================================= */

body.home .dayvero-latest-posts-pagination {
    position: relative;

    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-top: 28px;
    padding: 0;

    text-align: center;
}

body.home .dayvero-latest-posts-pagination .swiper-pagination-bullet {
    width: 9px;
    height: 9px;

    margin: 0 5px;

    opacity: 1;
}

body.home .dayvero-latest-posts-pagination .swiper-pagination-bullet-active {
    width: 28px;
    border-radius: 10px;
}

/* =========================================================
   MOBİL
   ========================================================= */

@media (max-width: 767px) {

    body.home .dayvero-latest-posts-swiper .post-thumbnail {
        border-radius: 18px;
    }

    body.home .dayvero-latest-posts-swiper .post-thumbnail img {
        border-radius: 18px;
    }

    body.home .dayvero-latest-posts-prev,
    body.home .dayvero-latest-posts-next {
        width: 40px;
        height: 40px;

        top: 34%;
    }

    body.home .dayvero-latest-posts-prev {
        left: 8px;
    }

    body.home .dayvero-latest-posts-next {
        right: 8px;
    }

    body.home .dayvero-latest-posts-prev svg,
    body.home .dayvero-latest-posts-next svg {
        width: 21px;
        height: 21px;
    }
}

/* =========================================================
   SON YAZILAR - SWIPER KART GENİŞLİĞİ DÜZELTME
   ========================================================= */

/* Swiper alanı */
body.home .dayvero-latest-posts-swiper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

/* Wrapper */
body.home .dayvero-latest-posts-swiper .dayvero-latest-posts {
    display: flex !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    box-sizing: border-box;
}

/* =========================================================
   MASAÜSTÜ - 3 KART
   ========================================================= */

@media (min-width: 1024px) {

    body.home .dayvero-latest-posts-swiper .swiper-slide {
        width: calc((100% - 60px) / 3) !important;
        min-width: 0 !important;
        max-width: calc((100% - 60px) / 3) !important;
        flex: 0 0 calc((100% - 60px) / 3) !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

}

/* =========================================================
   TABLET - 2 KART
   ========================================================= */

@media (min-width: 768px) and (max-width: 1023px) {

    body.home .dayvero-latest-posts-swiper .swiper-slide {
        width: calc((100% - 24px) / 2) !important;
        min-width: 0 !important;
        max-width: calc((100% - 24px) / 2) !important;
        flex: 0 0 calc((100% - 24px) / 2) !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

}

/* =========================================================
   MOBİL - 1 KART
   ========================================================= */

@media (max-width: 767px) {

    body.home .dayvero-latest-posts-swiper .swiper-slide {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

}

/* =========================================================
   OKLAR - TRANSPARAN
   ========================================================= */

body.home .dayvero-latest-posts-prev,
body.home .dayvero-latest-posts-next {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

body.home .dayvero-latest-posts-prev:hover,
body.home .dayvero-latest-posts-next:hover,
body.home .dayvero-latest-posts-prev:focus,
body.home .dayvero-latest-posts-next:focus {
    background: transparent !important;
    box-shadow: none !important;
}

