/* === Three Column overlap Feature Block Styles === */
.overlap-feature-block {
    display: flex;
    gap: .25rem;
    justify-content: center;
    align-items: stretch;
    padding: 2rem 0;
    margin-top: -60px;
}

@media only screen and (min-width: 800px) {
    .overlap-feature-block {
        margin-top: -100px;
        gap: 1rem;
    }
}

@media only screen and (min-width: 1200px) {
    .overlap-feature-block {
        margin-top: -120px;
        gap: 2rem;
    }
}

.overlap-feat-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #222;
    color: #fff;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 4px 24px rgba(0,0,0,0.12);
    transition: transform 0.2s;
    margin: 0 0.5rem;
    position: relative;
    padding: 0;
    aspect-ratio: 1/1;
    justify-content: flex-end;
    max-width: 320px;
}

.overlap-feat-overlay {
    width: 100%;
    height: 100%;
    z-index: 2;
}

.overlap-feat-card:hover .overlap-feat-overlay {
    background: var(--bm-blue-film);
    backdrop-filter: blur(2px) saturate(115%);
    -webkit-backdrop-filter: blur(2px) saturate(115%);
}

.overlap-feat-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    
    isolation: isolate;
} 

.overlap-feat-img {
    position: relative;
    width: 100%;
    height: 100%;
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.overlap-feat-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1;
}

.overlap-feat-overlap {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4);
    z-index: 2;
}

.overlap-feat-content {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: end;
    color: #fff;
    text-align: center;
}

.overlap-feat-content h3 {
    font-weight: bold;
    color: var(--bm-white);
    width: 100%;
    background: var(--bm-blue);
    padding: .25rem;
    font-size: var(--font-size-ms);
}

@media only screen and (min-width: 600px) {
    .overlap-feat-content h3 {
        font-size: var(--font-size-lg);
        padding: .5rem;
    }
}

.overlap-feat-content p {
    margin: 0;
    font-size: 1rem;
    color: #eee;
}