

/* STAFF */
#staff_members {
    display: flex;
}

/* EXPERT */

.expert_xs, #CTA .phone span:first-child {
    display: none;
}
#CTA {position: relative; background:white}
#CTA .container {justify-content: space-around;}
#CTA .text-wrapper {
    width: calc(60% - 7.5%);
    min-width: 25em;
}

#CTA .phone {
	font-size: 1.175rem;
	font-weight: 800;
	letter-spacing: .025em;
	color: var(--brown-color);
	margin-left: 2em;
}
#CTA figure.expert {
    position: relative;
    overflow: hidden;
}
#CTA img {
    width:100%;
    height: auto;
    min-width: 20em;
}
#CTA figcaption {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: flex-start;
    position: absolute;
    left:0;
    bottom:0;
    width:100%;
}
#CTA figcaption .name {
    background-color:white;
    width:80%;
    padding:.85em 1em;    /*padding-left: calc(3.125em + 1em);*/
    font-size: clamp(1.5rem, 1rem + 1vw, 1.75rem);
    font-weight: 500;
    font-family:var(--font-header);
    color: var(--brown-color);
}

#CTA figure.expert a {
    display: flex;
    align-items: center;
    position: relative;
    padding:1.5em 2.5em;
    font-size: .825rem;
    font-weight: 600;
    color:white;
    letter-spacing: .05em;
    text-transform: uppercase;
    background-color: var(--onyx-color);
    transition: color .5s cubic-bezier(0,0,0.3,1);
}
#CTA figure.expert a::after {
    content:"";
    position: absolute;
    left:0;bottom:0;
    width:0;
    height:100%;
    background-color: var(--gold-color);
    transition: width .5s cubic-bezier(0,0,0.3,1);
}
#CTA figure.expert a:hover::after{
    width:100%;
}

#CTA figure.expert .ico-email,  #CTA figure.expert span {
    position: relative;
    z-index: 2;
}
.buttons-wrapper {margin-top: 3.5em;}
.buttons-wrapper .button {margin-top: 0;}
#CTA figure.expert  .ico-email {
    position: relative;
    top:1px;
    color:var(--gold-color);
    font-size: 1.75em;
    margin-right: .625em;
    line-height: 0;
    vertical-align:middle;
    transition: color .5s cubic-bezier(0,0,0.3,1);
}
#CTA figure.expert a:hover .ico-email {
    color:white
}
#CTA .buttons-wrapper {
    display: flex;
    align-items: stretch;
    gap: .25em
}
#CTA .phone {
    flex:1;
    margin-left: 0;
    font-size: .825rem;
    text-transform: uppercase;
    font-weight: 700;
    background-color: var(--onyx-color);
    color: white;
    text-align: center;
    margin-left: .25em;
}
#CTA .phone::after {
    background-color: var(--black-olive-color);
}
#CTA .phone span:first-child {
    display: inline-block;
}
#CTA .ico-phone {
    font-size: 1.25em;
    margin-right: .5em;
    line-height: 0;
    vertical-align: middle;
    color: var(--gold-color);
}

@media only screen and (max-width: 64rem) {

#CTA .buttons-wrapper .button {margin-top:0;}   
#CTA .container {
    justify-content: space-between;
    padding-left:0;
}


}
@media only screen and (max-width: 48rem) {
    #CTA .text-wrapper {
        width:100%;
        min-width: 0;
    }
    #CTA figure.expert {display: none;}
    #CTA .container {
        padding-left:1.5em;
        padding-right: 1.5em;
    }
    .expert_xs {
      display: flex;
      align-items: center;
      margin: 3em 0
    }
    .expert_xs .portrait {
        display: block;
        position: relative;
        background-size: cover;
        width:9.5em;
        padding-bottom:9.5em;
        border-radius: 50%;
    }
    .expert_xs .name {
        margin-left: 2em;
        width:50%;
    }
    .expert_xs a {
        display: inline-block;
        text-decoration: none!important;
        text-align: center;
        display: flex;
        justify-content: center;
        position: absolute;
        bottom: 0;
        right: 0;
        font-size: 1.125em;
        width:2.75em;
        height:2.75em;
        line-height: 2.75em;
        border-radius: 50%;
        color:var(--gold-color);
        background: var(--onyx-color);
        border:2px solid white
    }

    .expert_xs .ico-email {
        display: inline-block;
    }

    .expert_xs h3 {
        margin-top: 0;
        margin-bottom: .25em;
        font-size: clamp(1.5rem, 1.5rem + .5vw, 1.75rem);
        text-transform: capitalize;
        letter-spacing: 0;
        font-family: var(--font-header);
        font-weight: 500;
        color: var(--brown-color);
        margin-bottom: .25em;

    }
    .expert_xs p {
        color:var(--brown-color);
        font-weight: 700;
        line-height: 1.4;
        margin-top: 0;}
    #CTA .text-wrapper.left {
        margin:0 auto;
        max-width: 32em;
    }
    #CTA .buttons-wrapper {
        margin-top: 2em;
    }
    #CTA .buttons-wrapper a {
        flex:1;
        width:50%;
        max-width: none!important;
    }

    #CTA .buttons-wrapper a.button:first-child {
        min-width: 19em
    }

}
@media only screen and (max-width: 30rem) {

    .expert_xs {
        flex-direction: column;
        text-align: center;
        margin: calc(4vw + 2.5em) 0 2.5em
    }

    .expert_xs .name {
        width: 100%;
        margin-top: 1.5em;
        margin-left: 0;}

    .buttons-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #CTA .buttons-wrapper a {
        width:100%;
        margin:0 auto;
        margin-top:.5em
    }
}
