/* Single Post Modern Design */

/* Main Wrapper */
.single-post-wrapper {
    padding: 40px 0;
    margin: 0;
}

/* Container */
.single-post-container {
    margin: 0 auto;
    overflow: hidden;
}

/* Post Article */
.post-article {
    width: 100%;
}

/* Hero Section */
.post-hero {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.post-hero-image {
    width: 100%;
    height: 100%;
    position: relative;
    text-align: center;
}

.post-hero-image img {
    width: auto;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Post Header Section */
.post-header {
    padding-inline: var(--padding-inline) !important;
    background: #ffffff;
}

.post-meta-top {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.post-type-badge {
    background: var(--primary);;
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px var(--primary);;
}

.post-date-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.calendar-icon {
    color: #6c757d;
    flex-shrink: 0;
    transition: color 0.3s ease;
}

.post-date-wrapper:hover .calendar-icon {
    color: #495057;
}

.post-date {
    color: #6c757d;
    font-size: 0.95rem;
    font-weight: 500;
}

/* Post Title */
.post-title {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
    color: #1a202c;
    letter-spacing: -0.02em;
}

/* Content Wrapper */
.post-content-wrapper {
    padding-inline: var(--padding-inline) !important;
    padding-top: 1rem;
}

/* Post Content */
.post-content {
    font-size: 1.0rem;
    line-height: 1.8;
    color: #2c3e50;
    max-width: 100%;
}

.post-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a202c;
    margin: 2.5rem 0 1.5rem;
    line-height: 1.3;
}

.post-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
    margin: 2rem 0 1rem;
    line-height: 1.4;
}

.post-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #4a5568;
    margin: 1.5rem 0 1rem;
}

.post-content p {
    margin-bottom: 1.5rem;
    color: #4a5568;
}

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

.post-content li {
    margin-bottom: 0.75rem;
    color: #4a5568;
}

.post-content blockquote {
    border-left: 4px solid #007bff;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #6c757d;
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 0 8px 8px 0;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.post-content a {
    color: #007bff;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.post-content a:hover {
    border-bottom-color: #007bff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .single-post-wrapper {
        padding: 20px 0;
    }
    
    .single-post-container {
        margin: 0 20px;
        border-radius: 12px;
    }
    
    .post-hero {
        height: 300px;
    }
    
    .post-header {
        padding: 30px 20px 20px;
    }
    
    .post-title {
        font-size: 2rem;
        line-height: 1.3;
    }

    .post-content {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .post-content h2 {
        font-size: 1.5rem;
        margin: 2rem 0 1rem;
    }
    
    .post-date-wrapper {
        gap: 6px;
    }
    
    .calendar-icon {
        width: 14px;
        height: 14px;
    }
    
    .post-content h3 {
        font-size: 1.25rem;
        margin: 1.5rem 0 0.75rem;
    }
    
    .post-meta-top {
        gap: 15px;
        margin-bottom: 15px;
    }
    
    .post-type-badge {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .post-date {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .single-post-wrapper {
        padding: 15px 0;
    }
    
    .single-post-container {
        margin: 0 15px;
        border-radius: 8px;
    }
    
    .post-hero {
        height: 250px;
    }
    
    .post-header {
        padding: 25px 15px 20px;
    }
    
    .post-title {
        font-size: 1.75rem;
    }
    
   
    
    .post-content {
        font-size: 0.95rem;
    }
    
    .post-meta-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* Print Styles */
@media print {
    .single-post-wrapper {
        background: #ffffff;
        padding: 0;
    }
    
    .single-post-container {
        box-shadow: none;
        max-width: none;
        border-radius: 0;
    }
    
    .post-content {
        color: #000000;
    }
}
