.reference-item {
    padding: 8px;
    background-color: var(--white);
    border: 1px solid var(--light-border);
}

.reference-item-image {
    width: 100%;
    height: 350px;
}

.reference-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reference-item-title-and-icon span {
    color: var(--body-text);
}

.reference-item-location {
    display: block;
    width: 90%;
    color: var(--theme-secondary);
}

.reference-gallery-indicator {
    margin-top: 25px;
    display: flex;
    align-items: center;
    gap: 16px;
    border-top: 1px solid rgba(129, 129, 129, 0.34);
    padding-top: 5px;
}

.reference-gallery-indicator span {
    color: var(--theme-secondary);
}

.reference-item-content {
    padding: 10px 15px 5px 15px;
}

.reference-item-icon {
    width: 35px;
    height: 35px;
}

.reference-item-icon img {
    max-width: 100%;
    width: auto;
    height: auto;
    max-height: 100%;
}

@media only screen and (min-width:992px) {
    .reference-item-content {
        padding: 20px 15px 5px 15px;
    }

    .reference-item {
        height: 100%;
    }
}

@media only screen and (min-width:1400px) {
    .reference-item-image {
        height: 320px;
    }
}

@media only screen and (min-width:1600px) {
    .reference-item-image {
        height: 370px;
    }
}

@media only screen and (min-width:1800px) {
    .reference-item-image {
        height: 420px;
    }
}

@media only screen and (min-width:992px) and (hover:hover) {
    .reference-item-image {
        overflow: hidden;
    }

    .reference-item-image img {
        transition: transform var(--timing-function);
        transform: translate3d(0px, 0px, 0.0001px) scale(1);
    }

    .reference-item {
        transition: background-color var(--timing-function);
        cursor: pointer;
    }

    .reference-item:hover {
        background-color: var(--hover-white);
    }

    .reference-item:hover .reference-item-image img {
        transform: translate3d(0px, 0px, 0.0001px) scale(1.02);
    }
}