.vz-page-index #content-wrapper,
body.vz-page-all-influencers #content-wrapper {
  overflow: visible !important;
}

.vz-inf-shell {
  width: 100%;
  margin: 0;
  padding: 14px 50px 24px;
}

.vz-inf-toolbar-card {
  position: sticky;
  top: 76px;
  z-index: 8;
  margin-bottom: 18px;
  padding: 18px 18px 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  background:
    radial-gradient(circle at top right, rgba(246, 56, 84, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.96));
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(10px);
}

.vz-inf-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.vz-inf-toolbar__intro {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vz-inf-toolbar__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--vz-red);
}

.vz-inf-toolbar__eyebrow i {
  font-size: 0.8rem;
}

.vz-inf-toolbar__title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.vz-inf-toolbar__subtitle {
  max-width: 640px;
  margin: 0;
  color: var(--vz-gray-500);
  font-size: 0.92rem;
  line-height: 1.65;
}

.vz-inf-toolbar__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  flex: 1 1 480px;
}

.vz-inf-toolbar__search {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  flex: 1 1 420px;
}

.vz-inf-search {
  min-width: min(100%, 340px);
}

.vz-inf-search input {
  min-width: 220px;
}

.vz-inf-toggle-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.vz-inf-toggle-group .btn-check {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.vz-inf-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  margin: 0;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--vz-gray-600);
  cursor: pointer;
  transition: color var(--vz-transition), background var(--vz-transition), box-shadow var(--vz-transition);
}

.vz-inf-toggle-group .btn-check:checked + .vz-inf-toggle {
  color: #fff;
  background: linear-gradient(135deg, #f63854, #ff7d66);
  box-shadow: 0 10px 22px rgba(246, 56, 84, 0.22);
}

.vz-inf-summary {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.vz-inf-summary__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.04);
  color: var(--vz-gray-700);
  font-size: 0.76rem;
  font-weight: 700;
}

.vz-inf-summary__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.vz-inf-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(246, 56, 84, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--vz-gray-700);
  font-size: 0.76rem;
  font-weight: 700;
}

.vz-inf-chip i {
  color: var(--vz-red);
}

.vz-inf-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.vz-inf-results-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(59, 130, 246, 0.14);
  border-radius: 16px;
  background: rgba(219, 234, 254, 0.42);
  color: #1d4ed8;
  font-size: 0.84rem;
  font-weight: 600;
}

.vz-inf-results-note strong {
  color: var(--vz-gray-900);
}

.vz-inf-grid {
  row-gap: 0.95rem;
}

.vz-inf-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #fbfcff);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.07);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.vz-inf-card:hover {
  transform: translateY(-4px);
  border-color: rgba(246, 56, 84, 0.18);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.vz-inf-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #f4f6fb, #e8eef9);
}

.vz-inf-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.24s ease;
}

.vz-inf-card:hover .vz-inf-card__image {
  transform: scale(1.03);
}

.vz-inf-card__image--interactive {
  cursor: pointer;
}

.vz-inf-card__media .vz-img-placeholder {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: #adb5bd;
  background: linear-gradient(135deg, #f4f6fb, #e8eef9);
  z-index: 1;
}

.vz-inf-card__media img.vz-img-broken {
  display: none;
}

.vz-inf-card__media img.vz-img-broken ~ .vz-img-placeholder {
  display: flex;
}

.vz-inf-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 12px;
  padding: 14px 14px 16px;
}

.vz-inf-card__identity {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.vz-inf-card__name {
  margin: 0;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--vz-gray-900);
}

.vz-inf-card__badge-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.vz-inf-card__metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.vz-inf-card__metric {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 14px;
  background: rgba(248, 250, 252, 0.9);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.vz-inf-card__metric-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: rgba(246, 56, 84, 0.08);
  color: var(--vz-red);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.vz-inf-card__metric-value {
  display: block;
  color: var(--vz-gray-900);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
}

.vz-inf-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 30px;
}

.vz-inf-tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(246, 56, 84, 0.08);
  color: #b4233d;
  font-size: 0.68rem;
  font-weight: 700;
}

.vz-inf-tag--neutral {
  background: rgba(15, 23, 42, 0.05);
  color: var(--vz-gray-500);
}

.vz-inf-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 14px;
  padding: 8px 0 4px;
}

.vz-inf-pagination__count {
  min-width: 84px;
  text-align: center;
  color: var(--vz-gray-500);
  font-size: 0.82rem;
  font-weight: 700;
}

.vz-inf-empty {
  padding: 72px 32px;
  border: 1px dashed rgba(15, 23, 42, 0.12);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 250, 252, 0.92));
}

.vz-inf-empty .vz-empty-state__icon {
  color: var(--vz-red);
}

