section.legacy .grid-container {
    display: flex;
    align-items: start;
    justify-content: center;
    gap: 60px;
}

section.legacy .parent {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, 1fr);
    grid-column-gap: 24px;
    grid-row-gap: 24px;
    height: 756px;
    width: 934px;
}

section.legacy .grid-container .inner-content {
    width: 100%;
}

section.legacy .div1 {
    grid-area: 1 / 1 / 3 / 3;
    min-width: 375px;
    overflow: hidden;
}

section.legacy .div2 {
    grid-area: 1 / 3 / 6 / 5;
    width: 100%;
    position: relative;
    overflow: hidden;
}

section.legacy .div3 {
    grid-area: 3 / 1 / 6 / 3;
    min-width: 375px;
    overflow: hidden;
}

section.legacy .parent img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 24px;
}

section.legacy .btn-container-parent {
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 12px 24px;
    background: #fff;
    border-radius: 40px 0 0 0;
}

section.legacy .btn-container-parent .btn-cta-container {
    width: 233px;
}

section.legacy .btn-container-parent a {
    position: relative;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

section.legacy .btn-container-parent::before {
    content: "";
    position: absolute;
    top: -23px;
    right: -6px;
    bottom: 0px;
    height: 30px;
    width: 30px;
    z-index: 6;
    transform: scale(-1);
    background: url('https://crtaroma.com/wp-content/themes/crtaroma/assets/images/custom-nav-right.png') no-repeat left center / contain;
}

section.legacy .btn-container-parent::after {
    content: "";
    position: absolute;
    top: 60px;
    right: 0;
    left: -24px;
    bottom: 0;
    height: 30px;
    width: 30px;
    z-index: 6;
    transform: scale(-1);
    background: url('https://crtaroma.com/wp-content/themes/crtaroma/assets/images/custom-nav-right.png') no-repeat left center / contain;
}

@media (max-width:1600px) {
    section.legacy .grid-container {
        gap: 40px;
    }

    section.solutions .group_items .items .card-slider .caption {
        height: 45.5%;
    }
}

@media (max-width:1440px) {
    section.legacy .grid-container {
        flex-direction: column-reverse;
    }

    section.legacy .parent {
        width: 100%;
    }
}

@media (max-width:1199px) {

    section.legacy .div1,
    section.legacy .div2,
    section.legacy .div3 {
        min-width: 100%;
    }
}

@media (max-width:767px) {
    section.legacy .parent {
        display: flex;
        flex-direction: column;
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(4, 1fr);
        height: auto;
        width: 100%;
        gap: 24px;
    }

    section.legacy .parent>div img {
        max-height: 480px;
    }
}

section.solutions {
    padding: 150px 8px;
    background-color: #F8F8F8;
}

section.solutions .row._custom .header h2 {
    margin-bottom: 40px;
}

section.solutions .group_items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(390px, 1fr));
    grid-gap: 24px;
    align-items: stretch;
}

section.solutions .group_items .items {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    border: 1px solid rgba(201, 201, 201, 0.20);
    background: #FFF;
    box-shadow: 0px 8px 8px 0px rgba(0, 0, 0, 0.04);
    border-radius: 24px;
    padding: 24px;
    overflow: hidden;
    min-height: 594px;
}

section.solutions .group_items .items .item img {
    border-radius: 24px;
    scale: 1;
    transition: scale ease-in-out 0.4s;
    height: 100%;
    object-fit: cover;
}

section.solutions .group_items .items:hover .item img {
    border-radius: 24px;
    scale: 1.05;
    transition: scale ease-in-out 0.4s;
}

section.solutions .group_items .items .item {
    position: relative;
    overflow: hidden;
    height: 100%;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
}

section.solutions .group_items .items .card-slider .caption {
    position: absolute;
    overflow: hidden;
    bottom: 0;
    height: 60%;
    display: flex;
    flex-direction: column;
    justify-content: end;
    transform: translateY(189px);
    transition: transform ease-in-out 0.4s;
}

section.solutions .group_items .items .card-slider .caption:nth-child(3) {
    height: 60%;
}

