/* Calendanse Communauté overlay */

.cdc-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c45c26;
  font-weight: 700;
}

.cdc-lead {
  max-width: 40rem;
  font-size: 1.05rem;
  line-height: 1.55;
}

.cdc-stat {
  font-weight: 700;
  color: #0b1f4d;
}

.cdc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 650;
  border: 2px solid #0b1f4d;
}

.cdc-btn--primary {
  background: #0b1f4d;
  color: #fff;
}

.cdc-btn--ghost {
  background: transparent;
  color: #0b1f4d;
}

.cdc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.cdc-forum-cta {
  position: sticky;
  bottom: 0;
  z-index: 20;
  margin: 1.5rem 0 0;
  padding: 1rem 1.15rem;
  background: #fff8f2;
  border-top: 3px solid #c45c26;
  box-shadow: 0 -8px 24px rgb(11 31 77 / 8%);
}

.cdc-forum-cta__text {
  margin: 0 0 0.75rem;
  font-weight: 650;
  color: #0b1f4d;
}

.cdc-forum-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0;
}

body.cdc-forum-guest .wpf-button .add_wpftopic,
body.cdc-forum-guest a.add_wpftopic,
body.cdc-forum-guest .wpf-action-link.wpf-button,
body.cdc-forum-guest #add_wpftopic,
body.cdc-forum-guest a[href*="/add-topic/"] {
  display: none !important;
}

.cdc-explore-guest,
.cdc-pioneers,
.cdc-privacy {
  max-width: 52rem;
  margin: 0 auto;
  padding: 1.25rem 1rem 2.5rem;
}

.cdc-explore-guest__samples,
.cdc-pioneers__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 1.25rem 0;
}

.cdc-explore-guest__card,
.cdc-pioneers__card {
  background: #fff;
  border: 1px solid #eadfd4;
  border-radius: 16px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.cdc-explore-guest__card img,
.cdc-pioneers__card img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 50%;
}

.cdc-avatar-ph {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #0b1f4d;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.cdc-badge {
  display: inline-block;
  margin: 0;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: #0b1f4d;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}

.cdc-badge--beta {
  background: #c45c26;
}

.cdc-privacy__title {
  margin: 0 0 0.4rem;
}

.cdc-privacy__hint {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  line-height: 1.45;
  color: #5c534c;
}

.cdc-privacy__group {
  margin: 1.1rem 0 0;
  padding: 0.85rem 1rem 0.4rem;
  border: 1px solid #eadfd4;
  border-radius: 14px;
  min-width: 0;
}

.cdc-privacy__group legend {
  font-weight: 700;
  color: #0b1f4d;
  padding: 0 0.35rem;
}

.cdc-privacy__row {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0.55rem 0;
}

.cdc-privacy__row textarea,
.cdc-privacy__row select {
  width: 100%;
}

.cdc-pioneers__empty {
  background: #fff8f2;
  border-radius: 16px;
  padding: 1.25rem;
}

@media (max-width: 412px) {
  .cdc-forum-cta {
    padding: 0.85rem;
  }
  .cdc-btn {
    width: 100%;
  }
}
