:root {
	--agw-accent: #5b4fe9;
	--agw-moderator: #c0392b;
	--agw-text: #1a1a1a;
	--agw-muted: #6b7280;
	--agw-card-bg: #ffffff;
	--agw-border: #e5e7eb;
	--agw-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
	--agw-slider-bg: #16241a;
	--agw-slider-card-bg: #101a12;
	--agw-slider-name: #ffffff;
	--agw-slider-company: #4fd1c5;
}

.agw-agenda {
	font-family: var(--agw-font);
	color: var(--agw-text);
	max-width: 900px;
	margin: 0 auto;
}

.agw-date-heading {
	font-size: 1.15em;
	font-weight: 700;
	margin: 1.75em 0 0.75em;
	padding-bottom: 0.4em;
	border-bottom: 2px solid var(--agw-border);
	text-transform: capitalize;
}

.agw-date-heading:first-child {
	margin-top: 0;
}

.agw-section-heading {
	display: flex;
	align-items: center;
	gap: 0.5em;
	font-size: 1.3em;
	font-weight: 800;
	margin: 2em 0 0.9em;
}

.agw-section-heading:first-child {
	margin-top: 0;
}

.agw-section-dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	flex: 0 0 auto;
}

.agw-panel-card {
	display: flex;
	gap: 1.25em;
	background: var(--agw-card-bg);
	border: 1px solid var(--agw-border);
	border-radius: 10px;
	padding: 1.1em 1.3em;
	margin-bottom: 0.9em;
}

.agw-panel-time-col {
	flex: 0 0 auto;
	display: flex;
	align-items: flex-start;
	gap: 0.5em;
	padding-top: 0.15em;
}

.agw-time-dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--agw-accent);
	margin-top: 0.45em;
	flex: 0 0 auto;
}

.agw-time {
	font-weight: 700;
	font-size: 0.98em;
	color: var(--agw-text);
	line-height: 1.35;
	white-space: nowrap;
}

.agw-panel-body {
	flex: 1 1 auto;
	min-width: 0;
}

.agw-panel-title-row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.75em;
	margin: 0 0 0.85em;
}

.agw-panel-title {
	margin: 0;
	font-size: 1.08em;
	font-weight: 700;
	color: var(--agw-text);
	line-height: 1.4;
}

.agw-pdf-download {
	flex: 0 0 auto;
	display: inline-flex;
	line-height: 0;
	opacity: 0.9;
	transition: opacity 0.15s, transform 0.15s;
}

.agw-pdf-download:hover {
	opacity: 1;
	transform: translateY(-1px);
}

.agw-pdf-download svg {
	display: block;
	border-radius: 4px;
}

.agw-speakers-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.9em 1.5em;
}

@media (max-width: 640px) {
	.agw-speakers-grid {
		grid-template-columns: 1fr;
	}
	.agw-panel-card {
		flex-direction: column;
		gap: 0.5em;
	}
	.agw-panel-time-col {
		width: auto;
	}
}

.agw-speaker {
	display: flex;
	align-items: flex-start;
	gap: 0.7em;
	min-width: 0;
}

.agw-speaker-photo {
	flex: 0 0 auto;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	overflow: hidden;
	background: var(--agw-border);
	display: flex;
	align-items: center;
	justify-content: center;
}

.agw-speaker-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.agw-speaker-photo-fallback {
	font-weight: 700;
	font-size: 0.85em;
	color: var(--agw-muted);
}

.agw-speaker-info {
	min-width: 0;
}

.agw-speaker-name-row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.5em;
}

.agw-speaker-name {
	font-weight: 700;
	color: var(--agw-text);
}

.agw-linkedin-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	line-height: 0;
	opacity: 0.85;
	transition: opacity 0.15s, transform 0.15s;
}

.agw-linkedin-icon:hover {
	opacity: 1;
	transform: translateY(-1px);
}

.agw-linkedin-icon svg {
	display: block;
}

.agw-moderator-badge {
	display: inline-block;
	font-size: 0.72em;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: #fff;
	background: var(--agw-moderator);
	padding: 0.12em 0.55em;
	border-radius: 4px;
	line-height: 1.6;
}

.agw-speaker-role {
	font-size: 0.9em;
	color: var(--agw-muted);
	line-height: 1.35;
	margin-top: 0.1em;
}

