/* ==========================================================================
   Compass Schedule – Frontend Styles
   Figma: node 7106:8719
   ========================================================================== */

/* --------------------------------------------------------------------------
   Design tokens
   -------------------------------------------------------------------------- */
.cs-schedule {
	--cs-color-title:        #250f66;
	--cs-color-cerise:       #e6177f;
	--cs-color-purple:       #6837f0;
	--cs-color-body:         #292929;
	--cs-color-badge-bg:     rgba(104, 55, 240, 0.18);
	--cs-color-card-border:  #dcdcdc;
	--cs-color-date-border:  #d0d0d0;
	--cs-color-btn-bg:       #bbb4fe;
	--cs-color-filter-label: #d9d5ff;

	--cs-font:   'Poppins', sans-serif;

	--cs-radius-card:  12px;
	--cs-radius-badge: 24px;
	--cs-radius-btn:   8px;
	--cs-radius-tag:   80px;

	--cs-shadow:
		0px 2px  5px  rgba(0,0,0,.08),
		0px 9px  9px  rgba(0,0,0,.07),
		0px 20px 12px rgba(0,0,0,.04),
		0px 35px 14px rgba(0,0,0,.01),
		0px 55px 15px rgba(0,0,0,0);

	font-family: var(--cs-font);
	box-sizing: border-box;
	width: 100%;
}

.cs-schedule *,
.cs-schedule *::before,
.cs-schedule *::after {
	box-sizing: inherit;
}

/* --------------------------------------------------------------------------
   Workshop segmented toggle
   -------------------------------------------------------------------------- */
.cs-workshop-tabs {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	margin-bottom: 24px;
}

.cs-workshop-tab {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 20px;
	border-radius: 8px;
	border: 2px solid var(--cs-color-purple);
	background: transparent;
	font-family: var(--cs-font);
	font-size: 14px;
	font-weight: 700;
	line-height: 24px;
	letter-spacing: .04em;
	color: var(--cs-color-purple);
	cursor: pointer;
	transition: background .2s, color .2s;
	white-space: nowrap;
}

.cs-workshop-tab:hover {
	background: rgba(104, 55, 240, .08);
}

.cs-workshop-tab--active {
	background: var(--cs-color-purple);
	color: #fff;
}

.cs-workshop-tab--active:hover {
	background: #5a2fd4;
}

@media (max-width: 600px) {
	.cs-workshop-tabs { gap: 6px; }
	.cs-workshop-tab  { font-size: 13px; padding: 6px 14px; }
}

/* --------------------------------------------------------------------------
   Filter bar
   -------------------------------------------------------------------------- */
.cs-filters {
	width: 100%;
	margin-bottom: 48px;
}

.cs-filters__label {
	display: block;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.5;
	color: var(--cs-color-title);
	opacity: 0.6;
	margin-bottom: 4px;
}

.cs-filters__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.cs-filters__dropdowns {
	display: flex;
	align-items: center;
	gap: 24px;
	flex-wrap: wrap;
}

/* ---- individual dropdown ---- */
.cs-filter-dropdown {
	position: relative;
}

.cs-filter-btn {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	font-family: var(--cs-font);
	font-size: 14px;
	font-weight: 700;
	line-height: 24px;
	letter-spacing: 0.04em;
	color: var(--cs-color-title);
	transition: opacity .2s;
}

.cs-filter-btn:hover { opacity: .8; }

.cs-filter-btn.is-active { color: var(--cs-color-cerise); }

.cs-filter-btn__chevron {
	flex-shrink: 0;
	transition: transform .2s ease;
}
.cs-filter-btn[aria-expanded="true"] .cs-filter-btn__chevron {
	transform: rotate(180deg);
}

/* dropdown menu */
.cs-filter-dropdown__menu {
	display: none;
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	min-width: 180px;
	background: #fff;
	border: 1px solid var(--cs-color-card-border);
	border-radius: 8px;
	box-shadow: var(--cs-shadow);
	list-style: none;
	margin: 0;
	padding: 6px 0;
	z-index: 200;
}

.cs-filter-dropdown__menu.is-open { display: block; }

