/*ABOUT*/
#inner-page-wrapper {
    margin-bottom: 0;
}
    #inner-page-wrapper > .container {
        width: 100%;
        padding: 0;
    }

    #content .section-title h2 {
        font-size: inherit;
        font-weight: inherit;
        margin: 0;
    }

#content-full {
    margin-top: 0;
}

#content p {
    font-size: 16px;
    letter-spacing: 0.04em;
    color: #343434;
}

#ip-about {
    position: relative;
}
    .ip-about-video {
        position: relative;
        padding: 37px 0 87px;
    }
        a.ip-about-video-link {
            display: block;
            position: relative;
            overflow: hidden;
            border-radius: 50px;
            max-width: 750px;
            margin: 0 auto;
        }
            a.ip-about-video-link canvas {
                display: block;
                width: 100%;
                background-position: center;
                background-size: cover;
                background-color: #999;
            }

            a.ip-about-video-link i {
                position: absolute;
                width: 89px;
                height: 89px;
                border-radius: 50%;
                border: 1px solid #fff;
                display: flex;
                align-items: center;
                justify-content: center;
                font-size: 21px;
                z-index: 2;
                margin: auto;
                top: 0;
                left: 0;
                right: 0;
                bottom: 0;
                font-style: normal!important;
                color: #fff;
            }
            a.ip-about-video-link:before {
                content: '';
                position: absolute;
                top: 0;
                left: 0;
                right: 0;
                bottom: 0;
                background: rgba(0,0,0,0.36);
                z-index: 1;
                transition: all var(--default-transition);
            }
            a.ip-about-video-link:hover:before {
                background: rgba(0,0,0,0.1);
            }


.ip-about-content-a {
    position: relative;
    margin-bottom: 129px;
}
    .content-a-text {
        width: 61.394%;
        /*padding: 23px 6.5% 0 2.73%;*/
        padding: 0 6.5% 0 2.73%;
        align-self: center;
    }
        #content .content-a-text p {
            line-height: 1.875;
            margin: 30px 0;
        }

    .content-a-img {
        width: 515px;
        width: 38.606%;
    }
        .content-a-img img {
            display: block;
            width: 100%;
            height: auto;
            border-top-left-radius: 80px;
        }


.ip-about-content-b {
    position: relative;
    margin-bottom: 110px;
}
    .ip-about-content-b .container:first-child {
        margin-bottom: 66px;
    }
    .content-b-title {
        width: 42.5035%;
        padding: 2.1% 2.4% 0;
        align-self: center;
    }
        .content-b-title .section-title {
            line-height: 1.2;
            letter-spacing: 0;
        }
    .content-b-title-text {
        width: 767px;
        background: #000;
        width: 57.4965%;
        padding: 44px 0 38px 5.9%;
        border-bottom-left-radius: 80px;
        position: relative;
    }
        .content-b-title-text:before {
            content: '';
            position: absolute;
            top: 0;
            bottom: 0;
            width: 100vw;
            background: #000;
            left: 100%;
            z-index: -1;
            margin-left: -1px;
        }
        #content .content-b-title-text p {
            color: #Fff;
            line-height: 1.875;
            margin: 30px 0;
            font-weight: 600;
        }

    .content-b-img {
        width: 38.606%;
    }
        .content-b-img img {
            display: block;
            width: 100%;
            height: auto;
            border-top-right-radius: 80px;
        }

    .content-b-text {
        width: 61.394%;
        padding: 0 0 0 9.4%;
        align-self: center;
    }
        #content .content-b-text p {
            line-height: 1.75;
            margin: 0 0 28px;
        }
        #content .content-b-text p:last-of-type {
            margin-bottom: 0;
        }


