/* -------------------------------------------------------------------------- */
/* Base44 parity pass: events + slots + collectives + venues listings         */
/* Date: 2026-03-07                                                           */
/* -------------------------------------------------------------------------- */

.catalog-result-count {
  margin-top: 2px;
  color: #64748b;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
}

.gigs-page-shell,
.venues-page-shell,
.ensembles-page-shell {
  max-width: 1280px;
  margin: 0 auto;
}

.vacancies-page-shell {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 32px;
  box-sizing: border-box;
}

/* -------------------------------------------------------------------------- */
/* Search toolbars                                                            */
/* -------------------------------------------------------------------------- */
.gigs-page-shell .catalog-search-form--gigs,
.venues-page-shell .catalog-search-form--venues,
.ensembles-page-shell .catalog-search-form--ensembles {
  display: grid;
  align-items: start;
  margin: 0;
  gap: 12px;
}

.gigs-page-shell .catalog-search-form--gigs .input-field,
.venues-page-shell .catalog-search-form--venues .input-field,
.ensembles-page-shell .catalog-search-form--ensembles .input-field,
.vacancies-page-shell .catalog-search-form--vacancies .input-field {
  margin: 0;
  grid-column: auto;
}

.gigs-page-shell .catalog-search-form--gigs .gigs-search-query {
  grid-column: 1;
}

.gigs-page-shell .catalog-search-form--gigs .gigs-search-city {
  grid-column: 2;
}

.gigs-page-shell .catalog-search-form--gigs .gigs-search-filters {
  grid-column: 3;
}

.gigs-page-shell .catalog-search-form--gigs .gigs-search-results {
  grid-column: 4;
}

.gigs-page-shell .catalog-search-form--gigs {
  grid-template-columns: minmax(0, 1fr) 168px 148px 220px;
}

.venues-page-shell .catalog-search-form--venues .venues-search-query {
  grid-column: 1;
}

.venues-page-shell .catalog-search-form--venues .venues-search-city {
  grid-column: 2;
}

.venues-page-shell .catalog-search-form--venues .venues-search-filters {
  grid-column: 3;
}

.venues-page-shell .catalog-search-form--venues .venues-search-results {
  grid-column: 4;
}

.venues-page-shell .catalog-search-form--venues {
  grid-template-columns: minmax(0, 1fr) 212px 148px 220px;
}

.gigs-page-shell .catalog-result-chip,
.venues-page-shell .catalog-result-chip,
.ensembles-page-shell .catalog-result-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid #dbe2ee;
  background: #ffffff;
  color: #475569;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
}

.gigs-page-shell .catalog-result-count-prefix,
.venues-page-shell .catalog-result-count-prefix,
.ensembles-page-shell .catalog-result-count-prefix,
.gigs-page-shell .catalog-result-count-label,
.venues-page-shell .catalog-result-count-label,
.ensembles-page-shell .catalog-result-count-label {
  color: #64748b;
}

.gigs-page-shell .catalog-result-count-value,
.venues-page-shell .catalog-result-count-value,
.ensembles-page-shell .catalog-result-count-value {
  color: #0f172a;
  font-weight: 700;
}

.gigs-page-shell .gigs-filter-toggle.is-active {
  border-color: #c7bdfd;
  background: #f5f3ff;
  color: #4c1d95;
}

.venues-page-shell .venues-filter-toggle.is-active {
  border-color: #c7bdfd;
  background: #f5f3ff;
  color: #4c1d95;
}

.ensembles-page-shell .ensembles-filter-toggle.is-active {
  border-color: #c7bdfd;
  background: #f5f3ff;
  color: #4c1d95;
}

.gigs-filters-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1200;
  overflow-y: auto;
  padding: 12px 0;
}

.gigs-filters-modal.open {
  display: block !important;
}

.gigs-filters-modal .modal-content {
  width: min(760px, calc(100% - 24px));
  margin: 20px auto;
}

.gigs-filters-modal .modal-content h4 {
  margin-bottom: 18px;
}

.gigs-filters-modal .gigs-advanced-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
  margin: 0;
}

.gigs-filters-modal .gigs-advanced-form > .input-field {
  margin: 0;
  width: 100%;
  padding: 0;
  float: none;
}