section.solutions .group_items .items:hover .card-slider .caption {
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    position: absolute;
    bottom: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: end;
    /* padding: 24px; */
    transform: translateY(0);
    transition: transform ease-in-out 0.4s;
    width: 100%;
}

section.solutions .group_items .items .item .caption h3::before {
    content: "";
    position: absolute;
    right: 0;
    left: -6px;
    bottom: 50px;
    height: 30px;
    width: 30px;
    z-index: 6;
    transform: scaleY(-1);
    background: url('https://crtaroma.com/wp-content/themes/crtaroma/assets/images/custom-nav-right.png') no-repeat left center / contain;
}

section.solutions .group_items .items .item .caption h3::after {
    content: "";
    position: absolute;
    right: 0;
    left: 155px;
    bottom: -6px;
    height: 30px;
    width: 30px;
    z-index: 6;
    transform: scaleY(-1);
    background: url('https://crtaroma.com/wp-content/themes/crtaroma/assets/images/custom-nav-right.png') no-repeat left center / contain;
}

section.solutions .group_items .items .item .caption h3 {
    position: relative;
    color: #433337;
    font-family: Poppins;
    font-size: 22px;
    font-style: normal;
    font-weight: 500;
    line-height: 32px;
    width: 161px;
    background: #fff;
    border-radius: 0 24px 0 0;
    padding: 24px 24px 0 24px;
}

section.solutions .group_items .items .card-slider .caption .card-header {
    position: relative;
}

section.solutions .group_items .items .item .caption .card-header::after {
    content: "";
    position: absolute;
    right: -6px;
    bottom: -7px;
    height: 30px;
    width: 30px;
    z-index: 6;
    transform: scale3d(-1, -1, 1);
    background: url('https://crtaroma.com/wp-content/themes/crtaroma/assets/images/custom-nav-right.png') no-repeat left center / contain;
}

section.solutions .group_items .items:hover .item .caption .overlay {
    content: "";
    position: absolute;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.9) 20%, rgb(255 255 255 / 0%) 60%);
    opacity: 1;
    z-index: 1;
    pointer-events: none;
    height: 100%;
    bottom: 0;
    width: 100%;
    transition: opacity 0.9s ease-in-out;
}

section.solutions .group_items .items .item .caption .overlay {
    content: "";
    position: absolute;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0) 0%, rgb(255 255 255 / 0%) 0%);
    opacity: 0.1;
    z-index: 1;
    pointer-events: none;
    height: 100%;
    bottom: 0;
    width: 100%;
    transition: opacity 0.9s ease-in-out;
}

section.solutions .group_items .items .item:hover:after {
    opacity: 1;
}

section.solutions .group_items .items .card-slider .caption .contents p {
    /* margin-bottom: 0; */
}

section.solutions .components-cta .btn-cta-container {
    width: 233px;
}

section.solutions .group_items .items .card-slider .caption .contents,
section.solutions .group_items .items .card-slider .caption .card-header {
    z-index: 3;
}

section.solutions .group_items .items:hover .card-slider .caption .contents {
    opacity: 1;
}

section.solutions .group_items .items .card-slider .caption .contents {
    position: relative;
    background-color: #FFFFFF;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 180px;
    min-height: 202px;
    padding: 24px 24px 0;
    opacity: 1;
}

section.solutions .group_items .items:hover .card-slider .caption .contents {
    height: auto;
}


