.page-club-profile .club-profile-main {
  max-width: 960px;
  padding-top: 24px;
  padding-bottom: 72px;
}

.club-profile-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--qaraj-muted, rgba(255,255,255,.55));
  text-decoration: none;
  transition: color .2s ease;
}

.club-profile-back:hover {
  color: var(--qaraj-metallic, #c8c8d0);
}

.club-profile-loading {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 48px 16px;
  color: var(--qaraj-muted);
  font-size: 12px;
}

.club-profile-spinner {
  width: 22px;
  height: 22px;
  border: 2px solid rgba(200,200,208,.18);
  border-top-color: #c8c8d0;
  border-radius: 50%;
  animation: cv-spin .7s linear infinite;
}

.club-profile-error {
  padding: 40px 20px;
  text-align: center;
  color: var(--qaraj-muted);
  background: var(--qaraj-card, #141416);
  border: 1px solid var(--qaraj-border, rgba(255,255,255,.08));
  border-radius: 16px;
}

.club-profile-error h1 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  color: var(--qaraj-text);
}

.page-club-profile .cv-profile-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.page-club-profile .cv-profile-name {
  margin: 0;
}

.page-club-profile .cv-verified-icon {
  flex-shrink: 0;
}

.page-club-profile .cv-verified-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 8px;
  background: #fff;
  color: #2563eb;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0,0,0,.18);
}

.page-club-profile .cv-tier-pill {
  background: rgba(200,200,208,.1);
  color: var(--qaraj-metallic);
  border-color: rgba(200,200,208,.22);
}

.page-club-profile .cv-tier-pill--standard {
  background: rgba(148, 163, 184, 0.12);
  color: #cbd5e1;
  border-color: rgba(148, 163, 184, 0.22);
}

.page-club-profile .cv-info-card strong.is-accent {
  color: var(--qaraj-accent, #c8cdd4);
}

.page-club-profile .cv-call-btn {
  color: var(--qaraj-text);
  background: rgba(200,200,208,.1);
  border: 1px solid var(--qaraj-border);
  box-shadow: none;
}

.page-club-profile .cv-call-btn:hover {
  background: rgba(200,200,208,.16);
  opacity: 1;
}

.page-club-profile .cv-phone-wrap {
  margin-top: 4px;
}

.page-club-profile .cv-profile-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.page-club-profile .cv-side-title {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--qaraj-text);
  letter-spacing: 0.02em;
}

.page-club-profile .cv-side-location {
  margin: 10px 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--qaraj-muted);
}

.page-club-profile .cv-location-hours-layout {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.page-club-profile .cv-location-main {
  min-width: 0;
}

.page-club-profile .cv-hours-aside {
  min-width: 0;
}

.page-club-profile .cv-hours-title {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--qaraj-text);
  letter-spacing: 0.02em;
}

.page-club-profile .cv-side-empty {
  margin: 0;
  font-size: 12px;
  color: var(--qaraj-muted);
}

@media (min-width: 720px) {
  .page-club-profile .cv-location-hours-layout {
    flex-direction: row;
    align-items: flex-start;
    gap: 18px;
  }

  .page-club-profile .cv-location-main {
    flex: 1 1 auto;
    min-width: 0;
  }

  .page-club-profile .cv-hours-aside {
    flex: 0 0 168px;
    padding-left: 16px;
    border-left: 1px solid var(--qaraj-border, rgba(255,255,255,.08));
  }
}

.page-club-profile .cv-banner {
  position: relative;
}

.page-club-profile .cv-banner--photo {
  height: 88px;
  overflow: hidden;
}

.page-club-profile .cv-banner-bg--mobile {
  display: none;
}

.page-club-profile .cv-banner-bg--empty {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(200,200,208,.15) 0%, rgba(90,90,100,.15) 55%, rgba(30,30,34,.15) 100%);
}

.page-club-profile .cv-banner-photo {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.page-club-profile .cv-banner-bg--photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: none;
}

.page-club-profile .cv-banner-bg--logo {
  transform: scale(1.12);
  filter: blur(5px);
}

.page-club-profile .cv-banner-photo-count {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.page-club-profile .cv-banner-overlay {
  background: linear-gradient(180deg, transparent 70%, rgba(20,20,22,.35) 100%);
  pointer-events: none;
}

.page-club-profile .sub-pro-orb {
  opacity: 0.15;
  filter: blur(15px);
}

.page-club-profile .cv-club-slug {
  display: flex;
  align-items: center;
  gap: 5px;
}

.page-club-profile .cv-club-verified {
  display: inline-flex;
  flex-shrink: 0;
  line-height: 0;
}

.page-club-profile .cv-location-gallery {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.page-club-profile .cv-location-hero {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #1a1a1e;
  cursor: pointer;
  aspect-ratio: 16 / 9;
}

.page-club-profile .cv-location-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-club-profile .cv-location-hero-count {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.58);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.page-club-profile .cv-location-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.page-club-profile .cv-location-thumb {
  position: relative;
  padding: 0;
  border: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #1a1a1e;
  cursor: pointer;
  aspect-ratio: 16 / 9;
}

.page-club-profile .cv-location-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-club-profile .cv-location-thumb-more {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,.45);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.cv-photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.cv-photo-lightbox[hidden] {
  display: none !important;
}

.cv-photo-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.88);
}

.cv-photo-lightbox__dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  width: min(960px, calc(100vw - 24px));
  height: min(86vh, 720px);
  margin: 7vh auto 0;
}

.cv-photo-lightbox__figure {
  margin: 0;
  height: 100%;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 10px;
  min-width: 0;
}

.cv-photo-lightbox__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 12px;
  background: rgba(255,255,255,.04);
}

.cv-photo-lightbox__caption {
  text-align: center;
  color: rgba(255,255,255,.72);
  font-size: 13px;
}

.cv-photo-lightbox__close {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.cv-photo-lightbox__nav {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.cv-photo-lightbox__nav:disabled {
  opacity: .35;
  cursor: default;
}

body.cv-lightbox-open {
  overflow: hidden;
}

@media (max-width: 720px) {
  .cv-photo-lightbox__dialog {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto;
    height: calc(100vh - 24px);
    margin-top: 12px;
  }

  .cv-photo-lightbox__nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
  }

  .cv-photo-lightbox__nav--prev { left: 10px; }
  .cv-photo-lightbox__nav--next { right: 10px; }
}

@keyframes cv-spin { to { transform: rotate(360deg); } }
