/* Veřejný profil je součástí společného rozložení DJSpace. */
.djsp-profile {
  width: 100%;
  max-width: 1100px;
  margin: 32px auto 64px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.djsp-profile-back {
  display: inline-block;
  margin: 0 0 16px;
  color: #6f175b;
  font-weight: 700;
  text-decoration: none;
}
.djsp-profile-back:hover { text-decoration: underline; }
.djsp-profile .admin-preview-banner { margin-bottom: 18px; border-radius: 12px; }
.djsp-profile .public-hero {
  width: 100%;
  max-width: none;
  margin: 0;
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 28px;
  padding: clamp(20px, 4vw, 32px);
  border: 1px solid #ded9d3;
  border-radius: 18px;
  background: #fff;
  text-align: left;
}
.djsp-profile .public-photo-wrap {
  width: 200px;
  height: 200px;
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
}
.djsp-profile .public-photo-wrap img { display: block; width: 100%; height: 100%; object-fit: cover; }
.djsp-profile .public-photo-placeholder { width: 100%; height: 100%; margin: 0; }
.djsp-profile .public-hero h1 { margin: 6px 0 12px; overflow-wrap: anywhere; }
.djsp-profile .public-hero p { overflow-wrap: anywhere; }
.djsp-profile .public-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.djsp-profile .public-actions form { margin: 0; }
.djsp-profile .public-sections { margin: 18px 0 0; }
.djsp-profile .public-sections .card { min-width: 0; overflow-wrap: anywhere; }
.djsp-profile .public-gallery-card,
.djsp-profile .public-inquiry-card { margin-top: 18px; }
.djsp-profile .public-inquiry-card { scroll-margin-top: 100px; }
.djsp-profile .profile-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.djsp-profile .profile-gallery figure { margin: 0; min-width: 0; }
.djsp-profile .profile-gallery img { display: block; width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; border-radius: 9px; }
.djsp-profile .profile-gallery figcaption { margin-top: 5px; overflow-wrap: anywhere; }
.djsp-profile .community-profile-stream { padding: 30px 0 0; }
.djsp-profile-report { margin: 24px 0 0; font-size: 13px; }
.djsp-profile-not-found { max-width: 720px; margin: 7vh auto; text-align: center; }
@media (max-width: 680px) {
  .djsp-profile { margin: 24px auto 44px; }
  .djsp-profile .public-hero { grid-template-columns: 1fr; gap: 18px; }
  .djsp-profile .public-photo-wrap { width: min(200px, 100%); height: auto; aspect-ratio: 1; }
  .djsp-profile .profile-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .djsp-profile .admin-preview-banner { flex-wrap: wrap; }
}
@media (max-width: 380px) {
  .djsp-profile .profile-gallery { grid-template-columns: 1fr; }
}
