/* Blog Detail Page - Professional Design */

/* Hero Section - Responsive Design */
.blog-detail-hero-section {
    background: 
        radial-gradient(circle at 20% 50%, rgba(42, 193, 174, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(6, 182, 212, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, #0f172a 0%, #1e293b 25%, #334155 50%, #1e293b 75%, #0f172a 100%);
    position: relative;
    overflow: hidden;
    color: white;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: clamp(60px, 8vh, 80px) clamp(15px, 5vw, 30px) clamp(40px, 6vh, 60px);
    box-sizing: border-box;
}

/* Floating Particles */
.blog-detail-floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.blog-detail-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: linear-gradient(45deg, #2BC7B4, #8B5CF6);
    border-radius: 50%;
    animation: blogDetailParticleFloat 15s infinite linear;
    opacity: 0.6;
}

.blog-detail-particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 20s; }
.blog-detail-particle:nth-child(2) { left: 20%; animation-delay: 2s; animation-duration: 18s; }
.blog-detail-particle:nth-child(3) { left: 30%; animation-delay: 4s; animation-duration: 22s; }
.blog-detail-particle:nth-child(4) { left: 40%; animation-delay: 6s; animation-duration: 16s; }
.blog-detail-particle:nth-child(5) { left: 60%; animation-delay: 8s; animation-duration: 24s; }
.blog-detail-particle:nth-child(6) { left: 70%; animation-delay: 10s; animation-duration: 14s; }
.blog-detail-particle:nth-child(7) { left: 80%; animation-delay: 12s; animation-duration: 26s; }
.blog-detail-particle:nth-child(8) { left: 90%; animation-delay: 14s; animation-duration: 12s; }

@keyframes blogDetailParticleFloat {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { transform: translateY(-100px) rotate(360deg); opacity: 0; }
}

/* Hero Content */
.blog-detail-hero-content {
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateY(50px);
    animation: blogDetailHeroFadeIn 1s ease forwards 0.3s;
}

/* Breadcrumb */
.breadcrumb-nav {
    margin-bottom: 2rem;
}

.breadcrumb {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin: 0;
}

.breadcrumb-item {
    font-size: 0.9rem;
}

.breadcrumb-item a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: #2BC7B4;
}

.breadcrumb-item.active {
    color: #94a3b8;
}

/* Article Meta */
.article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.category-badge,
.featured-badge,
.new-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-badge {
    background: linear-gradient(135deg, #2BC7B4, #8B5CF6);
    color: white;
}

.featured-badge {
    background: rgba(245, 158, 11, 0.9);
    color: white;
}

.new-badge {
    background: rgba(34, 197, 94, 0.9);
    color: white;
}

/* Article Title - Responsive */
.article-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.8rem, 4.5vw, 3rem); /* Responsive typography */
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    max-width: 100%;
    word-wrap: break-word;
}

.article-excerpt {
    font-size: clamp(1rem, 2.5vw, 1.2rem); /* Responsive typography */
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: clamp(300px, 90%, 800px); /* Responsive max-width */
}

/* Article Info */
.article-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.author-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2BC7B4, #8B5CF6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    overflow: hidden;
}

