body {
    min-height: 100vh;
    background: #fff;
    overflow: auto;
    overflow-x: hidden;
}

html, body {
    height: 100%;
}

body  {
    min-height: 100%;
    height: auto !important;
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.container {
    flex: 1;
}

.policy-wrapper {
    border-radius: 2rem;
    margin-top: 2rem;
    padding: 2rem;
    overflow-wrap: break-word;
    background-color: var(--light-color);
    margin-bottom: 2rem;
}

.ui-menu * {
    background-color: unset !important;
}

.ui-menu .ui-menu-item {
    padding: 0 !important;
    margin: 0 !important;
}

.ui-menu .ui-menu-item a{
    height:fit-content !important;
    display: grid;
    grid-template-columns: 1fr 1fr;
    text-transform: uppercase;
    color: black !important;
    border: none !important;
    padding: 1rem !important;
    font-weight: 600 !important;
    transition: none !important;
}

.ui-menu .ui-menu-item a span:nth-child(3) {
    font-weight: normal !important;
    font-size: 10px !important;
    text-transform: uppercase;
}

.ui-menu-item a:hover {
    background: var(--orange-color) !important;
    background-color: var(--orange-color) !important;
    color: #fff !important;
    text-decoration: none !important;
    border: none !important;
}

.ui-menu .ui-menu-item a:hover span {
    color: #fff !important;
}

#search-hoa-results ul {
    max-height: 45vh !important;
    overflow-y: auto !important;
}

/* ============================================================
   SHARED HOMEPAGE-STYLE FOOTER
   ============================================================ */
.new-homepage-footer {
    position: relative;
    padding: 40px 0 30px;
    font-family: 'Poppins', sans-serif;
    background: #fff;
    border-top: 1px solid #e8e8e8;
    margin-top: 40px;
}

.new-homepage-footer a {
    color: #222;
    text-decoration: none;
    transition: color 0.2s;
    font-size: 14px;
}

