/* =========================================
   BLOG
========================================= */

.blog-cards-row {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);

    gap: 24px;

    width: 100%;
    max-width: 1180px;

    margin: 0 auto !important;
    padding: 0 15px;
}


/* =========================================
   CARD
========================================= */

.blog-card-link {
    display: block;

    width: 100%;

    color: inherit;
    text-decoration: none;

    transition: transform .2s ease;
}

.blog-card-link:hover {
    color: inherit;
    text-decoration: none;
}

.blog-card {
    position: relative;

    display: flex !important;
    flex-direction: column !important;

    width: 100%;
    min-width: 0;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden;

    background: #fff !important;

    border: 1px solid #e5dfd5 !important;
    border-radius: 18px !important;

    box-shadow: none !important;

    transition:
            transform .2s ease,
            box-shadow .2s ease;
}

.blog-card-link:hover .blog-card {
    transform: translateY(-3px);

    box-shadow:
            0 10px 30px rgba(0, 0, 0, .07) !important;
}


/* =========================================
   IMAGE
========================================= */

.blog-card .card-header {
    position: relative;

    height: 245px !important;
    min-height: 245px !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden;

    background: #f4ede1 !important;

    border: 0 !important;
}

.blog-card .card-header img {
    display: block !important;

    width: 100% !important;
    height: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    object-fit: cover !important;
    object-position: center !important;

    border: 0 !important;

    transition: transform .4s ease;
}

.blog-card-link:hover .card-header img {
    transform: scale(1.03);
}


/* =========================================
   CATEGORY
========================================= */

.blog-category {
    position: absolute;

    top: 15px;
    left: 15px;

    z-index: 5;

    display: inline-flex;
    align-items: center;

    height: 31px;

    padding: 0 13px;

    background: #bda36d;
    color: #fff;

    border-radius: 20px;

    font-family: inherit;

    font-size: 12px;
    line-height: 1;
    font-weight: 800;

    letter-spacing: .3px;

    text-transform: uppercase;
}


/* =========================================
   BODY
========================================= */

.blog-card .card-body {
    display: flex !important;
    flex-direction: column !important;

    flex: 1;

    margin: 0 !important;

    padding: 22px 23px 21px !important;

    background: #fff !important;
}


/* =========================================
   META
========================================= */

.blog-meta {
    display: flex;

    align-items: center;

    gap: 9px;

    margin: 0 0 10px;

    color: #b0a99e;

    font-size: 13px;

    line-height: 1.2;
}

.blog-meta-reading {
    color: #444;

    font-weight: 700;
}

.blog-meta-reading::first-letter {
    color: #555;
}

.blog-meta-separator {
    color: #d0cbc2;
}

.blog-meta-date {
    color: #9e978d;
}


/* =========================================
   TITLE
========================================= */

.blog-card h3 {
    margin: 0 0 10px !important;
    padding: 0 !important;

    color: #111 !important;

    text-align: left !important;

    font-family: inherit;

    font-size: 17px !important;

    line-height: 1.3 !important;

    font-weight: 800 !important;

    letter-spacing: -.2px;
}


/* =========================================
   EXCERPT
========================================= */
.blog-excerpt {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;

    overflow: hidden !important;

    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;

    margin: 0 !important;
    padding: 0 !important;

    color: #4f4d4a !important;

    text-align: left !important;

    font-size: 14px !important;
    line-height: 1.55 !important;
    font-weight: 400 !important;
}

/* =========================================
   BOTTOM
========================================= */

.blog-bottom {
    display: flex;

    align-items: center;

    justify-content: flex-end;

    margin-top: 17px;

    padding-top: 14px;

    min-height: 42px;

    border-top: 1px solid #ebe7df;
}


/* =========================================
   READ MORE
========================================= */

.blog-card .btn {
    display: inline-flex !important;

    align-items: center;

    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;

    border: 0 !important;

    box-shadow: none !important;

    color: #b59a63 !important;

    font-size: 14px !important;

    line-height: 1;

    font-weight: 700 !important;

    text-decoration: none !important;
}

.blog-card .btn::after {
    content: "→";

    margin-left: 5px;

    font-size: 18px;

    line-height: 1;

    transition: transform .2s ease;
}

.blog-card-link:hover .btn::after {
    transform: translateX(3px);
}

.blog-card .btn:hover {
    color: #8e7749 !important;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1199px) {

    .blog-cards-row {
        max-width: 100%;
    }

}


@media (max-width: 991px) {

    .blog-cards-row {
        grid-template-columns: repeat(2, 1fr);

        gap: 20px;

        padding: 0 15px;
    }

    .blog-card .card-header {
        height: 230px !important;
        min-height: 230px !important;
    }

}


@media (max-width: 767px) {

    .blog-cards-row {
        grid-template-columns: 1fr;

        gap: 20px;

        padding: 0 15px;
    }

    .blog-card .card-header {
        height: 230px !important;
        min-height: 230px !important;
    }

    .blog-card .card-body {
        padding: 20px 20px 19px !important;
    }

    .blog-card h3 {
        font-size: 20px !important;
    }

    .blog-excerpt {
        font-size: 14px !important;
    }

}


/* =========================================
   REMOVE AUTHOR
========================================= */

.blog-author,
.blog-author-avatar {
    display: none !important;
}