/* ==================== UNIT PAGE: NOT BOOKABLE (Oct 2026) ====================
   Details.aspx for status 10 (Vrbo dropped the listing; the page stays up for SEO but leaves
   search) and 404.aspx for removed units. Linked from code only on those pages.
   Markup: App_Code/BLL/UnitAlternatives.cs (cards) and Details.aspx.cs (notice, facts).
   Colours come from hg-site.css (--hgx-*). */

.hgd {
    margin: 0 0 24px;
    color: var(--hgx-ink);
}

.hgd-notice {
    margin: 0 0 22px;
    padding: 14px 18px;
    border-left: 4px solid #c9b48a;
    border-radius: 8px;
    background: var(--hgx-sand);
    font-size: 15.5px;
    line-height: 1.55;
}

    .hgd-notice strong {
        display: block;
        margin-bottom: 2px;
        font-size: 17px;
        color: var(--hgx-brown);
    }

.hgd-h {
    margin: 0 0 12px;
    font: 400 24px/1.2 var(--hgx-serif);
    color: var(--hgx-brown);
}

.hgd-alts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(205px, 1fr));
    gap: 14px;
}

a.hgd-alt {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--hgx-line);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
    color: var(--hgx-ink);
    transition: box-shadow .15s, transform .15s;
}

    a.hgd-alt:hover,
    a.hgd-alt:focus {
        text-decoration: none;
        color: var(--hgx-ink);
        box-shadow: 0 6px 18px rgba(0, 0, 0, .14);
        transform: translateY(-2px);
    }

    .hgd-alt img {
        display: block;
        width: 100%;
        height: auto;
        aspect-ratio: 3 / 2;
        object-fit: cover;
        background: var(--hgx-sand);
    }

.hgd-alt-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 12px 12px;
}

.hgd-alt-name {
    font-weight: 600;
    font-size: 15px;
    line-height: 1.3;
    color: var(--hgx-brown);
}

.hgd-alt-meta {
    font-size: 13px;
    color: var(--hgx-muted);
}

.hgd-star {
    color: #b8860b;
}

.hgd-alt-tag {
    align-self: flex-start;
    margin-top: 5px;
    padding: 2px 9px;
    border: 1px solid #e2cf9f;
    border-radius: 12px;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--hgx-gold-text);
}

.hgd-all {
    display: inline-block;
    margin-top: 12px;
    font-weight: 600;
}

.hgd-facts {
    margin-top: 26px;
    padding: 16px 18px;
    border: 1px solid var(--hgx-line);
    border-radius: 10px;
    background: var(--hgx-cream);
    font-size: 15px;
    line-height: 1.6;
}

    .hgd-facts .hgd-h {
        font-size: 20px;
    }

    .hgd-facts p {
        margin: 0 0 8px;
    }

.hgd-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 4px 0 8px;
    padding: 0;
    list-style: none;
}

    .hgd-chips li {
        padding: 3px 11px;
        border: 1px solid var(--hgx-line);
        border-radius: 14px;
        background: #fff;
        font-size: 13px;
        color: var(--hgx-brown);
    }

.hgd-small {
    font-size: 13px;
    color: var(--hgx-muted);
}

.hgd-owner {
    margin-top: 14px;
    font-size: 13.5px;
    color: var(--hgx-muted);
}

/* 404.aspx for a removed unit: same cards, centred page */
.hgd-gone {
    max-width: 980px;
    margin: 10px auto 30px;
    padding: 0 15px;
    text-align: left;
}

/* Phones stack Details' left column (rates, "Interested?") above this one; on a status 10 page
   lead with the notice and the similar units instead. */
@media (max-width: 767px) {
    .limitsize-rsp:has(> .col-sm-8 .hgd) {
        display: flex;
        flex-direction: column;
    }

        .limitsize-rsp:has(> .col-sm-8 .hgd) > .col-sm-8 {
            order: -1;
        }
}

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

    .hgd-alt-body {
        padding: 8px 9px 10px;
    }

    .hgd-alt-name {
        font-size: 14px;
    }

    .hgd-alt-meta {
        font-size: 12px;
    }
}
