/**
 * Event sessions: archive filters (Phase 1) and the single session page
 * (Phase 2). Loaded after child-style on the archive and on single sessions.
 *
 * Colors: blue #2b59b3 (hover #1d3f82), orange #f7941e, text #24292f.
 */

/* ------------------------------------------------------------------
 * Archive (On-Demand Education): header, filter bar, result line,
 * card grid / list. Markup: Dac_ES_Archive::render_controls(),
 * render_result_line(), template-parts/content-event-session-card.php.
 * ------------------------------------------------------------------ */

.term-event-session {
	--es-blue: #2b59b3;
	--es-blue-dark: #1d3f82;
	--es-blue-tint: #eef3fc;
	--es-orange: #f7941e;
	--es-text: #1f2733;
	--es-muted: #4a5568;
	--es-border: #d8dee8;
	--es-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/* Header: title + search on one row. */
.dac-es-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
	margin-bottom: 16px;
}

.term-event-session .dac-es-head__title {
	margin: 0;
	font-size: 28px;
	line-height: 1.2;
	color: var(--es-text);
}

.dac-es-search {
	flex: 0 1 420px;
	display: flex;
	align-items: center;
	gap: 8px;
	height: 46px;
	padding: 0 5px 0 14px;
	box-sizing: border-box;
	background: #fff;
	border: 1px solid var(--es-border);
	border-radius: 10px;
	color: #5b6573;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.dac-es-search:focus-within {
	border-color: var(--es-blue);
	box-shadow: 0 0 0 3px rgba(43, 89, 179, 0.2);
}

.dac-es-search__icon {
	flex: 0 0 auto;
}

.term-event-session .dac-es-search input[type="search"] {
	flex: 1;
	min-width: 0;
	height: 40px;
	margin: 0;
	padding: 0;
	border: 0;
	outline: none;
	box-shadow: none;
	background: transparent;
	font-family: var(--es-font);
	font-size: 15px;
	color: var(--es-text);
}

.dac-es-search__submit {
	flex: 0 0 auto;
	height: 36px;
	padding: 0 14px;
	border: 0;
	border-radius: 7px;
	background: var(--es-blue);
	color: #fff;
	font-family: var(--es-font);
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}

.dac-es-search__submit:hover {
	background: var(--es-blue-dark);
}

/* Filter bar: dropdowns on the first row; toggles, sort and view on the second. */
.dac-es-filters {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 12px;
	padding: 10px 12px;
	background: #fff;
	border: 1px solid var(--es-border);
	border-radius: 12px;
	font-family: var(--es-font);
}

.dac-es-filters__group {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	min-width: 0;
}

.dac-es-filters__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.dac-es-filters__selects {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.dac-es-filters__selects .dac-es-select {
	width: 100%;
}

.dac-es-filters .dac-es-select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	height: 40px;
	max-width: 100%;
	margin: 0;
	padding: 0 34px 0 12px;
	font-family: var(--es-font);
	font-size: 14px;
	color: var(--es-text);
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%235b6573' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 12px center;
	border: 1px solid var(--es-border);
	border-radius: 8px;
	box-shadow: none;
	cursor: pointer;
	text-overflow: ellipsis;
}

.dac-es-filters .dac-es-select:hover {
	border-color: #aab4c3;
}

.dac-es-filters .dac-es-select:focus {
	outline: none;
	border-color: var(--es-blue);
	box-shadow: 0 0 0 3px rgba(43, 89, 179, 0.2);
}

.dac-es-filters .dac-es-select.is-active {
	border-color: var(--es-blue);
	background-color: var(--es-blue-tint);
	color: var(--es-blue-dark);
	font-weight: 600;
}

/* Video / Slides toggles: a checkbox styled as a pill. */
.dac-es-toggle {
	position: relative;
	display: inline-flex;
	margin: 0;
	cursor: pointer;
}

.dac-es-toggle input[type="checkbox"] {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
	margin: 0;
}

