.blog-layout-section.nm-search-results {
    padding-top: 80px;
}

.search-results-container {
    width: 100%;
    max-width: 1248px;
    margin: 0 auto;
    padding: 0 24px;
}

.search-results-title {
    margin: 0;
    color: var(--bs-black);
    font-size: 40px;
    font-weight: 800;
    line-height: 48px;
}

.search-results-count {
    margin: 8px 0 24px;
    color: var(--bs-darkness);
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
}

.nm-results-search {
    max-width: 590px;
    padding: 10px 16px;
}

.search-results-tabs {
    display: flex;
    gap: 32px;
    margin-top: 40px;
    overflow-x: auto;
    border-bottom: 1px solid var(--bs-neutral);
    scrollbar-width: none;
}

.search-results-tabs::-webkit-scrollbar {
    display: none;
}

.search-results-tabs a {
    flex: 0 0 auto;
    margin-bottom: -1px;
    padding: 8px 0 10px;
    border-bottom: 2px solid transparent;
    color: var(--bs-darkness);
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    text-decoration: none;
    white-space: nowrap;
}

.search-results-tabs a:hover,
.search-results-tabs a:focus-visible {
    color: var(--bs-black);
}

.search-results-tabs a[aria-current="page"] {
    border-bottom-color: var(--bs-secondary-500);
    color: var(--bs-black);
}

.search-results-section {
    margin-top: 64px;
}

.search-section-more {
    margin: 24px 0 0;
}

.search-section-more a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--bs-secondary-500);
    font-family: var(--font-primary);
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
    text-decoration: none;
}

.search-section-more a:hover span:first-child,
.search-section-more a:focus-visible span:first-child {
    text-decoration: underline;
}

.search-section-title {
    margin: 0 0 24px;
    color: var(--bs-black);
    font-size: 20px;
    font-weight: 800;
    line-height: 24px;
}

.search-pages-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    margin: 0;
    padding: 0;
}

.search-page-card {
    border-bottom: 1px solid var(--bs-neutral);
}

.search-page-card-link {
    display: block;
    padding: 24px 0;
    color: var(--bs-black);
    text-decoration: none;
}

.search-page-card-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.search-page-card-trail {
    color: var(--bs-darkness);
    font-family: var(--font-primary);
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
}

.search-page-card-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.search-page-card-title {
    font-family: var(--font-primary);
    font-size: 20px;
    font-weight: 500;
    line-height: 24px;
}

.search-page-card-arrow {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    background-color: var(--bs-secondary-500);
    -webkit-mask: url("../images/icons/desktop-menu/arrow-up-right.svg") center / contain no-repeat;
    mask: url("../images/icons/desktop-menu/arrow-up-right.svg") center / contain no-repeat;
}

.search-page-card-snippet {
    color: var(--bs-darkness);
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
}

.search-page-card-link:hover .search-page-card-title,
.search-page-card-link:focus-visible .search-page-card-title {
    color: var(--bs-secondary-500);
}

.nm-search-results .blog-list {
    column-gap: 54px;
    row-gap: 0;
}

body.search .nm-search-results .blog-item .blog-title,
body.search .nm-search-results .blog-item .blog-title a {
    font-weight: 500;
}

.nm-search-results .blog-thumb img {
    width: 139px;
    height: 110px;
    object-fit: cover;
}

.search-results-empty {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 40px;
}

.search-results-empty-text {
    max-width: 590px;
    margin: 0;
    color: var(--bs-black);
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
}

@media (min-width: 993px) {
    .search-pages-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 54px;
    }
}

@media (max-width: 992px) {
    .blog-layout-section.nm-search-results {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .search-results-title {
        font-size: 32px;
        line-height: 40px;
    }

    .search-results-section {
        margin-top: 40px;
    }

    body.search .blog-item {
        width: 100%;
    }
}
