.courthouse-directory-page .phone-directory-hero h1 {
    margin: 0 0 10px;
    color: #101828;
    font-size: clamp(24px, 2.6vw, 36px);
    line-height: 1.2;
    font-weight: 800;
}

.courthouse-status-tabs a {
    border-radius: 999px;
    color: #344054;
    padding: 10px 18px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
}

.courthouse-status-tabs a.active,
.courthouse-search-submit,
.courthouse-pagination .active {
    background: #023e8a;
    color: #fff;
}

.courthouse-status-tabs a:hover,
.courthouse-pagination a:hover {
    background: #e8eff7;
    color: #023e8a;
}

.courthouse-status-tabs a:focus-visible,
.courthouse-search-submit:focus-visible,
.courthouse-pagination a:focus-visible {
    outline: 3px solid #6698d3;
    outline-offset: 3px;
}

.courthouse-search-submit {
    margin-top: 14px;
    min-height: 44px;
    padding: 10px 22px;
    border: 0;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
}

.courthouse-directory-page .phone-directory-result-meta a {
    color: #023e8a;
    flex-shrink: 0;
}

.courthouse-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
}

.courthouse-pagination a,
.courthouse-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid #d0d5dd;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
}

.courthouse-pagination a {
    color: #023e8a;
    background: #fff;
}

.courthouse-directory-page .courthouse-info-box h2,
.courthouse-directory-page .courthouse-faq h2 {
    margin: 0 0 12px;
    color: #101828;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.4;
}

.courthouse-results-heading {
    margin: 0 0 18px;
    color: #101828;
    font-size: 22px;
    line-height: 1.4;
}

@media (max-width: 767px) {
    .courthouse-status-tabs a {
        border-radius: 10px;
    }

    .courthouse-directory-page .phone-directory-result-meta {
        align-items: flex-start;
        flex-direction: column;
    }
}
