
/*
Talarpartner Search Clean
Component styling only. Theme owns page/container width.
*/

.tp-search-component {
    width: 100%;
}

.tp-search-form {
    display: grid;
    grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(140px, 0.75fr)) auto;
    gap: 10px;
    align-items: end;
    margin-bottom: 22px;
}

.tp-search-field {
    display: grid;
    gap: 6px;
}

.tp-search-field span {
    font-size: 0.85rem;
    font-weight: 800;
}

.tp-search-field input,
.tp-search-field select {
    min-height: 46px;
    width: 100%;
    border: 1px solid rgba(11, 29, 43, 0.16);
    border-radius: 6px;
    padding: 0 14px;
    background: #fff;
}

.tp-search-form button {
    min-height: 46px;
    border: 0;
    border-radius: 6px;
    padding: 0 24px;
    background: var(--tp-ref-gold, #c99243);
    color: #fff;
    font-weight: 900;
}

.tp-search-count {
    margin: 0 0 18px;
    font-weight: 800;
}

.tp-search-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.tp-search-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(11, 29, 43, 0.12);
    border-radius: 7px;
    box-shadow: 0 12px 30px rgba(11, 29, 43, 0.06);
}

.tp-search-card-image {
    display: block;
    aspect-ratio: 4 / 3.08;
    overflow: hidden;
    background: #e9e2d8;
}

.tp-search-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.tp-search-card-body {
    padding: 18px;
}

.tp-search-card-role {
    margin: 0 0 8px;
    color: var(--tp-ref-gold, #c99243);
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tp-search-card-body h2 {
    margin: 0 0 8px;
    line-height: 1.08;
}

.tp-search-card-body a {
    text-decoration: none;
}

.tp-search-card-link {
    color: var(--tp-ref-gold, #c99243);
    font-weight: 900;
}

@media (max-width: 960px) {
    .tp-search-form {
        grid-template-columns: 1fr 1fr;
    }

    .tp-search-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .tp-search-form,
    .tp-search-grid {
        grid-template-columns: 1fr;
    }
}

/* v2.1: inherit theme colors */
.tp-search-form button{background:var(--tp-ref-gold,#c99243);color:#fff}.tp-search-card-role,.tp-search-card-link{color:var(--tp-ref-gold,#c99243)}.tp-search-card-body h2,.tp-search-card-body h2 a{color:var(--tp-ref-ink,#0b1d2b)}


/* v2.2: no visible result count */
.tp-search-count {
    display: none;
}
