.related-projects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}
.related-image img {
    width: 100%;
    height: 190px;
    object-fit: cover;
}
h2.related-title {
        color: var(--e-global-color-primary);
        font-size: 18px;
        font-weight: bold;
        margin-top: 0;
}
.related-title {
    line-height: 20px!important;
    margin-top: 0!important;
    margin-bottom: 10px!important;
    margin-top: 15px!important;
}
.related-excerpt {
    line-height: 20px;
    font-family: var(--e-global-typography-5252df9-font-family), Sans-serif;
}
.related-date {
    margin-bottom: 0;
    margin-top: 10px;
    text-transform: uppercase;
    font-size: 12px;
}

.related-projects img {
    width: 100%;
    height: 190px;
    object-fit: cover;
}
.related-item {
    position: relative;
    border: 0 !important;
    color: rgb(51, 51, 51)!important;
}
.icon-element {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    padding: 8px;
    transition: background-color 0.3s ease;
}
.related-item:hover .related-title {
    text-decoration: underline;
    color: var(--e-global-color-primary);
}
@media screen and (min-width: 787px) {
    .related-projects {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 20px;
        margin: 20px 0;
    }
}