/* 图书栏目样式 */
.book-column {
    padding: 15px;
}

.book-column .column-title h2 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #111418;
}

.book-column .column-title hr {
    margin-top: 8px;
    border-width: 2px;
}

.book-item {
    margin-top: 15px;
}

.book-info {
    position: relative;
    text-align: center;
    display: block;
}

.book-info .image {
    -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
    display: block;
    margin: 0 auto 10px auto;
    width: 100%;
    height: auto;
    aspect-ratio: 3/4;
    overflow: hidden;
    border-radius: 4px;
}

.book-info .image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.book-info h3, .book-info h4 {
    text-decoration: none;
    height: 26px;
    line-height: 26px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 0 4px;
}

.book-info h3 a {
    font-size: 14px;
    font-weight: 700;
    color: #111418;
    text-decoration: none;
    transition: color 0.2s;
}

.book-info h3 a:hover {
    color: #0A3069;
}

.book-info h4 {
    color: #617189;
    font-size: 12px;
    font-weight: 400;
}

.book-info .price-favorite {
    margin-top: 8px;
    font-size: 13px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.book-info .price {
    color: #E91919;
    font-weight: 600;
}

.book-info .favorite {
    color: #617189;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 2px;
    transition: color 0.2s;
}

.book-info .favorite:hover {
    color: #0A3069;
}

.book-info .favorite .icon {
    color: #FF7D00;
    font-size: 16px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .book-column .column-title h2 {
        font-size: 14px;
    }

    .book-info .image {
        width: 100%;
        height: auto;
        aspect-ratio: 3/4;
    }

    .book-info h3, .book-info h4 {
        height: 24px;
        line-height: 24px;
    }

    .book-info h3 a {
        font-size: 12px;
    }

    .book-info h4 {
        font-size: 11px;
    }

    .book-info .price-favorite {
        font-size: 12px;
    }
}

/* 资源图标样式（参照旧画面） */
.abook-icon, .qrcode-icon {
    width: 22px;
    height: 22px;
    display: inline-block;
    background: url("/static/internal/common/image/hep-ico.png") no-repeat;
    cursor: pointer;
    opacity: 0.9;
    transition: opacity 0.2s;
    vertical-align: middle;
}

.abook-icon:hover, .qrcode-icon:hover {
    opacity: 1;
}

.abook-icon {
    background-position: -161px -1px;
}

.qrcode-icon {
    background-position: -100px 0;
}
