/*
 * styles for Single prev/next post navigation template
 */
.more-post-links {
    font-family: var(--fntsize-body);
    font-weight: 600;
    padding-left: var(--padding-col-unit);
    padding-right: var(--padding-col-unit);
}
.more-post-links .row{
    margin-bottom: 0;
}
.more-post-links.both-items .row {
    justify-content: space-between;
}
.more-post-links.next-only .row {
    justify-content: flex-end;
}
.more-post-links .item {
    text-decoration: none;
    flex-direction: column;
    width: 390px;
    max-width: 49%;
    position:relative;
    min-height: 45px;
    justify-content: flex-start;
    box-sizing: border-box;
}
.more-post-links .item.prev {
    align-items: flex-start;
    padding-left: 60px;
}
.more-post-links .item.next {
    align-items: flex-end;
    text-align: right;
    padding-right: 60px;
}
.more-post-links .item.prev .icon {
    left: 0;
}
.more-post-links .item.next .icon {
    right: 0;
}

.more-post-links .item .icon {
    font-size: 1.2rem;
    width:40px;
    height: 40px;
    background-color: var(--color-emphasize);
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top:0;
}

.more-post-links span {
    display: block;
}
.more-post-links .sign {
    font-size: .875em;
    color: var(--color-link);
}

.more-post-links .title {
    font-weight: 700;
}

.more-post-links a {
    transition-property: opacity,color;
    transition-duration: var(--transduration-body);
}
.more-post-links a:hover,
.more-post-links a:focus {
    color:var(--color-link-hover);
    opacity: .6;
}

@media (max-width: 768px) {
    .more-post-links .date,
    .more-post-links .title{
        display: none;
    }
    .more-post-links .sign {
        line-height: 25px;
    }
    .more-post-links .item {
        min-height: 25px;
    }
    .more-post-links .item.prev {
        padding-left: 40px;
    }
    .more-post-links .item.next {
        padding-right: 40px;
    }
    .more-post-links .item .icon {
        width:25px;
        height: 25px;
    }
}