/* =========================================
   TWS CUSTOM PREVIOUS / NEXT NAVIGATION
========================================= */

.tws-post-nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
    align-items: stretch;
    width: 100%;
    background: #fbf7f2;
    border-radius: 8px;
    overflow: hidden;
    min-height: 145px;
}


/* SIDES */

.tws-post-nav__side {
    min-width: 0;
}

.tws-post-nav__link {
    display: flex;
    align-items: center;
    gap: 28px;
    width: 100%;
    height: 100%;
    padding: 16px 20px;
    text-decoration: none !important;
    color: inherit;
}


/* IMAGE */

.tws-post-nav__image {
    flex: 0 0 120px;
    width: 150px;
    height: 100px;
    overflow: hidden;
    border-radius: 7px;
}

.tws-post-nav__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
    object-position: center;
}

.tws-post-nav__link:hover .tws-post-nav__image img {
    transform: scale(1.04);
}


/* CONTENT */

.tws-post-nav__content {
    flex: 1;
    min-width: 0;
}

.tws-post-nav__label {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 10px;
    font-size: 13px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #b97b55;
    font-weight: 600;
}

.tws-post-nav__label img {
    fill: #b97b55;
    color: #b97b55;
}


/* TITLE */

.tws-post-nav__title {
    font-size: 22px;
    line-height: 1.2;
    font-weight: 400;
    font-family: 'Marcellus';
}


/* NEXT SIDE */

.tws-post-nav__side--next .tws-post-nav__link {
    text-align: right;
}

.tws-post-nav__side--next .tws-post-nav__label {
    justify-content: flex-end;
}


/* CENTER LINE */

.tws-post-nav__divider {
    width: 1px;
    height: 70px;
    align-self: center;
    background: rgba(50, 40, 34, .25);
}


/* HOVER */

.tws-post-nav__link:hover .tws-post-nav__title {
    color: #b97b55;
}


/* TABLET */

@media (max-width: 1024px) {

    .tws-post-nav__link {
        gap: 18px;
    }

    .tws-post-nav__image {
        flex-basis: 95px;
        width: 95px;
        height: 90px;
    }

    .tws-post-nav__title {
        font-size: 20px;
    }

}


/* MOBILE */

@media (max-width: 767px) {

    .tws-post-nav {
        display: block;
        min-height: 0;
    }

    .tws-post-nav__divider {
        width: calc(100% - 32px);
        height: 1px;
        margin: 0 auto;
    }

    .tws-post-nav__link {
        padding: 16px;
        gap: 15px;
    }

    .tws-post-nav__image {
        flex: 0 0 82px;
        width: 82px;
        height: 82px;
    }

    .tws-post-nav__title {
        font-size: 18px;
    }

    .tws-post-nav__label {
        font-size: 10px;
        margin-bottom: 7px;
    }

}
