.community-public-shell {
  --club-dark: color-mix(in srgb, var(--community-primary) 20%, #06172a);
  --club-rich: color-mix(in srgb, var(--community-primary) 36%, #071b31);
  --club-accent: color-mix(in srgb, var(--community-secondary) 48%, #fff);
  --club-paper: color-mix(in srgb, var(--community-primary) 7%, #fff);
  --club-line: color-mix(in srgb, var(--community-primary) 21%, #e2e8f0);
  --club-button: color-mix(in srgb, var(--community-primary) 36%, #091a2d);
  min-width: 0;
}
.community-public-shell .community-hero {
  background: var(--club-dark);
  border: 1px solid var(--club-line);
  padding: clamp(1rem, 2.4vw, 2.2rem);
  min-height: 0;
}
.community-public-shell .community-hero::after {
  background: linear-gradient(90deg, var(--club-dark) 7%, color-mix(in srgb, var(--club-dark) 88%, transparent) 55%, transparent 100%),
    linear-gradient(0deg, var(--club-dark), color-mix(in srgb, var(--club-dark) 22%, transparent) 85%);
}
.community-public-shell .community-identity { margin: .95rem 0; }
.community-public-shell .community-identity > img {
  flex-basis: clamp(76px, 12vw, 158px);
  width: clamp(76px, 12vw, 158px);
  height: clamp(76px, 12vw, 158px);
}
.community-public-shell .community-identity > div {
  border-inline-start: 3px solid var(--club-accent);
  padding-inline-start: clamp(.75rem, 1.7vw, 1.45rem);
  min-width: 0;
}
.community-public-shell .community-identity h1 {
  font-size: clamp(1.6rem, 3.6vw, 3.5rem);
  max-width: 24ch;
  text-wrap: balance;
}
.community-public-shell .community-identity p { max-width: 64ch; overflow-wrap: anywhere; }
.community-public-shell .community-city-chips a.is-active { background: #fff; color: var(--club-button); }
.community-public-shell .community-socials svg { display: block; width: 1em; height: 1em; }
.community-public-shell .community-tabs {
  gap: .3rem;
  padding: .35rem;
  border-color: var(--club-line);
  background: color-mix(in srgb, var(--community-primary) 4%, #fff);
  overscroll-behavior-inline: contain;
}
.community-public-shell .community-tabs a {
  position: relative;
  display: grid;
  place-items: center;
  padding: .65rem .9rem .75rem;
  border: 0;
  border-radius: 9px;
  color: #17304f;
  font-weight: 650;
  transition: background-color .15s ease;
}
.community-public-shell .community-tabs a:hover { background: var(--club-paper); }
.community-public-shell .community-tabs a.is-active {
  background: var(--community-primary);
  color: var(--community-primary-ink);
}
.community-public-shell .community-tabs a.is-active::after {
  position: absolute;
  inset: auto 0 .28rem;
  margin-inline: auto;
  width: 1.65rem;
  height: 3px;
  border-radius: 3px;
  background: var(--community-secondary);
  content: "";
}
.community-public-shell .community-tabs a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -3px;
}
@media (max-width: 767px) {
  .community-public-shell .community-tabs a { flex: 0 0 auto; }
}
@media (prefers-reduced-motion: reduce) {
  .community-public-shell .community-tabs a { transition: none; }
}

.community-home-layout {
  display: grid;
  gap: clamp(.85rem, 1.5vw, 1.25rem);
  min-width: 0;
}
.community-home-layout > *, .community-home-layout .community-feature-row > * { min-width: 0; margin: 0; }
.community-feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(.85rem, 1.5vw, 1.25rem);
}
.community-feature-row > :only-child { grid-column: 1 / -1; }
.community-home-layout .community-panel { border-color: var(--club-line); }
.community-home-layout .community-heading { align-items: center; }
.community-home-layout .community-heading h2, .community-home-layout .community-overview-heading h2 {
  font-size: clamp(1.04rem, 1.6vw, 1.36rem);
}
.community-home-layout .community-heading i, .community-home-gallery .community-overview-heading i { color: var(--club-button); }
.community-home-layout .community-home-feed-rail > * { flex-basis: min(85%, max(calc((100% - .8rem) / 2), 11rem)); }
.community-feature-row > .community-home-feed:only-child .community-home-feed-rail > :not(:only-child) {
  flex-basis: min(85%, max(calc((100% - 1.6rem) / 3), 11rem));
}
.community-home-layout .community-home-feed-rail > :only-child { flex-basis: 100%; }
.community-home-layout .community-home-feed-rail h3 { overflow-wrap: anywhere; }
.community-home-layout .community-home-gallery { display: flex; flex-direction: column; }
.community-home-layout .community-home-gallery .community-home-mosaic { flex: 1; }

.community-home-layout .community-club-panel {
  background: linear-gradient(135deg, var(--club-rich), var(--club-dark) 76%);
  border: 1px solid var(--club-line);
  border-block-start: 3px solid var(--community-secondary);
  color: #fff;
}
.community-home-meeting { display: flex; flex-direction: column; }
.community-club-panel .community-overview-heading h2, .community-club-panel .community-overview-heading i,
.community-club-panel .community-heading h2, .community-club-panel .community-home-meeting-title { color: #fff; }
.community-home-meeting .community-overview-heading > span {
  background: #ffffff16; color: #fff; border: 1px solid #ffffff45;
}
.community-home-layout .community-home-meeting-body { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.community-home-layout .community-home-meeting-body:not(:has(.community-home-meeting-photo)) { grid-template-columns: minmax(0, 1fr); }
.community-home-layout .community-home-meeting-photo { min-height: 0; }
.community-home-layout .community-home-meeting-photo img { aspect-ratio: 16 / 10; min-height: 0; max-height: 210px; }
.community-club-panel .community-home-meeting-title { font-size: clamp(1.12rem, 2vw, 1.6rem); }
.community-club-panel .community-home-meeting-name {
  display: block; color: #eef5ff; overflow: visible; font-size: .88rem; overflow-wrap: anywhere;
}
.community-club-panel .community-home-meeting-facts p,
.community-club-panel .community-home-meeting-facts i,
.community-club-panel .community-home-attendance,
.community-club-panel .community-membership-actions label,
.community-club-panel .community-membership-copy span,
.community-club-panel .community-membership-note { color: #e6f0fa; }
.community-club-panel .community-home-meeting-facts p { font-size: .81rem; overflow-wrap: anywhere; }
/* Attendance stays in the meeting card until the visitor opens the panel. */
.community-home-meeting-actions { margin-top: auto; padding-top: .75rem; min-width: 0; }
.community-home-rsvp-state { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem .8rem; }
.community-home-rsvp-summary { display: flex; align-items: center; flex-wrap: wrap; gap: .3rem .5rem; }
.community-home-attendance { color: #e6f0fa; }
.community-home-own-status {
  padding: .12rem .45rem; border-radius: 20px;
  background: #ffffff24; color: #fff; font-weight: 700;
}
.community-home-rsvp-state > .community-button,
.community-rsvp-save,
.community-team-banner .community-team-action,
.community-hero-actions .community-hero-membership {
  background: var(--community-secondary);
  color: var(--community-secondary-ink);
  min-height: 44px;
  font-size: .77rem;
}
.community-home-rsvp-state > .community-button:hover,
.community-rsvp-save:hover,
.community-team-banner .community-team-action:hover,
.community-hero-actions .community-hero-membership:hover {
  background: var(--community-secondary);
  color: var(--community-secondary-ink);
  box-shadow: inset 0 0 0 2px var(--community-secondary-ink);
}
.community-rsvp-feedback { margin: .35rem 0 0; color: #e6f0fa; font-size: .78rem; }
.community-rsvp-feedback:empty { display: none; }

.community-rsvp-dialog {
  width: min(460px, calc(100% - 2rem)); max-width: none;
  max-height: calc(100dvh - 2rem); max-height: calc(100dvh - env(safe-area-inset-top, 0px) - 2rem);
  margin: auto; padding: 0; border: 0; border-radius: 24px; overflow: auto;
  overscroll-behavior: contain; background: #fff; color: #0b2545;
  box-shadow: 0 24px 80px #00132866;
}
html:has(.community-rsvp-dialog[open]) { overflow: hidden; }
.community-rsvp-dialog::backdrop { background: #071b31a8; backdrop-filter: blur(3px); }
.community-rsvp-sheet { padding: clamp(1rem, 4vw, 1.7rem); }
.community-rsvp-sheet header { position: relative; text-align: center; }
.community-rsvp-sheet h2 {
  margin: .6rem 0 .25rem; font-size: clamp(1.35rem, 4.5vw, 1.85rem);
  font-weight: 850; letter-spacing: -.035em; line-height: 1.15;
}
.community-rsvp-sheet header p { margin: 0; color: #526983; font-size: .88rem; }
.community-rsvp-dismiss, .community-rsvp-stepper button {
  display: grid; place-items: center; width: 44px; height: 44px;
  border: 1px solid #cbd8e6; border-radius: 10px;
  background: #fff; color: var(--club-button); cursor: pointer;
}
.community-rsvp-dismiss { position: absolute; inset: 0 0 auto auto; }
.community-rsvp-dismiss:hover, .community-rsvp-stepper button:hover:not(:disabled) { background: #e8f0f9; }
.community-rsvp-icon {
  display: inline-grid; place-items: center; width: 52px; height: 52px;
  border-radius: 14px; background: var(--club-button); color: #fff; font-size: 1.35rem;
}
.community-home-rsvp-form { display: grid; gap: .7rem; margin: 1.15rem 0 0; }
.community-rsvp-stepper {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: .55rem; padding: .65rem .75rem; border-radius: 12px; background: var(--club-paper);
}
.community-rsvp-stepper > div {
  display: flex; align-items: center; gap: .35rem; font-variant-numeric: tabular-nums;
}
.community-rsvp-stepper span { min-width: 2ch; font-weight: 850; text-align: center; }
.community-rsvp-stepper button { font-size: 1.28rem; line-height: 1; }
.community-rsvp-dialog button:disabled { opacity: .55; cursor: default; }
.community-rsvp-total {
  margin: 0; padding: .65rem; text-align: center; border-radius: 9px;
  background: #e7f0fb; font-size: .86rem;
}
.community-rsvp-total strong { margin-inline-start: .2em; }
.community-rsvp-save { font-size: .9rem; }
.community-rsvp-cancel {
  justify-self: center; padding: .5rem .7rem; min-height: 44px;
  border: 0; background: transparent; color: #a11e31; text-decoration: underline; cursor: pointer;
}
.community-rsvp-error {
  margin: 0; padding: .65rem; border-radius: 9px; background: #fdecef; color: #931a32; font-size: .82rem;
}
@media (max-width: 767px) {
  .community-rsvp-dialog {
    width: 100%; margin: auto 0 0; border-radius: 24px 24px 0 0;
  }
  .community-rsvp-sheet {
    padding-inline: max(1rem, env(safe-area-inset-left, 0px)) max(1rem, env(safe-area-inset-right, 0px));
    padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  }
}
.community-team-banner .community-membership-leave, .community-club-panel .community-home-meeting-footer a { color: #fff; }
.community-home-meeting-details { margin-top: .65rem; font-size: .8rem; overflow-wrap: anywhere; }
.community-home-meeting-details summary { cursor: pointer; font-weight: 750; }
.community-home-meeting-details a, .community-network-heading > a { color: #fff; }
.community-home-meeting-details p { margin: .45rem 0; color: #eef5ff; }
.community-club-panel .community-home-meeting-footer { margin-top: .65rem; border-color: #ffffff38; flex-wrap: wrap; }
.community-club-panel .community-home-meeting-footer a { font-size: .77rem; }
.community-share-status { margin: 0; font-size: .78rem; }
.community-share-status:not(:empty) { margin-top: .45rem; }

/* Photos on the public gallery page. */
.community-gallery-filters > label { flex: 1 1 9rem; min-width: 0; }
.community-gallery-filters > label:has([name="q"]) { flex-grow: 1.35; }
.community-gallery-filters > label:has([name="fecha"]) { flex-grow: .8; }
.community-gallery-manage { display: flex; justify-content: flex-end; margin: 0 0 .7rem; }
.community-gallery-manage a { color: var(--club-button); font-size: .82rem; font-weight: 750; }

.community-gallery-page .community-photo-grid {
  --gallery-gap: clamp(16px, 1.55vw, 20px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gallery-gap);
}
.community-gallery-page [data-photo-layout="pairs"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.community-gallery-page [data-photo-layout="five"] { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.community-gallery-page [data-photo-layout="five"] > * { grid-column: span 2; }
.community-gallery-page [data-photo-layout="five"] > :nth-child(-n+2) { grid-column: span 3; }

.community-gallery-page [data-photo-layout="many"] {
  --gallery-columns: 3;
  display: flex; flex-wrap: wrap; justify-content: center;
}
.community-gallery-page [data-photo-layout="many"] > * {
  flex: 0 0 calc((100% - (var(--gallery-columns) - 1) * var(--gallery-gap)) / var(--gallery-columns));
}

.community-gallery-page .community-photo-tile {
  border: 1.5px solid var(--community-primary);
  border-radius: 12px;
}
.community-gallery-page .community-photo-tile > a {
  overflow: hidden; border-radius: 10.5px;
}
.community-gallery-page .community-photo-tile img {
  display: block; width: 100%; height: auto; aspect-ratio: 3 / 2;
  object-fit: cover; object-position: center; border-radius: 0;
}
.community-gallery-page [data-photo-layout="single"] {
  grid-template-columns: minmax(0, 1fr); justify-items: center;
}
.community-gallery-page [data-photo-layout="single"] .community-photo-tile {
  width: min(100%, 58rem, calc(var(--gallery-image-width) + 3px), calc(min(70svh, 40rem) * var(--gallery-image-ratio) + 3px));
}
.community-gallery-page [data-photo-layout="single"] img {
  aspect-ratio: auto; object-fit: contain;
}
.community-gallery-page .community-photo-tile > .community-photo-reaction {
  position: absolute; inset: auto auto .45rem .45rem; margin: 0;
}
.community-gallery-page .community-photo-reaction button,
.community-gallery-page .community-photo-reaction > a {
  min-width: 44px; min-height: 44px; padding: .25rem .5rem;
  border: 0; border-radius: 9px; background: #07182bd9; color: #fff;
}
.community-gallery-page .community-photo-reaction button[aria-pressed="true"] i { color: #ff8da6; }
.community-gallery-page .community-photo-tile .community-heart-status {
  right: auto; left: 0; width: min(180px, 65vw);
}
.community-gallery-page .community-photo-tile :focus-visible {
  outline-color: var(--community-primary); outline-offset: 3px;
}

@media (min-width: 1200px) {
  .community-gallery-page [data-photo-layout="many"] { --gallery-columns: 4; }
}
@media (max-width: 767px) {
  .community-gallery-filters > label:last-of-type { flex-basis: 9rem; }
  .community-gallery-page .community-photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .community-gallery-page [data-photo-layout="five"] > :nth-child(n) { grid-column: auto; }
  .community-gallery-page [data-photo-layout="triples"] > :last-child:nth-child(odd),
  .community-gallery-page [data-photo-layout="five"] > :last-child { grid-column: 1 / -1; }
  .community-gallery-page [data-photo-layout="many"] { --gallery-columns: 2; }
  .community-gallery-page [data-photo-layout="single"] { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .community-gallery-page .community-photo-grid { grid-template-columns: minmax(0, 1fr); }
  .community-gallery-page [data-photo-layout="many"] { --gallery-columns: 1; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .community-gallery-page .community-photo-tile img { transition: transform .2s ease; }
  .community-gallery-page .community-photo-tile > a:hover img { transform: scale(1.035); }
}

/* Public meetings */
.community-meetings-page { display: grid; gap: clamp(.8rem, 1.6vw, 1.25rem); }
.community-meetings-banner {
  display: flex; align-items: center; gap: clamp(.75rem, 2vw, 1.5rem);
  padding: .9rem clamp(1rem, 2.8vw, 2rem);
  border: 1px solid var(--club-line); border-radius: 13px;
}
.community-meetings-banner .community-banner-watermark { inset-inline-end: 4%; width: clamp(120px, 22vw, 280px); opacity: .23; }
.community-meetings-banner h2 {
  margin: 0; color: #fff; font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.08; font-weight: 850; letter-spacing: -.045em;
}
.community-meetings-banner p { margin: .35rem 0 0; font-size: .86rem; color: #ecf4ff; }
.community-meetings-page .community-meetings-filters { margin: 0; }
.community-meetings-filters .community-button { background: var(--community-secondary); color: var(--community-secondary-ink); }
.community-meetings-filters .community-button:hover { box-shadow: inset 0 0 0 2px var(--community-secondary-ink); }

.community-public-shell .community-event-detail {
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  grid-template-areas: "media info"; align-items: stretch;
  gap: clamp(.7rem, 1.5vw, 1.15rem); padding: clamp(.65rem, 1.5vw, 1.15rem);
  margin: 0; border-color: var(--club-line);
}
.community-public-shell .community-event-detail:not(:has(.community-event-media)) {
  grid-template-columns: minmax(0, 1fr); grid-template-areas: "info";
}
.community-event-detail .community-event-media {
  grid-area: media; display: grid; align-content: start; gap: .65rem;
}
.community-event-detail .community-event-photo img { border: 1px solid var(--club-line); max-height: 380px; }
.community-event-detail .community-event-location,
.community-event-detail .community-event-parking {
  margin: 0; padding: .75rem; background: var(--club-paper); border-color: var(--club-line);
}
.community-event-detail .community-event-location .community-event-map iframe { height: clamp(175px, 19vw, 240px); }
.community-event-detail .community-location-links a {
  flex: 1 1 6.5rem; color: var(--club-button); font-weight: 750; padding: .45rem .35rem;
}
.community-event-detail .community-location-links a:hover { border-color: var(--community-primary); }
.community-event-detail .community-event-parking h3 { margin: 0 0 .45rem; font-size: .9rem; font-weight: 800; }
.community-event-detail .community-event-parking p { margin: .4rem 0 0; font-size: .82rem; }

.community-event-detail .community-event-information {
  grid-area: info; display: block; position: relative; overflow-wrap: anywhere;
  padding: clamp(.9rem, 2vw, 1.5rem); border: 1px solid var(--club-line);
  border-block-start: 3px solid var(--community-secondary); border-radius: 12px;
  background: linear-gradient(135deg, #fff 48%, var(--club-paper));
}
.community-event-detail .community-event-information.has-stadium {
  padding-bottom: clamp(4.3rem, 8vw, 7rem);
  background:
    linear-gradient(to bottom, #ffffffe0, #ffffff9c 58%, #ffffff45) bottom / 100% auto no-repeat,
    url('../images/network/community_meeting_stadium_buf.webp') bottom right / 100% auto no-repeat,
    #fff;
}
.community-event-heading { display: flow-root; }
.community-event-heading .network-eyebrow { color: var(--club-button); }
.community-event-team-mark {
  float: right; width: clamp(48px, 7vw, 88px); height: auto; max-height: 66px;
  object-fit: contain; margin-inline-start: .65rem;
}
.community-event-detail .community-event-heading h2 {
  margin: .35rem 0 .85rem; font-size: clamp(1.35rem, 2.7vw, 2.35rem); color: #0b2545;
}
.community-event-detail .community-event-facts { gap: .6rem; }
.community-event-detail .community-event-facts i { flex: 0 0 18px; color: var(--club-button); }
.community-event-detail .community-kickoff {
  padding: .48rem .7rem; background: var(--club-paper); border-radius: 8px;
}
.community-kickoff i { margin-inline-end: .25rem; }
.community-event-detail .community-rsvp {
  display: block; margin: .8rem 0; padding: .65rem .75rem; background: var(--club-paper); border: 0; border-radius: 10px;
}
.community-event-detail .community-home-attendance,
.community-event-detail .community-rsvp-feedback { color: var(--club-button); }
.community-event-detail .community-home-own-status { color: var(--club-button); background: #fff; }
.community-event-detail .community-rsvp-save { width: 100%; }
.community-event-detail .community-rsvp .community-rsvp-total { padding-block: .65rem; }
.community-event-detail .community-rsvp .community-rsvp-error { margin: 0; }
.community-event-detail .community-rsvp .community-rsvp-feedback:not(:empty) { margin-top: .35rem; }
.community-rsvp-fallback { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.community-rsvp-fallback input {
  width: 4.5rem; min-height: 44px; padding: .35rem .45rem;
  border: 1px solid var(--club-line); border-radius: 7px;
}
.community-event-detail .community-event-costs { margin: .75rem 0; padding-bottom: .65rem; }
.community-event-costs dt { font-size: .75rem; color: #52647a; }
.community-event-costs dd { margin: .16rem 0 0; font-weight: 800; }
.community-event-content h3 i, .community-event-organizer i { margin-inline-end: .3rem; color: var(--club-button); }
.community-event-content .community-event-promotion { margin-top: .65rem; }
.community-event-detail .community-event-organizer { margin-bottom: 0; }
.community-event-detail .community-meeting-menu { grid-column: 1 / -1; }

.community-meeting-list.community-panel { overflow: hidden; padding: 0; margin: 0; border-color: var(--club-line); }
.community-meetings-banner-small { border: 0; border-radius: 0; }
.community-meetings-banner-small > i { font-size: 1.4rem; }
.community-meeting-list .community-meetings-rail { padding: .9rem; }
.community-meeting-list .community-event-card { border-color: var(--club-line); }
.community-meeting-list .community-event-card.is-selected {
  border-color: var(--community-secondary); box-shadow: inset 0 0 0 1px var(--community-secondary);
}
.community-meeting-list .community-event-card:focus-visible { outline-offset: -3px; }
.community-meeting-list .community-carousel-controls { padding: 0 .9rem .75rem; }

@media (max-width: 767px) {
  .community-meetings-banner { gap: .65rem; }
  .community-meetings-banner p { font-size: .77rem; }
  .community-public-shell .community-event-detail {
    grid-template-columns: minmax(0, 1fr); grid-template-areas: "info" "media";
  }
  .community-public-shell .community-event-detail:not(:has(.community-event-media)) { grid-template-areas: "info"; }
  .community-event-detail .community-event-information.has-stadium { padding-bottom: 4.4rem; }
  .community-event-detail .community-event-photo img { max-height: 320px; }
  .community-meetings-filters label, .community-meetings-filters label:last-of-type { flex: 1 1 min(12rem, 100%); }
}

.community-home-layout .community-home-about {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(.7rem, 1.7vw, 1.5rem);
}
.community-home-layout .community-home-about:not(:has(.community-identity-art)) { grid-template-columns: minmax(0, 1fr); }
.community-identity-art {
  display: grid; place-items: center; min-width: 0;
  border-inline-end: 2px solid var(--club-accent);
  padding-inline-end: clamp(.55rem, 1.35vw, 1.2rem);
}
.community-identity-art img { width: 100%; height: auto; max-height: 235px; object-fit: contain; }
.community-identity-summary { min-width: 0; overflow-wrap: anywhere; }
.community-identity-summary h2 { margin: 0 0 .35rem; font-size: clamp(1.14rem, 1.9vw, 1.65rem); color: #fff; }
.community-identity-summary strong { display: block; color: #fff; font-size: .92rem; }
.community-identity-summary p {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; overflow: hidden;
  color: #eaf2fa; margin: .45rem 0; font-size: .86rem; line-height: 1.5;
}
.community-identity-summary .community-button { margin-top: .65rem; }
.community-identity-socials { margin-top: .65rem; justify-content: start; }
.community-identity-socials a { width: 30px; height: 30px; border-radius: 8px; }
#conoce-comunidad { scroll-margin-top: 10rem; }
.community-identity-dialog {
  width: min(680px, calc(100% - var(--sf-safe-left, 0px) - var(--sf-safe-right, 0px) - 2rem));
  max-height: calc(90dvh - var(--sf-safe-top, 0px) - var(--sf-safe-bottom, 0px));
  margin: auto; padding: 0; overflow: auto; overscroll-behavior: contain;
  border: 1px solid #d9e3ef; border-radius: 15px;
  background: #fff; color: #0b2545; box-shadow: 0 20px 60px #04172b45;
}
.community-identity-dialog::backdrop { background: #071b31a8; }
html:has(.community-identity-dialog[open]) { overflow: hidden; }
.community-identity-dialog-inner { padding: clamp(1rem, 4vw, 2rem); overflow-wrap: anywhere; }
.community-identity-dialog header {
  display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem;
  margin-bottom: .85rem; padding-top: .7rem; border-top: 3px solid var(--community-primary, #00338d);
}
.community-identity-dialog h2 { margin: 0; font-size: clamp(1.25rem, 4vw, 1.8rem); font-weight: 850; }
.community-identity-dialog header button { flex: 0 0 44px; padding: .4rem; }
.community-site-dialog { width: min(490px, calc(100% - 2rem)); }
.community-membership-actions .community-site-dialog form { display: grid; gap: 1rem; }
.community-team-banner .community-membership-actions .community-site-dialog label,
.community-team-banner .community-membership-actions .community-site-dialog p { color: #294864; }
.community-site-dialog-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.community-identity-subtitle { margin-top: -.35rem; font-weight: 750; }
.community-identity-modal-image {
  display: block; width: auto; max-width: 100%; max-height: min(30vh, 235px);
  margin: .85rem auto; object-fit: contain; border-radius: 8px;
}
.community-identity-modal-image[hidden] { display: none; }
.community-identity-text { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.65; margin: .8rem 0; max-width: 75ch; }
.community-identity-text:empty { display: none; }
.community-identity-photos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 145px), 1fr)); gap: .6rem; margin: .9rem 0; }
.community-identity-photos img { width: 100%; height: auto; object-fit: contain; border-radius: 8px; }
.community-identity-preview-card { padding: .75rem; border-radius: 8px; background: #f0f5fb; }
.community-identity-preview-card p { margin: .35rem 0 0; }

.community-team-banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(110deg, var(--club-dark), color-mix(in srgb, var(--community-primary) var(--community-banner-strength, 32%), #071b31) 64%, var(--club-dark));
  border-color: var(--club-line);
  color: #fff;
}
.community-team-banner::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(132deg, transparent 22px, var(--community-secondary) 23px 30px, #fff 31px 33px, transparent 34px) top left / 44px 48px no-repeat,
    linear-gradient(132deg, transparent 22px, #fff 23px 25px, var(--community-secondary) 26px 33px, transparent 34px) bottom right / 44px 48px no-repeat;
  pointer-events: none;
}
.community-banner-watermark {
  position: absolute;
  z-index: -1;
  inset: 50% clamp(1rem, 18%, 17rem) auto auto;
  transform: translateY(-50%) rotate(-10deg);
  width: clamp(128px, 23vw, 270px);
  height: auto;
  aspect-ratio: 1.4;
  object-fit: contain;
  opacity: .18;
  pointer-events: none;
}
.community-public-shell .community-network-heading > div { display: flex; align-items: center; gap: .55rem; min-width: 0; }
.community-network-heading img { object-fit: contain; flex-shrink: 0; }
.community-team-banner .community-heading h2,
.community-home-layout .community-team-banner .community-heading h2 i,
.community-public-shell .community-network-heading > a { color: #fff; }
.community-public-shell .community-network-heading > a { text-align: end; }
.community-public-shell .community-network-preview .community-sports-cards {
  display: flex; flex-wrap: wrap; gap: .55rem;
}
.community-public-shell .community-network-preview .community-sports-cards > article {
  flex: 1 1 183px; min-width: 0; padding: .65rem;
  border: 1px solid var(--club-line); border-radius: 11px; background: #fff; color: #0b2545;
}
.community-network-preview .community-network-compact-card { display: flex; flex-direction: column; }
.community-public-shell .community-network-compact-card h3 {
  margin: 0 0 .48rem; padding: 0; border: 0; background: none; font-size: .87rem;
}
.community-network-compact-card h3 i { margin-inline-end: .2rem; color: var(--club-button); }
.community-public-shell .community-network-preview .community-network-match { margin: 0; padding: 0; }
.community-public-shell .community-network-preview .community-match-identity {
  margin: 0; min-height: 0; gap: .3rem; padding: .42rem .3rem; flex: 1; background: var(--club-paper);
}
.community-network-preview .community-match-identity img { width: min(48px, 100%); height: 34px; }
.community-network-preview .community-match-identity > strong { font-size: 1.05rem; }
.community-network-preview .community-match-identity > span { gap: .13rem; }
.community-network-preview .community-match-identity > :last-child { grid-column: 1/-1; justify-self: center; text-align: center; }
.community-network-preview .community-match-identity .community-match-date { padding: 0; }
.community-network-preview .community-match-identity .community-game-outcome { padding: .16rem .5rem; }
.community-network-compact-card dl { display: grid; flex: 1; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .25rem; margin: 0; }
.community-network-compact-card dl div {
  display: flex; flex-direction: column-reverse; justify-content: center;
  text-align: center; background: var(--club-paper); padding: .45rem .18rem; border-radius: 7px;
}
.community-network-compact-card dt { font-size: .67rem; overflow-wrap: anywhere; }
.community-network-compact-card dt small { display: block; font-size: .62rem; }
.community-network-compact-card dd { margin: 0; font-size: 1.1rem; font-weight: 850; }
.community-network-compact-card dl > :nth-child(2) dd { color: var(--club-button); }
.community-network-compact-card dl > :nth-child(3) dd { color: #ac243a; }
.community-network-compact-card > a { color: var(--club-button); font-size: .74rem; font-weight: 750; }
.community-network-compact-card > a:last-child:not(.community-network-match) { margin: auto 0 0; padding-top: .48rem; }
.community-sports-cards .community-network-news, .community-sports-cards .community-network-calendar-game {
  display: flex; align-items: center; gap: .4rem; margin: 0;
  padding: .22rem .1rem; border-bottom: 1px solid #e4ebf2; overflow-wrap: anywhere;
}
.community-network-news img { width: 40px; height: 30px; flex: 0 0 40px; object-fit: cover; border-radius: 5px; }
.community-network-calendar-game img { width: 27px; height: 23px; object-fit: contain; }
.community-network-calendar-game > :last-child { margin-inline-start: auto; }

.community-live-activities, .community-membership-cta { scroll-margin-top: 10rem; }
.community-live-activities .community-heading { margin-bottom: 0; }
.community-live-activities .community-heading p { color: #f0f5ff; }
.community-live-activities > header > a.community-button { color: var(--club-button); max-width: none; text-align: center; }
.community-live-activities > header > a.community-button:hover,
.community-club-panel .community-button.is-white:hover { background: var(--club-paper); color: var(--club-button); }
.community-public-shell a:focus-visible, .community-public-shell button:focus-visible { outline: 2px solid #348de0; outline-offset: 3px; }
.community-live-cards {
  display: grid; gap: .55rem; margin-top: .75rem;
  grid-template-columns: repeat(auto-fit,minmax(min(100%,196px),1fr));
}
.community-live-cards a {
  display: flex; align-items: center; gap: .7rem; padding: .65rem .75rem;
  background: #041831a0; color: #fff; border: 1px solid #ffffff42; border-radius: 9px;
  text-decoration: none;
}
.community-live-cards a:hover { background: #041831; }
.community-live-cards a > i:first-child { font-size: 1.4rem; }
.community-live-cards a > i:last-child { margin-inline-start: auto; }
.community-live-cards strong, .community-live-cards small { display: block; }
.community-live-cards small { margin-top: .2rem; color: #e4effc; }
.community-public-shell .community-membership-cta {
  grid-template-columns: minmax(0, 1fr) minmax(235px, .65fr);
  gap: 1rem; margin: 1rem 0 0; padding: clamp(.95rem, 1.8vw, 1.4rem);
}
.community-membership-cta .community-membership-copy { align-items: center; }
.community-membership-cta .community-membership-copy h2 { margin: 0 0 .25rem; color: #fff; overflow-wrap: anywhere; }
.community-membership-cta .community-membership-copy p,
.community-team-banner .community-membership-actions label,
.community-team-banner .community-membership-note { color: #eaf2fa; }
.community-team-banner .community-membership-icon { background: #ffffff17; border-color: #ffffff40; color: var(--club-accent); }
.community-team-banner .community-membership-actions { justify-self: end; max-width: 100%; }
.community-team-banner .community-membership-actions form { gap: .45rem; }
.community-chapter-request {
  display: inline-flex; align-items: center; min-height: 44px; margin-top: .2rem;
  color: #fff; text-decoration: underline; font-size: .78rem; font-weight: 750;
}
.community-chapter-request:hover { color: #eaf2fa; }
.community-team-banner .community-membership-actions select { height: 44px; }
.community-team-banner .community-membership-actions label { flex-basis: 8rem; }

@media (max-width: 767px) {
  .community-public-shell .community-hero::after {
    background: linear-gradient(110deg, var(--club-dark), color-mix(in srgb, var(--club-dark) 76%, transparent));
  }
  .community-public-shell .community-hero-actions > div { display: flex; flex-wrap: wrap; }
  .community-feature-row { grid-template-columns: minmax(0, 1fr); }
  .community-home-layout .community-home-feed-rail > *,
  .community-feature-row > .community-home-feed:only-child .community-home-feed-rail > :not(:only-child) { flex-basis: min(75%, 18rem); }
  .community-live-activities .community-heading { flex-wrap: wrap; }
  .community-public-shell .community-membership-cta { grid-template-columns: minmax(0, 1fr); }
  .community-team-banner .community-membership-actions { justify-self: start; }
  .community-banner-watermark { inset-inline-end: 0; }
  .community-public-shell .community-network-preview .community-sports-cards > article { flex-basis: 145px; }
  .community-public-shell .community-network-preview .community-sports-cards > .community-network-calendar {
    flex-basis: 100%;
  }
}
@media (max-width: 430px) {
  .community-home-layout .community-home-about { grid-template-columns: minmax(0, .65fr) minmax(0, 1fr); }
  .community-home-layout .community-home-meeting-body { grid-template-columns: minmax(0, 1fr); }
  .community-home-layout .community-home-meeting-photo img { min-height: 110px; }
}

.community-affiliation {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  max-width: 100%;
  margin: .1rem 0 .5rem;
  padding: .28rem .6rem;
  color: #f2f7ff;
  background: #061c37ba;
  border: 1px solid #bad6ff58;
  border-radius: 9px;
  font-size: .78rem;
  line-height: 1.3;
  text-decoration: none;
}
.community-affiliation:hover, .community-affiliation:focus-visible { color: #fff; text-decoration: underline; }
.community-affiliation img { flex-shrink: 0; object-fit: contain; }
.community-affiliation span { min-width: 0; overflow-wrap: anywhere; }
.community-affiliation i { flex-shrink: 0; font-size: .65rem; }
.community-site-contact { color: #f2f7ff; white-space: nowrap; }
.community-site-contact:hover { color: #fff; }
.community-public-shell .community-chapter-art .community-chapter-art-logo {
  object-fit: contain;
  padding: .5rem;
}
