.nv-awoo-tags {
    box-sizing: border-box;
    margin: 1.5rem 0;
    color: #143d4f;
}

.nv-awoo-tags__inner {
    padding: 1rem 1.25rem;
    border: 1px solid #e6d7bd;
    border-radius: 12px;
    background: #f7f0e4;
}

.home-replica > .nv-awoo-tags {
    margin: 1.5rem auto;
    width: min(calc(100% - 32px), 1200px);
}

.nv-awoo-tags h2 {
    margin: 0 0 .65rem;
    font: inherit;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.4;
}

.nv-awoo-tags__list,
.nv-awoo-results__grid {
    padding: 0;
    margin: 0;
    list-style: none;
}

.nv-awoo-tags__list {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.nv-awoo-tags__list a {
    display: inline-block;
    padding: .35rem .8rem;
    border: 1px solid #cfbaa0;
    border-radius: 999px;
    background: #fff;
    color: #143d4f;
    font-size: .92rem;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.nv-awoo-tags__list a:is(:hover, :focus-visible) {
    background: #143d4f;
    border-color: #143d4f;
    color: #fff;
}

main.nv-awoo-results {
    box-sizing: border-box;
    margin: 0;
    padding-block: 112px clamp(40px, 5vw, 72px);
    padding-inline: max(clamp(20px, 3.5vw, 48px), calc((100% - 1248px) / 2));
    background: #f7f5ef;
    color: #143d4f;
}

@media (max-width: 500px) {
    main.nv-awoo-results {
        padding-top: 84px;
    }
}

.nv-awoo-results__heading {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.75rem;
    margin-block-end: clamp(24px, 3vw, 40px);
    padding: clamp(20px, 3.5vw, 44px);
    border-radius: 16px;
    background: #f3e8d7;
}

@media (min-width: 769px) {
    .nv-awoo-results__heading {
        margin-block-start: 16px;
    }
}

.nv-awoo-results__heading h1 {
    flex: 1 1 22rem;
    min-width: 0;
    margin: 0;
    font-size: clamp(1.65rem, 3.25vw, 3rem);
    font-weight: 700;
    line-height: 1.25;
    text-wrap: balance;
    overflow-wrap: anywhere;
}

.nv-awoo-results__back,
.nv-awoo-results__pager a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .65em;
    min-height: 44px;
    padding: .5rem 1.1rem;
    border: 1px solid #143d4f;
    border-radius: 999px;
    color: #143d4f;
    background: #fff;
    font-size: .9375rem;
    font-weight: 700;
    text-decoration: none;
}

.nv-awoo-results__back:hover,
.nv-awoo-results__pager a:hover {
    color: #fff;
    background: #143d4f;
}

.nv-awoo-results a:focus-visible {
    outline: 3px solid #aa4c25;
    outline-offset: 3px;
}

.nv-awoo-results__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(20px, 2.2vw, 28px);
}

@media (min-width: 580px) {
    .nv-awoo-results__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 880px) {
    .nv-awoo-results__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1200px) {
    .nv-awoo-results__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.nv-awoo-results__grid li a {
    display: block;
    height: 100%;
    border: 1px solid #dfd6c5;
    border-radius: 12px;
    background: #fff;
    color: inherit;
    font-weight: 600;
    text-decoration: none;
    overflow: hidden;
}

.nv-awoo-results__grid li a:is(:hover, :focus-visible) {
    border-color: #143d4f;
    text-decoration: underline;
}

.nv-awoo-results__grid img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    background: #f3e8d7;
    object-fit: cover;
}

.nv-awoo-results__grid span {
    display: block;
    padding: 1rem 1.125rem 1.125rem;
    font-size: 1rem;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.nv-awoo-results__notice {
    padding: 1rem 1.25rem;
    border: 1px solid #dfd6c5;
    border-radius: 12px;
    background: #fff;
    font-size: 1rem;
}

.nv-awoo-results__pager {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    margin-block: clamp(24px, 4vw, 48px);
}

.nv-awoo-results__pager [aria-current] {
    min-width: 2.5ch;
    text-align: center;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.nv-awoo-results .nv-awoo-tags {
    margin-block: clamp(24px, 4vw, 48px) 0;
}

.nv-awoo-results .nv-awoo-tags__inner {
    padding: clamp(16px, 2.5vw, 28px);
}
