:root{--ifp478-orange:#f47721;--ifp478-ink:#171717;--ifp478-muted:#636363}
.ifp478-agent-carousel{width:100%;max-width:1240px;margin-inline:auto;position:relative;color:var(--ifp478-ink)}
.ifp478-agent-nav{display:flex;justify-content:flex-end;gap:10px;margin:0 0 16px}
.ifp478-agent-nav button{display:grid;place-items:center;width:42px;height:42px;border:1px solid #f47721!important;border-radius:50%;background:#fff!important;color:#f47721!important;font-size:22px!important;cursor:pointer;transition:.2s}
.ifp478-agent-nav button:hover,.ifp478-agent-nav button:focus-visible{background:#f47721!important;color:#fff!important}
.ifp478-agent-track{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 4*20px)/5);gap:20px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;scroll-behavior:smooth;padding:5px 2px 15px}
.ifp478-agent-track::-webkit-scrollbar{display:none}
.ifp478-agent-card{display:flex;flex-direction:column;align-items:center;text-align:center;gap:7px;min-width:0;padding:22px 10px;background:#fff;border:1px solid #f1e7e0;border-radius:18px;text-decoration:none!important;color:#171717!important;scroll-snap-align:start;transition:transform .2s,box-shadow .2s}
.ifp478-agent-card:hover{transform:translateY(-3px);box-shadow:0 10px 30px rgba(30,25,20,.08)}
.ifp478-agent-photo{display:block;width:128px;height:128px;border-radius:50%;overflow:hidden;border:4px solid #fff;box-shadow:0 0 0 2px #f47721;background:#fff2e7;margin-bottom:8px}
.ifp478-agent-photo img{width:100%!important;height:100%!important;object-fit:cover!important;display:block}
.ifp478-agent-placeholder{display:grid;place-items:center;width:100%;height:100%;font-size:52px;color:#f47721;font-weight:800}
.ifp478-agent-card strong{font-size:17px;line-height:1.3;color:#171717}
.ifp478-agent-card span:not(.ifp478-agent-photo):not(.ifp478-agent-placeholder){font-size:14px;color:#f47721}
.ifp478-agent-card small{font-size:13px;color:#666}
.ifp478-agent-more{text-align:center;margin:24px 0 0}
.ifp478-agent-more a,.ifp478-profile-cta{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#f47721!important;color:#fff!important;border-radius:10px;padding:13px 24px;text-decoration:none!important;font-weight:700;font-size:15px}
.ifp478-agent-more a:hover,.ifp478-profile-cta:hover{background:#d85e0e!important;color:#fff!important}
.ifp478-profile-shell{width:min(100% - 40px,1100px);margin:48px auto 80px}
.ifp478-profile-card{display:grid;grid-template-columns:240px minmax(0,1fr);gap:36px;background:#fff;border:1px solid #eee;border-radius:20px;padding:36px}
.ifp478-profile-card .ifp478-profile-image{width:220px;height:220px;object-fit:cover;border-radius:50%;border:5px solid #fff;box-shadow:0 0 0 3px #f47721}
.ifp478-profile-card h1{font-size:34px;color:#171717;margin:0 0 8px}
.ifp478-profile-card p{font-size:16px;line-height:1.75}
.ifp478-profile-meta{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0 20px}
.ifp478-profile-meta span{background:#fff2e7;color:#9e460d;padding:7px 12px;border-radius:30px}
.ifp478-directory{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:20px}
/* Home brand tone: apply to Interflow sections, not dashboard or Elementor editor */
body.home .ifp476-wrap{max-width:1240px!important;margin-inline:auto!important}
body.home .ifp476-about,body.home .ifp476-agents{color:#171717}
body.home .ifp476-about .elementor-button,body.home .ifp476-cta-button{background:#f47721!important;color:#fff!important}
body.home .ifp476-eyebrow,body.home .ifv-eyebrow{color:#f47721}
@media(max-width:1100px){.ifp478-agent-track{grid-auto-columns:calc((100% - 2*18px)/3);gap:18px}.ifp478-directory{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){.ifp478-agent-track{grid-auto-columns:calc((100% - 12px)/2);gap:12px}.ifp478-agent-photo{width:94px;height:94px}.ifp478-agent-card{padding:16px 6px}.ifp478-agent-card strong{font-size:15px}.ifp478-directory{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ifp478-profile-card{grid-template-columns:1fr;padding:22px}.ifp478-profile-card .ifp478-profile-image{width:160px;height:160px}.ifp478-profile-card h1{font-size:27px}}

/* v4.7.25: Agent directory heading and pagination only. */
.post-type-archive-interflow_agent .ifp478-profile-shell > .ifv-eyebrow,
.post-type-archive-interflow_agent .ifp478-profile-shell > h1,
.post-type-archive-interflow_agent .ifp478-profile-shell > p {display:block;text-align:center;margin-left:auto;margin-right:auto}
.post-type-archive-interflow_agent .ifp478-profile-shell > .ifv-eyebrow {color:#f47721;font-weight:800;letter-spacing:.12em}
.post-type-archive-interflow_agent .ifp478-profile-shell > h1 {max-width:800px}
.post-type-archive-interflow_agent .ifp478-profile-shell > p {max-width:780px}
.post-type-archive-interflow_agent .ifp478-profile-shell .navigation.pagination {display:flex;justify-content:center;align-items:center;width:100%;margin:34px auto 0;padding:0;text-align:center}
.post-type-archive-interflow_agent .ifp478-profile-shell .navigation.pagination .nav-links {display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:9px;width:100%}
.post-type-archive-interflow_agent .ifp478-profile-shell .navigation.pagination .page-numbers {display:inline-flex;align-items:center;justify-content:center;min-width:43px;min-height:43px;padding:9px 14px;border:1px solid #f8d9c4;border-radius:11px;background:#fff;color:#ed6819;font-size:14px;font-weight:750;line-height:1.2;text-decoration:none;transition:background .2s,color .2s,border-color .2s}
.post-type-archive-interflow_agent .ifp478-profile-shell .navigation.pagination a.page-numbers:hover,
.post-type-archive-interflow_agent .ifp478-profile-shell .navigation.pagination .page-numbers.current {background:#f47721;color:#fff;border-color:#f47721}
.post-type-archive-interflow_agent .ifp478-profile-shell .navigation.pagination .page-numbers.dots {border:0;background:transparent;color:#ed6819;min-width:24px;padding-inline:4px}
@media(max-width:600px){.post-type-archive-interflow_agent .ifp478-profile-shell .navigation.pagination .nav-links{gap:6px}.post-type-archive-interflow_agent .ifp478-profile-shell .navigation.pagination .page-numbers{min-width:38px;min-height:38px;padding:8px 11px}}

/* v4.7.46 — Agent directory + SEO editorial */
.post-type-archive-interflow_agent .ifp-agent-directory-page{width:min(100% - 40px,1240px);margin:48px auto 78px}
.post-type-archive-interflow_agent .ifp-agent-directory-intro{text-align:center;max-width:850px;margin:0 auto 34px}
.post-type-archive-interflow_agent .ifp-agent-directory-intro h1{font-size:clamp(30px,3.5vw,45px);line-height:1.2;letter-spacing:-.035em;color:#111820;margin:12px 0 16px}
.post-type-archive-interflow_agent .ifp-agent-directory-intro p{font-size:16px;color:#59636e;line-height:1.8;margin:0}
.post-type-archive-interflow_agent .ifp478-directory{grid-template-columns:repeat(5,minmax(0,1fr));gap:20px}
.post-type-archive-interflow_agent .ifp-agent-seo{margin-top:75px;padding-top:56px;border-top:1px solid #e8eaed;color:#59636e;font-size:15px;line-height:1.9}
.post-type-archive-interflow_agent .ifp-agent-seo h2{color:#111820;font-size:clamp(24px,2.6vw,34px);line-height:1.3;letter-spacing:-.025em;margin:36px 0 15px}
.post-type-archive-interflow_agent .ifp-agent-seo>h2:first-of-type{margin-top:12px}
.post-type-archive-interflow_agent .ifp-agent-seo h3{font-size:19px;line-height:1.4;color:#111820;margin:0 0 10px}
.post-type-archive-interflow_agent .ifp-agent-seo p{margin:0 0 17px}
.post-type-archive-interflow_agent .ifp-agent-seo a:not(.ifp-agent-seo-contact a){color:#d65b0c;text-decoration:underline;text-underline-offset:3px}
.post-type-archive-interflow_agent .ifp-agent-seo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:22px 0 28px}
.post-type-archive-interflow_agent .ifp-agent-seo-grid section{padding:25px;background:#fff8f3;border:1px solid #ffe5d3;border-radius:15px}
.post-type-archive-interflow_agent .ifp-agent-seo-grid section p{margin:0;font-size:14px}
.post-type-archive-interflow_agent .ifp-agent-seo ol{padding-left:24px;margin:10px 0 24px}
.post-type-archive-interflow_agent .ifp-agent-seo li{padding:4px 0}
.post-type-archive-interflow_agent .ifp-agent-faq{display:grid;gap:11px;margin:20px 0 30px}
.post-type-archive-interflow_agent .ifp-agent-faq details{border:1px solid #e5e8eb;border-radius:12px;background:#fff;padding:15px 20px}
.post-type-archive-interflow_agent .ifp-agent-faq summary{cursor:pointer;font-weight:750;color:#111820;line-height:1.5}
.post-type-archive-interflow_agent .ifp-agent-faq details p{margin:12px 0 0}
.post-type-archive-interflow_agent .ifp-agent-seo-contact{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:28px 32px;background:#111820;color:#fff;border-radius:17px;margin-top:35px}
.post-type-archive-interflow_agent .ifp-agent-seo-contact strong{font-size:20px;color:#fff}
.post-type-archive-interflow_agent .ifp-agent-seo-contact p{color:#c3cbd2;margin:5px 0 0}
.post-type-archive-interflow_agent .ifp-agent-seo-contact a{display:inline-flex;align-items:center;justify-content:center;gap:8px;flex-shrink:0;background:#f47721;color:#fff!important;padding:13px 20px;border-radius:10px;font-weight:750;text-decoration:none!important}
.post-type-archive-interflow_agent .ifp-agent-seo-contact a:hover{background:#dc6412}
@media(max-width:1100px){.post-type-archive-interflow_agent .ifp478-directory{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.post-type-archive-interflow_agent .ifp-agent-directory-page{width:calc(100% - 32px);margin:32px auto 55px}.post-type-archive-interflow_agent .ifp478-directory{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.post-type-archive-interflow_agent .ifp-agent-seo{margin-top:45px;padding-top:35px}.post-type-archive-interflow_agent .ifp-agent-seo-grid{grid-template-columns:1fr}.post-type-archive-interflow_agent .ifp-agent-seo-contact{flex-direction:column;align-items:stretch;padding:24px}.post-type-archive-interflow_agent .ifp-agent-seo-contact a{width:100%}}

/* v4.7.51 — Featured trio on the agent archive only */
.post-type-archive-interflow_agent .ifp-leadership{margin:10px 0 56px}
.post-type-archive-interflow_agent .ifp-leadership-heading,.post-type-archive-interflow_agent .ifp-consultants-heading{text-align:center;margin:0 auto 26px;max-width:780px}
.post-type-archive-interflow_agent .ifp-leadership-heading h2,.post-type-archive-interflow_agent .ifp-consultants-heading h2{font-size:clamp(25px,3vw,36px);color:#111820;letter-spacing:-.03em;line-height:1.2;margin:9px 0 12px}
.post-type-archive-interflow_agent .ifp-leadership-heading p,.post-type-archive-interflow_agent .ifp-consultants-heading p{font-size:15px;color:#65717d;line-height:1.75;margin:0}
.post-type-archive-interflow_agent .ifp-leadership-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;align-items:stretch}
.post-type-archive-interflow_agent .ifp-leadership-card{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;gap:9px;min-width:0;padding:36px 20px 27px;background:#fff;border:1px solid #f1e3d8;border-radius:20px;color:#111820;text-decoration:none!important;transition:transform .2s,box-shadow .2s}
.post-type-archive-interflow_agent .ifp-leadership-card:hover{transform:translateY(-4px);box-shadow:0 16px 38px rgba(17,24,32,.09)}
.post-type-archive-interflow_agent .ifp-leadership-card.is-principal{border:2px solid #f47721;background:linear-gradient(180deg,#fff6ee 0%,#fff 70%);box-shadow:0 12px 32px rgba(244,119,33,.09)}
.post-type-archive-interflow_agent .ifp-leadership-card .ifp478-agent-photo{width:148px;height:148px;margin:4px 0 8px}
.post-type-archive-interflow_agent .ifp-leadership-card strong{font-size:21px;line-height:1.3;color:#111820}
.post-type-archive-interflow_agent .ifp-leadership-role{font-size:14px;color:#f47721;font-weight:700}
.post-type-archive-interflow_agent .ifp-leadership-label{position:absolute;top:0;left:50%;transform:translateX(-50%);padding:7px 19px;border-radius:0 0 12px 12px;background:#f47721;color:#fff;font-size:11px;letter-spacing:.12em;font-weight:800}
.post-type-archive-interflow_agent .ifp-leadership-profile{font-size:13px;color:#59636e;margin-top:7px}
.post-type-archive-interflow_agent .ifp-consultants{margin-top:12px}
@media(max-width:700px){.post-type-archive-interflow_agent .ifp-leadership-grid{gap:10px}.post-type-archive-interflow_agent .ifp-leadership-card{padding:27px 7px 17px;border-radius:14px;gap:6px}.post-type-archive-interflow_agent .ifp-leadership-card .ifp478-agent-photo{width:min(100%,90px);height:auto;aspect-ratio:1/1;margin:7px 0 5px}.post-type-archive-interflow_agent .ifp-leadership-card strong{font-size:14px}.post-type-archive-interflow_agent .ifp-leadership-role{font-size:11px;line-height:1.35}.post-type-archive-interflow_agent .ifp-leadership-label{font-size:9px;padding:5px 9px}.post-type-archive-interflow_agent .ifp-leadership-profile{font-size:11px}.post-type-archive-interflow_agent .ifp-leadership{margin-bottom:42px}}
@media(max-width:390px){.post-type-archive-interflow_agent .ifp-leadership-card .ifp478-agent-photo{width:70px}}
@media(prefers-reduced-motion:reduce){.post-type-archive-interflow_agent .ifp-leadership-card{transition:none}.post-type-archive-interflow_agent .ifp-leadership-card:hover{transform:none}}
