/* Import Google Fonts for better typography */
        @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
        
        body {
            font-family: 'Inter', sans-serif;
            line-height: 1.6;
            color: #333;
        }
        
        .author-profile-header {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 4rem 0;
            margin-bottom: 3rem;
        }
        
        .author-image-container {
            position: relative;
            width: 160px;
            height: 160px;
            margin: 0 auto 1.5rem;
        }
        
        .author-img {
            width: 100%;
            height: 100%;
            border-radius: 50%;
            border: 4px solid rgba(255,255,255,0.3);
            object-fit: cover;
        }
        
        .author-verified {
            position: absolute;
            bottom: 10px;
            right: 10px;
            background: #4CAF50;
            color: white;
            width: 35px;
            height: 35px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            font-weight: bold;
            border: 3px solid white;
            box-shadow: 0 3px 15px rgba(0,0,0,0.3);
            z-index: 2;
            line-height: 1;
        }
        
        .verified-text {
            background: #4CAF50;
            color: white;
            padding: 8px 16px;
            border-radius: 25px;
            font-size: 0.9rem;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            margin-top: 10px;
            box-shadow: 0 2px 10px rgba(76, 175, 80, 0.3);
        }
        
        .verified-text .check-icon {
            font-size: 1.2rem;
            font-weight: bold;
        }
        
        .author-stats {
            display: flex;
            justify-content: center;
            gap: 4rem;
            margin: 2.5rem 0;
        }
        
        .stat-item {
            text-align: center;
        }
        
        .stat-number {
            font-size: 1.5rem;
            font-weight: 500;
            display: block;
            font-feature-settings: "tnum";
        }
        
        .stat-label1 {
            font-size: 0.8rem;
            opacity: 0.9;
            font-weight: 400;
            letter-spacing: 0.5px;
      
    color: #a2adbd;
    
        }
        
        .author-details-card {
            background: white;
            border-radius: 16px;
            padding: 3rem;
            margin-bottom: 3rem;
            box-shadow: 0 10px 40px rgba(0,0,0,0.08);
            border: 1px solid #f0f0f0;
        }
        
        .author-bio {
            font-size: 1.2rem;
            line-height: 1.8;
            color: #555;
            margin-bottom: 2.5rem;
            font-weight: 400;
            text-align: center;
            max-width: 800px;
            margin-left: auto;
            margin-right: auto;
        }
        
        .section-title {
            font-size: 1.5rem;
            font-weight: 600;
            color: #2c3e50;
            margin-bottom: 1.5rem;
            text-align: center;
            position: relative;
        }
        
        .section-title:after {
            content: '';
            display: block;
            width: 60px;
            height: 3px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            margin: 10px auto;
            border-radius: 2px;
        }
        
        .expertise-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            margin-top: 1.5rem;
            justify-content: center;
        }
        
        .expertise-tag {
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            color: #495057;
            padding: 10px 20px;
            border-radius: 25px;
            font-size: 0.95rem;
            font-weight: 500;
            text-decoration: none;
            border: 1px solid #dee2e6;
            transition: all 0.3s ease;
        }
        
        .expertise-tag:hover {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
            text-decoration: none;
        }
        
        .posts-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
            gap: 2.5rem;
            margin-top: 3rem;
        }
        
        .post-card {
            background: white;
            border-radius: 16px;
            overflow: hidden;
            transition: all 0.3s ease;
            box-shadow: 0 5px 20px rgba(0,0,0,0.08);
            border: 1px solid #f0f0f0;
        }
        
        .post-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.15);
        }
        
        .post-card-image {
            height: 220px;
            overflow: hidden;
            position: relative;
        }
        
        .post-card-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        
        .post-card:hover .post-card-image img {
            transform: scale(1.1);
        }
        
        .post-card-content {
            padding: 2rem;
        }
        
        .post-title {
            font-size: 1.3rem;
            font-weight: 600;
            line-height: 1.4;
            margin-bottom: 1rem;
            color: #2c3e50;
        }
        
        .post-title a {
            text-decoration: none;
            color: inherit;
            transition: color 0.3s ease;
        }
        
        .post-title a:hover {
            color: #667eea;
            text-decoration: none;
        }
        
        .post-excerpt {
            font-size: 1rem;
            line-height: 1.6;
            color: #666;
            margin-bottom: 1.5rem;
            font-weight: 400;
        }
        
        .post-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 1.5rem;
            font-size: 0.9rem;
            color: #888;
            font-weight: 500;
        }
        
        .view-count {
            display: flex;
            align-items: center;
            gap: 6px;
            font-weight: 600;
            color: #667eea;
        }
        
        .no-posts {
            text-align: center;
            padding: 4rem;
            color: #666;
            background: #f8f9fa;
            border-radius: 16px;
            margin: 2rem 0;
        }
        
        .no-posts h3 {
            font-weight: 600;
            color: #2c3e50;
            margin-bottom: 1rem;
        }
        
        .no-posts p {
            font-size: 1.1rem;
            color: #777;
        }
        
        h1 {
            font-size: 3rem;
            font-weight: 700;
            letter-spacing: -0.5px;
            margin-bottom: 0.5rem;
        }
        
        .lead {
            font-size: 1.3rem;
            font-weight: 400;
            opacity: 0.9;
        }
        
        @media (max-width: 768px) {
            .author-stats {
                gap: 2rem;
                flex-direction: column;
            }
            
            .stat-number {
                font-size: 2rem;
            }
            
            .posts-grid {
                grid-template-columns: 1fr;
                gap: 2rem;
            }
            
            .author-details-card {
                padding: 2rem;
            }
            
            h1 {
                font-size: 2.2rem;
            }
            
            .author-bio {
                font-size: 1.1rem;
                text-align: left;
            }
            
            .expertise-tags {
                justify-content: flex-start;
            }
            
            .author-image-container {
                width: 140px;
                height: 140px;
            }
            
            .author-verified {
                width: 35px;
                height: 35px;
                font-size: 20px;
                bottom: 8px;
                right: 8px;
            }
            
            .verified-text {
                padding: 6px 14px;
                font-size: 0.85rem;
            }
        }
        
        /* Professional spacing and layout */
        .container {
            max-width: 1200px;
        }
        
        .author-main-content {
            padding: 2rem 0;
        }