/* /add-your-event — organiser event details intake */
.event-intake-page {
  --ei-ink: #2d2636;
  --ei-muted: #635c5e;
  --ei-line: rgba(45, 38, 54, 0.12);
}

.ei-hero .content-hero-lede {
  max-width: 36em;
  margin-left: auto;
  margin-right: auto;
}

.ei-layout {
  display: grid;
  grid-template-columns: minmax(0, 17rem) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 48px);
  max-width: 920px;
  margin: 0 auto;
  padding: 40px 24px 72px;
}

.ei-aside h2 {
  margin: 0 0 14px;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--ei-ink);
}

.ei-steps {
  margin: 0 0 20px;
  padding-left: 1.15rem;
  color: var(--ei-muted);
  line-height: 1.55;
  font-size: 0.95rem;
}

.ei-steps li + li {
  margin-top: 8px;
}

.ei-aside-note {
  margin: 0 0 12px;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--ei-muted);
}

.ei-aside-note a {
  color: var(--lavender-deep, #7a3d8a);
  font-weight: 600;
}

.ei-book {
  margin: 20px 0 16px;
  padding: 16px 0 0;
  border-top: 1px solid var(--ei-line);
}

.ei-book h2 {
  margin-bottom: 8px;
}

.ei-book p {
  margin: 0 0 14px;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--ei-muted);
}

.ei-book-btn {
  display: inline-flex;
  width: auto;
}

.ei-form-panel {
  background: var(--surface, #fff);
  border: 1px solid var(--ei-line);
  border-radius: 16px;
  padding: clamp(20px, 3vw, 28px);
  box-shadow: 0 10px 30px rgba(45, 38, 54, 0.04);
}

.ei-fieldset {
  margin: 0 0 22px;
  padding: 0;
  border: none;
}

.ei-fieldset legend {
  margin: 0 0 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ei-muted);
}

.ei-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.ei-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ei-field--full {
  grid-column: 1 / -1;
}

.ei-field > span,
.ei-field > .ei-label-block,
.ei-label-block {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ei-muted);
}

.ei-optional {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  opacity: 0.8;
}

.ei-field input:not([type='radio']):not([type='checkbox']),
.ei-field select,
.ei-field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--ei-line);
  border-radius: 10px;
  background: var(--surface-warm, #faf7f2);
  font: inherit;
  font-size: 0.95rem;
  color: var(--ei-ink);
}

.ei-field input:not([type='radio']):not([type='checkbox']):focus,
.ei-field textarea:focus {
  outline: 2px solid rgba(154, 122, 168, 0.35);
  outline-offset: 1px;
}

/* Native radios are clipped — they inherit text-field width/padding from shared form CSS. */
.event-intake-page .ei-card > input[type='radio'],
.event-intake-page .ei-choice-option > input[type='radio'] {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  background: transparent !important;
}

.ei-choice-dot {
  flex: 0 0 1.1rem;
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 2px;
  box-sizing: border-box;
  border: 2px solid rgba(45, 38, 54, 0.35);
  border-radius: 50%;
  background: #fff;
}

.ei-card:has(input:checked) .ei-choice-dot,
.ei-choice-option:has(input:checked) .ei-choice-dot {
  border-color: #7a3d8a;
  box-shadow: inset 0 0 0 3.5px #7a3d8a;
}

.ei-section-lead {
  margin: -4px 0 16px;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--ei-muted);
}

.ei-stack {
  margin-top: 16px;
}

.ei-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-items: stretch;
}

.ei-cards--2x2 {
  grid-template-columns: 1fr 1fr;
}

.ei-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 14px 14px 15px;
  border: 1.5px solid var(--ei-line);
  border-radius: 14px;
  background: var(--surface-warm, #faf7f2);
  cursor: pointer;
  min-width: 0;
  min-height: 100%;
  box-sizing: border-box;
}

.ei-card-copy {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.ei-card-copy strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ei-ink);
  letter-spacing: 0;
  text-transform: none;
}

.ei-card-copy span {
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ei-muted);
}

