/* Companion module presentation */

.sugarpop-relationship-module {
  box-sizing: border-box;
  min-width: 0;
  padding: 0;
  border: 2px solid #6C3BAA;
  border-radius: 14px;
  background: #F4EAF9;
  box-shadow: 0 5px 0 rgb(108 59 170 / 18%);
}

/* Shared header treatment for both existing markup variants */

.sugarpop-relationship-module > .sugarpop-relationship-heading,
.sugarpop-relationship-module > h3.title {
  margin: 0 !important;
  padding: clamp(14px, 3vw, 22px);
  border-bottom: 4px solid #C9A0DC;
  background: #6C3BAA;
  color: #fff !important;
  font-family: "Hanken Grotesk", sans-serif;
  text-align: left;
}

.sugarpop-relationship-module > h3.title,
.sugarpop-relationship-module > .sugarpop-relationship-heading > p:first-child {
  color: #fff !important;
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.sugarpop-relationship-module > .sugarpop-relationship-heading > p:first-child {
  margin: 0;
}

.sugarpop-relationship-module > .sugarpop-relationship-heading > p:first-child strong {
  color: inherit;
  font-weight: inherit;
}

.sugarpop-relationship-module > .sugarpop-relationship-heading > p:not(:first-child) {
  margin: 8px 0 0;
  color: #F4EAF9 !important;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.4;
}

/* Preserve the existing responsive card grid */

.sugarpop-relationship-module > .sugarpop-relationship-grid {
  box-sizing: border-box;
  min-width: 0;
  padding: clamp(10px, 2vw, 16px);
}

/* Date-neutral event placeholder artwork */

.sugarpop-relationship-placeholder-icon .calendar-neutral-icon {
  display: block;
  width: 1em;
  height: 1em;
  margin: 0 auto;
  object-fit: contain;
}

/* Existing expired-card treatment */

.sugarpop-relationship-card.sugarpop-relationship-card-expired {
  background-color: #C9A0DC;
}

.sugarpop-relationship-card .sugarpop-relationship-lifecycle {
  display: block;
  margin: 0.2rem 0;
  font-size: 1.25rem;
  font-weight: bold;
  line-height: 1.3;
  color: purple;
}

