/* /events-widget/ (snippet builder) and the calendar block on /club-events/. */
.ew-page { padding: 2rem 0 3rem; }
.ew-intro h1 { margin-bottom: 0.75rem; }
.ew-intro p { font-size: 1.125rem; }
.ew-builder {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2.5rem;
  margin: 2rem 0;
  align-items: start;
}
.ew-controls label { display: block; font-weight: 600; margin: 1rem 0 0.35rem; }
.ew-controls select { width: 100%; max-width: 360px; padding: 0.55rem 0.6rem; font: inherit; border: 1px solid #c9cfcc; border-radius: 6px; background: #fff; }
.ew-controls h3 { margin-top: 1.75rem; }
.ew-code {
  width: 100%;
  box-sizing: border-box;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.85rem;
  padding: 0.75rem;
  border: 1px solid #c9cfcc;
  border-radius: 6px;
  background: #f6f8f7;
  resize: vertical;
}
.ew-copy { margin-top: 0.6rem; }
.ew-hint { font-size: 0.9rem; color: #555; margin-top: 0.5rem; }
.ew-preview { background: #f3f5f4; border-radius: 12px; padding: 1.25rem 1.5rem; }
.ew-preview h2 { margin-top: 0; }
.ew-section { margin: 2.5rem 0; }
.ew-buttons { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.ew-notes li { margin-bottom: 0.5rem; }
@media (max-width: 860px) {
  .ew-builder { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
}

/* Calendar feeds block on /club-events/ */
.cal-feeds { margin: 3rem 0 1rem; padding: 2rem; border-radius: 12px; background: #f3f5f4; }
.cal-feeds h2 { margin-top: 0; }
.cal-feeds .ew-buttons { margin: 1.25rem 0; }
.cal-feeds details { margin-top: 1rem; }
.cal-feeds summary { cursor: pointer; font-weight: 600; }
.cal-feed-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0.9rem 1.5rem; list-style: none; padding: 0; margin: 1rem 0; }
.cal-feed-label { font-size: 1rem; margin: 1.25rem 0 0; }
.cal-feed-list li { line-height: 1.4; }
.cal-feed-list .cal-feed-name { display: block; font-weight: 600; }
.cal-feed-list a { font-size: 0.9rem; }
.cal-feed-list a + a::before { content: "\00b7"; display: inline-block; margin: 0 0.45rem; color: #777; text-decoration: none; }
.cal-feeds-copy { font-size: 0.9rem; word-break: break-all; }
@media (max-width: 600px) { .cal-feeds { padding: 1.25rem 16px; } }
