/* 1.5.1: shared page geometry, including shortcode-generated profile content. */
:root{--r247-page-width:1680px;--r247-page-gutter:32px;--r247-section-width:1680px;--r247-section-gutter:32px}
.r-header{padding-inline:var(--r247-page-gutter)!important}
.r-header .r-nav{width:100%!important;max-width:var(--r247-page-width)!important;margin-inline:auto!important}
.ph-home .ph-rail-section,.r247-page .rx-profiles,.ph-home .ph-proof,.r247-page .rx-proof{width:calc(100% - 2 * var(--r247-page-gutter))!important;max-width:var(--r247-page-width)!important;margin-inline:auto!important}
.rx-section:not(.rx-profiles),.r-section,.ph-pricing,.ph-proof,.ph-footer{padding-inline:var(--r247-page-gutter)!important}
.rx-section:not(.rx-profiles)>*,.r-section>*,.ph-pricing-grid,.ph-pricing-title,.ph-footer-cta,.ph-footer-columns,.ph-footer-bottom{max-width:var(--r247-page-width)!important;margin-inline:auto!important}
.ph-footer-cta,.ph-footer-columns,.ph-footer-bottom{width:100%!important;box-sizing:border-box}
/* The profile shortcode produces several sibling blocks, which need one shared container. */
body.single-r247_talent main.r-article,main.r-article:not(.alignfull){width:calc(100% - 2 * var(--r247-page-gutter))!important;max-width:var(--r247-page-width)!important;margin-inline:auto!important;padding:64px 0 72px!important;box-sizing:border-box}
body.single-r247_talent main.r-article>*{max-width:100%!important;margin-left:0!important;margin-right:0!important}
body.single-r247_talent main.r-article>.r-form{width:100%;max-width:800px!important;padding:28px;border:1px solid #dce5f8;border-radius:20px;background:#f8faff;margin-top:26px!important}
body.single-r247_talent main.r-article>.wp-block-post-content{max-width:800px!important;overflow-wrap:anywhere}
body.single-r247_talent main.r-article>.wp-block-post-content>*{max-width:100%!important;margin-inline:0!important}
body.single-r247_talent .r-profile-head{padding-bottom:24px;border-bottom:1px solid #e1e8f5}
@media(max-width:1024px){:root{--r247-page-gutter:32px;--r247-section-gutter:32px}}
@media(max-width:600px){:root{--r247-page-gutter:20px;--r247-section-gutter:20px}body.single-r247_talent main.r-article,main.r-article:not(.alignfull){padding-block:36px 48px!important}body.single-r247_talent main.r-article>.r-form{padding:20px}.r-profile-head h1{font-size:36px}.ph-proof{padding-inline:0!important}.ph-footer-cta{padding-inline:20px!important}}

/* 1.6.1: readable candidate cards with fixed-size portraits and wrapping facts. */
.ph-home .ph-rail-section,.r247-page .rx-profiles{max-width:var(--r247-page-width)!important}
.ph-profile-track{align-items:stretch!important;gap:20px!important}
.ph-home .ph-profile-track>.ph-profile-card,.ph-home .ph-profile-track>.ph-metric-card,.r247-page .rx-profiles .ph-profile-track>.ph-profile-card,.r247-page .rx-profiles .ph-profile-track>.ph-metric-card{flex:0 0 calc((100% - 80px)/5)!important;width:calc((100% - 80px)/5)!important;min-width:0;height:auto!important;min-height:600px;box-sizing:border-box}
.ph-profile-card{padding:22px!important;border-width:2px;border-radius:22px}
.ph-profile-head{align-items:flex-start!important;height:auto!important;min-height:100px;gap:12px;margin-bottom:14px}
.ph-profile-head>.r-face{flex:0 0 46px!important;width:46px!important;height:46px!important;min-width:46px;min-height:46px;border-radius:50%!important;display:grid;place-items:center;font-size:20px}
.ph-profile-head>div:not(.r-face){flex:1!important;min-width:0}
.ph-profile-head .ph-profile-name,.ph-profile-head:has(.ph-sample) .ph-profile-name{font-size:17px;line-height:22px;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;padding-right:0!important;overflow-wrap:anywhere}
.ph-profile-head p{font-size:13px!important;line-height:19px;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;margin-top:5px!important;overflow-wrap:anywhere}
.ph-sample{position:static;align-self:flex-start;flex:0 0 auto;font-size:8px;max-width:45px}
.ph-comp{font-size:15px!important;line-height:21px!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;min-height:42px;margin-bottom:12px!important}
.ph-profile-summary{font-size:13px!important;line-height:19px!important;height:57px;min-height:57px;-webkit-line-clamp:3;margin-bottom:16px!important}
.ph-profile-data{display:grid;grid-template-rows:minmax(40px,auto) minmax(66px,auto) minmax(48px,auto) minmax(84px,auto);gap:0;padding-top:8px;font-size:12px!important;min-height:0}
.ph-profile-data>div{display:grid;grid-template-columns:74px minmax(0,1fr);gap:10px;align-items:start;padding:8px 0;border-bottom:1px solid #edf1f8}
.ph-profile-data>div:last-child{border-bottom:0}
.ph-profile-data dt{font-size:11px;line-height:18px;color:#61738e}
.ph-profile-data dd{font-size:12px;line-height:18px;font-weight:500;text-align:left!important;max-width:none!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere}
.ph-preview{margin-top:18px;height:52px;padding:8px 10px;gap:10px}
.ph-preview-picture{width:34px;height:34px;border-radius:50%}
.ph-preview-copy{font-size:13px;overflow:visible;text-overflow:clip}
.ph-preview-copy small{font-size:10px}
.ph-preview-play{width:30px;height:30px}
.ph-metric-card{padding:28px!important;justify-content:flex-start}
.ph-metric-card strong{font-size:clamp(30px,2.5vw,43px);white-space:normal}
.ph-metric-card>div+div{margin-top:auto;padding-top:28px}
.ph-rail-frame:after{display:none!important}
@media(max-width:1699px) and (min-width:1280px){.ph-home .ph-profile-track>.ph-profile-card,.ph-home .ph-profile-track>.ph-metric-card,.r247-page .rx-profiles .ph-profile-track>.ph-profile-card,.r247-page .rx-profiles .ph-profile-track>.ph-metric-card{flex-basis:calc((100% - 60px)/4)!important;width:calc((100% - 60px)/4)!important}}
@media(max-width:1279px) and (min-width:1024px){.ph-home .ph-profile-track>.ph-profile-card,.ph-home .ph-profile-track>.ph-metric-card,.r247-page .rx-profiles .ph-profile-track>.ph-profile-card,.r247-page .rx-profiles .ph-profile-track>.ph-metric-card{flex-basis:calc((100% - 40px)/3)!important;width:calc((100% - 40px)/3)!important}}
@media(max-width:1023px) and (min-width:650px){.ph-home .ph-profile-track>.ph-profile-card,.ph-home .ph-profile-track>.ph-metric-card,.r247-page .rx-profiles .ph-profile-track>.ph-profile-card,.r247-page .rx-profiles .ph-profile-track>.ph-metric-card{flex-basis:calc((100% - 20px)/2)!important;width:calc((100% - 20px)/2)!important}}
@media(max-width:649px){.ph-home .ph-profile-track>.ph-profile-card,.ph-home .ph-profile-track>.ph-metric-card,.r247-page .rx-profiles .ph-profile-track>.ph-profile-card,.r247-page .rx-profiles .ph-profile-track>.ph-metric-card{flex-basis:100%!important;width:100%!important}.ph-profile-card{padding:22px!important}.ph-profile-head{min-height:105px}.ph-metric-card strong{font-size:40px}}
