/**
* Template: Vacation Planning page
* Description: Used to display available guides
*/

/* AVAILABLE GUIDES */
.ai-ports-of-call {
    display: flex;
    flex-flow: row wrap;
    gap: 60px 30px;
}
.ai-ports-of-call .port-of-call {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 0 0 calc(33.33% - 20px);
    height: auto;
    opacity: 1 !important;
    transform: translateZ(0);
    transition: transform .3s cubic-bezier(0, 0, 0.5, 1);
}
.ai-ports-of-call.scroll .port-of-call {
    flex: none;
    width: 360px;
    margin-bottom: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    scroll-snap-align: center;
}
.ai-ports-of-call .port-of-call:hover {
    transform: scale(1.02);
}
.ai-ports-of-call .port-of-call:hover h2 {
    color: var(--primary-color);
}
.ai-ports-of-call .port-of-call:last-of-type {
    margin-bottom: 0;
}
.ai-ports-of-call .port-of-call .image-section {
    position: relative;
    height: calc(100vw* 0.26);
    max-height: 300px;
}
.ai-ports-of-call .port-of-call .image-section img {
    position: absolute;
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: var(--global-border-radius);
}
.ai-ports-of-call .port-of-call .info-section h2 {
    font-size: 32px;
    line-height: 1.15;
    margin: 0;
    transition: color .3s cubic-bezier(0, 0, 0.5, 1);
}

@media (min-width: 1550px) {
    .ai-ports-of-call.scroll .port-of-call .image-section {
        max-height: 340px;
    }
}

@media (max-width: 1050px) {
    /* AVAILABLE GUIDES */
    .ai-ports-of-call .port-of-call {
        flex: 0 0 calc(50% - 15px);
        max-width: calc(50% - 15px);
    }
    .ai-ports-of-call.scroll .port-of-call .image-section {
        height: calc(100vw* 0.28);
    }
}

@media (max-width: 860px) {
    /* AVAILABLE GUIDES */
    .ai-ports-of-call.scroll .port-of-call .image-section {
        height: calc(100vw* 0.32);
    }
}

@media (max-width: 720px) {
    /* AVAILABLE GUIDES */
    .ai-ports-of-call {
        gap: 45px 30px;
    }
    .ai-ports-of-call .port-of-call {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .ai-ports-of-call .port-of-call .image-section {
        height: calc(100vw* 0.56);
        max-height: 350px;
    }
    .ai-ports-of-call.scroll .port-of-call .image-section {
        height: 280px;
    }
}

@media (max-width: 450px) {
    /* AVAILABLE GUIDES */
    .ai-ports-of-call.scroll .port-of-call {
        width: 320px;
    }
    .ai-ports-of-call.scroll .port-of-call .image-section {
        height: 260px;
    }
}