:root {
    --sb-primary: #4e73df;
    --sb-primary-dark: #224abe;
    --sb-light: #f8f9fc;
}

body {
    font-family: 'Work Sans', 'Nunito', sans-serif;
    background: var(--sb-light);
    color: #1f2937;
}

.bg-sb-primary {
    background: linear-gradient(120deg, var(--sb-primary), var(--sb-primary-dark));
}

.hero {
    background: #fff;
    border-radius: 1.25rem;
    padding: 2.5rem;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
    margin-top: 2rem;
}

/* @@@ START Uitbreiding: stijl voor zoekblok op de publieke pagina @@@ */
.filter-box {
    background: #fff;
    border-radius: 1.25rem;
    padding: 1.75rem;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

/* @@@ END Uitbreiding: stijl voor zoekblok op de publieke pagina @@@ */

/* @@@ START Uitbreiding: woonplaatsen, geocoding en leaflet-kaart @@@ */
.map-box {
    background: #fff;
    border-radius: 1.25rem;
    padding: 1.75rem;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

#colleagues-map {
    height: 420px;
    border-radius: 1rem;
    overflow: hidden;
}

.map-marker-count {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: var(--sb-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border: 2px solid #fff;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.24);
}

.map-popup-list {
    margin: 0.5rem 0 0;
    padding-left: 1.1rem;
}

/* @@@ END Uitbreiding: woonplaatsen, geocoding en leaflet-kaart @@@ */

/* @@@ START Uitbreiding: zoekknop voor filterformulier @@@ */
.btn-sb-filter {
    background: var(--sb-primary);
    color: #fff;
    border: 1px solid var(--sb-primary);
}

.btn-sb-filter:hover {
    background: var(--sb-primary-dark);
    color: #fff;
    border-color: var(--sb-primary-dark);
}

/* @@@ END Uitbreiding: zoekknop voor filterformulier @@@ */

.colleague-card {
    border: none;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.colleague-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.12);
}

.colleague-photo-frame {
    height: 320px;
    overflow: hidden;
    background: linear-gradient(135deg, #e8ebff, #f8f9fc);
}

.colleague-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    display: block;
}

.colleague-photo-frame.is-portrait .colleague-photo {
    object-position: center top;
}

.badge-hobby {
    background: rgba(78, 115, 223, 0.1);
    color: var(--sb-primary);
    margin-right: 0.35rem;
}

/* @@@ START Uitbreiding: klikbare hobbybadges op de collega-kaarten @@@ */
.hobby-card-link {
    text-decoration: none;
}

.hobby-card-link:hover {
    color: #fff;
    background: var(--sb-primary);
}

/* @@@ END Uitbreiding: klikbare hobbybadges op de collega-kaarten @@@ */

.filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(78, 115, 223, 0.08);
    color: var(--sb-primary);
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    margin-left: 0.5rem;
    margin-top: 0.35rem;
}

.filter-pill-remove {
    text-decoration: none;
    color: inherit;
    font-weight: 700;
    line-height: 1;
}

.filter-pill-remove:hover {
    color: var(--sb-primary-dark);
}

/* @@@ START Uitbreiding: zoeken op naam, voornaam en klikbare hobby's @@@ */
.search-highlight {
    background: #fff1a8;
    color: inherit;
    padding: 0 0.15rem;
    border-radius: 0.25rem;
}

.badge-hobby .search-highlight {
    background: #ffe066;
    color: var(--sb-primary-dark);
}

/* @@@ END Uitbreiding: zoeken op naam, voornaam en klikbare hobby's @@@ */

footer {
    padding: 2rem 0 3rem;
    color: #6b7280;
}


.colleague-placeholder {
    object-fit: contain;
    background: #f3f4f6;
    padding: 2.5rem 1.5rem;
}


.colleague-initials {
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    font-weight: 700;
    color: #1f2937;
    background: linear-gradient(135deg, #e5e7eb, #f9fafb);
    letter-spacing: 0.08em;
}

@media (max-width: 767px) {

    .colleague-photo-frame,
    .colleague-initials {
        height: 280px;
    }
}
