/* Populated archive-search state. Loaded after shared usability overrides. */
body.domain-search-page.domain-search-has-results .workspace-hero--search {
    padding: 1.5rem 0 !important;
}

body.domain-search-page.domain-search-has-results .workspace-hero--search .domain-hero-inner,
body.domain-search-page.domain-search-has-results .workspace-hero--search .workspace-shell--hero {
    width: min(calc(100% - 2rem), 1160px);
    max-width: 1160px;
}

body.domain-search-page.domain-search-has-results .workspace-hero--search .workspace-shell--hero {
    display: grid;
    grid-template-columns: minmax(14rem, .7fr) minmax(32rem, 1.3fr);
    grid-template-rows: auto auto auto;
    align-items: center;
    gap: .35rem clamp(2rem, 5vw, 5rem);
    padding: 1.25rem 1.4rem !important;
}

body.domain-search-page.domain-search-has-results .workspace-hero--search .storefront-eyebrow {
    grid-column: 1;
    margin: 0;
}

body.domain-search-page.domain-search-has-results .workspace-hero--search h1 {
    grid-column: 1;
    margin: 0;
    font-size: clamp(1.65rem, 3vw, 2.3rem);
    line-height: 1.05;
    letter-spacing: -.035em;
}

body.domain-search-page.domain-search-has-results .domain-search-active-query {
    display: block;
    grid-column: 1;
    margin: .25rem 0 0;
    color: #555555;
    font-size: .9rem;
}

body.domain-search-page.domain-search-has-results .domain-search-active-query strong {
    color: #064e52;
}

body.domain-search-page.domain-search-has-results .workspace-hero--search .hero-subtitle,
body.domain-search-page.domain-search-has-results .domain-search-form .tool-example-row {
    display: none !important;
}

body.domain-search-page.domain-search-has-results .domain-search-form {
    grid-column: 2;
    grid-row: 1 / span 3;
    margin: 0 !important;
    padding: .8rem !important;
}

body.domain-search-page.domain-search-has-results .domain-search-form .tool-advanced-options {
    margin-top: .6rem;
}

body.domain-search-page.domain-search-has-results .domain-search-benefits,
body.domain-search-page.domain-search-has-results .domain-search-context,
body.domain-search-page.domain-search-has-results .storefront-search-callout {
    display: none !important;
}

body.domain-search-page .result-message--empty,
body.domain-search-page .result-message--error {
    padding: clamp(1.25rem, 4vw, 2rem);
}

body.domain-search-page .result-message__eyebrow {
    display: block;
    margin-bottom: .45rem;
    color: #09757a;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}

body.domain-search-page .result-message--empty strong,
body.domain-search-page .result-message--error strong {
    display: block;
    color: #111111;
    font-size: 1.08rem;
    line-height: 1.3;
}

body.domain-search-page .result-message--empty p,
body.domain-search-page .result-message--error p {
    max-width: 580px;
    margin: .45rem 0 1rem;
    line-height: 1.55;
}

body.domain-search-page .result-message--empty .btn,
body.domain-search-page .result-message--error .btn {
    display: inline-flex;
    min-height: 44px;
    margin: 0;
    padding: .55rem 1rem;
    align-items: center;
    justify-content: center;
    border-radius: 2px !important;
    box-shadow: none !important;
    font-weight: 800;
}

body.domain-search-page .result-message--error .result-message__eyebrow,
body.domain-search-page .result-message--error strong {
    color: #8f1d18;
}

@media (max-width: 767.98px) {
    body.domain-search-page.domain-search-has-results .workspace-hero--search {
        padding: .75rem 0 1rem !important;
    }

    body.domain-search-page.domain-search-has-results .workspace-hero--search .domain-hero-inner,
    body.domain-search-page.domain-search-has-results .workspace-hero--search .workspace-shell--hero {
        width: min(calc(100% - 1rem), 1160px);
    }

    body.domain-search-page.domain-search-has-results .workspace-hero--search .workspace-shell--hero {
        display: block;
        padding: .85rem !important;
    }

    body.domain-search-page.domain-search-has-results .workspace-hero--search h1 {
        margin-top: .2rem;
        font-size: 1.55rem;
    }

    body.domain-search-page.domain-search-has-results .domain-search-active-query {
        margin: .2rem 0 .65rem;
    }

    body.domain-search-page.domain-search-has-results .domain-search-form {
        padding: .65rem !important;
    }

    body.domain-search-page.domain-search-has-results .domain-search-form .domain-search-help {
        margin-bottom: .35rem;
        font-size: .72rem;
    }

    body.domain-search-page.domain-search-has-results .domain-search-form .tool-advanced-options {
        margin-top: .4rem;
    }

    body.domain-search-page .result-message--empty .btn,
    body.domain-search-page .result-message--error .btn {
        width: 100%;
    }
}
