/* person */
.mpbms-image {
	border-top-left-radius: 12px;
	border-top-right-radius: 12px;
	overflow: hidden;
	aspect-ratio: 1.6 / 1;
	background: #c8c8c8;
}

.mpbms-image img {
	width: 100%;
	height: 100% !important;
	object-position: center;
	object-fit: contain;
}

.mpbms-content {
	display: flex;
	flex-direction: column;
	row-gap: 0.8em;
	background: #F6F7F7;
	padding: 0.8em 2em;
	border-bottom-left-radius: 12px;
	border-bottom-right-radius: 12px;
}

.mpbms-name {
	font-size: 18px !important;
	margin-bottom: 0 !important;
	line-height: 0.88;
}

.mpbms-department span {
	background: #5A3F71;
	color: #fff;
	font-size: 12px;
	font-weight: 500;
	padding: 8px 12px;
	border-radius: 50px;
}

.mpbms-content p {
	margin-bottom: 0 !important;
	font-size: 14px;
	line-height: 1.4;
	color: rgba( 0, 0, 0, 0.7 );
}

.mpbms-position {
	font-size: 14px;
	line-height: 0.4;
}

.mpbms-department span {
	background: #5A3F71;
	color: #fff;
	font-size: 12px;
	font-weight: 500;
	padding: 0.5em 1em;
	border-radius: 50px;
}



.mpbms-viewport {
    width: 100%;
    overflow: hidden;
	position: relative;
	z-index: 1;
}

.custom-content-slider {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease;
    will-change: transform;
}

.mpbms-item {
    flex: 0 0 auto;
}

.mpbms-navigation {
    display: flex;
    gap: 10px;
    margin-top: 30px;
	position: absolute;
	z-index: 2;
	top: 50%;
	width: 100%;
}

.mpbms-navigation.is-hidden {
    display: none;
}

.mpbms-navigation button {
    cursor: pointer;
}

.mpbms-navigation button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.mpbms-image img {
    display: block;
    width: 100%;
    height: auto;
}

.mpbms-btn a {
	display: inline-block;
	font-weight: 700;
	font-size: 14px;
	color: #f04123;
}

.mpbms-prev,
.mpbms-next {
	font-size: 0;
	height: 32px;
	width: 32px;
	background-position: center;
	background-size: contain;
	position: absolute;
	border: none;
	background-color: rgba( 0, 0, 0, 0 );
	background-repeat: no-repeat;
	background-image: url( 'https://stg-matrix.ripeconcepts.dev/wp-content/uploads/2026/10/Button.svg' );
}

.mpbms-prev {
	transform: rotate( 180deg );
}

.mpbms-prev {
	left: -20px;
}
.mpbms-next {
	right: -20px;
}

/* =========================================================
   MATRIX PEOPLE POPUP
   ========================================================= */

body.mpbms-popup-open {
    overflow: hidden;
}


/* ---------------------------------------------------------
   Overlay
   --------------------------------------------------------- */

.mpbms-popup {
    position: fixed;
    inset: 0;
    z-index: 999999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 30px;

    visibility: hidden;
    opacity: 0;

    transition:
        opacity 0.4s ease,
        visibility 0.4s ease;
}


.mpbms-popup.is-open {
    visibility: visible;
    opacity: 1;
}


.mpbms-popup-overlay {
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0.82);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}


/* ---------------------------------------------------------
   Dialog
   --------------------------------------------------------- */

.mpbms-popup-dialog {
    transition: transform 0.55s cubic-bezier( 0.22, 1, 0.36, 1 ), opacity 0.4s ease;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
    transform:  translateY(30px) scale(0.96);
    max-height: calc(100vh - 60px);
    width: min(1100px, 100%);
    background: #ffffff;
    border-radius: 12px;
    position: relative;
	position: relative;
    overflow: hidden;
    opacity: 0;
    z-index: 2;
}

