/* GFunnel — People (/people). inc/gf_people.inc.php.
   The homepage's language: a dark grid hero, then light cards on white.
   Every rule is scoped by .gfpe so nothing leaks into the member shell. */

.gfpe { --gfpe-ink: #0F172A; --gfpe-dim: #5B606A; --gfpe-line: #E6E8EC; --gfpe-card: #FFFFFF; --gfpe-orange: #F97316; --gfpe-orange-600: #EA580C; font-family: 'DM Sans', system-ui, sans-serif; color: var(--gfpe-ink); }

/* ---- hero ---- */
.gfpe-hero { position: relative; overflow: hidden; padding: 72px 0 64px; text-align: center; color: #fff;
    background: radial-gradient(60% 80% at 15% 0%, rgba(249, 115, 22, .22), transparent 60%), radial-gradient(60% 80% at 90% 10%, rgba(59, 91, 219, .30), transparent 65%), #0A0B14; }
.gfpe-hero::before { content: ''; position: absolute; inset: 0; pointer-events: none;
    background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 56px 56px; -webkit-mask-image: radial-gradient(70% 90% at 50% 30%, #000 30%, transparent 85%); mask-image: radial-gradient(70% 90% at 50% 30%, #000 30%, transparent 85%); }
.gfpe-hero .gfh-container { position: relative; }
.gfpe-kicker { margin: 0 0 14px; font-size: 14px; font-weight: 700; color: #FDBA74; }
.gfpe .gfpe-h1 { margin: 0 auto; max-width: 760px; font-family: 'Sora', sans-serif; font-weight: 800; font-size: clamp(30px, 5vw, 52px); line-height: 1.08; letter-spacing: -.02em; color: #fff; }
.gfpe .gfpe-sub { margin: 18px auto 0; max-width: 560px; font-size: clamp(15px, 2vw, 18px); line-height: 1.55; color: rgba(255, 255, 255, .72); }
.gfpe .gfpe-count { margin: 16px auto 0; font-size: 14.5px; color: rgba(255, 255, 255, .6); }
.gfpe-count b { color: #fff; font-weight: 700; }
.gfpe-search { display: flex; align-items: center; gap: 10px; max-width: 560px; margin: 28px auto 0; padding: 6px 6px 6px 18px; border-radius: 16px;
    background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 18px 50px rgba(0, 0, 0, .35); }
.gfpe-search svg { flex: 0 0 auto; color: rgba(255, 255, 255, .55); }
.gfpe-search input { flex: 1 1 auto; min-width: 0; height: 44px; border: 0; outline: 0; background: transparent; color: #fff; font: inherit; font-size: 16px; }
.gfpe-search input::placeholder { color: rgba(255, 255, 255, .5); }
.gfpe-search button { flex: 0 0 auto; height: 44px; padding: 0 20px; border: 0; border-radius: 11px; cursor: pointer; background: var(--gfpe-orange); color: #fff; font: inherit; font-weight: 700; font-size: 15px; transition: background .15s ease; }
.gfpe-search button:hover { background: var(--gfpe-orange-600); }
.gfpe-search:focus-within { border-color: rgba(249, 115, 22, .7); }

/* ---- body ---- */
.gfpe-body { padding: 36px 0 72px; }
.gfpe-mine { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 24px; }
.gfpe-mine-label { font-size: 13.5px; font-weight: 700; color: var(--gfpe-dim); margin-right: 4px; }
.gfpe-chip { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--gfpe-line); color: var(--gfpe-ink); font-size: 14px; font-weight: 600; text-decoration: none; transition: border-color .15s ease, background .15s ease; }
.gfpe-chip:hover { border-color: var(--gfpe-orange); background: #FFF7ED; }

.gfpe-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.gfpe-shown { font-size: 15px; font-weight: 700; }
.gfpe-clear { margin-left: 8px; font-weight: 600; color: var(--gfpe-orange-600); text-decoration: none; }
.gfpe-clear:hover { text-decoration: underline; }
.gfpe-sorts { display: inline-flex; padding: 4px; border-radius: 12px; background: #F3F4F6; }
.gfpe-sort { display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border-radius: 9px; font-size: 14px; font-weight: 600; color: var(--gfpe-dim); text-decoration: none; }
.gfpe-sort:hover { color: var(--gfpe-ink); }
.gfpe-sort-on { background: #fff; color: var(--gfpe-ink); box-shadow: 0 1px 3px rgba(15, 23, 42, .12); }

.gfpe-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.gfpe-card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 26px 18px 20px; border-radius: 20px; background: var(--gfpe-card); border: 1px solid var(--gfpe-line);
    color: inherit; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.gfpe-card:hover { transform: translateY(-3px); border-color: #FED7AA; box-shadow: 0 18px 40px rgba(15, 23, 42, .10); }
.gfpe-card:focus-visible { outline: 3px solid rgba(249, 115, 22, .5); outline-offset: 2px; }
.gfpe-face-wrap { position: relative; display: inline-block; }
.gfpe-face { display: block; width: 84px; height: 84px; border-radius: 50%; object-fit: cover; background: #F3F4F6; box-shadow: 0 0 0 4px #fff, 0 6px 18px rgba(15, 23, 42, .14); }
.gfpe-face-ini { display: flex; align-items: center; justify-content: center; font-family: 'Sora', sans-serif; font-weight: 700; font-size: 28px; color: #fff; }
.gfpe-hue-0 { background: linear-gradient(135deg, #F97316, #C2410C); }
.gfpe-hue-1 { background: linear-gradient(135deg, #3B5BDB, #1E3A8A); }
.gfpe-hue-2 { background: linear-gradient(135deg, #0EA5A4, #0F766E); }
.gfpe-hue-3 { background: linear-gradient(135deg, #8B5CF6, #5B21B6); }
.gfpe-hue-4 { background: linear-gradient(135deg, #E11D48, #9F1239); }
.gfpe-hue-5 { background: linear-gradient(135deg, #475569, #1E293B); }
.gfpe-online { position: absolute; right: 4px; bottom: 4px; width: 16px; height: 16px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 3px #fff; }
.gfpe-name { margin-top: 16px; font-family: 'Sora', sans-serif; font-weight: 700; font-size: 17px; line-height: 1.3; overflow-wrap: anywhere; }
.gfpe-headline { margin-top: 6px; font-size: 14px; line-height: 1.5; color: var(--gfpe-dim); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gfpe-meta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 6px; margin-top: 10px; font-size: 13px; color: var(--gfpe-dim); }
.gfpe-meta-loc { display: inline-flex; align-items: center; gap: 4px; }
.gfpe-dot { color: #CBD5E1; }
.gfpe-view { margin-top: auto; padding-top: 16px; font-size: 14px; font-weight: 700; color: var(--gfpe-orange-600); }

.gfpe-empty { padding: 56px 20px; text-align: center; border: 1px dashed var(--gfpe-line); border-radius: 20px; color: var(--gfpe-dim); }
.gfpe-empty p { margin: 0 0 16px; font-size: 16px; }

.gfpe-pager { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 36px; }
.gfpe-pg { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 12px; border: 1px solid var(--gfpe-line); color: var(--gfpe-ink); font-weight: 600; font-size: 14.5px; text-decoration: none; }
a.gfpe-pg:hover { border-color: var(--gfpe-orange); }
.gfpe-pg-off { color: #A1A7B3; }
.gfpe-pg-at { font-size: 14px; color: var(--gfpe-dim); }

/* ---- guest call to action ---- */
.gfpe-cta { padding: 0 0 80px; }
.gfpe-cta-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 36px 40px; border-radius: 24px; background: linear-gradient(135deg, #FFF7ED, #FFEDD5); }
.gfpe-cta h2 { margin: 0; font-family: 'Sora', sans-serif; font-weight: 800; font-size: clamp(22px, 3vw, 30px); letter-spacing: -.01em; }
.gfpe-cta p { margin: 8px 0 0; font-size: 15.5px; color: var(--gfpe-dim); }

@media (max-width: 1100px) { .gfpe-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 820px) {
    .gfpe-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .gfpe-cta-in { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
}
@media (max-width: 560px) {
    .gfpe-hero { padding: 48px 0 44px; }
    .gfpe-search { margin-top: 22px; padding-left: 14px; }
    .gfpe-search button { padding: 0 16px; }
    .gfpe-body { padding-top: 24px; }
    .gfpe-mine { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 20px; padding: 0 16px 4px; scrollbar-width: none; }
    .gfpe-mine::-webkit-scrollbar { display: none; }
    .gfpe-chip, .gfpe-mine-label { flex: 0 0 auto; }
    .gfpe-card { padding: 20px 12px 16px; border-radius: 16px; }
    .gfpe-face { width: 64px; height: 64px; }
    .gfpe-face-ini { font-size: 22px; }
    .gfpe-name { margin-top: 12px; font-size: 15px; }
    .gfpe-headline { font-size: 13px; }
    .gfpe-view { font-size: 13px; padding-top: 12px; }
    .gfpe-cta .gfh-btn { width: 100%; justify-content: center; }
}
@media (max-width: 560px) {
    .gfpe-meta { flex-direction: column; gap: 2px; }
    .gfpe-dot { display: none; }
}

/* ---- the directory sections (tabs, category tiles, vendors, ways, FAQ) ---- */
.gfpe-tabs { display: inline-flex; gap: 4px; margin: 28px auto 0; padding: 4px; border-radius: 12px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); }
.gfpe-tab { display: inline-flex; align-items: center; min-height: 36px; padding: 0 18px; border-radius: 9px; color: rgba(255, 255, 255, .75); font-size: 14.5px; font-weight: 700; text-decoration: none; }
.gfpe-tab:hover { color: #fff; }
.gfpe-tab-on { background: #fff; color: var(--gfpe-ink); }
.gfpe-tab-on:hover { color: var(--gfpe-ink); }
.gfpe-tabs + .gfpe-search { margin-top: 14px; }

.gfpe-cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin-bottom: 44px; }
.gfpe-cat { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px; border-radius: 16px; background: #fff; border: 1px solid var(--gfpe-line); color: var(--gfpe-ink); text-decoration: none; transition: border-color .15s ease, box-shadow .15s ease; }
.gfpe-cat:hover, .gfpe-cat-on { border-color: var(--gfpe-orange); box-shadow: 0 8px 22px rgba(249, 115, 22, .12); }
.gfpe-cat-ic { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 11px; background: #FFF7ED; color: var(--gfpe-orange-600); }
.gfpe-cat-ic svg { width: 20px; height: 20px; }
.gfpe-cat-t { font-size: 14.5px; font-weight: 700; line-height: 1.3; }
.gfpe-cat-n { margin-top: -6px; font-size: 13px; color: var(--gfpe-dim); }

.gfpe-sec { margin-bottom: 56px; }
.gfpe-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.gfpe .gfpe-head h2, .gfpe .gfpe-shown { margin: 0; font-family: 'Sora', sans-serif; font-weight: 800; font-size: clamp(22px, 2.6vw, 28px); letter-spacing: -.01em; color: var(--gfpe-ink); }
.gfpe .gfpe-head p { margin: 6px 0 0; font-size: 15px; color: var(--gfpe-dim); }
.gfpe-more { flex: 0 0 auto; font-weight: 700; font-size: 14.5px; color: var(--gfpe-orange-600); text-decoration: none; white-space: nowrap; }
.gfpe-more:hover { text-decoration: underline; }
.gfpe .gfv { max-width: none; margin: 0; padding: 0; }
.gfpe .gfv-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .gfpe .gfv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
    .gfpe-strip .gfv-grid { display: flex; overflow-x: auto; gap: 12px; margin: 0 -16px; padding: 0 16px 6px; scrollbar-width: none; }
    .gfpe-strip .gfv-grid::-webkit-scrollbar { display: none; }
    .gfpe-strip .gfv-card { flex: 0 0 82%; }
    .gfpe .gfv-grid { grid-template-columns: 1fr; }
}

.gfpe-ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gfpe-way { display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: 20px; background: #fff; border: 1px solid var(--gfpe-line); color: var(--gfpe-ink); text-decoration: none; transition: border-color .15s ease, transform .18s ease, box-shadow .18s ease; }
.gfpe-way:hover { border-color: #FED7AA; transform: translateY(-3px); box-shadow: 0 18px 40px rgba(15, 23, 42, .08); }
.gfpe-way-ic { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 13px; background: #0F172A; color: #fff; margin-bottom: 6px; }
.gfpe-way-t { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 18px; }
.gfpe-way-d { font-size: 14.5px; line-height: 1.55; color: var(--gfpe-dim); }
.gfpe-way-go { margin-top: auto; padding-top: 8px; font-weight: 700; font-size: 14.5px; color: var(--gfpe-orange-600); }

.gfpe-faq { max-width: 820px; }
.gfpe-q { border-bottom: 1px solid var(--gfpe-line); }
.gfpe-q summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 14px 0; cursor: pointer; list-style: none; font-weight: 700; font-size: 16px; }
.gfpe-q summary::-webkit-details-marker { display: none; }
.gfpe-q summary::after { content: '+'; flex: 0 0 auto; font-size: 22px; font-weight: 400; color: var(--gfpe-dim); transition: transform .15s ease; }
.gfpe-q[open] summary::after { transform: rotate(45deg); }
.gfpe .gfpe-q p { margin: 0 0 18px; font-size: 15px; line-height: 1.6; color: var(--gfpe-dim); }

@media (max-width: 820px) {
    .gfpe-ways { grid-template-columns: 1fr; }
    .gfpe-head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
    .gfpe-cats { display: flex; overflow-x: auto; margin: 0 -16px 32px; padding: 0 16px 6px; scrollbar-width: none; }
    .gfpe-cats::-webkit-scrollbar { display: none; }
    .gfpe-cat { flex: 0 0 auto; width: 150px; }
    .gfpe-tabs { margin-top: 22px; }
    .gfpe-sec { margin-bottom: 44px; }
}
/* The persons module's own cards, when they stand in for the grid (members only). */
.gfpe-native { margin-top: 4px; }
