/* A member profile for signed-out visitors (visitor-profile.php): the new profile design in the live brand, inside the site's own
   visitor header and footer. Maroon #9C1C1F, navy #0A2C3D, blush #F7E9E9; Oswald headings, Roboto text. Same 1240 px / 20 px grid
   as the rest of the site, so the page starts where the logo starts. */
body.smesa-vprofile { background: #F5F6F8; }
.svp { --svp-maroon: #9C1C1F; --svp-maroon-d: #7E1619; --svp-navy: #0A2C3D; --svp-ink: #121A21; --svp-muted: #64748B; --svp-line: #E6EAEF; --svp-blush: #F7E9E9;
	max-width: 1240px; margin: 0 auto; padding: 24px 20px 48px; box-sizing: border-box; font-family: Roboto, Arial, sans-serif; color: var(--svp-ink); }
.svp *, .svp *::before, .svp *::after { box-sizing: border-box; }
.svp-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; }
@media (min-width: 1024px) { .svp-grid { grid-template-columns: minmax(0, 1fr) 300px; } }
.svp-main { min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.svp-card { background: #fff; border: 1px solid var(--svp-line); border-radius: 16px; box-shadow: 0 1px 2px rgba(10, 44, 61, .04); overflow: hidden; }

/* hero */
.svp-cover { height: 160px; background: #FCF7F9 center / cover no-repeat; }
.svp-cover--none { background: #FCF7F9 url(/wp-content/uploads/2025/10/header-outer-bg-1.png) center top / cover no-repeat; border-bottom: 1px solid #F1E7EA; }
.svp-hero-body { padding: 0 28px 26px; }
.svp-photo { display: inline-block; margin-top: -56px; border-radius: 50%; box-shadow: 0 0 0 4px #fff, 0 4px 12px rgba(10, 44, 61, .12); background: #fff; line-height: 0; }
.svp-photo img, .svp-ini { border-radius: 50%; object-fit: cover; display: block; }
.svp-ini { display: grid !important; place-items: center; background: #9C1C1F; color: #fff; font-family: Oswald, Arial, sans-serif; font-weight: 600; line-height: 1; }
.svp-hero-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-top: 12px; flex-wrap: wrap; }
.svp-who { min-width: 0; flex: 1 1 320px; }
.svp .svp-name { margin: 0 !important; font: 700 30px/1.15 Oswald, Arial, sans-serif !important; letter-spacing: .005em; color: var(--svp-ink) !important; text-transform: none !important; overflow-wrap: anywhere; }
.svp .svp-line { margin: 6px 0 0 !important; font: 400 14px/1.45 Roboto, Arial, sans-serif !important; color: var(--svp-muted) !important; }
.svp .svp-line b { font-weight: 600; color: var(--svp-ink); }
.svp-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.svp-pills span { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: 999px; background: #F1F4F7; font: 600 12px/1 Roboto, Arial, sans-serif; color: #33414E; }
.svp-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.svp .svp-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid #D5DCE3; background: #fff; font: 500 14px/1 Roboto, Arial, sans-serif !important; color: var(--svp-ink) !important; text-decoration: none !important; white-space: nowrap; transition: background .15s, border-color .15s, color .15s; }
.svp .svp-btn:hover { border-color: var(--svp-maroon); color: var(--svp-maroon) !important; background: var(--svp-blush); }
.svp .svp-btn--pri { background: var(--svp-maroon); border-color: var(--svp-maroon); color: #fff !important; font-weight: 600 !important; }
.svp .svp-btn--pri:hover { background: var(--svp-maroon-d); border-color: var(--svp-maroon-d); color: #fff !important; }
.svp .svp-btn:focus-visible { outline: 2px solid var(--svp-maroon); outline-offset: 2px; }

/* tabs */
.svp-tabs { display: flex; gap: 4px; padding: 0 12px; border-bottom: 1px solid var(--svp-line); overflow-x: auto; }
.svp .svp-tabs a { display: inline-flex; align-items: center; min-height: 52px; padding: 0 16px; border-bottom: 3px solid transparent; margin-bottom: -1px; font: 600 15px/1 Oswald, Arial, sans-serif !important; letter-spacing: .01em; color: #5B6775 !important; text-decoration: none !important; white-space: nowrap; }
.svp .svp-tabs a:hover { color: var(--svp-maroon) !important; }
.svp .svp-tabs a.is-on { color: var(--svp-maroon) !important; border-bottom-color: var(--svp-maroon); }
.svp-content { padding: 20px 24px 26px; background: #FAFBFC; }
.svp .svp-h { margin: 0 0 14px !important; font: 600 14px/1.2 Oswald, Arial, sans-serif !important; letter-spacing: .06em; text-transform: uppercase; color: var(--svp-ink) !important; }

/* about */
.svp-box { background: #fff; border: 1px solid var(--svp-line); border-radius: 16px; padding: 26px 30px; }
.svp .svp-bio { margin: 0 !important; font: 400 15px/1.65 Roboto, Arial, sans-serif !important; color: var(--svp-ink) !important; }
.svp .svp-bio--none { color: var(--svp-muted) !important; font-size: 14px !important; }
.svp-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 48px; margin-top: 28px; }
.svp .svp-k { margin: 0 0 12px !important; font: 600 12px/1.2 Oswald, Arial, sans-serif !important; letter-spacing: .1em; text-transform: uppercase; color: var(--svp-maroon) !important; }
.svp-rows { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.svp-rows li { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 0 !important; padding: 11px 0; border-bottom: 1px solid #EEF1F4; font: 400 14px/1.4 Roboto, Arial, sans-serif; }
.svp-rows li:last-child { border-bottom: 0; }
.svp-rows span { color: var(--svp-muted); flex: none; }
.svp-rows b { font-weight: 600; color: var(--svp-ink); text-align: right; overflow-wrap: anywhere; }
.svp-rows em { font-style: normal; color: #B8C2CC; }
.svp .svp-rows a { color: var(--svp-maroon) !important; font-weight: 600; text-decoration: none !important; }
.svp .svp-rows a:hover { text-decoration: underline !important; }

/* connections */
.svp-conn { list-style: none !important; margin: 0 !important; padding: 0 !important; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.svp-conn li { margin: 0 !important; }
.svp .svp-conn a { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; height: 100%; padding: 18px 12px; background: #fff; border: 1px solid var(--svp-line); border-radius: 16px; text-decoration: none !important; transition: box-shadow .15s, border-color .15s; }
.svp .svp-conn a:hover { border-color: #E9C4C4; box-shadow: 0 6px 18px rgba(10, 44, 61, .08); }
.svp-conn b { margin-top: 8px; font: 600 14px/1.3 Oswald, Arial, sans-serif; color: var(--svp-ink); overflow-wrap: anywhere; }
.svp .svp-conn a:hover b { color: var(--svp-maroon); }
.svp-conn small { font: 400 12px/1.35 Roboto, Arial, sans-serif; color: var(--svp-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.svp-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 20px; }
.svp .svp-pg { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--svp-line); background: #fff; font: 600 14px/1 Roboto, Arial, sans-serif; color: #33414E !important; text-decoration: none !important; }
.svp .svp-pg:hover { border-color: var(--svp-maroon); color: var(--svp-maroon) !important; }
.svp .svp-pg.is-on { background: var(--svp-maroon); border-color: var(--svp-maroon); color: #fff !important; }
.svp .svp-pg.is-off { opacity: .4; }
.svp .svp-empty { margin: 0 !important; padding: 36px 16px; text-align: center; background: #fff; border: 1px solid var(--svp-line); border-radius: 16px; font: 400 14px/1.5 Roboto, Arial, sans-serif; color: var(--svp-muted); }

/* right column: the 300x250, then an invitation to join */
.svp-rail { display: none; flex-direction: column; gap: 20px; }
@media (min-width: 1024px) { .svp-rail { display: flex; position: sticky; top: 100px; } }
.svp-rail .smec-ad300 { width: 300px; min-height: 250px; display: flex; align-items: center; justify-content: center; border-radius: 16px; overflow: hidden; background: #F1F3F6; }
.svp-rail .smec-ad300:empty, .svp-rail .smec-ad300.is-empty { display: none; }
.svp-join { padding: 22px; }
.svp .svp-join h2 { margin: 0 !important; font: 600 18px/1.25 Oswald, Arial, sans-serif !important; color: var(--svp-ink) !important; text-transform: none !important; }
.svp .svp-join p { margin: 8px 0 16px !important; font: 400 13.5px/1.5 Roboto, Arial, sans-serif !important; color: var(--svp-muted) !important; }
.svp-join .svp-btn { width: 100%; }
.svp .svp-join-in { display: block; margin-top: 12px; text-align: center; font: 500 13px/1.4 Roboto, Arial, sans-serif; color: var(--svp-maroon) !important; text-decoration: none !important; }
.svp .svp-join-in:hover { text-decoration: underline !important; }

/* phones */
@media (max-width: 767px) {
	.svp { padding: 12px 12px 32px; }
	.svp-main { gap: 12px; }
	.svp-cover { height: 120px; }
	.svp-hero-body { padding: 0 18px 20px; }
	.svp-photo { margin-top: -48px; }
	.svp-photo img, .svp-photo .svp-ini { width: 88px !important; height: 88px !important; }
	.svp .svp-name { font-size: 25px !important; }
	.svp-actions { width: 100%; }
	.svp-actions .svp-btn { flex: 1 1 100%; }
	.svp-content { padding: 16px 14px 20px; }
	.svp-box { padding: 20px 18px; }
	.svp-cols { grid-template-columns: 1fr; gap: 22px; margin-top: 22px; }
	.svp-conn { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.svp-conn img, .svp-conn .svp-ini { width: 56px !important; height: 56px !important; border-radius: 50% !important; object-fit: cover; display: block; flex: none; }
/* test copies show a placeholder instead of the live ad */
.svp-rail .smesa-ad-ph { width: 300px; height: 250px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; background: #F1F3F6; border: 1px dashed #CBD5E1; border-radius: 16px; font-family: Roboto, Arial, sans-serif; color: #64748B; }
.svp-rail .smesa-ad-ph span { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.svp-rail .smesa-ad-ph b { font-size: 15px; font-weight: 500; }

/* ---- 2026-10-14: LinkedIn-style gate. Details and connections are locked panels drawn with placeholder shapes (no member data). ---- */
.svp-gated { position: relative; margin-top: 26px; border-radius: 16px; overflow: hidden; }
.svp-ghost { filter: blur(3px); opacity: .7; pointer-events: none; user-select: none; }
.svp-ghost > div { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 4px; border-bottom: 1px solid #EEF1F4; font: 400 14px/1.4 Roboto, Arial, sans-serif; color: var(--svp-muted); }
.svp-ghost > div i { display: block; width: 38%; height: 11px; border-radius: 6px; background: #D7DDE4; }
.svp-ghost--conn { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.svp-ghost--conn > div { flex-direction: column; justify-content: center; padding: 18px 12px; border: 1px solid var(--svp-line); border-radius: 14px; background: #fff; }
.svp-ghost--conn > div i { width: 56px; height: 56px; border-radius: 50%; background: #D7DDE4; }
.svp-ghost--conn > div b { display: block; width: 70%; height: 10px; border-radius: 6px; background: #CFD6DF; }
.svp-ghost--conn > div s { display: block; width: 50%; height: 8px; border-radius: 6px; background: #E3E7ED; }
.svp-lock { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 18px; background: linear-gradient(180deg, rgba(255,255,255,.35), rgba(255,255,255,.92) 45%); }
.svp-lock-ico { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--svp-blush, #F7E9E9); color: var(--svp-maroon, #9C1C1F); margin-bottom: 10px; }
.svp .svp-lock-t { margin: 0 0 6px !important; font: 600 19px/1.25 Oswald, Arial, sans-serif; color: var(--svp-ink); }
.svp .svp-lock-p { margin: 0 0 14px !important; max-width: 440px; font: 400 14px/1.5 Roboto, Arial, sans-serif; color: var(--svp-muted); }
.svp-lock-a { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.svp-lock-a .svp-btn { min-width: 120px; }
.svp-gated--conn { min-height: 300px; margin-top: 0; } /* no heading above it any more (Joel, 2026-10-15; Tshepho, Account and profile agent) */

/* More SMEs: in the rail on laptops, under the profile on phones. */
.svp-more { padding: 20px 20px 16px; }
.svp .svp-more h2 { margin: 0 0 10px !important; font: 600 17px/1.25 Oswald, Arial, sans-serif !important; color: var(--svp-ink) !important; text-transform: none !important; }
.svp-more ul { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.svp-more li { margin: 0 !important; border-bottom: 1px solid #EEF1F4; }
.svp-more li:last-child { border-bottom: 0; }
.svp .svp-more li a { display: flex; align-items: center; gap: 12px; padding: 10px 0; min-height: 56px; text-decoration: none !important; color: inherit !important; }
.svp-more li img, .svp-more li .svp-ini { flex: none; border-radius: 50%; object-fit: cover; }
.svp-more li span { min-width: 0; display: flex; flex-direction: column; }
.svp-more li b { font: 600 14px/1.3 Roboto, Arial, sans-serif; color: var(--svp-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.svp .svp-more li a:hover b { color: var(--svp-maroon); }
.svp-more li small { font: 400 12.5px/1.35 Roboto, Arial, sans-serif; color: var(--svp-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.svp .svp-more-all { display: flex; align-items: center; justify-content: center; min-height: 44px; margin-top: 8px; font: 600 14px/1 Roboto, Arial, sans-serif; color: var(--svp-maroon) !important; text-decoration: none !important; }
.svp-more--main { display: block; }
@media (min-width: 1024px) { .svp-more--main { display: none; } }

/* Soft wall after a few profiles in a day (never on the profile a search engine sent the visitor to). */
html.svp-walled, html.svp-walled body { overflow: hidden; }
.svp-wall { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(10, 44, 61, .55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.svp-wall[hidden] { display: none; }
.svp-wall-in { width: 100%; max-width: 420px; background: #fff; border-radius: 20px; box-shadow: 0 24px 60px rgba(10, 44, 61, .3); padding: 28px 24px 18px; text-align: center; font-family: Roboto, Arial, sans-serif; }
.svp-wall-in h2 { margin: 0 0 8px; font: 600 24px/1.2 Oswald, Arial, sans-serif; color: #0A2C3D; text-transform: none; }
.svp-wall-in p { margin: 0 0 18px; font-size: 15px; line-height: 1.55; color: #4a5866; }
.svp-wall .svp-btn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; margin: 0 0 10px; border-radius: 999px; border: 1px solid #D5DCE3; background: #fff; color: #0A2C3D !important; font: 600 15px/1 Roboto, Arial, sans-serif; text-decoration: none !important; }
.svp-wall .svp-btn--pri { background: #9C1C1F; border-color: #9C1C1F; color: #fff !important; }
.svp-wall .svp-btn--pri:hover { background: #7E1619; }
.svp-wall-home { display: inline-flex; align-items: center; min-height: 40px; font-size: 13.5px; color: #64748B !important; text-decoration: none !important; }
@media (max-width: 767px) { .svp-ghost--conn { grid-template-columns: repeat(2, minmax(0, 1fr)); } .svp-gated--conn { min-height: 380px; } .svp-lock-a { width: 100%; } .svp-lock-a .svp-btn { flex: 1; } }
