/* Blog Post Show Page Styles */
.blog-post-page {
    background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
    min-height: 100vh;
}

.blog-post-container {
    max-width: 900px !important;
    margin: 0 auto !important;
    padding: 2rem 1rem !important;
}

/* Larger screens - make it wider */
@media (min-width: 1200px) {
    .blog-post-container {
        max-width: 1100px !important;
        padding: 2rem 2rem !important;
    }
    
    .blog-post-content {
        padding: 4rem !important;
        font-size: 1.125rem !important;
    }
}

/* Extra large screens */
@media (min-width: 1440px) {
    .blog-post-container {
        max-width: 1200px !important;
        padding: 2rem 3rem !important;
    }
    
    .blog-post-content {
        padding: 4.5rem !important;
    }
}

.blog-post-header {
    text-align: center;
    margin-bottom: 3rem;
}

.blog-post-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.blog-post-excerpt {
    font-size: 1.25rem;
    color: #d1d5db;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.blog-post-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    color: #9ca3af;
    font-size: 0.875rem;
    margin-bottom: 2rem;
}

.blog-post-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-post-meta-item svg {
    width: 1rem;
    height: 1rem;
}

.blog-post-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
}

.blog-post-tag {
    padding: 0.5rem 1rem;
    background: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.blog-post-tag:hover {
    background: rgba(59, 130, 246, 0.2);
    color: #93c5fd;
    transform: translateY(-1px);
}

.blog-post-featured-image {
    width: 100%;
    margin: 0 0 3rem 0;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.blog-post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.blog-post-content {
    background: rgba(31, 41, 55, 0.5);
    padding: 3.5rem;
    border-radius: 1rem;
    margin-bottom: 3rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(75, 85, 99, 0.2);
    line-height: 1.7;
    font-size: 1.1rem;
}

.blog-post-content h1,
.blog-post-content h2,
.blog-post-content h3,
.blog-post-content h4,
.blog-post-content h5,
.blog-post-content h6 {
    color: #ffffff;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-post-content h1 { font-size: 2rem; }
.blog-post-content h2 { font-size: 1.5rem; }
.blog-post-content h3 { font-size: 1.25rem; }

.blog-post-content p {
    color: #d1d5db;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.blog-post-content a {
    color: #60a5fa;
    text-decoration: none;
}

.blog-post-content a:hover {
    color: #93c5fd;
    text-decoration: underline;
}

.blog-post-content ul,
.blog-post-content ol {
    color: #d1d5db;
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.blog-post-content li {
    margin-bottom: 0.5rem;
}

.blog-post-content blockquote {
    border-left: 4px solid #60a5fa;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #d1d5db;
}

.blog-post-content pre {
    background: #111827;
    color: #e5e7eb;
    padding: 1.5rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin: 2rem 0;
}

.blog-post-content code {
    background: rgba(75, 85, 99, 0.3);
    color: #fbbf24;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
}

.blog-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 2rem 0;
}

.blog-post-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.blog-post-share-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.blog-post-share-btn:hover {
    background: rgba(59, 130, 246, 0.2);
    color: #93c5fd;
    transform: translateY(-1px);
}

.blog-post-share-btn svg {
    width: 1rem;
    height: 1rem;
}

.blog-post-related {
    margin-bottom: 3rem;
}

.blog-post-related-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin-bottom: 2rem;
}

.blog-post-related-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.blog-post-related-item {
    background: rgba(31, 41, 55, 0.5);
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(75, 85, 99, 0.2);
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
}

.blog-post-related-item:hover {
    background: rgba(31, 41, 55, 0.8);
    transform: translateY(-2px);
}

.blog-post-related-item a {
    text-decoration: none;
    color: inherit;
}

.blog-post-related-item h3 {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.blog-post-related-item time {
    color: #9ca3af;
    font-size: 0.875rem;
}

.blog-post-back-link {
    text-align: center;
}

.blog-post-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #60a5fa;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.blog-post-back-btn:hover {
    color: #93c5fd;
}

.blog-post-back-btn svg {
    width: 1rem;
    height: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-post-container {
        padding: 1rem;
    }
    
    .blog-post-title {
        font-size: 2rem;
    }
    
    .blog-post-excerpt {
        font-size: 1.125rem;
    }
    
    .blog-post-content {
        padding: 2rem 1.5rem;
    }
    
    .blog-post-meta {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .blog-post-actions {
        padding: 2rem 1.5rem;
        margin: 2rem 0;
    }
    
    .blog-post-actions .flex {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .blog-post-share-btn {
        justify-content: center;
        width: 100%;
        min-width: auto;
        padding: 1rem 1.5rem;
    }
    
    .blog-post-related-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Featured Image */
.blog-post-featured-image {
    margin: 3rem 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
}

.blog-post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

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

/* Enhanced Meta Information */
.blog-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 1.5rem 0;
    align-items: center;
    justify-content: center;
}

.blog-post-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #9CA3AF;
    font-size: 0.875rem;
}

.blog-post-meta-item svg {
    width: 1rem;
    height: 1rem;
    color: #6B7280;
}

/* Tags */
.blog-post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.5rem 0;
    justify-content: center;
}

.blog-post-tag {
    padding: 0.5rem 1rem;
    background: rgba(59, 130, 246, 0.1);
    color: #60A5FA;
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.blog-post-tag:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.4);
    transform: translateY(-1px);
}

/* Share Actions */
.blog-post-actions {
    margin: 3rem 0;
    padding: 2.5rem;
    background: rgba(17, 24, 39, 0.6);
    border: 1px solid rgba(75, 85, 99, 0.3);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    text-align: center;
}

.blog-post-actions h3 {
    margin-bottom: 0.75rem;
    color: #F9FAFB;
    font-size: 1.25rem;
    font-weight: 600;
}

.blog-post-actions .flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.blog-post-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.75rem;
    border-radius: 14px;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    min-width: 140px;
    justify-content: center;
}

