/* Container adjustments */
.popular-tours-item {
    background: #fff;
    border: 1px solid #e6e6e6;
    padding: 15px;
    margin-bottom: 30px;
    text-align: left;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    cursor: pointer; /* indicate it's interactive */
}

/* Card hover effect */
.popular-tours-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    border-color: #ccc;
}

/* Make all cards in a row equal height */
.row.text-left {
    display: flex;
    flex-wrap: wrap;
}

.row.text-left > .col-md-4 {
    display: flex;
    flex-direction: column;
}

/* Inner info fills remaining space so links align */
.popular-tours-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Image wrapper adjustments */
.popular-tours-item .img-wrapper {
    overflow: hidden;
    margin-bottom: 15px;
}

.popular-tours-item .img-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover; /* maintain aspect ratio without skewing */
    display: block;
}

/* Inner info adjustments */
.popular-tours-item-info-inner h3 {
    font-size: 1.5em; /* increased font size for heading */
    margin-bottom: 10px;
    font-weight: 900; /* bolder heading */
}

.popular-tours-item-info-inner p {
    font-size: 1.125em; /* Increased ~25% */
    line-height: 1.5;
    margin-bottom: 10px;
}

/* Size shown section */
.popular-tours-item-info-price {
    font-size: 1.125em; /* slightly larger */
    font-weight: bold;
    color: #000; /* black text */
    margin-bottom: 10px;
}

/* More information link adjustments */
.popular-tours-item > a {
    display: inline-block;
    margin-top: 5px; /* reduced spacing above link */
    font-size: 1.125em; /* increased font size */
    font-weight: bold;
    color: #0066cc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.popular-tours-item > a:hover {
    color: #004999;
    text-decoration: underline;
}

/* Remove unnecessary spacing for smaller devices */
@media (max-width: 767px) {
    .popular-tours-item {
        padding: 10px;
    }

    .popular-tours-item-info-inner h3,
    .popular-tours-item-info-inner p,
    .popular-tours-item-info-price,
    .popular-tours-item > a {
        font-size: 1em;
    }

    .row.text-left {
        display: block;
    }

    .row.text-left > .col-md-4 {
        display: block;
    }
}
