#section-mai--card {
    height: max-content;
    width: 100%;
    background-color: var(--ocean-blue);
    position: relative;
    box-shadow: inset 0 0 50px rgba(255, 255, 255, 0.5);
}
.section-mai--card {
    padding: 100px 0;
    background-color: var(--ocean-blue);
    display: flex;
    justify-content: center;
    position: relative;
}
.section-mai--card .mai-card-carousel {
    width: inherit;
    transition: all 0.3s ease;
}
.duration-badge-mai i, .location-mai i {
    color: var(--berry-crush-light);
}

.container-mai {
    width: 1200px;
    margin: auto;
        height: max-content;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    background-color: #ffffff;
    padding: 30px;
    border-radius: var(--border-pt);
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

.information-tittle {
    margin-bottom: 40px;
    text-align: left;
}

.information-tittle p {
    color: var(--berry-crush-light);
    font-size: 1.9rem;
    font-weight: 600;
    margin-bottom: 5px;
    line-height: 28px;
}

.information-tittle h2 {
    font-size: 2.15rem;
    font-weight: 500;
    color: var(--black);
    letter-spacing: -1px;
}

.body-mai-card {
    background: #fff;
    border-radius: var(--border-pt);
    height: 510px;
    width: 352px;
    margin: 12px 18px 30px 0px;
    overflow: hidden;
    box-shadow: 8px 8px 18px rgba(0, 0, 0, 0.172);
    transition: transform 0.3s ease;
}

.body-mai-card:hover {
    transform: translateY(-10px);
}

.body-mai-card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.data-tour-mai {
    padding: 20px;
    text-align: left;
}

.data-tour-mai h4 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-top: 15px;
    margin-bottom: 8px;
    color: #1a1a1a;
    white-space: nowrap;    
    overflow: hidden;      
    text-overflow: ellipsis;
}

.location-mai {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 0px;
}

.location-mai p {
    margin-bottom: 0px;
}

.line-divisor-mai {
    height: 1px;
    background-color: #eeeeee;
    margin: 15px 0;
}

.data-tour-mai > p { 
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
    height: 70px; 
    margin-bottom: 0px;
    overflow: hidden;
}

.bottom-mai-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.bottom-mai-card a {
    background-color: var(--berry-crush-light); 
    color: #fff;
    padding: 10px 20px;
    border-radius:var(--border-pt);
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    transition: background 0.3s;
}

.bottom-mai-card a:hover {
    background-color: var(--ocean-blue2);
}

.price-mai {
    text-align: right;
}

.price-mai p:first-child {
    font-size: 0.75rem;
    color: #888;
    margin: 0;
    text-transform: uppercase;
}

.price-mai p:last-child {
    font-size: 1.3rem;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0;
}


.body-mai-card { position: relative; }
.duration-badge-mai {
    position: absolute;
    top: 196px;
    width: 85%;
    left: 0px;
    background: rgb(255, 255, 255);
    padding: 5px 12px;
    margin: 0px 27px;
    border-radius:var(--border-pt);
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 5;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.duration-badge-mai span {
    color: #888;
    font-weight: 500;
}

.paper-up {
    position: absolute;
    width: 100%;
    height: 100px;
    top: 0;
    left: 0;
    z-index: 1;
}

.paper-down {
    position: absolute;
    width: 100%;
    height: 100px;
    bottom: 0;
    left: 0;
    z-index: 1;
}

.paper-up img, .paper-down img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 1280px) {
   .container-mai {
    width: 750px;
   }
   .duration-badge-mai {
    margin: 0px 23px;
   }
   .bottom-mai-card a {
    padding: 10px 15px;
   }
    .section-mai--card .mai-card-carousel {
        width: inherit;
        margin: auto;
    } .body-mai-card {
  
    width: 322px;
    
}
}

@media (max-width: 1024px) {
    .section-mai--card .mai-card-carousel {
        width: inherit;
        transition: all 0.3s ease;
        margin: auto;
    }
    .container-mai {
        width: 750px;
    }
   
}

@media (max-width: 760px) {
    .container-mai {
        width: 350px;
    }
   .bottom-mai-card a {
    padding: 10px;
    font-size: 0.8rem;
   }
   .price-mai p:last-child {
    font-size: 1rem;
   }
   .duration-badge-mai {
    margin: 0px 21px;
   }
   .information-tittle h2 {
    font-size: 2rem;
   }
   #section-mai--card .mai-card-carousel {
        width: 700px;
    }
}
@media (max-width: 640px) {
    .body-mai-card {
        width: 300px;
    }
    .container-mai {
        width: 336px;
        padding: 18px;
    }
    
}