.dbase-tours {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 60px;
}

/* INCREASE WIDTH OF TOURS CONTAINERS TO FIT */
/*@media only screen and (min-width: 676px) {
	.dbase-tours {
		grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
	}
}*/

.dbase-tour {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    overflow: hidden; /* keeps corners rounded */
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    height: auto; /* allow container to grow with content */
}

.dbase-tour-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.dbase-tour-content {
    display: flex;
    flex-direction: column;
    padding: 20px;
    flex-grow: 1; /* expand to fill remaining space */
}

.dbase-tour-title, .dbase-tour-title a {
    margin: 0 0 12px;
    font-size: 1.5rem;
    text-align: center;
    color: var(--e-global-color-primary);
}

.dbase-tour-intro {
    background: var(--e-global-color-accent);
    color: #fff;

    /* full width */
    margin-left: -20px;
    margin-right: -20px;
    padding: 6px 20px;
    margin-top: 12px;
    margin-bottom: 16px;
    border-radius: 0;
    font-weight: 600;
}

.dbase-tour-intro,
.dbase-tour-intro p {
    text-align: center;
}

.dbase-tour-meta {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    font-size: 0.95rem;
}

.dbase-tour-meta li {
    margin-bottom: 6px;
}

.dbase-tour-button {
    margin-top: auto;
    display: inline-block;
    text-align: center;
    padding: 12px 16px;
    border-radius: 6px;
    background: #0a5c78; /* close to site tone */
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

/* Image zoom-on-hover */
.dbase-tour-image {
    position: relative;
    overflow: hidden; /* clips the zoom */
}

.dbase-tour-image img {
    transition: transform 0.6s ease;
    will-change: transform;
}

.dbase-tour:hover .dbase-tour-image img {
    transform: scale(1.08);
}


/*.dbase-tour-button:hover {
    background: #083f52;
}*/

/* Half buttons */
.half-button {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap; /* allows price + button to stack on narrow screens */
    width: 100%;
    margin-top: auto;
    text-decoration: none;
    border-radius: 8px;
    overflow: hidden;
    background: #0a5c78;
    color: #fff;
}

.half-button .pricing {
    flex: 0 0 auto; /* fixed width for price box */
    text-align: center;
    padding: 12px 16px;
    background-color: var(--e-global-color-astglobalcolor3);
}

.half-button .price {
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1;
}

.half-button .currency {
    font-size: 0.65rem;     /* smaller than price */
    vertical-align: text-top; /* aligns to top of the line (price) */
    margin-left: 4px;        /* spacing from price */
    opacity: 0.85;
    display: inline-block;   /* ensure inline alignment */
    color: white;
}

.sv-button.fun {
    flex: 1 1 auto; /* fills remaining space */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background-color: var(--e-global-color-accent);
    font-weight: 600;
}

.sv-button.fun .text {
    text-transform: uppercase;
}

.sv-button.fun .icon {
    display: inline-flex;
    transition: transform 0.25s ease;
}

.half-button:hover .icon {
    transform: translateX(4px);
}

/*.half-button:hover {
    background: #083f52;
}*/

.half-button:hover,
.half-button:focus {
    color: #fff; /* keep text white on hover/focus */
    text-decoration: none; /* optional: remove underline if any */
}