.ip-about-content-c {
    position: relative;
    padding: 99px 0 0;
}
    .bg-section.bg-content-c {
        z-index: -1;
    }
        .bg-section.bg-content-c:before {
            content: '';
            background: #101010;
            opacity: 0.7;
        }
    .ip-about-content-c .section-title {
        text-align: center;
        justify-content: center;
        letter-spacing: 0;
        margin-bottom: 85px;
    }

    .content-c-container {

    }
        .content-c-text {
            width: 58.25%;
            padding-top: 12px;
            /*padding-left: calc( ( 100vw - 1259px) / 2 );*/
            padding-right: 4.2%;
            padding-bottom: 30px;
            padding-left: 4.2%;
        }
            .content-c-text-inner {
                max-width: 695px;
                margin-left: auto;
            }
            #content .content-c-text p {
                color: #fff;
                line-height: 1.875;
                margin: 0 0 28px;
            }
            #content .content-c-text p:nth-of-type(1),
            #content .content-c-text p:nth-of-type(2),
            #content .content-c-text p:nth-of-type(3) {
                max-width: 600px;
            }
            #content .content-c-text ul {
                margin: 30px 0 0 29px;
                list-style: none;
            }
                #content .content-c-text ul li {
                    padding-left: 22px;
                    position: relative;
                    font-size: 16px;
                    font-weight: 700;
                    letter-spacing: 0.04em;
                    line-height: 1.5625;
                    color: #fff;
                    margin-bottom: 25px;
                }
                    #content .content-c-text ul li:before {
                        content: '';
                        position: absolute;
                        width: 8px;
                        height: 8px;
                        border-radius: 50%;
                        background: var(--secondary);
                        top: 8px;
                        left: 0;
                    }
        .content-c-img {
            width: 41.75%;
        }
            .content-c-img img {
                display: block;
                width: 100%;
                height: auto;
                border-top-left-radius: 80px;
            }


.ip-about-logos {
    position: relative;
    padding: 27px 0 44px;
    z-index: 1;
}
    .bg-section.bg-content-logo {
        background-color: #000;
        z-index: -1;
        border-bottom-right-radius: 80px;
        overflow: hidden;
    }
        .bg-section.bg-content-logo:before {
            content: '';
            background: #000;
            opacity: 0.9;
        }
    .ip-about-logos img {
        max-width: 100%;
        height: auto;
        margin: 24px 30px;
    }

    /*.ip-about-logos img[src*="aff-logo-1.png"] {
        width: min(8.938vw, 143px);
    }
    .ip-about-logos img[src*="aff-logo-2.png"] {
        width: min(6.375vw, 102px);
    }
    .ip-about-logos img[src*="aff-logo-3.png"] {
        width: min(1.125vw, 18px);
    }
    .ip-about-logos img[src*="aff-logo-4.png"] {
        width: min(5.938vw, 95px);
    }
    .ip-about-logos img[src*="aff-logo-5.png"] {
        width: min(4.063vw, 65px);
    }
    .ip-about-logos img[src*="aff-logo-6.png"] {
        width: min(9.063vw, 145px);
    }
    .ip-about-logos img[src*="aff-logo-7.png"] {
        width: min(8.625vw, 138px);
    }
    .ip-about-logos img[src*="aff-logo-8.png"] {
        width: min(12.563vw, 201px);
    }
    .ip-about-logos img[src*="aff-logo-9.png"] {
        width: min(7.75vw, 124px);
    }
    .ip-about-logos img[src*="aff-logo-10.png"] {
        width: min(6.25vw, 100px);
    }
    .ip-about-logos img[src*="aff-logo-11.png"] {
        width: min(9.188vw, 147px);
    }
    .ip-about-logos img[src*="aff-logo-12.png"] {
        width: min(6.188vw, 99px);
    }
    .ip-about-logos img[src*="aff-logo-13.png"] {
        width: min(5.938vw, 95px);
    }*/


.ip-about-content-d {
    position: relative;
    padding: 86px 0 86px;
}
    .bg-section.bg-content-d {
        height: 497px;
        top: -80px;
        opacity: 0.1;
        z-index: -1;
    }
        .bg-section.bg-content-d:before {
            content: '';
            height: 50%;
            top: initial;
            background: rgb(255,255,255);
            background: -moz-linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
            background: -webkit-linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
            background: linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
            filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff",endColorstr="#ffffff",GradientType=1);
        }

    .content-d-accordion {
        max-width: 1042px;
        margin: 0 auto;
    }
        .content-d-accordion-list {

        }
            .content-d-accordion-item {
                padding-bottom: 8px;
            }
                .content-d-accordion-item > a {
                    font-weight: 700;
                    font-size: 20px;
                    letter-spacing: 0.04em;
                    color: #000;
                    text-transform: uppercase;
                    display: flex;
                    align-items: center;
                    justify-content: space-between;
                    line-height: 1;
                    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
                    position: relative;
                    height: 57px;
                    transition: color var(--default-transition);
                }
                    .content-d-accordion-item > a:before {
                        content: '';
                        position: absolute;
                        top: 13px;
                        left: -30px;
                        width: 14px;
                        height: 32px;
                        background: url(/app/themes/joycereycom_2024/assets/images/accent-icon.png) center top/100% no-repeat;
                    }

                .content-d-accordion-item > a.active {
                    color: var(--secondary);
                }
                .icon-plus {
                    display: block;
                    width: 14px;
                    height: 2px;
                    background: var(--secondary);
                    position: relative;
                }
                    .icon-plus:before {
                        content: '';
                        position: absolute;
                        top: 0;
                        left: 0;
                        width: 100%;
                        height: 100%;
                        transform: rotate(90deg);
                        background: inherit;
                        transition: all var(--default-transition);
                    }

                    .content-d-accordion-item > a.active .icon-plus:before {
                        transform: rotate(0);
                    }

            #content ul.content-d-accordion-item-dets {
                margin: 0;
                list-style: none;
                font-size: 16px;
                line-height: 1.9375;
                letter-spacing: 0.05em;
                color: #000;
                padding: 21px 0 0 7%;
                display: none;
            }
                #content ul.content-d-accordion-item-dets li {
                    padding-left: 19px;
                    position: relative;
                }
                    #content ul.content-d-accordion-item-dets li:before {
                        content: '';
                        position: absolute;
                        width: 9px;
                        height: 9px;
                        border-radius: 50%;
                        background: var(--secondary);
                        top: 11px;
                        left: 0;
                    }



