/*
    Selectors are scoped under .hf-latest-post so they outrank the Elementor
    kit's element rules (e.g. `.elementor-kit-643 h2`, `.elementor-kit-643 a`).
*/

.hf-latest-post {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 20px;
    align-items: start;
    background: var(--e-global-color-4afaafe, #231F20);
    color: #FFFFFF;
    padding: 10px;
}

.hf-latest-post .hf-latest-post__image {
    display: block;
    border: 1px solid var(--e-global-color-6e965a0, #AC7C58);
    aspect-ratio: 6 / 5;
    overflow: hidden;
}

.hf-latest-post .hf-latest-post__image img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    border: 0;
    border-radius: 0;
}

.hf-latest-post .hf-latest-post__content {
    padding-top: 5px;
}

.hf-latest-post .hf-latest-post__title {
    font-family: "Libre Baskerville", Baskerville Libre, Poppins;
    font-size: 36px;
    font-weight: 400;
    font-style: normal;
    text-transform: none;
    line-height: 1.3;
    color: #FFFFFF;
    margin: 0 0 30px;
}

.hf-latest-post .hf-latest-post__title a,
.hf-latest-post .hf-latest-post__title a:hover {
    font: inherit;
    color: inherit;
    text-decoration: none;
}

.hf-latest-post .hf-latest-post__excerpt {
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: #FFFFFF;
    margin: 0 20px 55px;
}

.hf-latest-post .hf-latest-post__more,
.hf-latest-post .hf-latest-post__more:hover {
    display: inline-block;
    margin: 0 20px;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--e-global-color-6e965a0, #AC7C58);
    text-decoration: none;
    transition: color 0.2s ease;
}

.hf-latest-post .hf-latest-post__more:hover {
    color: var(--e-global-color-5046f92, #D9BAA0);
}

@media (max-width: 767px) {
    .hf-latest-post {
        grid-template-columns: 1fr;
    }

    .hf-latest-post .hf-latest-post__title {
        font-size: 26px;
        margin-bottom: 20px;
    }

    .hf-latest-post .hf-latest-post__excerpt,
    .hf-latest-post .hf-latest-post__more,
    .hf-latest-post .hf-latest-post__more:hover {
        margin-left: 0;
        margin-right: 0;
    }

    .hf-latest-post .hf-latest-post__excerpt {
        margin-bottom: 30px;
    }
}
