/*
 * Latina Network - css/ln-identity.css (2.0.0)
 *
 * Member profile components added with VibeSociety Core: MyConnect card
 * extras (Save contact, Featured in, QR code, member sponsor) and the
 * filterable directory (template-parts/identity/directory.php). Brand tokens
 * only. Loaded by those partials when they print.
 */

/* ── MyConnect card extras ────────────────────────────────────────────────── */
.mc-extras {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}
.mc-extras .ln-sponsor-zone {
  margin: 0;
  padding: 0;
}
.mc-linked-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mc-linked-list li + li {
  margin-top: 8px;
}
.mc-linked-list a {
  font-family: var(--font-serif);
  font-size: 18px;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.mc-qr {
  margin: 0 auto;
  max-width: 180px;
  background: #fff;
  padding: 8px;
}
.mc-qr svg {
  display: block;
  width: 100%;
  height: auto;
}

/* ── Directory filters (template-parts/identity/directory.php) ───────────── */
.dir-filter-apply {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 12px 22px;
  border: 0;
  background: var(--tierra);
  color: var(--crema);
  cursor: pointer;
}
.dir-pages {
  margin: 40px 0 0;
  text-align: center;
  font-family: var(--font-sans);
}
.dir-pages .page-numbers {
  display: inline-block;
  padding: 6px 12px;
  color: var(--plum);
}
.dir-pages .page-numbers.current {
  background: var(--plum);
  color: var(--crema);
}

/* ==========================================================================
   Latina Visionary — rebuilt section registry (VibeSociety Core, flag
   visionary_rebuild). Legacy vp-* rules live in ln-member.css; these cover
   the new sections only. Tokens from style.css.
   ========================================================================== */
.ln-profile--sections .vp-section { padding: 2.5rem 0; border-bottom: 1px solid rgba(58, 31, 61, 0.1); }
.ln-profile--sections .vp-section--hero { padding: 0; border: 0; }
.ln-profile--sections .vp-section--sponsor, .ln-profile--sections .vp-section--capture { border: 0; }
.vp-byline { font-size: 0.95rem; color: var(--plum, #4a2550); margin: 0.25rem 0 0; }
.vp-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 0.75rem 0 0; padding: 0; }
.vp-badge { font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.2rem 0.6rem; border-radius: 999px; background: var(--crema, #f6efe6); color: var(--plum, #4a2550); }
.vp-section-header { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.vp-view-all { font-size: 0.8125rem; color: var(--tierra, #c4622d); text-decoration: none; }
.vp-quote { margin: 0; padding: 0 0 0 1.25rem; border-left: 4px solid var(--oro, #d9a441); font-size: 1.5rem; line-height: 1.35; font-style: italic; color: var(--plum-dark, #3a1f3d); }
.vp-skills, .vp-credentials, .vp-employment, .vp-press, .vp-events, .vp-network { list-style: none; margin: 0; padding: 0; }
.vp-skills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.vp-skill { padding: 0.3rem 0.75rem; border-radius: 999px; background: var(--crema, #f6efe6); font-size: 0.875rem; }
.vp-credential, .vp-job, .vp-press-item, .vp-event { padding: 0.5rem 0; border-bottom: 1px dashed rgba(58, 31, 61, 0.12); }
.vp-credential-verified { color: var(--teal, #1f7a7a); font-weight: 700; margin-left: 0.25rem; }
.vp-credential-issuer, .vp-job-org, .vp-press-outlet { color: rgba(58, 31, 61, 0.7); }
.vp-credential-year, .vp-job-dates, .vp-press-date { font-variant-numeric: tabular-nums; font-size: 0.8125rem; color: rgba(58, 31, 61, 0.6); margin-left: 0.5rem; }
.vp-press-link { text-decoration: none; color: inherit; }
.vp-press-link:hover .vp-press-title { text-decoration: underline; }
.vp-shows { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.vp-article-card--feature { grid-column: 1 / -1; margin-bottom: 1rem; }
.vp-gallery { display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.vp-gallery-item { margin: 0; }
.vp-gallery-item img, .vp-gallery-item picture img { width: 100%; height: auto; display: block; border-radius: 4px; }
.vp-gallery-item figcaption { font-size: 0.75rem; color: rgba(58, 31, 61, 0.7); margin-top: 0.25rem; }
.vp-testimonials { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.vp-testimonial { margin: 0; padding: 1.25rem; background: var(--crema, #f6efe6); border-radius: 6px; }
.vp-testimonial cite { display: block; margin-top: 0.75rem; font-style: normal; font-size: 0.8125rem; color: var(--plum, #4a2550); }
.vp-network { display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.vp-network-person a { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: inherit; }
.vp-network-person img { border-radius: 50%; object-fit: cover; }
.vp-network-title { display: block; font-size: 0.8125rem; color: rgba(58, 31, 61, 0.7); }
.vp-referral { text-align: center; padding: 2rem; background: var(--plum, #4a2550); color: #fff; border-radius: 8px; }
.vp-referral-heading { color: #fff; margin: 0 0 0.5rem; }
.vp-referral-text { color: rgba(255, 255, 255, 0.85); margin: 0 0 1.25rem; }
.vp-contact-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.vp-qr { margin: 1.5rem 0 0; max-width: 160px; }
.vp-qr svg { width: 100%; height: auto; display: block; }
.vp-qr figcaption { font-size: 0.75rem; color: rgba(58, 31, 61, 0.7); margin-top: 0.5rem; }
.vp-capture-form { width: 100%; border: 0; }
.vp-embed iframe { max-width: 100%; }
.ln-profile-notice { background: #fcf0cf; color: #3a1f3d; padding: 0.75rem 1rem; text-align: center; font-size: 0.875rem; }


/* ── Edit my card (member dashboard, Core 1.3.0) ──────────────────────────── */
.vs-owner-card { background: #fff; border: 1px solid rgba(92, 45, 78, .1); padding: 28px; }
.vs-owner-card h2 { font-family: var(--font-serif); font-weight: 400; font-size: 28px; margin: 0 0 8px; color: var(--plum-dark); }
.vs-owner-card__intro { font-family: var(--font-sans); font-size: 14px; color: rgba(61, 29, 52, .75); margin: 0 0 20px; }
.vs-owner-card__notice { font-family: var(--font-sans); font-size: 14px; padding: 10px 14px; background: #e8f6f4; color: var(--plum-dark); margin: 0 0 16px; }
.vs-owner-card__notice--error { background: #fcebe6; }
.vs-owner-card__field { margin: 0 0 18px; }
.vs-owner-card__field label { display: block; font-family: var(--font-sans); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--plum); margin-bottom: 6px; }
.vs-owner-card__field input, .vs-owner-card__field textarea { width: 100%; box-sizing: border-box; font: 16px/1.5 var(--font-sans); padding: 10px 12px; border: 1px solid rgba(92, 45, 78, .25); background: #fff; color: var(--plum-dark); }
.vs-owner-card__field input:focus, .vs-owner-card__field textarea:focus { outline: 2px solid var(--oro); outline-offset: 1px; }
.vs-owner-card__help { display: block; font-family: var(--font-sans); font-size: 12px; color: rgba(61, 29, 52, .65); margin-top: 4px; }
.vs-owner-card__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0 0; }

/* ── Card media and network (Core 1.3.0): featured video, Instagram, reviews, team/partners ── */
.vp-video { max-width: 960px; }
.vp-video__stage { position: relative; aspect-ratio: 16 / 9; background: var(--plum-dark, #3d1d34); overflow: hidden; }
.vp-video__play { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer; background: linear-gradient(135deg, var(--plum, #5c2d4e), var(--plum-dark, #3d1d34)); }
.vp-video__play img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vp-video__icon { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--tierra, #c4622d); color: #fff; box-shadow: 0 6px 24px rgba(0, 0, 0, .3); transition: transform .2s; }
.vp-video__play:hover .vp-video__icon, .vp-video__play:focus-visible .vp-video__icon { transform: scale(1.08); }
.vp-video__play:focus-visible { outline: 3px solid var(--oro, #d4a853); outline-offset: -3px; }
.vp-video__iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vp-video__consent, .vp-ig__consent, .vp-ig__note { font-family: var(--font-sans); font-size: 14px; line-height: 1.5; color: rgba(61, 29, 52, .8); margin: 12px 0 0; }
.vp-video__allow, .vp-ig__allow, .vp-ig__show { font: 600 13px/1 var(--font-sans); padding: 10px 16px; margin: 6px 0 0; border: 1px solid var(--plum, #5c2d4e); background: var(--plum, #5c2d4e); color: #fff; cursor: pointer; }
.vp-ig__show { background: transparent; color: var(--plum, #5c2d4e); }
.vp-ig__grid { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.vp-ig__post { margin: 0; padding: 16px; background: #fff; border: 1px solid rgba(92, 45, 78, .12); font-family: var(--font-sans); }
.vp-ig--loaded .vp-ig__post { padding: 0; border: 0; }
.vp-ig__more { margin: 16px 0 0; font-family: var(--font-sans); }
.vp-reviews__title { font-family: var(--font-serif); font-weight: 400; font-size: clamp(24px, 3vw, 32px); margin: 0 0 12px; color: var(--plum-dark, #3d1d34); }
.vp-reviews__score { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; font-family: var(--font-sans); margin: 0 0 16px; }
.vp-reviews__num { font-family: var(--font-serif); font-size: 40px; line-height: 1; color: var(--plum-dark, #3d1d34); }
.vp-reviews__stars { font-size: 20px; letter-spacing: 2px; background: linear-gradient(90deg, var(--oro, #d4a853) calc(var(--vp-rating) / 5 * 100%), rgba(61, 29, 52, .2) 0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vp-reviews__meta { font-size: 13px; color: rgba(61, 29, 52, .7); flex-basis: 100%; }
.vp-reviews__cta { font: 600 13px/1 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--tierra, #c4622d); text-decoration: none; }
.vp-network-group + .vp-network-group { margin-top: 40px; }
.vp-network-group__title { font-family: var(--font-serif); font-weight: 400; font-size: clamp(24px, 3vw, 32px); margin: 0 0 4px; color: var(--plum-dark, #3d1d34); }
.vp-network-group__sub { font-family: var(--font-sans); font-size: 14px; color: rgba(61, 29, 52, .7); margin: 0 0 20px; }
.vp-ncards { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.vp-ncard { display: flex; gap: 14px; align-items: center; padding: 14px; background: #fff; border: 1px solid rgba(92, 45, 78, .12); text-decoration: none; color: inherit; height: 100%; box-sizing: border-box; }
.vp-ncard:hover, .vp-ncard:focus-visible { border-color: var(--tierra, #c4622d); }
.vp-ncard__photo { flex: 0 0 64px; width: 64px; height: 64px; border-radius: 50%; overflow: hidden; background: var(--plum, #5c2d4e); display: flex; align-items: center; justify-content: center; }
.vp-ncard__photo img { width: 100%; height: 100%; object-fit: cover; }
.vp-ncard__initials { color: var(--crema, #f5edd8); font-family: var(--font-serif); font-size: 24px; }
.vp-ncard__body { display: flex; flex-direction: column; min-width: 0; font-family: var(--font-sans); }
.vp-ncard__name { font-weight: 600; color: var(--plum-dark, #3d1d34); }
.vp-ncard__role, .vp-ncard__org { font-size: 13px; color: rgba(61, 29, 52, .7); }
.vp-ncard__cta { margin-top: 6px; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--tierra, #c4622d); }
@media (max-width: 640px) { .vp-video__icon { width: 60px; height: 60px; margin: -30px 0 0 -30px; } .vp-ncards, .vp-ig__grid { grid-template-columns: 1fr; } }
