/* =====================================================================
   hopv-search.css — zoekkader in de hero (BootstrapSearch.master)
   De achtergrondfoto komt nog uit .jumbotron in de site-stylesheet;
   dit bestand regelt alleen de opmaak van het kader.
   ===================================================================== */

.zk-hero.jumbotron {
    position: relative;
    z-index: 3;                       /* resultatenlijst over de inhoud eronder; header zit hoger (1030) */
    height: auto !important;          /* oude stylesheet geeft de hero een vaste hoogte */
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    margin-bottom: 0 !important;
    padding: 120px 0 48px 0 !important;
    border-radius: 0 !important;
}
.zk-hero-inner {
    position: relative;
    z-index: 3;
    max-width: none;
    margin: 0;
    padding: 0 clamp(24px, 4vw, 80px);
    display: flex;
    justify-content: flex-end;
}

/* ---------- Kaart ---------- */
.zk-card {
    width: 440px;
    max-width: 100%;
    /* licht transparant, zodat de foto er nog doorheen schemert */
    background: rgba(255, 255, 255, .86);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    border: 1px solid rgba(255, 255, 255, .6);
    border-radius: 18px;
    box-shadow: 0 18px 48px rgba(30, 20, 10, .28);
    padding: 26px 28px 24px 28px;
    text-align: left;
    color: #2b2b2b;
    font-size: 16px;
}
.zk-eyebrow {
    display: block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #b94c03;
    margin-bottom: 4px;
}
.zk-title {
    font-size: 26px;
    line-height: 1.2;
    font-weight: 700;
    color: #2b2b2b;
    margin: 0 0 4px 0;
}
.zk-title:empty { display: none; }
.zk-sub { margin: 0 0 18px 0; color: #555; font-size: 15px; }

/* ---------- Velden ---------- */
.zk-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.zk-field { margin-bottom: 12px; min-width: 0; }
.zk-field > label,
.zk-field > .zk-label {
    display: block;
    margin: 0 0 5px 2px;
    font-size: 14px;
    font-weight: 700;
    color: #2b2b2b;
}
.zk-control {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    height: 50px;
    border: 1px solid #d8cfbe;
    border-radius: 10px;
    background: rgba(255, 255, 255, .92);
    transition: border-color .15s ease, box-shadow .15s ease;
}
.zk-control:focus-within,
button.zk-control:focus { border-color: #b94c03; box-shadow: 0 0 0 3px rgba(185,76,3,.15); outline: none; }
.zk-control:hover { border-color: #b94c03; }

.zk-ico {
    width: 20px; height: 20px; flex: 0 0 20px;
    fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round;
}
.zk-control > .zk-ico {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: #b94c03;
    pointer-events: none;
}

.zk-control select {
    -webkit-appearance: none; -moz-appearance: none; appearance: none;
    width: 100%;
    height: 100%;
    border: 0 !important;
    background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b94c03' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 18px 18px !important;
    padding: 0 38px 0 42px !important;
    font-size: 16px !important;
    color: #2b2b2b !important;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: none !important;
    text-overflow: ellipsis;
}
.zk-control select:focus { outline: none; }
.zk-control select::-ms-expand { display: none; }

/* Datumknop */
button.zk-date {
    padding: 0 12px 0 42px;
    cursor: pointer;
    text-align: left;
    font: inherit;
}
button.zk-date #datebox {
    display: block;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 16px !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    color: #2b2b2b !important;
    text-align: left !important;
}
button.zk-date #datebox.watermark { color: #8a7f72 !important; font-weight: 400 !important; }

/* Zoekknop */
.zk-btn {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    width: 100%;
    height: 56px;
    margin-top: 6px;
    border: 0;
    border-radius: 12px;
    background: #b94c03;
    color: #fff;
    font-size: 19px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color .15s ease, transform .1s ease;
}
.zk-btn:hover { background: #9c3f02; }
.zk-btn:active { transform: translateY(1px); }
.zk-btn:focus { outline: 3px solid rgba(185,76,3,.35); outline-offset: 2px; }
.zk-btn .zk-ico { width: 22px; height: 22px; stroke-width: 2.2; }

/* Snel zoeken */
.zk-quick { margin-top: 18px; padding-top: 16px; border-top: 1px solid #ece4d6; }
.zk-quick > label { display: block; font-size: 14px; font-weight: 700; margin: 0 0 6px 2px; color: #2b2b2b; }
.zk-quick-row { display: flex; gap: 8px; }
.zk-quick-row .form-control {
    height: 46px; font-size: 16px; border-radius: 10px; border-color: #d8cfbe;
}
.zk-quick-row .form-control:focus { border-color: #b94c03; box-shadow: 0 0 0 3px rgba(185,76,3,.15); }
.zk-quick-btn {
    flex: 0 0 46px; width: 46px; height: 46px;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid #d8cfbe; border-radius: 10px; background: #faf7f2; color: #b94c03; cursor: pointer;
}
.zk-quick-btn:hover { border-color: #b94c03; }
/* Resultatenlijst van Snel zoeken: in de kaart, direct onder het zoekveld.
   Bewust niet 'absolute': dan hangt de lijst niet af van z-index/overflow
   van de oude stylesheet en valt hij nooit weg achter andere inhoud. */
.zk-hero #searchwindow {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: auto !important;
    margin: 8px 0 0 0 !important;
    text-align: left !important;
    background: #fff !important;
    border: 1px solid #e4dccd;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(30, 20, 10, .12);
    max-height: 300px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
/* De oude stylesheet zet ook het paneel binnen #searchwindow los ('absolute');
   daardoor kwam de lijst bovenin de kaart terecht. Alles terug in de flow. */
.zk-hero #searchwindow #searchpanel,
.zk-hero #searchwindow .panelv2,
.zk-hero #searchwindow .panel-bodyv2,
.zk-hero #searchwindow #searchresult {
    position: static !important;
    top: auto !important; left: auto !important; right: auto !important; bottom: auto !important;
    float: none !important;
    transform: none !important;
    width: auto !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 !important;
    border: 0 !important; box-shadow: none !important; background: transparent !important;
}
.zk-hero #searchwindow #searchpanel,
.zk-hero #searchwindow .panel-bodyv2 { padding: 0 !important; }
.zk-hero #searchwindow #searchresult { padding: 6px !important; font-size: 15px; line-height: 1.4; color: #2b2b2b; }
.zk-hero #searchresult:empty { display: none; }
.zk-hero #searchresult > br { display: none; }
.zk-hero #searchresult .searchkop {
    margin: 8px 8px 2px 8px !important;
    padding: 0 0 6px 0 !important;
    border-bottom: 1px solid #ece4d6;
    font-size: 12px !important;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #b94c03 !important;
    background: none !important;
}
.zk-hero #searchresult .searchkop b { font-weight: 700; }
.zk-hero #searchresult .searchkop:not(:first-child) { margin-top: 12px !important; }
.zk-hero #searchresult hr.searchpanelhr { display: none !important; }
.zk-hero #searchresult li.searchlink {
    list-style: none !important;
    display: block;
    margin: 0 !important;
    padding: 8px 10px !important;
    border-radius: 8px;
    font-size: 15px !important;
    font-weight: 400;
    color: #2b2b2b !important;
    background: none !important;
    cursor: pointer;
}
.zk-hero #searchresult li.searchlink b { font-weight: 700; color: #b94c03; }
.zk-hero #searchresult li.searchlink:hover { background: #faf7f2 !important; }
.zk-hero #searchresult img.searchimg {
    width: 20px !important; height: auto !important; margin: 0 10px 0 0 !important; border-radius: 2px; vertical-align: -3px;
}

/* ---------- Datummodal ---------- */
.zk-datemodal .modal-dialog { max-width: 420px; }
.zk-cal-wrap {
    display: flex; justify-content: center;
    background: #faf7f2; border-radius: 12px; padding: 10px;
}
.zk-check,
.hopv-modal .modal-body label.zk-check {
    display: flex !important; align-items: center; gap: 10px; font-weight: 600 !important;
    margin: 14px 0 0 0; font-size: 16px; cursor: pointer;
}
.zk-check input { width: 20px; height: 20px; accent-color: #b94c03; flex: 0 0 20px; margin: 0; }

#mobilespacer { display: block !important; height: 8px; }

/* Inhoud onder de hero: de oude stylesheet trekt .mainwindow omhoog
   (negatieve marge), waardoor de foto over de paginatitel valt. */
.zk-hero ~ .mainwindow {
    position: relative;
    z-index: 2;
    margin-top: 0 !important;
    top: auto !important;
    padding-top: 0;
    clear: both;
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .zk-hero.jumbotron { padding: 124px 0 32px 0 !important; }
    .zk-hero-inner { justify-content: center; padding: 0 20px; }
    .zk-card { width: 520px; }
    .zk-quick { display: none; }
}
@media (max-width: 575.98px) {
    .zk-hero.jumbotron { padding: 116px 0 20px 0 !important; }
    .zk-hero-inner { padding: 0 16px; }
    .zk-card { width: 100%; padding: 20px 18px 18px 18px; border-radius: 16px; }
    .zk-field > label, .zk-field > .zk-label { margin-left: 0; }
    .zk-title { font-size: 22px; }
    .zk-row { gap: 10px; }
    #mobilespacer { height: 4px; }
}
@media (max-width: 359.98px) {
    .zk-row { grid-template-columns: 1fr; gap: 0; }
}
