section .cardGroup {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 20em), 1fr));
    justify-content: center;
    gap: 1.5em;
    width: 100%;
    padding: 0.5em min(2em, 5%);
    margin-bottom: 2em;
}

#destinationListSec {
    .card {
        background-color: var(--color-gray-low);
        height: 13rem;
        position: relative;
        border-radius: 5px;
        overflow: hidden;
        cursor: pointer;

        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .textOverlay {
            position: absolute;
            inset: 0;
            display: flex;
            align-items: flex-end;
            justify-content: center;
            background-color: rgba(0, 0, 0, 0.15);

            p {
                text-align: center;
                color: var(--text-white);
                margin-bottom: 1em;
                font-size: 1.05em;
                font-family: var(--font_mochiyPop);
                transition: all 300ms ease-in-out;
                ;
            }
        }

        &:hover .textOverlay p {
            transform: scale(1.05);
        }
    }
}

#tourListSec {
    .cardGroup {
        justify-content: start;
    }

    .card {
        background-color: var(--color-gray-low);
        overflow: hidden;
        border-radius: 5px;
        display: flex;
        flex-direction: column;

        .imgCont {
            height: 14em;
            flex-shrink: 0;

            img {
                width: 100%;
                height: 100%;
                object-fit: fill;
            }
        }

        .tourDetails {
            padding: 0.8em;
            display: flex;
            flex-direction: column;
            flex: 1;
            justify-content: center;
            gap: 1em;
            scale: 0.95;

            .tourTitle {
                font-size: 1.55em;
                overflow: hidden;
                display: -webkit-box;
                -webkit-line-clamp: 2;
                line-clamp: 2;
                -webkit-box-orient: vertical;
                text-transform: capitalize;
            }

            p {
                font-weight: 500;

                i::before {
                    font-weight: 700 !important;
                }
            }
        }

        .cardFooter {
            height: 5.5em;
            flex-shrink: 0;
            border-top: 1px solid var(--black-30);
            padding: 0.8em 1em;
            display: flex;
            justify-content: space-between;
            align-items: center;
            overflow: hidden;

            p {
                font-weight: 500;
                font-size: 0.9em;
            }

            .price {
                text-wrap: nowrap;
                color: var(--color-purple);
                font-size: 1.4em;
            }
        }
    }
}