/* Twitter Button */
.blog-post-share-btn[href*="twitter"] {
    background: linear-gradient(135deg, #1da1f2 0%, #0d8bd9 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(29, 161, 242, 0.3);
}

.blog-post-share-btn[href*="twitter"]:hover {
    background: linear-gradient(135deg, #0d8bd9 0%, #0a7bc4 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(29, 161, 242, 0.4);
}

/* LinkedIn Button */
.blog-post-share-btn[href*="linkedin"] {
    background: linear-gradient(135deg, #0077b5 0%, #005885 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 119, 181, 0.3);
}

.blog-post-share-btn[href*="linkedin"]:hover {
    background: linear-gradient(135deg, #005885 0%, #004567 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 119, 181, 0.4);
}

/* Facebook Button */
.blog-post-share-btn[href*="facebook"] {
    background: linear-gradient(135deg, #1877f2 0%, #166fe5 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(24, 119, 242, 0.3);
}

.blog-post-share-btn[href*="facebook"]:hover {
    background: linear-gradient(135deg, #166fe5 0%, #1464d6 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.4);
}

/* Copy Link Button */
.blog-post-share-btn[onclick] {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.blog-post-share-btn[onclick]:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.blog-post-share-btn svg {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
}

/* Related Posts */
.blog-post-related {
    margin: 4rem 0 3rem 0;
}

.blog-post-related-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #F9FAFB;
    margin-bottom: 2rem;
    text-align: center;
}

.blog-post-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.blog-post-related-item {
    background: rgba(17, 24, 39, 0.6);
    border: 1px solid rgba(75, 85, 99, 0.2);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.blog-post-related-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
    border-color: rgba(156, 163, 175, 0.3);
}

.blog-post-related-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: rgba(55, 65, 81, 0.5);
}

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

.blog-post-related-item:hover .blog-post-related-image img {
    transform: scale(1.05);
}

/* Utility Classes */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}