  .tiles .column {
    display: flex;
}

.tiles .flex-row-reverse {
    flex-direction: row-reverse;
}
.tiles .column .w50 {
    flex: 50%;
    padding: 80px;
    background-color: #ffcd05;
    color: #2c3d4f;
    position: relative;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    min-height: 575px;
    display: flex;
    align-items: center;
}

.tiles .column .w50 h2 {
    font-weight: 700;
    font-size: 42px;
    margin-bottom: 20px;
}
.tiles .column .w50 h3 {
    font-weight: 700;
    font-size: 40px;
    line-height: 48px;
    margin-bottom: 20px;
}
.tiles .column .w50 .content {
    max-width: 675px;
}

.tiles .flex-row-reverse .w50 {
    padding: 80px;
    background-color: #2c3d4f;
    color: white;
}

.tiles .column .w50 p {
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    margin-bottom: 44px;
}

.tiles .column .w50 span.line {
    width: 110px;
    height: 2px;
    margin-bottom: 30px;
    display: block;
    background-color: #2c3d4f;
}

.tiles .flex-row-reverse span.line {
    background-color: white !important;
}

.tiles .column .w50 a {
    text-decoration: none;
    border-radius: 4px;
    background-color: #2c3d4f;
    color: white;
    font-weight: 700;
    font-size: 18px;
    min-width: 240px;
    display: block;
    max-width: max-content;
    /* max-width: 320px; */
    text-align: center;
    padding: 16px 48px;
    position: relative;
}

.tiles .column .w50 a span {
    position: relative;
    z-index: 3;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

.tiles .column .w50 a:after {
    width: 0%;
    height: 100%;
    top: 0;
    left: 0;
    background: #fff;
    content: "";
    position: absolute;
    z-index: 2;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
    border-radius: 3px;
}

.tiles .column .w50 a:hover:after {
    width: 100%;
}

.tiles .column .w50 a:hover span {
    color: #2c3d4f;
}

.tiles .flex-row-reverse .w50 a {
    background-color: white !important;
    color: #2c3d4f !important;
}

.tiles .flex-row-reverse .w50 a:after {
    background: #ffcd05;
}

@media screen and (max-width: 1024px) {
    .tiles .column .w50 h2 {
        font-size: 36px;
    }
    .tiles .column {
        display: flex;
        flex-direction: column-reverse;
    }
    .tiles .column .w50 {
        padding: 60px 25px;
        min-height: initial;
    }
    .tiles .column .w50.image {
        min-height: 250px;
    }
}

@media screen and (max-width: 768px) {
    .tiles .column .w50 h2 {
        font-size: 26px;
    }
    .tiles .column .w50 p {
        font-size: 16px;
    }
}
