.sek-location-map-section {
    --sek-location-blue: #00567e;
    --sek-location-gap: 28px;

    display: grid;
    width: 100%;
    gap: var(--sek-location-gap);
    align-items: stretch;
}

/* Map and logos shown side by side */
.sek-location-map-section--has-logos {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

/* No logos: map uses the full row */
.sek-location-map-section--no-logos {
    grid-template-columns: minmax(0, 1fr);
}

.sek-location-map-column,
.sek-location-map {
    width: 100%;
    min-width: 0;
    height: var(--sek-map-height, 465px);
}

.sek-location-map-column {
    border:1px solid var(--sek-location-blue);
    box-sizing:border-box;
    overflow:hidden;
}

.sek-location-map{
    width:100%;
    height:100%;
}

/* Logo grid */
.sek-chamber-logo-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: var(--sek-location-gap);
    min-width: 0;
    height: var(--sek-map-height, 465px);
}

.sek-chamber-logo-card{
    border: 1px solid var(--sek-location-blue);
    height: 140px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    /*padding: 24px;*/
    box-sizing: border-box;
}

.sek-chamber-logo-link,
.sek-chamber-logo-inner {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;
    /*padding: 24px;*/
    box-sizing: border-box;
}

.sek-chamber-logo-link {
    text-decoration: none;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

/*.sek-chamber-logo-link:hover,
.sek-chamber-logo-link:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.12);
}*/

.sek-chamber-logo-link:focus-visible {
    outline: 3px solid var(--sek-location-blue);
    outline-offset: 3px;
}

.sek-chamber-logo-image {
    display: block;

    width: auto !important;
    height: auto !important;

    max-width: 100%;
    max-height: 125px;

    object-fit: contain;
}

/* One logo: keep it centered at half width */
.sek-chamber-logo-card:only-child {
    grid-column: 1 / -1;
    width: calc(50% - (var(--sek-location-gap) / 2));
    justify-self: center;
}

/* Three logos: center the final logo */
.sek-chamber-logo-card:last-child:nth-child(odd):not(:only-child) {
    grid-column: 1 / -1;
    width: calc(50% - (var(--sek-location-gap) / 2));
    justify-self: center;
}


/* Tablet */
@media (max-width: 980px) {
    .sek-location-map-section--has-logos {
        grid-template-columns: minmax(0, 1fr);
    }

    .sek-chamber-logo-grid {
        height: auto;
        grid-auto-rows: minmax(180px, auto);
    }
}

/* Mobile */
@media (max-width: 600px) {
    .sek-location-map-section {
        --sek-location-gap: 18px;
    }

    .sek-chamber-logo-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .sek-chamber-logo-card:only-child,
    .sek-chamber-logo-card:last-child:nth-child(odd):not(:only-child) {
        grid-column: auto;
        width: 100%;
    }

    .sek-chamber-logo-card {
        min-height: 130px;
    }

    .sek-chamber-logo-image {
        max-height: 110px;
    }
}