.profile-block-editor {
  border: 1px solid var(--line, #d9d3c6);
  border-radius: 16px;
  padding: 20px;
  margin: 0 0 18px;
  min-inline-size: 0;
}
.profile-block-editor legend {
  padding: 0 8px;
  font-size: 1rem;
}
.profile-block-editor label {
  display: block;
  margin-top: 14px;
}
.profile-block-editor .profile-check {
  display: flex;
}
.profile-block-editor [hidden] {
  display: none !important;
}
.profile-content-blocks {
  display: grid;
  gap: 24px;
  margin-top: 24px;
}
.profile-content-blocks:empty {
  display: none;
}
.profile-content-note {
  text-align: left;
  padding: 10px 4px;
  overflow-wrap: anywhere;
}
.profile-content-note h2,
.profile-video-block h2 {
  font-size: 1.5rem;
  line-height: 1.2;
  text-wrap: balance;
  margin: 0 0 14px;
}
.profile-content-note p {
  line-height: 1.65;
  margin: 0;
  white-space: normal;
}
.profile-hours {
  text-align: left;
  padding: 10px 4px;
  overflow-wrap: anywhere;
}
.profile-hours h2 {
  font-size: 1.5rem;
  line-height: 1.2;
  text-wrap: balance;
  margin: 0 0 14px;
}
.profile-hours-loc {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin: 0 0 8px;
  line-height: 1.5;
}
.profile-hours-loc svg {
  width: 15px;
  height: 15px;
  flex: none;
  transform: translateY(2px);
  color: var(--accent, currentColor);
}
.profile-hours-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.profile-hours-row {
  display: grid;
  grid-template-columns: minmax(0, 7.5em) minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
  padding: 7px 2px;
  border-top: 1px solid var(--line, rgba(0, 0, 0, 0.12));
  font-size: 0.95rem;
  line-height: 1.45;
}
.profile-hours-row:first-child {
  border-top: 0;
}
.profile-hours-row span:last-child {
  font-variant-numeric: tabular-nums;
}
.profile-content-divider {
  border: 0;
  border-top: 1px solid currentColor;
  opacity: 0.2;
  width: 60%;
  margin: 10px auto;
}
.profile-video-block {
  text-align: left;
}
.profile-video-stage {
  aspect-ratio: 16/9;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(145deg, #dce5d3, #eddfbb);
  color: #173d41;
}
.profile-video-load {
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  font: inherit;
  color: inherit;
  cursor: pointer;
  padding: 20px;
}
.profile-video-load svg {
  transition: transform 0.2s;
}
.profile-video-load:hover svg {
  transform: scale(1.08);
}
.profile-video-stage iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.profile-video-external {
  font-size: 0.875rem;
  text-underline-offset: 4px;
}
.profile-qr {
  margin: 20px 0;
  text-align: center;
}
.profile-qr summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  cursor: pointer;
  list-style: none;
}
.profile-qr summary::-webkit-details-marker {
  display: none;
}
.profile-qr-code svg {
  width: 220px;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 16px auto;
  background: white;
  border-radius: 12px;
  image-rendering: pixelated;
}
.profile-qr .profile-button {
  display: inline-flex;
}
.profile-qr [hidden] {
  display: none !important;
}
@media (max-width: 600px) {
  .profile-block-editor {
    padding: 16px;
  }
  .profile-video-load {
    padding: 16px;
  }
  .profile-content-note h2,
  .profile-video-block h2,
  .profile-hours h2 {
    font-size: 1.4rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .profile-video-load svg {
    transition: none;
  }
}

.profile-events-block h2 { text-wrap: balance; }
.profile-events-block ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .5rem; }
.profile-events-block a {
  display: grid;
  grid-template-columns: 1.25rem minmax(0, 1fr) 1.25rem;
  gap: .75rem;
  align-items: center;
  padding: .75rem;
  border: 1px solid currentColor;
  border-radius: .65rem;
  color: inherit;
  text-decoration: none;
}
.profile-events-block a strong { text-decoration: underline; text-underline-offset: .16em; }
.profile-events-block a :is(strong, span) { display: block; text-wrap: pretty; overflow-wrap: anywhere; }
.profile-events-block a svg { width: 1.1rem; height: 1.1rem; }
