/* ==========================================
   AUTHOR PROFILE - ULTRA MODERN DESIGN
   ========================================== */

/* Hero Section - Full Width Premium Header */
.author-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    padding: 0;
    margin: 0;
    position: relative;
    overflow: hidden;
    min-height: 450px;
    display: flex;
    align-items: center;
}

/* Animated Background Pattern */
.author-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    animation: backgroundShift 15s ease infinite;
}

@keyframes backgroundShift {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Decorative Shapes */
.author-header::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to top, #f8f9fa 20%, transparent);
}

.author-header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    position: relative;
    z-index: 2;
    text-align: center;
}

/* Author Photo - Ultra Premium */
.author-photo {
    width: 200px;
    height: 200px;
    border-radius: 30px;
    border: 4px solid rgba(255, 255, 255, 0.4);
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 2px 10px rgba(255, 255, 255, 0.2);
    object-fit: cover;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: photoFloat 6s ease-in-out infinite;
}

@keyframes photoFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.author-photo:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow:
        0 30px 60px -15px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.2);
}

/* Author Info */
.author-info {
    color: white;
}

.author-name {
    font-size: 3.5rem;
    font-weight: 900;
    margin: 0 0 1.5rem;
    color: white;
    letter-spacing: -0.03em;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Author Meta - Email, Stats & Social combined */
.author-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.author-email {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.author-email:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.author-email i {
    font-size: 1rem;
}

.author-email a {
    color: white;
    text-decoration: none;
    font-weight: 600;
}

/* Stats - Inline Card */
.author-stats {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px);
    border-radius: 50px;
    padding: 0.75rem 2rem;
    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.author-stats:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 900;
    color: white;
    line-height: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.stat-label {
    font-size: 0.85rem;
    opacity: 0.95;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

/* Social Links - Modern Buttons */
.social-links {
    display: inline-flex;
    gap: 0.75rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    color: white !important;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    background: white;
    color: #667eea !important;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Main Content Area */
main.container {
    max-width: 1200px;
    margin: -80px auto 0;
    padding: 0 2rem 4rem;
    position: relative;
    z-index: 10;
}

/* Breadcrumb - Minimal & Modern */
.breadcrumb {
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.breadcrumb ol {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.breadcrumb li::after {
    content: '›';
    margin-left: 0.75rem;
    color: #cbd5e0;
    font-weight: 600;
}

.breadcrumb li:last-child::after {
    display: none;
}

.breadcrumb a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: #764ba2;
}

.breadcrumb .active span {
    color: #4a5568;
    font-weight: 500;
}

/* Biography - Premium Card */
.author-bio {
    background: white;
    padding: 3rem;
    border-radius: 25px;
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.08),
        0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 3rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.author-bio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
}

.author-bio h2 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #1a202c;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.author-bio h2::before {
    content: '📝';
    font-size: 1.5rem;
}

.author-bio p {
    line-height: 1.9;
    color: #4a5568;
    font-size: 1.1rem;
    letter-spacing: 0.01em;
}

/* Section Title - Ultra Modern */
.section-title {
    font-size: 2.25rem;
    font-weight: 900;
    margin-bottom: 3rem;
    color: #1a202c;
    position: relative;
    padding-left: 1.5rem;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(180deg, #667eea, #764ba2);
    border-radius: 3px;
}

/* News Grid - Enhanced */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* No Content - Premium */
.no-content {
    text-align: center;
    padding: 8rem 2rem;
    color: #718096;
    background: white;
    border-radius: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.no-content i {
    font-size: 5rem;
    margin-bottom: 2rem;
    display: block;
    color: #cbd5e0;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.no-content p {
    font-size: 1.25rem;
    font-weight: 600;
    color: #4a5568;
}

/* Responsive Design */
@media (max-width: 968px) {
    .author-name {
        font-size: 2.5rem;
    }

    .author-photo {
        width: 160px;
        height: 160px;
    }

    .author-meta {
        flex-direction: column;
        gap: 1rem;
    }

    .section-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 640px) {
    .author-header {
        min-height: 350px;
    }

    .author-name {
        font-size: 2rem;
    }

    .author-photo {
        width: 140px;
        height: 140px;
        border-radius: 25px;
    }

    .author-meta {
        flex-direction: column;
        width: 100%;
    }

    .author-email,
    .author-stats,
    .social-links {
        width: 100%;
        justify-content: center;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .author-bio {
        padding: 2rem;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    main.container {
        margin-top: -60px;
    }
}