/* CCA Directory — plugin-owned frontend styles (independent of theme) */
@import url("https://fonts.bunny.net/css?family=sora:400,500,600,700,800&display=swap");

:root {
  --cca-primary: #0a0a0a;
  --cca-secondary: #ffffff;
  --cca-accent: #ffc107;
  --cca-muted: #3a3a3a;
  --cca-border: rgba(28, 36, 48, 0.1);
  --cca-heading: "Sora", "Segoe UI", sans-serif;
  --cca-body: "Sora", "Segoe UI", sans-serif;
  --cca-radius: 18px;
  --cca-max: 1600px;
  --cca-bg: #eef1f6;
  --cca-ink: #0a0a0a;
  --cca-brand: #ffc107;
  --cca-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

.cca-wrap,
.cca-wrap *,
.cca-wrap *::before,
.cca-wrap *::after { box-sizing: border-box; }

.cca-wrap {
  max-width: var(--cca-max);
  margin: 0 auto;
  padding: 1.25rem 0 2.5rem;
  color: var(--cca-ink) !important;
  background: transparent;
  font-family: var(--cca-body) !important;
  font-size: 15.5px !important;
  line-height: 1.55 !important;
  -webkit-font-smoothing: antialiased;
  border-radius: 0;
}

.cca-sc-members--embed {
  background: transparent !important;
  padding-top: 0.5rem;
  max-width: none;
}

/* Directory breaks out of narrow theme content column */
.cca-wrap.cca-bni-dir,
.cca-wrap.cca-sc-members.cca-sc-members--embed {
  width: min(1680px, calc(100vw - 48px)) !important;
  max-width: min(1680px, calc(100vw - 48px)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  position: relative;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  box-sizing: border-box;
  padding-left: 0.35rem;
  padding-right: 0.35rem;
}

.cca-sc-toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0.85rem;
}

.cca-sc-status {
  margin: -0.35rem 0 0.85rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: #555;
  min-height: 1.2em;
}
.cca-sc-members.is-searching [data-cca-members-grid] {
  opacity: 0.55;
  transition: opacity 160ms var(--cca-ease);
}

.cca-sc-card__name {
  margin: 0 0 0.2rem !important;
  font-size: 1.08rem !important;
  letter-spacing: -0.02em !important;
}
.cca-sc-card__name a {
  color: #0a0a0a !important;
  text-decoration: none !important;
}
.cca-sc-card__name a:hover { color: #ffc107 !important; }
.cca-sc-card__role {
  margin: 0 0 0.45rem !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffc107 !important;
}
.cca-sc-card__link {
  display: inline-block;
  margin-top: 0.55rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffc107 !important;
  text-decoration: none !important;
}
.cca-sc-card__link:hover { text-decoration: underline !important; }
.cca-sc-card__media { display: block; text-decoration: none; }

/* —— Premium BNI-style directory —— */
.cca-bni-dir {
  background: transparent !important;
  max-width: none;
  padding: 0.25rem 0 2rem;
}
.cca-bni-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 1.75rem;
  padding: 0;
}
.cca-bni-search {
  flex: 1 1 560px;
  max-width: none;
  min-width: min(100%, 320px);
  height: 56px;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: #fff !important;
  border: 1px solid rgba(28, 36, 48, 0.12) !important;
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(28, 36, 48, 0.05);
  overflow: hidden;
  padding: 6px !important;
  margin: 0 !important;
  box-sizing: border-box;
}
.cca-bni-search__field {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 !important;
  min-width: 0;
  height: 44px;
  padding: 0 !important;
}
.cca-bni-search__field--query {
  flex: 1.6 1 0;
  padding: 0 0.1rem 0 0.75rem !important;
  min-width: 0;
}
.cca-bni-search__field--cat {
  flex: 0.9 1 140px;
  border-left: 1px solid rgba(28, 36, 48, 0.1);
  padding: 0 0.25rem 0 0.75rem !important;
  min-width: 140px;
  height: 44px;
}
.cca-bni-search__icon {
  color: #333 !important;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  line-height: 0;
}
.cca-bni-search__input,
.cca-bni-search__select {
  width: 100%;
  height: 44px !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  font: inherit;
  font-size: 0.94rem !important;
  font-weight: 500 !important;
  color: #121212 !important;
  -webkit-text-fill-color: #121212 !important;
  min-height: 0 !important;
  padding: 0 0.25rem !important;
  margin: 0 !important;
  border-radius: 0 !important;
  line-height: 44px !important;
  -webkit-appearance: none;
  appearance: none;
}
.cca-bni-search__input::placeholder,
.cca-bni-search__input::-webkit-input-placeholder,
.cca-bni-search__input::-moz-placeholder {
  color: #121212 !important;
  opacity: 1 !important;
  -webkit-text-fill-color: #121212 !important;
}
.cca-bni-search__select {
  cursor: pointer;
  color: #121212 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%23121212' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 0.55rem center !important;
  padding-right: 1.65rem !important;
}
.cca-bni-search button.cca-bni-search__btn,
.cca-bni-search__btn,
.cca-wrap .cca-bni-search__btn {
  flex-shrink: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: center !important;
  height: 44px !important;
  min-height: 44px !important;
  max-height: 44px !important;
  border: 0 !important;
  margin: 0 !important;
  padding: 0 1.35rem !important;
  border-radius: 12px !important;
  background: #ffc107 !important;
  background-color: #ffc107 !important;
  background-image: none !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font: inherit !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
  line-height: 1 !important;
  cursor: pointer !important;
  box-shadow: 0 6px 16px rgba(255, 193, 7, 0.28) !important;
  text-shadow: none !important;
  text-decoration: none !important;
  transition: background-color 160ms ease, box-shadow 160ms ease !important;
  transform: none !important;
  filter: none !important;
  opacity: 1 !important;
}
.cca-bni-search button.cca-bni-search__btn:hover,
.cca-bni-search button.cca-bni-search__btn:focus,
.cca-bni-search__btn:hover,
.cca-bni-search__btn:focus,
.cca-wrap .cca-bni-search__btn:hover,
.cca-wrap .cca-bni-search__btn:focus {
  background: #a40e1f !important;
  background-color: #a40e1f !important;
  background-image: none !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  box-shadow: 0 8px 20px rgba(255, 193, 7, 0.35) !important;
  filter: none !important;
  transform: none !important;
  opacity: 1 !important;
}
.cca-bni-search button.cca-bni-search__btn:active,
.cca-bni-search__btn:active {
  background: #e6ac00 !important;
  background-color: #e6ac00 !important;
  color: #ffffff !important;
}

.cca-bni-views {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  height: 56px;
  padding: 6px !important;
  background: #fff;
  border: 1px solid rgba(28, 36, 48, 0.12);
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(28, 36, 48, 0.05);
  flex-shrink: 0;
  box-sizing: border-box;
  margin: 0 !important;
}
.cca-bni-views__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  background: transparent;
  color: #5b6470;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 0.6rem 0.95rem;
  border-radius: 10px;
  cursor: pointer;
  transition: background 160ms var(--cca-ease), color 160ms var(--cca-ease);
}
.cca-bni-views__btn svg { display: block; }
.cca-bni-views__btn:hover { color: #121212; background: #f3f5f8; }
.cca-bni-views__btn.is-active {
  background: #ffc107;
  color: #000;
  box-shadow: 0 8px 18px rgba(255, 193, 7, 0.2);
}

.cca-bni-dir__bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: stretch;
  justify-content: space-between;
  margin-bottom: 1.35rem;
}
.cca-bni-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.15rem;
}
.cca-bni-grid--list {
  grid-template-columns: 1fr;
  gap: 0.85rem;
}
.cca-bni-card {
  background: #fff;
  border: 1px solid rgba(28, 36, 48, 0.1);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 220ms var(--cca-ease), box-shadow 220ms var(--cca-ease), border-color 220ms var(--cca-ease);
}
.cca-bni-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(28, 36, 48, 0.1);
  border-color: rgba(255, 193, 7, 0.22);
}
.cca-bni-card__photo {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f3f4f6;
  text-decoration: none !important;
}
.cca-bni-card__photo img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center center !important;
  display: block !important;
  margin: 0 !important;
  padding: 0.35rem !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-sizing: border-box !important;
  z-index: 1;
  transition: transform 360ms var(--cca-ease);
}
.cca-bni-card__initials {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  background: linear-gradient(145deg, #2a2a2a, #111);
  color: #fff;
  font-family: var(--cca-heading);
  font-size: clamp(2.4rem, 8vw, 3.4rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  user-select: none;
  z-index: 0;
}
.cca-bni-card__initials[hidden] {
  display: none !important;
}
.cca-bni-card:hover .cca-bni-card__photo img { transform: scale(1.035); }
.cca-bni-card__body {
  padding: 1rem 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  background: #fff;
}
.cca-bni-card__name {
  margin: 0 0 0.25rem !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.25 !important;
  color: #1a1a1a !important;
}
.cca-bni-card__name a {
  color: inherit !important;
  text-decoration: none !important;
}
.cca-bni-card__name a:hover { color: #ffc107 !important; }
.cca-bni-card__company {
  margin: 0 0 0.2rem !important;
  font-size: 0.92rem !important;
  font-weight: 600 !important;
  color: #333 !important;
  line-height: 1.3;
}
.cca-bni-card__cat {
  margin: 0 0 0.2rem !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  color: #222 !important;
}
.cca-bni-card__biz {
  margin: 0 0 0.65rem !important;
  font-size: 0.86rem !important;
  color: #666 !important;
  line-height: 1.4;
}
.cca-bni-card__cta {
  margin-top: auto;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffc107 !important;
  text-decoration: none !important;
}
.cca-bni-card__cta:hover { text-decoration: underline !important; }
.cca-bni-card--list {
  flex-direction: row;
  align-items: stretch;
  min-height: 168px;
}
.cca-bni-card--list .cca-bni-card__photo {
  width: 148px;
  min-width: 148px;
  aspect-ratio: auto;
  height: auto;
  min-height: 160px;
  align-self: stretch;
}
.cca-bni-card--list .cca-bni-card__photo img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  padding: 0.35rem !important;
  box-sizing: border-box !important;
}
.cca-bni-card--list .cca-bni-card__body {
  justify-content: center;
  padding: 1.1rem 1.25rem;
}

/* —— Premium member profile (BNI-inspired) —— */
.cca-wrap.cca-premium-profile,
.cca-premium-profile {
  background: transparent !important;
  width: min(1600px, calc(100vw - 48px)) !important;
  max-width: min(1600px, calc(100vw - 48px)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  padding: 1rem 1.5rem 3rem;
  box-sizing: border-box;
}
.cca-premium-profile__back {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-size: 0.88rem;
  font-weight: 650;
  color: #444 !important;
  text-decoration: none !important;
}
.cca-premium-profile__back:hover { color: #ffc107 !important; }
.cca-premium-profile__grid {
  display: grid;
  grid-template-columns: minmax(300px, 400px) minmax(0, 1fr);
  gap: 2.75rem;
  align-items: start;
}
.cca-premium-profile__aside {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  width: 100%;
  min-width: 0;
  align-items: stretch;
}
.cca-premium-profile__aside > * {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box;
}
.cca-premium-profile__photo {
  position: relative !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  aspect-ratio: 4 / 5;
  min-height: 0;
  border-radius: 14px;
  overflow: hidden !important;
  background: #111;
  box-shadow: 0 18px 44px rgba(28, 36, 48, 0.1);
}
.cca-premium-profile__photo img,
.cca-premium-profile__photo .cca-premium-profile__img {
  position: absolute !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
  z-index: 1;
}
.cca-premium-profile__initials {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  background: linear-gradient(145deg, #2a2a2a, #111);
  color: #fff;
  font-family: var(--cca-heading);
  font-size: clamp(3rem, 10vw, 4.5rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  user-select: none;
  z-index: 0;
}
.cca-premium-profile__initials[hidden] {
  display: none !important;
}
.cca-premium-profile__actions-panel {
  background: #fff;
  border: 1px solid rgba(28, 36, 48, 0.1);
  border-radius: 14px;
  padding: 1rem 1rem 1.1rem;
  box-shadow: 0 10px 28px rgba(28, 36, 48, 0.05);
  width: 100%;
  box-sizing: border-box;
}
.cca-premium-profile__actions-label {
  margin: 0 0 0.75rem !important;
  font-size: 0.72rem !important;
  font-weight: 750 !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #888 !important;
}
.cca-premium-profile__actions-btns {
  display: grid;
  gap: 0.55rem;
}
.cca-premium-profile__action-status {
  margin: 0.65rem 0 0;
  font-size: 0.84rem;
  font-weight: 650;
}
.cca-premium-profile__action-status.is-ok { color: #15803d; }
.cca-premium-profile__action-status.is-err { color: #b91c1c; }
.cca-premium-profile__actions-btns--locked {
  margin-top: 0.75rem;
  opacity: 0.45;
  pointer-events: none;
}
.cca-btn--block {
  display: flex !important;
  width: 100%;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 2.55rem;
}
.cca-btn.is-disabled,
span.cca-btn.is-disabled {
  opacity: 0.7;
  cursor: not-allowed;
  pointer-events: none;
}

/* Message popup */
.cca-msg-modal[hidden] { display: none !important; }
.cca-msg-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
}
.cca-msg-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 18, 26, 0.56);
}
.cca-msg-modal__dialog {
  position: relative;
  z-index: 2;
  width: min(92vw, 520px);
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(28, 36, 48, 0.12);
  box-shadow: 0 30px 70px rgba(10, 10, 10, 0.3);
  padding: 1.1rem 1.15rem 1.15rem;
}
.cca-msg-modal__x {
  position: absolute;
  top: 0.45rem;
  right: 0.55rem;
  border: 0;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  color: #777;
  cursor: pointer;
}
.cca-msg-modal__dialog h3 {
  margin: 0 0 0.4rem !important;
  font-size: 1.2rem !important;
  color: #121212 !important;
}
.cca-msg-modal__hint {
  margin: 0 0 0.65rem;
  font-size: 0.88rem;
  color: #666;
}
.cca-msg-modal textarea {
  width: 100%;
  border: 1.5px solid transparent;
  border-radius: 12px;
  background: #f7f8fb;
  padding: 0.8rem 0.95rem;
  font: inherit;
  color: #121212;
  margin: 0 0 0.7rem;
  min-height: 108px;
  resize: vertical;
}
.cca-msg-modal textarea:focus {
  outline: none;
  background: #fff;
  border-color: #ffc107;
  box-shadow: 0 0 0 4px rgba(255, 193, 7, 0.1);
}
.cca-msg-modal__status {
  margin: 0 0 0.65rem;
  font-size: 0.84rem;
  font-weight: 650;
}
.cca-msg-modal__status.is-ok { color: #15803d; }
.cca-msg-modal__status.is-err { color: #b91c1c; }
.cca-premium-profile__login-card {
  text-align: left;
}
.cca-premium-profile__login-title {
  margin: 0 0 0.35rem !important;
  font-size: 1rem !important;
  font-weight: 750 !important;
  color: #121212 !important;
}
.cca-premium-profile__login-copy {
  margin: 0 0 0.85rem !important;
  font-size: 0.88rem !important;
  line-height: 1.45;
  color: #666 !important;
}
.cca-premium-profile__contact {
  list-style: none !important;
  list-style-type: none !important;
  margin: 0 !important;
  padding: 1rem 1.1rem !important;
  display: grid;
  gap: 0.85rem;
  background: #fff;
  border: 1px solid rgba(28, 36, 48, 0.1);
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(28, 36, 48, 0.05);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.cca-premium-profile__contact li {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  align-items: start;
  gap: 0.75rem;
  font-size: 0.93rem;
  color: #222;
  line-height: 1.45;
  min-width: 0;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.cca-premium-profile__contact li::before,
.cca-premium-profile__contact li::after,
.cca-premium-profile__contact li::marker {
  content: none !important;
  display: none !important;
}
.cca-premium-profile__contact a,
.cca-premium-profile__contact li > span:not(.cca-premium-profile__icon) {
  color: #1a1a1a !important;
  text-decoration: none !important;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.cca-premium-profile__contact a:hover { color: #ffc107 !important; }
.cca-premium-profile__icon {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #f3f5f8;
  color: #666;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 0.05rem;
}
.cca-premium-profile__gate {
  padding: 1.1rem;
  border: 1px solid rgba(28, 36, 48, 0.1);
  border-radius: 14px;
  background: #fff;
  text-align: center;
  box-shadow: 0 10px 28px rgba(28, 36, 48, 0.05);
}
.cca-premium-profile__gate p {
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
  color: #555;
  line-height: 1.45;
}
.cca-premium-profile__main {
  padding-top: 0.35rem;
  min-width: 0;
}
.cca-premium-profile__meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.45rem;
}
.cca-premium-profile__eyebrow {
  margin: 0 !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffc107 !important;
}
.cca-premium-profile__tier {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #555;
  background: #f3f5f8;
  border: 1px solid rgba(28, 36, 48, 0.08);
  border-radius: 999px;
  padding: 0.28rem 0.65rem;
}
.cca-premium-profile__title {
  margin: 0 0 0.35rem !important;
  font-size: clamp(1.85rem, 3vw, 2.45rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.035em !important;
  line-height: 1.15 !important;
  color: #121212 !important;
}
.cca-premium-profile__company {
  margin: 0 0 0.85rem !important;
  font-size: 1.05rem !important;
  font-weight: 600 !important;
  color: #444 !important;
}
.cca-premium-profile__rule {
  display: block;
  width: 3.25rem;
  height: 3px;
  background: #ffc107;
  margin-bottom: 1.15rem;
  border-radius: 2px;
}
.cca-premium-profile__lead {
  margin: 0 0 0.55rem !important;
  font-size: 1.08rem !important;
  color: #333 !important;
  font-weight: 550;
}
.cca-premium-profile__loc {
  margin: 0 0 1.25rem !important;
  font-size: 0.92rem !important;
  color: #777 !important;
}
.cca-premium-profile__section-title {
  margin: 0 0 0.65rem !important;
  font-size: 0.78rem !important;
  font-weight: 750 !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffc107 !important;
}
.cca-premium-profile__bio {
  color: #333;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.cca-premium-profile__bio p { margin: 0 0 0.9rem; color: #333 !important; }
.cca-premium-profile__services,
.cca-premium-profile__details {
  margin-top: 0.35rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(28, 36, 48, 0.1);
}
.cca-premium-profile__tags,
.cca-premium-profile ul.cca-sc-tags {
  list-style: none !important;
  list-style-type: none !important;
  margin: 0.45rem 0 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.cca-premium-profile__tags li,
.cca-premium-profile ul.cca-sc-tags li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0.4rem 0.85rem !important;
  background: #f3f5f8 !important;
  border: 1px solid rgba(28, 36, 48, 0.1) !important;
  border-radius: 999px !important;
  font-size: 0.84rem !important;
  font-weight: 650 !important;
  color: #121212 !important;
  line-height: 1.3;
}
.cca-premium-profile__tags li::before,
.cca-premium-profile__tags li::after,
.cca-premium-profile__tags li::marker,
.cca-premium-profile ul.cca-sc-tags li::before,
.cca-premium-profile ul.cca-sc-tags li::after,
.cca-premium-profile ul.cca-sc-tags li::marker {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
}
.cca-premium-profile__dl {
  margin: 0;
  display: grid;
  gap: 0.65rem;
}
.cca-premium-profile__dl > div {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 0.65rem 1rem;
  align-items: baseline;
  padding: 0.55rem 0.75rem;
  background: #f7f8fb;
  border-radius: 10px;
}
.cca-premium-profile__dl dt {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  color: #777;
}
.cca-premium-profile__dl dd {
  margin: 0;
  color: #222;
  word-break: break-word;
  font-weight: 600;
}
.cca-premium-profile__dl a { color: #ffc107 !important; }

.cca-profile-page {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.cca-sc-card__hero {
  display: block;
  position: relative;
  text-decoration: none !important;
  margin-bottom: 2.1rem;
}
.cca-sc-card__cover {
  display: block;
  height: 132px;
  overflow: hidden;
  background: linear-gradient(145deg, #1c2430, #3d4654);
  position: relative;
}
.cca-sc-card__cover--empty {
  background:
    linear-gradient(135deg, rgba(255, 193, 7, 0.85), #1c2430 70%);
}
.cca-sc-card__cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 320ms var(--cca-ease);
}
.cca-sc-card:hover .cca-sc-card__cover-img { transform: scale(1.04); }
.cca-sc-card__avatar {
  position: absolute;
  left: 1.05rem;
  bottom: -2rem;
  width: 4.35rem;
  height: 4.35rem;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 8px 22px rgba(28, 36, 48, 0.18);
  overflow: hidden;
  background: #fff;
  z-index: 2;
  display: grid;
  place-items: center;
}
.cca-sc-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cca-sc-card__avatar .cca-sc-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow: none;
  font-size: 1.35rem;
}
.cca-sc-card--list .cca-sc-card__hero {
  width: 200px;
  min-width: 200px;
  margin-bottom: 0;
  align-self: stretch;
}
.cca-sc-card--list .cca-sc-card__cover { height: 100%; min-height: 140px; }
.cca-sc-card--list .cca-sc-card__avatar {
  left: 50%;
  bottom: 0.75rem;
  transform: translateX(-50%);
  width: 3.6rem;
  height: 3.6rem;
}

.cca-wrap,
.cca-wrap p,
.cca-wrap span,
.cca-wrap a,
.cca-wrap li,
.cca-wrap label,
.cca-wrap button,
.cca-wrap input,
.cca-wrap select,
.cca-wrap textarea,
.cca-wrap strong,
.cca-wrap em,
.cca-wrap small,
.cca-wrap td,
.cca-wrap th { font-family: var(--cca-body) !important; }

.cca-wrap h1,
.cca-wrap h2,
.cca-wrap h3,
.cca-wrap h4 {
  font-family: var(--cca-heading) !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 0.6rem;
  color: var(--cca-primary) !important;
  text-transform: none;
}

.cca-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--cca-brand);
  margin: 0 0 0.5rem;
}
.cca-muted { color: var(--cca-muted) !important; }
.cca-lead { font-size: 1.1rem; color: var(--cca-muted); max-width: 36rem; }

.cca-hero {
  display: grid;
  gap: 1.5rem;
  padding: 2.5rem 0 2rem;
  border-bottom: 1px solid var(--cca-border);
  margin-bottom: 1.5rem;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.03), transparent 70%),
    repeating-linear-gradient(-45deg, transparent, transparent 10px, rgba(0,0,0,0.015) 10px, rgba(0,0,0,0.015) 11px);
}
.cca-hero__title { font-size: clamp(2.2rem, 5vw, 3.4rem) !important; }
.cca-hero__sub { margin: 0; color: var(--cca-muted); max-width: 34rem; }

.cca-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 1px solid var(--cca-primary) !important;
  background: transparent !important;
  color: var(--cca-primary) !important;
  padding: 0.7rem 1.1rem !important;
  font: inherit !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  cursor: pointer;
  border-radius: 0 !important;
  box-shadow: none !important;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  line-height: 1.2 !important;
  height: auto !important;
  min-height: 0 !important;
}
.cca-btn:hover { transform: translateY(-1px); }
.cca-btn--solid { background: var(--cca-primary) !important; color: var(--cca-secondary) !important; }
.cca-btn--solid:hover { background: var(--cca-accent) !important; color: var(--cca-secondary) !important; }
.cca-btn--ghost:hover { background: var(--cca-primary) !important; color: var(--cca-secondary) !important; }
.cca-btn--sm { padding: 0.4rem 0.7rem !important; font-size: 0.85rem !important; }
.cca-btn.is-disabled,
.cca-btn:disabled { opacity: 0.45; pointer-events: none; }

.cca-input {
  width: 100% !important;
  border: 1px solid var(--cca-border) !important;
  background: var(--cca-secondary) !important;
  color: var(--cca-primary) !important;
  padding: 0.75rem 0.9rem !important;
  font: inherit !important;
  border-radius: var(--cca-radius) !important;
  box-shadow: none !important;
  height: auto !important;
  min-height: 0 !important;
}
.cca-input:focus { outline: 2px solid var(--cca-primary); outline-offset: 1px; }

.cca-filters {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr auto auto;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.cca-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}
.cca-member-card {
  border: 1px solid var(--cca-border);
  background: var(--cca-secondary);
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, transform 0.25s ease;
}
.cca-member-card:hover { border-color: var(--cca-primary); transform: translateY(-3px); }
.cca-member-card.is-featured { border-width: 2px; border-color: var(--cca-primary); }
.cca-member-card__media {
  display: block;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #f3f3f3;
}
.cca-member-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.cca-member-card:hover .cca-member-card__media img { transform: scale(1.04); }
.cca-member-card__body { padding: 1rem 1rem 1.2rem; }
.cca-member-card__body h3 { font-size: 1.15rem !important; }
.cca-member-card__body h3 a { color: inherit !important; text-decoration: none !important; }
.cca-member-card__body p { color: var(--cca-muted); font-size: 0.92rem; margin: 0.4rem 0 0.8rem; }
.cca-member-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--cca-muted);
  border-top: 1px solid var(--cca-border);
  padding-top: 0.7rem;
}
.cca-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--cca-primary);
  padding: 0.2rem 0.45rem;
  margin: 0 0.25rem 0.5rem 0;
}
.cca-badge--featured,
.cca-badge--sponsor { background: var(--cca-primary); color: var(--cca-secondary); }
.cca-badge--alliance { border-style: dashed; }

.cca-table-wrap { overflow-x: auto; border: 1px solid var(--cca-border); }
.cca-table { width: 100%; border-collapse: collapse; }
.cca-table th,
.cca-table td {
  text-align: left;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--cca-border);
  vertical-align: middle;
}
.cca-table th {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cca-muted);
  background: #fafafa;
}
.cca-table tr.is-featured { background: #f7f7f7; }
.cca-table__biz { display: flex; gap: 0.75rem; align-items: center; }
.cca-table__biz img { width: 42px; height: 42px; object-fit: cover; border: 1px solid var(--cca-border); }
.cca-table__biz span { display: block; color: var(--cca-muted); font-size: 0.85rem; }

.cca-profile-body { margin: 0; background: var(--cca-secondary); font-family: var(--cca-body) !important; }
.cca-back { display: inline-block; margin-bottom: 1rem; color: var(--cca-muted) !important; text-decoration: none !important; }
.cca-back:hover { color: var(--cca-primary) !important; }
.cca-profile-hero {
  border: 1px solid var(--cca-border);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #fafafa, #fff 45%, #f4f4f4);
  position: relative;
  overflow: hidden;
}
.cca-profile-hero.has-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--cca-cover) center/cover no-repeat;
  opacity: 0.18;
  pointer-events: none;
}
.cca-profile-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.25rem;
  align-items: end;
}
.cca-profile-logo {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border: 2px solid var(--cca-primary);
  background: #fff;
}
.cca-stats { display: flex; gap: 1.25rem; flex-wrap: wrap; margin-top: 0.8rem; font-size: 0.9rem; }
.cca-profile-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: flex-end; }
.cca-profile-layout {
  display: grid;
  grid-template-columns: 1.6fr 0.9fr;
  gap: 1.5rem;
}
.cca-section {
  border-top: 1px solid var(--cca-border);
  padding: 1.5rem 0;
  animation: ccaFade 0.45s ease both;
}
.cca-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cca-chips li { border: 1px solid var(--cca-border); padding: 0.4rem 0.7rem; font-size: 0.88rem; }
.cca-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.75rem;
}
.cca-gallery figure { margin: 0; border: 1px solid var(--cca-border); position: relative; }
.cca-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.cca-gallery figcaption { padding: 0.4rem 0.5rem; font-size: 0.8rem; color: var(--cca-muted); }
.cca-gallery-delete {
  position: absolute; top: 0.4rem; right: 0.4rem; border: 0;
  background: #000; color: #fff; font-size: 0.7rem; padding: 0.25rem 0.4rem; cursor: pointer;
}
.cca-aside-block { border: 1px solid var(--cca-border); padding: 1rem; margin-bottom: 1rem; }
.cca-aside-block h3 { font-size: 0.95rem !important; margin-bottom: 0.8rem; }
.cca-detail-list, .cca-hours { list-style: none; padding: 0; margin: 0; }
.cca-detail-list li, .cca-hours li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.45rem 0; border-bottom: 1px solid var(--cca-border); font-size: 0.9rem;
}
.cca-detail-list li span, .cca-hours li span { color: var(--cca-muted); }
.cca-social-links { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cca-social-links a {
  border: 1px solid var(--cca-border); padding: 0.35rem 0.6rem;
  text-decoration: none !important; color: inherit !important; font-size: 0.85rem;
}
.cca-map iframe { width: 100%; height: 180px; border: 0; filter: grayscale(1); }
.cca-coupon-list, .cca-event-list { display: grid; gap: 0.75rem; margin-top: 1rem; }
.cca-coupon, .cca-event-item, .cca-event-card { border: 1px solid var(--cca-border); padding: 1rem; }
.cca-coupon code {
  display: inline-block; margin-top: 0.5rem; background: #111; color: #fff;
  padding: 0.2rem 0.45rem; font-size: 0.85rem;
}
.cca-form { display: grid; gap: 0.85rem; }
.cca-form-grid { display: grid; gap: 0.75rem; }
.cca-form-grid--2 { grid-template-columns: repeat(2, 1fr); }
.cca-form-grid--3 { grid-template-columns: repeat(3, 1fr); }
.cca-form label { display: grid; gap: 0.35rem; font-size: 0.85rem; font-weight: 600; }
.cca-form-status { margin: 0; font-weight: 600; }
.cca-form-status.is-ok { color: #0a7a2f; }
.cca-form-status.is-err { color: #b00020; }
.cca-dash-header {
  display: flex; justify-content: space-between; gap: 1rem; align-items: end;
  margin-bottom: 1.25rem; padding-bottom: 1rem; border-bottom: 1px solid var(--cca-border);
}
.cca-dash-header__actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.cca-tabs {
  display: flex; flex-wrap: wrap; gap: 0.35rem;
  margin-bottom: 1.25rem; border-bottom: 1px solid var(--cca-border);
}
.cca-tabs button {
  border: 0 !important; background: transparent !important; padding: 0.75rem 0.9rem !important;
  font: inherit !important; font-weight: 600 !important; color: var(--cca-muted) !important;
  cursor: pointer; border-bottom: 2px solid transparent !important; border-radius: 0 !important; box-shadow: none !important;
}
.cca-tabs button.is-active { color: var(--cca-primary) !important; border-bottom-color: var(--cca-primary) !important; }
.cca-tab-panel { display: none; animation: ccaFade 0.35s ease; }
.cca-tab-panel.is-active { display: block; }
.cca-media-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1rem 0; }
.cca-thumb {
  width: 120px; height: 120px; object-fit: cover; border: 1px solid var(--cca-border);
  display: block; margin-bottom: 0.5rem;
}
.cca-thumb--wide { width: 100%; height: 120px; }
.cca-network-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.cca-people-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.75rem; }
.cca-people-list li {
  display: flex; gap: 0.75rem; align-items: center;
  border: 1px solid var(--cca-border); padding: 0.7rem;
}
.cca-people-list img { width: 42px; height: 42px; object-fit: cover; border: 1px solid var(--cca-border); }
.cca-inline-actions { display: flex; gap: 0.4rem; margin-top: 0.35rem; }
.cca-link {
  background: none; border: 0; color: var(--cca-primary) !important;
  text-decoration: underline !important; cursor: pointer; font: inherit; padding: 0;
}
.cca-tier-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.cca-tier-card {
  border: 1px solid var(--cca-border); padding: 1.25rem;
  transition: transform 0.25s ease, border-color 0.2s ease;
}
.cca-tier-card:hover, .cca-tier-card.is-current { border-color: var(--cca-primary); transform: translateY(-2px); }
.cca-price { font-family: var(--cca-heading) !important; font-size: 2rem; margin: 0.4rem 0 1rem; }
.cca-price span { font-size: 0.9rem; color: var(--cca-muted); }
.cca-tier-card ul { padding-left: 1.1rem; margin: 0 0 1rem; color: var(--cca-muted); }
.cca-msg-layout {
  display: grid; grid-template-columns: 300px 1fr;
  border: 1px solid var(--cca-border); min-height: 520px;
}
.cca-msg-list { border-right: 1px solid var(--cca-border); overflow: auto; }
.cca-msg-item {
  display: grid; grid-template-columns: 42px 1fr auto; gap: 0.7rem; padding: 0.85rem;
  text-decoration: none !important; color: inherit !important; border-bottom: 1px solid var(--cca-border);
}
.cca-msg-item.is-active, .cca-msg-item:hover { background: #f7f7f7; }
.cca-msg-item img { width: 42px; height: 42px; object-fit: cover; }
.cca-msg-item span {
  display: block; color: var(--cca-muted); font-size: 0.82rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 180px;
}
.cca-unread {
  background: var(--cca-primary); color: var(--cca-secondary); font-style: normal; font-size: 0.7rem;
  min-width: 1.2rem; height: 1.2rem; border-radius: 999px; display: inline-flex;
  align-items: center; justify-content: center; padding: 0 0.3rem;
}
.cca-msg-thread { display: flex; flex-direction: column; min-height: 520px; }
.cca-msg-thread__head {
  display: flex; gap: 0.75rem; align-items: center; padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--cca-border);
}
.cca-msg-thread__head img { width: 40px; height: 40px; object-fit: cover; }
.cca-msg-thread__body {
  flex: 1; padding: 1rem; display: flex; flex-direction: column; gap: 0.75rem;
  overflow: auto; background: linear-gradient(180deg, #fafafa, #fff);
}
.cca-bubble {
  max-width: 75%; border: 1px solid var(--cca-border); padding: 0.7rem 0.85rem;
  background: #fff; align-self: flex-start;
}
.cca-bubble.is-mine {
  align-self: flex-end; background: var(--cca-primary); color: var(--cca-secondary);
  border-color: var(--cca-primary);
}
.cca-bubble__type {
  display: block; font-size: 0.68rem; text-transform: uppercase;
  letter-spacing: 0.06em; opacity: 0.7; margin-bottom: 0.25rem;
}
.cca-bubble time { display: block; font-size: 0.72rem; opacity: 0.65; margin-top: 0.35rem; }
.cca-msg-compose {
  display: grid; grid-template-columns: 160px 1fr auto; gap: 0.5rem;
  padding: 0.85rem; border-top: 1px solid var(--cca-border);
}
.cca-event-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.cca-event-card.is-featured { border-width: 2px; border-color: var(--cca-primary); }
.cca-event-card time { color: var(--cca-muted); font-size: 0.85rem; }
.cca-event-card__meta {
  display: flex; justify-content: space-between; gap: 0.5rem; margin-top: 0.8rem; font-size: 0.85rem;
}
.cca-event-card__meta a { color: inherit !important; }
.cca-empty, .cca-login-prompt, .cca-card {
  border: 1px dashed var(--cca-border); padding: 1.5rem; text-align: center; color: var(--cca-muted);
}
.cca-check { display: flex !important; align-items: center; gap: 0.5rem; font-weight: 500 !important; }
.cca-panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.cca-file-btn { position: relative; overflow: hidden; }
.cca-inline-form { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); align-items: end; }

@keyframes ccaFade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  .cca-filters, .cca-profile-hero__inner, .cca-profile-layout, .cca-msg-layout,
  .cca-network-grid, .cca-media-row, .cca-form-grid--2, .cca-form-grid--3, .cca-msg-compose {
    grid-template-columns: 1fr;
  }
  .cca-profile-actions { justify-content: flex-start; }
  .cca-dash-header { flex-direction: column; align-items: flex-start; }
}

