.mortgage-news .pageheader-third-bg {
    padding: 30px 0;
}

.mortgage-news .mortgage-news-order {
    margin-bottom: 24px;
}

.mortgage-news .mortgage-news-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.mortgage-news .mortgage-news-categories .outline-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 44px;
    max-width: 100%;
    padding: 10px 18px;
    color: #303443;
    line-height: 1.5;
    overflow-wrap: anywhere;
    text-align: center;
}

.mortgage-news .mortgage-news-categories .outline-label:hover,
.mortgage-news .mortgage-news-categories .outline-label.bg-primary {
    color: #fff;
    background-color: #3544ee !important;
    border-color: #3544ee;
}

.mortgage-news .mortgage-news-filters {
    padding: 24px;
    margin-bottom: 24px;
    border: 1px solid #ebecf7;
    border-radius: 4px;
    background: #fff;
}

.mortgage-news .mortgage-news-field label {
    display: block;
    color: #303443;
    margin-bottom: 8px;
}

.mortgage-news .mortgage-news-field .form-control {
    color: #303443;
    margin-bottom: 6px;
}

.mortgage-news .mortgage-news-field small {
    display: block;
    line-height: 1.5;
}

.mortgage-news .mortgage-news-filter-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
}

.mortgage-news .mortgage-news-filter-actions .btn,
.mortgage-news .mortgage-news-state .btn {
    min-height: 44px;
    white-space: normal;
}

.mortgage-news .mortgage-news-reset {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    text-decoration: underline;
}

.mortgage-news .mortgage-news-notice,
.mortgage-news .mortgage-news-category-note {
    font-size: 14px;
    margin-bottom: 20px;
}

.mortgage-news .mortgage-news-notice a {
    text-decoration: underline;
}

.mortgage-news .mortgage-news-results {
    color: #303443;
    font-weight: 600;
    margin-bottom: 24px;
}

.mortgage-news .mortgage-news-state {
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid #ebecf7;
    border-radius: 4px;
    background: #fff;
}

.mortgage-news .mortgage-news-state h2 {
    font-size: 24px;
    line-height: 1.4;
}

.mortgage-news .mortgage-news-pagination .pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding-left: 0;
    margin: 20px 0 0;
}

.mortgage-news .mortgage-news-pagination .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 12px 16px;
    margin: 0;
    border-radius: 24px;
    line-height: 1.25;
}

.mortgage-news .mortgage-news-pagination .active .page-link,
.mortgage-news .mortgage-news-pagination a.page-link:hover {
    color: #fff;
    background: #3544ee;
    border-color: #3544ee;
}

.mortgage-news .mortgage-news-pagination .disabled .page-link {
    color: #626582;
    background: #f8f8fb;
}

.mortgage-news .mortgage-news-ellipsis {
    display: flex;
    align-items: center;
    padding: 0 4px;
}

.mortgage-news a:focus-visible,
.mortgage-news button:focus-visible,
.mortgage-news input:focus-visible {
    outline: 3px solid #0c169f;
    outline-offset: 3px;
}

@media (max-width: 767.98px) {
    .mortgage-news .mortgage-news-filters {
        padding: 20px;
    }

    .mortgage-news .mortgage-news-field {
        margin-bottom: 20px;
    }

    .mortgage-news .mortgage-news-state {
        padding: 24px 20px;
    }
}