/* Author Page Redesign */

/* Main Container */
.AuthorNew-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
    min-height: 100vh;
}

/* Breadcrumb Navigation */
.AuthorNew-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 32px;
    font-size: 14px;
    color: #627d98;
}

.AuthorNew-breadcrumb a {
    color: #32a8ee;
    text-decoration: none;
    transition: color 0.3s ease;
}

.AuthorNew-breadcrumb a:hover {
    color: #1a8cd8;
}

.AuthorNew-breadcrumb svg {
    width: 16px;
    height: 16px;
    color: #cbd5e0;
}

/* Hero Section */
.AuthorNew-hero {
    background: linear-gradient(135deg, #32a8ee 0%, #1a8cd8 100%);
    border-radius: 24px;
    padding: 60px 80px;
    margin-bottom: 48px;
    box-shadow: 0 20px 60px rgba(66, 153, 225, 0.3);
    position: relative;
    overflow: hidden;
}

.AuthorNew-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.AuthorNew-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

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

.AuthorNew-author-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: white;
}

.AuthorNew-author-name {
    font-size: 48px;
    font-weight: 700;
    color: white;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.AuthorNew-author-tagline {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    line-height: 1.6;
    max-width: 800px;
}

/* About Section */
.AuthorNew-about-section {
    background: white;
    border-radius: 20px;
    padding: 48px;
    box-shadow: 0 4px 20px rgba(18, 48, 72, 0.08);
    margin-bottom: 48px;
}

.AuthorNew-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.AuthorNew-section-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(66, 153, 225, 0.1) 0%, rgba(37, 99, 235, 0.1) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.AuthorNew-section-icon svg {
    width: 24px;
    height: 24px;
    color: #32a8ee;
}

.AuthorNew-section-title {
    font-size: 28px;
    font-weight: 700;
    color: #123048;
    margin: 0;
}

.AuthorNew-about-content {
    font-size: 16px;
    line-height: 1.8;
    color: #334e68;
}

.AuthorNew-about-content p {
    margin: 16px 0;
}

.AuthorNew-about-content h1,
.AuthorNew-about-content h2,
.AuthorNew-about-content h3 {
    color: #123048;
    font-weight: 600;
    margin: 24px 0 16px 0;
}

.AuthorNew-about-content h1 {
    font-size: 24px;
}

.AuthorNew-about-content h2 {
    font-size: 22px;
}

.AuthorNew-about-content h3 {
    font-size: 20px;
}

.AuthorNew-about-content ul,
.AuthorNew-about-content ol {
    margin: 16px 0;
    padding-left: 24px;
}

.AuthorNew-about-content li {
    margin: 8px 0;
}

.AuthorNew-about-content a {
    color: #32a8ee;
    text-decoration: none;
    border-bottom: 1px solid rgba(66, 153, 225, 0.3);
    transition: all 0.3s ease;
}

.AuthorNew-about-content a:hover {
    color: #1a8cd8;
    border-bottom-color: #1a8cd8;
}

/* Books Section */
.AuthorNew-books-section {
    margin-bottom: 48px;
}

.AuthorNew-books-header {
    margin-bottom: 32px;
}

.AuthorNew-books-count {
    font-size: 16px;
    color: #627d98;
    margin-top: 8px;
}

.AuthorNew-books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 32px;
}

.AuthorNew-book-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(18, 48, 72, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.AuthorNew-book-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(18, 48, 72, 0.15);
}

