#pageHeader {
    display: none;
}
#siteFooter {
    margin-top: 0 !important;
}
.text-secondary,
.btn-outline-secondary {
    color: #3D4543 !important;
}
.btn-outline-secondary.active {
    color: #FFFFFF !important;
}
@media (min-width: 1200px) {
    .p-xl-5 {
        padding: 2.25rem !important;
    }
}
.nlh-search {
    --nlh-accent: #17828c;
    --nlh-dark: #002E36;
    --nlh-border: #E6E7E8;
    color: var(--nlh-dark);
}

.nlh-search__form {
    background: rgb(0, 104, 119);
    background: -moz-linear-gradient(30deg, rgb(0, 104, 119) 0%, rgb(25, 144, 155) 60%);
    background: -webkit-linear-gradient(30deg, rgb(0, 104, 119) 0%, rgb(25, 144, 155) 60%);
    background: linear-gradient(30deg, rgb(0, 104, 119) 0%, rgb(25, 144, 155) 60%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#006877",endColorstr="#19909b",GradientType=1);
    border-radius: 6px;
}

    .nlh-search__form[hidden],
    .nlh-search__category[hidden],
    .nlh-search__layout[hidden] {
        display: none !important;
    }

    .nlh-search__form .form-label {
        color: #FFFFFF;
        display: block;
        font-size: 1.5rem;
    }

    .nlh-search__form .form-select {
        width: 100%;
    }

    .nlh-search__form .form-control {
        min-height: 44px;
    }

.nlh-search__primary {
/*    background: var(--nlh-accent);
    border-color: var(--nlh-accent);
    color: white;*/
    min-height: 44px;
}

    .nlh-search__primary:hover {
        background: #00545f;
        color: white;
    }

.nlh-search__view-toggle .btn.active,
.nlh-search__view-toggle .btn[aria-pressed="true"] {
    background: var(--nlh-accent);
    border-color: var(--nlh-accent);
    color: #fff;
    cursor:default;
}
.nlh-search__view-toggle .btn[aria-pressed="false"] {
    border-color: var(--nlh-border);
}
    .nlh-search__view-toggle .btn[aria-pressed="false"]:hover {
        background: var(--nlh-dark);
        color: #FFFFFF;
    }

.nlh-search__group,
.nlh-search__list {
    border-radius: 12px !important;
    overflow: hidden;
}

/*.nlh-search__heading {
    color: var(--nlh-accent);
    padding-bottom: 12px;
}*/

.nlh-search__count {
    color: #526a6e;
    font-size: 0.8em;
    font-weight: 500;
}

.nlh-search__hit:last-child {
    border-bottom: 0 !important;
}

.nlh-search__title {
    color: var(--nlh-accent);
}

    .nlh-search__title:hover {
        text-decoration: underline !important;
    }

.nlh-search__all {
    border-color: var(--nlh-accent);
    color: var(--nlh-accent);
}

    .nlh-search__all:hover {
        background: var(--nlh-accent);
        color: #fff;
    }

.nlh-search__type-badge {
    background: #e5f3f4;
    color: var(--nlh-dark);
    font-weight: 500;
}

.nlh-search__suggestions ul {
    padding-left: 20px;
}

.nlh-search__suggestions a {
    color: var(--nlh-accent);
}

.nlh-search button:focus-visible,
.nlh-search a:focus-visible,
.nlh-search input:focus-visible,
.nlh-search select:focus-visible {
    outline: 3px solid #e3ad33;
    outline-offset: 2px;
}

@media (max-width: 575px) {
    .nlh-search__layout {
        width: 100%;
        justify-content: space-between;
    }

    .nlh-search__view-toggle .btn {
        font-size: 0.85rem;
    }

    .nlh-search__list .card-body,
    .nlh-search__list .card-header {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}


/* Provider search results */
.nlh-search__provider-content {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.nlh-search__provider-image-link {
    display: block;
    flex-shrink: 0;
}

.nlh-search__provider-image {
    width: 100px;
    height: 120px;
    object-fit: cover;
    object-position: center top;
    border-radius: 8px;
    background-color: #f3f4f5;
}

.nlh-search__provider-details {
    flex: 1;
    min-width: 0;
}

.nlh-search__provider-specialty {
    font-size: 0.9rem;
    font-weight: 600;
    color: #444;
    margin-top: 5px;
}

.nlh-search__provider-departments {
    font-size: 0.85rem;
    color: #666;
    margin-top: 4px;
}

.nlh-search__provider-link-icon {
    font-size: 0.75rem;
    margin-left: 6px;
}

.nlh-search__hit--provider .nlh-search__title {
    display: inline-block;
}

@media (max-width: 575px) {
    .nlh-search__provider-content {
        gap: 12px;
    }

    .nlh-search__provider-image {
        width: 75px;
        height: 90px;
    }
}

.nlh-search__heading .badge {
    font-size: 0.75rem;
    vertical-align: middle;
    padding: 0.4rem 0.65rem;
    letter-spacing: 0;
}

.nlh-search__provider-image-link {
    display: block;
    flex-shrink: 0;
}

.nlh-search__provider-image {
    display: block;
}

/* Prevent empty grouped cards from appearing */
.nlh-search__group {
    overflow: hidden;
}

/* Search form alignment */
.nlh-search__form .row {
    align-items: end;
}

.nlh-search__form .input-group,
.nlh-search__form .form-control,
.nlh-search__form .form-select {
    width: 100%;
    min-width: 0;
}

.nlh-search__form .input-group {
    flex-wrap: nowrap;
}

    .nlh-search__form .input-group .form-control {
        flex: 1 1 0%;
    }

.nlh-search__form .row > div {
    min-width: 0;
}

/* Remove legacy external-link icons */
.nlh-search__provider-link-icon {
    display: none !important;
}

/* Keep provider photos and text aligned */
.nlh-search__provider-content {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.nlh-search__provider-image-link {
    display: block;
    width: 100px;
    flex: 0 0 100px;
    line-height: 0;
}

.nlh-search__provider-image {
    display: block;
    width: 100%;
    height: 120px;
    object-fit: cover;
    object-position: center top;
    border-radius: 8px;
}

.nlh-search__provider-details {
    flex: 1 1 0%;
    min-width: 0;
    overflow-wrap: anywhere;
}

@media (max-width: 575px) {
    .nlh-search__provider-image-link {
        width: 75px;
        flex-basis: 75px;
    }

    .nlh-search__provider-image {
        height: 90px;
    }
}

/* Compact provider results in grouped view */

.nlh-search__group .nlh-search__hit--provider {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}

.nlh-search__group .nlh-search__provider-content {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.nlh-search__group .nlh-search__provider-image-link {
    flex: 0 0 65px;
    line-height: 0;
}

.nlh-search__group .nlh-search__provider-image {
    height: 78px;
    object-fit: cover;
    object-position: center top;
    border-radius: 5px;
}

.nlh-search__group .nlh-search__provider-details {
    flex: 1 1 0;
    min-width: 0;
}

.nlh-search__group .nlh-search__provider-specialty {
    font-size: 0.82rem;
    line-height: 1.3;
    margin-top: 3px;
}

.nlh-search__group .nlh-search__provider-departments {
    font-size: 0.78rem;
    line-height: 1.3;
    margin-top: 3px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.nlh-search__group .nlh-search__hit--provider p {
    font-size: 0.8rem !important;
    line-height: 1.4;
    margin-top: 5px !important;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

/* Keep provider titles compact */
.nlh-search__group .nlh-search__hit--provider
.nlh-search__title {
    font-size: 0.92rem;
    line-height: 1.3;
}

/* Prevent oversized loading placeholders */
.nlh-search__group .card-body {
    min-height: 0;
}


.nlh-search__result-date {
    font-size: 0.85rem;
    line-height: 1.4;
}

    .nlh-search__result-date i {
        color: #6c757d;
    }

.nlh-search__date-sort {
    flex-shrink: 0;
}

    .nlh-search__date-sort .form-select {
        width: auto;
        min-width: 135px;
        font-size: 0.8rem;
        padding-top: 4px;
        padding-bottom: 4px;
    }

/*.nlh-search__group .nlh-search__date-sort {
    margin-left: auto;
}*/

@media (max-width: 575px) {
    .nlh-search__date-sort .form-select {
        min-width: 120px;
    }
}

.nlh-search__location-address {
    line-height: 1.45;
}
.nlh-search__location-address-text {
    color: #000000;
    margin-bottom: 0;
}

.nlh-search__location-phone {
    font-weight: 500;
}
.nlh-search__location-address i,
.nlh-search__location-phone i {
    color: #19909B;
}

    .nlh-search__location-phone a:hover {
        text-decoration: underline !important;
    }


.nlh-search__form .input-group, .nlh-search__form .form-control, .nlh-search__form .form-select {
    height: 45px !Important;
}
