/* Latest post widget styles */

.uew-recent-posts {
    text-align: center;
}

.uew-recent-posts h2 {
    margin-bottom: 50px;
}

.uew-recent-posts ul li {
    list-style: none;
    margin: 0 0 40px;
    padding: 0;
    display: flex;
    box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.1);
}

.uew-recent-posts .container {
    display: flex;
    justify-content: space-between;
}

.uew-recent-posts .post-wrapper {
    display: flex;
    flex-direction: column;
}

.uew-recent-posts li .img-wrapper {
    display: flex;
    max-width: 300px;
}

.uew-recent-posts .img-wrapper a {
    display: flex;
}

.uew-recent-posts .img-wrapper img {
    width: 100%;
    height: auto;
}

.uew-recent-posts .content-wrapper {
    background-color: var(--up-white);
    width: 100%;
    padding: 20px;
    text-align: left;
    position: relative;
    flex: 1;
}

.uew-recent-posts .content-wrapper footer {
    margin-top: 50px;
}

.uew-recent-posts .infobox {
    position: absolute;
    bottom: 20px;
    left: 20px;
    font-size: .9em;
    opacity: .7;
}

.uew-recent-posts .infobox i,
.uew-recent-posts .infobox span {
    margin-right: 10px;
}

.uew-recent-posts a.read-more {
    position: absolute;
    bottom: 20px;
    right: 20px;
    color: var(--up-primary-color);
}

.uew-recent-posts a.read-more:hover {
    text-decoration: underline;
}

.uew-recent-posts .read-more:after {
    content: '\f0da';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 7px;
    display: inline-block;
    top: 1em;
    right: 0;
    font-size: 11px;
    line-height: 1.6;
}

@media screen and (min-width: 1280px) {
    .uew-recent-posts .container {
        padding: 0;
    }
}

/* SMARTPHONES & TABLETS */
@media only screen and (max-width: 800px) {

    .uew-recent-posts ul li,
    .uew-recent-posts .container {
        display: block;
    }

    .uew-recent-posts .post-wrapper {
        width: 100%;
        margin-bottom: 50px;
    }

    .uew-recent-posts .img-wrapper {
        max-width: 100%;
    }

    .uew-recent-posts footer {
        padding-top: 30px;
    }

}