.ip-about-content-e {
    position: relative;
    margin-bottom: 115px;
}
    .content-e-text {
        width: 61.394%;
        /*padding: 23px 6.5% 0 2.73%;*/
        padding: 0 6.5% 0 2.73%;
        /*align-self: center;*/
    }
        .content-e-text .section-title {
            line-height: 1.2;
            letter-spacing: 0;
            margin-bottom: 16px;
        }
        #content .content-e-text ul {
            list-style: none;
            margin: 0 0 0 23px;
        }
            #content .content-e-text ul li {
                padding-left: 22px;
                position: relative;
                font-size: 16px;
                font-weight: 400;
                letter-spacing: 0.04em;
                line-height: 1.75;
                color: #fff;
                margin-bottom: 25px;
            }
                #content .content-e-text ul li:before {
                    content: '';
                    position: absolute;
                    width: 8px;
                    height: 8px;
                    border-radius: 50%;
                    background: var(--secondary);
                    top: 8px;
                    left: 0;
                }
        #content .content-e-text p {
            line-height: 1.75;
            margin: 0 0 28px;
        }

    .content-e-img {
        width: 515px;
        width: 38.606%;
        margin: 12px 0 0;
    }
        .content-e-img img {
            display: block;
            width: 100%;
            height: auto;
            border-top-left-radius: 80px;
        }

.ip-about-content-f {
    position: relative;
    margin-bottom: 81px;
}
    .content-f-img {
        width: 38.606%;
    }
        .content-f-img img {
            display: block;
            width: 100%;
            height: auto;
            border-top-right-radius: 80px;
        }

    .content-f-text {
        width: 61.394%;
        padding: 7px 0 0 9.4%;
    }
        .content-f-text .section-title {
            line-height: 1.2;
            letter-spacing: 0;
            margin-bottom: 23px;
        }
        #content .content-f-text p {
            line-height: 1.75;
            margin: 0 0 28px;
        }
        #content .content-f-text p:last-of-type {
            margin-bottom: 0;
        }

.ip-about-logo-b {
    margin-bottom: 77px;
}
    .logo-b-list {

    }
        .logo-b-list img {
            max-width: 100%;
            height: auto;
        }

.ip-about-content-g {
    position: relative;
}
    .ip-about-content-g-inner {
        position: relative;
        text-align: center;
        padding: 57px 5% 38px 8.5%;
    }
        .bg-section.bg-content-g {
            opacity: 0.15;
            z-index: -1;
            border-bottom-left-radius: 100px;
        }

        #content .ip-about-content-g p {
            line-height: 1.875;
            letter-spacing: 0.04em;
            margin: 0 0 31px;
        }
        #content .ip-about-content-g p:first-child {
            margin-bottom: 0;
        }


