/* SEO landing pages (SearchResults.aspx landing mode). Linked only when the request
   matches a LandingPageProvider entry; markup comes from App_Code/Landing/LandingRenderer.cs. */

.bf-hero {
    position: relative;
    background-size: cover;
    background-position: center 55%;
    box-shadow: 0 1px 6px 1px rgba(0,0,0,0.25);
}

    /* Soft scrim behind the title instead of a hard text shadow. */
    .bf-hero::before {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        pointer-events: none;
        background: radial-gradient(ellipse 55% 38% at 50% 22%, rgba(10,30,40,0.38), transparent 70%);
    }

/* H1 at the top, search card pinned to the bottom, photo showing in between. */
.bf-hero-inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 430px;
    max-width: 1080px;
    margin: 0 auto;
    padding: 46px 20px 28px 20px;
    text-align: center;
    position: relative; /* above the hero scrim */
}

.bf-hero-eyebrow {
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    margin-bottom: 14px;
    opacity: 0.92;
    text-shadow: 0 1px 8px rgba(0,0,0,0.35);
}

.bf-hero-h1 {
    color: #fff;
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 400;
    font-size: 58px;
    line-height: 1.05;
    letter-spacing: -0.01em;
    font-variation-settings: 'opsz' 144;
    margin: 0 0 24px 0;
    text-shadow: 0 2px 24px rgba(0,0,0,0.35), 0 1px 2px rgba(0,0,0,0.3);
}

/* Lede between the hero and the intro box: standfirst in Georgia, sand rule above, ticked chips. */
.bf-lede {
    text-align: center;
    padding: 30px 10px 6px 10px;
}

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

.bf-lede-text {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 20px;
    line-height: 1.6;
    color: #3f3a2d;
    max-width: 760px;
    margin: 0 auto 18px auto;
}

.bf-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 4px 4px;
    padding: 5px 14px 5px 12px;
    background: #fffdf3;
    border: 1px solid rgba(168,154,133,0.55);
    border-radius: 16px;
    box-shadow: 0 1px 2px rgba(18,18,18,0.06);
    color: #584e38;
    font-size: 13px;
}

.bf-chip-ico {
    width: 15px;
    height: 15px;
    flex: none;
    fill: none;
    stroke: #a8874d;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.bf-search-card {
    background: rgba(255,253,243,0.97);
    border-radius: 10px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.35);
    width: 100%; /* auto side margins in the flex column would otherwise shrink it to content */
    max-width: 900px;
    margin: 22px auto 0 auto;
    padding: 16px 18px 12px 18px;
    text-align: left;
}

.bf-search-title {
    font-size: 15px;
    font-weight: bold;
    color: #584e38;
    margin-bottom: 10px;
}

.bf-search-note {
    font-weight: normal;
    color: #8a7d62;
    font-size: 13px;
}

.bf-search-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: flex-end;
}

.bf-field {
    flex: 1 1 130px;
    margin: 0;
    font-weight: normal;
}

    .bf-field span {
        display: block;
        font-size: 12px;
        font-weight: bold;
        color: #584e38;
        margin-bottom: 3px;
    }

.bf-field-nights {
    flex: 0 1 90px;
}

.bf-search-btn {
    flex: 1 1 210px;
    font-weight: bold;
}

.bf-search-alt {
    font-size: 13px;
    color: #8a7d62;
    margin-top: 10px;
}

.bf-intro {
    background: #fffdf3;
    border: 1px solid rgba(168,154,133,0.5);
    border-radius: 8px;
    box-shadow: 3px 3px 5px -2px rgba(18,18,18,0.2);
    padding: 22px 26px 18px 26px;
    margin-top: 22px;
    font-size: 15.5px;
    line-height: 1.6;
    color: #3f3a2d;
}

    .bf-intro p {
        margin-bottom: 12px;
    }

.bf-trust {
    border-left: 4px solid #882427;
    background: #f7f0d8;
    padding: 10px 14px;
    font-size: 13.5px;
    color: #5c5340;
    border-radius: 0 6px 6px 0;
    margin-top: 14px;
}

/* Quiet "curiosities" in an intro: hairline above, small-caps label (.bf-curio-label, added
   by the renderer as the first child), italic serif numerals, thin dividers between. */
.bf-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid rgba(201,180,138,0.55);
}

