/* Keep the theme white header content legible on business profiles. */
.single-msi_profile .ra-header-section:is(.header_style_one){background:transparent;box-shadow:none}
/* Business profile: editorial layout, scoped to this plugin's public page. */
.msi-public-profile{--profile-purple:#713be5;--profile-ink:#24202e;--profile-muted:#706b7b;--profile-line:#e9e5ef;max-width:1320px;margin:0 auto;padding:180px 32px 80px;color:var(--profile-ink)}.msi-public-profile *{box-sizing:border-box}.msi-public-profile p{line-height:1.75}.msi-public-profile a:focus-visible,.msi-public-profile button:focus-visible,.msi-public-profile input:focus-visible,.msi-public-profile select:focus-visible{outline:3px solid #a077ef;outline-offset:4px}.msi-profile-breadcrumb{display:flex;gap:14px;align-items:center;font-size:12px;color:#797183;margin-bottom:24px}.msi-profile-breadcrumb a{color:#5c5369;text-decoration:none}.msi-profile-breadcrumb>span[aria-hidden]{color:#beb6c8}
.msi-profile-hero{position:relative;display:grid;grid-template-columns:1fr;align-items:center;gap:40px;min-height:320px;padding:50px 54px;background:radial-gradient(ellipse at 100% 0%,#49316d 0,transparent 65%),#20182f;border:1px solid #3b2d50;border-radius:22px;color:#e1d9ec;overflow:hidden}.msi-profile-hero:has(.msi-profile-cover){grid-template-columns:1.2fr 1fr}.msi-profile-hero:after{content:"";position:absolute;right:-100px;top:-170px;width:500px;height:500px;border:1px solid #ffffff10;border-radius:50%;pointer-events:none}.msi-profile-eyebrow{font-size:10px!important;font-weight:700;letter-spacing:.17em;color:#c1a2ff;margin:0 0 22px}.msi-profile-hero h1{font-size:clamp(36px,4.8vw,64px);font-weight:600;line-height:1.08;letter-spacing:-2px;color:#fff;margin:0 0 22px;overflow-wrap:anywhere}.msi-profile-hero p:not(.msi-profile-eyebrow){font-size:14px;margin:5px 0;color:#d6cde1}.msi-profile-hero-link{display:inline-flex;align-items:center;gap:28px;padding:13px 18px;border-radius:8px;background:#fff;color:#30233f!important;text-decoration:none!important;margin-top:24px;font-size:13px;font-weight:600;min-height:48px}.msi-profile-hero-link:hover{background:#ede4ff}.msi-profile-hero-link span{font-size:21px}.msi-profile-cover{position:relative;z-index:1}.msi-profile-cover img{display:block;width:100%;height:280px;object-fit:cover;border-radius:13px}.msi-profile-nav{display:flex;gap:30px;flex-wrap:wrap;border-bottom:1px solid var(--profile-line);padding:23px 4px;margin-bottom:40px}.msi-profile-nav a{font-size:13px;font-weight:600;text-decoration:none;color:#5c5369}.msi-profile-nav a:hover{color:var(--profile-purple)}.msi-profile-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:40px}.msi-profile-layout>div{min-width:0}.msi-profile-description{padding:8px 0 30px;margin-bottom:28px;border-bottom:1px solid var(--profile-line);font-size:16px;color:#655d70}.msi-profile-description p:last-child{margin-bottom:0}.msi-profile-section-label{font-size:10px!important;font-weight:700;letter-spacing:.16em;color:#8a67b6;margin:0 0 14px!important}.msi-profile-section-heading{display:flex;gap:20px;justify-content:space-between;align-items:end}.msi-profile-section-heading h2{font-size:34px;font-weight:600;letter-spacing:-1px;line-height:1.2;margin:0;color:#292032}.msi-profile-result-count{font-size:11px;color:#786b89;white-space:nowrap;background:#f2eef8;padding:6px 10px;border-radius:20px;margin-bottom:5px}.msi-profile-intro{color:var(--profile-muted);font-size:14px;margin:16px 0 24px}
.msi-profile-filters{display:flex;flex-wrap:wrap;align-items:end;gap:10px;margin:24px 0;padding:16px;background:#f8f6fb;border:1px solid var(--profile-line);border-radius:12px}.msi-profile-filters label{display:grid;gap:7px;flex:1;min-width:130px;font-size:10px;font-weight:600;color:#70647f}.msi-profile-filters label:first-child{flex:1.4}.msi-profile-filters input,.msi-profile-filters select{width:100%;min-height:44px;border:1px solid #ddd5e8;border-radius:7px;padding:9px 11px;color:#33293f;background:#fff;font-size:12px;font-weight:400}.msi-profile-filters button,.msi-profile-cta{display:inline-flex;justify-content:center;align-items:center;min-height:44px;padding:11px 16px;background:var(--profile-purple);color:#fff!important;border:0;border-radius:7px;font-size:12px;font-weight:600;text-decoration:none}.msi-profile-filters button:hover,.msi-profile-cta:hover{background:#5829bd}.msi-profile-filters>a{font-size:11px;color:#705391;padding:12px 0}.msi-profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.msi-profile-card{border:1px solid var(--profile-line);border-radius:13px;padding:0 20px 18px;overflow:hidden;background:#fff;overflow-wrap:anywhere;transition:border-color .2s,box-shadow .2s}.msi-profile-card:hover{border-color:#ccb6eb;box-shadow:0 8px 24px #33204d09}.msi-profile-card>a{text-decoration:none;color:inherit;display:block}.msi-profile-card-media{height:180px;margin:0 -20px 18px;background:#f0ebf7;position:relative;overflow:hidden}.msi-profile-card-media img{display:block;width:100%;height:100%;object-fit:cover;margin:0;border-radius:0;transition:transform .25s}.msi-profile-card:hover .msi-profile-card-media img{transform:scale(1.025)}.msi-profile-placeholder{position:absolute;right:22px;bottom:10px;font-size:70px!important;font-weight:400;color:#d0bee7!important;line-height:1}.msi-profile-card-media:has(.msi-profile-placeholder){background:linear-gradient(135deg,#f0eaf8,#e8dff3)}.msi-profile-card>a>span{font-size:9px;text-transform:uppercase;letter-spacing:.1em;color:#8d6cae;font-weight:600}.msi-profile-card h3{position:relative;padding-right:20px;font-size:18px;font-weight:600;line-height:1.4;letter-spacing:-.35px;margin:9px 0;color:#33273f}.msi-profile-card-arrow{position:absolute;right:0;top:0;font-size:18px!important;color:#8669a6!important}.msi-profile-card>p{font-size:12px;line-height:1.7;color:#7b7186;margin:10px 0}.msi-profile-terms a{display:inline-block;margin:3px 4px 0 0;background:#f6f3fa;border:1px solid #eee8f5;border-radius:4px;padding:3px 7px;font-size:9px;color:#857096;text-decoration:none}
.msi-profile-contact{position:sticky;top:110px;align-self:start;background:#fbf9fd;border:1px solid #e6ddef;border-radius:15px;padding:28px;overflow-wrap:anywhere}.msi-profile-contact-symbol{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:#ece2fb;color:#8151c7;font-size:26px;margin-bottom:24px}.msi-profile-contact h2{font-size:26px;letter-spacing:-.7px;line-height:1.2;color:#352644;margin:0 0 14px}.msi-profile-contact-intro{font-size:12px;color:#817389;padding-bottom:20px;border-bottom:1px solid #e9e1ef}.msi-profile-contact>p:not(.msi-profile-section-label):not(.msi-profile-contact-intro){font-size:12px;margin:19px 0;color:#776783}.msi-profile-contact strong{font-size:10px;color:#4a365e;text-transform:uppercase;letter-spacing:.06em}.msi-profile-cta{width:100%;margin-top:10px;min-height:48px}.msi-profile-contact>p>a{color:#8151aa;font-size:12px}.msi-profile-pagination{display:flex;flex-wrap:wrap;gap:7px;margin:30px 0}.msi-profile-pagination .page-numbers{display:grid;place-items:center;min-width:36px;min-height:38px;padding:8px 12px;border:1px solid var(--profile-line);border-radius:7px;font-size:12px;text-decoration:none;color:#776387}.msi-profile-pagination .current{background:#713be5;color:#fff;border-color:#713be5}.msi-public-profile [id]{scroll-margin-top:125px}
body.single-msi_profile{overflow-x:clip}.single-msi_profile .markerbrand-button{max-width:100%;overflow:hidden}
@media(max-width:1000px){.msi-profile-layout{grid-template-columns:minmax(0,1fr) 280px;gap:24px}.msi-profile-contact{padding:22px}.msi-profile-grid{gap:16px}.msi-profile-hero{padding:40px}}
@media(max-width:800px){.msi-public-profile{padding:112px 20px 48px}.msi-profile-hero,.msi-profile-hero:has(.msi-profile-cover),.msi-profile-layout{grid-template-columns:1fr}.msi-profile-hero{min-height:0;padding:32px;gap:25px}.msi-profile-hero h1{font-size:44px;letter-spacing:-1.4px}.msi-profile-cover img{height:220px}.msi-profile-nav{gap:24px;padding:20px 0;margin-bottom:28px}.msi-profile-contact{position:static;order:0;padding:28px}.msi-profile-section-heading h2{font-size:30px}.msi-profile-description{font-size:14px}.msi-profile-section-heading{align-items:start}.msi-profile-result-count{font-size:10px}.msi-profile-hero-link{width:100%;justify-content:space-between}.msi-profile-contact h2 br{display:none}}
@media(max-width:480px){.msi-public-profile{padding-left:16px;padding-right:16px}.msi-profile-grid{grid-template-columns:1fr}.msi-profile-filters label,.msi-profile-filters label:first-child{flex-basis:100%}.msi-profile-filters input,.msi-profile-filters select{font-size:16px}.msi-profile-card-media{height:190px}.msi-profile-card h3{font-size:20px}.msi-profile-card>p{font-size:14px}.msi-profile-section-heading{flex-direction:column;gap:12px}.msi-profile-hero{padding:28px}.msi-profile-hero h1{font-size:39px}.msi-profile-nav{gap:20px}.msi-profile-nav a{font-size:12px}}
@media(max-width:782px){html:has(body.single-msi_profile){overflow-x:hidden}body.single-msi_profile #wpadminbar .display-name{display:none}body.single-msi_profile .screen-reader-text{left:0}}
@media(prefers-reduced-motion:reduce){.msi-public-profile *{transition:none!important;scroll-behavior:auto!important}}

/* Use Marker Brand's shared inner-page masthead above the profile. */
.single-msi_profile .msi-profile-site-heading{background:#000}
.msi-profile-site-heading .msi-profile-site-title{color:#fff;font-size:clamp(32px,4vw,56px);font-weight:700;line-height:1.15;margin:0 0 20px}
.msi-public-profile.msi-public-profile--site-header{padding-top:40px}
/* Business directory navigation: ordinary links enhanced with in-place loading. */
.msi-profile-tabs{display:flex;gap:8px;flex-wrap:wrap;padding:8px;margin:0 0 28px;background:#f4f0f9;border:1px solid #e9e1f1;border-radius:12px}
.msi-profile-tabs a{flex:1;text-align:center;min-height:48px;padding:13px 18px;border-radius:8px;text-decoration:none;color:#514360;font-size:14px;font-weight:600}
.msi-profile-tabs a:hover{background:#e8def6;color:#5423a7}
.msi-profile-tabs a[aria-current]{background:#690ef9;color:#fff;box-shadow:0 3px 10px #690ef922}
#msi-profile-browser{scroll-margin-top:28px}
#msi-profile-browser[aria-busy=true] .msi-profile-grid{opacity:.45;pointer-events:none}
.msi-profile-load-status{font-size:12px;color:#70647f;margin:0 0 12px}
.msi-profile-load-status:empty{display:none}
.msi-profile-layout{margin-top:36px}
@media(max-width:480px){.msi-profile-tabs{gap:4px;padding:5px}.msi-profile-tabs a{padding:13px 8px;font-size:12px}}
