/* Post Detail Page Styles */
.post-detail-container {
    min-height: 100vh;
    padding: 15px 0;
}

/* Breadcrumb Actions Styles */

.breadcrumb-actions .action-item {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb), 0.1) 0%, rgba(var(--secondary-color-rgb), 0.1) 100%);
    border: 1px solid rgba(var(--primary-color-rgb), 0.2);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    color:white;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(var(--primary-color-rgb), 0.1);
}

.breadcrumb-actions .action-item:hover {
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb), 0.15) 0%, rgba(var(--secondary-color-rgb), 0.15) 100%);
    border-color: rgba(var(--primary-color-rgb), 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(var(--primary-color-rgb), 0.2);
}

.breadcrumb-actions .action-item i {
    color: white;
    opacity: 0.8;
}

.post-content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInUp 0.6s ease-out;
}

.post-content-card {
    background: linear-gradient(144deg, #242252 0%, #302aa5 50%, #15192b 100%);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: none;
    overflow: hidden;
    margin-bottom: 2rem;
}

.post-meta-section {
    padding: 10px 20px;
}

.post-meta-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.post-meta-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.post-meta-badge.featured {
    background: linear-gradient(135deg, var(--button-gradient-start) 0%, var(--button-gradient-end) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(var(--button-gradient-start), 0.3);
}

.post-meta-badge.category {
    background: linear-gradient(144deg, #242252 0%, #302aa5 50%, #15192b 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(var(--primary-color-rgb), 0.3);
}

.post-meta-badge.time {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
}

.post-featured-image {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 2rem;
}

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

.post-featured-image:hover img {
    transform: scale(1.02);
}

.post-content-body {
    line-height: 1.8;
    color: white;
}

.post-content-body h1,
.post-content-body h2,
.post-content-body h3,
.post-content-body h4,
.post-content-body h5,
.post-content-body h6 {
    color: white;
    font-weight: 700;
    margin: 10px 0;
    line-height: 1.3;
}

.post-content-body h1 {
    font-size: 30px;
    background: linear-gradient(144deg, #242252 0%, #302aa5 50%, #15192b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.post-content-body h2 {
    font-size: 24px;
    border-left: 4px solid var(--primary-color);
    padding-left: 1rem;
}

.post-content-body h3 {
    font-size: 20px;
    color: var(--primary-color);
}

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

.post-content-body img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
    margin: 1rem auto 0;
    transition: transform 0.3s ease;
}

.post-content-body blockquote {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 5px solid var(--primary-color);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 10px 10px 0;
    font-style: italic;
    color: #495057;
    position: relative;
}

.post-content-body blockquote::before {
    content: '"';
    font-size: 4rem;
    color: var(--primary-color);
    position: absolute;
    top: -10px;
    left: 15px;
    opacity: 0.3;
}

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

.post-content-body li {
    margin-bottom: 0.5rem;
    position: relative;
}

.post-content-body ul li::marker {
    color: var(--primary-color);
}

.post-content-body ol li::marker {
    color: var(--primary-color);
    font-weight: bold;
}

.post-content-body table {
    width: 100%;
    margin: 2rem 0;
    border-collapse: collapse;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: linear-gradient(144deg, #242252 0%, #302aa5 50%, #15192b 100%);
}

.post-content-body th,
.post-content-body td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #dee2e6;
}

.post-content-body th {
    background: linear-gradient(144deg, #242252 0%, #302aa5 50%, #15192b 100%);
    color: white;
    font-weight: 600;
}

.post-content-body tr:hover {
    background-color: #f8f9fa;
}

.post-content-body code {
    background: #f8f9fa;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: #e83e8c;
    font-size: 0.9em;
}

.post-content-body pre {
    background: #2d3748;
    color: #e2e8f0;
    padding: 1.5rem;
    border-radius: 10px;
    overflow-x: auto;
    margin: 1.5rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.post-content-body pre code {
    background: none;
    color: inherit;
    padding: 0;
}

.post-actions-card {
    background: linear-gradient(144deg, #242252 0%, #302aa5 50%, #15192b 100%);
    border: none;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.social-share-section h6 {
    color: white;
    font-weight: 600;
    margin-bottom: 1rem;
}

.social-share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.social-btn.facebook {
    background: linear-gradient(135deg, #1877f2 0%, #42a5f5 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(24, 119, 242, 0.3);
}

.social-btn.facebook:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.4);
    color: white;
}

.social-btn.twitter {
    background: linear-gradient(135deg, #1da1f2 0%, #42a5f5 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(29, 161, 242, 0.3);
}

.social-btn.twitter:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(29, 161, 242, 0.4);
    color: white;
}

.social-btn.linkedin {
    background: linear-gradient(135deg, #0077b5 0%, #42a5f5 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 119, 181, 0.3);
}

.social-btn.linkedin:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 119, 181, 0.4);
    color: white;
}

.social-btn.copy {
}

.social-btn.copy:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(108, 117, 125, 0.4);
}

.social-btn.copy.success {
    background: #28a745;
    color: white;
}

.post-navigation-card {
    background: linear-gradient(144deg, #242252 0%, #302aa5 50%, #15192b 100%);
    border: none;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.nav-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.875rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
}

.nav-btn.primary {
    background: linear-gradient(144deg, #242252 0%, #302aa5 50%, #15192b 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(var(--primary-color-rgb), 0.3);
}

.nav-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(var(--primary-color-rgb), 0.4);
    color: white;
}

.nav-btn.secondary {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
}

.nav-btn.secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(108, 117, 125, 0.4);
    color: white;
}

.update-time {
    color: #ddd;
    font-size: 0.9rem;
    font-style: italic;
}

/* Responsive Design for Breadcrumb Actions */
@media (max-width: 768px) {
        
    .post-detail-container {
        padding: 1rem 0;
    }
    
    .post-meta-section {
        padding: 10px;
    }
        
    .post-content-body h1 {
        font-size: 2rem;
    }
    
    .post-content-body h2 {
        font-size: 1.5rem;
    }
    
    .post-content-body h3 {
        font-size: 1.25rem;
    }
    
    .social-share-buttons {
        justify-content: center;
    }
    
    .social-btn {
        flex: 1;
        min-width: 120px;
        justify-content: center;
    }
    
    .post-featured-image img {
        height: 200px;
    }
    
    .nav-btn {
        margin-bottom: 0.5rem;
    }
    
    .toast-notification {
        right: 10px;
        left: 10px;
        transform: translateY(-100px);
    }
    
    .toast-notification.show {
        transform: translateY(0);
    }
}

@media (max-width: 576px) {
        
    .post-meta-badges {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .post-meta-badge {
        width: 100%;
        justify-content: center;
    }
    
    .social-share-buttons {
        flex-direction: column;
    }
    
    .social-btn {
        width: 100%;
    }
    
    
    .post-content-body h1 {
        font-size: 1.5rem;
    }
    
    .post-content-body h2 {
        font-size: 1.25rem;
    }
    
    .post-featured-image img {
        height: 180px;
    }
}

/* Toast Notification */
.toast-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--button-gradient-start) 0%, var(--button-gradient-end) 100%);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(var(--button-gradient-start), 0.3);
    z-index: 9999;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s ease;
    font-weight: 500;
}

.toast-notification.show {
    transform: translateX(0);
    opacity: 1;
}

/* Animation for smooth loading */
.post-content-card {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
