.search-widget-nos {
    margin: 2rem auto;
    max-width: 800px;
    width: 100%;
}

.search-form-nos {
    display: flex;
    align-items: center;
    border: none;
    border-radius: 4px;
    overflow: hidden;
    height: 40px;
    background: var(--bg);
    width: 100%;
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    flex-grow: 1;
    background-color: #1A1A1A;
    height: 100%;
    border: 1px solid #444;
    border-right: none;
    border-radius: 20px 0px 0px 20px;
}

.search-form-nos input {
    background: none;
    border: none;
    color: white;
    padding: 0 1rem;
    flex-grow: 1;
    font-size: 1rem;
    height: 100%;
    /* BELANGRIJK: Zorgt ervoor dat de input kleiner mag worden dan de standaard minimumbreedte */
    min-width: 0;
}

.search-form-nos input:focus {
    outline: none;
    box-shadow: none;
}

.search-form-nos input::placeholder {
    color: #AAA;
}

.search-button-nos {
    background-color: #D32F2F;
    border: none;
    border-radius: 0px 20px 20px 0px;
    color: white;
    padding: 0 1.5rem;
    height: 100%;
    cursor: pointer;
    font-weight: bold;
    font-size: 1rem;
    box-shadow: 0 0 10px rgba(227, 0, 0, 0.5);
    /* BELANGRIJK: Voorkomt dat de knop 'probeert' groter te blijven dan nodig */
    flex-shrink: 0;
}

.search-button-nos:hover {
    background-color: #D32F2F;
}

/* Search resultaten */
.search-date {
    display: block;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 2px;
}

.search-page-title {
    width: 100%;
    text-align: left;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    border-bottom: 3px solid #D32F2F;
    padding-bottom: 0.5rem;
    color: #fff;
}

/* =========================
   MOBIEL: zoekveld boven, knop onder
========================= */
@media (max-width: 600px) {

    .search-form-nos {
        flex-direction: column;
        height: auto;
        gap: 10px;
    }

    .search-input-wrapper {
        width: 80%;
        border-radius: 20px;
        border-right: 1px solid #444;
        height: 40px;
    }

    .search-button-nos {
        width: auto;
        min-width: 140px;
        align-self: center;
        height: 44px;
        padding: 0 1.5rem;
        border-radius: 20px;
    }

    .search-page-title {
        font-size: 1.8rem;
    }
}
