/* Wrapper layout */

.kk-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    align-items: flex-start;
    justify-content: center;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Kaart links */

.kk-map {
    flex: 1 1 50%;
    min-width: 280px;
}

.kk-map-inner {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 16px;
    background: #ffffff;
}

.kk-map-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Cirkel markers */

.kk-marker {
    position: absolute;
    transform: translate(-50%, -50%);

}

.kk-marker-circle {
    display: block;
    width: 20px;          /* vaste kleine “dot” */
    height: 20px;
    background: #2d9cdb;  /* kleur van de dot */
    border-radius: 50%;
    border: none;
}

/* Rechterzijde: paneel met zoekbalk + scrollbare lijst */

.kk-office-panel {
    flex: 1 1 40%;
    min-width: 320px;
    display: flex;
    flex-direction: column;
    /* GEEN max-height hier meer */
}

/* Zoekbalk */

.kk-search-wrapper {
    margin-bottom: 10px;
}

.kk-search-input {
    width: 100%;
    padding: 10px 12px;
    border-radius: 999px;
    border: 1px solid #c3d9ee;
    font-size: 14px;
    outline: none;
	display: none;
}

.kk-search-input:focus {
    border-color: #1b76c4;
    box-shadow: 0 0 0 1px rgba(27, 118, 196, 0.25);
}

/* Scrollbare lijst */

.kk-office-list {
    flex: 0 0 auto;           /* hoogte wordt bepaald door max-height, niet door flex */
    max-height: 600px;        /* de lijst zelf mag max 600px hoog zijn */
    overflow-y: auto;
    padding-right: 4px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Card layout */

.kk-office-card {
    display: flex;
    flex-direction: row;      /* logo links, info rechts */
    align-items: stretch;
    border-radius: 16px;
    overflow: hidden;
    background: #e8f5fb;
    flex-shrink: 0;
}

/* Linkerkolom: logo op wit */

.kk-office-logo-col {
    flex: 0 0 32%;
    min-width: 140px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 24px;
}

.kk-office-logo-col img {
    max-width: 100%;
    max-height: 70px;
    height: auto;
    width: auto;
}

/* Rechterkolom: locatie, titel, link */

.kk-office-info-col {
    flex: 1 1 auto;
    background: #e8f5fb;
    padding: 18px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}

.kk-office-info-full {
    padding-left: 24px;
}

/* Locatieregel */

.kk-office-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #1b76c4;
}

.kk-office-location-icon {
    font-size: 16px;
}

/* Titel */

.kk-office-title {
    font-size: 16px !important;
    line-height: 1.4;
    margin: 2px 0 6px;
    color: #111827;
    font-weight: 900 !important;
}

/* Link met pijltje */

.kk-office-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #1b76c4;
    text-decoration: none;
}

.kk-office-link-icon {
    font-size: 14px;
}

.kk-office-link:hover {
    text-decoration: underline;
}

/* Responsief */

@media (max-width: 960px) {
    .kk-wrapper {
        flex-direction: column;
    }

    .kk-map {
        order: 1;
    }

    .kk-office-panel {
        order: 2;
        max-height: none;
    }

    .kk-office-list {
        max-height: 400px;
    }

    .kk-office-card {
        flex-direction: row; /* ook onder 960px logo links houden */
    }
}

/* Icon */
.kk-office-location-icon img {
    width: 10px;
    height: 10px;
    display: block;
}

.kk-office-link-icon img {
    width: 14px;
    height: 14px;
    display: block;
}

/* Location pin 2px omlaag */
.kk-office-location-icon img {
    position: relative;
    top: 7px;
}

/* Arrow 2px omlaag */
.kk-office-link-icon img {
    position: relative;
    top: 7px;
}

/* Alle tekst in de kantorenkaart dezelfde kleur */
.kk-wrapper,
.kk-wrapper * {
    color: #004057 !important;
}





/* Desktop-only hover */
@media (hover: hover) and (pointer: fine) {
    .kk-marker:hover .kk-marker-circle {
        transform: scale(1.25);
        background-color: #003bb5;
    }
}

/* Highlighted office card */
.kk-highlight {
    background: #eef4ff !important;
    transition: background-color .3s ease;
}

.kk-office-info-col.kk-highlight {
    background: #eef4ff !important;
    border: 2px solid #004057 !important;
    border-radius: 0px;
    transition: background-color .25s ease, border-color .25s ease;
    padding: 16px 26px; /* 2px border compenseren zodat layout gelijk blijft */