.dac-es-toggle__ui {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 40px;
	padding: 0 14px;
	box-sizing: border-box;
	border: 1px solid var(--es-border);
	border-radius: 999px;
	background: #fff;
	color: var(--es-text);
	font-size: 14px;
	font-weight: 600;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.dac-es-toggle:hover .dac-es-toggle__ui {
	border-color: #aab4c3;
}

.dac-es-toggle input:checked + .dac-es-toggle__ui {
	background: var(--es-blue);
	border-color: var(--es-blue);
	color: #fff;
}

.dac-es-toggle input:focus-visible + .dac-es-toggle__ui {
	outline: 2px solid var(--es-blue);
	outline-offset: 2px;
}

.dac-es-filter-submit {
	height: 40px;
	padding: 0 14px;
	border: 1px solid var(--es-blue);
	border-radius: 8px;
	background: #fff;
	color: var(--es-blue);
	font-family: var(--es-font);
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}

.dac-es-filter-submit {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.dac-es-filter-submit:hover {
	background: var(--es-blue-tint);
}

/* Loading: disabled Apply button with a spinner; results dimmed. */
.dac-es-spinner {
	display: none;
	width: 14px;
	height: 14px;
	box-sizing: border-box;
	border: 2px solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	animation: dac-es-spin 0.7s linear infinite;
}

.dac-es-filter-submit.is-loading,
.dac-es-filter-submit:disabled {
	background: var(--es-blue);
	border-color: var(--es-blue);
	color: #fff;
	cursor: progress;
	opacity: 0.9;
}

.dac-es-filter-submit.is-loading .dac-es-spinner {
	display: inline-block;
}

.dac-es-grid {
	transition: opacity 0.15s ease;
}

.dac-es-grid.is-loading {
	opacity: 0.45;
	pointer-events: none;
}

@keyframes dac-es-spin {
	to {
		transform: rotate(360deg);
	}
}

@media (prefers-reduced-motion: reduce) {
	.dac-es-spinner {
		animation-duration: 2s;
	}
}

.dac-es-view {
	display: inline-flex;
	border: 1px solid var(--es-border);
	border-radius: 8px;
	overflow: hidden;
}

.dac-es-view__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 38px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: #fff;
	color: var(--es-muted);
	cursor: pointer;
}

.dac-es-view__btn[aria-pressed="true"] {
	background: var(--es-blue);
	color: #fff;
}

.dac-es-view__btn:focus-visible,
.dac-es-search__submit:focus-visible,
.dac-es-filter-submit:focus-visible {
	outline: 2px solid var(--es-blue);
	outline-offset: 2px;
}

/* Result line. */
.dac-es-results-line {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 8px;
	margin-bottom: 16px;
	font-family: var(--es-font);
	font-size: 14px;
	color: var(--es-muted);
}

.dac-es-results-line strong {
	color: var(--es-text);
}

.dac-es-filter-clear {
	margin-left: 6px;
	font-weight: 600;
	color: var(--es-blue);
}

.dac-es-filter-clear:hover,
.dac-es-filter-clear:focus-visible {
	color: var(--es-blue-dark);
	text-decoration: underline;
}

/* Card grid. */
.dac-es-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 18px;
	margin-bottom: 28px;
}

.dac-es-item {
	display: flex;
	flex-direction: column;
	min-width: 0;
	margin: 0;
	background: #fff;
	border: 1px solid var(--es-border);
	border-radius: 12px;
	overflow: hidden;
	font-family: var(--es-font);
	transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.dac-es-item:hover {
	border-color: #aab4c3;
	box-shadow: 0 4px 14px rgba(16, 24, 40, 0.08);
}

.dac-es-item__thumb {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	background: var(--es-blue);
	overflow: hidden;
}

.dac-es-item__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.dac-es-item__placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: flex-end;
	padding: 12px;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.25;
}

.dac-es-item__badges {
	position: absolute;
	top: 10px;
	right: 10px;
	display: flex;
	gap: 6px;
}

.dac-es-badge {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 3px 8px;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.4;
}

.dac-es-badge--video {
	background: #fff;
	color: var(--es-blue-dark);
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.2);
}

.dac-es-badge--slides {
	background: var(--es-orange);
	color: var(--es-text);
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.2);
}

.dac-es-badge--video-soft {
	background: var(--es-blue-tint);
	color: var(--es-blue-dark);
}

.dac-es-badge--slides-soft {
	background: #fff1df;
	color: #7a3d00;
}

.dac-es-item__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1;
	padding: 14px 16px 16px;
	min-width: 0;
}

.term-event-session .dac-es-item__type {
	margin: 0;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--es-muted);
}

.term-event-session .dac-es-item__title {
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.35;
}

.term-event-session .dac-es-item__title a {
	color: var(--es-text);
	text-decoration: none;
}

.term-event-session .dac-es-item__title a:hover,
.term-event-session .dac-es-item__title a:focus-visible {
	color: var(--es-blue);
	text-decoration: underline;
}