/* ===== Public preview directory ===== */
.cca-hero__note {
  margin: 0.75rem 0 0;
  max-width: 36rem;
  color: var(--cca-muted);
  font-size: 0.95rem;
}
.cca-member-card--preview .cca-member-card__media { pointer-events: none; }
.cca-member-card--preview h3 a { pointer-events: none; }
.cca-read-more {
  margin-top: 0.85rem;
  width: 100%;
}
.cca-card-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.85rem;
  flex-wrap: wrap;
}
.cca-card-actions .cca-btn { flex: 1; }
.cca-preview-hint {
  margin: 0.55rem 0 0 !important;
  font-size: 0.78rem !important;
  color: var(--cca-muted) !important;
}

/* ===== Member portal shell ===== */
.cca-portal {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 1.25rem;
  align-items: start;
  max-width: 1200px;
}
.cca-portal-nav {
  position: sticky;
  top: 1rem;
  border: 1px solid var(--cca-border);
  background: var(--cca-secondary);
  padding: 1.1rem;
}
.cca-portal-brand {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--cca-border);
}
.cca-portal-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: var(--cca-primary);
  color: var(--cca-secondary);
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}
.cca-portal-brand strong { display: block; font-size: 0.92rem; }
.cca-portal-brand span { display: block; color: var(--cca-muted); font-size: 0.8rem; }
.cca-portal-links {
  display: grid;
  gap: 0.25rem;
}
.cca-portal-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 0.7rem;
  text-decoration: none !important;
  color: var(--cca-primary) !important;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid transparent;
}
.cca-portal-links a:hover,
.cca-portal-links a.is-active {
  border-color: var(--cca-border);
  background: #f7f7f7;
}
.cca-portal-badge {
  background: var(--cca-primary);
  color: var(--cca-secondary);
  font-style: normal;
  font-size: 0.7rem;
  min-width: 1.2rem;
  height: 1.2rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.3rem;
}
.cca-portal-status {
  margin: 1rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--cca-border);
  font-size: 0.8rem;
  color: var(--cca-muted);
  line-height: 1.5;
}
.cca-portal-main { min-width: 0; }
.cca-profile-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.cca-login-prompt h2 { margin-bottom: 0.5rem !important; }
.cca-login-prompt .cca-btn { margin-top: 0.75rem; }

