.search-banner {
    width: 100%;
    overflow: hidden;
}

.search-banner .copilot-b-about_kv {
    width: 100%;
}

.search-results-page {
    background: #fff;
    padding: 72px 20px 110px;
}

.search-results-shell {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.search-results-header h2 {
    margin: 0;
    color: #171c26;
    font-size: 30px;
    font-weight: 600;
    line-height: 1.35;
}

.search-results-header h2 span {
    color: #019CE1;
}

.search-results-header p {
    margin: 5px 0 0;
    color: #747b85;
    font-size: 16px;
}

.search-results-header--empty p {
    max-width: 680px;
    margin-top: 9px;
    line-height: 1.6;
}

.search-results-form {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    margin: 28px 0 25px;
}

.search-results-form__icon {
    position: absolute;
    left: 18px;
    top: 18px;
    width: 17px;
    height: 17px;
    border: 2px solid #87909b;
    border-radius: 50%;
    pointer-events: none;
}

.search-results-form__icon::after {
    position: absolute;
    right: -5px;
    bottom: -4px;
    width: 7px;
    height: 2px;
    background: #87909b;
    content: "";
    transform: rotate(45deg);
}

.search-results-form input {
    width: 100%;
    height: 56px;
    padding: 0 18px 0 52px;
    color: #1b2532;
    background: #fff;
    border: 1px solid #d9dee5;
    border-radius: 10px;
    font-size: 17px;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}

.search-results-form input:focus {
    border-color: #1c78c7;
    box-shadow: 0 0 0 3px rgba(28, 120, 199, .12);
}

.search-results-form input[aria-invalid="true"] {
    border-color: #c74747;
    box-shadow: 0 0 0 3px rgba(199, 71, 71, .1);
}

.search-results-form button {
    position: absolute;
    z-index: 1;
    left: 0;
    width: 52px;
    height: 56px;
    padding: 0;
    color: transparent;
    background: transparent;
    border: 0;
    border-radius: 10px 0 0 10px;
    cursor: pointer;
}

.search-results-hint {
    min-height: 22px;
    margin: -14px 0 26px;
    color: #7a838e;
    font-size: 14px;
    line-height: 1.55;
}

.search-results-hint.is-error {
    color: #b43d3d;
}

.recent-searches {
    margin: -10px 0 30px;
}

.recent-searches__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    color: #67727e;
    font-size: 14px;
}

.recent-searches__heading button {
    padding: 2px 0;
    color: #6f7d89;
    background: transparent;
    border: 0;
    font-size: 13px;
    cursor: pointer;
}

.recent-searches__heading button:hover {
    color: #019CE1;
}

.recent-searches__list {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.recent-searches__list a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 5px 14px;
    color: #285d87;
    background: #f4f8fb;
    border: 1px solid #dce8f1;
    border-radius: 18px;
    font-size: 14px;
    text-decoration: none !important;
}

.recent-searches__list a:hover {
    color: #fff;
    background: #019CE1;
    border-color: #019CE1;
}

.search-results-page--topic {
    background:
        radial-gradient(circle at 92% 4%, rgba(1, 156, 225, .1), transparent 26%),
        linear-gradient(180deg, #f3f8fc 0, #f8fafc 420px, #f5f7f9 100%);
    padding-top: 48px;
}

.search-topic-overview,
.search-topic-related,
.search-topic-faq {
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 1px solid #dce7ef;
    border-radius: 22px;
    box-shadow: 0 12px 34px rgba(26, 70, 105, .07);
}

.search-topic-overview {
    margin-bottom: 34px;
    padding: 42px 46px;
}

.search-topic-overview::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #019ce1, #235ea8 62%, #63c5e8);
    content: "";
}

.search-topic-overview__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 60px;
    align-items: start;
}

.search-topic-overview__copy {
    max-width: 920px;
}

.search-topic-eyebrow {
    display: block;
    margin-bottom: 10px;
    color: #087bb6;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    line-height: 1.3;
    text-transform: uppercase;
}

.search-topic-overview h2,
.search-topic-section-heading h2 {
    margin: 0;
    color: #172433;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.3;
}

.search-topic-intro {
    margin-top: 16px;
    color: #465463;
    font-size: 18px;
    line-height: 1.8;
}

.search-topic-intro p:last-child {
    margin-bottom: 0;
}

.search-topic-guide {
    padding: 24px;
    background: #f1f8fc;
    border: 1px solid #d7ebf5;
    border-radius: 16px;
}

.search-topic-guide__stat {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 21px;
    padding-bottom: 18px;
    border-bottom: 1px solid #d5e5ee;
}

.search-topic-guide__stat strong {
    color: #087bb6;
    font-size: 30px;
    font-weight: 600;
    line-height: 1;
}

.search-topic-guide__stat span,
.search-topic-guide__label {
    color: #60717e;
    font-size: 13px;
}

