/* ================= FILTER BAR ================= */
.filter-bar {
    background: #fff;
    padding: 15px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0,0,0,.1);
}

.filter-bar select,
.filter-bar button {
    padding: 8px 14px;
    margin: 5px;
    border-radius: 0px !important;
}

/* ================= MAIN CONTAINER FOR 2 CARDS PER ROW ================= */
.guesthouse-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 10px;
}

/* ================= INDIVIDUAL GUESTHOUSE CARD ================= */
.guesthouse-card {
    flex: 1 1 calc(50% - 20px); /* Makes exactly 2 items per row */
    box-sizing: border-box;
    display: flex;
    align-items: stretch;
    background: #ffffff;
    min-height: 230px;
}

/* Left Image Box */
.guesthouse-card .card-img {
    flex: 0 0 45%; /* Image takes 45% width */
    overflow: hidden;
}

.guesthouse-card .card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: pointer;
}

/* Right Text Container (Green Outer Border) */
.guesthouse-card .card-details {
    flex: 0 0 55%; /* Details take 55% width */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 8px solid #7ea143; /* Olive Green outer border matching image */
    background: #ffffff;
    box-sizing: border-box;
}

/* Inner Text Content */
.guesthouse-card .card-body {
    padding: 15px;
    text-align: center;
    color: #000000;
}

.guesthouse-card .card-body h3 {
    margin: 0 0 8px 0;
    font-size: 20px;
    font-weight: bold;
    font-family: serif, sans-serif;
}

.guesthouse-card .card-body p {
    margin: 4px 0;
    font-size: 14px;
    line-height: 1.4;
    font-family: serif, sans-serif;
}

/* Bottom Dark Green Footer Bar for Website */
.guesthouse-card .card-footer {
    background: #3c5417; /* Dark green banner at bottom */
    text-align: center;
    padding: 6px 5px;
}

.guesthouse-card .card-footer a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    font-family: serif, sans-serif;
}

.guesthouse-card .card-footer a:hover {
    text-decoration: underline;
}

/* Responsive view for mobile screens */
@media (max-width: 768px) {
    .guesthouse-card {
        flex: 1 1 100%; /* Stacks 1 per row on mobile screens */
        flex-direction: column;
    }
}