/* WIA Books 숏코드 스타일 */

.wia-books-grid {
    display: grid;
    gap: 25px;
    padding: 20px 0;
}

.wia-cols-2 { grid-template-columns: repeat(2, 1fr); }
.wia-cols-3 { grid-template-columns: repeat(3, 1fr); }
.wia-cols-4 { grid-template-columns: repeat(4, 1fr); }
.wia-cols-5 { grid-template-columns: repeat(5, 1fr); }
.wia-cols-6 { grid-template-columns: repeat(6, 1fr); }

/* 도서 카드 */
.wia-book-card {
    background: rgba(10, 15, 35, 0.7);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.wia-book-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 212, 255, 0.5);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.2);
}

.wia-book-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* 표지 */
.wia-book-cover {
    position: relative;
    aspect-ratio: 2/3;
    overflow: hidden;
    background: #0a0f23;
}

.wia-book-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.wia-book-card:hover .wia-book-cover img {
    transform: scale(1.05);
}

/* 오버레이 */
.wia-book-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 212, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.wia-view-detail {
    padding: 12px 24px;
    background: rgba(0, 212, 255, 0.9);
    color: #0a0f23;
    font-weight: 600;
    font-size: 14px;
    border-radius: 30px;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

/* 메타 정보 */
.wia-book-meta {
    padding: 18px;
}

.wia-book-meta .wia-book-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.wia-book-subtitle {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.wia-book-author {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 10px 0;
}

.wia-book-price {
    font-size: 18px;
    font-weight: 700;
    color: #00fff5;
    margin: 0;
    text-shadow: 0 0 10px rgba(0, 255, 245, 0.5);
}

.wia-no-books {
    text-align: center;
    padding: 40px;
    color: rgba(255, 255, 255, 0.6);
}

/* 반응형 */
@media (max-width: 1024px) {
    .wia-cols-4, .wia-cols-5, .wia-cols-6 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .wia-cols-3, .wia-cols-4, .wia-cols-5, .wia-cols-6 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .wia-books-grid { grid-template-columns: 1fr; }
}
