/**
 * Verlag Manager Frontend Styles
 * Für die Bücherliste auf Autor*innen-Seiten
 */

/* Container für Bücher-Grid */
.verlag-books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
    margin: 30px 0;
    align-items: start;
}

/* Einzelnes Buch */
.verlag-books-grid .book-item {
    position: relative;
}

/* Link-Wrapper */
.verlag-books-grid .book-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* Cover-Wrapper */
.verlag-books-grid .book-cover-wrapper {
    position: relative;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
}

/* Buch-Cover */
.verlag-books-grid .book-cover {
    width: 100%;
    height: auto;
    display: block;
}

/* Placeholder wenn kein Bild */
.verlag-books-grid .book-cover-placeholder {
    width: 100%;
    min-height: 250px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
}

/* Buchtitel */
.verlag-books-grid .book-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
    color: #333;
}

/* Responsive: Mobile */
@media (max-width: 768px) {
    .verlag-books-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    .verlag-books-grid .book-title {
        font-size: 14px;
    }
}

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

/* Alternative: Liste statt Grid */
.verlag-books-list-style {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 30px 0;
}

.verlag-books-list-style .book-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.verlag-books-list-style .book-item:hover {
    background: #f0f0f0;
}

.verlag-books-list-style .book-cover-wrapper {
    flex-shrink: 0;
    width: 120px;
}

.verlag-books-list-style .book-title {
    margin: 0;
    font-size: 20px;
    align-self: center;
}
