/* ========================================
   Post Navigation Styles
   ======================================== */

.post-navigation-wrapper {
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    padding: 40px 0;
    margin: 50px 0;
}

.nav-post {
    position: relative;
}

.nav-post-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.nav-post-next .nav-post-content {
    align-items: flex-end;
}

.nav-label {
    font-size: 14px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    display: block;
}

.nav-post-thumb {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
}

.nav-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.nav-post-thumb:hover img {
    transform: scale(1.1);
}

.nav-post-text h5 {
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 8px;
}

.nav-post-text h5 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-post-text h5 a:hover {
    color: var(--theme-color, #ea580c);
}

.nav-post-text .post-date {
    font-size: 13px;
    color: #666;
}

/* Back to Blog Button */
.back-to-blog {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.back-to-blog .theme-btn {
    padding: 12px 30px;
    border-radius: 25px;
}

.back-to-blog .theme-btn i {
    margin-right: 8px;
}

/* Simple Navigation (Alternative Style) */
.simple-post-navigation {
    border-top: 1px solid #e5e5e5;
    padding-top: 30px;
    margin-top: 30px;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--theme-color, #ea580c);
}

.nav-link i {
    margin: 0 8px;
}

.nav-link-prev {
    text-align: left;
}

.nav-link-next {
    text-align: right;
}

/* Responsive Design */
@media (max-width: 768px) {
    .post-navigation-wrapper {
        padding: 30px 0;
        margin: 30px 0;
    }

    .nav-post-content {
        text-align: center;
        align-items: center !important;
        margin-bottom: 30px;
    }

    .back-to-blog {
        margin: 20px 0;
    }

    .simple-post-navigation .row > div {
        text-align: center !important;
        margin-bottom: 15px;
    }
}
