/* Horizontal centered language post link */
.post-link.horizontal {
    display: flex;
    align-items: center;
    /* Safari flexbox fixes */
    -webkit-box-align: center;
    -webkit-align-items: center;
    width: 100%;
    overflow: hidden;
}

.post-link.horizontal .post-title {
    margin-bottom: 0;
    color: black;
    margin-top: 12px;
    transition: color 0.2s ease;
}

.post-link.horizontal.centered {
    padding: 1.15rem 0;
    /* Safari container fixes */
    max-width: 100%;
    box-sizing: border-box;
}

.post-link.horizontal.centered > div:nth-child(1) {
    width: 45%;
    /* Safari flexbox fixes */
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 45%;
    flex: 0 0 45%;
    min-width: 0;
    overflow: hidden;
}

.post-link.horizontal.centered > div:nth-child(1) img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: cover;
    /* Safari image fixes */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.post-link.horizontal.centered > div:nth-child(2) {
    width: 55%;
    /* Safari flexbox fixes */
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 55%;
    flex: 0 0 55%;
    padding: 1.15rem;
    text-align: center;
    min-width: 0;
    box-sizing: border-box;
}

.post-link.horizontal.centered .post-title {
    font-size: 22px;
    margin-bottom: 12px;
}

.post-link.horizontal.centered .post-author a {
    font-size: 13px;
    color: #EB2323;
}

.post-link.horizontal.centered .post-author a:hover {
    color: #5A5A5A;
}

.post-link.horizontal.centered .post-title:hover {
    color: #5A5A5A;
}

/* Safari mobile responsive fixes */
@media (max-width: 768px) {
    .post-link.horizontal.centered {
        flex-direction: column;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
    }
    
    .post-link.horizontal.centered > div:nth-child(1),
    .post-link.horizontal.centered > div:nth-child(2) {
        width: 100%;
        flex: none;
        -webkit-flex: none;
    }
    
    .post-link.horizontal.centered > div:nth-child(2) {
        padding: 1rem 0;
    }
}