.agw-empty {
	font-family: var(--agw-font);
	color: var(--agw-muted);
}

/* ------------------------------------------------------------------ */
/* Slajder prelegentów [agenda_prelegenci]                             */
/* ------------------------------------------------------------------ */

.agw-speakers-slider-wrap {
	--agw-slides-per-view: 4;
	position: relative;
	display: flex;
	align-items: center;
	gap: 0.75em;
	font-family: var(--agw-font);
	background: var(--agw-slider-bg);
	padding: 1.75em 1em;
	border-radius: 14px;
}

.agw-speakers-slider {
	display: flex;
	gap: 1.1em;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	padding: 0.25em;
	flex: 1 1 auto;
	scrollbar-width: none;
}

.agw-speakers-slider::-webkit-scrollbar {
	display: none;
}

.agw-speaker-slide {
	/* Dokładnie N kart mieści się w widocznym obszarze - żadna nie jest ucięta w połowie. */
	flex: 0 0 calc( ( 100% - ( var(--agw-slides-per-view) - 1 ) * 1.1em ) / var(--agw-slides-per-view) );
	width: auto;
	min-width: 0;
	scroll-snap-align: start;
	background: var(--agw-slider-card-bg);
	border-radius: 10px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.agw-slide-photo {
	width: 100%;
	aspect-ratio: 1 / 1;
	background: rgba(255, 255, 255, 0.08);
	display: flex;
	align-items: center;
	justify-content: center;
}

.agw-slide-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.agw-slide-photo-fallback {
	font-size: 2em;
	font-weight: 700;
	color: rgba(255, 255, 255, 0.5);
}

.agw-slide-text {
	padding: 0.85em 0.9em 1em;
}

.agw-slide-name-row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.5em;
}

.agw-slide-name {
	font-weight: 800;
	font-size: 0.92em;
	letter-spacing: 0.02em;
	color: var(--agw-slider-name);
	line-height: 1.3;
}

.agw-slide-name-row .agw-linkedin-icon {
	margin-top: 0.15em;
}

.agw-slide-company {
	margin-top: 0.3em;
	font-style: italic;
	font-size: 0.85em;
	color: var(--agw-slider-company);
}

.agw-slider-btn {
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: none;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	font-size: 1.4em;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

.agw-slider-btn:hover {
	background: rgba(255, 255, 255, 0.25);
}

@media (max-width: 900px) {
	.agw-speakers-slider-wrap {
		--agw-slides-per-view: 3;
	}
}

@media (max-width: 680px) {
	.agw-speakers-slider-wrap {
		--agw-slides-per-view: 2;
	}
}

@media (max-width: 420px) {
	.agw-speakers-slider-wrap {
		--agw-slides-per-view: 1;
	}
	.agw-slider-btn {
		width: 32px;
		height: 32px;
		font-size: 1.1em;
	}
}

/* ------------------------------------------------------------------ */
/* Siatka WSZYSTKICH prelegentów [agenda_prelegenci_wszyscy]           */
/* ------------------------------------------------------------------ */

.agw-directory-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.5em;
	font-family: var(--agw-font);
}

.agw-directory-card {
	background: var(--agw-card-bg);
	border: 1px solid var(--agw-border);
	border-radius: 10px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.agw-directory-photo {
	width: 100%;
	aspect-ratio: 1 / 1;
	background: var(--agw-border);
	display: flex;
	align-items: center;
	justify-content: center;
}

.agw-directory-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.agw-directory-photo-fallback {
	font-size: 2em;
	font-weight: 700;
	color: var(--agw-muted);
}

.agw-directory-text {
	padding: 0.85em 0.9em 1em;
}

.agw-directory-name-row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.5em;
}

.agw-directory-name {
	font-weight: 800;
	font-size: 0.95em;
	color: var(--agw-text);
	line-height: 1.3;
}

.agw-directory-name-row .agw-linkedin-icon {
	margin-top: 0.15em;
}

.agw-directory-role {
	margin-top: 0.3em;
	font-size: 0.85em;
	color: var(--agw-muted);
}

@media (max-width: 900px) {
	.agw-directory-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 680px) {
	.agw-directory-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 420px) {
	.agw-directory-grid {
		grid-template-columns: 1fr;
	}
}
