/* CIOday Speakers Slider
 * Design tokens below map to the site's brand (Aeonik / MONTECH / #f74321).
 */
.cioday-speakers {
	--cds-gap: 24px;
	--cds-accent: #f74321;
	--cds-name-color: #1a1a1a;
	--cds-track: #d8d8d8;
	--cds-placeholder: #e5e7eb;

	position: relative;
	max-width: 100%;
}

.cioday-speakers__swiper {
	overflow: hidden;
}

.cioday-speaker {
	height: auto;
	display: flex;
	flex-direction: column;
}

/* Whole card is one link, but it should look like the card, not a link. */
.cioday-speaker__link {
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: inherit;
}

.cioday-speaker__link:hover,
.cioday-speaker__link:focus-visible {
	text-decoration: none;
	color: inherit;
}

.cioday-speaker__link:focus-visible {
	outline: 2px solid var(--cds-accent);
	outline-offset: 4px;
}

.cioday-speaker__media {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: var(--cds-placeholder);
}

/* Descendant selector (specificity 0,2,0) so it beats the theme/Breakdance
   global `.breakdance img { height: auto }` (0,1,1) that otherwise stops
   landscape images from filling the square. */
.cioday-speaker__media .cioday-speaker__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
	transition: transform 0.5s ease;
}

.cioday-speaker__image--placeholder {
	display: block;
	background: linear-gradient(135deg, #eef0f3 0%, #dfe3e8 100%);
}

.cioday-speaker:hover .cioday-speaker__image {
	transform: scale(1.04);
}

.cioday-speaker__body {
	padding: 18px 0 0;
}

.cioday-speaker__name {
	margin: 0 0 8px;
	font-family: 'Aeonik', sans-serif;
	font-size: 48px;
	line-height: 1.15;
	font-weight: 400;
	color: var(--cds-name-color);
}

.cioday-speaker__function {
	margin: 0;
	font-family: 'MONTECH', sans-serif;
	font-size: 18px;
	line-height: 1.35;
	font-weight: 400;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--cds-accent);
}

/* Footer: progress scrollbar + navigation buttons */
.cioday-speakers__footer {
	display: flex;
	align-items: center;
	gap: 48px;
	margin-top: 28px;
	/* Slider fills to the edge, but the controls stay inside the container. */
	padding-right: 5%;
}

.cioday-speakers__scrollbar.swiper-scrollbar {
	position: relative;
	flex: 1 1 auto;
	height: 2px;
	background: var(--cds-track);
	border-radius: 0;
}

.cioday-speakers__scrollbar .swiper-scrollbar-drag {
	height: 4px;
	top: -1px;
	background: var(--cds-accent);
	border-radius: 0;
	cursor: grab;
}

.cioday-speakers__nav {
	display: flex;
	gap: 6px;
	flex: 0 0 auto;
}

.cioday-speakers__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	padding: 0;
	border: none;
	border-radius: 2px;
	background: var(--cds-accent);
	color: #ffffff;
	cursor: pointer;
	transition: opacity 0.2s ease, filter 0.2s ease;
}

.cioday-speakers__button:hover {
	filter: brightness(0.92);
}

.cioday-speakers__button.swiper-button-disabled {
	opacity: 0.35;
	cursor: default;
}

.cioday-speakers__button.swiper-button-disabled:hover {
	filter: none;
}

@media (max-width: 600px) {
	.cioday-speaker__name { font-size: 1.35rem; }
	.cioday-speakers__footer { gap: 16px; }
}
