/* ==================== HOME PAGE (Default.aspx, Oct 2026) ====================
   Markup: App_Code/BLL/HomePageContent.cs. Hero search: hg-home.js. Colours and fonts come
   from hg-site.css (--hgx-*). Scoped under .hgh so Bootstrap's heading margins and the old
   mobile body font size don't leak in. */

.hgh {
    margin: 0 -15px -40px; /* full bleed in .container-fluid; meets the footer */
    background: var(--hgx-cream);
    color: var(--hgx-ink);
    font: 16px/1.55 var(--hgx-sans);
}

    .hgh a {
        color: var(--hgx-blue);
    }

    .hgh h1, .hgh h2, .hgh h3 {
        margin: 0;
        font-family: var(--hgx-serif);
        font-weight: 400;
        color: var(--hgx-brown);
    }

    .hgh p {
        margin: 0;
    }

/* ---------------------------------------------------------------- hero */

/* Same shape as the landing pages (hg-landing.css .bf-hero): H1 at the top, an opaque search
   card pinned to the bottom, the photo showing in between, a soft drop shadow, and the lede
   below the photo after a sand rule.
   Only the H1 sits on the photo, so the scrim only has to give it 3:1: a darker band across
   the top plus a soft ellipse behind the line itself, centred on the H1 (56px padding + half
   a line). --hgh-scrim is the ellipse's centre alpha - a darker photo can set less on the
   section's style attribute. Check any new photo with _preview/hero-tester.html, which reads
   these gradients from the live CSS. */
.hgh-hero {
    --hgh-scrim: .4;
    --hgh-scrim-rx: 640px;
    --hgh-scrim-ry: 150px;
    position: relative;
    z-index: 1; /* the drop shadow falls over the lede below */
    background-color: #35606b;
    background-size: cover;
    background-position: center 45%;
    box-shadow: 0 1px 6px 1px rgba(0, 0, 0, .25);
}

    .hgh-hero::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(ellipse var(--hgh-scrim-rx) var(--hgh-scrim-ry) at 50% 86px, rgba(10, 25, 35, var(--hgh-scrim)), rgba(10, 25, 35, var(--hgh-scrim)) 60%, rgba(10, 25, 35, 0)), linear-gradient(180deg, rgba(10, 25, 35, .4), rgba(10, 25, 35, .12) 30%, rgba(10, 25, 35, 0) 45%);
    }

.hgh-hero-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 460px;
    max-width: 900px;
    margin: 0 auto;
    padding: 56px 20px 30px;
    text-align: center;
    color: #fff;
}

.hgh .hgh-hero h1 {
    color: #fff;
    font-size: 60px;
    line-height: 1.04;
    letter-spacing: -.01em;
    font-variation-settings: 'opsz' 144;
    /* tight shadow crisps the letter edges; the wide ones lift the line off the photo */
    text-shadow: 0 1px 2px rgba(0, 0, 0, .45), 0 2px 10px rgba(0, 0, 0, .25), 0 4px 34px rgba(0, 0, 0, .35);
}

/* the landing pages' search card: everything under the H1 sits on cream, so no photo can
   make it hard to read */
.hgh-hero-card {
    position: relative;
    width: 100%;
    max-width: 700px;
    margin: 40px auto 0;
    padding: 28px 20px 16px;
    background: rgba(255, 253, 243, .97);
    border-radius: 14px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .35);
    color: var(--hgx-ink);
}

/* opaque pill straddling the card's top edge */
.hgh-hero-badge {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    padding: 8px 16px 7px;
    border-radius: 20px;
    background: var(--hgx-brown);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
    color: var(--hgx-cream);
    font: 700 10.5px/1 var(--hgx-sans);
    letter-spacing: .16em;
    text-transform: uppercase;
}

