/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/


@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}
/* Recent projects shortcode: [recent_projects] */
.recent-projects-wrap {
    width: 100%;
    overflow: hidden;
}

.recent-projects-swiper {
    width: 100%;
    overflow: visible;
    padding-bottom: 34px;
}

.recent-projects-slide {
    height: auto;
}

.recent-project-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.recent-project-thumb {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 1.36 / 1;
    background: #eef2f7;
}

.recent-project-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.recent-project-image--placeholder {
    background: #eef2f7;
}

.recent-project-badge {
    position: absolute;
    left: 10px;
    bottom: 0;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    max-width: calc(100% - 20px);
    min-height: 26px;
    padding: 5px 10px;
    border-radius: 7px 7px 0 0;
    background: #1455d9;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.recent-project-title {
    margin: 10px 0 10px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
}

.recent-project-title a {
    color: inherit;
    text-decoration: none;
}

.recent-project-title a:hover {
    color: #1455d9;
}

.recent-project-location {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    color: #667085;
    font-size: 13px;
    line-height: 1.4;
}

.recent-project-location svg {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    fill: #3559a8;
}

.recent-projects-pagination {
    bottom: 0 !important;
}

.recent-projects-pagination .swiper-pagination-bullet-active {
    background: #1455d9;
}

@media (max-width: 849px) {
    .recent-project-thumb {
        border-radius: 10px;
    }
}
