/*
 * [cre_estate_info] showcase - a single large banner, not a grid card.
 * Deliberately spacious since this section only ever shows one listing.
 * Below it, a compact horizontal scroll strip of other listings sharing
 * the same estate - fixed row height regardless of how many there are.
 */

.cre-estate-info-section {
    margin: 32px 0;
}

.cre-estate-showcase-wrap {
    margin: 0;
}

.cre-estate-showcase {
    position: relative;
    display: block;
    min-height: 340px;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none !important;
    box-shadow: 0 10px 40px rgba(15, 30, 30, 0.14);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.cre-estate-showcase:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(15, 30, 30, 0.2);
    text-decoration: none !important;
}

.cre-estate-showcase-media {
    position: absolute;
    inset: 0;
}

.cre-estate-showcase-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.cre-estate-showcase:hover .cre-estate-showcase-media img {
    transform: scale(1.05);
}

.cre-estate-showcase-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(4, 12, 12, 0.92) 0%,
        rgba(4, 12, 12, 0.55) 40%,
        rgba(4, 12, 12, 0.05) 75%
    );
}

.cre-estate-showcase-labels {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.cre-estate-showcase-badge {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 5px 11px;
    border-radius: 20px;
}

.cre-estate-showcase-badge--status {
    background: rgba(15, 122, 107, 0.35);
    border-color: rgba(15, 122, 107, 0.55);
}

.cre-estate-showcase-content {
    position: relative;
    z-index: 2;
    min-height: 340px;
    padding: 32px 36px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 10px;
}

.cre-estate-showcase-title {
    font-size: 30px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin: 0;
    max-width: 32ch;
}

.cre-estate-showcase-meta {
    display: flex;
    flex-wrap: wrap;
    row-gap: 6px;
    column-gap: 20px;
}

.cre-estate-showcase-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.82);
}

.cre-estate-showcase-meta-item svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    opacity: 0.75;
}

.cre-estate-showcase-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    margin-top: 12px;
    padding: 11px 20px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    font-size: 13.5px;
    font-weight: 600;
    transition: background 0.25s ease, gap 0.25s ease;
}

.cre-estate-showcase-cta svg {
    width: 15px;
    height: 15px;
    transition: transform 0.25s ease;
}

.cre-estate-showcase:hover .cre-estate-showcase-cta {
    background: rgba(255, 255, 255, 0.22);
}

.cre-estate-showcase:hover .cre-estate-showcase-cta svg {
    transform: translateX(3px);
}

@media (max-width: 576px) {
    .cre-estate-showcase,
    .cre-estate-showcase-content {
        min-height: 260px;
    }

    .cre-estate-showcase-content {
        padding: 22px;
    }

    .cre-estate-showcase-title {
        font-size: 22px;
        max-width: none;
    }
}

.cre-estate-siblings {
    margin-top: 24px;
}

.cre-estate-siblings-title {
    font-size: 15px;
    font-weight: 700;
    color: #1c2b2b;
    margin: 0 0 10px;
}

.cre-estate-siblings-scroller {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 6px;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
}

.cre-estate-siblings-scroller::-webkit-scrollbar {
    height: 6px;
}

.cre-estate-siblings-scroller::-webkit-scrollbar-thumb {
    background: #d7dcdc;
    border-radius: 10px;
}

.cre-estate-sibling-card {
    flex: 0 0 170px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    border: 1px solid #e6e9e9;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    text-decoration: none !important;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.cre-estate-sibling-card:hover {
    box-shadow: 0 6px 18px rgba(15, 30, 30, 0.12);
    transform: translateY(-2px);
    text-decoration: none !important;
}

.cre-estate-sibling-thumb {
    height: 96px;
    flex-shrink: 0;
}

.cre-estate-sibling-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cre-estate-sibling-body {
    padding: 8px 10px 10px;
}

.cre-estate-sibling-title {
    font-size: 12.5px;
    font-weight: 600;
    color: #1c2b2b;
    line-height: 1.3;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cre-estate-sibling-price {
    font-size: 11.5px;
    color: #55605f;
}

.cre-estate-siblings-more {
    margin-top: 8px;
    font-size: 12px;
    color: #7c8686;
    font-style: italic;
}
