/* Single Livre Styles */

article.single-livre {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

.livre-header {
    margin-bottom: 3rem;
}

.livre-hero {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.livre-covers {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cover-front,
.cover-back {
    flex: 1;
    max-width: 200px;
}

.livre-cover {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.back-cover {
    transform: scaleX(-1);
}

.no-cover-placeholder {
    width: 100%;
    height: 300px;
    background: #f5f5f5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.no-cover-placeholder .dashicons {
    font-size: 4rem;
    color: #ccc;
}

.livre-info {
    flex-grow: 1;
}

.livre-title {
    font-size: 2.5rem;
    margin: 0 0 1rem 0;
    color: #333;
    line-height: 1.2;
}

.livre-variant {
    margin-bottom: 1rem;
}

.variant-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #fff3cd;
    color: #856404;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.livre-publisher,
.livre-collection {
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.livre-publisher a,
.livre-collection a {
    color: #007cba;
    text-decoration: none;
}

.livre-publisher a:hover,
.livre-collection a:hover {
    text-decoration: underline;
}

.livre-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.meta-item {
    background: #f8f9fa;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.95rem;
    border: 1px solid #e9ecef;
}

.meta-item strong {
    color: #666;
    margin-right: 0.5rem;
}

.livre-limited {
    margin-bottom: 1rem;
}

.limited-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #d4edda;
    color: #155724;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.livre-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.livre-main {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.livre-summary h2,
.livre-team h2,
.livre-episodes h2,
.livre-additional h2 {
    font-size: 1.5rem;
    margin: 0 0 1rem 0;
    color: #333;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 0.5rem;
}

.livre-summary {
    margin-bottom: 3rem;
}

.summary-content {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
}

.livre-team {
    margin-bottom: 3rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.team-member {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.team-member:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.member-photo {
    flex-shrink: 0;
}

.member-photo img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.no-photo-placeholder {
    width: 60px;
    height: 60px;
    background: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.no-photo-placeholder .dashicons {
    font-size: 1.5rem;
    color: #ccc;
}

.member-info {
    flex-grow: 1;
}

.member-name {
    font-size: 1rem;
    margin: 0 0 0.25rem 0;
}

.member-name a {
    color: #333;
    text-decoration: none;
}

.member-name a:hover {
    color: #007cba;
}

.member-role {
    font-size: 0.9rem;
    color: #007cba;
    font-weight: 600;
}

.livre-episodes {
    margin-bottom: 3rem;
}

.episodes-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.episode-item {
    display: flex;
    gap: 1rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.episode-number {
    font-weight: 600;
    color: #007cba;
    min-width: 40px;
}

.episode-title {
    color: #333;
}

.livre-additional {
    margin-bottom: 2rem;
}

.additional-content {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

.livre-sidebar {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    height: fit-content;
}

.livre-meta-details h3 {
    font-size: 1.3rem;
    margin: 0 0 1rem 0;
    color: #333;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 0.5rem;
}

.meta-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.meta-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 1rem;
}

.meta-list li:last-child {
    border-bottom: none;
}

.meta-list strong {
    color: #666;
    margin-right: 0.5rem;
}

.meta-list a {
    color: #007cba;
    text-decoration: none;
}

.meta-list a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .livre-hero {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }
    
    .livre-covers {
        justify-content: center;
    }
    
    .cover-front,
    .cover-back {
        max-width: 150px;
    }
    
    .livre-cover,
    .no-cover-placeholder {
        height: 225px;
    }
    
    .livre-title {
        font-size: 2rem;
    }
    
    .livre-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .livre-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}
