.retreat-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    column-gap: 2rem;
    row-gap: 2rem;
}

.retreat-grid-column {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.retreat-grid-column:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.retreat-1:hover,
.retreat-1:hover .retreat-badge {
    background: #fef5f0;
}

.retreat-2:hover,
.retreat-2:hover .retreat-badge {
    background: #f0f9f4;
}

.retreat-3:hover,
.retreat-3:hover .retreat-badge {
    background: #f7f5f2;
}

.retreat-4:hover,
.retreat-4:hover .retreat-badge {
    background: #fef9f0;
}

.retreat-item-top {
    position: relative;
    aspect-ratio: 6 / 4;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.retreat-item-top img {
    all: unset;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.retreat-badge {
    position: absolute;
    bottom: -20px;
    left: 12px;
    background: white;
    padding: 6px 14px 20px 14px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.8rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    z-index: 2;
    letter-spacing: 0.5px;
    transition: background 0.3s ease;
}

.retreat-1 .retreat-badge {
    color: #e67e22;
}

.retreat-2 .retreat-badge {
    color: #27ae60;
}

.retreat-3 .retreat-badge {
    color: #8b6f47;
}

.retreat-4 .retreat-badge {
    color: #f39c12;
}

.retreat-heading {
    text-align: left;
    font-size: 1.5rem;
    color: #2c3e50;
    padding: 0.8rem 1rem 0.4rem 1rem;
    font-weight: 400;
    line-height: 1.3;
    position: relative;
}

.retreat-item-bottom {
    padding: 0 1rem 1rem 1rem;
    font-size: 0.95rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.retreat-item-bottom p {
    margin-bottom: 0;
    line-height: 1.5;
}

.retreat-item-bottom p:last-of-type {
    margin-bottom: 2rem;
}

.retreat-item-bottom ul {
    margin: 0 0 1rem 0;
    padding-left: 0;
    list-style: none;
}

.retreat-item-bottom ul li {
    padding: 4px 0 4px 22px;
    position: relative;
    line-height: 1.4;
}

.retreat-item-bottom ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.1em;
}

.retreat-more-details {
    display: inline-block;
    text-align: center;
    padding: 12px 24px;
    background: #666;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    margin-top: auto;
    transition: background 0.3s ease;
}

.retreat-grid-column:hover .retreat-more-details {
    background: #333;
    color: white;
}

/* Mobile: Single column */
@media (max-width: 600px) {
    .retreat-grid-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Tablet: 2x2 grid */
/*
@media (min-width: 601px) and (max-width: 1120px) {
  .retreat-grid-container {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}
*/

.retreat-booked-badge {
    position: absolute;
    top: -10px;
    right: 0;
    background-color: #a65959;
    border-top: solid 2px white;
    border-left: solid 2px white;
    border-bottom: solid 2px white;
    color: white;
    padding: 8px 16px;
    font-size: 0.9rem;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    z-index: 10;
}

/* Greyscale fully booked retreat images */
.retreat-grid-column.retreat-fully-booked img {
    filter: saturate(0.3) brightness(1.15);
}

.retreat-grid-column.retreat-fully-booked .retreat-item-top {
    aspect-ratio: 6 / 3;
}