.AuthorNew-book-image-container {
    position: relative;
    height: 300px;
    background: linear-gradient(135deg, #f0f4f8 0%, #e3e8ef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    overflow: hidden;
}

.AuthorNew-book-image {
    width: 140px;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.AuthorNew-book-card:hover .AuthorNew-book-image {
    transform: scale(1.05);
}

.AuthorNew-book-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.AuthorNew-book-card:hover .AuthorNew-book-overlay {
    opacity: 1;
}

.AuthorNew-book-content {
    padding: 20px;
}

.AuthorNew-book-title {
    font-size: 16px;
    font-weight: 600;
    color: #123048;
    margin: 0 0 12px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 44px;
}

.AuthorNew-book-link {
    text-decoration: none;
    color: inherit;
}

.AuthorNew-view-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    font-size: 14px;
    font-weight: 600;
    color: #32a8ee;
    background: rgba(66, 153, 225, 0.1);
    border: 2px solid rgba(66, 153, 225, 0.2);
    border-radius: 8px;
    padding: 10px 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.AuthorNew-view-btn:hover {
    background: linear-gradient(135deg, #32a8ee 0%, #1a8cd8 100%);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(66, 153, 225, 0.4);
}

.AuthorNew-view-btn svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.AuthorNew-view-btn:hover svg {
    transform: translateX(4px);
}

/* Empty State */
.AuthorNew-empty {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(18, 48, 72, 0.08);
}

.AuthorNew-empty-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(66, 153, 225, 0.1) 0%, rgba(37, 99, 235, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.AuthorNew-empty-icon svg {
    width: 40px;
    height: 40px;
    color: #32a8ee;
}

.AuthorNew-empty-title {
    font-size: 20px;
    font-weight: 600;
    color: #123048;
    margin: 0 0 8px 0;
}

.AuthorNew-empty-text {
    font-size: 14px;
    color: #627d98;
    margin: 0;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.AuthorNew-hero {
    animation: fadeInUp 0.6s ease-out;
}

.AuthorNew-about-section {
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.AuthorNew-books-section {
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.AuthorNew-book-card {
    animation: fadeInUp 0.5s ease-out both;
}

.AuthorNew-book-card:nth-child(1) { animation-delay: 0.1s; }
.AuthorNew-book-card:nth-child(2) { animation-delay: 0.15s; }
.AuthorNew-book-card:nth-child(3) { animation-delay: 0.2s; }
.AuthorNew-book-card:nth-child(4) { animation-delay: 0.25s; }
.AuthorNew-book-card:nth-child(5) { animation-delay: 0.3s; }
.AuthorNew-book-card:nth-child(6) { animation-delay: 0.35s; }
.AuthorNew-book-card:nth-child(7) { animation-delay: 0.4s; }
.AuthorNew-book-card:nth-child(8) { animation-delay: 0.45s; }
.AuthorNew-book-card:nth-child(n+9) { animation-delay: 0.5s; }

/* Responsive Design */
@media (max-width: 1200px) {
    .AuthorNew-books-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 28px;
    }
}

@media (max-width: 992px) {
    .AuthorNew-container {
        padding: 32px 16px;
    }

    .AuthorNew-hero {
        padding: 50px 40px;
    }

    .AuthorNew-author-name {
        font-size: 40px;
    }

    .AuthorNew-author-tagline {
        font-size: 18px;
    }

    .AuthorNew-about-section {
        padding: 36px;
    }

    .AuthorNew-section-title {
        font-size: 24px;
    }

    .AuthorNew-books-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .AuthorNew-container {
        padding: 24px 16px;
    }

    .AuthorNew-breadcrumb {
        margin-bottom: 24px;
    }

    .AuthorNew-hero {
        padding: 40px 32px;
        margin-bottom: 32px;
    }

    .AuthorNew-author-name {
        font-size: 32px;
    }

    .AuthorNew-author-tagline {
        font-size: 16px;
    }

    .AuthorNew-about-section {
        padding: 28px;
        margin-bottom: 32px;
    }

    .AuthorNew-section-title {
        font-size: 22px;
    }

    .AuthorNew-books-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 20px;
    }

    .AuthorNew-book-image-container {
        height: 260px;
        padding: 24px;
    }

    .AuthorNew-book-image {
        width: 110px;
        height: 170px;
    }

    .AuthorNew-book-content {
        padding: 16px;
    }

    .AuthorNew-book-title {
        font-size: 15px;
        min-height: 40px;
    }
}

@media (max-width: 576px) {
    .AuthorNew-hero {
        padding: 32px 24px;
    }

    .AuthorNew-author-name {
        font-size: 28px;
    }

    .AuthorNew-author-tagline {
        font-size: 14px;
    }

    .AuthorNew-about-section {
        padding: 24px;
    }

    .AuthorNew-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .AuthorNew-section-title {
        font-size: 20px;
    }

    .AuthorNew-about-content {
        font-size: 15px;
    }

    .AuthorNew-books-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        gap: 16px;
    }

    .AuthorNew-book-image-container {
        height: 240px;
        padding: 20px;
    }

    .AuthorNew-book-image {
        width: 100px;
        height: 155px;
    }

    .AuthorNew-book-title {
        font-size: 14px;
    }

    .AuthorNew-view-btn {
        font-size: 13px;
        padding: 8px 14px;
    }
}

/* Print Styles */
@media print {
    .AuthorNew-hero {
        box-shadow: none;
        page-break-inside: avoid;
    }

    .AuthorNew-book-card {
        box-shadow: none;
        page-break-inside: avoid;
    }

    .AuthorNew-book-card:hover {
        transform: none;
    }
}