/* Shortcode UI — modern A1 look */
.cca-sc-head {
  display: flex; justify-content: space-between; gap: 1.25rem; align-items: flex-end;
  margin-bottom: 1.75rem; padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--cca-border);
}
.cca-sc-head h2 {
  margin: 0.2rem 0 0.4rem !important;
  font-size: clamp(1.75rem, 3vw, 2.35rem) !important;
  letter-spacing: -0.04em !important;
  color: #0a0a0a !important;
}
.cca-sc-head .cca-muted { max-width: 36rem; font-size: 0.95rem; }
.cca-sc-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 1.15rem;
}
.cca-sc-card {
  background: #fff;
  border: 1px solid var(--cca-border);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 28px rgba(28, 36, 48, 0.05);
  transition: transform 220ms var(--cca-ease), box-shadow 220ms var(--cca-ease), border-color 220ms var(--cca-ease);
}
.cca-sc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(28, 36, 48, 0.1);
  border-color: rgba(255, 193, 7, 0.22);
}
.cca-sc-card__media {
  height: 168px;
  background:
    linear-gradient(145deg, #1c2430, #3d4654);
  display: grid; place-items: center; overflow: hidden; position: relative;
}
.cca-sc-card__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.35));
  pointer-events: none;
}
.cca-sc-card__media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 320ms var(--cca-ease);
}
.cca-sc-card:hover .cca-sc-card__media img { transform: scale(1.04); }
.cca-sc-card__media--cover { height: 190px; }
.cca-sc-card__body { padding: 0.35rem 1.15rem 0.55rem; flex: 1; }
.cca-sc-card__body h3 {
  margin: 0.45rem 0 0.35rem !important;
  font-size: 1.12rem !important;
  letter-spacing: -0.03em !important;
  color: #0a0a0a !important;
}
.cca-sc-card__body p { margin: 0 0 0.35rem; font-size: 0.9rem; color: #111 !important; }
.cca-sc-card__actions {
  display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0.85rem 1.15rem 1.15rem; align-items: center;
}
.cca-sc-avatar {
  width: 3.4rem; height: 3.4rem; border-radius: 50%;
  background: linear-gradient(145deg, #ffc107, #e6ac00); color: #000;
  display: grid; place-items: center; font-weight: 700; font-size: 1.25rem;
  box-shadow: 0 0 0 4px rgba(255,255,255,0.2);
  position: relative; z-index: 1;
}
.cca-sc-avatar--lg { width: 5rem; height: 5rem; font-size: 1.7rem; }
.cca-sc-chip {
  display: inline-block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: #ffc107; background: rgba(255, 193, 7,0.1);
  padding: 0.28rem 0.65rem; border-radius: 999px;
}
.cca-sc-actions { display: inline-flex; flex-wrap: wrap; gap: 0.45rem; }
.cca-btn--sm { padding: 0.45rem 0.9rem; font-size: 0.8rem; min-height: 2.1rem; border-radius: 999px; }
.cca-btn.is-on {
  background: #0a0a0a !important; color: #fff !important; border-color: #0a0a0a !important;
}
.cca-login-gate { padding: 1.5rem 0; }
.cca-login-gate__card {
  max-width: 520px; margin: 0 auto; background: #fff;
  border: 1px solid var(--cca-border);
  border-radius: 24px; padding: 2rem 1.75rem; text-align: center;
  box-shadow: 0 18px 48px rgba(28, 36, 48, 0.08);
}
.cca-login-gate__card h2 { font-size: 1.6rem !important; letter-spacing: -0.03em !important; }
.cca-login-gate__actions { display: flex; flex-wrap: wrap; gap: 0.7rem; justify-content: center; margin-top: 1.25rem; }
.cca-sc-profile { position: relative; }
.cca-sc-profile__cover {
  height: 220px; border-radius: 24px;
  background-size: cover; background-position: center; margin-bottom: -3.5rem;
  box-shadow: inset 0 -60px 80px rgba(0,0,0,0.25);
}
.cca-sc-profile__card {
  position: relative; background: rgba(255,255,255,0.96); backdrop-filter: blur(12px);
  border: 1px solid var(--cca-border);
  border-radius: 24px; padding: 1.5rem; max-width: 860px;
  box-shadow: 0 18px 48px rgba(28, 36, 48, 0.08);
}
.cca-sc-profile__top { display: flex; gap: 1.1rem; align-items: flex-start; margin-bottom: 1.1rem; }
.cca-sc-profile__logo {
  width: 5rem; height: 5rem; border-radius: 18px; object-fit: cover; border: 3px solid #fff;
  box-shadow: 0 10px 28px rgba(0,0,0,0.14);
}
.cca-sc-profile__desc { margin: 0.85rem 0; color: #111; }
.cca-sc-profile__meta { display: grid; gap: 0.4rem; margin: 1.1rem 0; color: #111; }
.cca-sc-profile__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.15rem; }
.cca-sc-tags { list-style: none; margin: 0.85rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.45rem; }
.cca-sc-tags li {
  background: #f3f5f8; border: 1px solid var(--cca-border); border-radius: 999px;
  padding: 0.35rem 0.8rem; font-size: 0.8rem; font-weight: 600; color: #0a0a0a;
}
.cca-sc-panel {
  background: #fff; border: 1px solid var(--cca-border); border-radius: 22px; padding: 1.35rem;
  box-shadow: 0 10px 28px rgba(28, 36, 48, 0.05);
}
.cca-sc-panel--row { display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.cca-sc-form textarea {
  width: 100%; min-height: 130px; border: 1.5px solid transparent; border-radius: 16px;
  padding: 0.95rem 1.05rem; font: inherit; margin-bottom: 0.85rem;
  background: #f7f8fb; color: #0a0a0a;
  transition: border-color 180ms var(--cca-ease), box-shadow 180ms var(--cca-ease), background 180ms var(--cca-ease);
}
.cca-sc-form textarea:focus {
  outline: none; background: #fff; border-color: #ffc107;
  box-shadow: 0 0 0 4px rgba(255, 193, 7, 0.1);
}
.cca-sc-form__row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.cca-sc-feed { display: grid; gap: 1rem; }
.cca-sc-post {
  background: #fff; border: 1px solid var(--cca-border); border-radius: 20px; padding: 1.15rem;
  box-shadow: 0 8px 24px rgba(28, 36, 48, 0.04);
}
.cca-sc-post header { display: flex; justify-content: space-between; gap: 0.75rem; margin-bottom: 0.65rem; }
.cca-sc-post img { width: 100%; border-radius: 14px; margin: 0.55rem 0; max-height: 380px; object-fit: cover; }
.cca-sc-event-list { display: grid; gap: 0.85rem; }
.cca-sc-event {
  display: grid; grid-template-columns: 72px 1fr; gap: 1rem; align-items: start;
  background: #fff; border: 1px solid var(--cca-border); border-radius: 18px; padding: 1rem 1.1rem;
  box-shadow: 0 8px 24px rgba(28, 36, 48, 0.04);
  transition: transform 200ms var(--cca-ease);
}
.cca-sc-event:hover { transform: translateY(-2px); }
.cca-sc-event__date {
  background: linear-gradient(145deg, #ffc107, #e6ac00); color: #000; border-radius: 14px;
  text-align: center; padding: 0.65rem 0.35rem;
}
.cca-sc-event__date strong { display: block; font-size: 0.7rem; text-transform: uppercase; opacity: 0.85; letter-spacing: 0.06em; }
.cca-sc-event__date span { font-size: 1.35rem; font-weight: 800; }
.cca-filters.cca-sc-filters {
  display: flex; flex-wrap: wrap; gap: 0.65rem; margin-bottom: 1.35rem;
  padding: 0.85rem; background: rgba(255,255,255,0.8); border: 1px solid var(--cca-border);
  border-radius: 18px; backdrop-filter: blur(10px);
}
.cca-sc-filters .cca-input {
  flex: 1; min-width: 160px; border-radius: 12px !important; border: 1.5px solid transparent !important;
  background: #f7f8fb !important; min-height: 2.8rem; color: #0a0a0a !important;
}
.cca-sc-filters .cca-input:focus {
  border-color: #ffc107 !important; background: #fff !important;
  box-shadow: 0 0 0 4px rgba(255, 193, 7, 0.1);
}
.cca-form-status { margin-top: 0.7rem; font-size: 0.88rem; font-weight: 600; }
.cca-form-status.is-ok { color: #15803d; }
.cca-form-status.is-err { color: #b91c1c; }

/* Solid buttons — A1 crimson */
.cca-wrap .cca-btn--solid,
.cca-wrap .cca-btn.cca-btn--solid {
  background: #ffc107 !important;
  color: #000 !important;
  border-color: #ffc107 !important;
  border-radius: 999px !important;
  font-weight: 650 !important;
  box-shadow: 0 10px 24px rgba(255, 193, 7, 0.22);
  transition: transform 180ms var(--cca-ease), box-shadow 180ms var(--cca-ease), filter 180ms var(--cca-ease);
}
.cca-wrap .cca-btn--solid:hover {
  filter: brightness(0.95);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(255, 193, 7, 0.28);
}
.cca-wrap .cca-btn--ghost {
  border-radius: 999px !important;
  border: 1.5px solid var(--cca-border) !important;
  background: #fff !important;
  color: #0a0a0a !important;
  font-weight: 650 !important;
}
.cca-wrap .cca-btn--ghost:hover {
  border-color: rgba(255, 193, 7, 0.35) !important;
  color: #ffc107 !important;
  background: rgba(255, 193, 7, 0.05) !important;
}

/* Directory tools + list view */
.cca-sc-head__tools {
  display: flex; flex-wrap: wrap; gap: 0.65rem; align-items: center; justify-content: flex-end;
}
.cca-view-toggle {
  display: inline-flex; padding: 0.2rem; border-radius: 999px;
  background: #f3f5f8; border: 1px solid var(--cca-border);
}
.cca-view-toggle__btn {
  border: 0; background: transparent; color: #444; font: inherit; font-weight: 650;
  font-size: 0.82rem; padding: 0.45rem 0.9rem; border-radius: 999px; cursor: pointer;
}
.cca-view-toggle__btn.is-active {
  background: #fff; color: #ffc107;
  box-shadow: 0 4px 14px rgba(28, 36, 48, 0.08);
}
.cca-sc-grid--list {
  display: flex; flex-direction: column; gap: 0.85rem;
}
.cca-sc-card--list {
  flex-direction: row; align-items: stretch; min-height: 132px;
}
.cca-sc-card--list .cca-sc-card__media {
  width: 168px; min-width: 168px; height: auto; flex-shrink: 0;
}
.cca-sc-card--list .cca-sc-card__body {
  display: flex; flex-direction: column; justify-content: center; padding: 1rem 1.15rem;
  flex: 1;
}
.cca-sc-card--list .cca-sc-card__actions {
  margin-left: auto; align-self: center; padding-right: 1.15rem; flex-wrap: nowrap;
}
.cca-sc-card__intro {
  color: #222 !important; line-height: 1.45; display: -webkit-box;
  -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.cca-sc-card--list .cca-sc-card__intro { -webkit-line-clamp: 2; }

/* Profile lock + sections */
.cca-sc-profile__tagline { margin: 0.35rem 0 0.2rem; color: #111; font-size: 1.02rem; }
.cca-sc-profile__section { margin-top: 1.15rem; padding-top: 1rem; border-top: 1px solid var(--cca-border); }
.cca-sc-profile__section h3 {
  margin: 0 0 0.55rem !important; font-size: 0.95rem !important; letter-spacing: 0.04em;
  text-transform: uppercase; color: #ffc107 !important;
}
.cca-sc-profile__cover--fallback {
  background: linear-gradient(135deg, #1c2430, #ffc107 140%);
}
.cca-sc-profile__desc--teaser { opacity: 0.9; }
.cca-sc-lock {
  position: relative; margin-top: 1.25rem; border-radius: 22px; overflow: hidden;
  border: 1px solid var(--cca-border); background: #fff;
  box-shadow: 0 14px 36px rgba(28, 36, 48, 0.07);
}
.cca-sc-lock__inner {
  position: relative; z-index: 2; text-align: center; padding: 2rem 1.5rem;
}
.cca-sc-lock__inner h3 { margin: 0.35rem 0 0.5rem !important; font-size: 1.35rem !important; }
.cca-sc-lock--feed { min-height: 280px; }
.cca-sc-lock__blur {
  position: absolute; inset: 0; padding: 1rem; filter: blur(5px); opacity: 0.45;
  pointer-events: none; display: grid; gap: 0.75rem;
}
.cca-sc-lock--feed .cca-sc-lock__inner {
  position: absolute; inset: 0; display: grid; place-content: center;
  background: linear-gradient(180deg, rgba(255,255,255,0.55), rgba(255,255,255,0.92));
}

/* Ads slider */
.cca-ads-slider {
  position: relative; border-radius: 24px; overflow: hidden;
  border: 1px solid var(--cca-border); background: #fff;
  box-shadow: 0 16px 40px rgba(28, 36, 48, 0.08);
}
.cca-ads-slider__track { position: relative; min-height: 280px; overflow: hidden; }
.cca-ads-slide {
  display: none; grid-template-columns: 1.1fr 1fr; gap: 0;
  min-height: 280px; align-items: stretch;
}
.cca-ads-slide.is-active { display: grid; animation: ccaAdsIn 420ms var(--cca-ease); }
@keyframes ccaAdsIn {
  from { opacity: 0; transform: translateX(12px); }
  to { opacity: 1; transform: none; }
}
.cca-ads-slide__media {
  min-height: 280px; background: linear-gradient(145deg, #1c2430, #3d4654);
  display: grid; place-items: center; overflow: hidden;
}
.cca-ads-slide__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cca-ads-slide__fallback {
  display: none;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: #ffffff;
  color: #1c2430;
  font-weight: 800;
  font-size: 1.15rem;
  line-height: 3rem;
  text-align: center;
}
.cca-ads-slide__media--empty .cca-ads-slide__fallback { display: inline-block; }
.cca-ads-slide__body {
  padding: 1.6rem 1.5rem; display: flex; flex-direction: column; justify-content: center; gap: 0.45rem;
}
.cca-ads-slide__body h3 {
  margin: 0.2rem 0 !important; font-size: 1.45rem !important; letter-spacing: -0.03em !important; color: #0a0a0a !important;
}
.cca-ads-slide__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.55rem; }
.cca-ads-slider__nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 1px solid var(--cca-border);
  background: rgba(255,255,255,0.95); color: #0a0a0a; font-size: 1.4rem; line-height: 1;
  cursor: pointer; box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.cca-ads-slider__nav--prev { left: 0.75rem; }
.cca-ads-slider__nav--next { right: 0.75rem; }
.cca-ads-slider__nav:hover { color: #ffc107; border-color: rgba(255, 193, 7,0.35); }
.cca-ads-slider__dots {
  display: flex; justify-content: center; gap: 0.4rem; padding: 0.85rem 0 1.1rem;
}
.cca-ads-slider__dot {
  width: 0.55rem; height: 0.55rem; border-radius: 50%; border: 0; padding: 0;
  background: #cfd5dd; cursor: pointer;
}
.cca-ads-slider__dot.is-active { background: #ffc107; transform: scale(1.15); }
.cca-ads-slider.is-single .cca-ads-slider__nav,
.cca-ads-slider.is-single .cca-ads-slider__dots {
  display: none;
}

@media (max-width: 900px) {
  .cca-portal { grid-template-columns: 1fr; }
  .cca-portal-nav { position: static; }
  .cca-sc-head { flex-direction: column; align-items: flex-start; }
  .cca-sc-head__tools { width: 100%; justify-content: space-between; }
  .cca-sc-panel--row { flex-direction: column; align-items: flex-start; }
  .cca-bni-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cca-bni-toolbar { flex-direction: column; align-items: stretch; }
  .cca-bni-search {
    min-width: 0;
    flex-wrap: wrap;
    height: auto;
    min-height: 56px;
    padding: 8px !important;
    gap: 0.35rem;
  }
  .cca-bni-search__field--query,
  .cca-bni-search__field--cat {
    flex: 1 1 100%;
    border-left: 0;
    border-top: 1px solid rgba(28, 36, 48, 0.08);
    height: 44px;
  }
  .cca-bni-search__field--query { border-top: 0; }
  .cca-bni-search button.cca-bni-search__btn,
  .cca-bni-search__btn {
    width: 100% !important;
    margin: 0 !important;
    height: 44px !important;
    min-height: 44px !important;
  }
  .cca-bni-views { width: 100%; height: auto; justify-content: stretch; }
  .cca-bni-views__btn { flex: 1; justify-content: center; }
  .cca-bni-dir__bar { flex-direction: column; }
  .cca-wrap.cca-bni-dir,
  .cca-wrap.cca-sc-members.cca-sc-members--embed {
    width: min(100%, calc(100vw - 32px)) !important;
    max-width: min(100%, calc(100vw - 32px)) !important;
    left: 0;
    transform: none;
  }
  .cca-premium-profile__grid { grid-template-columns: 1fr; gap: 1.5rem; max-width: 100%; margin: 0 auto; }
  .cca-premium-profile__main { max-width: none; }
  .cca-sc-profile__cover { height: 160px; }
  .cca-sc-card--list { flex-direction: column; }
  .cca-bni-card--list { flex-direction: column; }
  .cca-bni-card--list .cca-bni-card__photo { width: 100%; min-width: 0; aspect-ratio: 1 / 1; }
  .cca-sc-card--list .cca-sc-card__hero { width: 100%; min-width: 0; margin-bottom: 2rem; }
  .cca-sc-card--list .cca-sc-card__cover { height: 140px; min-height: 0; }
  .cca-sc-card--list .cca-sc-card__avatar {
    left: 1.05rem; bottom: -2rem; transform: none;
  }
  .cca-sc-card--list .cca-sc-card__media { width: 100%; height: 160px; }
  .cca-sc-card--list .cca-sc-card__actions { margin-left: 0; padding: 0.85rem 1.15rem 1.15rem; }
  .cca-ads-slide.is-active { grid-template-columns: 1fr; }
  .cca-ads-slide__media { min-height: 180px; }
}

@media (max-width: 700px) {
  .cca-bni-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
}

@media (min-width: 901px) and (max-width: 1200px) {
  .cca-bni-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}


/* Community feed / composer / single (premium UI) — break out of theme content column */
.cca-wrap.cca-community,
.cca-community,
.cca-events-page,
.cca-ads-page {
  width: min(1680px, calc(100vw - 48px)) !important;
  max-width: min(1680px, calc(100vw - 48px)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  padding: 1rem 1.5rem 3rem;
  background: transparent !important;
  box-sizing: border-box;
}
.cca-ads-page {
  width: min(1200px, calc(100vw - 48px)) !important;
  max-width: min(1200px, calc(100vw - 48px)) !important;
}
.cca-community-gate {
  display: grid;
  place-items: center;
  min-height: 280px;
  padding: 1rem 0;
}
.cca-community-gate__card {
  width: min(100%, 460px);
  text-align: center;
  background: #fff;
  border: 1px solid rgba(28, 36, 48, 0.1);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  box-shadow: 0 12px 32px rgba(28, 36, 48, 0.06);
}
.cca-community-gate__card h2 {
  margin: 0.35rem 0 0.55rem !important;
  font-size: 1.45rem !important;
  letter-spacing: -0.03em !important;
  color: #121212 !important;
}
.cca-community-gate--inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border: 1px solid rgba(28, 36, 48, 0.1);
  border-radius: 20px;
  padding: 1rem 1.15rem;
  margin-bottom: 1.25rem;
}
.cca-composer {
  background: #fff;
  border: 1px solid rgba(28, 36, 48, 0.1);
  border-radius: 20px;
  padding: 1.15rem 1.25rem 1.2rem;
  box-shadow: 0 8px 24px rgba(28, 36, 48, 0.05);
  margin-bottom: 1.15rem;
}
.cca-composer__label {
  display: block;
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #888;
}
.cca-composer textarea {
  width: 100%;
  border: 1.5px solid transparent;
  border-radius: 14px;
  background: #f6f7f9;
  padding: 0.85rem 1rem;
  font: inherit;
  font-size: 0.95rem;
  color: #121212;
  resize: vertical;
  min-height: 88px;
  margin: 0 0 0.65rem;
  box-sizing: border-box;
}
.cca-composer textarea:focus {
  outline: none;
  background: #fff;
  border-color: #ffc107;
  box-shadow: 0 0 0 4px rgba(255, 193, 7, 0.1);
}
.cca-composer__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  justify-content: space-between;
}
.cca-composer__file {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.86rem;
  font-weight: 650;
  color: #444;
  cursor: pointer;
}
.cca-composer__file input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.cca-composer__status {
  margin: 0.5rem 0 0;
  font-size: 0.84rem;
  font-weight: 600;
  color: #ffc107;
}

.cca-feed {
  display: grid;
  gap: 1.25rem;
  align-items: stretch;
  width: 100%;
}
.cca-feed.is-loading { opacity: 0.55; pointer-events: none; }
.cca-feed-sso-hint {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  background: #fff8e8;
  border: 1px solid rgba(180, 120, 20, 0.22);
  font-size: 0.9rem;
  color: #5c4500;
}
.cca-feed-sso-hint a { color: #ffc107; font-weight: 700; }

/* Grid: 3 / 2 / 1 */
.cca-feed[data-layout="grid"] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.cca-feed[data-layout="list"] {
  grid-template-columns: 1fr;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  gap: 1.15rem;
}
.cca-feed[data-layout="grid"] .cca-feed-ad,
.cca-feed[data-layout="list"] .cca-feed-ad,
.cca-feed-pager {
  grid-column: 1 / -1;
}

.cca-feed-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 0 0 1.15rem;
  padding: 0.85rem 1rem;
  background: #fff;
  border: 1px solid rgba(28, 36, 48, 0.08);
  border-radius: 20px;
  box-shadow: 0 6px 18px rgba(28, 36, 48, 0.04);
}
.cca-feed-filters {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.65rem;
  flex: 1;
  min-width: 240px;
  align-items: center;
}
.cca-feed-filters input[type="search"],
.cca-feed-filters select {
  border: 1px solid rgba(28, 36, 48, 0.12);
  background: #f7f8fb;
  border-radius: 12px;
  padding: 0.7rem 0.9rem;
  font: inherit;
  font-size: 0.92rem;
  color: #121212 !important;
  box-sizing: border-box;
  margin: 0;
  min-height: 2.75rem;
}
.cca-feed-filters input[type="search"] {
  flex: 1 1 auto;
  min-width: 180px;
}
.cca-feed-filters select {
  flex: 0 0 auto;
  min-width: 150px;
  background: #fff;
  color: #121212 !important;
}
.cca-feed-filters input[type="search"]::placeholder,
.cca-feed-filters input[type="search"]::-webkit-input-placeholder,
.cca-feed-filters input[type="search"]::-moz-placeholder {
  color: #121212 !important;
  opacity: 1 !important;
  -webkit-text-fill-color: #121212 !important;
}
.cca-feed-filters input[type="search"]:focus,
.cca-feed-filters select:focus {
  outline: none;
  border-color: #ffc107;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.08);
}
.cca-feed-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  padding: 0.5rem 0 0;
}
.cca-feed-pager__btn {
  border: 1px solid rgba(28, 36, 48, 0.12);
  background: #fff;
  border-radius: 999px;
  padding: 0.55rem 1.05rem;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  color: #121212;
  transition: background 160ms ease, border-color 160ms ease;
}
.cca-feed-pager__btn:hover:not(:disabled) {
  border-color: rgba(255, 193, 7, 0.35);
  color: #ffc107;
}
.cca-feed-pager__btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.cca-feed-pager__status {
  font-size: 0.84rem;
  color: #777;
  font-weight: 600;
}
.cca-feed-readmore {
  display: inline-flex;
  align-items: center;
  margin-top: 0.45rem;
  font-size: 0.88rem;
  font-weight: 750;
  color: #ffc107 !important;
  text-decoration: none !important;
}
.cca-feed-readmore:hover { text-decoration: underline !important; }
.cca-feed-toolbar__label {
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #888;
}
.cca-feed-views {
  display: inline-flex;
  gap: 0.2rem;
  padding: 0.22rem;
  background: #eef0f4;
  border-radius: 999px;
  flex-shrink: 0;
}
.cca-feed-views__btn {
  border: 0;
  background: transparent;
  color: #666;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}
.cca-feed-views__btn.is-active {
  background: #fff;
  color: #ffc107;
  box-shadow: 0 2px 10px rgba(28, 36, 48, 0.1);
}

/* Cards */
.cca-feed-post {
  position: relative;
  background: #fff;
  border: 1px solid rgba(28, 36, 48, 0.09);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(28, 36, 48, 0.05);
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  transition: box-shadow 200ms ease, transform 200ms ease, border-color 200ms ease;
}
.cca-feed-post:hover {
  box-shadow: 0 16px 36px rgba(28, 36, 48, 0.1);
  transform: translateY(-3px);
  border-color: rgba(28, 36, 48, 0.14);
}

/* Fixed image frame — cover, consistent */
.cca-feed-post__media {
  margin: 0;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e8ebf0;
  flex-shrink: 0;
  display: block;
  text-decoration: none !important;
}
.cca-feed-post__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.cca-feed-post.no-media .cca-feed-post__inner {
  padding-top: 1.15rem;
}
.cca-feed-post__inner {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1rem 1.1rem 1.05rem;
  min-width: 0;
  gap: 0.15rem;
}
.cca-feed-post__head {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  margin-bottom: 0.65rem;
}
.cca-feed-post__avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  background: #e8ebf0;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-weight: 750;
  font-size: 0.95rem;
  color: #fff;
  background-image: linear-gradient(145deg, #ffc107, #e6ac00);
  text-decoration: none !important;
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(255, 193, 7, 0.16);
}
.cca-feed-post__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cca-feed-post__meta { min-width: 0; display: grid; gap: 0.05rem; }
.cca-feed-post__name {
  font-weight: 750;
  color: #121212 !important;
  text-decoration: none !important;
  font-size: 0.98rem;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cca-feed-post__name:hover { color: #ffc107 !important; }
.cca-feed-post__cat {
  font-size: 0.76rem;
  font-weight: 650;
  color: #ffc107;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cca-feed-post__time {
  font-size: 0.74rem;
  color: #8a8f98;
}
.cca-feed-post__body {
  color: #333 !important;
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 0 0 0.75rem;
  flex: 1;
  text-decoration: none !important;
  display: block;
}
.cca-feed-post__text {
  margin: 0;
  color: #333;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cca-feed-post__actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
  margin-top: auto;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(28, 36, 48, 0.07);
}
.cca-feed-action {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 750;
  padding: 0.65rem 0.7rem;
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none !important;
  line-height: 1;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}
.cca-ico {
  width: 1.15rem;
  height: 1.15rem;
  display: block;
  flex-shrink: 0;
}
.cca-feed-action .cca-ico { width: 1.1rem; height: 1.1rem; }
.cca-feed-action__count { font-variant-numeric: tabular-nums; min-width: 0.75rem; }
.cca-feed-action--like {
  color: #ffc107;
  background: #fff0f2;
  box-shadow: inset 0 0 0 1px rgba(255, 193, 7, 0.1);
}
.cca-feed-action--comment {
  color: #1d5fa8;
  background: #eef5ff;
  box-shadow: inset 0 0 0 1px rgba(29, 95, 168, 0.1);
}
.cca-feed-action:hover {
  transform: translateY(-1px);
  text-decoration: none !important;
}
.cca-feed-action--like.is-on {
  color: #fff;
  background: #ffc107;
  box-shadow: 0 8px 18px rgba(255, 193, 7, 0.24);
}

/* List view: wide horizontal cards */
.cca-feed[data-layout="list"] .cca-feed-post {
  flex-direction: row;
  align-items: stretch;
  min-height: 200px;
}
.cca-feed[data-layout="list"] .cca-feed-post.has-media .cca-feed-post__media {
  width: 280px;
  max-width: 38%;
  aspect-ratio: auto;
  height: auto;
  min-height: 200px;
  align-self: stretch;
}
.cca-feed[data-layout="list"] .cca-feed-post.no-media {
  flex-direction: column;
}
.cca-feed[data-layout="list"] .cca-feed-post__inner {
  padding: 1.15rem 1.25rem;
  justify-content: center;
}
.cca-feed[data-layout="list"] .cca-feed-post__body { font-size: 0.98rem; }
.cca-feed[data-layout="list"] .cca-feed-post__name { font-size: 1.05rem; }
.cca-feed[data-layout="list"] .cca-feed-post__text {
  -webkit-line-clamp: 4;
}

.cca-feed-post__engage {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(28, 36, 48, 0.08);
}
.cca-feed-post__engage[hidden] { display: none !important; }
.cca-feed-post.is-commenting .cca-feed-post__engage { display: block; }
.cca-feed-post__need-login { margin: 0; font-size: 0.82rem; color: #777; }
.cca-feed-post__comments {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
  max-height: 240px;
  overflow: auto;
}
.cca-feed-comment {
  background: #f5f7fa;
  border-radius: 12px;
  padding: 0.55rem 0.7rem;
  font-size: 0.86rem;
}
.cca-feed-comment strong {
  display: block;
  margin-bottom: 0.1rem;
  color: #121212;
  font-size: 0.8rem;
}
.cca-feed-comment p { margin: 0; color: #444; line-height: 1.4; }
.cca-feed-comment--reply {
  margin-top: 0.35rem;
  margin-left: 0.55rem;
  background: #fff;
  border: 1px solid rgba(28, 36, 48, 0.07);
}
.cca-feed-comment-form {
  display: flex;
  gap: 0.45rem;
  align-items: center;
}
.cca-feed-comment-form input {
  flex: 1;
  border: 1px solid transparent;
  background: #f5f7fa;
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  font: inherit;
  font-size: 0.88rem;
  color: #121212;
}
.cca-feed-comment-form input:focus {
  outline: none;
  background: #fff;
  border-color: #ffc107;
  box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.08);
}

@media (max-width: 1100px) {
  .cca-feed[data-layout="grid"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 720px) {
  .cca-community,
  .cca-events-page,
  .cca-ads-page {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }
  .cca-feed[data-layout="grid"] {
    grid-template-columns: 1fr;
  }
  .cca-feed[data-layout="list"] .cca-feed-post.has-media {
    flex-direction: column;
  }
  .cca-feed[data-layout="list"] .cca-feed-post.has-media .cca-feed-post__media {
    width: 100%;
    max-width: none;
    aspect-ratio: 16 / 10;
    min-height: 0;
  }
}

/* Single post page */
.cca-community-post-page {
  background: transparent;
  width: 100%;
}
.cca-wrap.cca-community-single,
.cca-community-single {
  width: min(1400px, calc(100vw - 48px)) !important;
  max-width: min(1400px, calc(100vw - 48px)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  padding: 1rem 1.5rem 3rem;
  box-sizing: border-box;
}
.cca-community-single__back {
  display: inline-flex;
  margin-bottom: 1rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffc107 !important;
  text-decoration: none !important;
}
.cca-community-single__back:hover { text-decoration: underline !important; }
.cca-community-single__card {
  background: #fff;
  border: 1px solid rgba(28, 36, 48, 0.09);
  border-radius: 20px;
  padding: 1.35rem 1.4rem 1.3rem;
  box-shadow: 0 12px 32px rgba(28, 36, 48, 0.07);
}
.cca-community-single__card .cca-feed-post__head { margin-bottom: 1rem; }
.cca-community-single__card .cca-feed-post__avatar { width: 52px; height: 52px; font-size: 1rem; }
.cca-community-single__card .cca-feed-post__name { font-size: 1.08rem; }
.cca-community-single__body {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #222;
  margin: 0 0 1.15rem;
  white-space: pre-wrap;
}
.cca-community-single__media {
  margin: 0 0 1.15rem;
  border-radius: 16px;
  overflow: hidden;
  background: #e8ebf0;
  aspect-ratio: 16 / 10;
  position: relative;
}
.cca-community-single__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.cca-community-single__card .cca-feed-post__actions {
  margin: 0.25rem 0 1rem;
}
.cca-community-single__card .cca-feed-post__engage {
  display: block;
  margin-top: 0.15rem;
}
.cca-community-single__card .cca-feed-post__comments { max-height: none; }
.cca-community-single__empty {
  margin: 0 0 0.55rem;
  font-size: 0.88rem;
}
.cca-community-single__login {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin: 0.35rem 0 0;
  font-size: 0.88rem;
  color: #666;
}

.cca-events-page .cca-sc-event-list { gap: 0.95rem; }
.cca-sc-event__body h3 {
  margin: 0 0 0.35rem !important;
  font-size: 1.1rem !important;
  color: #121212 !important;
}

/* Professional public events — live portal_events + images */
.cca-events-pro {
  --cca-event-accent: var(--cca-primary, #ffc107);
}
.cca-events-pro__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid rgba(28, 36, 48, 0.08);
}
.cca-events-pro__title {
  margin: 0.2rem 0 0.45rem !important;
  font-size: clamp(1.55rem, 2.4vw, 2rem) !important;
  letter-spacing: -0.03em !important;
  color: #121212 !important;
  font-weight: 750 !important;
  line-height: 1.15 !important;
}
.cca-events-pro__head .cca-muted {
  margin: 0;
  max-width: 38rem;
  font-size: 0.95rem;
  color: #667;
  line-height: 1.5;
}
.cca-events-pro__tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}
.cca-events-pro__count {
  font-size: 0.82rem;
  font-weight: 650;
  color: #777;
  letter-spacing: 0.02em;
}
.cca-events-pro__empty {
  text-align: center;
  background: #fff;
  border: 1px dashed rgba(28, 36, 48, 0.14);
  border-radius: 18px;
  padding: 2.5rem 1.5rem;
}
.cca-events-pro__empty strong {
  display: block;
  font-size: 1.15rem;
  color: #121212;
  margin-bottom: 0.4rem;
}
.cca-events-pro__empty p {
  margin: 0 0 1.1rem;
  color: #666;
}
.cca-events-pro__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.cca-events-pro__grid.is-list {
  grid-template-columns: 1fr;
  gap: 1rem;
}
.cca-events-pro__grid.is-hidden-for-cal { display: none !important; }
.cca-events-pro__filter {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.65rem 0.85rem;
  margin: 0 0 1.15rem;
  padding: 0.65rem 0.85rem;
  background: #fff;
  border: 1px solid rgba(28,36,48,0.08);
  border-radius: 12px;
  width: fit-content;
  max-width: 100%;
}
.cca-events-pro__date-label {
  display: grid;
  gap: 0.28rem;
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #888;
}
.cca-events-pro__date {
  min-width: 10.5rem;
  height: 2.35rem;
  border: 1.5px solid rgba(28,36,48,0.12);
  border-radius: 9px;
  padding: 0 0.65rem;
  font-size: 0.92rem;
  color: #121212;
  background: #fafbfc;
}
.cca-events-pro__date:focus {
  outline: none;
  border-color: rgba(255, 193, 7,0.45);
  box-shadow: 0 0 0 3px rgba(255, 193, 7,0.12);
}
.cca-events-pro__clear {
  height: 2.35rem;
  border: 0;
  background: transparent;
  color: #ffc107;
  font-weight: 700;
  font-size: 0.86rem;
  cursor: pointer;
  padding: 0 0.35rem;
}
.cca-events-pro__none {
  margin: 0.5rem 0 0;
  color: #666;
  font-size: 0.95rem;
}

/* Premium month calendar */
.cca-events-cal {
  background: linear-gradient(180deg, #fff 0%, #fafbfc 100%);
  border: 1px solid rgba(28,36,48,0.09);
  border-radius: 20px;
  padding: 1.15rem 1.2rem 1.25rem;
  box-shadow: 0 12px 32px rgba(28,36,48,0.06);
  margin-bottom: 1.25rem;
}
.cca-events-cal__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.9fr);
  gap: 1.25rem;
  align-items: start;
}
.cca-events-cal__month {
  background: #fff;
  border: 1px solid rgba(28,36,48,0.07);
  border-radius: 16px;
  padding: 1rem 1.05rem 1.1rem;
}
.cca-events-cal__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.95rem;
}
.cca-events-cal__label {
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  color: #121212;
  font-weight: 800;
}
.cca-events-cal__nav {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  border: 1px solid rgba(28,36,48,0.12);
  background: #fff;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  color: #222;
}
.cca-events-cal__nav:hover {
  color: #ffc107;
  border-color: rgba(255, 193, 7,0.35);
  background: #fff5f6;
}
.cca-events-cal__weekdays {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.3rem;
  margin-bottom: 0.35rem;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #9aa0a8;
}
.cca-events-cal__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.35rem;
}
.cca-events-cal__cell {
  aspect-ratio: 1;
  min-height: 0;
  border: 1px solid transparent;
  border-radius: 12px;
  background: #f4f6f8;
  padding: 0.35rem;
  text-align: center;
  cursor: default;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.cca-events-cal__cell.is-empty {
  background: transparent;
  border-color: transparent;
}
.cca-events-cal__cell strong {
  font-size: 0.92rem;
  font-weight: 700;
  color: #3a4048;
  line-height: 1;
}
.cca-events-cal__marks {
  display: flex;
  gap: 0.18rem;
  justify-content: center;
  min-height: 0.35rem;
}
.cca-events-cal__marks i {
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: #ffc107;
  display: block;
}
.cca-events-cal__cell.has-event {
  background: #fff;
  border-color: rgba(255, 193, 7,0.22);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(255, 193, 7,0.07);
}
.cca-events-cal__cell.has-event:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 193, 7,0.45);
}
.cca-events-cal__cell.is-today strong {
  color: #ffc107;
}
.cca-events-cal__cell.is-selected {
  background: #ffc107 !important;
  border-color: #ffc107 !important;
  box-shadow: 0 8px 18px rgba(255, 193, 7,0.28);
}
.cca-events-cal__cell.is-selected strong,
.cca-events-cal__cell.is-selected .cca-events-cal__marks i {
  color: #fff;
  background: #fff;
}
.cca-events-cal__cell:disabled:not(.has-event) {
  opacity: 0.45;
}
.cca-events-cal__hint {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0.85rem 0 0;
  font-size: 0.78rem;
  color: #888;
}
.cca-events-cal__dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #ffc107;
  display: inline-block;
}
.cca-events-cal__side {
  background: #fff;
  border: 1px solid rgba(28,36,48,0.07);
  border-radius: 16px;
  padding: 1rem 1.05rem 1.1rem;
  min-height: 100%;
}
.cca-events-cal__side-title {
  margin: 0 0 0.85rem !important;
  font-size: 0.95rem !important;
  letter-spacing: -0.02em !important;
  color: #121212 !important;
}
.cca-events-cal__day-title {
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
  font-weight: 750;
  color: #555;
}
.cca-events-cal__events {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}
.cca-events-cal__events a {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  padding: 0.55rem;
  border-radius: 14px;
  background: #f7f8fa;
  text-decoration: none !important;
  border: 1px solid transparent;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.cca-events-cal__events a:hover {
  border-color: rgba(255, 193, 7,0.25);
  background: #fff;
}
.cca-events-cal__thumb {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  object-fit: cover;
  display: block;
  background: #1c2430;
}
.cca-events-cal__thumb.is-empty {
  background: linear-gradient(145deg, #1c2430, #ffc107);
}
.cca-events-cal__meta {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}
.cca-events-cal__meta strong {
  color: #121212;
  font-size: 0.95rem;
  line-height: 1.25;
}
.cca-events-cal__meta em {
  font-style: normal;
  color: #666;
  font-size: 0.8rem;
  line-height: 1.3;
}
.cca-events-cal__meta b {
  font-size: 0.8rem;
  color: #ffc107;
  font-weight: 750;
  margin-top: 0.1rem;
}
@media (max-width: 900px) {
  .cca-events-cal__layout { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .cca-events-cal__cell { border-radius: 9px; padding: 0.2rem; }
  .cca-events-cal__cell strong { font-size: 0.8rem; }
}
.cca-event-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(28, 36, 48, 0.09);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(28, 36, 48, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  padding: 0;
}
.cca-event-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(28, 36, 48, 0.09);
}
.cca-event-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(145deg, #1c2430 0%, #3a4454 55%, #ffc107 140%);
}
.cca-event-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.cca-event-card:hover .cca-event-card__media img {
  transform: scale(1.04);
}
.cca-event-card__media-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.18), transparent 45%),
    linear-gradient(145deg, #1c2430 0%, #3a4454 55%, #ffc107 140%);
}
.cca-event-card__media-fallback em {
  font-style: normal;
  font-size: 0.85rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.88);
}
.cca-event-card__date {
  position: absolute;
  left: 0.85rem;
  top: 0.85rem;
  min-width: 3.25rem;
  text-align: center;
  background: #fff;
  border-radius: 12px;
  padding: 0.45rem 0.5rem 0.5rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.18);
  line-height: 1;
}
.cca-event-card__date em {
  display: block;
  font-style: normal;
  font-size: 0.62rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  color: var(--cca-event-accent);
  margin-bottom: 0.2rem;
}
.cca-event-card__date strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: #121212;
  letter-spacing: -0.03em;
}
.cca-event-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.05rem 1.15rem 1.15rem;
  flex: 1;
}
.cca-event-card__title {
  margin: 0 !important;
  font-size: 1.08rem !important;
  line-height: 1.3 !important;
  letter-spacing: -0.02em !important;
  font-weight: 750 !important;
}
.cca-event-card__title a {
  color: #121212 !important;
  text-decoration: none !important;
}
.cca-event-card__title a:hover {
  color: var(--cca-event-accent) !important;
}
.cca-event-card__meta,
.cca-event-card__loc {
  margin: 0 !important;
  font-size: 0.86rem;
  color: #666;
  line-height: 1.4;
}
.cca-event-card__loc {
  color: #555;
}
.cca-event-card__desc {
  margin: 0.25rem 0 0 !important;
  font-size: 0.9rem;
  color: #555;
  line-height: 1.5;
  flex: 1;
}
.cca-event-card__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 0.75rem;
  margin-top: 0.65rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(28, 36, 48, 0.07);
}
.cca-event-card__host {
  font-size: 0.8rem;
  color: #777;
  font-weight: 550;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}
.cca-event-card__host-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
  flex: 0 0 28px;
  background: #e8ebf0;
  display: grid;
  place-items: center;
}
.cca-event-card__host-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cca-event-card__host-avatar em {
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 750;
  color: #666;
}
.cca-event-detail__host-row {
  display: inline-flex !important;
  align-items: center;
  gap: 0.55rem;
}
.cca-event-detail__placeholder {
  min-height: 100%;
}
.cca-event-card__cta {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--cca-event-accent) !important;
  text-decoration: none !important;
  letter-spacing: 0.01em;
}
.cca-event-card__cta:hover {
  text-decoration: underline !important;
}

/* List layout */
.cca-event-card--list,
.cca-events-pro__grid.is-list .cca-event-card {
  flex-direction: row;
  align-items: stretch;
}
.cca-events-pro__grid.is-list .cca-event-card__media {
  width: min(280px, 36%);
  flex: 0 0 min(280px, 36%);
  aspect-ratio: auto;
  min-height: 160px;
}
.cca-events-pro__grid.is-list .cca-event-card__body {
  padding: 1.15rem 1.25rem;
  justify-content: center;
}

@media (max-width: 1100px) {
  .cca-events-pro__grid.is-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 720px) {
  .cca-events-pro__grid.is-grid {
    grid-template-columns: 1fr;
  }
  .cca-events-pro__grid.is-list .cca-event-card {
    flex-direction: column;
  }
  .cca-events-pro__grid.is-list .cca-event-card__media {
    width: 100%;
    flex-basis: auto;
    aspect-ratio: 16 / 10;
    min-height: 0;
  }
}


/* Sponsored ads interleaved in the community feed */
.cca-feed-ad {
  position: relative;
  display: grid;
  gap: 0.85rem;
  background: linear-gradient(180deg, #fff 0%, #fafbfd 100%);
  border: 1px solid rgba(255, 193, 7, 0.14);
  border-radius: 16px;
  padding: 1.05rem 1.15rem 1.1rem;
  box-shadow: 0 10px 28px rgba(28, 36, 48, 0.05);
}
.cca-feed-ad__badge {
  position: absolute;
  top: 0.85rem;
  right: 0.95rem;
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #888;
}
.cca-feed-ad__media {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #eef0f4;
}
.cca-feed-ad__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cca-feed-ad__body h3 {
  margin: 0.35rem 0 0.4rem !important;
  font-size: 1.12rem !important;
  letter-spacing: -0.02em !important;
  color: #121212 !important;
}
.cca-feed-ad__body p {
  margin: 0 0 0.85rem;
  color: #444;
  line-height: 1.5;
  font-size: 0.94rem;
}
.cca-feed-ad__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Public event detail page */
.cca-event-detail-page {
  --cca-event-accent: var(--cca-primary, #ffc107);
}
.cca-event-detail-page__back {
  margin: 0 0 1rem;
}
.cca-event-detail-page__back a {
  color: #666 !important;
  text-decoration: none !important;
  font-size: 0.9rem;
  font-weight: 600;
}
.cca-event-detail-page__back a:hover {
  color: var(--cca-event-accent) !important;
}
.cca-event-detail__hero-media {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 21 / 9;
  background: #1c2430;
  margin-bottom: 1.35rem;
  box-shadow: 0 14px 36px rgba(28, 36, 48, 0.12);
}
.cca-event-detail__hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cca-event-detail__badge {
  left: 1.1rem;
  top: 1.1rem;
  min-width: 3.6rem;
  padding: 0.55rem 0.55rem 0.6rem;
}
.cca-event-detail__badge i {
  display: block;
  margin-top: 0.2rem;
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 650;
  color: #888;
}
.cca-event-detail__head {
  margin-bottom: 1.5rem;
}
.cca-event-detail__title {
  margin: 0.2rem 0 0.45rem !important;
  font-size: clamp(1.7rem, 3vw, 2.35rem) !important;
  letter-spacing: -0.035em !important;
  line-height: 1.15 !important;
  color: #121212 !important;
  font-weight: 800 !important;
}
.cca-event-detail__when {
  margin: 0 0 1rem !important;
  font-size: 1.05rem;
  color: #555;
}
.cca-event-detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.cca-event-detail__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.9fr);
  gap: 1.25rem;
  align-items: start;
}
.cca-event-detail__panel {
  background: #fff;
  border: 1px solid rgba(28, 36, 48, 0.09);
  border-radius: 18px;
  padding: 1.2rem 1.25rem 1.3rem;
  box-shadow: 0 10px 28px rgba(28, 36, 48, 0.05);
  margin-bottom: 1rem;
}
.cca-event-detail__panel h2 {
  margin: 0 0 0.85rem !important;
  font-size: 1.05rem !important;
  letter-spacing: -0.02em !important;
  color: #121212 !important;
}
.cca-event-detail__desc p {
  margin: 0 0 0.85rem;
  color: #444;
  line-height: 1.65;
  font-size: 1rem;
}
.cca-event-detail__desc p:last-child { margin-bottom: 0; }
.cca-event-detail__gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.75rem;
}
.cca-event-detail__gallery a {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #f0f2f5;
}
.cca-event-detail__gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}
.cca-event-detail__gallery a:hover img {
  transform: scale(1.04);
}
.cca-event-detail__facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}
.cca-event-detail__facts li {
  display: grid;
  gap: 0.2rem;
}
.cca-event-detail__facts strong {
  font-size: 0.72rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #888;
  font-weight: 750;
}
.cca-event-detail__facts span {
  color: #222;
  font-size: 0.95rem;
  line-height: 1.45;
}
.cca-event-detail__facts em {
  font-style: normal;
  color: #777;
}
.cca-event-detail__facts a {
  color: var(--cca-event-accent) !important;
  text-decoration: none !important;
}
.cca-event-detail__mini {
  display: inline-block;
  margin-top: 0.2rem;
  font-size: 0.84rem;
  font-weight: 650;
}
.cca-event-detail__cta {
  text-align: center;
}
.cca-event-detail__cta p {
  margin: 0 0 0.85rem;
  color: #555;
  font-size: 0.92rem;
}
@media (max-width: 900px) {
  .cca-event-detail__layout {
    grid-template-columns: 1fr;
  }
  .cca-event-detail__hero-media {
    aspect-ratio: 16 / 10;
  }
}

