.goe-agenda {
	--goe-accent: #11856f;
	--goe-background: #f4f2ed;
	--goe-title: #1b1b1b;
	--goe-text: #68717e;
	--goe-divider: #cdcec9;
	--goe-green-bg: #dce9e1;
	--goe-green-text: #128166;
	--goe-amber-bg: #eee4d2;
	--goe-amber-text: #a85b00;
	--goe-neutral-bg: #e8e9e7;
	--goe-neutral-text: #525862;
	--goe-card: #ffffff;
	--goe-duration: 520ms;
	--goe-stagger: 85ms;
	--goe-item-gap: 16px;
	--goe-timeline-gap: 34px;
	width: 100%;
	box-sizing: border-box;
	background: var(--goe-background);
	color: var(--goe-title);
	font-family: inherit;
}

.goe-agenda *,
.goe-agenda *::before,
.goe-agenda *::after {
	box-sizing: border-box;
}

.goe-agenda--preset-toshiba {
	--goe-accent: #e60012;
	--goe-background: #f7f7f5;
}

.goe-agenda__title {
	margin: 0;
	color: var(--goe-title);
	font-size: clamp(1rem, 1.5vw, 1.08rem);
	font-weight: 700;
	line-height: 1.35;
}

.goe-agenda__subheading {
	margin: 0.45rem 0 0;
	color: var(--goe-text);
	font-size: 0.94rem;
	line-height: 1.55;
}

.goe-agenda__speaker {
	margin-top: 0.65rem;
	color: var(--goe-accent);
	font-size: 0.9rem;
	font-weight: 650;
}

.goe-agenda__speaker a {
	color: inherit;
	text-decoration: none;
	border-bottom: 1px solid currentColor;
}

.goe-agenda__speaker a:hover,
.goe-agenda__speaker a:focus-visible {
	border-bottom-width: 2px;
}

.goe-agenda__badge-wrap {
	display: flex;
	justify-content: flex-end;
	align-items: center;
}

.goe-agenda__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 30px;
	padding: 0.45rem 0.78rem;
	border-radius: 999px;
	font-size: 0.68rem;
	font-weight: 800;
	line-height: 1;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	white-space: nowrap;
}

.goe-agenda__badge--green {
	background: var(--goe-green-bg);
	color: var(--goe-green-text);
}

.goe-agenda__badge--amber {
	background: var(--goe-amber-bg);
	color: var(--goe-amber-text);
}

.goe-agenda__badge--neutral {
	background: var(--goe-neutral-bg);
	color: var(--goe-neutral-text);
}

/* Vertical row layout, matching the supplied agenda reference. */
.goe-agenda--vertical {
	padding: 0 1rem;
}

.goe-agenda--vertical .goe-agenda__item {
	display: grid;
	grid-template-columns: minmax(105px, 16%) minmax(0, 1fr) auto;
	grid-template-areas: "label content badge";
	column-gap: clamp(1.25rem, 4vw, 3.2rem);
	align-items: center;
	min-height: 104px;
	padding: 1.75rem 0;
	border-top: 1px solid var(--goe-divider);
	position: relative;
}

.goe-agenda--vertical .goe-agenda__item:last-child {
	border-bottom: 1px solid var(--goe-divider);
}

.goe-agenda--vertical .goe-agenda__label {
	grid-area: label;
	color: var(--goe-title);
	font-size: clamp(1rem, 1.5vw, 1.08rem);
	font-weight: 800;
	line-height: 1.2;
}

.goe-agenda--vertical .goe-agenda__content {
	grid-area: content;
	min-width: 0;
}

.goe-agenda--vertical .goe-agenda__badge-wrap {
	grid-area: badge;
}

/* Alternating timeline layout. */
.goe-agenda--alternating {
	position: relative;
	padding: 1rem 0;
	background: transparent;
}

.goe-agenda--alternating::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 2px;
	transform: translateX(-50%);
	background: color-mix(in srgb, var(--goe-accent) 50%, transparent);
}

.goe-agenda--alternating .goe-agenda__item {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) var(--goe-timeline-gap) minmax(0, 1fr);
	align-items: start;
	margin-bottom: var(--goe-item-gap);
}

.goe-agenda--alternating .goe-agenda__item:last-child {
	margin-bottom: 0;
}