.bf-curio-label {
    grid-column: 1 / -1;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: #a8874d;
    margin: 0 0 14px 0;
}

.bf-stat {
    border-left: 1px solid rgba(201,180,138,0.45);
    padding: 2px 22px;
}

.bf-curio-label + .bf-stat {
    border-left: 0;
    padding-left: 0;
}

.bf-stat-num {
    font-family: 'Fraunces', Georgia, serif;
    font-style: italic;
    font-weight: 400;
    font-size: 26px;
    line-height: 1.1;
    color: #7a6440;
    margin-bottom: 4px;
}

.bf-stat-label {
    font-size: 13px;
    line-height: 1.45;
    color: #6b6352;
}

/* Two across on phones. The label is child 1, so the left column is the even children. */
@media (max-width: 767px) {
    .bf-stats {
        grid-template-columns: 1fr 1fr;
        row-gap: 18px;
    }

    .bf-stat:nth-child(even) {
        border-left: 0;
        padding-left: 0;
    }
}

.bf-stats-source {
    font-size: 12.5px;
    color: #8a7d62;
    margin: 4px 0 12px 0;
}

.bf-jump {
    margin: 18px 0 4px 0;
}

.bf-jump-label {
    font-size: 13px;
    font-weight: bold;
    color: #584e38;
    margin-right: 8px;
}

.bf-jump-pill {
    display: inline-block;
    margin: 4px 6px 4px 0;
    padding: 6px 12px;
    background: #fffdf3;
    border: 1px solid #d3c6a4;
    border-left-width: 4px;
    border-radius: 4px;
    color: #584e38;
    font-size: 13px;
    font-weight: bold;
}

    .bf-jump-pill:hover, .bf-jump-pill:focus {
        background: #f0e7c0;
        text-decoration: none;
        color: #3f3a2d;
    }

.bf-area-title {
    display: flex;
    align-items: baseline;
    gap: 14px;
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 400;
    font-size: 30px;
    letter-spacing: -0.005em;
    color: #3f3a2d;
    margin: 28px 0 6px 0;
}

.bf-area-idx {
    align-self: center;
    font-family: 'Fraunces', Georgia, serif;
    font-style: italic;
    font-weight: 300;
    font-size: 22px;
    line-height: 1;
    color: var(--rc);
    padding-right: 14px;
    border-right: 1px solid var(--rc);
}

.bf-area-of {
    margin-left: auto;
    align-self: center;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--rc);
    opacity: 0.8;
}

@media (max-width: 767px) {
    .bf-area-title {
        font-size: 24px;
    }

    .bf-area-of {
        display: none;
    }
}

.bf-area-intro {
    color: #6d6350;
    font-size: 14.5px;
    max-width: 860px;
    margin-bottom: 8px;
}

.bf-cards {
    display: flex;
    flex-wrap: wrap;
    margin: 10px -8px 0 -8px;
}

.bf-card {
    display: flex;
    flex-direction: column;
    width: calc(33.333% - 16px);
    margin: 8px;
    background: #fffdf3;
    border: 1px solid rgba(168,154,133,0.5);
    border-radius: 8px;
    box-shadow: 3px 3px 5px -2px rgba(18,18,18,0.25);
    overflow: hidden;
}

/* "Also in this area" links under a zone's cards. */
.bf-area-more {
    font-size: 13.5px;
    color: #6d6350;
    margin: 4px 0 6px 0;
    max-width: 960px;
    line-height: 1.6;
}

/* Zones with 2 or 4 cards go two across, so the grid has no orphan or empty slot. */
.bf-cards-pairs .bf-card {
    width: calc(50% - 16px);
}

.bf-card-photo {
    position: relative;
    display: block;
}

    .bf-card-photo img {
        width: 100%;
        height: auto;
        display: block;
    }

.bf-card-num {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 26px;
    height: 26px;
    border-radius: 13px;
    color: #fff;
    font-weight: bold;
    font-size: 14px;
    text-align: center;
    line-height: 26px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.bf-card-rating {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0,0,0,0.55);
    color: #fff;
    font-size: 13px;
    padding: 3px 9px;
    border-radius: 12px;
}

    .bf-card-rating .glyphicon-star {
        color: #ffda49;
        font-size: 11px;
    }

.bf-card-beach {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 10px 6px 10px;
    color: #fff;
    font-size: 13px;
    font-weight: bold;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.65) 70%);
}