/* Homepage member / events carousels — 3 cards visible, wider strip */
.cca-home-slider {
  --cca-event-accent: var(--cca-primary, #ffc107);
  --cca-home-gap: 1.15rem;
  width: min(1480px, calc(100vw - 40px)) !important;
  max-width: min(1480px, calc(100vw - 40px)) !important;
  margin: 0 auto !important;
  padding: 0.5rem 0.25rem 1.35rem;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  box-sizing: border-box;
}
.cca-home-slider__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.15rem;
  padding: 0 0.15rem;
}
.cca-home-slider__title {
  margin: 0.15rem 0 0 !important;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem) !important;
  letter-spacing: -0.03em !important;
  color: #121212 !important;
  font-weight: 750 !important;
}
.cca-home-slider__tools {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.cca-home-slider__more {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--cca-event-accent) !important;
  text-decoration: none !important;
}
.cca-home-slider__navs { display: flex; gap: 0.4rem; }
.cca-home-slider__nav {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  border: 1px solid rgba(28,36,48,0.12);
  background: #fff;
  color: #222;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}
.cca-home-slider__nav:hover { border-color: rgba(255, 193, 7,0.35); color: #ffc107; }
.cca-home-slider__nav:disabled { opacity: 0.35; cursor: default; }
.cca-home-slider__viewport { overflow: hidden; width: 100%; }
.cca-home-slider__track {
  display: flex;
  align-items: flex-start;
  gap: var(--cca-home-gap);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.cca-home-slide {
  flex: 0 0 calc((100% - (2 * var(--cca-home-gap))) / 3);
  width: calc((100% - (2 * var(--cca-home-gap))) / 3);
  min-width: 0;
  align-self: flex-start;
  display: flex;
  flex-direction: column;
  height: auto !important;
  min-height: 0 !important;
  background: #fff;
  border: 1px solid rgba(28,36,48,0.09);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(28,36,48,0.05);
}
.cca-home-slide__photo,
.cca-home-slide__media {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: hidden;
  background: #dfe3e8;
  line-height: 0 !important;
  font-size: 0 !important;
  flex: 0 0 auto;
}
.cca-home-slide--event .cca-home-slide__media { aspect-ratio: 16 / 10; }
.cca-home-slide__photo img,
.cca-home-slide__media img,
.cca-home-slider img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  min-width: 0 !important;
  min-height: 0 !important;
  object-fit: cover !important;
  object-position: center top !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  vertical-align: top !important;
}
.cca-home-slide__body {
  padding: 1rem 1.1rem 1.2rem;
  flex: 0 0 auto;
  margin: 0 !important;
  background: #fff;
}
.cca-home-slide__name {
  margin: 0 0 0.25rem !important;
  font-size: 1.08rem !important;
  letter-spacing: -0.02em !important;
  line-height: 1.25 !important;
}
.cca-home-slide__name a { color: #121212 !important; text-decoration: none !important; }
.cca-home-slide__name a:hover { color: #ffc107 !important; }
.cca-home-slide__company {
  margin: 0 0 0.15rem !important;
  font-size: 0.9rem;
  font-weight: 600;
  color: #333;
  line-height: 1.3;
}
.cca-home-slide__cat {
  margin: 0 !important;
  font-size: 0.84rem;
  color: #ffc107;
  font-weight: 650;
}
.cca-home-slide__tag {
  margin: 0.3rem 0 0 !important;
  font-size: 0.9rem;
  color: #666;
  line-height: 1.4;
}
.cca-home-slide__cta {
  display: inline-block;
  margin-top: 0.7rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffc107 !important;
  text-decoration: none !important;
}
.cca-home-slider__count {
  margin: 0.75rem 0 0;
  font-size: 0.78rem;
  color: #888;
}
.cca-home-slider.is-single .cca-home-slider__nav { display: none; }
@media (max-width: 1100px) {
  .cca-home-slider {
    width: min(100%, calc(100vw - 32px)) !important;
    max-width: min(100%, calc(100vw - 32px)) !important;
  }
}
@media (max-width: 979px) {
  .cca-home-slide {
    flex-basis: calc((100% - var(--cca-home-gap)) / 2);
    width: calc((100% - var(--cca-home-gap)) / 2);
  }
}
@media (max-width: 639px) {
  .cca-home-slider {
    left: 0;
    transform: none;
    width: 100% !important;
    max-width: 100% !important;
  }
  .cca-home-slide {
    flex-basis: 100%;
    width: 100%;
  }
}