.ei-card:has(input:checked) {
  border-color: rgba(122, 61, 138, 0.55);
  background: rgba(194, 153, 209, 0.16);
  box-shadow: inset 0 0 0 1px rgba(122, 61, 138, 0.2);
}

.ei-card:has(input:focus-visible) {
  outline: 2px solid rgba(154, 122, 168, 0.45);
  outline-offset: 2px;
}

.ei-label-block.hub-field-tip-host {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
}

.ei-card.hub-field-tip-host {
  display: flex;
  align-items: flex-start;
}

.ei-card .hub-field-tip-btn {
  margin-left: auto;
}

.ei-field > span .hub-field-tip-inline {
  text-transform: none;
}

.ei-choice {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ei-choice--compact .ei-choice-option {
  min-width: 5.5rem;
  justify-content: center;
  padding: 8px 16px;
}

.ei-choice-option {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--ei-line);
  border-radius: 999px;
  background: var(--surface-warm, #faf7f2);
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ei-ink);
}

.ei-choice-option .ei-choice-dot {
  margin-top: 0;
}

.ei-choice-option:has(input:checked) {
  border-color: rgba(122, 61, 138, 0.45);
  background: rgba(194, 153, 209, 0.14);
}

.ei-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.ei-submit {
  margin-top: 4px;
  min-height: 44px;
  padding: 0 20px;
}

.ei-status {
  margin: 14px 0 0;
  font-size: 0.92rem;
  line-height: 1.45;
}

.ei-status.is-ok {
  color: #1f6b45;
  font-weight: 600;
}

.ei-status.is-error {
  color: #9b1c1c;
  font-weight: 600;
}

.ei-note {
  margin: 12px 0 0;
  font-size: 0.85rem;
  color: var(--ei-muted);
  line-height: 1.5;
}

.ei-note a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ei-cal-hint {
  margin: 0 0 10px;
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--ei-muted);
}

.ei-calendar {
  width: 100%;
  max-width: 420px;
  padding: 14px;
  border: 1px solid var(--ei-line);
  border-radius: 14px;
  background: rgba(194, 153, 209, 0.1);
}

.ei-cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.ei-cal-header button {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--ei-line);
  border-radius: 8px;
  background: #fff;
  color: var(--ei-ink);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.ei-cal-month {
  flex: 1;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ei-ink);
}

.ei-cal-weekdays,
.ei-cal-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}

.ei-cal-weekdays {
  margin-bottom: 6px;
}

.ei-cal-weekdays span {
  display: block;
  padding: 6px 0;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  color: var(--ei-muted);
}

.ei-cal-days {
  min-height: 220px;
}

.ei-cal-day {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 40px;
  max-height: 48px;
  aspect-ratio: 1;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #fff;
  color: var(--ei-ink);
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  box-sizing: border-box;
}

.ei-cal-day:hover:not(:disabled):not(.is-selected) {
  background: rgba(194, 153, 209, 0.16);
}

.ei-cal-day.is-other {
  color: var(--ei-muted);
  opacity: 0.45;
}

.ei-cal-day.is-past:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.ei-cal-day.is-selected,
.ei-cal-day.is-selected:hover:not(:disabled) {
  background: #7a3d8a;
  border-color: #5c2d68;
  color: #fff;
  font-weight: 700;
}

.ei-cal-count {
  margin: 12px 0 0;
  font-size: 0.85rem;
  color: var(--ei-muted);
}

.ei-date-list {
  margin: 8px 0 0;
  padding-left: 1.15rem;
  max-height: 8rem;
  overflow-y: auto;
  color: var(--ei-ink);
  font-size: 0.9rem;
  line-height: 1.45;
}

.ei-date-list:empty {
  display: none;
}

@media (max-width: 800px) {
  .ei-layout {
    grid-template-columns: 1fr;
    padding-top: 28px;
  }

  .ei-aside {
    order: 2;
  }

  .ei-form-panel {
    order: 1;
  }
}

@media (max-width: 560px) {
  .ei-grid,
  .ei-cards,
  .ei-cards--2x2 {
    grid-template-columns: 1fr;
  }
}