.gigs-filters-modal .gigs-modal-field-half {
  grid-column: span 1;
}

.gigs-filters-modal .modal-form-actions {
  margin-top: 18px;
}

.venues-filters-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1200;
  overflow-y: auto;
  padding: 12px 0;
}

.venues-filters-modal.open {
  display: block !important;
}

.venues-filters-modal .modal-content {
  width: min(680px, calc(100% - 24px));
  margin: 20px auto;
}

.venues-filters-modal .modal-content h4 {
  margin-bottom: 18px;
}

.venues-filters-modal .venues-advanced-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px 16px;
  margin: 0;
}

.venues-filters-modal .venues-advanced-form > .input-field {
  margin: 0;
  width: 100%;
  padding: 0;
  float: none;
}

.venues-filters-modal .venues-modal-field-full {
  grid-column: 1 / -1;
}

.venues-filters-modal .modal-form-actions {
  margin-top: 18px;
}

.ensembles-filters-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1200;
  overflow-y: auto;
  padding: 12px 0;
}

.ensembles-filters-modal.open {
  display: block !important;
}

.ensembles-filters-modal .modal-content {
  width: min(680px, calc(100% - 24px));
  margin: 20px auto;
}

.ensembles-filters-modal .modal-content h4 {
  margin-bottom: 18px;
}

.ensembles-filters-modal .ensembles-advanced-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px 16px;
  margin: 0;
}

.ensembles-filters-modal .ensembles-advanced-form > .input-field {
  margin: 0;
  width: 100%;
  padding: 0;
  float: none;
}

.ensembles-filters-modal .ensembles-modal-field-full {
  grid-column: 1 / -1;
}

.ensembles-filters-modal .modal-form-actions {
  margin-top: 18px;
}

.ensembles-page-shell .catalog-search-form--ensembles .ensembles-search-query {
  grid-column: 1;
}

.ensembles-page-shell .catalog-search-form--ensembles .ensembles-search-city {
  grid-column: 2;
}

.ensembles-page-shell .catalog-search-form--ensembles .ensembles-search-filters {
  grid-column: 3;
}

.ensembles-page-shell .catalog-search-form--ensembles .ensembles-search-results {
  grid-column: 4;
}

.ensembles-page-shell .catalog-search-form--ensembles {
  grid-template-columns: minmax(0, 1fr) 152px 148px 220px;
}

.vacancies-page-shell .catalog-search-form--vacancies {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  max-width: 348px;
}

.vacancies-page-shell .catalog-search-form--vacancies .vacancy-search-role {
  width: 176px;
  flex: 0 0 176px;
}

.vacancies-page-shell .catalog-search-form--vacancies .vacancy-search-city {
  width: 160px;
  flex: 0 0 160px;
}

.vacancies-page-shell .catalog-search-form--vacancies .vacancy-search-role .select-wrapper,
.vacancies-page-shell .catalog-search-form--vacancies .vacancy-search-role .select-wrapper input,
.vacancies-page-shell .catalog-search-form--vacancies .vacancy-search-city input {
  width: 100%;
}

/* -------------------------------------------------------------------------- */
/* Grids                                                                      */
/* -------------------------------------------------------------------------- */
.gigs-page-shell .gigs-catalog-grid-v2 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.venues-page-shell #venues-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.ensembles-page-shell #ensembles-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.vacancies-page-shell #vacancies-list,
.vacancies-page-shell .vacancies-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

/* -------------------------------------------------------------------------- */
/* Event cards                                                                */
/* -------------------------------------------------------------------------- */
.gigs-page-shell .catalog-card-event-base44 {
  min-height: 0;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  box-shadow:
    0 1px 3px rgb(0 0 0 / 0.1),
    0 1px 2px rgb(0 0 0 / 0.1);
  overflow: hidden;
}

.gigs-page-shell .catalog-card-event-base44 .catalog-hero {
  height: 160px;
  min-height: 160px;
}

.gigs-page-shell .catalog-card-event-base44 .catalog-hero-chip {
  top: 12px;
  right: 12px;
}

.gigs-page-shell .catalog-card-event-base44 .catalog-card-body {
  padding: 20px;
}