.cs-filter-dropdown__option {
	padding: 8px 16px;
	font-size: 13px;
	font-family: var(--cs-font);
	color: var(--cs-color-body);
	cursor: pointer;
	transition: background .15s;
	list-style: none;
}

.cs-filter-dropdown__option:hover {
	background: rgba(104, 55, 240, .08);
}

.cs-filter-dropdown__option[aria-selected="true"] {
	color: var(--cs-color-purple);
	font-weight: 700;
	background: rgba(104, 55, 240, .08);
}

.cs-filter-dropdown__option--all {
	border-bottom: 1px solid rgba(37, 15, 102, .1);
	margin-bottom: 4px;
	padding-bottom: 10px;
}

/* reset all */
.cs-filters__reset {
	flex-shrink: 0;
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	font-family: var(--cs-font);
	font-size: 14px;
	font-weight: 700;
	line-height: 24px;
	letter-spacing: .04em;
	color: var(--cs-color-purple);
	text-decoration: underline;
	transition: opacity .2s;
}
.cs-filters__reset:hover { opacity: .75; }

/* divider */
.cs-filters__divider {
	margin-top: 16px;
	height: 1px;
	background: rgba(37, 15, 102, .12);
}

/* --------------------------------------------------------------------------
   Event list
   -------------------------------------------------------------------------- */
.cs-event-list {
	display: flex;
	flex-direction: column;
	gap: 24px;
	width: 100%;
}

.cs-no-results {
	text-align: center;
	padding: 32px 0;
	font-size: 14px;
	color: #fff;
}

/* --------------------------------------------------------------------------
   Card shell
   -------------------------------------------------------------------------- */
.cs-card {
	display: flex;
	align-items: stretch;
	gap: 24px;
	background: #fff;
	border: 1px solid var(--cs-color-card-border);
	border-radius: var(--cs-radius-card);
	box-shadow: var(--cs-shadow);
	padding: 24px;
	width: 100%;
}


/* --------------------------------------------------------------------------
   Date column
   -------------------------------------------------------------------------- */
.cs-card__date {
	flex-shrink: 0;
	width: 80px;
	padding-right: 24px;
	border-right: 1px solid var(--cs-color-date-border);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	gap: 8px;
	align-self: stretch;
}

.cs-card__date-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0;
}

.cs-card__day-name {
	font-size: 14px;
	font-weight: 700;
	line-height: 1.5;
	color: var(--cs-color-title);
	text-transform: lowercase;
}

.cs-card__day-num {
	font-size: 48px;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.04em;
	color: var(--cs-color-title);
	text-align: center;
	white-space: nowrap;
}

.cs-card__day-label {
	font-size: 14px;
	font-weight: 700;
	line-height: 1.5;
	color: var(--cs-color-title);
}

