/* ---------------------------------------------------------
   Schedule — additions for the ACF version
   Everything else (.sched, .sticky-date, .show-day, .highlight,
   .indent) stays as you have it.
   --------------------------------------------------------- */

/* Speaker and description are spans, so they need to be blocks
   to sit on their own lines. Putting them on the span rather than
   the <a> means they behave the same linked or unlinked. */
.sched .speaker,
.sched .descrip {
	display: block;
}

.sched .speaker {
	font-size: 0.875em;
	font-weight: 500;
	margin-top: 2px;
}

.sched .descrip {
	font-size: 0.875em;
	font-weight: 400;
	line-height: 1.4;
	margin-top: 4px;
	opacity: 0.85;
}

/* Inside a link, keep the sub-lines from inheriting link styling. */
.sched a .speaker,
.sched a .descrip {
	text-decoration: none;
}

/* Group heading row. Adjust or drop — this is only a starting point,
   since .highlight may already cover the look you want. */
.sched .group-title td {
	font-weight: 600;
}

/* Group children. This replaces your old .indent rule — move whatever
   padding value you were using there to here. */
.sched .group-event td:nth-child(2) {
	padding-left: 1.5em;
}

/* ---------------------------------------------------------
   Event groups
   Each group is its own <tbody class="group-schedule">, so it can
   be styled as a single unit. Background and border work on a
   tbody; border-radius and box-shadow do not render reliably
   across browsers, so avoid those here.
   --------------------------------------------------------- */

.sched tbody.group-schedule {
	background-color: rgba(0, 0, 0, 0.03);
}

/* Left accent bar down the whole group. Applied per-row because a
   border on the tbody itself only draws around the outer edge. */
.sched tbody.group-schedule td:first-child {
	box-shadow: inset 3px 0 0 currentColor;
}

/* Top and bottom edges of the group. */
.sched tbody.group-schedule tr:first-child td {
	border-top: 1px solid rgba(0, 0, 0, 0.12);
	padding-top: 12px;
}

.sched tbody.group-schedule tr:last-child td {
	border-bottom: 1px solid rgba(0, 0, 0, 0.12);
	padding-bottom: 12px;
}

/* Gap between a group and whatever follows it. Margins don't apply
   to table sections, so use padding on the adjacent rows instead. */
.sched tbody.group-schedule + tbody tr:first-child td {
	padding-top: 18px;
}

/* ---------------------------------------------------------
   Collapsible days
   The h3 text is now inside a <button>, so it needs resetting
   back to inheriting your heading styles.
   --------------------------------------------------------- */

.sticky-date h3 .day-toggle {
	display: flex;
	align-items: center;
	gap: 0.5em;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	letter-spacing: inherit;
	text-align: left;
	text-transform: inherit;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

/* Keyboard focus ring — don't remove this without replacing it. */
.sticky-date h3 .day-toggle:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

/* Chevron, pushed to the far right. Rotates when the day is open. */
.sticky-date h3 .day-toggle::after {
	content: "";
	flex: 0 0 auto;
	width: 0.5em;
	height: 0.5em;
	margin-left: auto;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(-45deg);
	transform-origin: center;
	transition: transform 0.2s ease;
}

.sticky-date h3 .day-toggle[aria-expanded="true"]::after {
	transform: rotate(45deg);
}