.gigs-page-shell .catalog-card-event-base44 .catalog-job-head {
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.gigs-page-shell .catalog-card-event-base44 .catalog-title {
  margin: 0;
  font-size: 18px;
  line-height: 28px;
  font-weight: 600;
  letter-spacing: 0;
  color: #0f172a;
}

.gigs-page-shell .catalog-card-event-base44 .catalog-meta-row {
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  color: #475569;
  font-size: 14px;
  line-height: 20px;
}

.gigs-page-shell .catalog-card-event-base44 .catalog-meta-row .icon {
  color: #8b5cf6;
}

.gigs-page-shell .catalog-card-event-base44 .catalog-description {
  margin-top: 10px;
  color: #475569;
  font-size: 14px;
  line-height: 20px;
}

.gigs-page-shell .catalog-card-event-base44 .catalog-chip-row {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.gigs-page-shell .catalog-card-event-base44 .list-status-pill {
  flex: 0 0 auto;
}

/* -------------------------------------------------------------------------- */
/* Venue cards                                                                */
/* -------------------------------------------------------------------------- */
.venues-page-shell .catalog-card-venue-base44 {
  min-height: 0;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  box-shadow:
    0 1px 3px rgb(0 0 0 / 0.1),
    0 1px 2px rgb(0 0 0 / 0.1);
  overflow: hidden;
}

.venues-page-shell .catalog-card-venue-base44 .catalog-media {
  height: 192px;
}

.venues-page-shell .catalog-card-venue-base44 .catalog-card-body {
  padding: 20px;
}

.venues-page-shell .catalog-card-venue-base44 .catalog-title {
  margin: 0;
  font-size: 18px;
  line-height: 28px;
  font-weight: 600;
  color: #0f172a;
}

.venues-page-shell .catalog-card-venue-base44 .catalog-meta-row {
  margin-top: 6px;
  color: #475569;
  font-size: 14px;
  line-height: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.venues-page-shell .catalog-card-venue-base44 .catalog-meta-row .icon {
  color: #8b5cf6;
}

.venues-page-shell .catalog-card-venue-base44 .catalog-description {
  margin-top: 10px;
  color: #475569;
  font-size: 14px;
  line-height: 20px;
}

.venues-page-shell .catalog-card-venue-base44 .catalog-chip-row {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.venues-page-shell .catalog-card-venue-base44 .catalog-price-main.is-empty {
  color: #64748b;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
}

/* -------------------------------------------------------------------------- */
/* Collective cards                                                           */
/* -------------------------------------------------------------------------- */
.ensembles-page-shell .catalog-card-ensemble {
  min-height: 0;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  box-shadow:
    0 1px 3px rgb(0 0 0 / 0.1),
    0 1px 2px rgb(0 0 0 / 0.1);
  display: flex;
  flex-direction: column;
}

.ensembles-page-shell .catalog-card-ensemble .catalog-card-body {
  flex: 1;
  padding: 24px;
}

.ensembles-page-shell .catalog-card-ensemble .catalog-card-footer {
  padding: 16px 24px;
  border-top: 1px solid #e2e8f0;
}

.ensembles-page-shell .catalog-card-ensemble .catalog-card-head-collective {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 14px;
}

.ensembles-page-shell .catalog-card-ensemble .catalog-avatar.catalog-avatar-lg {
  width: 64px;
  height: 64px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex: 0 0 64px;
  background: linear-gradient(135deg, #3b82f6 0%, #4f46e5 100%);
  color: #ffffff;
  box-shadow:
    0 0 0 2px #ffffff,
    0 0 0 4px #dbeafe;
}

.ensembles-page-shell .catalog-card-ensemble .catalog-avatar-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ensembles-page-shell .catalog-card-ensemble .catalog-avatar-text {
  font-size: 20px;
  line-height: 1;
  font-weight: 700;
}

.ensembles-page-shell .catalog-card-ensemble .catalog-title-line {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ensembles-page-shell .catalog-card-ensemble .catalog-title {
  margin: 0;
  font-size: 18px;
  line-height: 28px;
  font-weight: 600;
  color: #0f172a;
}

.ensembles-page-shell .catalog-card-ensemble .catalog-meta-row {
  margin-top: 4px;
  color: #475569;
  font-size: 14px;
  line-height: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.ensembles-page-shell .catalog-card-ensemble .catalog-meta-row .icon {
  color: #8b5cf6;
}

.ensembles-page-shell .catalog-card-ensemble .catalog-description {
  margin-top: 10px;
  color: #475569;
  font-size: 14px;
  line-height: 20px;
}

.ensembles-page-shell .catalog-card-ensemble .catalog-chip-row {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ensembles-page-shell .catalog-card-ensemble .collective-available-icon {
  font-size: 16px;
  line-height: 1;
  color: #10b981;
}

/* -------------------------------------------------------------------------- */
/* Vacancy list cards                                                         */
/* -------------------------------------------------------------------------- */
.vacancy-list-card-base44 {
  min-height: 0;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  box-shadow:
    0 1px 3px rgb(0 0 0 / 0.1),
    0 1px 2px rgb(0 0 0 / 0.1);
  padding: 20px;
}

.vacancy-list-card-base44 .vacancy-list-head {
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.vacancy-list-card-base44 .vacancy-list-title {
  margin: 0;
  font-size: 16px;
  line-height: 20px;
  font-weight: 600;
  color: #0f172a;
  letter-spacing: 0;
}

.vacancy-list-card-base44 .vacancy-role-badge {
  font-size: 12px;
  line-height: 16px;
}

.vacancy-list-card-base44 .vacancy-list-owner {
  margin: 0 0 8px;
  color: #475569;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
}

.vacancy-list-card-base44 .vacancy-description {
  margin: 0 0 10px;
  color: #475569;
  font-size: 14px;
  line-height: 20px;
}

.vacancy-list-card-base44 .vacancy-list-meta {
  margin-top: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  color: #64748b;
  font-size: 12px;
  line-height: 16px;
}

.vacancy-list-card-base44 .vacancy-list-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.vacancy-list-card-base44 .vacancy-list-meta .icon {
  color: #8b5cf6;
  font-size: 14px;
  line-height: 1;
}

/* -------------------------------------------------------------------------- */
/* Empty states                                                               */
/* -------------------------------------------------------------------------- */
.gigs-page-shell .empty-panel-v2,
.musicians-page-shell .empty-panel-v2,
.ensembles-page-shell .empty-panel-v2 {
  padding: 40px 16px;
  border: 0;
  box-shadow: none;
  background: transparent;
  text-align: center;
}

.gigs-page-shell .empty-panel-v2 .empty-title,
.musicians-page-shell .empty-panel-v2 .empty-title,
.ensembles-page-shell .empty-panel-v2 .empty-title {
  margin: 0;
  color: #475569;
  font-size: 18px;
  line-height: 28px;
  letter-spacing: 0;
  font-weight: 600;
}

.gigs-page-shell .empty-panel-v2 .empty-subtitle,
.musicians-page-shell .empty-panel-v2 .empty-subtitle,
.ensembles-page-shell .empty-panel-v2 .empty-subtitle {
  margin: 6px 0 0;
  color: #94a3b8;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0;
  font-weight: 500;
}

/* -------------------------------------------------------------------------- */
/* Vacancy detail head                                                        */
/* -------------------------------------------------------------------------- */
.vacancy-head-card-v2 {
  border-radius: 16px;
}

.vacancy-head-card-v2 .vacancy-detail-head-v2 {
  padding: 18px 20px;
}

/* -------------------------------------------------------------------------- */
/* Home CTA                                                                   */
/* -------------------------------------------------------------------------- */
.b44-home {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  overflow: visible;
}

.b44-home > .b44-hero,
.b44-home > .b44-features-section,
.b44-home > .b44-home-cta {
  width: 100%;
  max-width: 100%;
}

.b44-home .b44-feature-grid {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding-left: 0;
  padding-right: 0;
}

.b44-home .b44-home-cta {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  min-height: 292px;
  border: 1px solid rgb(124 58 237 / 0.22);
  background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 55%, #6d28d9 100%);
}

.b44-home .b44-home-cta-bg {
  position: absolute;
  inset: 0;
  background: url("https://images.unsplash.com/photo-1514320291840-2e0a9bf2a9ae?w=1920") center/cover no-repeat;
  opacity: 0.16;
}

.b44-home .b44-home-cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(16 8 54 / 0.2) 0%, rgb(18 10 58 / 0.72) 100%);
}

.b44-home .b44-home-cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #ffffff;
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 54px 0 48px;
}

.b44-home .b44-home-cta-icon {
  font-size: 44px;
  line-height: 1;
  color: #facc15;
}

.b44-home .b44-home-cta-inner h2 {
  margin: 14px 0 0;
  font-size: clamp(40px, 3.7vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.b44-home .b44-home-cta-inner p {
  margin: 16px auto 0;
  max-width: 720px;
  color: rgb(255 255 255 / 0.86);
  font-size: 18px;
  line-height: 1.45;
}

.b44-home .b44-home-cta-btn {
  margin-top: 24px;
  min-height: 46px;
  border-radius: 10px;
  padding: 0 24px;
  background: #ffffff;
  color: #5b3adf;
  border-color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.b44-home .b44-home-cta-btn:hover {
  background: rgb(255 255 255 / 0.92);
  color: #5b3adf;
  border-color: rgb(255 255 255 / 0.92);
}

/* -------------------------------------------------------------------------- */
/* Responsive                                                                 */
/* -------------------------------------------------------------------------- */
@media (max-width: 1320px) {
  .gigs-page-shell .gigs-catalog-grid-v2,
  .ensembles-page-shell #ensembles-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1180px) {
  .venues-page-shell #venues-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gigs-page-shell .catalog-search-form--gigs {
    grid-template-columns: minmax(0, 1fr) 148px 148px 220px;
  }

  .venues-page-shell .catalog-search-form--venues {
    grid-template-columns: minmax(0, 1fr) 172px 148px 220px;
  }

  .ensembles-page-shell .catalog-search-form--ensembles {
    grid-template-columns: minmax(0, 1fr) 172px 148px 220px;
  }
}

@media (max-width: 1024px) {
  .gigs-page-shell .gigs-catalog-grid-v2,
  .ensembles-page-shell #ensembles-list,
  .vacancies-page-shell #vacancies-list,
  .vacancies-page-shell .vacancies-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vacancies-page-shell {
    padding: 0 24px;
  }
}

@media (max-width: 900px) {
  .gigs-page-shell .catalog-search-form--gigs,
  .venues-page-shell .catalog-search-form--venues,
  .ensembles-page-shell .catalog-search-form--ensembles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gigs-page-shell .catalog-search-form--gigs .gigs-search-query,
  .venues-page-shell .catalog-search-form--venues .venues-search-query,
  .ensembles-page-shell .catalog-search-form--ensembles .ensembles-search-query {
    grid-column: 1 / -1;
  }

  .gigs-page-shell .catalog-search-form--gigs .gigs-search-results,
  .venues-page-shell .catalog-search-form--venues .venues-search-results,
  .ensembles-page-shell .catalog-search-form--ensembles .ensembles-search-results {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .gigs-page-shell .gigs-catalog-grid-v2,
  .venues-page-shell #venues-list,
  .ensembles-page-shell #ensembles-list,
  .vacancies-page-shell #vacancies-list,
  .vacancies-page-shell .vacancies-grid {
    grid-template-columns: 1fr;
  }

  .vacancies-page-shell .catalog-search-form--vacancies {
    max-width: none;
  }

  .vacancies-page-shell .catalog-search-form--vacancies .vacancy-search-role,
  .vacancies-page-shell .catalog-search-form--vacancies .vacancy-search-city {
    width: 100%;
    flex: 1 1 100%;
  }
}

@media (max-width: 640px) {
  .gigs-page-shell .catalog-search-form--gigs,
  .venues-page-shell .catalog-search-form--venues,
  .ensembles-page-shell .catalog-search-form--ensembles {
    grid-template-columns: 1fr;
  }

  .vacancies-page-shell {
    padding: 0 16px;
  }

  .b44-home .b44-home-cta-inner {
    width: calc(100% - 28px);
    padding: 42px 0 38px;
  }
}