/* Credit for a HawaiiGaga Favorite photo on a homes card: links to that rental. */
.bf-card-credit {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 22px 10px 7px 10px;
    color: #fff;
    font-size: 13px;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 70%);
}

    .bf-card-credit:hover, .bf-card-credit:focus {
        color: #fff;
        text-decoration: underline;
    }

.bf-card-credit-label {
    display: inline-block;
    margin-right: 7px;
    padding: 1px 7px;
    border-radius: 3px;
    background: #c9862a;
    font-size: 11px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.bf-card-body {
    padding: 10px 14px 4px 14px;
    flex: 1 1 auto;
}

.bf-card-name {
    margin: 0 0 4px 0;
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 500;
    font-size: 21px;
    line-height: 1.2;
    letter-spacing: -0.005em;
}

    .bf-card-name a {
        color: #584e38;
    }

.bf-card-meta {
    font-size: 13px;
    color: #157707;
    font-weight: bold;
    margin-bottom: 6px;
}

.bf-card-blurb {
    font-size: 13.5px;
    color: #5c5340;
    line-height: 1.5;
    margin-bottom: 6px;
}

.bf-card-actions {
    padding: 0 14px 12px 14px;
}

/* Bridge into the ranked results: the gold dash from the lede, an eyebrow, centered heading. */
.bf-bridge {
    text-align: center;
    margin: 56px 0 6px 0;
}

.bf-bridge-dash {
    display: block;
    width: 56px;
    height: 2px;
    background: #c9b48a;
    margin: 0 auto 18px auto;
}

.bf-bridge-eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #a8874d;
}

#all-rentals .bf-h2 {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 400;
    font-size: 32px;
    text-align: center;
    color: #3f3a2d;
    margin-top: 8px;
}

#all-rentals .bf-area-intro {
    text-align: center;
    max-width: 720px;
    margin: 6px auto 20px auto;
    color: #6b6352;
}

.bf-h2 {
    color: #584e38;
    font-size: 24px;
    margin: 30px 0 6px 0;
}

#bfMap {
    height: 440px;
    border-radius: 8px;
    border: 1px solid rgba(168,154,133,0.5);
    box-shadow: 3px 3px 5px -2px rgba(18,18,18,0.25);
    background: #e8e4d4;
}

.bf-faq-item {
    background: #fffdf3;
    border: 1px solid rgba(168,154,133,0.5);
    border-radius: 8px;
    padding: 14px 18px;
    margin-bottom: 10px;
}

    .bf-faq-item h3 {
        margin: 0 0 6px 0;
        font-size: 17px;
        color: #584e38;
    }

.bf-faq-a {
    font-size: 14.5px;
    line-height: 1.55;
    color: #5c5340;
}

.bf-more {
    margin: 16px 0 26px 0;
    font-size: 14px;
}

@media (max-width: 900px) {
    .bf-card {
        width: calc(50% - 16px);
    }
}

@media (max-width: 767px) {
    .bf-hero-h1 {
        font-size: 38px;
    }
}

@media (max-width: 580px) {
    .bf-card, .bf-cards-pairs .bf-card {
        width: calc(100% - 16px);
    }

    .bf-hero-inner {
        min-height: 0;
        padding: 38px 14px 22px 14px;
    }

    .bf-lede {
        padding: 22px 0 4px 0;
    }

    .bf-lede-text {
        font-size: 17.5px;
    }

    .bf-intro {
        padding: 16px;
    }

    #bfMap {
        height: 330px;
    }
}

/* Zones with a single card, and the homes card, span the whole row: photo left, text right. */
.bf-cards-wide .bf-card {
    width: calc(100% - 16px);
    display: grid;
    grid-template-columns: minmax(0, 42%) minmax(0, 1fr);
    grid-template-rows: 1fr auto;
}

.bf-cards-wide .bf-card-photo {
    grid-row: 1 / span 2;
    min-height: 250px;
}

    .bf-cards-wide .bf-card-photo img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.bf-cards-wide .bf-card-body {
    padding: 16px 20px 4px 20px;
}

.bf-cards-wide .bf-card-actions {
    padding: 0 20px 16px 20px;
}

.bf-cards-wide .bf-card-blurb {
    font-size: 14.5px;
}

    .bf-cards-wide .bf-card-blurb p {
        margin-bottom: 8px;
    }