.hgh-search {
    position: relative;
    display: flex;
    margin: 0 auto;
    padding: 5px;
    background: #fff;
    border: 1px solid var(--hgx-line);
    border-radius: 40px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
}

    .hgh-search input {
        flex: 1;
        min-width: 0;
        border: 0;
        outline: 0;
        border-radius: 40px;
        padding: 11px 16px;
        font-size: 17px;
        color: var(--hgx-ink);
        background: transparent;
        -webkit-appearance: none;
        appearance: none;
    }

    .hgh-search button {
        border: 0;
        border-radius: 32px;
        padding: 0 26px;
        background: var(--hgx-red);
        color: #fff;
        font-weight: 600;
        font-size: 16px;
        cursor: pointer;
    }

        .hgh-search button:hover {
            background: #6f1c1f;
        }

.hgh-ac {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    z-index: 5;
    max-height: 380px;
    overflow: auto;
    list-style: none;
    margin: 0;
    padding: 6px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .28);
    text-align: left;
}

    .hgh-ac.show {
        display: block;
    }

    .hgh-ac li {
        display: flex;
        justify-content: space-between;
        gap: 12px;
        padding: 9px 12px;
        border-radius: 8px;
        cursor: pointer;
        color: var(--hgx-ink);
    }

        .hgh-ac li.active,
        .hgh-ac li:hover {
            background: var(--hgx-sand);
        }

.hgh-ac-type {
    font-size: 12px;
    color: var(--hgx-muted);
    white-space: nowrap;
}

.hgh-pills {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    align-items: center;
}

    .hgh-pills span {
        margin-right: 2px;
        font-size: 14px;
        color: var(--hgx-brown);
    }

.hgh a.hgh-pill {
    padding: 6px 16px;
    border: 1px solid var(--hgx-line);
    border-radius: 30px;
    background: #fff;
    color: var(--hgx-brown);
    font-weight: 600;
}

    .hgh a.hgh-pill:hover {
        background: var(--hgx-sand);
        border-color: #c9b48a;
        color: var(--hgx-brown);
        text-decoration: none;
    }

/* lede: standfirst under the photo, as on the landing pages */
.hgh-lede {
    padding: 34px 20px 0;
    text-align: center;
}

    .hgh-lede::before {
        content: '';
        display: block;
        width: 56px;
        height: 3px;
        margin: 0 auto 18px;
        border-radius: 2px;
        background: #c9b48a;
    }

    .hgh .hgh-lede p {
        max-width: 760px;
        margin: 0 auto;
        font: 20px/1.6 Georgia, 'Times New Roman', serif;
        color: var(--hgx-ink);
        text-wrap: pretty; /* no one-word last line where supported */
    }

    .hgh-lede + .hgh-sec {
        padding-top: 50px;
    }

/* ---------------------------------------------------------------- sections */

.hgh-sec {
    max-width: 1180px;
    margin: 0 auto;
    padding: 64px 20px;
}

.hgh-sand,
.hgh-dark {
    max-width: none;
}

.hgh-sand {
    background: var(--hgx-sand);
}

.hgh-dark {
    background: #2f4a46;
    color: #e8efe9;
}

.hgh-wrap {
    max-width: 1140px;
    margin: 0 auto;
}

.hgh-tight {
    padding: 40px 20px;
}

.hgh-head {
    margin-bottom: 34px;
    text-align: center;
}

    .hgh .hgh-head h2 {
        font-size: 40px;
        line-height: 1.1;
    }

    .hgh .hgh-head p {
        max-width: 640px;
        margin: 12px auto 0;
        font-size: 17px;
        color: var(--hgx-muted);
    }

.hgh-eyebrow {
    margin-bottom: 12px;
    font: 700 11.5px/1 var(--hgx-sans);
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--hgx-gold-text);
}

.hgh .hgh-dark h2,
.hgh .hgh-dark h3 {
    color: #fff;
}

.hgh .hgh-dark .hgh-head p {
    color: #c9d8d2;
}

.hgh .hgh-dark .hgh-eyebrow {
    color: #c8b188; /* 4.6:1 on the dark green */
}