.term-event-session .dac-es-item__meta {
	margin: auto 0 0;
	font-size: 13px;
	line-height: 1.4;
	color: #5b6573;
}

.dac-es-item__meta a {
	color: var(--es-blue);
	font-weight: 600;
	text-decoration: none;
}

.dac-es-item__meta a:hover {
	text-decoration: underline;
}

.dac-es-item__row-badges {
	display: none;
	gap: 6px;
}

/* Speaker headshots on a card. */
.dac-es-card-speakers {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.dac-es-card-speakers__faces {
	display: inline-flex;
	flex: 0 0 auto;
	padding-left: 8px;
}

.dac-es-card-speakers .dac-es-card-speakers__face {
	width: 32px;
	height: 32px;
	margin-left: -8px;
	border-radius: 50%;
	border: 2px solid #fff;
	object-fit: cover;
	background: var(--es-blue-tint);
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.12);
}

.dac-es-card-speakers__more {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: 700;
	color: var(--es-blue-dark);
}

.dac-es-card-speakers__names {
	font-size: 13px;
	line-height: 1.35;
	color: var(--es-muted);
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

/* List view: one row per session. */
.dac-es-grid.is-list {
	grid-template-columns: minmax(0, 1fr);
	gap: 0;
	background: #fff;
	border: 1px solid var(--es-border);
	border-radius: 12px;
	overflow: hidden;
}

.dac-es-grid.is-list .dac-es-item {
	flex-direction: row;
	align-items: center;
	gap: 16px;
	padding: 12px 16px;
	border: 0;
	border-bottom: 1px solid #edf0f5;
	border-radius: 0;
	box-shadow: none;
}

.dac-es-grid.is-list .dac-es-item:last-child {
	border-bottom: 0;
}

.dac-es-grid.is-list .dac-es-item__thumb {
	flex: 0 0 128px;
	border-radius: 8px;
}

.dac-es-grid.is-list .dac-es-item__badges,
.dac-es-grid.is-list .dac-es-card-speakers__faces {
	display: none;
}

.dac-es-grid.is-list .dac-es-item__body {
	padding: 0;
	gap: 4px;
}

.dac-es-grid.is-list .dac-es-item__meta {
	margin: 0;
}

.dac-es-grid.is-list .dac-es-item__row-badges {
	display: flex;
}

/* Pagination and empty state. */
.dac-es-pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
	margin-bottom: 32px;
	font-family: var(--es-font);
}

.dac-es-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	box-sizing: border-box;
	border: 1px solid var(--es-border);
	border-radius: 8px;
	background: #fff;
	color: var(--es-text);
	font-weight: 600;
	text-decoration: none;
}

.dac-es-pagination .page-numbers.current {
	background: var(--es-blue);
	border-color: var(--es-blue);
	color: #fff;
}

.dac-es-pagination a.page-numbers:hover {
	border-color: var(--es-blue);
	color: var(--es-blue);
}

.dac-es-pagination .page-numbers.dots {
	border: 0;
	background: transparent;
}

.dac-es-empty {
	padding: 32px;
	text-align: center;
	background: #fff;
	border: 1px solid var(--es-border);
	border-radius: 12px;
	color: var(--es-muted);
	font-family: var(--es-font);
}

@media (max-width: 768px) {
	.dac-es-search {
		flex: 1 1 100%;
	}

	.dac-es-filters .dac-es-select {
		max-width: none;
	}

	.dac-es-filters__group--end .dac-es-select {
		flex: 1 1 auto;
	}

	.dac-es-grid.is-list .dac-es-item__thumb {
		flex-basis: 96px;
	}
}

/* ------------------------------------------------------------------
 * Session page (template: ugen-gated/content-event-session.php)
 *
 * Markup contract:
 *   .dac-es-session                     page wrapper
 *     .dac-es-breadcrumb                nav; links + .dac-es-breadcrumb__sep + current
 *     .dac-es-session__header           h1.dac-es-session__title + .dac-es-session__meta > span
 *     .dac-es-session__layout           flex row
 *       .dac-es-session__main           left column
 *         .dac-es-video                 16:9 area; .dac-es-video__inner (centered overlay)
 *           .dac-es-video__lock         lock panel (.dac-es-video__lock-title, -text, -actions)
 *         .dac-es-card                  white card; h2.dac-es-card__title
 *           .dac-es-card__body          the_content()
 *       .dac-es-session__aside          right column
 *         .dac-es-card.dac-es-card--compact
 *           dl.dac-es-details           dt / dd pairs
 *           .dac-es-handouts            ul-like list; a.dac-es-handout (+ __icon, __text,
 *                                       __name, __size), .dac-es-handouts__locked
 *           .dac-es-speakers            .dac-es-speaker (+ __head, __avatar, __avatar--placeholder,
 *                                       __who, __name, __company, __bio, details > summary)
 *         a.dac-es-back                 "Back to sessions" button link
 *   Buttons: a.dac-es-btn (primary orange), a.dac-es-btn.dac-es-btn--ghost
 * ------------------------------------------------------------------ */