.search-topic-guide__label {
    display: block;
    margin-bottom: 9px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.search-topic-guide nav {
    display: grid;
    gap: 3px;
}

.search-topic-guide a {
    position: relative;
    padding: 7px 18px 7px 0;
    color: #255675;
    font-size: 14px;
    text-decoration: none !important;
}

.search-topic-guide a::after {
    position: absolute;
    top: 7px;
    right: 2px;
    color: #019ce1;
    content: "\2193";
}

.search-topic-guide a:hover {
    color: #019ce1;
}

.search-topic-related {
    padding: 38px 42px 44px;
}

.search-topic-section-heading {
    max-width: 780px;
    margin-bottom: 24px;
}

.search-topic-section-heading p {
    margin: 10px 0 0;
    color: #62707d;
    font-size: 15px;
    line-height: 1.7;
}

.search-topic-related .search-results-form {
    margin-top: 0;
}

.search-topic-related .search-tabs {
    padding-bottom: 24px;
    border-bottom: 1px solid #e4eaef;
}

.search-results-page--empty {
    min-height: 500px;
}

.search-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
}

.search-tab {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 7px 17px;
    color: #2f3540;
    background: #fff;
    border: 1px solid #cfd5dc;
    border-radius: 24px;
    font-size: 16px;
    text-decoration: none !important;
    transition: all .2s;
}

.search-tab span {
    min-width: 26px;
    margin-left: 8px;
    padding: 1px 7px;
    color: #185e9d;
    background: #e8f1fa;
    border-radius: 12px;
    font-size: 13px;
    line-height: 20px;
    text-align: center;
}

.search-tab:hover,
.search-tab.is-active {
    color: #fff;
    background: #019CE1;
    border-color: #019CE1;
}

.search-tab:hover span,
.search-tab.is-active span {
    color: #fff;
    background: rgba(255, 255, 255, .2);
}

.search-result-group {
    margin-top: 34px;
}

.search-result-group:first-of-type {
    margin-top: 0;
}

.search-result-group__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.search-result-group__heading h3 {
    margin: 0;
    color: #161b23;
    font-size: 23px;
    font-weight: 600;
}

.search-result-group__title-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    margin-left: 8px;
    padding: 1px 7px;
    color: #185e9d;
    background: #e8f1fa;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 400;
    line-height: 20px;
    vertical-align: middle;
}

.search-result-group__meta {
    display: flex;
    align-items: center;
    gap: 18px;
}

.search-result-group__total {
    color: #747d87;
    font-size: 14px;
    white-space: nowrap;
}

.search-result-group__meta > a,
.search-result-group__heading > a {
    color: #145c98;
    font-size: 15px;
    text-decoration: none;
}

.search-result-group__meta > a:hover,
.search-result-group__heading > a:hover {
    color: #008fd4;
}

.search-result-list {
    display: grid;
    gap: 13px;
}

.search-result-card {
    margin: 0;
    background: #fff;
    border: 1px solid #dce1e6;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(18, 41, 65, .03);
    transition: border-color .2s, box-shadow .2s, transform .2s;
}

.search-result-card:hover {
    border-color: #a9c8e2;
    box-shadow: 0 6px 18px rgba(18, 65, 104, .08);
    transform: translateY(-1px);
}

.search-result-card > a {
    display: flex;
    align-items: center;
    gap: 22px;
    min-height: 154px;
    padding: 18px;
    color: inherit;
    text-decoration: none !important;
}

.search-result-card__image {
    position: relative;
    display: flex;
    flex: 0 0 24%;
    align-items: center;
    justify-content: center;
    width: 24%;
    min-height: 0;
    aspect-ratio: 8 / 5;
    overflow: hidden;
    background: #f1f5f8;
    border: 1px solid #e7ebef;
    border-radius: 9px;
}

.search-result-card__image::before {
    color: #9aabb9;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    content: "Result";
}

.search-result-card__image--product::before {
    content: "Product";
}

.search-result-card__image--news::before {
    content: "News";
}

.search-result-card__image--event::before {
    content: "Event";
}

.search-result-card__image--blog::before {
    content: "Blog";
}

.search-result-card__image--resource::before {
    content: "Resource";
}

.search-result-card__image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    object-fit: cover;
    transition: transform .25s ease;
}

.search-result-card__image--resource img {
    object-fit: contain;
}

.search-result-card:hover .search-result-card__image img {
    transform: scale(1.025);
}

.search-result-card__content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 3px 4px 3px 0;
}

.search-result-card__kind {
    display: block;
    margin-bottom: 4px;
    color: #6f7d89;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .04em;
    line-height: 1.2;
    text-transform: uppercase;
}

.search-result-card h4 {
    margin: 0;
    color: #019CE1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
}

.search-result-card p {
    display: -webkit-box;
    overflow: hidden;
    margin: 7px 0 0;
    color: #4c535c;
    font-size: 15px;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.search-result-card__highlight {
    color: #d92d2d;
    font-weight: 600;
}

.search-no-results {
    padding: 70px 20px;
    color: #727b85;
    border: 1px dashed #cfd6dd;
    border-radius: 12px;
    text-align: center;
}

.search-no-results h3 {
    margin: 0 0 8px;
    color: #232a33;
    font-size: 24px;
}

.search-no-results p {
    margin: 0;
    font-size: 15px;
}

.search-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 34px;
}

