.wanted-container {
    max-width: 1180px;
    margin: 32px auto;
    padding: 0 20px;
    color: #26352e;
}

.wanted-container *,
.wanted-container *::before,
.wanted-container *::after {
    box-sizing: border-box;
}

.wanted-hero {
    padding: 36px;
    border: 1px solid #dce7df;
    border-radius: 12px;
    background: #f5f9f6;
}

.wanted-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #527762;
}

.wanted-container h1 {
    margin: 12px 0 18px;
    font-size: 30px;
    color: #245b42;
}

.wanted-hero h2 {
    font-size: 23px;
    margin: 12px 0;
}

.wanted-hero p,
.wanted-intro {
    line-height: 1.8;
    color: #627168;
}

.wanted-statistics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.wanted-statistics > div {
    background: #fff;
    padding: 22px;
    border: 1px solid #e0e8e2;
    border-radius: 8px;
}

.wanted-statistics strong {
    display: block;
    font-size: 34px;
    color: #245b42;
    margin-bottom: 6px;
}

.wanted-statistics span {
    font-size: 13px;
    color: #64736a;
}

.wanted-actions,
.wanted-match-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
}

.wanted-actions form {
    margin: 0;
}

.wanted-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 10px 17px;
    border: 1px solid transparent;
    border-radius: 6px;
    text-decoration: none;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.wanted-btn-primary {
    background: #245b42;
    color: #fff;
}

.wanted-btn-outline {
    background: #fff;
    border-color: #cfdad2;
    color: #245b42;
}

.wanted-btn-danger {
    background: #fff;
    border-color: #e5caca;
    color: #b34141;
}

.wanted-btn:disabled {
    opacity: .5;
    cursor: not-allowed;
}

.wanted-section {
    margin-top: 36px;
}

.wanted-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
}

.wanted-section-heading h2 {
    margin: 0;
    font-size: 22px;
}

.wanted-search,
.wanted-region-row,
.wanted-range {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.wanted-search {
    margin-bottom: 20px;
}

.wanted-container input:not([type="checkbox"]),
.wanted-container select,
.wanted-container textarea {
    min-width: 0;
    padding: 11px 12px;
    border: 1px solid #ccd7cf;
    border-radius: 6px;
    background: #fff;
    color: #26352e;
    font: inherit;
}

.wanted-search input {
    flex: 1;
}

.wanted-list,
.wanted-match-list {
    display: grid;
    gap: 14px;
}

.wanted-list-card,
.wanted-detail,
.wanted-match-card {
    padding: 22px;
    border: 1px solid #dce4de;
    border-radius: 9px;
    background: #fff;
    color: inherit;
    text-decoration: none;
}

a.wanted-list-card:hover {
    border-color: #739b82;
    background: #fcfdfc;
}

.wanted-list-card h3,
.wanted-match-card h3 {
    margin: 12px 0;
    font-size: 18px;
}

.wanted-list-card h3 a {
    color: inherit;
    text-decoration: none;
}

.wanted-card-top,
.wanted-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 12px;
    color: #758078;
}

.wanted-card-bottom {
    padding-top: 14px;
    border-top: 1px solid #edf0ed;
}

.wanted-status,
.wanted-tag {
    display: inline-block;
    padding: 5px 9px;
    border-radius: 4px;
    background: #edf1ee;
    color: #637168;
    font-size: 12px;
}

.wanted-status,
.wanted-tag-listing {
    background: #e3f0e7;
    color: #245b42;
}

.wanted-tag-owner {
    background: #e7eff8;
    color: #345f91;
}

.wanted-budget {
    margin: 15px 0;
    font-size: 21px;
    font-weight: 700;
    color: #245b42;
}

.wanted-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    color: #65746b;
    font-size: 13px;
    line-height: 1.7;
}

.wanted-empty {
    text-align: center;
    padding: 45px 20px;
    border: 1px solid #dce4de;
    border-radius: 8px;
    background: #fafcfb;
}

.wanted-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 24px 0;
}

.wanted-form-container {
    max-width: 850px;
}

.wanted-form {
    margin-top: 24px;
    border: 1px solid #dce4de;
    border-radius: 10px;
    padding: 28px;
}

.wanted-form-group {
    margin-bottom: 25px;
}

.wanted-form-group > label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    font-size: 14px;
}

.wanted-form-group > input,
.wanted-form-group > select,
.wanted-form-group > textarea,
#wanted-region-source select {
    width: 100%;
}

.wanted-form-group small {
    display: block;
    margin-top: 8px;
    color: #78847c;
    line-height: 1.6;
}

.wanted-region-row select,
.wanted-range input {
    flex: 1;
}

#wanted-selected-regions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.wanted-region-chip {
    padding: 8px 12px;
    border: 1px solid #dce7df;
    border-radius: 5px;
    background: #eef5f0;
    color: #245b42;
    cursor: pointer;
}

.wanted-category-grid > div {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.wanted-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.wanted-container .errorlist {
    color: #b34141;
    font-size: 13px;
}

.wanted-detail-table {
    display: grid;
    grid-template-columns: 130px 1fr;
    margin: 25px 0;
    border-top: 1px solid #e0e6e2;
}

.wanted-detail-table dt,
.wanted-detail-table dd {
    margin: 0;
    padding: 14px;
    border-bottom: 1px solid #e0e6e2;
}

.wanted-detail-table dt {
    background: #f6f8f6;
    font-weight: 600;
}

.wanted-description {
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.wanted-match-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.wanted-rank {
    font-size: 25px;
    font-weight: 700;
    color: #8b9b90;
}

.wanted-match-content {
    flex: 1;
    min-width: 0;
}

.wanted-score {
    text-align: right;
    flex-shrink: 0;
}

.wanted-score strong {
    display: block;
    font-size: 27px;
    color: #245b42;
}

.wanted-score span,
.wanted-disclaimer {
    font-size: 12px;
    color: #77847b;
    line-height: 1.7;
}

.wanted-spinner {
    width: 30px;
    height: 30px;
    margin: 0 auto 20px;
    border: 3px solid #dce7df;
    border-top-color: #245b42;
    border-radius: 50%;
    animation: wanted-spin .8s linear infinite;
}

@keyframes wanted-spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 700px) {
    .wanted-container {
        margin: 18px auto;
        padding: 0 12px;
    }

    .wanted-hero,
    .wanted-form,
    .wanted-detail {
        padding: 20px;
    }

    .wanted-statistics {
        gap: 10px;
    }

    .wanted-statistics > div {
        padding: 14px;
    }

    .wanted-statistics strong {
        font-size: 23px;
    }

    .wanted-category-grid > div {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wanted-search > input,
    .wanted-search > select {
        width: 100%;
        flex: auto;
    }

    .wanted-detail-table {
        grid-template-columns: 90px 1fr;
        font-size: 13px;
    }

    .wanted-match-card {
        gap: 10px;
        padding: 14px;
    }

    .wanted-score strong {
        font-size: 21px;
    }

    .wanted-section-heading {
        flex-wrap: wrap;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wanted-spinner {
        animation: none;
    }
}


/* Wanted land contact information */

.wanted-contact-box {
    padding: 20px;
    margin: 14px 0 24px;
    background: #f0f5f1;
    border: 1px solid #d9e5dc;
    border-radius: 8px;
    font-size: 14px;
}

.wanted-contact-box p {
    margin: 8px 0;
    line-height: 1.7;
}

.wanted-contact-box a {
    color: #166534;
    font-weight: 600;
}

.wanted-contact-box .wanted-btn-primary {
    color: #fff;
}

.wanted-contact-box form {
    margin-top: 16px;
}