@media (max-width:1440px) {
    section.solutions .group_items .items .card-slider .caption .contents .components-cta {
        max-width: 235px;
    }

    section.solutions .group_items .items {
        min-height: 580px;
    }

    section.solutions .group_items {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(2, 1fr);
        grid-column-gap: 24px;
        grid-row-gap: 24px;
        max-width: 1200px;
        margin: auto;
    }

    section.solutions .group_items .items:nth-child(1) {
        grid-area: 1 / 1 / 2 / 3;
        max-height: 320px;
    }

    section.solutions .group_items .items:nth-child(2) {
        grid-area: 2 / 1 / 3 / 3;
        height: 100%;
        max-height: 320px;
    }

    section.solutions .group_items .items:nth-child(3) {
        grid-area: 1 / 3 / 3 / 5;
        height: 100%;
        /* max-height: 640px; */
    }

    /* section.solutions .group_items {
        display: flex;
        flex-wrap: wrap;
        grid-gap: 24px;
        align-items: stretch;
        justify-content: center;
    } */
    section.solutions .group_items .items {
        /* max-width: calc(100% - 24px);
        max-height: 600px; */
        /* min-width: 480px; */
        /* flex: 1 1 auto; */
    }

    section.solutions .group_items .items .item {
        width: 100%;
    }

    section.solutions .group_items .items.wide {
        /* max-height: 480px;
        width: 100%; */
    }

    section.solutions .group_items .items.wide .item {
        width: 100%;
    }

    section.solutions .group_items .items .item img {
        width: 100%;
    }
}

@media (max-width:1199px) {
    section.solutions {
        padding: 100px 30px;
    }

    section.solutions .group_items .items:nth-child(1) {
        width: 100%;
    }

    section.solutions .group_items .items:nth-child(2) {
        width: 100%;
    }

    section.solutions .group_items .items:nth-child(3) {
        width: 100%;
    }
}

