/* Series Post Navigation Frontend Styles */

.pps-nav-links a {
    font-size: 16px;
}


.pps-navigation-content {
    box-sizing: border-box;
}

.pps-nav-series-title {
    margin: 0;
    margin-right: 10px;
    display: flex;
    align-items: center;
    font-size: 24px;
}

.pps-nav-links {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

/* When there's only one link (Next on first post), position it on the right */
.pps-nav-links .pps-nav-next:only-child {
    margin-left: auto;
}

/* Left group for proper separator positioning with space-between */
.pps-nav-left-group {
    display: inline-flex;
    align-items: center;
    gap: inherit;
}

.pps-nav-links a {
    color: #0073aa;
    text-decoration: none;
}

.pps-nav-separator {
    color: #999;
    margin: 0 5px;
}

/* Raw text links - no button styling */
.pps-navigation-content .pps-nav-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    background-color: transparent;
    border: none;
    border-radius: 0;
    color: #0073aa;
    text-decoration: none;
}

/* Featured image styles */
.pps-nav-featured-image {
    display: inline-block;
    vertical-align: middle;
    border-radius: 4px;
    flex-shrink: 0;
}

.pps-nav-link-text {
    display: inline-block;
    vertical-align: middle;
}

/* Arrow styles */
.pps-nav-arrow {
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
    line-height: 1;
}

.pps-nav-arrow svg {
    display: block;
}

.pps-nav-arrow-custom {
    object-fit: contain;
}

/* Responsive */
@media (max-width: 768px) {
    .pps-navigation-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .pps-nav-links {
        flex-wrap: wrap;
    }
    
    .pps-nav-featured-image {
        max-width: 60px;
        height: auto;
    }
}
