/* Explore SEQ profiles: avatars beside names, the public page /people/<name>/ and My SEQ > Profile. Big Sky tokens (--ink, --accent, --line...). */

/* ------------------------------------------------------------ avatars */
.es-prof-av { display: inline-block; flex: none; width: 28px; height: 28px; border-radius: 50%; overflow: hidden; vertical-align: middle; line-height: 0; background: var(--alt); }
.es-prof-av svg { display: block; width: 100%; height: 100%; }
.es-prof-av--l { width: 56px; height: 56px; }
.es-prof-av--m { width: 64px; height: 64px; }
.es-prof-av--xl { width: 112px; height: 112px; box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--line); }
.es-prof-av--c { width: auto; height: auto; }

/* name + avatar, one link (plain when private) */
.es-prof-who { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; vertical-align: middle; color: inherit; text-decoration: none; }
.es-prof-who__n { min-width: 0; overflow-wrap: anywhere; }
a.es-prof-who--link { text-decoration: none; }
a.es-prof-who--link .es-prof-who__n { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
a.es-prof-who--link:hover .es-prof-who__n, a.es-prof-who--link:focus-visible .es-prof-who__n { color: var(--accent-ink); text-decoration-color: currentColor; }
a.es-prof-who--link:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
/* dense lists (tips, photo credits, Community page rows): 24 px */
.es-cm-know__w .es-prof-av, .es-cm-grid__c .es-prof-av, .es-cx-by .es-prof-av, .es-prof-item .es-prof-av { width: 24px; height: 24px; }
.es-cm-rev__who { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; }

/* the "Explore SEQ" team tick */
.es-prof-team { display: inline-flex; align-items: center; gap: 4px; margin-left: 8px; padding: 2px 8px 2px 6px; border-radius: 999px; background: var(--ink); color: var(--accent); font: 700 11.5px/1.4 var(--font-body); letter-spacing: .02em; vertical-align: middle; white-space: nowrap; }
.es-prof-team svg { flex: none; }

/* WordPress comment avatars (no Gravatar) */
.comment_avatar .es-prof-av, .comment-author .es-prof-av { margin: 0; }

/* ------------------------------------------------------------ the public page */
.es-prof { max-width: 920px; margin: 0 auto; }
.es-prof-head { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 28px; align-items: start; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); margin: 0 0 22px; }
.es-prof-head__n { margin: 0 0 8px; font: 700 clamp(28px, 3.4vw, 40px)/1.1 var(--font-heading); letter-spacing: -.03em; overflow-wrap: anywhere; }
.es-prof-head__m { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0 0 12px; }
.es-prof-head__since { font: 600 14.5px/1.3 var(--font-body); color: var(--muted); }
.es-prof-head__bio { margin: 0 0 12px; font-size: 17px; line-height: 1.55; color: var(--text); overflow-wrap: anywhere; }
.es-prof-head__link { margin: 0 0 10px; font: 600 15.5px/1.4 var(--font-body); overflow-wrap: anywhere; }
.es-prof-head__link a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.es-prof-head__act { margin: 8px 0 0; }
.es-prof-level { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--alt-2); color: var(--ink); font: 700 13.5px/1.3 var(--font-body); }
.es-prof-level--1 { background: #dbeaf0; color: #0a4358; }
.es-prof-level--2 { background: #fde9c3; color: #7a4f06; }
.es-prof-level--3 { background: var(--ink); color: var(--accent); }
.es-prof-report { display: inline-flex; align-items: center; min-height: 44px; padding: 0; background: none; border: 0; font: 600 14px/1.2 var(--font-body); color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.es-prof-report:hover { color: var(--accent-ink); }
.es-prof-report--sm { min-height: 32px; margin-left: 6px; font-size: 13px; }
.es-prof-sec { margin: 0 0 22px; padding: 24px 26px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); }
.es-prof-sec h3 { margin: 0 0 14px; font: 700 21px/1.2 var(--font-heading); letter-spacing: -.02em; }
.es-prof-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.es-prof-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 12px; border-radius: 999px; background: var(--alt); border: 1px solid var(--line); font: 600 14px/1.2 var(--font-body); color: var(--text); }
.es-prof-badge::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--bc, var(--accent)); flex: none; }
.es-prof-badge--pp { --bc: var(--action); background: var(--action-tint); border-color: #c4dbe3; }
.es-prof-pp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 320px); gap: 24px; align-items: start; }
.es-prof-pp__stats { display: grid; gap: 14px; align-content: start; }
.es-prof-stat { display: flex; align-items: baseline; gap: 10px; margin: 0; }
.es-prof-stat b { font: 700 34px/1 var(--font-heading); letter-spacing: -.03em; }
.es-prof-stat span { font: 600 15px/1.3 var(--font-body); color: var(--muted); }
.es-prof-regions { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.es-prof-regions li { padding: 5px 12px; border-radius: 999px; background: var(--alt); font: 600 13.5px/1.2 var(--font-body); }
.es-prof-map svg { display: block; width: 100%; height: auto; }
.es-prof-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.es-prof-photos a { display: block; color: inherit; text-decoration: none; }
.es-prof-photos img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }
.es-prof-photos span { display: block; margin: 6px 2px 0; font: 600 13.5px/1.3 var(--font-body); color: var(--muted); }
.es-prof-list { margin: 0; padding: 0; list-style: none; }
.es-prof-item { padding: 14px 0; border-top: 1px solid var(--line); }
.es-prof-item:first-child { border-top: 0; padding-top: 0; }
.es-prof-item p { margin: 0 0 6px; font-size: 16px; line-height: 1.55; overflow-wrap: anywhere; }
.es-prof-item__h { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-weight: 600; }
.es-prof-item__h a, .es-prof-item__on a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.es-prof-item__on { color: var(--muted); font-size: 14.5px; }

