.blog-detail-main {
    margin-top: 10vh;
    margin-bottom: 8vh;
    min-height: 80vh;
    height: fit-content;
}

.blog-admin-actions-container {
    display: flex;
    justify-content: flex-end;
    position: relative;
    width: 80%;
    margin: 0 auto;
}

.blog-admin-actions-dropdown {
    position: absolute;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
    display: flex;
    flex-direction: column;
    top: 80%;
    text-align: center;
    right: 5%;
}

.blog-admin-actions-dropdown-active {
    max-height: 100px;
}

.action-container a {
    border-bottom: 1px solid;
}

.action-container button {
    background: none;
    border: none;
}

/* PARA CONFIRMAR BORRADO DE PRODUCTO */
.update-delete-btn-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all .5s ease;
    width: 80%;
    height: 30%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
    opacity: 0;
    scale: 0;
    background-color: #fff;
    z-index: 40;
    border-radius: 1rem;
}

.blog-delete-popup-label {
    width: 100%;
    margin-bottom: 10px;
    text-align: center;
}

.update-delete-btn-container-active {
    scale: 1;
    opacity: 1;
}

.update-delete-btn-container>button {
    width: 45%;
    border: 1px solid;
    padding: 5px;
    text-align: center;
}

/*  */
.bx-dots-vertical-rounded {
    font-size: 1.5rem;
    color: grey;
    cursor: pointer;
}

.blog-detail-container {
    width: 100%;
}

.blog-detail-img-container {
    display: flex;
    justify-content: center;
    width: 100%;
    height: 40vh;
}

.blog-detail-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: 0px -2px 8px rgba(0, 0, 0, 0.2);
}

.blog-detail-intro-container {
    padding: 0 10%;
    margin-top: 10px;
    margin-bottom: 30px;
}

.blog-detail-intro-container h1 {
    font-size: 21px;
}

.blog-date {
    font-size: 12px;
    color: rgb(94, 93, 93);
}

.blog-detail-text-container {
    padding: 0 10%;
}

.other-img-list {
    height: 350px;
    position: relative;
    background-color: white;
    z-index: 5;
    padding: 0 10%;
}

.mobile-carousel-container {
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    position: absolute;
    overflow: hidden;
    display: flex;
    background-color: white;
    width: 100%;
    height: 100%;
}

.other-img-container {
    position: absolute;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    right: 0;
    left: 0;
    opacity: 0;
    transition: transform .7s, opacity .7s;
    /* background-color: transparent; */
    box-shadow:
        -2px 0 8px rgba(128, 128, 128, 0.3),
        /* Sombra a la izquierda */
        2px 0 8px rgba(128, 128, 128, 0.3),
        /* Sombra a la derecha */
        0 -2px 8px rgba(128, 128, 128, 0.3),
        /* Sombra arriba */
        0 2px 8px rgba(128, 128, 128, 0.3);
    /* Sombra abajo */
    border-radius: 10px;
    overflow: hidden;
}

.img-container-active {
    transform: translateX(0);
    opacity: 1;
    z-index: 1;
}

.next-img-container {
    transform: translateX(100%);
    z-index: -1;
}

.prev-img-container {
    transform: translateX(-100%);
}

.carousel-animation {
    animation: carouselAnimation 4s;
}

/* Para los parrafos */
.blog-detail-text-container>p {
    margin-bottom: 30px;
    text-align: justify;
    font-size: 16px;
}

.blog-detail-text-container>p:last-child {
    margin-bottom: 80px;
}

@keyframes carouselAnimation {
    25% {
        transform: translateX(-100%);
    }

    26% {
        z-index: -1;
        transform: translateX(100%);
    }
}

.other-img-container img,
.other-img-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;

}

/* LASTES BLOGS SECTION */
.lastest-blogs-section {
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    padding: 0 10%;
    margin-top: 10vh;
}

.lastest-blogs-title {
    font-size: 23px;
    margin-bottom: 30px;
}

.lastest-blogs-cards-wrapper {
    width: 100%;
    height: 80%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    row-gap: 35px;
}

.last-blog-card {
    height: 70vh;
    width: 100%;
    max-width: 300px;
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--gold-color);
    box-shadow: -2px 0 10px rgba(128, 128, 128, 0.3),
        /* Sombra a la izquierda */
        2px 0 10px rgba(128, 128, 128, 0.3),
        /* Sombra a la derecha */
        0 -2px 10px rgba(128, 128, 128, 0.3),
        /* Sombra arriba */
        0 2px 10px rgba(128, 128, 128, 0.3);
    padding: 1% 3%;

}

.last-blog-img-container {
    width: 100%;
    height: 40%;
}

.last-blog-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.last-blog-info-container {
    width: 100%;
    height: 50%;
    margin-top: 2%;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    row-gap: 5%;

}

.last-blog-author-date {
    color: #aaa;
    height: fit-content;
    font-size: 13px;
}

.last-blog-card-title {
    width: 100%;
    color: #000;
    font-size: 1rem;
    height: 25%;
    display: flex;
    align-items: center;
}

.last-blog-card-description {
    color: #444;
    font-size: 14px;
    text-align: justify;
    font-weight: 400;
}

.last-blog-card-button {
    width: fit-content;
    font-size: 12px;
    background: none;
    background-color: var(--violet-color);
    padding: 0.5rem 1.5rem;
    border-radius: 1rem;
    cursor: pointer;
    color: #fff;
}

@media (min-width: 768px) {

    .update-delete-btn-container {
        width: 40%;
    }

    .blog-detail-container {
        padding-top: 2.5vh;
    }

    .mobile-carousel-container {
        position: static;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        overflow: unset;
    }


    .other-img-container {
        position: static;
        width: 45%;
        opacity: 1;
    }

    .blog-detail-img-container {
        height: 77.5vh;
        width: 80%;
        margin: 0 auto;
        border-radius: 10px;
        overflow: hidden;
        box-shadow:
            -2px 0 6px rgba(128, 128, 128, 0.2),
            /* Sombra a la izquierda */
            2px 0 6px rgba(128, 128, 128, 0.2),
            /* Sombra a la derecha */
            0 -2px 6px rgba(128, 128, 128, 0.2),
            /* Sombra arriba */
            0 2px 6px rgba(128, 128, 128, 0.2);
        /* Sombra abajo */
    }

    .blog-detail-intro-container {
        padding: 0 10%;
    }

    .blog-detail-intro-container h1 {
        font-size: 34px;
    }

    .blog-date {
        font-size: 13px;
    }

    /* .blog-detail-text-container>p {
        font-size: 15px;
    } */

    .lastest-blogs-section {
        height: 80vh;
    }

    .lastest-blogs-cards-wrapper {
        row-gap: unset;
        flex-wrap: nowrap;
        justify-content: space-between;
    }

    .last-blog-card {
        width: 32%;
        height: 100%;
        padding: 1% 1.5%;
        max-width: 370px;
    }
    .last-blog-author-date{
        font-size: 12px;
    }
    .last-blog-card-title{
        font-size: .9rem;
        height: 35%;
    }
    .last-blog-card-description{
        font-size: 12px;
    }
}

@media(min-width: 1024px) {
    .update-delete-btn-container {
        width: 30%;
    }

    .other-img-list {
        /* height: auto; */
        position: relative;
        background-color: white;
        z-index: 5;
    }
    .last-blog-author-date{
        font-size: 13px;
    }
    .last-blog-card-title{
        font-size: 1rem;
        height: 25%;
    }
    .last-blog-card-description{
        font-size: 13.5px;
    }

}