/* Single Post Container */
.single-post-container {
    display: flex;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    padding: 0 180px 0 40px;
}

/* Fixed Featured Image */
.post-featured-image {
    position: fixed;
    left: 0;
    top: 0;
    width: 40%;
    height: 100vh;
    overflow: hidden;
    z-index: 1;
}

.post-featured-image .featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.no-featured-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.placeholder-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    padding: 0 2rem;
}

/* Scrollable Content */
.post-content-wrapper {
    margin-left: 50%;
    width: 50%;
    min-height: 100vh;
    background: #000;
    color: #fff;
    z-index: 2;
    position: relative;
}

.post-content-inner {
    padding: 4rem 0;
    /* max-width: 800px; */
}

/* Post Header */
.post-header {
    margin-bottom: 3rem;
}

.post-title {
    margin-top: 50px !important;
    font-size: 1.5rem;
    margin: 0 0 1rem 0;
    color: #fff;
    text-transform: uppercase;
    font-style: normal;
    font-weight: 500;
    line-height: 120%; 
    letter-spacing: 1.5px;
}

.post-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 2rem;
}

.post-meta span {
    position: relative;
}

.post-meta span:not(:last-child)::after {
    content: '•';
    margin-left: 1rem;
    color: #666;
}

/* Post Content */
.post-content {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #fff;
    margin-bottom: 4rem;
}

.post-content img {
    display: block;
  margin: 5px 0 5px auto;
}

.post-content p {
    margin-bottom: 1.5rem;
}

.post-content h2,
.post-content h3,
.post-content h4 {
    color: #fff;
    margin: 2rem 0 1rem 0;
    font-weight: 600;
}

.post-content blockquote {
    border-left: 4px solid #667eea;
    padding-left: 2rem;
    margin: 2rem 0;
    font-style: italic;
    color: #ccc;
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem 2rem;
    border-radius: 0 8px 8px 0;
}

/* Post Navigation */
.post-navigation {
    margin: 4rem 0;
    padding: 2rem 0;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}

.post-navigation .nav-links {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
    flex: 1;
    text-decoration: none;
    color: #fff;
    transition: color 0.3s ease;
}

.post-navigation .nav-previous:hover,
.post-navigation .nav-next:hover {
    color: #667eea;
}

.nav-subtitle {
    display: block;
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 0.5rem;
}

.nav-title {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Recent Articles Section */
.recent-articles {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid #333;
}

.section-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    color: var(--Primary-Alabaster, #F6F4EF);
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 0.9px;
}

.recent-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.recent-post-item {
    /* background: rgba(255, 255, 255, 0.05); */
    /* border-radius: 12px; */
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.recent-post-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.recent-post-item:nth-child(2) {
  margin-top: 100px;
}

.recent-post-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.recent-post-image {
    width: 100%;
    height: 350px;
    overflow: hidden;
}

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

.recent-post-item:hover .recent-img {
    transform: scale(1.05);
}

.recent-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #333 0%, #555 100%);
}

.recent-post-content {
    padding: 1.5rem 0;
}

.recent-post-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}

.recent-post-excerpt {
    font-size: 0.9rem;
    color: #ccc;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.recent-post-meta {
    font-size: 0.8rem;
    color: #999;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .single-post-container {
        flex-direction: column;
    }
    
    .post-featured-image {
        position: relative;
        width: 100%;
        height: 50vh;
    }
    
    .post-content-wrapper {
        margin-left: 0;
        width: 100%;
    }
    
    .post-content-inner {
        padding: 2rem 1.5rem;
    }
    
    .post-title {
        font-size: 2rem;
    }
    
    .recent-posts-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .post-featured-image {
        height: 40vh;
    }
    .single-post-container {
        padding: 0 40px 0 40px;
    }
    
    .post-content-inner {
        padding: 1.5rem 1rem;
    }
    
    .post-title {
        font-size: 1.8rem;
    }
    
    .post-navigation .nav-links {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Hide default theme elements that might interfere */
.site-header,
.site-footer {
    display: none;
}

body.single-post {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}