/*IG*/
#hp-ig {
    position: relative;
    padding: 221px 0 0;
}
    .bg-section.bg-ig {
        z-index: -1;
    }
    #hp-ig:before,
    #hp-ig:after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }

    #hp-ig:before {
        background: rgb(255,255,255);
        background: -moz-linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(39,39,39,0.2973783263305322) 100%);
        background: -webkit-linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(39,39,39,0.2973783263305322) 100%);
        background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(39,39,39,0.2973783263305322) 100%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff",endColorstr="#272727",GradientType=1);
    }

    #hp-ig:after {
        top: initial;
        height: 96px;
        background: #fff;
    }
    .ig-container {
        position: relative;
        z-index: 1;
        padding: 0;
    }
        .ig-top {
            margin-bottom: 31px;
        }
            .ig-title {
                margin-top: 17px;
            }
                .ig-title .section-title small {
                    font-size: 14px;
                    padding: 0 15px;
                }
            .ig-btn {
                margin-right: -16px;
            }
        .ig-list {
            font-size: 0;
            margin: 0 -21px;
        }
            .ig-item {
                display: inline-block;
                vertical-align: top;
                width: 25%;
                padding: 20px;
            }
                .ig-item a {
                    display: block;
                    position: relative;
                    border-radius: 30px;
                    transition: all var(--default-transition);
                    overflow: hidden;
                }
                    .ig-item-img {
                        position: relative;
                        border-radius: inherit;
                    }
                        .ig-item-img canvas {
                            display: block;
                            width: 100%;
                            border-radius: inherit;
                            background: rgb(127,107,63);
                            background: -moz-linear-gradient(0deg, rgba(127,107,63,1) 0%, rgba(255,255,255,1) 100%);
                            background: -webkit-linear-gradient(0deg, rgba(127,107,63,1) 0%, rgba(255,255,255,1) 100%);
                            background: linear-gradient(0deg, rgba(127,107,63,1) 0%, rgba(255,255,255,1) 100%);
                            filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#7f6b3f",endColorstr="#ffffff",GradientType=1);
                        }
                        .ig-item-img img {
                            position: absolute;
                            top: 0;
                            left: 0;
                            border-radius: inherit;
                            width: 100%;
                            height: 100%;
                            object-fit: cover;
                            z-index: 1;
                            transition: all var(--default-transition);
                        }
                        .ig-item-img:after {
                            content: '';
                            position: absolute;
                            top: 0;
                            left: 0;
                            right: 0;
                            bottom: 0;
                            z-index: 2;
                            border-radius: inherit;
                            transition: all var(--default-transition);
                        }
                        .ig-item-img:after {
                            opacity: 0;
                            background: url(../../images/home/overlay-ig.png) center/100% 100% no-repeat;
                        }

                    .ig-item a:before {
                        position: absolute;
                        top: 20px;
                        right: 20px;
                        font-size: 28px;
                        color: #fff;
                        z-index: 3;
                    }

                .ig-item a:hover {
                    transform: translateY(-42px);
                    box-shadow: 0px 3px 20px 5.6px rgba(0, 0, 0, 0.53);
                }
                    .ig-item a:hover .ig-item-img:after {
                        opacity: 1;
                        top: 3px;
                        right: 3px;
                        bottom: 3px;
                        left: 3px;
                    }
                    .ig-item a:hover .ig-item-img img {
                        top: 3px;
                        left: 3px;
                        width: calc(100% - 6px);
                        height: calc(100% - 6px);
                        filter: grayscale(1);
                    }


.about-cta-wrap {
    position: relative;
    margin: 87px 0 0;
}
    .about-cta-wrap .container {
        position: relative;
        padding: 105px 15px 92px;
    }
    .about-cta-wrap .container:before {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        left: -100vw;
        right: 0;
        background: #000;
        border-bottom-right-radius: 80px;
        display: block;
        z-index: -1;
    }
    .about-cta-list {
        max-width: 90.5%;
        margin: 0!important;
    }
        .about-cta-list li {

        }
            a.about-cta {
                display: flex;
                align-items: center;
                line-height: 1;
            }
                .about-cta .accent-icon {
                    width: 31px;
                    position: relative;
                }
                .about-cta-text {
                    margin-left: 38px;
                }
                    #content .about-cta-text h3 {
                        font-size: 26px;
                        line-height: 1;
                        color: #fff;
                        text-transform: uppercase;
                        font-family: var(--font-family-title);
                        transition: color var(--default-transition);
                        margin: 0;
                        font-weight: 400;
                    }
                    .about-cta-text span {
                        display: block;
                        font-size: 14px;
                        letter-spacing: 0.1em;
                        color: #808080;
                        text-transform: uppercase;
                        margin-top: 11px;
                        transition: color var(--default-transition);
                    }

                a.about-cta:hover .about-cta-text span {
                    color: #fff;
                }
    
@media only screen and (min-width: 1366px) {
    .ip-about-container {
        width: 1364px;
        padding: 0 15px;
    }
}

