/* David-directed tweaks layered over the Claude Design handoff (handoff CSS kept pristine). */

/* Titles in our ink — the cards are <a>, so the theme's orange link colour was bleeding into
   the h3s. Type labels + buttons stay orange; titles still turn orange on hover (design intent). */
.se-embed-listing .lc-body h3,
.se-embed-listing .cc-body h3,
.se-embed-listing .abody h3,
.se-embed-listing .cal-pop h4 { color: var(--ink); }

/* Full container width — align with the header (logo start → calendar-icon end), not 1080 centred. */
.se-embed-listing .sam-cal,
.se-embed-listing .sam-views { max-width: none; }

/* Show titles + excerpts IN FULL. The design clamps these to 2 lines via 3-class selectors
   (.sam-views .ccard .cc-body h3 etc.) that out-specify a plain override, so the clamp only lifts
   with !important. Cards stay even height: the design's title min-height keeps short ones aligned,
   and the flex track stretches every card to the tallest, footer pinned to the bottom. */
.se-embed-listing .cc-body h3,
.se-embed-listing .lc-body h3,
.se-embed-listing .lc-desc {
  display: block !important;
  -webkit-line-clamp: unset !important;
  overflow: visible !important;
  max-height: none !important;
}
.se-embed-listing .caro-track { align-items: stretch; }

/* Carousel with no heading (Home) — keep the prev/next arrows right-aligned. */
.se-embed-listing .caro-head-empty { justify-content: flex-end; }

/* Breathing room between the calendar and the full list beneath it (calendar page). */
.se-embed-listing .sam-cal { margin-bottom: 46px; }

/* Hybrid pill — flags events that run in person AND online (Zoom). Stands out over the image the
   way the availability pill does. Both .lc-img and .cc-img are already position:relative in the
   design, so the pill anchors to the image box. */
.se-embed-listing .se-hybrid-pill {
  position: absolute;
  z-index: 3;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(20, 24, 33, .82);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  box-shadow: 0 1px 4px rgba(0, 0, 0, .25);
}
/* List: image top-left is free (date lives in the rail, featured pill in the body). */
.se-embed-listing .lc-img .se-hybrid-pill { top: 12px; left: 12px; }
/* Carousel: top-left holds the date badge and top-right the featured pill, so sit bottom-left. */
.se-embed-listing .cc-img .se-hybrid-pill { bottom: 12px; left: 12px; }

/* List-view filter toggles. Mirror the calendar's chips visually. Hidden on desktop (the calendar
   above carries the filters there); shown on mobile, where the calendar is hidden and this list is
   the primary UI. JS hides any chip whose type/format isn't present in the list. */
.se-embed-listing .sv-filter { display: none; }
.se-embed-listing .sv-chip {
  border: 1.5px solid var(--border); background: #fff; color: var(--ink-soft);
  border-radius: 999px; padding: 8px 14px; font-size: 13px; font-weight: 700; line-height: 1;
  cursor: pointer; display: inline-flex; align-items: center; gap: 7px;
  transition: border-color .12s, background .12s, color .12s;
}
.se-embed-listing .sv-chip:hover { border-color: var(--ink-mute); }
.se-embed-listing .sv-chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.se-embed-listing .sv-chip .cdot { width: 8px; height: 8px; border-radius: 50%; }
.se-embed-listing .sv-chip .fico { margin-right: -1px; }
.se-embed-listing .sv-fdiv { width: 1px; align-self: stretch; background: var(--border); margin: 2px 3px; }

/* Mobile gutter — with max-width:none the calendar + listings run full-bleed to the Elementor
   column, which on phones is the screen edge, so the cards were touching the sides. Give them a
   side gutter on narrow screens. Also: on mobile the calendar's month grid is hidden and its agenda
   duplicated the list below, so we hide the whole calendar and show the list's own filter toggles —
   one filterable upcoming list, no repeat. */
@media (max-width: 640px) {
  .se-embed-listing .sam-cal { display: none; }
  .se-embed-listing .sam-views { padding-left: 16px; padding-right: 16px; }
  .se-embed-listing .sv-filter { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 16px; }
}

/* Small event thumbnail on single-day calendar chips — helps otherwise-identical weekly classes
   (Tuesday / Wednesday) read as distinct at a glance. Ringed in the event type colour; falls back
   to the type dot when an event has no image. */
.se-embed-listing .ev .ethumb {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  object-fit: cover;
  flex: 0 0 auto;
  border: 1.5px solid var(--line);
  margin-right: 1px;
}