.dac-es-session {
	font-family: Montserrat, "Segoe UI", Arial, sans-serif;
	color: #24292f;
	box-sizing: border-box;
	max-width: 1200px;
	margin: 0 auto;
	padding: 24px 16px 64px;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.dac-es-session *,
.dac-es-session *::before,
.dac-es-session *::after {
	box-sizing: border-box;
}

.dac-es-session a {
	color: #2b59b3;
}

.dac-es-session a:hover {
	color: #1d3f82;
}

.dac-es-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: #5b6168;
}

.dac-es-breadcrumb a {
	text-decoration: none;
	font-weight: 600;
}

.dac-es-session__header {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.dac-es-session__title {
	margin: 0;
	max-width: 900px;
	font-size: 34px;
	line-height: 1.2;
	font-weight: 700;
	color: #1b1f24;
}

.dac-es-session__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	font-size: 14px;
	color: #5b6168;
}

.dac-es-session__meta > span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.dac-es-session__layout {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	align-items: flex-start;
}

.dac-es-session__main {
	flex: 999 1 620px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.dac-es-session__aside {
	flex: 1 1 340px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

/* Video area */
.dac-es-video {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	border-radius: 12px;
	overflow: hidden;
	background: #12171d;
}

.dac-es-video iframe,
.dac-es-video video,
.dac-es-video img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	object-fit: cover;
}

.dac-es-video__inner {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #1b2430, #0e1217);
}

/* Lock panel over a featured image: dim the image behind it. */
.dac-es-video__inner--image {
	background: rgba(14, 18, 23, 0.78);
}

.dac-es-video__lock {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	text-align: center;
	padding: 24px;
	max-width: 420px;
	color: #c9d1da;
}

.dac-es-video__lock-title {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	color: #fff;
}

.dac-es-video__lock-text {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	color: #c9d1da;
}

.dac-es-video__lock-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}

/* Prompt (broadcast date, registration, "View Now" form) under or beside the video. */
.dac-es-prompt {
	background: #fff;
	border-radius: 12px;
	padding: 20px 22px;
	font-size: 14px;
	line-height: 1.6;
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06);
}

.dac-es-btn,
.dac-es-session a.dac-es-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 20px;
	border: 0;
	border-radius: 8px;
	background: #f7941e;
	color: #1b1f24;
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
}

.dac-es-btn:hover,
.dac-es-session a.dac-es-btn:hover {
	background: #e58410;
	color: #1b1f24;
}

.dac-es-btn--ghost,
.dac-es-session a.dac-es-btn--ghost {
	background: transparent;
	border: 1px solid #c9d1da;
	color: #fff;
	font-weight: 600;
}

.dac-es-btn--ghost:hover,
.dac-es-session a.dac-es-btn--ghost:hover {
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
}

/* Cards */
.dac-es-card {
	background: #fff;
	border-radius: 12px;
	padding: 28px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06);
}

.dac-es-card--compact {
	padding: 22px;
}

.dac-es-card__title {
	margin: 0;
	font-size: 20px;
	font-weight: 700;
	color: #1b1f24;
}

.dac-es-card--compact .dac-es-card__title {
	font-size: 16px;
}

.dac-es-card__body {
	font-size: 15px;
	line-height: 1.7;
	color: #3a4048;
}

.dac-es-card__body > :first-child {
	margin-top: 0;
}

.dac-es-card__body > :last-child {
	margin-bottom: 0;
}

/* Details list */
.dac-es-details {
	margin: 0;
	display: grid;
	grid-template-columns: max-content 1fr;
	column-gap: 16px;
	row-gap: 10px;
	align-items: center;
	font-size: 14px;
}

.dac-es-details dt {
	margin: 0;
	font-weight: 400;
	color: #5b6168;
}

.dac-es-details dd {
	margin: 0;
	font-weight: 600;
}

