.author-name {
    font-size: 28px;
    color: #333E48;
    margin-bottom: 15px;
    font-weight: 400;
    vertical-align:middle;
}
.author-info {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 21px;
    margin-bottom: 21px;
}
.author-content {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
}
.author-photo {
    flex-shrink: 0;
    width: 260px;
}
.author-photo img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    max-width: 260px;
}
.author-biography {
    flex: 1;
    min-width: 0;
}
.author-biography h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #333E48;
    line-height: 42px;
    letter-spacing: -0.14px;
    vertical-align: middle;
}
.author-biography p {
    font-size: 18px;
    line-height: 1.5;
    color: #747474;
    margin-bottom: 15px;
    font-weight: 400;
}
.author-biography p:last-child {
    margin-bottom: 0;
}
.author-content.no-photo {
    display: block;
}
.featured-book {
    flex-shrink: 0;
    width: 320px;
    background: linear-gradient(135deg, #FFA726 0%, #FF9800 100%);
    padding: 30px;
    border-radius: 10px;
    padding-top: 20px;
    padding-right: 10px;
    padding-bottom: 20px;
    padding-left: 10px;
    text-align: center;
    color: #000000;
    gap: 15px;
}
.featured-book h3 {
    margin-bottom: 15px;
    font-weight: 400;
    font-size: 26px;
    line-height: 42px;
    letter-spacing: -0.14px;
    vertical-align: middle;
}
.header-featured{
    color: #ffffff
}
.book-cover {
    margin: 0 auto 15px;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    max-width: 152px;
    max-height: 234px;
}
.book-title {
    font-size: 22px;
    margin-bottom: 5px;
    line-height: 1.3;
    color: #ffffff;
}
.book-author {
    font-size: 15px;
    opacity: 0.95;
}
.book-format {
    font-size: 15px;
    opacity: 0.9;
}
.book-price {
    font-size: 16px;
    font-weight: 700;
}
.book-price .rrp {
    text-decoration: line-through;
    opacity: 0.7;
    font-size: 16px;
    margin-right: 8px;
}
.book-condition {
    padding: 4px 12px;
    font-size: 14px;
}
@media screen and (max-width: 968px) {
    .author-info {
        flex-direction: column;
    }

    .featured-book {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
}
@media screen and (max-width: 768px) {
    .author-content {
        flex-direction: column;
        padding: 20px;
    }

    .author-photo {
        width: 100%;
        max-width: 240px;
        margin: 0 auto;
    }

    .author-biography p {
        text-align: left;
    }
    .author-name {
        text-align: center;
    }
    .author-header-title span {
        display: block;
    }
}
.author-header-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
    gap: 15px;
    background: #F8F8F8;
    border-radius: 10px;
    z-index: 4;
    margin-bottom: 10px
}
.author-header-title {
    font-size: 28px;
    color: #333E48;
    margin: 0;
    text-align: center;
}
.author-mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0px;
    gap: 15px;
    width: 100%;
    max-width: 330px;
    margin: 20px auto;
}
.author-nav-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 15px;
    width: 100%;
}
.author-nav-btn {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 14px 18px;
    gap: 10px;
    flex: 1;
    min-width: 0;
    height: 51px;
    background: linear-gradient(183.1deg, #FFA100 5.84%, #FCCA75 98.86%);
    border: 2px solid #FFC259;
    border-radius: 10px;
    text-decoration: none;
    color: #000;
    font-weight: 500;
    transition: all 0.3s ease;
}
.author-nav-row:has(.author-nav-btn:only-child) .author-nav-btn {
    max-width: 341px;
}
