.grid-slider{
    padding: 130px 0;
    background-color: #FFF;
    width: 100%;
}
.grid-slider__content{
    max-width: 1120px;
    padding: 0 20px 0px;
    margin: 0 auto;
}
.grid-slider .flex_container {
    display: grid;
    justify-content: space-between;
    align-items: stretch;
    gap: 20px;
}

.grid-slider .flex_container.flex_two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-slider .flex_container.flex_three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-slider .flex_container .flex_item {
    display: flex;
    flex-direction: column;
}

.grid-slider__item {
    background: rgba(196, 196, 196, 0.20);
    padding: 40px 40px 0 40px;
    flex: 1; /* Make the grid-slider__item take up the remaining space */
    position: relative;
}

.grid-slider__title{
    /*color: rgba(15, 14, 18, 0.44);*/
    /*font-feature-settings: 'liga' off, 'clig' off;*/
    /*font-size: 76.117px;*/
    /*font-style: normal;*/
    /*font-weight: 400;*/
    /*line-height: 78.859px; !* 103.604% *!*/
    margin-bottom: 80px;
    max-width: 1000px;
    width: 100%;
    white-space: normal;
}

.grid-slider__item h3{
    color: #000;
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: Inter;
    font-size: 22px;
    font-style: normal;
    font-weight: 500;
    margin-bottom: 15px;
}
.grid-slider__item p{
    color: #A1A1A1;
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 30px; /* 187.5% */
}
.grid-slider__item a{
    text-decoration: none;
}
.up-arrow {
    /*background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M18 0.000844838H3.03453C3.08438 0.0346384 3.10127 0.0963116 3.09958 0.198537C3.09029 0.774717 3.10888 1.35259 3.09029 1.92792C3.08184 2.1932 3.17815 2.26417 3.42738 2.25656C3.98667 2.23967 4.54595 2.2422 5.10523 2.2422C7.80956 2.23882 10.5139 2.23713 13.2182 2.23629C13.2799 2.23629 13.3534 2.20249 13.41 2.28529C13.0002 2.64519 12.6353 3.04902 12.2424 3.42497C11.771 3.87612 11.3249 4.35514 10.8569 4.8122C10.6651 4.99891 10.4716 5.18646 10.2824 5.37655C10.0399 5.62071 9.80845 5.87501 9.56767 6.12086C9.33956 6.35319 9.10554 6.5796 8.8749 6.8094C8.63074 7.05271 8.38827 7.29772 8.14496 7.54187C7.90925 7.77758 7.68368 8.02681 7.43276 8.24562C7.17255 8.47204 6.96219 8.74577 6.69522 8.96712C6.46373 9.15889 6.2804 9.4039 6.05483 9.60835C5.80053 9.83899 5.5775 10.1034 5.33503 10.3467C5.08749 10.5951 4.83657 10.8401 4.5865 11.086C4.35248 11.3158 4.13029 11.5565 3.89289 11.783C3.67577 11.9908 3.44174 12.1859 3.24997 12.4157C3.03876 12.6692 2.77601 12.8652 2.55635 13.1102C2.19899 13.5081 1.77657 13.8469 1.40991 14.2372C0.990868 14.6833 0.546483 15.1023 0.108012 15.5281C-0.0364554 15.6684 -0.0432141 15.7799 0.131668 15.8965C0.233048 15.9632 0.314153 16.0477 0.397792 16.1305C0.82528 16.5555 1.25361 16.9796 1.67603 17.4096C1.78079 17.5169 1.85007 17.527 1.9675 17.4189C2.25644 17.1519 2.52341 16.8638 2.80136 16.5876C3.28883 16.1035 3.78559 15.6287 4.26462 15.1353C4.43865 14.9562 4.59072 14.7492 4.79518 14.6013C5.07144 14.4028 5.27251 14.1291 5.5192 13.9001C5.76843 13.6686 6.00161 13.4152 6.24745 13.1778C6.47725 12.9564 6.70536 12.73 6.92079 12.4977C7.27478 12.1175 7.65326 11.7627 8.01401 11.3901C8.46262 10.928 8.9332 10.487 9.38265 10.0232C9.56851 9.83139 9.76114 9.64299 9.94954 9.45121C10.2021 9.19438 10.4877 8.96881 10.7251 8.6993C10.9084 8.49232 11.107 8.29462 11.3047 8.11045C11.7347 7.71 12.1326 7.27913 12.5525 6.87023C12.9175 6.51539 13.2774 6.15211 13.6297 5.78207C14.085 5.3039 14.5835 4.86627 15.0279 4.37457C15.1123 4.28164 15.2298 4.21912 15.3565 4.12366V4.42019C15.3565 7.65931 15.3565 10.8993 15.3565 14.1384C15.3565 14.3676 15.4675 14.4819 15.6894 14.4814C16.3255 14.4805 16.9608 14.4797 17.597 14.478C17.8465 14.478 17.9713 14.3501 17.9713 14.0944C17.9713 9.51542 17.9713 4.93555 17.9713 0.356522C17.9713 0.140243 17.9628 0.0430868 17.9992 0L18 0.000844838Z' fill='%23F0567E'/%3E%3C/svg%3E");*/
    /*width: 40px;*/
    /*height: 20px;*/
    /*width: 20px;*/
    /*position: absolute;*/
    /*background-size: contain;*/
    /*background-repeat: no-repeat;*/
    /*display: inline-block;*/
    /*top: 40px;*/
    /*right: 40px;*/
}
.grid-slider .rl-flex-cta{
    max-width: 100%;
    display: flex;
    white-space: normal;
    justify-content: stretch;
}

.grid-slider .rl-flex-cta__content{
    max-width: 516px;
    padding-left: 30px;
    float: left;
}
.grid-slider__cta{
    display: flex;
    justify-content: left;
    align-items: center;
    width: 100%;
    padding: 0 20px;
}

.grild-slider h4{
    margin-bottom: 20px;
}

.grid-slider__item {
    background: rgba(196, 196, 196, 0.20);
    padding: 40px 40px 0 40px;
    flex: 1; /* Make the grid-slider__item take up the remaining space */
    position: relative;
}


@media (max-width: 980px) {
    .grid-slider .flex_container.flex_two,
    .grid-slider .flex_container.flex_three {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        justify-content: center;
        align-items: center;
    }
    .grid-slider__item{
        max-width: 400px;
    }
    .grid-slider__item p{
        padding-bottom: 20px;
    }
}

@media (max-width: 880px) {
    .grid-slider .rl-flex-cta{
        display: block;
    }
    .grid-slider .rl-flex-cta__button {
        text-align: left;
        padding-left: 30px;
        top: 20px;
        position: relative;
    }
}


@media (max-width: 680px) {
    /* Show Swiper elements on smaller screens */

    .flex_item {
        width: 100%;
    }

    .grid-slider__item {
        width: 100%;
    }

    .grid-slider__content {
        overflow: hidden;
        white-space: nowrap;
    }

    .grid-slider__item {
        display: inline-block;
        white-space: normal;
        vertical-align: top;
    }
}
.grid-slider__cta .rl-btn{
    transform: scale(1.2);
}