@media (max-width:991px) {
    section.solutions .group_items {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    section.solutions .group_items .items {
        max-height: 600px;
    }

    section.solutions {
        padding: 70px 30px;
    }
}

@media (max-width:767px) {
    section.solutions {
        padding: 70px 8px;
    }

    section.solutions .row._custom .header h2 {
        margin-bottom: 20px;
    }

    section.solutions .group_items .items:nth-child(1) {
        height: auto;
    }

    section.solutions .group_items .items:nth-child(2) {
        height: auto;
    }

    section.solutions .group_items .items:nth-child(3) {
        height: auto;
    }

    section.solutions .group_items .items .card-slider .caption .contents {
        padding: 12px 12px 0;
        gap: 5px;
    }

    section.solutions .group_items .items {
        padding: 12px;
    }

    section.solutions .group_items .items {
        min-height: 480px;
    }

    section.solutions .group_items .items {
        min-height: 600px;
    }
}

@media (max-width:575px) {
    section.solutions {
        padding: 50px 8px;
    }
}

section.experience .experience-container {
    display: flex;
    gap: 24px;
    height: 600px;
}

section.experience .experience-container .btn-container-parent .btn-cta-container {
    width: 230px;
}

section.experience .experience-container .img-container {
    position: relative;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

section.experience .experience-container .img-container video source {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

section.experience .experience-container .img-container figure,
section.experience .experience-container .img-container figure video {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 24px;
    overflow: hidden;
}

section.experience .experience-container .img-container img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    overflow: hidden;
    border-radius: 24px;
}

section.experience .experience-container .btn-container-parent {
    position: absolute;
    bottom: 0px;
    right: 0px;
    padding: 12px 24px;
    background: #fff;
    border-radius: 40px 0 0 0;
}

section.experience .experience-container .btn-container-parent a {
    position: relative;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

section.experience .experience-container .btn-container-parent::before {
    content: "";
    position: absolute;
    top: -23px;
    right: -6px;
    bottom: 0px;
    height: 30px;
    width: 30px;
    z-index: 6;
    transform: scale(-1);
    background: url('https://crtaroma.com/wp-content/themes/crtaroma/assets/images/custom-nav-right.png') no-repeat left center / contain;
}

section.experience .experience-container .btn-container-parent::after {
    content: "";
    position: absolute;
    top: 60px;
    right: 0;
    left: -24px;
    bottom: 0;
    height: 30px;
    width: 30px;
    z-index: 6;
    transform: scale(-1);
    background: url('https://crtaroma.com/wp-content/themes/crtaroma/assets/images/custom-nav-right.png') no-repeat left center / contain;
}

section.experience .experience-card_1 {
    max-width: 936px;
    height: 100%;
    position: relative;
}

section.experience .experience-card_2 {
    height: 100%;
}

section.experience .experience-card_1 .experience-contents {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
}

section.experience .experience-card_1 .experience-contents .exp-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px;
    width: 100%;
    height: 100%;
}

section.experience .experience-card_1 .experience-contents .exp-container h3 {
    color: #FFF;
    font-family: "Poppins", sans-serif;
    font-style: normal;
    font-weight: 500;
}

section.experience .experience-card_1 .experience-contents .exp-container p {
    color: #FFF;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 24px;
}

section.experience .experience-card_1 img {
    width: 100%;
    object-fit: cover;
    height: 100%;
}

@media (max-width:1199px) {
    section.experience .experience-container {
        flex-direction: column-reverse;
        height: 100%;
    }

    section.experience .experience-card_1 {
        max-width: 100%;
    }

    section.contact .contact_content .contact_form .info div {
        gap: 24px;
    }

    section.experience .experience-card_1 .experience-contents .exp-container {
        padding: 50px 12px;
    }
}

@media (max-width:991px) {
    section.experience .experience-container {
        flex-direction: column-reverse;
        height: auto;
    }

    section.experience .experience-container>div {
        height: 600px;
    }

    section.contact .contact_content {
        flex-direction: column-reverse;
    }
}

@media (max-width:767px) {
    section.experience .experience-container>div {
        height: 550px;
    }
}

@media (max-width:575px) {
    section.experience .experience-container>div {
        height: 600px;
    }

    section.experience .experience-card_1 .experience-contents .exp-container {
        justify-content: start;
    }
}

section.embrace .embrace-container {
    display: flex;
}

section.embrace .embrace-container .btn-cta-container {
    width: 270px;
}

section.embrace .embrace-container .embrace-card_1 .large-post-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    height: 100%;
}

section.embrace .embrace-container .embrace-card_1 .large-post-container .contents {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

section.embrace .embrace-container .embrace-card_1 .img-container {
    height: 500px;
    object-fit: cover;
    border-radius: 24px;
    background: url('') lightgray 50% / cover no-repeat;
    box-shadow: 0px 8px 8px 0px rgba(0, 0, 0, 0.04), 0px 8px 8px 0px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    max-width: 800px;
}

section.embrace .embrace-container .embrace-card_1 .img-container img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

section.embrace .embrace-container .embrace-card_2 {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-left: 60px;
}

section.embrace .embrace-container .embrace-card_2 .post-container {
    position: relative;
    padding: 40px;
    display: flex;
    justify-content: end;
    width: 716px;
    min-height: 232px;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #CDD7E4;
    background: linear-gradient(270deg, rgba(255, 255, 255, 0.00) 15%, #FFF 36.28%), #FFF;
    transition: .3s ease all;
}

section.embrace .embrace-container .embrace-card_2 .post-container:hover {
    border: 1px solid #043576;
    transition: .3s ease all;
}

section.embrace .embrace-container .embrace-card_2 .post-container .img-container {
    position: absolute;
    top: 0;
    right: 0;
    opacity: 1;
    transition: .3s ease all;
}

section.embrace .embrace-container .embrace-card_2 .post-container .img-container::before {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    content: "";
    background: linear-gradient(269deg, rgba(255, 255, 255, 0.00) 15%, #FFF 99.28%), url('') #d3d3d300 360.892px -6.63px / 57.895% 119.237% no-repeat;
}

section.embrace .embrace-container .embrace-card_2 .post-container:hover .img-container {
    opacity: 0;
    transition: .3s ease all;
}

section.embrace .embrace-container .embrace-card_2 .post-container .contents {
    display: flex;
    align-items: baseline;
    justify-content: start;
    gap: 6px;
    /* background: linear-gradient(269deg, rgba(255, 255, 255, 0.00) 15%, #FFF 50.28%), url('') #d3d3d300 360.892px -6.63px / 57.895% 119.237% no-repeat; */
    z-index: 2;
    width: 100%;
}

section.embrace .embrace-container .embrace-card_2 .post-container .components-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: end;
    display: none;
}

section.embrace .embrace-container .embrace-card_2 .post-container:hover .components-cta {
    display: flex;
}

section.embrace .embrace-container .embrace-card_1 h2 {
    color: #433337;
    font-family: "Poppins", sans-serif;
    font-size: 44px;
    font-style: normal;
    font-weight: 500;
    line-height: 60px;
}

section.embrace .embrace-container .embrace-card_2 .post-container .contents div {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

section.embrace .embrace-container .embrace-card_2 .post-container .contents span {
    color: #433337;
    font-family: "Poppins", sans-serif;
    font-size: 15px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    transition: .6s ease all;
}

section.embrace .embrace-container .embrace-card_2 .post-container:hover .contents span {
    color: #043576;
    font-family: "Poppins", sans-serif;
    font-size: 15px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    transition: .6s ease all;
}

section.embrace .embrace-container .embrace-card_2 .post-container .contents div h3 {
    color: #433337;
    font-family: "Poppins", sans-serif;
    font-size: 22px;
    font-style: normal;
    font-weight: 500;
    line-height: 32px;
    transition: .6s ease all;
}

section.embrace .embrace-container .embrace-card_2 .post-container:hover .contents div h3 {
    color: #043576;
    font-family: "Poppins", sans-serif;
    font-size: 22px;
    font-style: normal;
    font-weight: 500;
    line-height: 32px;
    transition: .6s ease all;
}

section.embrace .embrace-container .embrace-card_2 .post-container .contents div p {
    color: #433337;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 24px;
    max-width: 360px;
}

.experience h2 {
    color: #FFF;
    font-family: "Poppins", sans-serif;
    font-size: 44px;
    font-style: normal;
    font-weight: 500;
    line-height: 60px;
}

.experience .exp-container {
    align-items: flex-start !important;
}

section.legacy .grid-container {
    align-items: center;
}

@media (max-width:1440px) {
    section.embrace .embrace-container .embrace-card_2 .post-container {
        width: 100%;
        min-width: 400px;
    }

    section.embrace .embrace-container .embrace-card_2 .post-container:hover {
        flex-direction: column;
        gap: 12px;
        height: auto;
    }
}

@media (max-width:1199px) {
    section.embrace .embrace-container .embrace-card_1 .large-post-container {
        width: 100%;
    }

    section.embrace .embrace-container .embrace-card_2 {
        padding-left: 24px;
    }
}

@media (max-width:991px) {
    section.embrace .embrace-container .embrace-card_1 .img-container {
        max-width: 100%;
    }

    section.embrace .embrace-container {
        flex-direction: column;
        gap: 24px;
    }

    section.embrace .embrace-container .embrace-card_2 {
        padding-left: 0;
    }

    section.embrace .embrace-container .embrace-card_2 .post-container:hover {
        flex-direction: row;
    }
}

@media (max-width:767px) {
    section.embrace .embrace-container .embrace-card_2 .post-container {
        padding: 20px;
        min-width: 100%;
        min-height: 200px;
    }

    section.embrace .embrace-container .embrace-card_2 .post-container:hover {
        flex-direction: column;
    }
}

@media (max-width:575px) {
    section.embrace .embrace-container .embrace-card_2 .post-container {
        padding: 20px;
        min-width: 100%;
    }
}




/*
.divcontents{
    position: relative;
    top:1em;
}

.ingretext:not(:hover){
visibility: hidden;
}

.divcardheader{
     position: relative;
     top:2.1em;
}

.headerthree{
    position: relative;
    bottom: 1em;

    .items:hover p {
    visibility:visible;
}

.items:not(:hover) p {
    visibility:hidden;
}
}*/

/*
section.solutions .group_items .items .card-slider .caption {
    position: absolute;
    overflow: hidden;
    bottom: 0;
    height: 40.5%;
    display: flex;
    flex-direction: column;
    justify-content: end;
    transform: translateY(189px);
    transition: transform ease-in-out 0.4s;
}

@media (max-width:1660px) {
    section.solutions .group_items .items .card-slider .caption {
    position: absolute;
    overflow: hidden;
    bottom: 0;
    height: 30% !important;
    display: flex;
    flex-direction: column;
    justify-content: end;
    transform: translateY(189px);
    transition: transform ease-in-out 0.4s;
    }
}

*/

/* @media (max-width:1660px) {
    .divcontents{
        position: absolute;
        bottom: 5em;
    }
} */