/* Estilos exclusivos del contenedor del cómic */
.comic{
    padding: 100px 0;
}

.comic-container {
    max-width: 800px;
    margin: 0 auto;
}

.comic-page {
    width: 100%;
    display: block;
}

/* FLECHAS DEL NAVEGADOR */
.nav-comic {
    display: flex;
    justify-content: center; /* Centra horizontalmente */
    padding: 10px 0;
}

.nav-chapter {
    padding: 5px 10px;
    color: var(--white);
    background-color: var(--color-principal);
    text-decoration: none;
    font-weight: bold;
    border-radius: 30px;
    font-size: 0.9rem;
}

.nav-arrow {
    font-size: 0.8rem;
    padding: 5px 10px;
    margin: 0px 2px;
    color: var(--color-principal);
    text-decoration: none;
    font-weight: bold;
    border: 2px solid var(--color-principal);
    border-radius: 30px;
    transition: all 0.3s ease;
}

.nav-arrow:hover {
    color: #ffffff;
    background-color: var(--color-principal);
}

/* --- LISTA DE CAPITULOS --- */
.comic-chapters-section {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.comic-chapters-section h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
}


.chapters-list {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chapter-row {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border: 3px solid var(--color-principal);
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: var(--dark-gray);
    transition: all 0.2s ease;
    padding-right: 20px;
}

.chapter-row:hover {
    background-color: var(--principal-claro);
    color: var(--white);
    transform: scale(1.01);
    box-shadow: 0 4px 10px rgba(255, 122, 0, 0.1);
}

.row-thumbnail-container {
    width: 120px;
    height: 70px;
    flex-shrink: 0;
    background-color: #f5f5f5;
}

.chapter-row-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.row-info {
    display: flex;
    flex-grow: 1;
    justify-content: space-between;
    align-items: center;
    padding-left: 20px;
    gap: 15px;
}

.row-main-details {
    align-items: center;
    gap: 15px;
}

.row-number {
    background-color: var(--color-principal);
    color: #ffffff;
    padding: 4px 8px;
    font-weight: bold;
    font-size: 0.85rem;
    border-radius: 4px;
    white-space: nowrap;
}

.row-date {
    display: flex;
    font-size: 0.85rem;
}

/* --- BOTONES DE COMPARTIR --- */

.share-btn {
    padding: 10px 15px;
    margin: 0px 5px;
    color: var(--color-principal);
    text-decoration: none;
    font-weight: bold;
    border: 2px solid var(--color-principal);
    border-radius: 30px;
    transition: all 0.3s ease;
}

.share-btn:hover {
    background-color: var(--color-principal);
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(125, 122, 125, 0.2);
}