/**
 * Camp Hall v2 – POA Map (points / Avian Commons map with carousel)
 */

.poa-map {
    position: relative;
}

.poa-map-items {
    width: 500px;
    max-width: 100%;
}

@media (min-width: 992px) {
    .poa-map-items {
        position: absolute;
        transform: translateY(-50%);
        top: 50%;
        left: 0;
        padding: 30px;
    }

    .poa-map-items.position-right {
        left: auto;
        right: 0;
    }
}

.poa-map-item {
    background-color: #fff;
    padding: 30px;
    box-shadow: 0 1px 13px 5px rgba(0, 0, 0, 0.09);
}

.poa-map-item .description {
    font-size: 16px;
    line-height: 1.4;
}

.poa-map-item .features,
.poa-map-item .features li {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.poa-map-item .features li {
    display: inline-block;
}

.poa-map-item .features li + li {
    margin-left: 1rem;
}

.poa-map-item .preheading {
    /* font-size: 1.5rem; */
    color: #55B046;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.poa-map-item .heading {
    color: #215732;
}

/* .poa-map-item .subheading {
    font-size: 1.8rem;
} */

.poa-map-button {
    padding: 1rem;
    width: clamp(30px, 2.4vw, 50px);
    height: clamp(30px, 2.4vw, 50px);
    border-radius: 50%;
    position: absolute;
    z-index: 2;
}

.poa-map-button:before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: rgba(85, 176, 70, 0.5);
    border-radius: 50%;
    top: 0;
    left: 0;
    transform: scale(1);
    transition: all 0.3s ease-out;
}

.poa-map-button.active:before {
    transform: scale(1.5);
}

.poa-map-image img {
    vertical-align: middle;
}

#poa-map {
    overflow: hidden;
    position: relative;
}

#poa-map #rect {
    transition: transform 0.2s ease-out;
}

.poa-map .map-controls {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    margin: 0;
}

@media (min-width: 992px) {
    .poa-map .wp-block-tba-carousel .wp-block-tba-carousel__next {
        right: 35px;
    }

    .poa-map .wp-block-tba-carousel .wp-block-tba-carousel__prev {
        left: 35px;
    }
}