.mpbms-popup-inner:before,
.mpbms-popup-inner:after {
	background-repeat: no-repeat;
	background-size: contain;
	position: absolute;
	user-select: none;
	content: '';
}

.mpbms-popup-inner:before {
	background-image: url( 'https://stg-matrix.ripeconcepts.dev/wp-content/uploads/2026/10/pop-backdrop-circle.png' );
	background-position: top left;
	aspect-ratio: 1 / 1.15;
	max-height: 437px;
	max-width: 30cqw;
/* 	max-width: 380px; */
	height: 100%;
    width: 100%;
	z-index: 2;
	left: -23%;
	top: 0;
}

.mpbms-popup-inner:after {
background-image: url( 'https://stg-matrix.ripeconcepts.dev/wp-content/uploads/2026/10/pop-backdrop-words.png' );
	background-position: bottom right;
background-size: cover;
	aspect-ratio: 1.754 / 1;
	max-height: 628px;
	max-width: 1100px;
	height: 100%;
    width: 100%;
	z-index: 1;
	right: 0;
	bottom: 0;
}

.mpbms-popup-image,
.mpbms-popup-content {
	position: relative;
	z-index: 4;
}

.mpbms-popup.is-open
.mpbms-popup-dialog {

    transform:
        translateY(0)
        scale(1);

    opacity: 1;
}


/* ---------------------------------------------------------
   Popup inner
   --------------------------------------------------------- */

.mpbms-popup-inner {
    display: grid;

    grid-template-columns:
        minmax(320px, 46%)
        minmax(0, 1fr);

    min-height: 600px;
    max-height: calc(100vh - 60px);
	padding: 20px;
}


/* ---------------------------------------------------------
   Image
   --------------------------------------------------------- */

.mpbms-popup-image {
    background: #f3f3f3;
	border-radius: 12px;
    position: relative;
    min-height: 600px;
    overflow: hidden;
	aspect-ratio: 1 / 1.5714;
}


.mpbms-popup-image img {
    display: block;
    width: 100%;
    height: 100% !important;
	object-fit: contain !important;
/*     object-fit: cover; */
    transform: scale(1.03);

    transition:
        transform 1s
        cubic-bezier(
            0.22,
            1,
            0.36,
            1
        );
}


.mpbms-popup.is-open
.mpbms-popup-image img {
    transform: scale(1);
}


/* ---------------------------------------------------------
   Content
   --------------------------------------------------------- */

.mpbms-popup-content {
    position: relative;

    padding: 70px 65px 65px;

    overflow-y: auto;

    scrollbar-width: thin;
}


.mpbms-popup-heading {
    margin-bottom: 35px;
}


.mpbms-popup-heading h2 {
    margin: 0 0 8px;
	font-size: 34px; !important;
/*     font-size: clamp( 32px, 4vw, 48px ); */
    line-height: 1.05;
    letter-spacing: -0.03em;
}


/* ---------------------------------------------------------
   Position
   --------------------------------------------------------- */

.mpbms-popup-position {
    display: block;

    margin-bottom: 12px;

    font-size: 16px;
    line-height: 1.5;
}


/* ---------------------------------------------------------
   Department
   --------------------------------------------------------- */

.mpbms-popup-department {
    display: inline-flex;

    align-items: center;

    padding: 7px 14px;

    border-radius: 30px;

    background: #17366f;
    color: #ffffff;

    font-size: 13px;
    line-height: 1.2;
}


/* ---------------------------------------------------------
   Full profile content
   --------------------------------------------------------- */

.mpbms-popup-body {
    font-size: 16px;
    line-height: 1.8;

    color: #222222;
}


.mpbms-popup-body p {
    margin: 0 0 22px;
}


.mpbms-popup-body p:last-child {
    margin-bottom: 0;
}


.mpbms-popup-body h1,
.mpbms-popup-body h2,
.mpbms-popup-body h3,
.mpbms-popup-body h4 {
    margin-top: 30px;
    margin-bottom: 12px;
}


