/* Estilos para la imagen principal */
#mainImage {
    height: auto;
    max-width: 435px;
    max-height: 435px;
    display: block;
    margin: 0 auto;
    border: 1px solid #ddd;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    transition: border-color 0.3s, box-shadow 0.3s;
}

/* Estilos para las miniaturas */
.thumbnails {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.thumbnail-image {
    width: 58px;
    height: 58px;
    border: 1px solid #ddd;
    cursor: pointer;
    transition: border-color 0.3s;
}

.thumbnail-image:hover {
    border-color: #007bff;
}

.mb-custom {
    margin-top: 2rem !important;
}

.flex-custom {
    margin-top: 2rem !important
}

.py-1-custom {
    padding-top: 1.05rem !important;
    padding-bottom: 1.05rem !important;
}

.timeline {
    border-left: 3px solid #fed700;
    border-bottom-right-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
    background: rgba(254, 215, 0, 0.2);
    /*margin: 0 auto;*/
    margin-left: 18%;
    position: relative;
    padding: 50px;
    list-style: none;
    max-width: 75%;
}

.timeline .event {
    border-bottom: 1px dashed #e9ecef;
    padding-bottom: 5px;
    margin-bottom: 5px;
    position: relative;
}

.timeline .event:before {
    left: -207px;
    content: attr(data-date);
    text-align: right;
    font-weight: 500;
    font-size: 0.9em;
    min-width: 120px;
}

.timeline .event:before, .timeline .event:after {
    position: absolute;
    display: block;
    top: 0;
}

.timeline .event:after {
    -webkit-box-shadow: 0 0 0 3px #fed700;
    box-shadow: 0 0 0 3px #fed700;
    left: -55.8px;
    background: #fff;
    border-radius: 50%;
    height: 9px;
    width: 9px;
    content: "";
    top: 5px;
}

.timeline .event:after {
    position: absolute;
    display: block;
    top: 0;
}

.timeline .event .title {
    font-weight: 500;
    font-size: 1rem;
    margin-bottom: 10px;
}