.public-resource-card { overflow: hidden; border-radius: 14px; }
.public-resource-player { width: 100%; min-width: 200px; min-height: 200px; aspect-ratio: 16 / 9; background: #0b1f3a; }
.public-resource-player iframe { display: block; width: 100%; height: 100%; min-height: 200px; border: 0; }
.public-resource-watch { position: relative; display: block; width: 100%; height: 100%; min-height: 200px; border: 0; padding: 0; color: white; background: #0b1f3a; cursor: pointer; }
.public-resource-watch img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; opacity: .65; }
.public-resource-watch span { position: relative; display: inline-block; margin: 65px 12px; padding: 12px 20px; border-radius: 12px; background: #0b1f3a; font-weight: 600; }
.public-resource-watch small { display: block; margin-top: 4px; font-size: .75rem; font-weight: 400; }
.public-resource-watch:focus-visible { outline: 3px solid #f8c35e; outline-offset: -4px; }
.public-resource-card a { text-decoration: none; }
.public-resource-card a:hover { text-decoration: underline; }
.public-resource-description { white-space: pre-wrap; overflow-wrap: anywhere; }

/* Community organization / venue profile */
.community-profile {
  --cp-navy: #003b64;
  --cp-navy-deep: #002642;
  --cp-gold: #ffc107;
  --cp-ink: #212529;
  --cp-muted: #5c6770;
  --cp-line: #e6eaf0;
  --cp-surface: #ffffff;
  --cp-bg: #f5f7fa;
  background:
    radial-gradient(1200px 420px at 10% -10%, rgba(0, 59, 100, 0.08), transparent 60%),
    radial-gradient(900px 360px at 100% 0%, rgba(255, 193, 7, 0.12), transparent 55%),
    var(--cp-bg);
  min-height: 60vh;
  padding-bottom: 4rem;
  font-family: "Open Sans", system-ui, sans-serif;
  color: var(--cp-ink);
}
.community-profile__hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  margin-bottom: 1.75rem;
}
.community-profile__hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(0, 38, 66, 0.96), rgba(0, 59, 100, 0.88) 55%, rgba(10, 81, 134, 0.85)),
    repeating-linear-gradient(-18deg, rgba(255, 255, 255, 0.03) 0 2px, transparent 2px 14px);
}
.community-profile__hero-inner {
  position: relative;
  z-index: 1;
  padding: 2rem 1rem 2.35rem;
}
.community-profile__crumb {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--cp-navy);
  text-decoration: none;
  margin-bottom: 0.75rem;
}
.community-profile__crumb:hover { text-decoration: underline; }
.community-profile__crumb--light { color: rgba(255, 255, 255, 0.88); }
.community-profile__identity {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  flex-wrap: wrap;
}
.community-profile__logo {
  width: 112px;
  height: 112px;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  border: 2px solid rgba(255, 193, 7, 0.55);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
  flex: 0 0 auto;
  display: grid;
  place-items: center;
}
.community-profile__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.community-profile__logo--placeholder {
  background: linear-gradient(160deg, #0a5186, #003b64);
  color: var(--cp-gold);
  font-size: 2.25rem;
}
.community-profile__heading { flex: 1 1 220px; min-width: 0; }
.community-profile__kicker {
  margin: 0 0 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.72);
}
.community-profile__title {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  color: var(--cp-navy);
  margin: 0;
  line-height: 1.15;
}
.community-profile__title--hero {
  color: #fff;
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  margin-bottom: 0.85rem;
}
.community-profile__lead { color: var(--cp-muted); }
.community-profile__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.community-profile__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.8rem;
  font-weight: 600;
}
.community-profile__chip--verified {
  background: rgba(255, 193, 7, 0.18);
  border-color: rgba(255, 193, 7, 0.45);
  color: #ffe9a3;
}
.community-profile__panel {
  background: var(--cp-surface);
  border: 1px solid var(--cp-line);
  border-radius: 16px;
  padding: 1.25rem 1.35rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 8px 24px rgba(0, 38, 66, 0.04);
}
.community-profile__panel--soft {
  background: linear-gradient(180deg, #fff, #f8fafc);
}
.community-profile__panel--map { padding-bottom: 1rem; }
.community-profile__section-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--cp-navy);
  margin: 0 0 0.75rem;
}
.community-profile__prose {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.65;
  color: var(--cp-ink);
}
.community-profile__address {
  line-height: 1.55;
  font-size: 1.02rem;
}
.community-profile__map {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 220px;
  border-radius: 12px;
  overflow: hidden;
  background: #dfe7ef;
  border: 1px solid var(--cp-line);
}
.community-profile__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.community-profile__cta {
  margin-top: 0.25rem;
  margin-bottom: 1rem;
}
.community-profile__aside .community-profile__panel:last-child {
  margin-bottom: 0;
}

@media (max-width: 575.98px) {
  .community-profile__hero-inner { padding-top: 1.5rem; padding-bottom: 1.75rem; }
  .community-profile__logo { width: 88px; height: 88px; border-radius: 14px; }
  .community-profile__map { aspect-ratio: 1 / 1; }
}