.dac-es-details a {
	text-decoration: none;
}

/* Handouts */
.dac-es-handouts {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.dac-es-session a.dac-es-handout {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 56px;
	padding: 10px 12px;
	border: 1px solid #e3e6ea;
	border-radius: 8px;
	color: #24292f;
	text-decoration: none;
}

.dac-es-session a.dac-es-handout:hover {
	border-color: #2b59b3;
	color: #24292f;
}

.dac-es-handout__icon {
	flex: 0 0 36px;
	width: 36px;
	height: 36px;
	border-radius: 6px;
	background: #fde3c4;
	color: #8a4b00;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 10px;
	font-weight: 700;
}

.dac-es-handout__text {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.dac-es-handout__name {
	font-size: 14px;
	font-weight: 600;
}

.dac-es-handout__size {
	font-size: 12px;
	color: #5b6168;
}

.dac-es-handouts__locked {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px;
	border: 1px dashed #c9ced4;
	border-radius: 8px;
	font-size: 13px;
	color: #5b6168;
}

/* Speakers */
.dac-es-speakers {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.dac-es-speaker {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 14px 0;
	border-top: 1px solid #e3e6ea;
}

.dac-es-speaker__head {
	display: flex;
	align-items: center;
	gap: 12px;
}

.dac-es-speaker__avatar {
	flex: 0 0 52px;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	object-fit: cover;
}

.dac-es-speaker__avatar--placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #e3e9f6;
	color: #1d3f82;
	font-size: 15px;
	font-weight: 700;
}

.dac-es-speaker__who {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.dac-es-speaker__name {
	font-size: 15px;
	font-weight: 700;
	color: #1b1f24;
}

.dac-es-speaker__company {
	font-size: 13px;
	color: #5b6168;
}

.dac-es-speaker__bio {
	margin: 0;
	font-size: 13px;
	line-height: 1.6;
	color: #3a4048;
}

.dac-es-speaker details summary {
	display: flex;
	align-items: center;
	min-height: 44px;
	color: #2b59b3;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
}

.dac-es-speaker details[open] summary {
	min-height: 32px;
}

.dac-es-speaker details > :not(summary) {
	font-size: 13px;
	line-height: 1.6;
	color: #3a4048;
}

/* Back link */
.dac-es-session a.dac-es-back {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	border: 1px solid #2b59b3;
	border-radius: 8px;
	background: #fff;
	color: #2b59b3;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}

.dac-es-session a.dac-es-back:hover {
	background: #f1f5fc;
	color: #1d3f82;
}

/* Prompt contents */
.dac-es-prompt > p {
	margin: 0 0 10px;
}

.dac-es-prompt > p:last-child {
	margin-bottom: 0;
}

.dac-es-prompt__consent {
	margin-top: 10px;
	font-size: 12px;
}

/*
 * Single event-session pages only (body class from functions.php): the theme
 * caps #primary at 900px; these pages have no sidebar, so let the content area
 * use the container width and let .dac-es-session (max 1200px) set the width.
 */
body.dac-es-single #primary.content-area {
	max-width: none;
	width: 100%;
	flex: 1 1 100%;
}

/* #primary's own 10px padding is the side gutter at tablet/desktop widths, so
 * a 1024px viewport keeps the 984px the two columns need. */
@media (min-width: 768px) {
	body.dac-es-single .dac-es-session {
		padding-left: 0;
		padding-right: 0;
	}
}

/* Unauthorized message (Dac_Utilities markup): keep its button text readable. */
.dac-es-session .unauthMsg .wp-block-button__link,
.dac-es-session .unauthMsg .wp-block-button__link:hover {
	color: #fff;
}

/* Sponsors (Webinar::RenderSponsors markup) */
.dac-es-sponsors #vendor-info {
	padding-top: 0 !important;
}

/* Old speakers (Webinar::RenderSpeakers markup): the card has its own title. */
.dac-es-speakers-legacy #speaker-info .block-head {
	display: none;
}

.dac-es-comments-link {
	margin: 0;
	font-size: 14px;
}

@media (max-width: 767px) {
	.dac-es-session__layout {
		flex-direction: column;
		flex-wrap: nowrap;
		align-items: stretch;
	}

	.dac-es-session__main,
	.dac-es-session__aside {
		flex: 0 0 auto;
		width: 100%;
	}

	.dac-es-session__title {
		font-size: 26px;
	}

	.dac-es-card {
		padding: 20px;
	}
}
