.project-mosaic {
    display: flex;
    gap: 20px;
    flex-wrap: wrap
}

.project-mosaic .left {
    flex: 1 1 40%;
    min-width: 320px
}

.project-mosaic .right {
    flex: 1 1 40%;
    display: flex;
    flex-direction: column;
    gap: 20px
}

.mosaic-row {
    display: flex;
    gap: 20px
}

.mosaic-large {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: block
}

.mosaic-large img, .mosaic-square img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.mosaic-square {
    position: relative;
    flex: 1 1 50%;
    min-height: 130px;
    overflow: hidden
}

.mosaic-top-square {
    position: relative;
    min-height: 200px
}

.mosaic-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    padding: 10px;
    opacity: 0;
    transition: opacity .28s ease, transform .28s ease;
    pointer-events: none;
}

/* show overlay and border on hover */
.mosaic-large:hover .mosaic-overlay, .mosaic-square:hover .mosaic-overlay {
    opacity: 1;
    pointer-events: auto;
}

/* border effect using pseudo element */
.mosaic-large::after, .mosaic-square::after {
    content: '';
    position: absolute;
    inset: 8px;
    border: 2px solid rgba(255, 255, 255, 0);
    transition: border-color .22s ease, transform .22s ease;
    pointer-events: none;
}

.mosaic-large:hover::after, .mosaic-square:hover::after {
    border-color: rgba(255, 255, 255, 0.95);
}

.project-action {
    display: flex;
    justify-content: center;
    margin-top: 24px
}

.project-action span {
    font-size: 21px;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: white;
    color: black;
    border-radius: 50%;
}

.project-action .btn {
    background: #d91021;
    color: #fff;
    border-radius: 30px;
    padding: 10px 26px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    font-family: 'CalSans-Regular';
    gap: 8px
}

@media(max-width:900px) {
    .project-mosaic {
        flex-direction: column
    }

    .project-mosaic .left, .project-mosaic .right {
        flex: 1 1 100%
    }

}

.project__title {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
    margin-bottom: 2rem;
}

.project__title span {
    color: var(--main-1, #D91021);
    text-align: center;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: capitalize;
    font-family: 'CalSans-Regular';
}

.project__title h3 {
    color: var(--color-text, #222);
    text-align: center;
    font-size: 40px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: -0.8px;
    font-family: 'CalSans-Regular';
    text-transform: capitalize;
}

.project__title p {
    overflow: hidden;
    color: var(--color-text, #222);
    text-align: center;
    text-overflow: ellipsis;
    font-family: 'CalSans-Regular';
    white-space: nowrap;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 30px;    /* 214.286% */
}

@media (max-width:450px) {
    .project__title h3 {
        font-size: 25px;
    }

}