@media only screen and (max-width: 1365px) {
    .content-a-text,
    .content-e-text {
        padding-left: 0;
        padding-right: 4%;
    }
    .content-b-title {
        padding: 0;
    }
    .content-b-text,
    .content-f-text {
        padding-left: 4%;
    }
}

@media only screen and (max-width: 1199px) {
    #ip-about .section-title {
        font-size: 45px;
    }
    a.ip-about-video-link {
        max-width: 550px;
    }
    .content-d-accordion {
        width: 90%;
    }
}

@media only screen and (max-width: 991px) {

    .ip-about-video {
        padding: 40px 0;
    }
        a.ip-about-video-link {
            border-radius: 30px;
        }


    .ip-about-content-a {
        margin-bottom: 60px;
    }

        .content-a-text, .content-e-text {
            width: 100%;
            padding: 0;
        }

        .content-a-img, .content-e-img {
            width: 100%;
        }

    .content-b-title {
        width: 100%;
        margin-bottom: 30px;
    }
        .content-b-title .section-title br {
            display: none;
        }

    .content-b-title-text {
        width: 100%;
    }

    .ip-about-content-b {
        margin-bottom: 70px;
    }
        .content-b-img, .content-f-img {
            width: 100%;
        }
        .content-b-text, 
        .content-f-text {
            width: 100%;
            padding: 30px 0 0;
        }
        .content-b-title-text {
            border-bottom-left-radius: 30px;
            padding-top: 10px;
            padding-bottom: 10px;
        }

    .ip-about-content-c {
        padding: 70px 15px;
    }
        .content-c-container {
            max-width: 720px;
            margin: 0 auto;
        }
            .content-c-text-inner {
                max-width: 100%;
            }
                .ip-about-content-c .section-title {
                    margin-bottom: 40px;
                }
                .content-c-text {
                    width: 100%;
                    padding: 0;
                    margin-bottom: 20px;
                }
                    #content .content-c-text p:nth-of-type(1), 
                    #content .content-c-text p:nth-of-type(2), 
                    #content .content-c-text p:nth-of-type(3) {
                        max-width: initial;
                    }
            .content-c-img {
                width: 100%;
            }

    .ip-about-logos {
        padding: 30px 0;
    }
        .ip-about-logos img {
            margin: 10px 10px;
        }
        .bg-section.bg-content-logo {
            border-bottom-right-radius: 30px;
        }


    .ip-about-content-d {
        padding: 60px 0;
    }

    #content ul.content-d-accordion-item-dets {
        padding-left: 0;
    }

    .ip-about-content-e {
        margin-bottom: 80px;
    }
    .content-a-img img,
    .content-c-img img,
    .content-e-img img {
        border-top-left-radius: 30px;
    }
    .content-b-img img,
    .content-f-img img {
        border-top-right-radius: 30px;
    }

    .logo-b-list {
        justify-content: center;
    }
        .logo-b-list img {
            margin: 10px 15px;
        }

    .content-e-text .section-title br,
    .content-f-text .section-title br {
        display: none;
    }

    #content .content-e-text ul {
        margin: 0;
    }

    .ip-about-content-g-inner {
        padding: 6%;
    }
        #content .ip-about-content-g p:last-child {
            margin-bottom: 0;
        }

    .content-d-accordion-item > a:before {
        left: -20px;
    }

    /*IG*/
    #hp-ig {
        padding: 80px 0 0;
    }
        .ig-top {
            flex-flow: column;
            align-items: center;
        }
        .ig-btn {
            margin-right: 0;
            margin-top: 30px;
        }
        .ig-list {
            margin: 0 -5px;
        }
            .ig-item {
                padding: 5px;
            }


    .about-cta-wrap .container:before {
        border-bottom-right-radius: 30px;
    }
    #content .about-cta-list {
        max-width: 90%;
        flex-flow: column;
        width: 300px;
        margin: 0 auto!important;
    }

        .about-cta-list li {
            margin-bottom: 30px;
        }

        .about-cta-list li:last-child {
            margin-bottom: 0;
        }

        .about-cta-text {
            margin-left: 25px;
        }
            #content .about-cta-text h3 {
                font-size: 23px;
            }

    
}

@media only screen and (max-width: 767px) {
    #ip-about .section-title {
        font-size: 35px;
    }
}

@media only screen and (max-width: 480px) {
    a.ip-about-video-link i {
        width: 40px;
        height: 40px;
        font-size: 12px;
    }
    /*IG*/
    .ig-item {
        width: 50%;
    }
        .ig-item a:hover {
            transform: none;
        }
}