/* agent-header – moved from main.css/custom.css */
.single-agent_grid{grid-template-rows:auto;grid-template-columns:.75fr 1fr .75fr}
.single-agent_header{background-color:var(--color--white);position:relative}
.single-agent_right-col{grid-column-gap:var(--space--xs);grid-row-gap:var(--space--xs);flex-direction:column;justify-content:center;align-items:flex-end;display:flex}
.single-agent_middle-col{min-height:35rem;position:relative}
.single-agent_left-col{grid-column-gap:var(--space--sm);grid-row-gap:var(--space--sm);flex-direction:column;justify-content:center;align-items:flex-start;display:flex}
.single-agent_link{border:1px solid var(--color--remax-blue);color:var(--color--dark-slate-grey);border-radius:3rem;padding:.75rem 1.5rem;font-weight:300;transition:background-color .25s;display:block}
.single-agent_link:hover{background-color:var(--color--remax-red);color:var(--color--white)}
.single-agent_link.w--current{background-color:var(--color--remax-blue);color:var(--color--white)}
.single-agent_name{font-size:2rem;font-weight:400}
.single-agent_name.is-bold{font-weight:700}
.single-agent_padding-section{padding-top:7rem;padding-bottom:7rem}
.single-agent_image{z-index:1;filter:saturate(50%);object-fit:contain;object-position:50% 50%;width:100%;height:100%;transition:filter .3s;position:absolute;inset:0%}
.single-agent_image-wrapper{z-index:0;position:absolute;inset:0%}
.single-agent_bg-overlay{z-index:3;background-image:linear-gradient(#0000,#fff0 22%,#fff 92%);position:absolute;inset:0%}
.single-agent_stats-grid{grid-template-rows:auto;grid-template-columns:1fr 1fr 1fr}
.single-agent_stats-block{padding:var(--space--xs);grid-column-gap:var(--space--sm);grid-row-gap:var(--space--sm);text-align:center;flex-direction:column;justify-content:center;align-items:center;line-height:1.2;display:flex}
.single-agent_stats-block.is-left-aligned{align-items:center}
.single-agent_video{z-index:2;filter:saturate();object-fit:contain;object-position:50% 50%;width:100%;height:100%;transition:filter .3s;position:absolute;inset:0%}
.single-agent_video-control{z-index:5;flex-direction:row;justify-content:center;align-items:flex-end;transition:opacity .25s;display:flex;position:absolute;inset:0%}
.single-agent_video-control-btn{flex-direction:column;justify-content:center;align-items:center;width:2.5rem;height:2.5rem;display:flex}
.single-agent_video-control-btn.is-small{width:2rem;height:2rem;transform:translateY(-5px)}
.single-agent_lang-pack{grid-column-gap:.5rem;grid-row-gap:.5rem;justify-content:center;display:flex}
.single-agent_awards-list{grid-column-gap:var(--space--xs);grid-row-gap:var(--space--xs);justify-content:center;display:flex}
.single-agent_award{width:5rem;height:5rem}
.single-agent_award-img{object-fit:contain;width:5rem;height:5rem}
@media screen and (max-width:991px){
.single-agent_padding-section{padding-top:6rem;padding-bottom:6rem}
}
@media screen and (max-width:767px){
.single-agent_grid{flex-direction:column;display:flex}
.single-agent_right-col{align-items:center}
.single-agent_middle-col{order:-1}
.single-agent_left-col{text-align:center;align-items:center}
.single-agent_padding-section{padding-top:4rem;padding-bottom:4rem}
.single-agent_stats-grid{flex-wrap:wrap;display:flex}
.single-agent_stats-block{flex:auto;font-size:.8rem}
}
@media screen and (max-width:479px){
.single-agent_middle-col{min-height:30rem}
.single-agent_padding-section{padding-top:0}
}
#w-node-_6a4ab0ff-a64f-bb1a-dfa7-4d2591aac8b0-e8a02288{grid-area:span 1/span 1/span 1/span 1}
#w-node-_7acd10a4-07e4-e841-e236-77b623e98048-e8a02288{grid-area:span 1/span 1/span 1/span 1}
#w-node-_02c62613-cdd9-af48-1c2a-79b870f31a5f-e8a02288{grid-area:span 1/span 1/span 1/span 1}
#w-node-_14f43528-8cec-0a50-f674-526fb6f90b77-e8a02288{grid-area:span 1/span 1/span 1/span 1}
#w-node-_1d36c2ee-d028-17b8-1b49-1997a2600906-e8a02288{grid-area:span 1/span 1/span 1/span 1}
#w-node-_7a0c1822-df25-b9d3-0272-fee658bf18f8-e8a02288{grid-area:span 1/span 1/span 1/span 1}
#w-node-_2f44e088-3c1d-68a1-d79a-ca0e71f9c1ab-e8a02288{grid-area:span 1/span 3/span 1/span 3}

/* single agent lightbox control */

.body-specialist .w-lightbox-figure {
    width: 10rem;
    height: 10rem;
}

.body-specialist .w-lightbox-backdrop {
    background: rgb(255 255 255 / 90%);
}

.body-specialist .w-lightbox-caption {
    bottom: -50%;
    white-space: wrap;
    font-weight: 400;
    text-align: center;
}

/* end of single agent lightbox control */

/* from inline <style> in single-specialist.php */
.single-agent_bg-overlay{pointer-events:none}

/* one h1: role + name (were two h1) */
.single-agent_title{margin:0}
.single-agent_title .single-agent_name{display:block}

/* agent without video: photo in full colour (was covered by an empty <video> poster before) */
.single-agent_image.is-photo-only{filter:none}
