/**
 * Agenda session detail — modal body content (Figma modalSpeaker inner layout).
 *
 * Figma: node 6674:43036 (1024). Shell gradient omitted.
 */

.techbbq-agenda-modal {
	--techbbq-agenda-modal-accent: var(--techbbq-content-accent-2);
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	width: 100%;
	min-height: 0;
}

.techbbq-agenda-modal__header {
	display: flex;
	flex-shrink: 0;
	flex-direction: column;
	gap: var(--techbbq-space-1);
	margin-bottom: var(--techbbq-space-3);
	padding-right: var(--techbbq-space-2);
	background: var(--techbbq-bg-main);
}

.techbbq-agenda-modal__scroll {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: var(--techbbq-space-2);
	min-height: 0;
	padding-right: var(--techbbq-space-2);
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
	scrollbar-color: var(--techbbq-color-grey-alpha-50-15) transparent;
}

.techbbq-agenda-modal__scroll::-webkit-scrollbar {
	width: 6px;
}

.techbbq-agenda-modal__scroll::-webkit-scrollbar-track {
	background: transparent;
}

.techbbq-agenda-modal__scroll::-webkit-scrollbar-thumb {
	border-radius: var(--techbbq-radius-pill);
	background-color: var(--techbbq-color-grey-alpha-50-15);
}

.techbbq-agenda-modal__scroll::-webkit-scrollbar-thumb:hover {
	background-color: var(--techbbq-color-grey-alpha-50-30);
}

.techbbq-agenda-modal__track {
	display: flex;
	align-items: center;
	margin: 0;
	min-height: var(--techbbq-btn-height-large);
	color: var(--techbbq-agenda-modal-accent);
	font-family: var(--techbbq-font-family-body);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.techbbq-agenda-modal__info {
	display: flex;
	flex-direction: column;
	gap: var(--techbbq-space-1);
}

.techbbq-agenda-modal__meta {
	margin: 0;
	color: var(--techbbq-content-primary);
	font-family: var(--techbbq-font-family-body);
	font-size: var(--techbbq-text-paragraph-xs-size);
	font-weight: 400;
	line-height: var(--techbbq-text-paragraph-line-height);
	letter-spacing: var(--techbbq-text-paragraph-letter-spacing);
}

.techbbq-agenda-modal__title {
	margin: 0;
	color: var(--techbbq-content-primary);
}

.techbbq-agenda-modal__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.techbbq-agenda-modal__tag {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 4px 10px 4px 8px;
	border: 1px solid var(--techbbq-border-tertiary);
	border-radius: var(--techbbq-radius-md);
	background: var(--techbbq-tag-primary);
	color: var(--techbbq-content-primary);
	font-family: var(--techbbq-font-family-body);
	font-size: 10px;
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.techbbq-agenda-modal__description {
	margin: 0;
	color: var(--techbbq-content-primary);
	font-family: var(--techbbq-font-family-body);
	font-size: var(--techbbq-text-paragraph-s-size);
	font-weight: 400;
	line-height: var(--techbbq-text-paragraph-line-height);
	letter-spacing: var(--techbbq-text-paragraph-letter-spacing);
}

.techbbq-modal .techbbq-agenda-modal__description > p {
	margin-block-start: 0;
	margin-block-end: 12px;
}

.techbbq-modal .techbbq-agenda-modal__description > p:last-of-type {
	margin-block-end: 0;
}

.techbbq-agenda-modal__description strong {
	font-weight: 700;
}

.techbbq-agenda-modal__list {
	margin: 0 0 12px;
	padding-left: 1.25em;
}

.techbbq-agenda-modal__list:last-child {
	margin-bottom: 0;
}

.techbbq-agenda-modal__list li {
	margin: 0 0 8px;
}

.techbbq-agenda-modal__list li:last-child {
	margin-bottom: 0;
}

.techbbq-agenda-modal__speakers {
	display: flex;
	flex-direction: column;
	gap: var(--techbbq-space-1);
}

.techbbq-agenda-modal__speakers-heading {
	margin: 0;
	color: var(--techbbq-content-secondary);
	font-family: var(--techbbq-font-family-body);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.techbbq-agenda-modal__speaker-list {
	display: flex;
	flex-direction: column;
	gap: var(--techbbq-space-1);
}

.techbbq-agenda-modal__speaker-card {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 8px;
	border-radius: 12px;
	background: var(--techbbq-bg-surface);
}

.techbbq-agenda-modal__speaker-photo {
	position: relative;
	flex: 0 0 64px;
	width: 64px;
	height: 64px;
	overflow: hidden;
	border-radius: 4px;
}

.techbbq-agenda-modal__speaker-photo-initial {
	position: absolute;
	inset: 0;
	z-index: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	font-family: var(--techbbq-font-family-body);
	font-size: var(--techbbq-text-paragraph-s-size);
	font-weight: 500;
	line-height: 1;
	color: var(--techbbq-content-primary);
	background-color: var(--techbbq-bg-surface-alt);
	text-transform: uppercase;
}

.techbbq-agenda-modal__speaker-photo-image {
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.techbbq-agenda-modal__speaker-photo-image.is-hidden {
	display: none;
}

.techbbq-agenda-modal__speaker-body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	justify-content: space-between;
	align-self: stretch;
	min-width: 0;
}

.techbbq-agenda-modal__speaker-line {
	margin: 0;
	font-family: var(--techbbq-font-family-body);
	font-size: var(--techbbq-text-paragraph-xs-size);
	font-weight: 400;
	line-height: var(--techbbq-text-paragraph-line-height);
	letter-spacing: var(--techbbq-text-paragraph-letter-spacing);
}

.techbbq-agenda-modal__speaker-name {
	color: var(--techbbq-content-primary);
}

.techbbq-agenda-modal__speaker-role-line {
	color: var(--techbbq-content-secondary);
}

.techbbq-agenda-modal__speaker-role {
	margin: 0;
	color: var(--techbbq-content-secondary);
	font-family: var(--techbbq-font-family-body);
	font-size: 12px;
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.techbbq-agenda-modal__footer {
	flex-shrink: 0;
	margin-top: var(--techbbq-space-3);
	padding-right: var(--techbbq-space-2);
}

.techbbq-agenda-modal__register-btn {
	display: inline-flex;
	width: 100%;
	justify-content: center;
}

@media (min-width: 768px) {
	.techbbq-agenda-modal__scroll {
		gap: var(--techbbq-space-4);
	}
}