.hgh a.hgh-btn {
    display: inline-block;
    padding: 9px 18px;
    border-radius: 6px;
    background: var(--hgx-red);
    color: #fff;
    font-weight: 600;
    font-size: 15px;
}

    .hgh a.hgh-btn:hover {
        background: #6f1c1f;
        text-decoration: none;
    }

.hgh-star {
    color: #d4a017;
}

/* ---------------------------------------------------------------- choose your island */

.hgh-isl-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
}

.hgh-isl {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(60, 50, 30, .08), 0 8px 22px -10px rgba(60, 50, 30, .3);
}

.hgh-isl-photo {
    display: block;
    position: relative;
    height: 230px;
    background-color: #c9d6d4;
    background-size: cover;
    background-position: center;
}

    .hgh-isl-photo::after {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, .55));
    }

.hgh-isl-name {
    position: absolute;
    left: 22px;
    bottom: 14px;
    z-index: 1;
    font-family: var(--hgx-serif);
    font-size: 38px;
    line-height: 1;
    color: #fff;
}

.hgh-isl-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 18px 22px 22px;
}

.hgh-isl-meta {
    min-height: 22px;
    font-size: 14px;
    font-weight: 600;
    color: #2f6b3a;
}

.hgh .hgh-isl-body p {
    flex: 1;
    margin: 8px 0 14px;
}

.hgh-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 16px;
}

.hgh a.hgh-chip {
    padding: 5px 13px;
    border: 1px solid var(--hgx-line);
    border-radius: 20px;
    background: var(--hgx-cream);
    font-size: 14px;
    color: var(--hgx-brown);
}

    .hgh a.hgh-chip:hover {
        border-color: var(--hgx-gold);
        background: #fff;
        text-decoration: none;
    }

.hgh-isl-body .hgh-btn {
    align-self: flex-start;
}

/* ---------------------------------------------------------------- kind of stay */

.hgh-tiles {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.hgh-tile {
    display: flex;
    flex-direction: column;
    padding: 20px 20px 18px;
    border: 1px solid #eadfbf;
    border-radius: 12px;
    background: #fff;
}

.hgh-tile-icon {
    margin-bottom: 10px;
    font-size: 26px;
    line-height: 1;
}

.hgh .hgh-tile h3 {
    font-size: 21px;
    line-height: 1.2;
}

.hgh .hgh-tile p {
    flex: 1;
    margin: 6px 0 10px;
    font-size: 14.5px;
    color: #6b6352;
}

.hgh-tile-count {
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #2f6b3a;
}

.hgh-tile-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

    .hgh .hgh-tile-links a {
        padding: 4px 11px;
        border-radius: 16px;
        background: var(--hgx-sand);
        font-size: 13.5px;
        font-weight: 600;
        color: var(--hgx-brown);
    }

        .hgh .hgh-tile-links a:hover {
            background: #f0e7c0;
            text-decoration: none;
        }

/* ---------------------------------------------------------------- favorite places */

.hgh-favs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.hgh a.hgh-fav {
    display: block;
    overflow: hidden;
    border-radius: 10px;
    background: #fff;
    color: var(--hgx-ink);
    box-shadow: 0 1px 2px rgba(60, 50, 30, .08), 0 6px 16px -8px rgba(60, 50, 30, .28);
    transition: transform .15s, box-shadow .15s;
}

    .hgh a.hgh-fav:hover {
        text-decoration: none;
        transform: translateY(-2px);
        box-shadow: 0 2px 4px rgba(60, 50, 30, .1), 0 12px 24px -10px rgba(60, 50, 30, .35);
    }

.hgh-fav-photo {
    display: block;
    position: relative;
    padding-top: 75%; /* 4:3 */
    background-color: #c9d6d4;
    background-size: cover;
    background-position: center;
}

.hgh-fav-tag {
    position: absolute;
    left: 10px;
    bottom: 10px;
    padding: 3px 9px;
    border-radius: 12px;
    background: rgba(0, 0, 0, .55);
    color: #fff;
    font-size: 12px;
}

.hgh-fav-body {
    display: block;
    padding: 12px 14px 14px;
}

.hgh-fav-isl {
    display: block;
    font: 700 10.5px/1 var(--hgx-sans);
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--hgx-gold-text);
}