.mpbms-popup-body img {
    max-width: 100%;
    height: auto;
}


/* ---------------------------------------------------------
   Close button
   --------------------------------------------------------- */

.mpbms-popup-close {
    position: absolute;

    top: 20px;
    right: 20px;

    z-index: 10;

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 50%;

    background: rgba(245, 245, 245, 0.95);

    cursor: pointer;

    transition:
        transform 0.3s ease,
        background 0.3s ease;
}


.mpbms-popup-close:hover {
    transform: rotate(90deg);

    background: #eeeeee;
}


.mpbms-popup-close span {
    position: absolute;

    width: 16px;
    height: 1.5px;

    background: #222222;
}


.mpbms-popup-close span:first-child {
    transform: rotate(45deg);
}


.mpbms-popup-close span:last-child {
    transform: rotate(-45deg);
}


/* =========================================================
   CARD INTERACTION
   ========================================================= */

.mpbms-item {
    cursor: pointer;
}


.mpbms-item .mpbms-read-more {
    position: relative;
    z-index: 2;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .mpbms-popup {
        padding: 12px;
    }


    .mpbms-popup-dialog {

        width: 100%;
        max-height: calc(100vh - 24px);

        border-radius: 10px;

        transform:
            translateY(25px)
            scale(0.97);
    }


    .mpbms-popup-inner {
        display: flex;
        flex-direction: column;
        min-height: 0;
        max-height: calc(100vh - 24px);
    }


    .mpbms-popup-image {
    	width: 100%;
        max-height: 400px;
		width: 100%;
        flex-shrink: 0;
    }


    .mpbms-popup-content {

        padding: 35px 25px 40px;

        overflow-y: auto;
    }


    .mpbms-popup-heading {

        margin-bottom: 25px;
    }


    .mpbms-popup-heading h2 {

        font-size: 27px;

        line-height: 1.1;
    }


    .mpbms-popup-position {

        font-size: 15px;
    }


    .mpbms-popup-body {

        font-size: 15px;
        line-height: 1.7;
    }


    .mpbms-popup-close {

        top: 12px;
        right: 12px;

        width: 38px;
        height: 38px;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .mpbms-popup-image {

        height: 35vh;
        min-height: 230px;
    }


    .mpbms-popup-content {

        padding:
            28px
            20px
            35px;
    }


    .mpbms-popup-heading h2 {

        font-size: 27px;
    }


    .mpbms-popup-body {

        font-size: 14px;
    }

	
	.page-id-4519 .fusion_builder_column_1_2 .fusion-column-wrapper .fusion-content-layout-column {
		padding: 1em !important;
	}

/* 	.fusion-column-wrapper fusion-column-has-shadow fusion-flex-justify-content-flex-start fusion-content-layout-column */

}


@media( min-width: 992px ) {
	.mpbms-popup-inner {
    	padding: 1.5em;
	}

	.mpbms-popup-inner:before {
		left: 0;
	}
}

@media( min-width: 1200px ) {
	.mpbms-popup-inner {
    	padding: 2em;
	}
}

@media( min-width: 1450px ) {
	.mpbms-popup-inner {
    	padding: 3em;
	}
}




@media (min-width: 992px) {

    .mpbms-popup-inner {
        display: flex;
        align-items: stretch;

        max-height: 726px;
        overflow: hidden;
    }

    .mpbms-popup-image {
        flex: 0 0 50%;
        width: 50%;
        min-width: 0;
        min-height: 0;
    }

    .mpbms-popup-image img {
        display: block;
        width: 100%;
        max-height: 726px;
        height: auto;
        object-fit: cover;
    }

    .mpbms-popup-content {
        flex: 0 0 50%;
        width: 50%;

        min-height: 0;
        max-height: 726px;

        overflow-y: auto;
        overflow-x: hidden;

        box-sizing: border-box;
    }
}



/* =========================================
   MOBILE / TABLET - BELOW 992px
   Entire popup scrolls
========================================= */
@media (max-width: 991px) {

    .mpbms-popup-inner {
        display: block;
        max-height: 100vh;
        overflow-y: auto !important;
        overflow-x: hidden;
    }

    .mpbms-popup-content {
        height: auto;
        max-height: none;
        overflow: visible !important;
    }

	.mpbms-popup-image {
		max-width: 462px;
    	margin-left: auto;
    	margin-right: auto;
	}
}


/* =========================================
   DESKTOP - 992px AND ABOVE
   Only content scrolls
========================================= */
@media (min-width: 992px) {

    .mpbms-popup-inner {
        display: flex;
        align-items: stretch;

        max-height: 726px;

        /* IMPORTANT:
           The outer wrapper should NOT scroll */
        overflow: hidden !important;
    }

    .mpbms-popup-image {
        flex: 0 0 50%;
        width: 50%;
        min-width: 0;
        min-height: 0;
    }

    .mpbms-popup-image img {
        display: block;
        width: 100%;
        height: auto;
        max-height: 726px;
        object-fit: cover;
    }

    .mpbms-popup-content {
        flex: 0 0 50%;
        width: 50%;

        min-height: 0;
        max-height: 726px;

        /* ONLY THIS PART SCROLLS */
        overflow-y: auto !important;
        overflow-x: hidden;
    }
}


@media( min-width: 768px ) {
	.mpbms-navigation {
		top: 44%;
	}

	.mpbms-prev {
	    left: -20px;
	}
	.mpbms-next {
    	right: -20px;
	}
}

@media( min-width: 1200px ) {
	.mpbms-prev {
	    left: -40px;
	}
	.mpbms-next {
    	right: -40px;
	}
}


.page-id-4663 .fusion-builder-row-4 .fusion-column-inner-bg,
.page-id-4663 .fusion-builder-row-5 .fusion-column-inner-bg {
	margin-left: 0 !important;
}

@media( max-width: 1024px ) {
	#bdsy .fusion_builder_column_1_2 {
		margin-bottom: -20px !important;
	}
}