.goe-agenda--alternating .goe-agenda__marker {
	position: relative;
	z-index: 2;
	grid-column: 2;
	grid-row: 1;
	align-self: start;
	justify-self: center;
	width: 16px;
	height: 16px;
	margin-top: 22px;
	border: 4px solid var(--goe-background);
	border-radius: 50%;
	background: var(--goe-accent);
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--goe-accent) 40%, transparent);
}

.goe-agenda--alternating .goe-agenda__card {
	position: relative;
	grid-column: 1;
	grid-row: 1;
	padding: 1.2rem 1.35rem;
	border: 1px solid var(--goe-divider);
	border-radius: 16px;
	background: var(--goe-background);
	transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.goe-agenda--alternating .goe-agenda__item:nth-child(even) .goe-agenda__card {
	grid-column: 3;
}


.goe-agenda--alternating .goe-agenda__card-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 0.7rem;
}

.goe-agenda--alternating .goe-agenda__label {
	color: var(--goe-accent);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* Entrance animations are handled with the Web Animations API.
 * Agenda items are never hidden by CSS, so delayed or blocked JavaScript cannot
 * leave the live page blank. */
.goe-agenda .goe-agenda__item {
	opacity: 1;
	visibility: visible;
}

/* Hover effects. */
.goe-agenda--hover-lift .goe-agenda__item,
.goe-agenda--hover-scale .goe-agenda__item {
	transition: transform 180ms ease, background-color 180ms ease;
}

.goe-agenda--vertical.goe-agenda--hover-lift .goe-agenda__item:hover {
	transform: translateY(-3px);
}

.goe-agenda--alternating.goe-agenda--hover-lift .goe-agenda__card:hover {
	transform: translateY(-5px);
	box-shadow: 0 12px 30px rgba(24, 28, 25, 0.08);
}

.goe-agenda--vertical.goe-agenda--hover-scale .goe-agenda__item:hover {
	transform: scale(1.008);
}

.goe-agenda--alternating.goe-agenda--hover-scale .goe-agenda__card:hover {
	transform: scale(1.018);
}

.goe-agenda--hover-accent .goe-agenda__item:hover {
	background: color-mix(in srgb, var(--goe-accent) 5%, transparent);
}

.goe-agenda--alternating.goe-agenda--hover-accent .goe-agenda__card:hover {
	border-color: var(--goe-accent);
}

.goe-agenda--hover-expand .goe-agenda__subheading {
	max-height: 1.55em;
	overflow: hidden;
	transition: max-height 240ms ease;
}

.goe-agenda--hover-expand .goe-agenda__item:hover .goe-agenda__subheading,
.goe-agenda--hover-expand .goe-agenda__item:focus-within .goe-agenda__subheading {
	max-height: 8em;
}

@media (max-width: 767px) {
	.goe-agenda--vertical {
		padding: 0 0.25rem;
	}

	.goe-agenda--vertical .goe-agenda__item {
		grid-template-columns: minmax(0, 1fr) auto;
		grid-template-areas:
			"label badge"
			"content content";
		row-gap: 0.85rem;
		column-gap: 0.8rem;
		padding: 1.4rem 0;
	}

	.goe-agenda--vertical .goe-agenda__badge-wrap {
		justify-content: flex-end;
	}

	.goe-agenda--alternating {
		padding-left: 32px;
	}

	.goe-agenda--alternating::before {
		left: 8px;
		transform: none;
	}

	.goe-agenda--alternating .goe-agenda__item {
		display: block;
		margin-bottom: 20px;
	}

	.goe-agenda--alternating .goe-agenda__marker {
		position: absolute;
		top: 19px;
		left: -32px;
		margin: 0;
	}

	.goe-agenda--alternating .goe-agenda__card,
	.goe-agenda--alternating .goe-agenda__item:nth-child(even) .goe-agenda__card {
		width: 100%;
	}

	.goe-agenda__badge {
		font-size: 0.62rem;
		letter-spacing: 0.08em;
	}
}

@media (prefers-reduced-motion: reduce) {
	.goe-agenda .goe-agenda__item,
	.goe-agenda .goe-agenda__card,
	.goe-agenda .goe-agenda__subheading {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}
}