/* Text-only homes card: no photo column, accent bar in the zone color instead. */
.bf-cards-wide .bf-card-nophoto {
    display: flex;
    flex-direction: column;
    border-left: 5px solid;
}

@media (max-width: 580px) {
    .bf-cards-wide .bf-card {
        display: flex;
        flex-direction: column;
    }

    .bf-cards-wide .bf-card-photo {
        min-height: 0;
    }

        .bf-cards-wide .bf-card-photo img {
            position: static;
            height: auto;
        }
}

/* ---------- Building header on complex rentals pages (App_Code/Landing/ComplexHeader.cs) ---------- */
/* Editorial look (Oct 2026): serif title (Fraunces, loaded only on these pages), small "HawaiiGaga
   Insider Tips" kicker, teal halo bullets with bold lead-in phrases, layered shadow. */

.bf-bldg {
    background: linear-gradient(180deg, #fffdf5 0%, #fdf8e9 100%);
    border: 1px solid rgba(168,154,133,0.35);
    border-radius: 10px;
    box-shadow: 0 1px 2px rgba(60,50,30,0.08), 0 6px 16px -6px rgba(60,50,30,0.22);
    padding: 16px 22px 18px 22px;
    margin: 0 0 16px 0;
    color: #3f3a2d;
}

.bf-bldg-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 22px;
    font-size: 14px;
    font-weight: bold;
    color: #4a4130;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(168,154,133,0.3);
}

    .bf-bldg-facts .glyphicon {
        color: #8a7d62;
        font-size: 12px;
    }

    .bf-bldg-facts .bf-bldg-star {
        color: #d4a017;
    }

.bf-bldg-sub {
    font-weight: normal;
    color: #8a7d62;
    font-size: 13px;
}

.bf-bldg-kicker {
    margin-top: 16px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #c0782e;
}

.bf-bldg-h2 {
    font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
    font-size: 23px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.2px;
    color: #2f4a46;
    margin: 4px 0 10px 0;
}

.bf-bldg-tips {
    list-style: none;
    padding-left: 0;
    margin: 0 0 8px 0;
    font-size: 14.5px;
    line-height: 1.55;
}

    .bf-bldg-tips li {
        position: relative;
        padding-left: 22px;
        margin-bottom: 8px;
    }

        .bf-bldg-tips li::before {
            content: '';
            position: absolute;
            left: 3px;
            top: 0.55em;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: #3d8c84;
            box-shadow: 0 0 0 3px rgba(61,140,132,0.15);
        }

        .bf-bldg-tips li strong {
            font-weight: 600;
            color: #2a251b;
        }

.bf-bldg-source {
    font-size: 12.5px;
    color: #8a7d62;
    font-style: italic;
}

.bf-bldg-chips {
    margin: 14px 0 2px 0;
}

.bf-bldg-chips-label {
    font-size: 13px;
    font-weight: bold;
    color: #584e38;
    margin-right: 6px;
}

.bf-bldg-chip {
    display: inline-block;
    margin: 3px 6px 3px 0;
    padding: 4px 11px;
    background: #fff;
    border: 1px solid #d3c6a4;
    border-radius: 14px;
    color: #584e38;
    font-size: 13px;
}

    .bf-bldg-chip:hover, .bf-bldg-chip:focus {
        background: #f0e7c0;
        text-decoration: none;
        color: #3f3a2d;
    }

.bf-bldg-count {
    color: #8a7d62;
    font-size: 12px;
    margin-left: 2px;
}

.bf-bldg-chip-on, .bf-bldg-chip-on:hover, .bf-bldg-chip-on:focus {
    background: #2f4a46;
    border-color: #2f4a46;
    color: #fff;
}

    .bf-bldg-chip-on .bf-bldg-count {
        color: #d5e6e3;
    }

.bf-bldg-guide {
    display: inline-block;
    margin-top: 8px;
    font-weight: bold;
    font-size: 14px;
    color: #2f6f69;
}

    .bf-bldg-guide:hover, .bf-bldg-guide:focus {
        color: #1f4f4a;
    }

@media (max-width: 580px) {
    .bf-bldg {
        padding: 14px 15px 16px 15px;
    }

    .bf-bldg-facts {
        gap: 4px 14px;
        font-size: 13.5px;
    }

    .bf-bldg-h2 {
        font-size: 21px;
    }
}