#fusion-slider-37 h1,
#fusion-slider-38 h1 {
	position: relative;
}

#fusion-slider-37 h1:before,
#fusion-slider-38 h1:before {
	position: absolute;
	bottom: -22px;
	width: 40px;
	height: 2px;
	background: #fff;
	content: '';
	left: 50%;
	transform: translateX( -50% );
}

.page-id-4519 .fusion_builder_column_1_2 .fusion-column-wrapper ul li a {
	word-break: break-all;
}

@media( max-width: 434px ) {
	.page-id-4519 .fusion_builder_column_1_2 .fusion-column-wrapper ul li span {
    	flex-direction: column;
    	align-items: flex-start;
    	display: flex;
	}
}

.oceo-mobile-image {
	margin-bottom: 0 !important;
}

.career-last-section {
	height: 0 !important;
	background: none !important;
}

#oceo2, #cjo2 {
height: 1px !important;
}


.sjo-btn span,
#cjo .fusion-button-default .fusion-button-text {
	color: #b00000 !important;
}

.ul-item,
.otp-list li button {
	transition: 0.14s ease-in-out;
	text-align: left !important;
}

.otp-list li button:hover {
	color: #b00000 !important;
	cursor: pointer;
}

.ul-item__right {
	line-height: 1 !important;
}

.ul-item:hover {
	border: solid 1px #b00000;
}

@media( max-width: 400px ) {
	.accessibility-feedback ul li img {
		height: 30px;
		width: 30px;
	}
}

.slide-id-4009 .background-image {
	-webkit-backdrop-filter: blur(8px);
	background: rgba(15, 15, 15, 0.65);
	filter: blur(8px) !important;
	backdrop-filter: blur(8px);
	opacity: 1;
}

.slide-id-4009 h1 {
	text-shadow: 0 2px 8px rgba(0,0,0,.4);
}