/*
 * EXCLUSIVE_COLLECTIONS_LAYOUT_FIX_V1
 * 3TREE HOME V2
 */

/* Two equal cards */

.offers .luxury-preview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 22px;
}

/* Card */

.offers .luxury-preview-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    background: #f8f6f2;
    border: 1px solid #eee8df;
}

/* Entire card remains clickable */

.offers .luxury-preview-link {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    color: #25211c;
    text-decoration: none;
}

/* Image is no longer positioned behind text */

.offers .luxury-preview-card .offer-image {
    position: relative;
    inset: auto;
    display: block;
    flex: none;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    background-color: #211b17;
    transform: none;
    transition: none;
}

/* No dark overlay */

.offers .luxury-preview-link::after {
    display: none;
    content: none;
}

/* Prevent image zoom from cropping text */

.offers .luxury-preview-card:hover .offer-image {
    transform: none;
}

/* Content appears below image */

.offers .luxury-preview-card .offer-content {
    position: relative;
    inset: auto;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
    width: 100%;
    min-height: 0;
    padding: 24px 28px;
    background: #f8f6f2;
    color: #25211c;
    text-align: right;
}

/* English label */

.offers .luxury-preview-card
.offer-content > span:first-child {
    display: block;
    width: 100%;
    margin-bottom: 8px;
    color: #b58a4d;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-align: right;
}

/* Heading */

.offers .luxury-preview-card .offer-content h3 {
    width: 100%;
    margin: 0 0 8px;
    color: #27211c;
    font-size: 25px;
    font-weight: 800;
    line-height: 1.5;
    text-align: right;
}

/* Description */

.offers .luxury-preview-card .offer-content p {
    width: 100%;
    margin: 0 0 20px;
    color: #746b61;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.8;
    text-align: right;
}

/* Gold button */

.offers .luxury-preview-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    min-height: 43px;
    margin-top: auto;
    padding: 10px 22px;
    border: 1px solid #d5a85d;
    background: #dcb36e;
    color: #211b16;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    transition: background .2s ease;
}

.offers .luxury-preview-card:hover
.luxury-preview-button {
    background: #edcc92;
}

/* Tablet */

@media (max-width: 900px) {
    .offers .luxury-preview-grid {
        gap: 16px;
    }

    .offers .luxury-preview-card .offer-content {
        padding: 20px;
    }

    .offers .luxury-preview-card .offer-content h3 {
        font-size: 22px;
    }
}

/* Mobile */

@media (max-width: 768px) {
    .offers .luxury-preview-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .offers .luxury-preview-card,
    .offers .luxury-preview-link {
        min-height: 0;
    }

    .offers .luxury-preview-card .offer-image {
        aspect-ratio: 16 / 9;
    }

    .offers .luxury-preview-card .offer-content {
        padding: 20px;
    }

    .offers .luxury-preview-card .offer-content h3 {
        font-size: 22px;
    }

    .offers .luxury-preview-card .offer-content p {
        font-size: 13px;
    }
}