/* ========================================================================
   CATEGORY-AWARE POST NAVIGATION
   ======================================================================== */

/* Main navigation container */
.post-navigation.ast-single-post-navigation {
    display: block !important;
    margin: 40px 0;
    padding: 30px 0;
    border-top: 2px solid #2c5f5f;
    border-bottom: 2px solid #2c5f5f;
    clear: both;
}

/* Navigation links container */
.post-navigation .nav-links {
    display: flex !important;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

/* Individual previous/next sections */
.post-navigation .nav-previous,
.post-navigation .nav-next {
    flex: 1;
    max-width: 48%;
}

/* Previous aligns left */
.post-navigation .nav-previous {
    text-align: left;
}

/* Next aligns right */
.post-navigation .nav-next {
    text-align: right;
    margin-left: auto;
}

/* Links styling */
.post-navigation .nav-previous a,
.post-navigation .nav-next a {
    display: block;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.post-navigation .nav-previous a:hover,
.post-navigation .nav-next a:hover {
    color: #2c5f5f;
}

.post-navigation .nav-previous a:hover {
    transform: translateX(-3px);
}

.post-navigation .nav-next a:hover {
    transform: translateX(3px);
}

/* Label styling (Previous/Next text) */
.post-navigation .ast-post-nav-label {
    display: block;
    font-size: 0.85em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #2c5f5f;
    margin-bottom: 8px;
}

/* Post title in navigation */
.post-navigation .post-title {
    display: block;
    font-size: 1.1em;
    font-weight: 500;
    line-height: 1.4;
    color: #333;
}

/* Add arrows via pseudo-elements */
.post-navigation .nav-previous a:before {
    content: "←";
    font-size: 1.2em;
    margin-right: 5px;
}

.post-navigation .nav-next a:after {
    content: "→";
    font-size: 1.2em;
    margin-left: 5px;
}

/* ========================================================================
   RESPONSIVE - MOBILE
   ======================================================================== */

@media (max-width: 768px) {
    /* Stack navigation on mobile */
    .post-navigation .nav-links {
        flex-direction: column;
        gap: 30px;
    }
    
    .post-navigation .nav-previous,
    .post-navigation .nav-next {
        max-width: 100%;
        text-align: left;
    }
    
    .post-navigation .nav-next {
        margin-left: 0;
    }
}

/* ========================================================================
   PRINT STYLES
   ======================================================================== */

@media print {
    /* Hide navigation when printing */
    .post-navigation {
        display: none;
    }
}

/* ========================================================================
   REMOVE LEGACY THEME BACKGROUNDS
   ======================================================================== */

.ticss-644f636f::before {
  background-image: none !important;
}

