.gallery-container2 {
    display: flex;
    gap: 20px;
    justify-content: center;
    padding: 20px 20px 0 20px;
}

.custom-card {
    width: 320px;
    height: 210px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    background-color: #fff;
}

.custom-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.figure {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    margin: 0;
}

.custom-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.delete-btn {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #ff6b6b;
    border: none;
    color: white;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
    font-size: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.delete-btn:hover {
    background-color: #ff4c4c;
    transform: scale(1.1);
}

.delete-btn .mdi {
    pointer-events: none;
    font-size: 15px;
}







.default-swiper {
    height: 100%;
}

.default-swiper .swiper-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.swiper-slide-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
}

.image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 99%;
    /* Make the width 100% of the parent */
    overflow: hidden;
}

.swiper-slide-img {
    width: 99%;
    /* Ensure the image takes the full width of the container */
    aspect-ratio: 16 / 9;
    /* Maintain aspect ratio */
    object-fit: cover;
}

.description {
    margin-top: 5px;
}

.description p {
    margin-bottom: 5px;
}

@media (max-width: 768px) {
    .image-container {
        width: 99%;
        /* Ensure the container takes the full width of the parent on smaller screens */
    }
}

@media (max-width: 480px) {
    .image-container {
        width: 99%;
        /* Ensure the container takes the full width of the parent on very small screens */
    }
}