        /* Local styles for blog post moved to head for correct loading */
        .blog-post-detail {
            max-width: 900px;
            margin: 40px auto;
        }

        .post-breadcrumbs {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-bottom: 16px;
            color: var(--text-light);
            font-size: 14px;
        }

        .post-breadcrumbs a {
            color: var(--primary-color);
        }
        
        .post-article {
            background: white;
            padding: 50px;
            border-radius: 16px;
            box-shadow: var(--shadow-lg);
        }
        
        .post-header {
            margin-bottom: 30px;
        }
        
        .post-main-title {
            font-size: 42px;
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 20px;
            line-height: 1.3;
        }
        
        .post-meta-detail {
            display: flex;
            gap: 25px;
            flex-wrap: wrap;
            font-size: 15px;
            color: var(--text-light);
            padding-bottom: 20px;
            border-bottom: 2px solid var(--border-color);
        }
        
        .meta-item {
            display: flex;
            align-items: center;
            gap: 6px;
        }
        
        .post-featured-image {
            margin: 30px 0;
            border-radius: 12px;
            overflow: hidden;
        }
        
        .post-featured-image img {
            width: 100%;
            height: auto;
        }
        
        .post-body {
            font-size: 17px;
            line-height: 1.8;
            color: var(--text-dark);
            margin: 40px 0;
        }
        
        .post-body p {
            margin-bottom: 20px;
        }
        
        .post-body h2, .post-body h3, .post-body h4 {
            margin-top: 30px;
            margin-bottom: 15px;
            color: var(--text-dark);
        }
        
        .post-body ul, .post-body ol {
            margin-left: 30px;
            margin-bottom: 20px;
        }
        
        .post-body li {
            margin-bottom: 10px;
        }

        .post-lead {
            font-size: 20px;
            line-height: 1.7;
            color: var(--text-dark);
        }

        .post-cta {
            margin: 40px 0;
            padding: 28px;
            border-radius: 12px;
            background: var(--bg-light);
            border-left: 4px solid var(--primary-color);
        }

        .post-cta h2 {
            margin-top: 0;
        }

        .post-cta .btn {
            margin: 8px 8px 0 0;
        }

        .related-links a {
            font-weight: 600;
        }
        
        .comments-section {
            margin-top: 60px;
            padding-top: 40px;
            border-top: 2px solid var(--border-color);
        }
        
        .comments-title {
            font-size: 28px;
            font-weight: 600;
            margin-bottom: 30px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .comment-item {
            background: var(--bg-light);
            padding: 20px;
            border-radius: 12px;
            margin-bottom: 20px;
            border-left: 4px solid var(--primary-color);
        }
        
        .comment-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 12px;
        }
        
        .comment-author {
            font-weight: 600;
            color: var(--text-dark);
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .comment-author i {
            font-size: 20px;
            color: var(--primary-color);
        }
        
        .comment-date {
            font-size: 14px;
            color: var(--text-light);
        }
        
        .comment-content {
            color: var(--text-dark);
            line-height: 1.6;
        }
        
        .no-comments {
            text-align: center;
            padding: 30px;
            color: var(--text-light);
            font-style: italic;
        }
        
        .comment-form {
            margin-top: 40px;
            padding: 30px;
            background: var(--bg-light);
            border-radius: 12px;
        }
        
        .form-title {
            font-size: 24px;
            font-weight: 600;
            margin-bottom: 25px;
        }
        
        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
        }
        
        .form-group {
            margin-bottom: 20px;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
            color: var(--text-dark);
        }
        
        .form-control {
            width: 100%;
            padding: 12px 16px;
            border: 1px solid var(--border-color);
            border-radius: 8px;
            font-size: 15px;
            font-family: inherit;
            transition: all 0.3s ease;
        }
        
        .form-control:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
        }
        
        .field-validation-error {
            display: block;
            color: #ef4444;
            font-size: 13px;
            margin-top: 5px;
        }
        
        .message-label {
            display: block;
            padding: 12px 20px;
            margin-top: 15px;
            border-radius: 8px;
            font-size: 14px;
        }
        
        .message-label.success {
            background: #d1fae5;
            color: #065f46;
            border: 1px solid #6ee7b7;
        }
        
        .message-label.error {
            background: #fee2e2;
            color: #991b1b;
            border: 1px solid #fca5a5;
        }
        
        .post-not-found {
            text-align: center;
            padding: 80px 40px;
        }
        
        .post-not-found h2 {
            font-size: 32px;
            margin: 20px 0;
            color: var(--text-dark);
        }
        
        .post-not-found p {
            color: var(--text-light);
            margin-bottom: 30px;
        }
        
        @media screen and (max-width: 768px) {
            .post-article {
                padding: 30px 20px;
            }
            
            .post-main-title {
                font-size: 28px;
            }
            
            .form-row {
                grid-template-columns: 1fr;
            }
        }