#top_container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 36px;
}

#simple_search_results_headers > h2 {
    margin: 0;
}
#simple_search_results_headers > h1 {
    margin-top: 12px;
    margin-bottom: 0;
    color: var(--dark-gold);
}

#adv_search_link {
    align-content: center;
    text-decoration: none;
    color: white;
    background-color: var(--black1);
    border-radius: 1000px;
    height: fit-content;
    margin: auto 0;
    padding: 5px 12px;
    display: flex;
    line-height: normal;
}
#adv_search_link > img {
    margin-left: 5px;
    height: 24px;
}

.no_results_link {
    color: var(--black3);
    text-decoration: none;
    background-color: white;
    border-radius: 1000px;
    padding: 8px 16px;
    margin-right: 20px;
}
.no_results_link:hover {
    background-color: var(--gray3);
}
.no_results {
    --opacity: 0.7;
    --gold_triple: 137, 96, 45;
    color: var(--white);
    background: linear-gradient(0deg, rgba(var(--gold_triple), var(--opacity)), rgba(var(--gold_triple), var(--opacity))), url('/static/assets/bazhum-images-stock-1.png');
    background-position: center;
    color: white;
    padding: 100px 200px !important;
    align-content: center;
}
.no_results h1:nth-of-type(1) {
    font-size: 1.5em;
    margin-bottom: 0;
}
.no_results h1:nth-of-type(2) {
    font-size: 3.5em;
    margin-top: 0;
    margin-bottom: 50px;
}

/* Tablet / landscape phone: shrink the heavy 100px/200px no-results padding
   before the full mobile value at 640px. */
@media (max-width: 1024px) {
    .no_results {
        padding: 64px 48px !important;
    }
}

/* Reflow (WCAG 1.4.10): stack the header row and shrink the 100px/200px
   no-results padding that alone overflows a 320px viewport. */
@media (max-width: 640px) {
    #top_container {
        flex-direction: column;
        gap: 16px;
    }
    #adv_search_link {
        margin: 0;
        width: fit-content;
    }
    .no_results {
        padding: 48px 16px !important;
    }
    .no_results h1:nth-of-type(2) {
        font-size: 2.25em;
    }
}