.block-items-overview{
    padding: 4rem 0;
}

.block-items-overview--no-mb{
    padding-bottom: 0;
}

.block-items-overview__title{
    margin-bottom: 4rem;    
}

.block-items-overview .row{
    --bs-gutter-x: 1px;
    --bs-gutter-y: 1px;
}

.block-items-overview__item {
    display: block;
    aspect-ratio: 1 / 1;
    width: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

@media screen and (min-width: 576px){
    .block-items-overview__item {
        text-align: center;
    }
}

.block-items-overview__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.25);
    color: #fff;
    padding: 5rem;
    transition: opacity 0.4s ease;
    opacity: 1;
}

@media screen and (min-width: 992px) {
    .block-items-overview__overlay {
        opacity: 0;
        background: rgba(0,0,0,0.6);
    }
}

.block-items-overview__item:hover .block-items-overview__overlay {
    opacity: 1;
}

@media screen and (min-width: 576px){
    .block-items-overview__item:hover .block-items-overview__overlay {
        text-align: center;
    }
}

.block-items-overview h6{
    font-size: 1.6rem;
}

.block-items-overview__overlay h3 {
    margin-bottom: 1.5rem;
}

.block-items-overview__overlay p {
    margin: 0;
}

.block-items-overview__bottom{
    color: white;
    background-color: rgba(0, 0, 0, 0.86);
}

.block-items-overview__bottom a{
    color: white;
    text-decoration: none;
    font-family: "Playfair Display", serif;
    font-weight: 300;
    font-size: 1.4rem;
}

.block-items-overview__bottom a:hover{
    color: #e8c490;
}

.block-items-overview__form{
    margin-bottom: 4rem;
    gap: 1rem;
}

@media screen and (min-width: 992px) {
    .block-items-overview__form{
        width: 80%;
        margin-left: 10%;
    }
}   

.block-items-overview__form select,
.block-items-overview__form input{
    margin-bottom: 1rem;
    width: 100%;
    height: 3rem;
    padding: .4rem 1rem;
    border: solid 1px #999;
    border-radius: 0;
    font-size: 1rem;
    transition: all 200ms ease;
}

.block-items-overview__form select:hover,
.block-items-overview__form input:hover{
    cursor: pointer;
    background-color: #f1f1f1;
}

.block-items-overview__form input[type="submit"]{
    background-color: black;
    color: white;
    transition: all 200ms ease;
}

.block-items-overview__form input[type="submit"]:hover{
    background-color: #333;
}
