.site-search-form .form-control,
.site-search-form .btn {
    height: 2.35rem;
    line-height: 1.2;
}

.site-search-form .form-control {
    padding: 0.45rem 0.85rem 0.45rem 1rem;
}

.site-search-form .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.9rem;
}

.search-hero-form {
    display: flex;
    align-items: stretch;
    gap: 0;
    width: 100%;
    max-width: 34rem;
    margin-top: 1rem;
    background: #ffffff;
    border: 2px solid rgba(29, 95, 209, 0.22);
    border-radius: 999px;
    box-shadow: none;
    overflow: hidden;
}

.search-hero-form .form-control,
.search-hero-form .btn {
    min-height: 3.15rem;
}

.search-hero-form .form-control {
    flex: 1 1 auto;
    width: auto;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: #ffffff;
    padding-inline: 1.1rem;
}

.search-hero-form .form-control:focus {
    box-shadow: none;
}

.search-hero-form .btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-inline: 1.35rem;
    border-radius: 0;
    border-left: 1px solid rgba(29, 95, 209, 0.18);
}

.search-page-title {
    margin: 0 0 1rem;
}

.search-suggestions {
    color: var(--muted);
}

.search-suggestions a {
    color: var(--brand-700);
}

.search-results {
    display: grid;
    gap: 1rem;
}

.search-result-card {
    background: #ffffff;
    border: 1px solid rgba(34, 97, 204, 0.14);
    border-radius: 1.15rem;
    box-shadow: 0 14px 28px rgba(18, 44, 87, 0.06);
}

.search-result-card h3,
.search-result-card .h5 {
    color: var(--brand-900);
}

.search-result-card h3 a {
    color: inherit;
    text-decoration: none;
}

.search-result-card h3 a:hover,
.search-result-card h3 a:focus {
    color: var(--brand-700);
    text-decoration: underline;
    text-underline-offset: 0.16em;
}

.search-result-card p {
    color: var(--muted);
}

.search-results-note {
    color: var(--muted);
    margin-bottom: 0;
}

.search-results-heading {
    margin-bottom: 0.5rem;
    color: var(--brand-900);
}

.search-result-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.45rem;
    color: var(--brand-700);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.search-result-breadcrumbs::before {
    content: "";
    width: 0.65rem;
    height: 0.65rem;
    background: var(--brand-500);
    border-radius: 50%;
    flex: 0 0 auto;
}

.search-result-breadcrumbs a {
    color: var(--brand-700);
    text-decoration: none;
}

.search-result-breadcrumbs a:hover,
.search-result-breadcrumbs a:focus {
    color: var(--brand-900);
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.search-result-breadcrumbs .hero-breadcrumb-current {
    color: var(--brand-900);
}

@media (max-width: 767.98px) {
    .site-search-form .form-control,
    .site-search-form .btn {
        height: 2.5rem;
    }

    .search-hero-form {
        max-width: 100%;
    }
}
