.MEP-rep-map {
    --MEP-rep-map-state-fill: #305c88;
    --MEP-rep-map-state-hover-fill: #1f78b4;
    --MEP-rep-map-state-active-fill: #1f78b4;
    --MEP-rep-map-state-stroke: #ffffff;
    --MEP-rep-map-label-fill: #ffffff;
    --MEP-rep-map-focus-ring: #111111;
}

.MEP-rep-map__desktop {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: start;
}

.MEP-rep-map__map {
    min-width: 0;
}

.MEP-rep-map__svg {
    display: block;
    width: 100%;
    height: auto;
}

.MEP-rep-map__state {
    fill: var(--MEP-rep-map-state-fill);
    stroke: var(--MEP-rep-map-state-stroke);
    stroke-width: 1;
    cursor: pointer;
    transition: fill 0.2s ease, opacity 0.2s ease;
    outline: none;
}

.MEP-rep-map__state:hover,
.MEP-rep-map__state:focus,
.MEP-rep-map__state.is-active {
    fill: var(--MEP-rep-map-state-hover-fill);
}

.MEP-rep-map__state:focus {
    stroke: var(--MEP-rep-map-focus-ring);
    stroke-width: 2;
}

.MEP-rep-map__labels {
    display: none;
    pointer-events: none;
}

.MEP-rep-map__label {
    fill: var(--MEP-rep-map-label-fill);
    font-size: 9px;
    font-weight: 700;
    text-anchor: middle;
    dominant-baseline: middle;
    pointer-events: none;
}

.MEP-rep-map__small-states {
    display: grid;
    grid-template-columns: repeat(2, minmax(56px, 1fr));
    gap: 0.5rem;
    margin-bottom: 60px;
}

.MEP-rep-map__small-state-button {
    border: 1px solid currentColor;
    border-radius: 6px;
    background: transparent;
    color: inherit;
    padding: 16px !important;
    font-size: 0.875rem;
    line-height: 1;
    cursor: pointer;
}

.MEP-rep-map__small-state-button.is-active {
    background: var(--MEP-rep-map-state-active-fill);
    color: #ffffff;
}

.MEP-rep-map__locations {
    margin-top: 1rem;
}

.MEP-rep-map__locations:empty {
    margin-top: 0;
}

.MEP-rep-map__state-heading {
    margin: 0 0 1rem;
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
}

.MEP-rep-map__company-heading {
    margin: 1.5rem 0 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.MEP-rep-map__company-heading:first-of-type {
    margin-top: 0;
}

.MEP-rep-map__location {
    margin: 0 0 1.5rem;
    font-size: 1rem;
}

.MEP-rep-map__location-info {
    margin: 0;
}

.MEP-rep-map__locations-empty {
    margin: 0;
    color: inherit;
    opacity: 0.75;
}

.MEP-rep-map__mobile {
    display: none;
    margin-top: 1rem;
}

.MEP-rep-map__mobile-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.MEP-rep-map__mobile-select {
    width: 100%;
    min-height: 40px;
    margin-bottom: 60px;
}

.MEP-rep-map__tooltip {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 2147483000;
    box-sizing: border-box;
    pointer-events: none;
    max-width: 240px;
    background: #111111;
    color: #ffffff;
    border-radius: 6px;
    padding: 0.35rem 0.5rem;
    font-size: 0.8125rem;
    line-height: 1.3;
}

.MEP-rep-map__tooltip[hidden] {
    display: none !important;
}

.MEP-rep-map__tooltip:not([hidden]) {
    display: block !important;
}

@media (max-width: 1024px) {
    .MEP-rep-map__desktop {
        grid-template-columns: 1fr;
    }

    .MEP-rep-map__small-states {
        grid-template-columns: repeat(9, minmax(56px, 1fr));
    }
}

@media (max-width: 767px) {
    .MEP-rep-map__desktop {
        display: none;
    }

    .MEP-rep-map__mobile {
        display: block;
    }
}