.search-pagination__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 13px;
    color: #195b91;
    background: #fff;
    border: 1px solid #d4dbe2;
    border-radius: 8px;
    font-size: 14px;
    text-decoration: none !important;
}

.search-pagination__link:hover,
.search-pagination__link.is-active {
    color: #fff;
    background: #019CE1;
    border-color: #019CE1;
}

.search-pagination__link.is-disabled {
    color: #aab1b8;
    background: #f5f6f7;
    cursor: default;
}

.search-topic-content {
    margin: 36px 0 0;
    padding-top: 34px;
    color: #424a54;
    border-top: 1px solid #e1e8ed;
    font-size: 16px;
    line-height: 1.8;
}

.search-topic-content h2,
.search-topic-content h3,
.search-topic-content h4 {
    color: #18212b;
    font-weight: 600;
}

.search-topic-content img {
    max-width: 100%;
    height: auto;
}

.search-topic-faq {
    max-width: none;
    margin: 34px auto 0;
    padding: 38px 42px 42px;
}

.search-topic-faq__list {
    border-top: 1px solid #dce3e9;
}

.search-topic-faq__item {
    border-bottom: 1px solid #dce3e9;
}

.search-topic-faq__item summary {
    position: relative;
    padding: 22px 48px 22px 4px;
    color: #1b2530;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.5;
    list-style: none;
    cursor: pointer;
}

.search-topic-faq__item summary::-webkit-details-marker {
    display: none;
}

.search-topic-faq__item summary span::before,
.search-topic-faq__item summary span::after {
    position: absolute;
    top: 31px;
    right: 12px;
    width: 16px;
    height: 2px;
    background: #019CE1;
    content: "";
}

.search-topic-faq__item summary span::after {
    transform: rotate(90deg);
    transition: transform .2s;
}

.search-topic-faq__item[open] summary span::after {
    transform: rotate(0);
}

.search-topic-faq__answer {
    padding: 0 48px 24px 4px;
    color: #535c66;
    font-size: 15px;
    line-height: 1.75;
}

.search-topic-faq__answer p:last-child {
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .search-results-page {
        padding: 42px 15px 72px;
    }

    .search-results-header h2 {
        font-size: 24px;
    }

    .search-results-page--topic {
        padding-top: 24px;
    }

    .search-topic-overview,
    .search-topic-related,
    .search-topic-faq {
        border-radius: 16px;
    }

    .search-topic-overview {
        margin-bottom: 20px;
        padding: 30px 22px 24px;
    }

    .search-topic-overview__layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .search-topic-overview h2,
    .search-topic-section-heading h2 {
        font-size: 25px;
    }

    .search-topic-intro {
        font-size: 16px;
        line-height: 1.7;
    }

    .search-topic-guide {
        padding: 19px 20px;
    }

    .search-topic-guide__stat {
        margin-bottom: 15px;
        padding-bottom: 14px;
    }

    .search-topic-related,
    .search-topic-faq {
        padding: 28px 20px 32px;
    }

    .search-topic-section-heading {
        margin-bottom: 20px;
    }

    .search-results-form input {
        height: 52px;
        padding-right: 16px;
    }

    .search-results-form button {
        width: 52px;
        height: 52px;
    }

    .search-results-form__icon {
        top: 16px;
    }

    .search-tabs {
        flex-wrap: nowrap;
        margin-right: -15px;
        padding-right: 15px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .recent-searches {
        margin-bottom: 26px;
    }

    .recent-searches__list {
        flex-wrap: nowrap;
        margin-right: -15px;
        padding-right: 15px;
        overflow-x: auto;
    }

    .recent-searches__list a {
        flex: 0 0 auto;
    }

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

    .search-tab {
        flex: 0 0 auto;
        min-height: 38px;
        padding: 6px 14px;
        font-size: 14px;
    }

    .search-result-group__heading h3 {
        font-size: 20px;
    }

    .search-result-group__meta {
        gap: 10px;
    }

    .search-result-group__total {
        font-size: 13px;
    }

    .search-result-card > a {
        gap: 14px;
        min-height: 120px;
        padding: 12px;
    }

    .search-result-card__image {
        flex-basis: 30%;
        width: 30%;
        min-height: 0;
    }

    .search-result-card__image::before {
        font-size: 11px;
    }

    .search-result-card__content {
        justify-content: flex-start;
        padding-top: 2px;
    }

    .search-result-card h4 {
        font-size: 16px;
    }

    .search-result-card p {
        font-size: 14px;
        -webkit-line-clamp: 3;
    }

    .search-topic-content {
        margin-top: 28px;
        padding-top: 26px;
    }

    .search-topic-faq {
        margin-top: 20px;
    }
}

@media (max-width: 479px) {
    .search-result-card > a {
        gap: 12px;
    }

    .search-result-card__image {
        flex-basis: 32%;
        width: 32%;
    }

    .search-result-card p {
        -webkit-line-clamp: 2;
    }
}