.cs-card__time {
	font-size: 14px;
	font-weight: 700;
	line-height: 1.5;
	color: var(--cs-color-title);
	text-align: center;
	white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Content column  (middle)
   -------------------------------------------------------------------------- */
.cs-card__content {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;          /* gap between header / speakers / tags groups */
	align-self: stretch;
}

.cs-card__content--full {
	align-items: center;
	justify-content: center;
	gap: 0;
}

/* -- Header group: type label + badges + title (tight 8px gap) -- */
.cs-card__header {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.cs-card__type-label {
	font-size: 14px;
	font-weight: 700;
	line-height: 1.5;
	color: var(--cs-color-cerise);
}

.cs-card__type-label {
	display: block;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.5;
	color: #2f234f;
}

.cs-card__meta-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px;
}

.cs-card__badge {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 2px 8px 2px 4px;
	border-radius: var(--cs-radius-badge);
	font-family: var(--cs-font);
	font-size: 12px;
	font-weight: 500;
	line-height: 1.5;
	color: var(--cs-color-title);
	white-space: nowrap;
	background: var(--cs-color-badge-bg);  /* default; stage overrides via inline */
}

.cs-badge-icon {
	flex-shrink: 0;
	display: block;
}

.cs-card__title {
	margin: 0;
	font-family: var(--cs-font);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.5;
	color: var(--cs-color-title);
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
}

.cs-card__title--center {
	text-align: center;
	-webkit-line-clamp: unset;
}

/* -- Speakers group -- */
.cs-card__speakers {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.cs-card__speaker {
	display: flex;
	align-items: center;
	gap: 8px;
}

.cs-card__speaker-avatar {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
	display: block;
}

.cs-card__speaker-info {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.cs-card__speaker-name {
	font-size: 14px;
	font-weight: 700;
	line-height: 1.5;
	color: var(--cs-color-body);
}

.cs-card__speaker-title {
	font-size: 12px;
	font-weight: 400;
	line-height: 1.5;
	color: var(--cs-color-body);
}

/* -- Tags group -- */
.cs-card__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.cs-card__tag {
	display: inline-flex;
	align-items: center;
	padding: 4px 8px;
	border-radius: var(--cs-radius-tag);
	font-family: var(--cs-font);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.5;
	color: #fff;
	white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Aside column  (description + CTA)
   -------------------------------------------------------------------------- */
.cs-card__aside {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 16px;
	align-self: stretch;
}

.cs-card__description {
	font-family: var(--cs-font);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
	color: var(--cs-color-body);
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 6;
	-webkit-box-orient: vertical;
}

.cs-card__description p { margin: 0 0 .4em; }
.cs-card__description p:last-child { margin-bottom: 0; }

.cs-card__read-more {
	align-self: flex-end;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 16px;
	background: var(--cs-color-btn-bg);
	border: 1px solid var(--cs-color-btn-bg);
	border-radius: var(--cs-radius-btn);
	font-family: var(--cs-font);
	font-size: 14px;
	font-weight: 700;
	line-height: 24px;
	letter-spacing: .04em;
	color: var(--cs-color-title);
	text-decoration: none;
	white-space: nowrap;
	transition: background .2s, border-color .2s;
}

.cs-card__read-more:hover,
.cs-card__read-more:focus {
	background: #a89df5;
	border-color: #a89df5;
	color: var(--cs-color-title);
	text-decoration: none;
}

/* --------------------------------------------------------------------------
   Show more
   -------------------------------------------------------------------------- */
.cs-show-more-wrap {
	display: flex;
	justify-content: center;
	margin-top: 48px;
}

.cs-show-more {
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	font-family: var(--cs-font);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .04em;
	color: var(--cs-color-cerise);
	text-decoration: underline;
	transition: opacity .2s;
}

.cs-show-more:hover { opacity: .75; }

.cs-show-more.is-loading {
	opacity: .4;
	pointer-events: none;
}

/* --------------------------------------------------------------------------
   Responsive — tablet ≤ 900 px
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
	.cs-card {
		flex-wrap: wrap;
		gap: 16px;
	}

	.cs-card__date {
		width: 100%;
		flex-direction: row;
		align-items: center;
		justify-content: flex-start;
		gap: 12px;
		padding-right: 0;
		padding-bottom: 16px;
		border-right: none;
		border-bottom: 1px solid var(--cs-color-date-border);
		align-self: auto;
	}

	.cs-card__date-inner {
		flex-direction: row;
		align-items: baseline;
		gap: 6px;
	}

	.cs-card__day-num { font-size: 32px; }

	.cs-card__content { flex: 1 1 100%; }
	.cs-card__aside   { flex: 1 1 100%; }

	.cs-card__read-more { align-self: flex-start; }
}

/* --------------------------------------------------------------------------
   Responsive — mobile ≤ 600 px
   -------------------------------------------------------------------------- */
@media (max-width: 600px) {
	.cs-filters__row {
		flex-wrap: wrap;
		gap: 10px;
	}

	.cs-filters__dropdowns { gap: 14px; }

	.cs-filter-btn { font-size: 13px; }

	.cs-filter-dropdown__menu { min-width: 150px; }

	.cs-filters__reset { order: 10; }

	.cs-card { padding: 16px; }

	.cs-card__title { font-size: 16px; }

	.cs-card__day-num { font-size: 26px; }
}


/* =============================================================================
   Schedule View
   =============================================================================

   Utility
   -------------------------------------------------------------------------- */
.cs-hidden { display: none !important; }

/* --------------------------------------------------------------------------
   Outer wrapper
   -------------------------------------------------------------------------- */
.cs-schedule--schedule {
	display: flex;
	flex-direction: column;
	gap: 0;
}

/* ============================================================================
   TOP BAR — lavender (#bbb4fe) rounded box
   ============================================================================ */
.cs-schedule-topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	background: #bbb4fe;
	border-radius: 12px;
	padding: 16px 24px;
	margin-bottom: 16px;
}

/* --------------------------------------------------------------------------
   Day tabs (inside the lavender box)
   -------------------------------------------------------------------------- */
.cs-day-tabs {
	display: flex;
	align-items: stretch;
	gap: 12px;
	flex-wrap: wrap;
}

.cs-day-tab {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 8px 32px;
	border: none;
	border-radius: 12px;
	background: #fff;
	color: var(--cs-color-title, #1a1a2e);
	font-family: var(--cs-font-family, inherit);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 24px;
	cursor: pointer;
	transition: background 0.15s, color 0.15s, box-shadow 0.15s;
	white-space: nowrap;
}

.cs-day-tab--active,
.cs-day-tab--active:hover {
	background: #6837f0;
	color: #fff;
	box-shadow:
		0 1px 3px rgba(0,0,0,0.06),
		0 5px 5px rgba(0,0,0,0.05),
		0 11px 7px rgba(0,0,0,0.03),
		0 20px 8px rgba(0,0,0,0.01),
		0 31px 9px rgba(0,0,0,0);
}

.cs-day-tab:hover:not(.cs-day-tab--active) {
	background: rgba(255,255,255,0.8);
}

/* "All Days" has only one line — no date line */
.cs-day-tab__label {
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0.04em;
	line-height: 24px;
}

.cs-day-tab__date {
	font-weight: 500;
	font-size: 12px;
	line-height: 1.5;
	color: rgba(0,0,0,0.7);
}

.cs-day-tab--active .cs-day-tab__date {
	color: rgba(255,255,255,0.8);
}

/* --------------------------------------------------------------------------
   Timezone selector (right side of the lavender box)
   -------------------------------------------------------------------------- */
.cs-tz-selector {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	background: #fff;
	border-radius: 12px;
	padding: 8px 12px;
	flex-shrink: 0;
	align-self: stretch;
}

/* "Time zone ▾" text button */
.cs-tz-trigger {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	border: none;
	background: transparent;
	color: var(--cs-color-title, #1a1a2e);
	font-family: var(--cs-font-family, inherit);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 24px;
	cursor: pointer;
	padding: 0;
	white-space: nowrap;
}

.cs-tz-trigger svg { flex-shrink: 0; }

/* Separator line between "Time zone" text and CET pill */
.cs-tz-separator {
	width: 1px;
	height: 24px;
	background: rgba(104, 55, 240, 0.18);
	border-radius: 24px;
	flex-shrink: 0;
}

/* CET pill button */
.cs-tz-pill {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 4px 8px;
	border: none;
	border-radius: 80px;
	background: rgba(104, 55, 240, 0.18);
	color: #000;
	font-family: var(--cs-font-family, inherit);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.5;
	cursor: pointer;
	transition: background 0.15s, color 0.15s;
	white-space: nowrap;
}

.cs-tz-pill:hover { background: #bbb4fe; color: #6837f0; }

/* Floating panel */
.cs-tz-panel {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	z-index: 200;
	background: #fff;
	border: 1px solid #dcdcdc;
	border-radius: 12px;
	padding: 12px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	box-shadow:
		0 1px 3px rgba(0,0,0,0.06),
		0 5px 5px rgba(0,0,0,0.05),
		0 11px 7px rgba(0,0,0,0.03),
		0 20px 8px rgba(0,0,0,0.01),
		0 31px 9px rgba(0,0,0,0);
	min-width: 130px;
}

.cs-tz-panel[hidden] { display: none; }

.cs-tz-option {
	display: flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	outline: none;
}

.cs-tz-option__radio {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	border: 2px solid #bbb4fe;
	flex-shrink: 0;
	transition: background 0.15s, border-color 0.15s;
}

.cs-tz-option--active .cs-tz-option__radio {
	background: #6837f0;
	border-color: #6837f0;
}

.cs-tz-option__pill {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 4px 8px;
	border-radius: 80px;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.5;
	background: rgba(104, 55, 240, 0.18);
	color: #6837f0;
	transition: background 0.15s, color 0.15s;
	white-space: nowrap;
}

.cs-tz-option--active .cs-tz-option__pill {
	background: #6837f0;
	color: #fff;
}

.cs-tz-option:hover:not(.cs-tz-option--active) .cs-tz-option__pill {
	background: #bbb4fe;
	color: #6837f0;
}

/* ============================================================================
   FILTER ROW — same as talks/workshops, no extra wrapper needed
   ============================================================================ */

/* Event-type dropdown turns cerise when Workshop is selected */
.cs-filter-dropdown--event-type .cs-filter-btn.is-active {
	color: #e6177f;
}

/* ============================================================================
   SCHEDULE CONTENT
   ============================================================================ */
.cs-schedule-content {
	display: flex;
	flex-direction: column;
	gap: 0;
}

/* --------------------------------------------------------------------------
   Day sections
   -------------------------------------------------------------------------- */
.cs-schedule-day {
	display: flex;
	flex-direction: column;
	gap: 0;
	margin-top: 32px;
}

.cs-schedule-day:first-child { margin-top: 0; }

.cs-schedule-day__heading {
	font-size: 24px;
	font-weight: 700;
	color: var(--cs-color-title, #1a1a2e);
	line-height: 1.3;
	margin: 0 0 24px;
}

.cs-schedule-day__heading-date {
	font-weight: 400;
	font-size: 20px;
	color: var(--cs-color-text-muted, #888);
}

/* --------------------------------------------------------------------------
   Time slot group
   -------------------------------------------------------------------------- */
/* Slot = stripe + right-column (time heading + cards) in a flex row */
.cs-schedule-slot {
	display: flex;
	flex-direction: row;
	gap: 12px;
	margin-bottom: 48px;
}

/* 8px purple left stripe spanning full height of slot */
.cs-schedule-slot__stripe {
	width: 8px;
	flex-shrink: 0;
	align-self: stretch;
	background: #E6177F;
	border-radius: 4px;
}

/* Right column: time heading + cards */
.cs-schedule-slot__right {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

/* Time heading row */
.cs-schedule-slot__time-row {
	display: flex;
	align-items: center;
}

.cs-schedule-slot__time {
	font-size: 20px;
	font-weight: 700;
	color: #6e359f;
	line-height: 1.2;
}

.cs-schedule-slot__cards {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

/* Card wrapper — carries filter data attributes */
.cs-schedule-card-wrap {
	border-bottom: none;
}

/* ============================================================================
   SCHEDULE BLOCK (break, lunch, etc.) — time header above white card (Figma)
   ============================================================================ */

/* Wrapper: column layout, gap between time heading and card */
.cs-schedule-block {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0 0 48px;
	background: transparent;
	border: none;
	padding: 0;
}

/* White bordered card */
.cs-schedule-block__card {
	background: #fff;
	border: 1px solid #dcdcdc;
	border-radius: 12px;
	padding: 24px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	text-align: center;
	box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.08), 0 1px 3px 0 rgba(0, 0, 0, 0.06);
}

.cs-schedule-block__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	color: #6837f0;
}

.cs-schedule-block__icon svg {
	width: 32px;
	height: 32px;
	display: block;
}

/* H3 — 38px bold, deep navy */
.cs-schedule-block__title {
	margin: 0;
	font-size: 38px;
	font-weight: 700;
	color: #250f66;
	line-height: 1.1;
	letter-spacing: -0.04em;
}

/* Bold subtitle */
.cs-schedule-block__subtitle {
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	color: #292929;
}

/* Medium description */
.cs-schedule-block__desc {
	margin: 0;
	font-size: 14px;
	font-weight: 500;
	color: #292929;
}

/* ============================================================================
   Responsive — tablet ≤ 768 px
   ============================================================================ */
@media (max-width: 768px) {
	.cs-schedule-topbar { padding: 12px 16px; gap: 8px; }
	.cs-day-tab { padding: 6px 20px; font-size: 13px; }
	.cs-tz-selector { padding: 6px 10px; }
}

/* ============================================================================
   Responsive — mobile ≤ 600 px
   ============================================================================ */
@media (max-width: 600px) {
	.cs-schedule-topbar { flex-direction: column; align-items: stretch; }
	.cs-day-tabs { gap: 6px; }
	.cs-day-tab { padding: 6px 14px; }
	.cs-tz-selector { justify-content: space-between; }
	.cs-tz-panel { right: auto; left: 0; }
}

/* ============================================================================
   MEETUP CARDS  (type="meetup" shortcode)
   ============================================================================ */

/* List container */
.cs-meetup-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

/* Card shell */
.cs-meetup-card {
	background: #fff;
	border: 1px solid #dcdcdc;
	border-radius: 12px;
	padding: 24px;
	box-shadow:
		0 2px 5px rgba(0,0,0,0.08),
		0 9px 9px rgba(0,0,0,0.07),
		0 20px 12px rgba(0,0,0,0.04),
		0 35px 14px rgba(0,0,0,0.01),
		0 55px 15px rgba(0,0,0,0);
}

/* Two-column inner row */
.cs-meetup-card__inner {
	display: flex;
	gap: 24px;
	align-items: flex-start;
}

/* ── Left column ── */
.cs-meetup-card__left {
	flex: 1 0 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
	align-self: stretch;
}

/* Top area: thumbnail side by side with badges */
.cs-meetup-card__top {
	display: flex;
	gap: 12px;
	align-items: center;
}

/* Thumbnail */
.cs-meetup-card__thumb {
	width: 180px;
	height: 120px;
	flex-shrink: 0;
	border-radius: 4px;
	overflow: hidden;
	background: #5d5d5d;
}

.cs-meetup-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Meta column */
.cs-meetup-card__meta {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

/* Pill badges */
.cs-meetup-badge {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 2px 8px 2px 4px;
	background: rgba(104, 55, 240, 0.18);
	border-radius: 24px;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.5;
	color: var(--cs-color-title, #1a1a2e);
	white-space: nowrap;
	width: fit-content;
}

.cs-meetup-badge svg,
.cs-meetup-badge img {
	flex-shrink: 0;
}

/* Title */
.cs-meetup-card__title {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.5;
	color: var(--cs-color-title, #1a1a2e);
}

/* ── Right column ── */
.cs-meetup-card__right {
	flex: 1 0 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-self: stretch;
	gap: 16px;
}

/* Description */
.cs-meetup-card__desc {
	margin: 0;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.5;
	color: var(--cs-color-text, #444);
}

/* Link button — secondary style matching Figma (#bbb4fe bg) */
.cs-meetup-card__link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 8px 16px;
	background: #bbb4fe;
	border: 1px solid #bbb4fe;
	border-radius: 8px;
	color: #250F66;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 24px;
	text-decoration: none;
	white-space: nowrap;
	align-self: flex-start;
	transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.cs-meetup-card__link:hover,
.cs-meetup-card__link:focus {
	background: #6837f0;
	border-color: #6837f0;
	color: #fff;
}

/* ── Responsive ── */
@media (max-width: 600px) {
	.cs-meetup-card__inner {
		flex-direction: column;
	}

	.cs-meetup-card__top {
		flex-wrap: wrap;
	}

	.cs-meetup-card__thumb {
		width: 100%;
		height: 180px;
	}

	.cs-meetup-card__right {
		align-self: auto;
	}
}

/* ============================================================================
   Responsive — narrow mobile ≤ 424 px
   Day tabs switch to a 2-column grid
   ============================================================================ */
@media (max-width: 424px) {
	.cs-day-tabs {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 6px;
	}

	.cs-day-tab {
		width: 100%;
		padding: 8px 12px;
		white-space: normal;
		text-align: center;
	}
}

/* ==========================================================================
   Speaker session list  [compass_schedule type="speaker"]
   ========================================================================== */

.cs-schedule--speaker {
	display: flex;
	flex-direction: column;
	gap: 80px;
}

.cs-speaker-day {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.cs-speaker-day__heading {
	font-size: 38px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.04em;
	color: var(--cs-color-title, #250f66);
	margin: 0;
}

.cs-speaker-day__heading-date {
	font-weight: 400;
	font-size: 28px;
	color: var(--cs-color-title, #250f66);
	opacity: 0.6;
	margin-left: 8px;
}
