/* Single Post Page Styles */
.single-post-section {
    width: 100%;
    /* min-height: 100vh; */
    background: #f2efe3;
    position: relative;
}

/* Post Header */
.single-post-header {
    text-align: center;
    padding: 4rem 2rem;
    border-bottom: 1px solid rgba(38, 69, 112, 0.1);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex-direction: column;
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: saturate(0.9) contrast(1.05) brightness(0.85);
}
.single-post-content {
    width: 100%;
    max-width: 1300px;
    padding: 4rem 1rem;
    margin: 0 auto;
}

.single-post-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(38, 69, 112, 0.4) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(38, 69, 112, 0.2) 100%);
    z-index: 1;
}

.single-post-category-tag {
    display: inline-block;
    padding: 3px 20px;
    background: #264670;
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    border-radius: 25px;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    /* backdrop-filter: blur(10px); */
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.single-post-header-overlay {
    z-index: 9;
}
.single-post-title {
    font-family: 'Inter', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin: 0 0 1.25rem 0;
    line-height: 1.5;
    text-align: center;
    text-shadow: 0 4px 20px rgb(0 0 0 / 19%), 0 2px 10px rgb(0 0 0 / 26%);
    position: relative;
    z-index: 3;
}

.single-post-author-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
    position: relative;
    z-index: 3;
    flex-wrap: wrap; /* Allow wrapping if needed */
}

.single-post-author-icon {
    width: 20px;
    height: 20px;
    stroke: rgba(255, 255, 255, 0.8);
    fill: none;
}

.single-post-author-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    object-fit: cover;
}

.single-post-author-name {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    display: inline-block;
}

.single-post-meta-separator {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
}

.single-post-date {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}


/* Post Content */


.single-post-content h1,
.single-post-content h2,
.single-post-content h3,
.single-post-content h4,
.single-post-content h5,
.single-post-content h6 {
    font-family: 'Inter', sans-serif;
    color: #264570;
    margin: 0 0 1.5rem 0;
    line-height: 1.4;
}

.single-post-content h1 {
    font-size: 2.2rem;
    font-weight: 300;
}

.single-post-content h2 {
    font-size: 1.8rem;
    font-weight: 400;
}

.single-post-content h3 {
    font-size: 1.5rem;
    font-weight: 500;
}

.single-post-content h4 {
    font-size: 1.3rem;
    font-weight: 500;
}

.single-post-content h5 {
    font-size: 1.1rem;
    font-weight: 500;
}

.single-post-content h6 {
    font-size: 1rem;
    font-weight: 500;
}

.single-post-content p {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(38, 69, 112, 0.8);
    margin: 0 0 1.5rem 0;
}
.single-post-content p:last-child {
    margin-bottom: 0;
}

.single-post-content a {
    color: #264570;
    text-decoration: underline;
    text-decoration-color: rgba(38, 69, 112, 0.3);
    text-underline-offset: 3px;
    transition: all 0.3s ease;
}

.single-post-content a:hover {
    text-decoration-color: #264570;
    color: rgba(38, 69, 112, 0.8);
}

.single-post-content ul,
.single-post-content ol {
    margin: 0 0 1.5rem 0;
    padding-left: 2rem;
}

.single-post-content li {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(38, 69, 112, 0.8);
    margin-bottom: 0.5rem;
}

.single-post-content blockquote {
    border-left: 4px solid #264570;
    padding: 1rem 2rem;
    margin: 2rem 0;
    background: rgba(38, 69, 112, 0.05);
    border-radius: 0 8px 8px 0;
    font-family: 'Inter', sans-serif;
    font-style: italic;
    font-size: 1.1rem;
    color: rgba(38, 69, 112, 0.7);
}

.single-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 1.5rem 0;
    box-shadow: 0 4px 15px rgba(38, 69, 112, 0.1);
}

.single-post-content code {
    background: rgba(38, 69, 112, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #264570;
}

.single-post-content pre {
    background: rgba(38, 69, 112, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5rem 0;
    border: 1px solid rgba(38, 69, 112, 0.1);
}

.single-post-content pre code {
    background: none;
    padding: 0;
    font-size: 0.9rem;
}

/* Post Navigation */
.single-post-navigation {
    width: 100%;
    padding: 3rem 0;
    border: 1px solid #e4e3de;
    border-right: 0;
    border-left: 0;
}

.single-post-nav-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.single-post-nav-link {
    flex: 1;
    max-width: 45%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.single-post-nav-link:hover {
    opacity: 0.8;
}

.single-post-nav-empty {
    flex: 1;
    max-width: 45%;
}

.single-post-nav-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 400;
    color: #091f3b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.single-post-nav-link.prev .single-post-nav-label {
    justify-content: flex-start;
}

.single-post-nav-link.next .single-post-nav-label {
    justify-content: flex-end;
}

.single-post-nav-icon {
    width: 16px;
    height: 16px;
    stroke: #091f3b;
    fill: none;
}

.single-post-nav-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: bold;
    color: #264670;
    line-height: 1.4;
}

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

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

/* Post Footer */
.single-post-footer {
    padding: 2rem 0;
    border-top: 1px solid rgba(38, 69, 112, 0.1);
}

.single-post-tags {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.single-post-tag {
    padding: 6px 12px;
    background: rgba(38, 69, 112, 0.1);
    border-radius: 20px;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 400;
    color: #264570;
    text-decoration: none;
    transition: all 0.3s ease;
}

.single-post-tag:hover {
    background: rgba(38, 69, 112, 0.2);
    transform: translateY(-1px);
}




/* Responsive Design */
@media (max-width: 768px) {

    

    
    .single-post-header {
        padding: 3rem 1rem;
        min-height: 400px;
    }
    

    
    .single-post-title {
        font-size: 2.2rem;
    }
    
    .single-post-author-meta {
        gap: 0.5rem;
        font-size: 1rem;
    }
    

    
    .single-post-content h1 {
        font-size: 1.8rem;
    }
    
    .single-post-content h2 {
        font-size: 1.5rem;
    }
    
    .single-post-nav-container {
        padding: 0 1rem;
        gap: 1rem;
    }
    
    .single-post-nav-title {
        font-size: 1rem;
    }
    
    .single-post-nav-label {
        font-size: 0.75rem;
    }

    @media (max-width: 480px) {
        .single-post-header {
            padding: 2rem 1rem;
            /* min-height: 250px; */
        }
        

        
        .single-post-title {
            font-size: 1.8rem;
        }
        
        .single-post-author-meta {
            font-size: 0.9rem;
            flex-wrap: wrap;
            justify-content: center;
        }
        

        
        .single-post-content h1 {
            font-size: 1.5rem;
        }
        
        .single-post-content h2 {
            font-size: 1.3rem;
        }
        
        .single-post-content h3 {
            font-size: 1.1rem;
        }
        
        .single-post-navigation {
            padding: 2rem 0;
        }
        
        .single-post-nav-container {
            flex-direction: column;
            gap: 1.5rem;
        }
        
        .single-post-nav-link {
            max-width: 100%;
        }
        
        .single-post-nav-link.prev .single-post-nav-title,
        .single-post-nav-link.next .single-post-nav-title {
            text-align: left;
        }
        
         .single-post-nav-link.prev .single-post-nav-label,
         .single-post-nav-link.next .single-post-nav-label {
             justify-content: flex-start;
         }
     }
 }