/* UCKG Weekly Meetings strip. Matches the homepage's News & stories section and event cards:
   JUST Sans, ink #0D1A2D, body #253142, navy #203760, eyebrow blue #1D77F1, accent red #F3141A,
   soft panel #F3F6FC, 20px cards with 4px inset and 16px image corners, 1200px content width. */
.uckg-wm {
	--wm-ink: #0D1A2D;
	--wm-body: #253142;
	--wm-muted: #5A6578;
	--wm-navy: #203760;
	--wm-blue: #1D77F1;
	--wm-accent: #F3141A;
	--wm-line: #D2D7DF;
	--wm-soft: #F3F6FC;
	--wm-soft-2: #E7EDF7;
	box-sizing: border-box;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	font-family: var(--uckg-font-family, "JUST Sans", Montserrat, Arial, Helvetica, sans-serif);
	color: var(--wm-body);
}
.uckg-wm *,
.uckg-wm *::before,
.uckg-wm *::after {
	box-sizing: border-box;
}

/* Header: same as News & stories (eyebrow, heading, red accent, outline button on the right) */
.uckg-wm__header {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px 24px;
	margin-bottom: 24px;
}
.uckg-wm__header-main {
	flex: 1 1 480px;
	min-width: 0;
}
.uckg-wm .uckg-wm__eyebrow {
	margin: 0 0 12px;
	color: var(--wm-blue);
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 20px;
	letter-spacing: 0;
	text-transform: uppercase;
}
.uckg-wm .uckg-wm__title {
	margin: 0 0 6px;
	color: var(--wm-ink);
	font-family: inherit;
	font-size: 32px;
	font-weight: 700;
	line-height: 44px;
	letter-spacing: 0;
	text-transform: none;
}
.uckg-wm__accent {
	display: block;
	width: 24px;
	height: 4px;
	border-radius: 30px;
	background: var(--wm-accent);
}
.uckg-wm .uckg-wm__intro {
	max-width: 560px;
	margin: 16px 0 0;
	color: var(--wm-body);
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
}
.uckg-wm__header-aside {
	flex: 0 0 auto;
}
.uckg-wm a.uckg-wm__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 12px 32px;
	border: 1px solid var(--wm-line);
	border-radius: 48px;
	background: #fff;
	color: var(--wm-navy);
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	line-height: 24px;
	text-decoration: none;
	text-transform: none;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.uckg-wm a.uckg-wm__link:hover,
.uckg-wm a.uckg-wm__link:focus-visible {
	border-color: var(--wm-navy);
	background: var(--wm-navy);
	color: #fff;
}
.uckg-wm__link-icon {
	display: inline-flex;
}

/* Day cards: same build as the event cards (soft card, 4px inset, rounded image) */
.uckg-wm__tabs {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 16px;
}
.uckg-wm .uckg-wm__tab {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	min-width: 0;
	margin: 0;
	padding: 4px;
	border: 0;
	border-radius: 20px;
	background: var(--wm-soft);
	color: var(--wm-ink);
	font-family: inherit;
	text-align: left;
	text-transform: none;
	letter-spacing: 0;
	cursor: pointer;
	box-shadow: none;
	transition: background-color 0.2s ease, transform 0.2s ease;
}
.uckg-wm .uckg-wm__tab:hover {
	background: var(--wm-soft-2);
	color: var(--wm-ink);
	transform: translateY(-2px);
}
.uckg-wm .uckg-wm__tab:focus-visible {
	outline: 2px solid var(--wm-blue);
	outline-offset: 2px;
}
.uckg-wm .uckg-wm__tab[aria-selected="true"] {
	background: var(--wm-navy);
	color: #fff;
	transform: none;
}
.uckg-wm__media {
	position: relative;
	display: block;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border-radius: 16px;
	background: var(--wm-soft-2);
}
.uckg-wm .uckg-wm__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	border-radius: 0;
	object-fit: cover;
	transition: transform 0.5s ease;
}
.uckg-wm .uckg-wm__tab:hover .uckg-wm__img {
	transform: scale(1.05);
}
.uckg-wm__text {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 12px 12px 14px;
}
.uckg-wm__day {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	color: var(--wm-blue);
	font-size: 12px;
	font-weight: 500;
	line-height: 18px;
	text-transform: uppercase;
}
.uckg-wm__tab[aria-selected="true"] .uckg-wm__day {
	color: rgba(255, 255, 255, 0.75);
}
.uckg-wm__name {
	display: -webkit-box;
	overflow: hidden;
	color: inherit;
	font-size: 16px;
	font-weight: 500;
	line-height: 22px;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}
.uckg-wm__today {
	display: none;
	padding: 2px 10px;
	border-radius: 30px;
	background: var(--wm-accent);
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	line-height: 18px;
	text-transform: none;
}
.uckg-wm__media .uckg-wm__today {
	position: absolute;
	top: 8px;
	left: 8px;
}
.uckg-wm__tab.is-today .uckg-wm__today {
	display: inline-block;
}
.uckg-wm__tab--no-image .uckg-wm__text {
	padding: 16px 14px;
}

