/**
 * fanorate/team-hero-v2 — V2 redesign team-guide hero (light variant).
 *
 * A light full-bleed opener matching the other v2 heroes: red dot kicker,
 * an uppercase navy display headline (em = red accent), an italic dek and
 * a byline meta row, then a team identity board — one bordered card with
 * the flag, nickname eyebrow, big display team name, tag line and a
 * compact grid of quick stats — followed by a full-width hero photo with
 * a dark caption strip.
 */

#team-hero-v2.section-team-hero-v2 {
  padding: 0;
}

.section-team-hero-v2 .team-hero-v2__hero {
  position: relative;
  overflow: hidden;
}

.section-team-hero-v2 .team-hero-v2__inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin-inline: auto;
  padding: clamp(48px, 7vw, 96px) clamp(20px, 5vw, 48px) clamp(28px, 4vw, 48px);
}

.section-team-hero-v2 .team-hero-v2__kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font: var(--eyebrow);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--color-primary);
}

.section-team-hero-v2 .team-hero-v2__kicker::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 100px;
  background: currentColor;
  display: inline-block;
}

.section-team-hero-v2 .team-hero-v2__title {
  font: var(--display-2);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: var(--space-md) 0 0;
  text-wrap: balance;
  font-size: 72px;
  line-height: 1.2;
}

.section-team-hero-v2 .team-hero-v2__title em {
  font-style: normal;
  font-family: inherit;
  color: var(--color-primary);
}

.section-team-hero-v2 .team-hero-v2__dek {
  font: var(--body-lg);
  margin: var(--space-lg) 0 0;
  font-style: italic;
  font-size: 22px;
  line-height: 1.3;
}

.section-team-hero-v2 .team-hero-v2__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px var(--space-lg);
  margin-top: 32px;
  font: var(--body-sm);
  font-family: var(--font-ui);
  color: var(--text-secondary);
}

.section-team-hero-v2 .team-hero-v2__meta b {
  font-weight: 700;
  color: var(--text-primary);
}

.section-team-hero-v2 .team-hero-v2__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--border-default);
}

.section-team-hero-v2 .team-hero-v2__pill {
  padding: 4px 10px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-pill);
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* ---------- Team identity board ---------- */
.section-team-hero-v2 .team-hero-v2__board {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px) clamp(40px, 6vw, 72px);
}

.section-team-hero-v2 .team-hero-v2__card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(16px, 3vw, 36px);
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: clamp(18px, 3vw, 30px) clamp(18px, 4vw, 40px);
}

.section-team-hero-v2 .team-hero-v2__flag {
  width: clamp(64px, 10vw, 104px);
  height: clamp(44px, 6.8vw, 70px);
  border-radius: var(--radius-sm);
  flex: 0 0 auto;
  object-fit: cover;
  box-shadow: var(--shadow-md);
}

.section-team-hero-v2 .team-hero-v2__flag--text {
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .6);
  box-shadow: none;
  font-size: clamp(40px, 6vw, 60px);
  line-height: 1;
}

.section-team-hero-v2 .team-hero-v2__flag img.wp-smiley,
.section-team-hero-v2 .team-hero-v2__flag img.emoji {
  width: 100% !important;
  height: auto !important;
}

.section-team-hero-v2 .team-hero-v2__id {
  min-width: 0;
}

.section-team-hero-v2 .team-hero-v2__nick {
  font: var(--caption);
  font-family: var(--font-ui);
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--text-tertiary);
}

.section-team-hero-v2 .team-hero-v2__name {
  font: var(--display-3);
  font-size: clamp(30px, 4.6vw, 56px);
  text-transform: uppercase;
  letter-spacing: var(--ls-display);
  color: var(--color-accent);
  margin: 4px 0 6px;
  line-height: .95;
}

.section-team-hero-v2 .team-hero-v2__tag {
  font: var(--body-sm);
  font-family: var(--font-ui);
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--text-secondary);
}

.section-team-hero-v2 .team-hero-v2__stats {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 14px clamp(20px, 3vw, 40px);
  flex: 0 0 auto;
}

.section-team-hero-v2 .team-hero-v2__stats > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.section-team-hero-v2 .team-hero-v2__stat-k {
  font: var(--caption);
  font-family: var(--font-ui);
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--color-primary);
}

.section-team-hero-v2 .team-hero-v2__stat-v {
  font: var(--h3);
  font-family: var(--font-ui);
  font-weight: 800;
  color: var(--color-accent);
}

/* ---------- Hero photo ---------- */
.section-team-hero-v2 .team-hero-v2__photo {
  margin: 0;
  background: var(--color-accent-dark);
}

.section-team-hero-v2 .team-hero-v2__photo-img {
  display: block;
  width: 100%;
  height: clamp(220px, 42vw, 560px);
  object-fit: cover;
}

.section-team-hero-v2 .team-hero-v2__photo-cap {
  max-width: 1100px;
  margin-inline: auto;
  padding: 10px clamp(20px, 5vw, 48px);
  font: var(--caption);
  font-family: var(--font-ui);
  color: var(--text-inverse-muted);
}

/* ---------- Mobile ---------- */
@media (max-width: 760px) {
  .section-team-hero-v2 .team-hero-v2__card {
    grid-template-columns: auto 1fr;
  }

  .section-team-hero-v2 .team-hero-v2__stats {
    grid-column: 1 / -1;
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 720px) {
  .section-team-hero-v2 .team-hero-v2__title {
    font-size: clamp(40px, 11vw, 56px);
  }
}

@media (max-width: 480px) {
  .section-team-hero-v2 .team-hero-v2__stats {
    grid-template-columns: repeat(2, 1fr);
  }
}