.hgh-fav-name {
    display: block;
    margin: 5px 0 2px;
    font-family: var(--hgx-serif);
    font-size: 23px;
    color: var(--hgx-brown);
}

.hgh-fav-meta {
    display: block;
    min-height: 20px;
    font-size: 13px;
    color: #6b6352;
}

/* ---------------------------------------------------------------- how we choose */

.hgh-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    max-width: 980px;
    margin: 0 auto;
}

.hgh-pillar {
    padding-top: 14px;
    border-top: 2px solid #c9b48a;
}

    .hgh .hgh-pillar h3 {
        font-size: 22px;
    }

    .hgh .hgh-pillar p {
        margin: 8px 0 0;
        font-size: 15px;
        color: #d4e0db;
    }

.hgh-proof {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-top: 40px;
    text-align: center;
}

    .hgh-proof b {
        display: block;
        font-family: var(--hgx-serif);
        font-weight: 400;
        font-size: 40px;
        line-height: 1.1;
        color: #fff;
    }

    .hgh-proof div {
        font-size: 14px;
        color: #c9d8d2;
    }

/* ---------------------------------------------------------------- planning strip */

.hgh-plan {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 26px;
}

    .hgh .hgh-plan h2 {
        font-size: 28px;
    }

.hgh-plan-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

    .hgh .hgh-plan-links a {
        padding: 6px 14px;
        border: 1px solid #e2d6b2;
        border-radius: 20px;
        background: #fff;
        font-size: 14.5px;
        color: var(--hgx-brown);
    }

        .hgh .hgh-plan-links a:hover {
            border-color: var(--hgx-gold);
            text-decoration: none;
        }

/* ---------------------------------------------------------------- tablet */

@media (max-width: 1060px) {
    .hgh-tiles,
    .hgh-favs {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ---------------------------------------------------------------- phones */

@media (max-width: 860px) {
    .hgh-hero {
        --hgh-scrim-rx: 300px; /* the H1 wraps to two lines and runs edge to edge */
        --hgh-scrim-ry: 130px;
    }

    .hgh-hero-inner {
        min-height: 430px;
        padding: 40px 16px 22px;
    }

    .hgh .hgh-hero h1 {
        font-size: 38px;
    }

    .hgh-hero-card {
        margin-top: 34px;
        padding: 26px 12px 14px;
    }

    .hgh-hero-badge {
        letter-spacing: .1em;
    }

    .hgh-lede {
        padding-top: 26px;
    }

        .hgh .hgh-lede p {
            font-size: 17.5px;
        }

    .hgh-lede + .hgh-sec {
        padding-top: 40px;
    }

    .hgh-search button {
        padding: 0 18px;
    }

    .hgh-sec {
        padding: 46px 16px;
    }

    .hgh-tight {
        padding: 32px 16px;
    }

    .hgh .hgh-head h2 {
        font-size: 30px;
    }

    .hgh-isl-grid {
        grid-template-columns: 1fr;
    }

    .hgh-tiles,
    .hgh-favs {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .hgh-tile {
        padding: 16px;
    }

    .hgh-fav-name {
        font-size: 19px;
    }

    .hgh-pillars {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hgh-proof {
        grid-template-columns: repeat(2, 1fr);
    }

        .hgh-proof b {
            font-size: 32px;
        }
}

@media (max-width: 460px) {
    .hgh-tiles {
        grid-template-columns: 1fr;
    }

    .hgh-search input {
        padding: 10px 12px;
        font-size: 16px;
    }
}
