/* Band profile — dark catalog layout (mirrors musician profile) */

.bp-page { color: #fff; }

.bp-cover-link {
  display: inline-block;
  border-radius: 16px;
  border: 3px solid #ffc107;
  padding: 3px;
  line-height: 0;
  overflow: hidden;
}
.bp-cover {
  width: 132px;
  height: 132px;
  border-radius: 12px;
  object-fit: cover;
  background: #111;
  display: block;
}

.bp-members {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
}
.bp-member {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 0.85rem 0.7rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}
.bp-member__avatar-wrap {
  position: relative;
  width: 64px;
  height: 64px;
  margin-bottom: 0.55rem;
}
.bp-member__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,193,7,0.45);
  background: #111;
  display: block;
}
.bp-member__badge {
  position: absolute;
  top: -2px;
  right: -4px;
  font-size: 0.65rem;
  padding: 0.1rem 0.35rem;
}
.bp-member__name {
  margin: 0 0 0.2rem;
  font-size: 0.86rem;
  font-weight: 750;
  color: #fff;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bp-member__role {
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  min-height: 2em;
  margin-bottom: 0.55rem;
  line-height: 1.3;
}
.bp-member__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 34px;
  border-radius: 8px;
  border: 1px solid rgba(255,193,7,0.45);
  color: #ffc107 !important;
  background: transparent;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none !important;
  margin-top: auto;
}
.bp-member__btn:hover {
  background: #ffc107;
  color: #111 !important;
}
.bp-member__leave {
  appearance: none;
  width: 100%;
  margin-top: 0.4rem;
  min-height: 32px;
  border-radius: 8px;
  border: 1px solid rgba(239,68,68,0.45);
  background: transparent;
  color: #fca5a5;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
}
.bp-member__leave:hover {
  background: rgba(239,68,68,0.15);
}

.bp-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}
.bp-gallery .gallery-thumb {
  position: relative;
  display: block;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  aspect-ratio: 1;
  cursor: pointer;
}
.bp-gallery .gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.bp-gallery .gallery-thumb__n {
  position: absolute;
  top: 0.35rem;
  right: 0.35rem;
  font-size: 0.65rem;
  background: rgba(0,0,0,0.65);
  color: #fff;
  padding: 0.1rem 0.35rem;
  border-radius: 6px;
}

/* Rating widget on dark */
#myRatingBox {
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  border-radius: 10px;
  padding: 0.45rem 0.65rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  justify-content: center;
}
#myRatingBox .my-row-title {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.55);
  width: 100%;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
#myRatingBox .my-rating-stars i { color: #ffc107; }
#myRatingBox .my-star {
  display: inline-block;
  margin-right: 0.1rem;
  cursor: pointer;
}
#myRatingBox .my-small {
  font-size: 0.78rem;
  opacity: 0.85;
  width: 100%;
  text-align: center;
}

body.page-catalog .bp-page .text-secondary,
body.page-catalog .bp-page .text-muted {
  color: rgba(255,255,255,0.5) !important;
}

/* Band uses 2-col body: main + sidebar */
.bp-page .mp-grid {
  grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
}
.bp-page .mp-col-main { min-width: 0; }
.bp-page .mp-col-right { min-width: 0; }

.bp-songs {
  list-style: none;
  margin: 0;
  padding: 0;
}
.bp-songs li {
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
}
.bp-songs li:last-child { border-bottom: 0; }

.bp-cta {
  display: block;
  text-align: center;
  width: 100%;
  min-height: 42px;
  padding: 0.55rem 0.85rem;
  border-radius: 10px;
  font-weight: 800;
  text-decoration: none !important;
  margin-bottom: 0.5rem;
}
.bp-cta--primary {
  background: #ffc107;
  color: #111 !important;
}
.bp-cta--primary:hover { background: #ffd54f; color: #111 !important; }
.bp-cta--ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff !important;
}
.bp-cta--ghost:hover {
  border-color: rgba(255,193,7,0.5);
  color: #ffc107 !important;
}
html[data-theme="dark"] body.page-catalog .bp-cta--primary,
html[data-theme="dark"] body.page-catalog .bp-cta--primary *,
body[data-theme="dark"].page-catalog .bp-cta--primary,
body[data-theme="dark"].page-catalog .bp-cta--primary * {
  color: #111 !important;
}

@media (max-width: 991.98px) {
  .bp-page .mp-grid { grid-template-columns: 1fr; }
  .bp-cover { width: 104px; height: 104px; }
}
@media (max-width: 575.98px) {
  .bp-members { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bp-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