.author-img-large {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.author-img-bio {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.author-details {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 700;
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.author-title {
    color: #94a3b8;
    font-size: 0.9rem;
}

.article-stats {
    display: flex;
    gap: 1.5rem;
}

.stat-item {
    display: flex;
    align-items: center;
    color: #cbd5e1;
    font-size: 0.9rem;
}

.stat-item i {
    color: #2BC7B4;
}

/* Social Share */
.social-share {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.share-label {
    color: #94a3b8;
    font-weight: 600;
    font-size: 0.9rem;
}

.share-buttons {
    display: flex;
    gap: 0.5rem;
}

.share-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.share-btn.twitter { background: #1da1f2; }
.share-btn.facebook { background: #4267b2; }
.share-btn.linkedin { background: #0077b5; }
.share-btn.copy { background: #6b7280; }

.share-btn:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    color: white;
}

@keyframes blogDetailHeroFadeIn {
    to { opacity: 1; transform: translateY(0); }
}

/* Article Content Section */
.blog-detail-article-content-section {
    background: 
        linear-gradient(135deg, #fafbff 0%, #f0f4ff 25%, #ffffff 50%, #f8faff 75%, #fafbff 100%);
    padding: 80px 0;
}

.article-content {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 30px;
    padding: 3rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.featured-image {
    margin-bottom: 2rem;
    border-radius: 20px;
    overflow: hidden;
}

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

.image-caption {
    text-align: center;
    font-style: italic;
    color: #64748b;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Article Body Styling */
.article-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #374151;
}

.article-body h1,
.article-body h2,
.article-body h3,
.article-body h4,
.article-body h5,
.article-body h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    color: #1e293b;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-body h2 { font-size: 2rem; }
.article-body h3 { font-size: 1.5rem; }
.article-body h4 { font-size: 1.25rem; }

.article-body p {
    margin-bottom: 1.5rem;
}

.article-body ul,
.article-body ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.article-body li {
    margin-bottom: 0.5rem;
}

.article-body blockquote {
    border-left: 4px solid #2BC7B4;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #64748b;
    background: rgba(42, 193, 174, 0.05);
    padding: 1rem 1.5rem;
    border-radius: 0 10px 10px 0;
}

.article-body code {
    background: #f1f5f9;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #e11d48;
}

.article-body pre {
    background: #1e293b;
    color: #e2e8f0;
    padding: 1.5rem;
    border-radius: 10px;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 1.5rem 0;
}

/* Article Tags */
.article-tags {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #f1f5f9;
}

.tags-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tag {
    background: linear-gradient(135deg, #2BC7B4, #8B5CF6);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(42, 193, 174, 0.3);
    color: white;
}

/* Article Footer */
.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #f1f5f9;
}

.article-actions {
    display: flex;
    gap: 1rem;
}

.action-btn {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: rgba(139, 92, 246, 0.1);
    border: 2px solid rgba(139, 92, 246, 0.2);
    border-radius: 25px;
    color: #8B5CF6;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-btn:hover {
    background: linear-gradient(135deg, #2BC7B4, #8B5CF6);
    border-color: transparent;
    color: white;
    transform: translateY(-2px);
}

.share-again {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
    color: #64748b;
}

.share-buttons-small {
    display: flex;
    gap: 0.5rem;
}

.share-btn-small {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.8rem;
}

.share-btn-small.twitter { background: #1da1f2; }
.share-btn-small.facebook { background: #4267b2; }
.share-btn-small.linkedin { background: #0077b5; }

.share-btn-small:hover {
    transform: translateY(-2px) scale(1.1);
    color: white;
}

/* Author Bio */
.author-bio {
    background: rgba(248, 250, 255, 0.8);
    border-radius: 25px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(139, 92, 246, 0.1);
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.author-avatar-large {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2BC7B4, #8B5CF6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    flex-shrink: 0;
}

.author-info {
    flex: 1;
}

.author-info .author-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.author-info .author-title {
    color: #2BC7B4;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.author-description {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.author-social {
    display: flex;
    gap: 0.75rem;
}

.author-social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8B5CF6;
    text-decoration: none;
    transition: all 0.3s ease;
}

.author-social-link:hover {
    background: linear-gradient(135deg, #2BC7B4, #8B5CF6);
    color: white;
    transform: translateY(-2px);
}

/* Related Posts */
.related-posts {
    margin-bottom: 2rem;
}

.related-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 2rem;
    text-align: center;
}

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

.related-card {
    background: rgba(248, 250, 255, 0.8);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(139, 92, 246, 0.1);
    transition: all 0.3s ease;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.2);
}

.related-image {
    height: 180px;
    overflow: hidden;
}

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

.related-card:hover .related-image img {
    transform: scale(1.05);
}

.placeholder-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2BC7B4, #8B5CF6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.related-content {
    padding: 1.5rem;
}

.related-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.category-tag {
    background: linear-gradient(135deg, #2BC7B4, #8B5CF6);
    color: white;
    padding: clamp(0.2rem, 1vw, 0.25rem) clamp(0.5rem, 2vw, 0.75rem); /* Responsive padding */
    border-radius: clamp(12px, 2vw, 15px); /* Responsive border radius */
    font-size: clamp(0.7rem, 1.5vw, 0.8rem); /* Responsive font size */
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap; /* Prevent text wrapping */
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px; /* Prevent too wide */
}

.read-time {
    color: #64748b;
    font-size: 0.9rem;
}

.related-title {
    margin-bottom: 1rem;
}

.related-title a {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e293b;
    text-decoration: none;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.related-title a:hover {
    color: #2BC7B4;
}

.related-excerpt {
    color: #64748b;
    line-height: 1.5;
    font-size: 0.9rem;
}

/* Sidebar Styling */
.blog-sidebar {
    position: sticky;
    top: 2rem;
    height: fit-content;
}

.sidebar-widget {
    background: rgba(248, 250, 255, 0.8);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(139, 92, 246, 0.1);
    transition: all 0.3s ease;
}

.sidebar-widget:hover {
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.2);
}

.widget-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.5rem;
    text-align: center;
}

.widget-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2BC7B4, #8B5CF6);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
}

.widget-description {
    color: #64748b;
    text-align: center;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

/* Newsletter Widget - Removed */

/* Popular Posts Widget */
.popular-posts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.popular-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.popular-item:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: translateX(5px);
}

.popular-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.popular-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.placeholder-image-small {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2BC7B4, #8B5CF6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.popular-content {
    flex: 1;
}

.popular-title a {
    font-weight: 600;
    color: #1e293b;
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.popular-title a:hover {
    color: #2BC7B4;
}

.popular-meta {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: #64748b;
}

/* Categories Widget */
.categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-item {
    margin-bottom: 0.5rem;
}

.category-item a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.category-item a:hover {
    background: rgba(42, 193, 174, 0.1);
    transform: translateX(5px);
}

.category-name {
    color: #1e293b;
    font-weight: 600;
}

.category-count {
    background: linear-gradient(135deg, #2BC7B4, #8B5CF6);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Contact Widget */
.contact-widget {
    background: linear-gradient(135deg, #2BC7B4, #8B5CF6);
    color: white;
    text-align: center;
}

.contact-content {
    position: relative;
    z-index: 2;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
}

.contact-title {
    color: white;
    margin-bottom: 1rem;
}

.contact-description {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

/* Post Navigation */
.post-navigation {
    background: 
        linear-gradient(135deg, #fafbff 0%, #f0f4ff 25%, #ffffff 50%, #f8faff 75%, #fafbff 100%);
    padding: 60px 0;
}

.blog-post-nav-wrapper {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
}

.blog-post-nav-item {
    background: rgba(248, 250, 255, 0.8);
    border-radius: 20px;
    padding: 1.5rem;
    border: 1px solid rgba(139, 92, 246, 0.1);
    transition: all 0.3s ease;
}

.blog-post-nav-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.2);
}

.blog-post-nav-link {
    text-decoration: none;
    color: inherit;
}

.blog-post-nav-direction {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.blog-post-nav-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.3;
}

.blog-post-nav-prev {
    text-align: left;
}

.blog-post-nav-next {
    text-align: right;
}

.blog-post-nav-center {
    text-align: center;
}

.back-to-blog {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #2BC7B4, #8B5CF6);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.back-to-blog:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(42, 193, 174, 0.3);
    color: white;
}

/* Responsive Design */
@media (max-width: 992px) {
    .article-title { font-size: 2.5rem; }
    .article-info { flex-direction: column; gap: 1rem; }
    .article-stats { justify-content: center; }
    .related-grid { grid-template-columns: repeat(2, 1fr); }
    .author-bio { flex-direction: column; text-align: center; }
}

@media (max-width: 768px) {
    .blog-detail-hero-section { 
        padding: 100px 0 40px 0; 
        min-height: 80vh; 
    }
    
    /* Center align breadcrumb */
    .breadcrumb-nav {
        text-align: center;
    }
    .breadcrumb {
        display: inline-flex;
        justify-content: center;
    }
    
    /* Center align category badges */
    .article-meta {
        text-align: center;
        justify-content: center;
    }
    
    /* Center align article title */
    .article-title { 
        font-size: 2rem; 
        line-height: 1.2; 
        text-align: center;
    }
    
    /* Center align author avatar */
    .author-avatar-large {
        margin: 0 auto;
    }
    
    .article-content { padding: 2rem; }
    .social-share { flex-direction: column; gap: 1rem; }
    .share-buttons { justify-content: center; }
    .article-footer { flex-direction: column; gap: 1rem; }
    .related-grid { grid-template-columns: 1fr; }
    .blog-post-nav-wrapper { 
        grid-template-columns: 1fr; 
        gap: 1rem; 
        text-align: center;
    }
    .blog-post-nav-prev, .blog-post-nav-next { text-align: center; }
    .sidebar-widget { padding: 1.5rem; }
    .blog-sidebar { position: static; }
}

@media (max-width: 576px) {
    .article-title { 
        font-size: 1.6rem; 
        text-align: center;
    }
    .article-content { padding: 1.5rem; }
    .sidebar-widget { padding: 1rem; }
    .author-bio { 
        padding: 1.5rem; 
        text-align: center;
    }
    .author-avatar-large {
        margin: 0 auto 1rem auto;
    }
    .blog-post-nav-item { padding: 1rem; }
    
    /* Ensure breadcrumb stays centered on small screens */
    .breadcrumb {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
    
    /* Center category badges on small screens */
    .article-meta {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
}

/* Article Actions Section */
.article-actions {
    padding: 3rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-top: 1px solid #e2e8f0;
}

.actions-content {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.action-btn {
    display: flex;
    align-items: center;
    padding: clamp(10px, 2vw, 14px) clamp(20px, 4vw, 28px); /* Responsive padding */
    border: 2px solid #e2e8f0;
    border-radius: clamp(25px, 3vw, 30px); /* Responsive border radius */
    background: white;
    color: #64748b;
    font-size: clamp(0.85rem, 1.8vw, 1rem); /* Responsive font size */
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    min-width: clamp(140px, 25vw, 180px); /* Responsive min-width */
    justify-content: center;
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.like-btn:hover {
    border-color: #ef4444;
    color: #ef4444;
    background: rgba(239, 68, 68, 0.05);
}

.bookmark-btn:hover {
    border-color: #8b5cf6;
    color: #8b5cf6;
    background: rgba(139, 92, 246, 0.05);
}

.share-section {
    text-align: center;
}

.share-label {
    display: block;
    margin-bottom: 1rem;
    color: #64748b;
    font-size: clamp(0.9rem, 2vw, 1rem); /* Responsive font size */
    font-weight: 500;
}

.share-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(45px, 8vw, 50px); /* Responsive width */
    height: clamp(45px, 8vw, 50px); /* Responsive height */
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: clamp(1rem, 2vw, 1.2rem); /* Responsive font size */
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.facebook {
    background: #4267b2;
}

.share-btn.linkedin {
    background: #0077b5;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Blog Detail Final CTA */
.blog-detail-final-cta {
    padding: 4rem 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    color: white;
    text-align: center;
}

.blog-detail-cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.blog-detail-cta-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem); /* Responsive font size */
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #2BC7B4, #8B5CF6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-detail-cta-description {
    font-size: clamp(1rem, 2.2vw, 1.2rem); /* Responsive font size */
    color: #cbd5e1;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.blog-detail-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.blog-detail-secondary-btn {
    min-width: clamp(180px, 30vw, 220px); /* Responsive min-width */
    font-size: clamp(0.9rem, 1.8vw, 1rem); /* Responsive font size */
    border: 2px solid var(--white) !important;
    color: var(--white) !important;
    background: transparent !important;
    border-radius: 25px !important; /* Same as contact page */
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.blog-detail-secondary-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary-color), var(--electric-violet));
    transition: left 0.3s ease;
    z-index: -1;
}

.blog-detail-secondary-btn:hover {
    color: var(--white) !important;
    border-color: transparent !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

.blog-detail-secondary-btn:hover::before {
    left: 0;
}

/* Responsive improvements for mobile */
@media (max-width: 768px) {
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .action-btn {
        width: 100%;
        max-width: 280px;
    }
    
    .share-buttons {
        gap: 0.8rem;
    }
    
    .blog-detail-cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .blog-detail-secondary-btn {
        width: 100%;
        max-width: 300px;
    }
}