/* Selected day's meetings and times */
.uckg-wm__body {
	margin-top: 16px;
	padding: 24px 28px;
	border-radius: 20px;
	background: var(--wm-soft);
}
.uckg-wm:not(.is-ready) .uckg-wm__panel ~ .uckg-wm__panel {
	display: none;
}
.uckg-wm__panel[hidden] {
	display: none;
}
.uckg-wm .uckg-wm__panel-day {
	margin: 0 0 8px;
	color: var(--wm-blue);
	font-size: 12px;
	font-weight: 500;
	line-height: 18px;
	text-transform: uppercase;
}
.uckg-wm .uckg-wm__sessions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 40px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.uckg-wm .uckg-wm__session {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 2px 12px;
	margin: 0;
	padding: 0;
}
.uckg-wm__session-title {
	color: var(--wm-ink);
	font-size: 18px;
	font-weight: 500;
	line-height: 28px;
}
.uckg-wm__session-times {
	color: var(--wm-body);
	font-size: 16px;
	line-height: 24px;
}
.uckg-wm .uckg-wm__note {
	margin: 12px 0 0;
	color: var(--wm-muted);
	font-size: 14px;
	line-height: 20px;
}

@media (max-width: 1024px) {
	.uckg-wm__tabs {
		display: flex;
		gap: 12px;
		overflow-x: auto;
		scroll-snap-type: x proximity;
		padding: 2px 0;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}
	.uckg-wm__tabs::-webkit-scrollbar {
		display: none;
	}
	.uckg-wm .uckg-wm__tab {
		flex: 0 0 156px;
		scroll-snap-align: start;
	}
}

@media (max-width: 767px) {
	.uckg-wm__header {
		margin-bottom: 22px;
	}
	.uckg-wm .uckg-wm__eyebrow {
		margin-bottom: 8px;
	}
	.uckg-wm .uckg-wm__title {
		font-size: 24px;
		line-height: 32px;
	}
	.uckg-wm__header-main {
		flex-basis: 100%;
	}
	.uckg-wm .uckg-wm__tab {
		flex-basis: 140px;
	}
	.uckg-wm__body {
		padding: 20px;
	}
	.uckg-wm .uckg-wm__sessions {
		flex-direction: column;
	}
	.uckg-wm__session-title {
		font-size: 16px;
		line-height: 24px;
	}
}

/* ==================================================================
   Option B: [uckg_weekly_meetings layout="feature"]
   Large navy card for the chosen day beside a list of the week, like the
   News & stories featured-left layout. Selectors carry .uckg-wm.uckg-wm--feature
   so they win over option A's rules, including A's media queries.
   ================================================================== */
.uckg-wm__sr {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}
.uckg-wm.uckg-wm--feature .uckg-wm__layout {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	gap: 24px;
	align-items: stretch;
}

/* Feature card */
.uckg-wm.uckg-wm--feature .uckg-wm__body {
	display: flex;
	margin: 0;
	padding: 0;
	border-radius: 0;
	background: none;
}
.uckg-wm.uckg-wm--feature .uckg-wm__panel {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	min-width: 0;
	padding: 4px;
	border-radius: 20px;
	background: var(--wm-navy);
	color: #fff;
}
.uckg-wm.uckg-wm--feature .uckg-wm__panel[hidden],
.uckg-wm.uckg-wm--feature:not(.is-ready) .uckg-wm__panel ~ .uckg-wm__panel {
	display: none;
}
.uckg-wm.uckg-wm--feature .uckg-wm__media {
	flex: 0 0 auto;
	aspect-ratio: 16 / 9;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.08);
}
.uckg-wm.uckg-wm--feature .uckg-wm__panel .uckg-wm__img {
	transform: none;
}
.uckg-wm__feature-body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	align-items: flex-start;
	padding: 24px 28px 28px;
}
.uckg-wm.uckg-wm--feature .uckg-wm__panel-day {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 8px;
	color: rgba(255, 255, 255, 0.75);
	font-size: 14px;
	font-weight: 600;
	line-height: 20px;
	text-transform: uppercase;
}
.uckg-wm.uckg-wm--feature .uckg-wm__panel.is-today .uckg-wm__today {
	display: inline-block;
}
.uckg-wm.uckg-wm--feature .uckg-wm__feature-title {
	margin: 0 0 16px;
	color: #fff;
	font-family: inherit;
	font-size: 28px;
	font-weight: 700;
	line-height: 36px;
	letter-spacing: 0;
	text-transform: none;
}
.uckg-wm.uckg-wm--feature .uckg-wm__feature-times {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0 0 28px;
	padding: 0;
	list-style: none;
}
.uckg-wm.uckg-wm--feature .uckg-wm__feature-row {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
	padding: 0;
	color: rgba(255, 255, 255, 0.9);
	font-size: 16px;
	line-height: 24px;
}
.uckg-wm__feature-row strong {
	color: #fff;
	font-weight: 600;
}
.uckg-wm__feature-icon {
	display: inline-flex;
	flex: 0 0 auto;
	padding-top: 2px;
	color: rgba(255, 255, 255, 0.6);
}
/* Solid blue pill, as the hero's "Find out more" button */
.uckg-wm a.uckg-wm__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	margin-top: auto;
	padding: 12px 32px;
	border: 1px solid var(--wm-blue);
	border-radius: 70px;
	background: var(--wm-blue);
	color: #fff;
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	line-height: 24px;
	text-decoration: none;
	text-transform: none;
	transition: background-color 0.2s ease, border-color 0.2s ease;
}
.uckg-wm a.uckg-wm__cta:hover,
.uckg-wm a.uckg-wm__cta:focus-visible {
	border-color: #fff;
	background: #fff;
	color: var(--wm-navy);
}

