/**
 * Fix direto para os cards de pacotes na página em inglês
 */

/* Base styling para os cards e container */
.services-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 30px !important;
    margin-bottom: 40px !important;
}

.service-item {
    background-color: #fff !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    color: #333 !important;
    display: flex !important;
    flex-direction: column !important;
}

.service-image {
    height: 180px !important;
    overflow: hidden !important;
}

.service-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.service-item h3 {
    margin: 15px 0 5px !important;
    padding: 0 15px !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    text-align: center !important;
    color: #333 !important;
}

.service-item p {
    padding: 0 15px 15px !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    text-align: center !important;
    color: #666 !important;
    margin-bottom: 10px !important;
}

/* Tablet */
@media (max-width: 991px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 25px !important;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }
    
    .service-image {
        height: 120px !important;
    }
    
    .service-item h3 {
        font-size: 16px !important;
        margin: 10px 0 5px !important;
        padding: 0 10px !important;
    }
    
    .service-item p {
        font-size: 12px !important;
        line-height: 1.4 !important;
        padding: 0 10px 10px !important;
    }
}

/* Very small devices */
@media (max-width: 380px) {
    .services-grid {
        gap: 10px !important;
    }
    
    .service-item h3 {
        font-size: 14px !important;
    }
    
    .service-item p {
        font-size: 11px !important;
    }
}
