h1 {
    text-transform: uppercase;
    font-weight: 400;
    letter-spacing: 2px;
    font-size: 70px;
    font-family: var(--font-family-Bodoni);
    color: var(--baseLight-color);
}

h4 {
    font-size: 21px;
    font-weight: 400;
    line-height: 1.1;
    color: var(--text-color-1);
    font-family: var(--font-family-Bodoni);
}

/*********************
START: IMAGE SECTION
*********************/
.image-section {
    width: 100%;
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url(/assets/img/heroInner-contact.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-color: var(--baseLight-color);
    position: relative;
    height: 600px;
}

.image-section::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4));
}

.custom-intro {
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.custom-intro__title {
    margin-bottom: 0px;
    margin-bottom: 24px;
    text-align: center;
    line-height: 1.25;
}

/*********************
END: IMAGE SECTION
*********************/

/*********************
START: TEAM
*********************/
.team {
    padding: 90px 0 90px;
}
/* 
.team ul {
    display: flex;
	flex-wrap: wrap;
}
 */
.team ul li {
/*     margin: 20px;
    flex-basis: calc(25% - 40px); */
    margin-bottom: 50px;
}

.team-member__link {
    position: relative;
    display: block;
    height: 100%;
    color: var(--text-color-1);
}

ul.rch-archive-agents li .rch-archive-end-line a:first-child{
    border: 1px solid var(--text-color-1) !important;
    color: var(--baseLight-color) !important;
	background-color: var(--text-color-1) !important;
    font-weight: 400;
	cursor: pointer;
}

ul.rch-archive-agents li .rch-archive-end-line a:hover:first-child{
    color: var(--text-color-1) !important;
	background-color: transparent !important;
}

.team-member__image-wrap {
    position: relative;
}

.team-member__image {
    position: relative;
    width: 100%;
    padding-top: 130%;
    background-color: #cccccc;
}

.team-member__image img {
    position: absolute;
    object-fit: cover;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border: 0;
    max-width: 100%;
    page-break-inside: avoid;
    vertical-align: middle;
}

.team-member__hover {
    opacity: 0;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    -webkit-transform: translate(20px, 20px);
    -moz-transform: translate(20px, 20px);
    -ms-transform: translate(20px, 20px);
    transform: translate(20px, 20px);
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-items: flex-end;
    -webkit-box-align: flex-end;
    -ms-flex-align: flex-end;
    align-items: flex-end;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    padding: 10px;
    border-color: var(--text-color-1);
}


.team-member__hover:before,
.team-member__hover:after {
    content: ' ';
    position: absolute;
    border: 2px solid transparent;
    width: 0;
    height: 0;
}

.team-member__hover:before {
    top: 0;
    left: 0;
}

.team-member__hover:after {
    bottom: 0;
    right: 0;
}

.team-member__container:hover .team-member__image {
    opacity: .5;
}

.team-member__container:hover .team-member__hover {
    opacity: 1;
}

.team-member__container:hover .team-member__hover::before {
    border-top-color: inherit;
    border-right-color: inherit;
    -webkit-transition: width 0.25s ease-out, height 0.25s ease-out 0.25s;
    transition: width 0.25s ease-out, height 0.25s ease-out 0.25s;
}

.team-member__container:hover .team-member__hover::after {
    border-bottom-color: inherit;
    border-left-color: inherit;
    -webkit-transition: width 0.25s ease-out 0.5s, height 0.25s ease-out 0.75s, border-color 0.01s ease-out 0.5s;
    transition: width 0.25s ease-out 0.5s, height 0.25s ease-out 0.75s, border-color 0.01s ease-out 0.5s;
}

.team-member__container:hover .team-member__hover::before,
.team-member__container:hover .team-member__hover::after {
    width: 100%;
    height: 100%;
}

.team-member__hover .btn {
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.team-member__info {
    text-align: center;
    color: var(--text-color-1);
}

.team-member__name {
    display: block;
    margin-top: 25px;
    font-size: 30px;
    line-height: 40px;
    font-weight: 400;
    font-family: var(--font-family-Bodoni);
}

.team-member__role {
    display: block;
    margin-top: 8px;
    font-size: 14px;
    line-height: 24px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.team-member__license {
    font-size: 13px;
    text-transform: uppercase;
}

.team p{
	margin-bottom: 1rem;
	font-weight: 500 !important;
	font-size: 18px;
}

.wp-block-buttons {
	margin-top: 3rem;
}

.wp-block-button__link{
	background-color: transparent;
	border-radius: unset;
	padding: 0;
}

.wp-block-button.btn.btn--outline .wp-block-button__link{
	color: var(--custom-color-primary);
}

.wp-block-button.btn.btn--outline:hover .wp-block-button__link{
	color: var(--baseLight-color);
}
/*********************
END: TEAM
*********************/

/*********************
START: WORK WITH US
*********************/
.work-with-us {
    height: 100vh;
    position: relative;
    background-image: url(../img/work-with-us-img.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    -webkit-background-position: center;
    background-position: center;
}

.work-with-us::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
	z-index:0;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3));
}

.work-with-us::after {
    position: absolute;
/*     content: ""; */
	content: unset;
    width: 50%;
    height: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-size: 600px;
    -webkit-background-size: 600px;
    background-position: center;
    background-image: url("../img/vector-logo.jpg");
    background-repeat: no-repeat;
	z-index:0;
}

.work-with-us__content {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: var(--baseLight-color);
    width: 100%;
    max-width: 750px;
    text-align: center;
    padding: 50px;
	z-index:1;
}

.work-with-us__content>h2 {
    margin: 0 0 30px;
}

.work-with-us__content>p {
    margin: 0 0 65px;
}

/*********************
END: WORK WITH US
*********************/


/*********************
START: MEDIA
*********************/
@media screen and (min-width: 1440px) {}

@media screen and (min-width: 1320px) and (max-width: 1439px) {}

@media screen and (max-width: 1319px) {}

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

    .work-with-us::after {
        width: 65%;
    }
}

@media screen and (max-width: 1000px) {
    .team ul {
        flex-wrap: wrap;
    }

    .team ul li {
		margin: 12.5px;
        flex-basis: calc(50% - 25px);
    }
}

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

    .work-with-us::after {
        width: 75%;
        -webkit-background-size: 380px;
        background-size: 380px;
    }
}

@media screen and (max-width: 768px) {
    .custom-intro__title {
        font-size: 32px;
    }

    .team ul li {
        padding-inline: 25px;
        flex-basis: calc(100% - 25px);
    }

    .team-member__hover {
        display: none;
    }
	
	.team-member__container:hover .team-member__image {
   		 opacity: 1;
	}

    .work-with-us::after {
        width: 85%;
    }

    .work-with-us__content {
        padding-inline: 25px;
    }

}

@media screen and (max-width: 576px) {
    .team-member__name {
        font-size: 18px;
        line-height: 29px;
        letter-spacing: 0.75px;
    }

    .work-with-us::after {
        width: 100%;
    }

}

@media screen and (max-width: 425px) {
	.team p{
		font-size: 16px;
	}
}

@media screen and (max-width: 375px) {}

/*********************
END: MEDIA
*********************/