/* --- Base Layout --- */
.stays-page {
    background-color: transparent;
    min-height: 100vh;
    padding: 120px 24px 60px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.stays-container {
    max-width: 1280px;
    margin: 0 auto;
}

/* --- 4-Column Grid Layout --- */
.stays-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stay-card-link {
    text-decoration: none !important;
    color: inherit;
    display: block;
}

/* --- Stay Card --- */
.stay-card {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: 1px solid #eef0f2;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.stay-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* --- Image & Pill Badges --- */
.card-image-wrapper {
    position: relative;
    height: 175px;
    width: 100%;
    overflow: hidden;
}

.stay-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.price-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255, 255, 255, 0.95);
    color: #1e293b;
    padding: 4px 12px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.8rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    letter-spacing: -0.2px;
}

.epass-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(255, 255, 255, 0.95);
    color: #334155;
    padding: 3px 12px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.epass-chevron {
    color: #ea580c; /* Crisp orange chevrons */
    font-weight: 800;
    font-size: 0.9rem;
    line-height: 1;
}

/* --- Card Details --- */
.card-details {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.stay-title {
    font-family: Georgia, "Times New Roman", serif; /* Editorial serif heading */
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 6px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stay-location {
    font-size: 0.78rem;
    color: #64748b;
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stay-location i {
    color: #f97316;
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* --- Stats Row --- */
.stay-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    color: #334155;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.stat {
    display: flex;
    align-items: center;
    gap: 6px;
}

.stat i {
    color: #1a6b51; /* Dark forest green tone */
    font-size: 0.9rem;
}

.stat strong {
    font-weight: 700;
    color: #0f172a;
}

/* --- Amenities Bottom Row --- */
.stay-amenities {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.amenity-icons {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #94a3b8; /* Soft slate icon color */
    font-size: 0.85rem;
}

.more-amenities {
    font-size: 0.72rem;
    color: #64748b;
    font-weight: 600;
}

/* --- Responsive Adjustments --- */
@media (max-width: 1100px) {
    .stays-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 820px) {
    .stays-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .card-image-wrapper {
        height: 135px;
    }

    .stay-title {
        font-size: 0.9rem;
    }

    .stay-stats {
        font-size: 0.75rem;
    }

    .amenity-icons {
        gap: 6px;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .stays-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .card-details {
        padding: 10px;
    }

    .card-image-wrapper {
        height: 115px;
    }

    .price-badge {
        font-size: 0.68rem;
        padding: 2px 8px;
    }

    .epass-badge {
        font-size: 0.58rem;
        padding: 2px 7px;
    }
}