.slick-track {
    display: block;
}

.developments-google-map-thumbs-shell {
    position: relative;
}

.developments-google-map-thumbs {
    --map-card-outline: var(--bs-primary);
    --map-card-border: var(--bs-primary);
    align-items: stretch;
}

.developments-google-map-thumbs .developments-map-sidebar {
    position: relative;
    background: var(--bs-white);
    margin-top: 1rem;
}

.developments-google-map-thumbs .developments-map-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    align-items: center;
    margin-bottom: 1rem;
    font-weight: 700;
    font-size: 1.08rem;
    color: var(--bs-primary);
}

.developments-google-map-thumbs .developments-map-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
}

.developments-google-map-thumbs .developments-map-legend-item .icon {
  width: 48px;
  height: 48px;
}

.developments-google-map-thumbs .developments-map-slider-wrap {
    height: 100%;
}

.developments-google-map-thumbs #map-cards .slick-list {
    margin: 0 -0.5rem;
}

.developments-google-map-thumbs .slick-slide {
    height: auto !important;
    margin: 0;  
    padding: 1px 0.5rem 1rem;
}

.developments-google-map-thumbs .slick-slide > div {
    height: 100%;
}

.developments-google-map-thumbs .map-card-item {
    cursor: pointer;
    height: 100%;
}

.developments-google-map-thumbs .developments-map-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background: var(--bs-white);
    border: 1px solid var(--map-card-border);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.developments-google-map-thumbs .map-card-item.slick-current .developments-map-card {
    border-color: var(--map-card-outline);
    border-width: 2px;
    transform: translateY(-2px);
}

.developments-google-map-thumbs .developments-map-card-image {
    aspect-ratio: 16 / 10;
    object-fit: cover;
    width: 100%;
}

.developments-google-map-thumbs .developments-map-card-image.is-fallback {
    object-fit: contain;
    padding: 1.5rem;
    background: #f5f2eb;
}

.developments-google-map-thumbs .developments-map-card-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.developments-google-map-thumbs .developments-map-card-summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.15fr);
    gap: 1rem;
    align-items: center;
    padding: 1.25rem;
    color: var(--bs-white);
}

.developments-google-map-thumbs .developments-map-card-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-width: 0;
    gap: 0.75rem;
}

.developments-google-map-thumbs .developments-map-card-brand-image {
    display: block;
    max-height: 4.5rem;
    height: auto;
    object-fit: contain;
}

.developments-google-map-thumbs .developments-map-card-divider {
    width: 1px;
    align-self: stretch;
    background: rgba(255, 255, 255, 0.45);
}

.developments-google-map-thumbs .developments-map-card-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    gap: 0.5rem;
}

.developments-google-map-thumbs .developments-map-card-copy {
    margin: 0;
    line-height: 1.2;
    font-size: 1rem;
}

.developments-google-map-thumbs .developments-map-scroll-arrow {
    position: absolute;
    left: 50%;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    padding: 0;
    color: var(--bs-primary);
    background: transparent;
    border: 0;
    transform: translateX(-50%);
}

.developments-google-map-thumbs .developments-map-scroll-arrow.is-top {
    top: -3.5rem;
}

.developments-google-map-thumbs .developments-map-scroll-arrow.is-bottom {
    bottom: -2.5rem;
}

.developments-google-map-thumbs .developments-map-scroll-arrow.is-hidden {
    display: none;
}

.developments-google-map-thumbs .developments-map-scroll-arrow svg {
    width: 2.75rem;
    height: 2.75rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.developments-google-map-thumbs .developments-map-panel {
    display: flex;
    flex-direction: column;
    height: calc(100% - 1rem - 2px);
}

.developments-google-map-thumbs #developments-google-map {
    flex: 1 1 auto;
    min-height: 28rem;
}

.developments-map-card-body a {
    font-size: 0.92rem;
}

@media (min-width: 768px) {
    .developments-google-map-thumbs .developments-map-sidebar {
        margin-top: 0;
    }

    .developments-google-map-thumbs-shell {
        margin-top: 4.75rem;
        margin-bottom: 4.75rem;
    }

    .developments-google-map-thumbs .developments-map-card {
        min-height: 0;
    }
}

@media (max-width: 767.98px) {
    .developments-google-map-thumbs-shell {
        padding-top: 0;
        padding-bottom: 0;
    }

    .developments-google-map-thumbs .developments-map-card-summary {
        grid-template-columns: minmax(0, 1fr);
    }

    .developments-google-map-thumbs .developments-map-card-divider {
        display: none;
    }

    .developments-google-map-thumbs .developments-map-slider-wrap {
        height: auto;
        padding: 0 2.75rem;
    }

    .developments-google-map-thumbs .developments-map-scroll-arrow {
        top: 50%;
        bottom: auto;
        width: 2.5rem;
        height: 2.5rem;
        transform: translateY(-50%);
    }

    .developments-google-map-thumbs .developments-map-scroll-arrow.is-top {
        left: 0rem;
        top: 50%;
    }

    .developments-google-map-thumbs .developments-map-scroll-arrow.is-bottom {
        left: auto;
        right: 0rem;
    }

    .developments-google-map-thumbs .developments-map-scroll-arrow svg {
        width: 2rem;
        height: 2rem;
        stroke-width: 3;
    }

    .developments-google-map-thumbs .developments-map-scroll-arrow.is-top svg {
        transform: rotate(-90deg);
    }

    .developments-google-map-thumbs .developments-map-scroll-arrow.is-bottom svg {
        transform: rotate(-90deg);
    }

    .developments-google-map-thumbs #map-cards .slick-list {
        margin: 0;
    }
}