/* ── 5-column grid ── */
.vz-inf-grid .col-xl-vz5 {
  flex: 0 0 20%;
  max-width: 20%;
}

/* ── Compact card overrides for 5-column layout ── */
.vz-inf-grid .col-xl-vz5 .vz-inf-card {
  border-radius: 14px;
}

.vz-inf-grid .col-xl-vz5 .vz-inf-card__media {
  aspect-ratio: 4 / 3;
}

.vz-inf-grid .col-xl-vz5 .vz-inf-card__body {
  gap: 8px;
  padding: 10px 10px 12px;
}

.vz-inf-grid .col-xl-vz5 .vz-inf-card__name {
  font-size: 0.80rem;
}

.vz-inf-grid .col-xl-vz5 .vz-inf-card__metrics {
  gap: 5px;
}

.vz-inf-grid .col-xl-vz5 .vz-inf-card__metric {
  padding: 5px 7px;
  gap: 5px;
  border-radius: 10px;
}

.vz-inf-grid .col-xl-vz5 .vz-inf-card__metric-icon {
  width: 22px;
  height: 22px;
  font-size: 0.72rem;
  border-radius: 7px;
}

.vz-inf-grid .col-xl-vz5 .vz-inf-card__metric-value {
  font-size: 0.72rem;
}

.vz-inf-grid .col-xl-vz5 .vz-inf-tag {
  font-size: 0.60rem;
  min-height: 20px;
  padding: 0 7px;
}

.vz-inf-grid .col-xl-vz5 .vz-inf-card__badge-stack .vz-badge {
  font-size: 0.60rem;
  padding: 2px 6px;
}

.vz-inf-grid .col-xl-vz5 .vz-inf-card__footer {
  padding: 8px 10px;
}

@media (max-width: 1399.98px) {
  .vz-inf-grid .col-xl-vz5 {
    flex: 0 0 25%;
    max-width: 25%;
  }
}

@media (max-width: 991.98px) {
  .vz-inf-grid .col-xl-vz5 {
    flex: 0 0 33.333%;
    max-width: 33.333%;
  }
}

@media (max-width: 767.98px) {
  .vz-inf-grid .col-xl-vz5 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (max-width: 479.98px) {
  .vz-inf-grid .col-xl-vz5 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media (max-width: 991.98px) {
  .vz-inf-shell {
    padding: 12px 50px 18px;
  }

  .vz-inf-toolbar-card {
    top: 68px;
    padding: 16px 14px 14px;
    border-radius: 16px;
  }

  .vz-inf-toolbar__actions,
  .vz-inf-toolbar__search {
    justify-content: flex-start;
    flex-basis: 100%;
  }

  .vz-inf-summary {
    flex-direction: column;
  }
}

/* ── Scroll-to-top button ── */
.vz-page-index .scroll-to-top,
.vz-page-all-influencers .scroll-to-top {
  position: fixed;
  bottom: 2.25rem;
  right: 2.25rem;
  width: 48px;
  height: 48px;
  border-radius: 50% !important;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #1e0d56 0%, #4a1a96 60%, #6d28d9 100%);
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.05rem;
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px) scale(0.9);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.25s ease;
  box-shadow:
    0 4px 18px rgba(74, 26, 150, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  z-index: 900;
}

.vz-page-index .scroll-to-top.is-visible,
.vz-page-all-influencers .scroll-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.vz-page-index .scroll-to-top:hover,
.vz-page-all-influencers .scroll-to-top:hover {
  color: #fff;
  transform: translateY(-4px) scale(1.06);
  box-shadow:
    0 10px 36px rgba(109, 40, 217, 0.6),
    0 0 0 3px rgba(139, 92, 246, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.12) inset;
}

.vz-page-index .scroll-to-top .bi,
.vz-page-all-influencers .scroll-to-top .bi {
  transition: transform 0.2s ease;
  line-height: 1;
}

.vz-page-index .scroll-to-top:hover .bi,
.vz-page-all-influencers .scroll-to-top:hover .bi {
  transform: translateY(-2px);
}

@media (max-width: 767.98px) {
  .vz-inf-card__metrics {
    grid-template-columns: 1fr;
  }

  .vz-inf-search,
  .vz-inf-search input {
    min-width: 0;
    width: 100%;
  }

  .vz-inf-toolbar__search {
    align-items: stretch;
  }

  .vz-inf-toolbar__search .vz-btn-xs,
  .vz-inf-toolbar__search .vz-icon-btn {
    min-height: 36px;
  }

  .vz-inf-toggle-group {
    width: 100%;
    justify-content: stretch;
  }

  .vz-inf-toggle {
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
  }

  .vz-inf-results-note {
    width: 100%;
  }
}
