/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* =========================================
   CUSTOM DYNAMIC BLOG SLIDER
========================================= */

.custom-blog-slider {
    position: relative;
    width: 100%;
    padding-bottom: 55px;
}


/* =========================================
   VIEWPORT
========================================= */

.custom-blog-slider-viewport {
    width: 100%;
    overflow: hidden;
}


/* =========================================
   TRACK
========================================= */

.custom-blog-slider-track {
    display: flex;

    gap: 30px;

    transform: translateX(0);

    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);

    will-change: transform;
}


/* =========================================
   BLOG CARD
========================================= */

.custom-blog-card {
    flex: 0 0 calc((100% - 60px) / 3);

    min-width: 0;
}


/* =========================================
   IMAGE
========================================= */

.custom-blog-image {
    display: block;

    width: 100%;

    aspect-ratio: 4 / 3;

    overflow: hidden;

    text-decoration: none;
}

.custom-blog-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.65s ease;
}

.custom-blog-image:hover img {
    transform: scale(1.05);
}


/* =========================================
   CONTENT
========================================= */

.custom-blog-content {
    position: relative;

    padding-top: 18px;

    padding-right: 55px;
}


/* =========================================
   CATEGORY + DATE
========================================= */

.custom-blog-meta {
    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 10px;

    font-size: 12px;

    line-height: 1.4;
}


/* CATEGORY */

.custom-blog-category {
    color: #F0E4AF;

    text-transform: uppercase;

    font-size: 12px;

    line-height: 1.4;
}


/* DATE */

.custom-blog-date {
    color: #B4AD92;

    font-size: 12px;

    line-height: 1.4;
}


/* =========================================
   TITLE
========================================= */

.custom-blog-title {
    margin: 0;

    padding: 0;

    font-family: "Playfair Display", serif;

    font-size: 28px;

    font-weight: 300;

    line-height: 1.2;
}

.custom-blog-title a {
    color: #F0E4AF;

    text-decoration: none;

    font-family: "Playfair Display", serif;

    font-weight: 300;

    transition: opacity 0.3s ease;
}

.custom-blog-title a:hover {
    opacity: 0.75;
}


/* =========================================
   INDIVIDUAL POST ARROW
========================================= */

.custom-blog-arrow {
    position: absolute;

    right: 0;

    top: 18px;

    width: 38px;
    height: 38px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #F0E4AF;

    text-decoration: none;

    font-family: Arial, sans-serif;

    font-size: 22px;

    line-height: 1;

    transition:
        transform 0.35s ease,
        opacity 0.35s ease;
}

.custom-blog-arrow:hover {
    transform: translateX(5px);

    opacity: 0.7;
}


/* =========================================
   LEFT / RIGHT SLIDER BUTTONS
========================================= */

.custom-blog-prev,
.custom-blog-next {
    position: absolute;

    top: 35%;

    width: 48px;
    height: 48px;

    padding: 0;

    margin: 0;

    border: 1px solid rgba(240, 228, 175, 0.65);

    border-radius: 50%;

    background: transparent;

    color: #F0E4AF;

    display: flex;

    align-items: center;
    justify-content: center;

    font-family: Arial, sans-serif;

    font-size: 20px;

    line-height: 1;

    cursor: pointer;

    z-index: 10;

    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}


/* LEFT */

.custom-blog-prev {
    left: 18px;
}


/* RIGHT */

.custom-blog-next {
    right: 18px;
}


/* HOVER */

.custom-blog-prev:hover,
.custom-blog-next:hover {
    background: #F0E4AF;

    border-color: #F0E4AF;

    color: #000;

    transform: scale(1.05);
}


/* =========================================
   DOT NAVIGATION
========================================= */

.custom-blog-dots {
    position: absolute;

    bottom: 0;

    left: 0;

    width: 100%;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    height: 18px;
}


/* DOT */

.custom-blog-dot {
    width: 7px;
    height: 7px;

    padding: 0;

    margin: 0;

    border: none;

    border-radius: 50%;

    background: #B4AD92;

    opacity: 0.45;

    cursor: pointer;

    transition:
        width 0.3s ease,
        opacity 0.3s ease,
        background 0.3s ease;
}


/* ACTIVE DOT */

.custom-blog-dot.active {
    width: 20px;

    border-radius: 10px;

    background: #F0E4AF;

    opacity: 1;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1024px) {

    .custom-blog-card {
        flex: 0 0 calc((100% - 30px) / 2);
    }


    .custom-blog-title {
        font-size: 24px;
    }


    .custom-blog-prev,
    .custom-blog-next {
        width: 44px;
        height: 44px;

        font-size: 18px;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    .custom-blog-slider {
        padding-bottom: 50px;
    }


    .custom-blog-slider-track {
        gap: 20px;
    }


    .custom-blog-card {
        flex: 0 0 100%;
    }


    .custom-blog-title {
        font-size: 21px;
    }


    .custom-blog-content {
        padding-top: 15px;

        padding-right: 45px;
    }


    .custom-blog-category,
    .custom-blog-date {
        font-size: 11px;
    }


    .custom-blog-arrow {
        top: 15px;

        font-size: 20px;
    }


    .custom-blog-prev,
    .custom-blog-next {
        width: 38px;
        height: 38px;

        font-size: 16px;
    }


    .custom-blog-prev {
        left: 10px;
    }


    .custom-blog-next {
        right: 10px;
    }

}