/* The week list */
.uckg-wm.uckg-wm--feature .uckg-wm__tabs {
	display: flex;
	flex-direction: column;
	gap: 8px;
	overflow: visible;
	padding: 0;
	scroll-snap-type: none;
}
.uckg-wm.uckg-wm--feature .uckg-wm__tab {
	display: flex;
	flex: 1 1 auto;
	flex-direction: row;
	align-items: center;
	gap: 16px;
	min-height: 72px;
	padding: 8px 16px 8px 8px;
	border-radius: 16px;
	background: var(--wm-soft);
	transform: none;
	scroll-snap-align: none;
}
.uckg-wm.uckg-wm--feature .uckg-wm__tab:hover {
	background: var(--wm-soft-2);
	transform: none;
}
.uckg-wm.uckg-wm--feature .uckg-wm__tab[aria-selected="true"] {
	background: var(--wm-navy);
	color: #fff;
}
.uckg-wm__abbr {
	display: flex;
	flex: 0 0 56px;
	align-items: center;
	justify-content: center;
	height: 56px;
	border-radius: 12px;
	background: #fff;
	color: var(--wm-navy);
	font-size: 14px;
	font-weight: 700;
	line-height: 20px;
	text-transform: uppercase;
}
.uckg-wm__tab[aria-selected="true"] .uckg-wm__abbr {
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
}
.uckg-wm.uckg-wm--feature .uckg-wm__text {
	flex: 1 1 auto;
	align-items: flex-start;
	gap: 2px;
	min-width: 0;
	padding: 0;
	text-align: left;
}
.uckg-wm__row-title {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
	max-width: 100%;
}
.uckg-wm__row-title .uckg-wm__today {
	flex: 0 0 auto;
}
.uckg-wm__row-name {
	overflow: hidden;
	color: inherit;
	font-size: 16px;
	font-weight: 500;
	line-height: 24px;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.uckg-wm__more {
	color: var(--wm-muted);
	font-size: 14px;
	line-height: 20px;
}
.uckg-wm__tab[aria-selected="true"] .uckg-wm__more {
	color: rgba(255, 255, 255, 0.7);
}
.uckg-wm__time {
	flex: 0 0 auto;
	color: var(--wm-navy);
	font-size: 14px;
	font-weight: 600;
	line-height: 20px;
	white-space: nowrap;
}
.uckg-wm__tab[aria-selected="true"] .uckg-wm__time {
	color: #fff;
}
.uckg-wm__chevron {
	display: inline-flex;
	flex: 0 0 auto;
	color: var(--wm-muted);
}
.uckg-wm__tab[aria-selected="true"] .uckg-wm__chevron {
	color: #fff;
}

@media (max-width: 1024px) {
	.uckg-wm.uckg-wm--feature .uckg-wm__layout {
		grid-template-columns: minmax(0, 1fr);
	}
	.uckg-wm.uckg-wm--feature .uckg-wm__media {
		aspect-ratio: 2 / 1;
	}
}

@media (max-width: 767px) {
	.uckg-wm.uckg-wm--feature .uckg-wm__layout {
		gap: 16px;
	}
	.uckg-wm.uckg-wm--feature .uckg-wm__media {
		aspect-ratio: 16 / 9;
	}
	.uckg-wm__feature-body {
		padding: 20px 16px;
	}
	.uckg-wm.uckg-wm--feature .uckg-wm__feature-title {
		font-size: 22px;
		line-height: 30px;
	}
	.uckg-wm a.uckg-wm__cta {
		width: 100%;
		padding: 12px 16px;
		white-space: nowrap;
	}
	.uckg-wm.uckg-wm--feature .uckg-wm__tab {
		gap: 12px;
		min-height: 64px;
		padding-right: 12px;
	}
	.uckg-wm__abbr {
		flex-basis: 48px;
		height: 48px;
	}
	.uckg-wm__chevron {
		display: none;
	}
}
