main section#destinations {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

main section#destinations div.container {
    width: 100%;
    max-width: var(--max-width);
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px 20px 0 20px;
}

main section#destinations div.container span.title {
    font-size: 1.2em;
}

main section#destinations div.container div.cards {
    display: flex;
    flex-direction: row;
    justify-content: start;
    gap: 20px;
    flex-wrap: wrap;
    /* flex-wrap: nowrap;
    padding: 20px;
    margin: -20px;
    overflow-x: scroll; */
}

main section#destinations div.container div.cards a.card {
    border-radius: 30px;
    overflow: hidden;
    height: 400px;
    width: 354px;
    width: calc(calc(100% / 5) - 20px);
    /* min-width: 354px; */
    /* width: calc(calc(100% / 4) - 20px); */
    /* flex-grow: 1; */
    position: relative;
    user-select: none;
    padding: 15px;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px 0px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* prettier-ignore */
main section#destinations div.container div.cards a.card div.image-container {
    height: 300px;
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

main section#destinations div.container div.cards a.card:hover::before {
    content: " ";
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    cursor: pointer;
    z-index: 2;
    top: 0;
    left: 0;
}

/* prettier-ignore */
main section#destinations div.container div.cards a.card div.image-container img {
    border-radius: 20px;
    width: 100%;
    height: 100%;
    /* object-fit: fill; */
}

/* prettier-ignore */
main section#destinations div.container div.cards a.card div.image-container div.caption {
    position: absolute;
    background: rgba(255, 255, 255, 0.7);
    padding: 5px 10px;
    margin: 0 15px 0 0;
    border-radius: 20px;
    bottom: 15px;
    left: 15px;
}

/* prettier-ignore */
main section#destinations div.container div.cards a.card div.image-container div.price {
    position: absolute;
    top: 15px;
    right: 15px;
    color: white;
    padding: 10px 30px 10px 10px;
    border-radius: 20px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    display: flex;
    flex-direction: row;
    align-items: end;
    gap: 5px;
    background: var(--color-background-price);
}

/* prettier-ignore */
main section#destinations div.container div.cards a.card div.image-container div.price span.muted {
    font-size: 0.8em;
    font-style: italic;
}

/* prettier-ignore */
main section#destinations div.container div.cards a.card div.image-container div.price span.monto {
    font-size: 1.1em;
    font-weight: bold;
}

main section#destinations div.container div.cards a.card p.description {
    margin: 0;
    flex-grow: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}

@media (max-width: 1280px) {
    main section#destinations div.container div.cards a.card {
        width: calc(calc(100% / 3) - 20px);
    }
}

@media (max-width: 1024px) {
    main section#destinations div.container div.cards a.card {
        width: calc(calc(100% / 2) - 20px);
    }
}

@media (max-width: 768px) {
    main section#destinations div.container div.cards a.card {
        width: 100%;
    }
}