/* ------------------------------------------------------------ My SEQ > Profile */
.es-prof-pv { display: flex; gap: 16px; align-items: center; margin: 0 0 12px; padding: 14px 16px; border-radius: 18px; background: var(--alt); }
.es-prof-pv__n { display: block; margin: 0 0 6px; font: 700 19px/1.2 var(--font-heading); }
.es-prof-pv p { margin: 6px 0 0; font-size: 15px; line-height: 1.5; }
.es-prof-switch { margin-top: 12px; }
.es-prof-switch small { display: block; margin-top: 4px; line-height: 1.5; }
.es-prof-first { margin-top: 0; }
.es-prof-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 10px; margin: 14px 0 0; padding: 0; list-style: none; }
.es-prof-pick__b { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 100%; min-height: 44px; padding: 12px 6px 10px; background: #fff; border: 2px solid var(--line); border-radius: 16px; font: 600 13.5px/1.25 var(--font-body); color: var(--text); text-align: center; cursor: pointer; }
.es-prof-pick__b:hover { border-color: var(--line-2); }
.es-prof-pick__b:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.es-prof-pick__b.is-on { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.es-prof-pick__b.is-locked { cursor: not-allowed; background: var(--alt); }
.es-prof-pick__b.is-locked .es-prof-av { filter: grayscale(1); opacity: .45; }
.es-prof-pick__b.is-locked .es-prof-pick__t { color: var(--muted); }
.es-prof-pick__u { font: 600 11.5px/1.25 var(--font-body); color: var(--muted); }
.es-prof-pick__u--ok { color: var(--accent-ink); }
.es-prof-ta, .es-prof-in { width: 100%; padding: 12px 16px; font: 500 16px/1.45 var(--font-body); color: var(--text); background: #fff; border: 1px solid var(--line-2); border-radius: 14px; box-sizing: border-box; resize: vertical; }
.es-prof-in { height: 54px; padding: 0 16px; }
.es-prof-ta:focus-visible, .es-prof-in:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; }
.es-prof-count { margin: 4px 0 10px; font: 600 13px/1 var(--font-body); color: var(--muted); text-align: right; }
.es-prof-inl { display: inline; margin: 0; }
.es-acct-form[data-bio] .btn, .es-acct-form[data-link] .btn { width: auto; margin-top: 8px; }

@media (max-width: 700px) {
  .es-prof-head { grid-template-columns: 1fr; gap: 16px; padding: 22px 20px; }
  .es-prof-av--xl { width: 88px; height: 88px; }
  .es-prof-pp { grid-template-columns: 1fr; }
  .es-prof-sec { padding: 20px 18px; }
  .es-prof-pick { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
  .es-prof-av--m { width: 56px; height: 56px; }
}

/* the profile top block now sits in the dark page hero (brief 10) */
.es-prof-hero { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 28px; align-items: center; margin: 18px 0 0; max-width: 760px; }
.es-prof-hero .es-prof-head__since { color: rgba(255, 255, 255, .78); }
.es-prof-hero .es-prof-head__bio { color: #fff; margin: 0 0 10px; }
.es-prof-hero .es-prof-head__link a { color: var(--accent); }
.es-prof-hero .es-prof-report { color: rgba(255, 255, 255, .8); }
.es-prof-hero .es-prof-head__m { margin: 0 0 10px; }
.es-prof-hero .es-prof-head__act { margin: 6px 0 0; }
.es-prof-pp { grid-template-columns: minmax(0, 1fr) 240px; align-items: center; }
.es-prof-map { max-width: 240px; justify-self: end; }
.es-prof-map svg { max-height: 280px; }
@media (max-width: 700px) {
  .es-prof-hero { grid-template-columns: 1fr; gap: 14px; }
  .es-prof-pp { grid-template-columns: 1fr; }
  .es-prof-map { justify-self: center; width: 100%; max-width: 280px; }
}
.es-prof-hero { margin-bottom: 34px; }
