.cw3-three-photo-blocks {
    display: flex;
    margin: 0 auto;
    justify-content: space-between;
    text-align: center;
}

.cw3-three-photo-blocks.style-2 .label {
    background: #fdc743;
    color: #071e3f;
    font-weight: bold;
}

.cw3-three-photo-blocks .item {
    flex: 0 0 32%;
    max-width: 32%;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: opacity 0.3s ease, box-shadow 0.3s ease;
    border-radius: 15px;
}

.cw3-three-photo-blocks .item:hover {
    opacity: 0.9;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
}

.cw3-three-photo-blocks .image {
    padding-bottom: 80%;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.cw3-three-photo-blocks .info {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    flex: 1;
    padding: 30px 10px 50px;
    background: #fff;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.cw3-three-photo-blocks .title {
    font-size: 32px;
    line-height: 1;
    font-weight: bold;
}

.cw3-three-photo-blocks .label {
    position: absolute;
    z-index: 1;
    bottom: -15px;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    padding: 2px 10px 4px;
    width: 142px;
    background: #0d1d41;
    color: #fff;
    font-size: 18px;
    border-radius: 10px;
}

@media screen and (max-width: 767px) {
    .cw3-three-photo-blocks {
        display: block;
    }

    .cw3-three-photo-blocks .item {
        max-width: 360px;
        margin-left: auto;
        margin-right: auto;
    }

    .cw3-three-photo-blocks .item + .item {
        margin-top: 40px;
    }

    .cw3-three-photo-blocks .info {
        padding-bottom: 40px;
    }

    .cw3-three-photo-blocks .image {
        padding-bottom: 50%;
        background-position: center 0;
    }

    .cw3-three-photo-blocks .title {
        font-size: 28px;
    }
}