.new-homepage-footer a:hover { color: #f26b50; }

.footer-logo-col { text-align: center; }

.footer-brand-logo,
.new-homepage-footer .hoa-brand-logo {
    display: inline-flex !important;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.new-homepage-footer .hoa-brand-hoa,
.new-homepage-footer .hoa-brand-name {
    font-size: 22px;
}

.new-homepage-footer .hoa-brand-sub {
    font-size: 9px;
}

.new-homepage-footer .hoa-brand-home-icon {
    width: 36px;
    height: 32px;
    display: block;
    flex-shrink: 0;
}

.footer-brand-icon {
    width: 46px;
    height: 46px;
    background: #fff0eb;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1.5px solid #f26b50;
}

.footer-logo-col .footer-tagline {
    font-size: 16px !important;
    color: #444;
    line-height: 1.1 !important;
    margin-bottom: 0;
    text-align: center;
}

.footer-logo-col .footer-tagline a { font-size: 12px; color: #333; }
.footer-logo-col .footer-tagline a:hover { color: #f26b50; }

.footer-social-icons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 14px;
}

.footer-social-icons a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e8e8e8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #f26b50;
    transition: background 0.2s, color 0.2s;
}

.footer-social-icons a:hover { background: #f26b50; color: #fff; }

.footer-col-title {
    font-size: 20px;
    font-weight: 700;
    color: #000;
    margin-bottom: 14px;
    font-family: 'Inter', sans-serif;
}

.footer-link-list { list-style: none; padding: 0; margin: 0; }
.footer-link-list li { margin-bottom: 8px; }
.footer-link-list li a { font-size: 14px; color: #000; font-weight: 400; }
.footer-link-list li a:hover { color: #f26b50; }

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-weight: 400;
    font-size: 14px;
    color: #000;
}

.footer-contact-item i,
.footer-contact-item .footer-contact-icon {
    color: #f26b50;
    font-size: 14px;
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-contact-item .footer-contact-icon {
    display: block;
    object-fit: contain;
}

.footer-contact-item a { font-size: 14px; color: #333; }
.footer-contact-item a:hover { color: #f26b50; }

.footer-contact-address {
    display: block;
    line-height: 1.45;
}

@media (min-width: 992px) {
    .new-homepage-footer .footer-columns-row {
        display: flex;
        flex-wrap: nowrap;
        justify-content: flex-start;
        align-items: flex-start;
        margin-left: 0;
        margin-right: 0;
    }

    .new-homepage-footer .footer-columns-row > [class*="col-"] {
        flex: 0 0 auto;
        width: auto;
        max-width: none;
        padding-left: 0;
        padding-right: 0;
    }

    .footer-logo-col {
        text-align: left;
        width: 240px;
        flex: 0 0 240px;
        flex-shrink: 0;
    }

    .footer-brand-logo,
    .new-homepage-footer .hoa-brand-logo {
        justify-content: flex-start !important;
    }

    .footer-logo-col .footer-tagline {
        text-align: left;
    }

    .footer-social-icons {
        justify-content: flex-start;
    }

    .footer-nav-group {
        display: flex;
        flex: 1 1 auto;
        flex-wrap: nowrap;
        align-items: flex-start;
        justify-content: flex-end;
        gap: 48px;
        padding-left: 48px;
        padding-right: 0;
        min-width: 0;
    }

    .footer-nav-group > [class*="col-"] {
        flex: 0 0 auto;
        width: auto;
        max-width: none;
        padding-left: 0;
        padding-right: 0;
    }

    .footer-company-col {
        width: 150px;
        flex-shrink: 0;
    }

    .footer-explore-col {
        width: 165px;
        flex-shrink: 0;
    }

    .footer-contact-col {
        flex: 0 0 auto;
        width: auto;
        max-width: none;
    }
}

.footer-bottom-bar {
    border-top: 1px solid #e8e8e8 !important;
    margin-top: 30px;
    padding: 14px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-bottom-bar p { font-size: 12px; color: #555; margin: 0; }
.footer-bottom-bar a { font-size: 12px; color: #555; }
.footer-bottom-bar a:hover { color: #f26b50; }

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-bottom-links__sep {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 5px;
    height: 21px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    letter-spacing: -0.01em;
    color: #000;
    user-select: none;
    flex-shrink: 0;
}

/* ── Footer responsive: logo full-width → Company+Explore 2-col → Contact full-width ── */
@media (max-width: 767px) {
    .new-homepage-footer .footer-columns-row {
        display: flex;
        flex-wrap: wrap;
        margin-left: 0;
        margin-right: 0;
    }

    /* Logo — full width centered */
    .new-homepage-footer .footer-logo-col {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        text-align: center;
        margin-bottom: 28px;
    }

    .new-homepage-footer .footer-brand-logo,
    .new-homepage-footer .hoa-brand-logo {
        justify-content: center !important;
    }

    .new-homepage-footer .footer-logo-col .footer-tagline {
        text-align: center;
    }

    .new-homepage-footer .footer-social-icons {
        justify-content: center;
    }

    /* Company — left 50% */
    .new-homepage-footer .footer-nav-group {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        padding-left: 0;
    }

    .new-homepage-footer .footer-nav-group > div:nth-child(1) {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        padding-right: 10px;
        margin-bottom: 24px;
    }

    /* Explore — right 50% */
    .new-homepage-footer .footer-nav-group > div:nth-child(2) {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        padding-left: 10px;
        margin-bottom: 24px;
    }

    /* Get in Touch — full width */
    .new-homepage-footer .footer-nav-group > div:nth-child(3) {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        margin-bottom: 0;
    }

    .footer-contact-address {
        white-space: normal;
    }

    .footer-bottom-bar {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .footer-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }
}

@media (max-width: 767px) {
    #community-search::placeholder,
    #searchInput::placeholder,
    #city-community-search::placeholder,
    #construction-community-search::placeholder,
    #adv-community-search::placeholder,
    .search-results-page__form .form-control::placeholder,
    .search-input::placeholder {
        font-size: 15px !important;
    }
}

/* Match home page native search clear button blue */
.community-search-clear-btn {
    color: #4285f4;
}

.community-search-clear-btn:hover,
.community-search-clear-btn:focus {
    color: #3367d6;
    outline: none;
}

/* Breadcrumb bar — city, county, construction, restaurant pages */
.construction-breadcrumb-bar {
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
    padding: 10px 0;
}

.construction-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    font-size: 13px;
    color: #666;
}

.construction-breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
}

.construction-breadcrumb a:hover {
    color: #fa611e;
}

.construction-breadcrumb .sep {
    color: #ccc;
    margin: 0 2px;
}

.construction-breadcrumb .current {
    color: #fa611e;
    font-weight: 500;
}

@media (max-width: 767px) {
    .construction-breadcrumb {
        font-size: 11px;
    }
}