/* ============================================================
   KANU VIVAH — SEARCH PAGE
   ============================================================ */

.kv-search-page {
    background: var(--kv-bg, #f8f5f2);
    min-height: 70vh;
    padding: 110px 0 80px;
}

.kv-search-page__header {
    max-width: 820px;
    margin: 0 auto 42px;
    text-align: center;
}

.kv-search-page__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #a84a2a;
}

.kv-search-page__eyebrow::before {
    content: "";
    width: 28px;
    height: 1px;
    background: currentColor;
}

.kv-search-page__title {
    margin: 0;
    font-family: "Marcellus", serif;
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.05;
    font-weight: 400;
    color: #2e1a16;
}

.kv-search-page__intro {
    max-width: 650px;
    margin: 18px auto 0;
    color: #716762;
    font-size: 16px;
    line-height: 1.75;
}


/* ------------------------------------------------------------
   FILTER PANEL
   ------------------------------------------------------------ */

.kv-search-filters {
    max-width: 1180px;
    margin: 0 auto 55px;
    padding: 28px;
    background: #fff;
    border: 1px solid rgba(46, 26, 22, .09);
    border-radius: 24px;
    box-shadow: 0 18px 55px rgba(46, 26, 22, .08);
}

.kv-search-filters__grid {
    display: grid;
    grid-template-columns: 1.2fr .7fr .7fr 1fr 1.2fr auto;
    gap: 14px;
    align-items: end;
}

.kv-search-field {
    min-width: 0;
}

.kv-search-field label {
    display: block;
    margin-bottom: 8px;
    color: #635953;
    font-size: 12px;
    font-weight: 600;
}

.kv-search-field input,
.kv-search-field select {
    width: 100%;
    height: 50px;
    padding: 0 14px;
    border: 1px solid #ddd5d0;
    border-radius: 12px;
    background: #fff;
    color: #30221e;
    font: inherit;
    outline: none;
    box-sizing: border-box;
}

.kv-search-field input:focus,
.kv-search-field select:focus {
    border-color: #e60073;
    box-shadow: 0 0 0 3px rgba(230, 0, 115, .08);
}

.kv-search-submit {
    height: 50px;
    padding: 0 22px;
    border: 0;
    border-radius: 12px;
    background: #e60073;
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: transform .2s ease, box-shadow .2s ease;
}

.kv-search-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(230, 0, 115, .2);
}


/* ------------------------------------------------------------
   RESULTS HEADER
   ------------------------------------------------------------ */

.kv-search-results {
    max-width: 1180px;
    margin: 0 auto;
}

.kv-search-results__header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.kv-search-results__header h2 {
    margin: 0;
    font-family: "Marcellus", serif;
    font-size: 32px;
    font-weight: 400;
    color: #2e1a16;
}

.kv-search-results__count {
    color: #786d67;
    font-size: 14px;
}


/* ------------------------------------------------------------
   PROFILE GRID
   ------------------------------------------------------------ */

.kv-search-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.kv-search-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(46, 26, 22, .08);
    border-radius: 20px;
    box-shadow: 0 12px 35px rgba(46, 26, 22, .07);
    transition: transform .25s ease, box-shadow .25s ease;
}

.kv-search-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(46, 26, 22, .11);
}

.kv-search-card__image {
    width: 100%;
    aspect-ratio: 4 / 4.4;
    object-fit: cover;
    display: block;
}

.kv-search-card__body {
    padding: 20px;
}

.kv-search-card__name {
    margin: 0;
    font-family: "Marcellus", serif;
    font-size: 24px;
    font-weight: 400;
    color: #2e1a16;
}

.kv-search-card__meta {
    margin-top: 7px;
    color: #70655f;
    font-size: 14px;
    line-height: 1.65;
}

.kv-search-card__details {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 15px;
}

.kv-search-card__tag {
    padding: 6px 10px;
    border-radius: 999px;
    background: #f7f0ed;
    color: #654f47;
    font-size: 11px;
    font-weight: 600;
}

.kv-search-card__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 46px;
    margin-top: 18px;
    border-radius: 10px;
    background: #2e1a16;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}


/* ------------------------------------------------------------
   EMPTY STATE
   ------------------------------------------------------------ */

.kv-search-empty {
    padding: 65px 25px;
    text-align: center;
    background: #fff;
    border: 1px solid rgba(46, 26, 22, .08);
    border-radius: 20px;
}

.kv-search-empty h3 {
    margin: 0 0 10px;
    font-family: "Marcellus", serif;
    font-size: 28px;
    font-weight: 400;
    color: #2e1a16;
}

.kv-search-empty p {
    max-width: 540px;
    margin: 0 auto;
    color: #756a64;
    line-height: 1.7;
}


/* ------------------------------------------------------------
   RESPONSIVE
   ------------------------------------------------------------ */

@media (max-width: 1050px) {
    .kv-search-filters__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .kv-search-submit {
        width: 100%;
    }

    .kv-search-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .kv-search-page {
        padding: 90px 0 60px;
    }

    .kv-search-filters {
        padding: 20px;
        border-radius: 18px;
    }

    .kv-search-filters__grid {
        grid-template-columns: 1fr;
    }

    .kv-search-grid {
        grid-template-columns: 1fr;
    }

    .kv-search-results__header {
        align-items: flex-start;
        flex-direction: column;
    }
}