/* Xolid Solutions Showcase - frontend styles */

.xss-wrapper {
	--xss-duration: 5000ms;
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 60px;
	align-items: start;
	padding: 60px 40px;
	background-color: transparent;
	box-sizing: border-box;
}

.xss-wrapper * {
	box-sizing: border-box;
}

.xss-left {
	min-width: 0;
}

.xss-eyebrow {
	display: block;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #E3A317;
	margin: 0 0 12px;
}

.xss-heading {
	font-size: 64px;
	line-height: 1;
	font-weight: 800;
	letter-spacing: 0.01em;
	margin: 0 0 20px;
	color: #FFFFFF;
}

.xss-heading--outline {
	color: transparent;
	-webkit-text-stroke: 1.5px #FFFFFF;
}

.xss-description {
	font-size: 16px;
	line-height: 1.6;
	color: #B3B3B3;
	margin: 0 0 32px;
}

.xss-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.xss-list__item {
	position: relative;
	display: flex;
	align-items: center;
	padding: 20px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

.xss-list__label {
	font-size: 24px;
	font-weight: 600;
	color: #8C8C8C;
	transition: color 0.3s ease;
}

.xss-list__item.is-active .xss-list__label {
	color: #FFFFFF;
}

.xss-list__item:hover .xss-list__label {
	color: #FFFFFF;
}

.xss-list__progress {
	position: absolute;
	left: 0;
	bottom: -1px;
	width: 100%;
	height: 2px;
	overflow: hidden;
	background: transparent;
}

.xss-list__progress-bar {
	display: block;
	width: 0%;
	height: 100%;
	background-color: #E3A317;
	transform-origin: left;
}

.xss-list__item.is-playing .xss-list__progress-bar {
	width: 100%;
	transition: width var(--xss-duration) linear;
}

/* Right side: image + text */

.xss-right {
	min-width: 0;
}

.xss-panel-viewport {
	position: relative;
	width: 100%;
	aspect-ratio: 16/9;
	border-radius: 12px;
	overflow: hidden;
	background: #111;
}

.xss-panel-media {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.5s ease, visibility 0s linear 0.5s;
}

.xss-panel-media.is-active {
	opacity: 1;
	visibility: visible;
	transition: opacity 0.5s ease, visibility 0s linear 0s;
}

.xss-panel__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.xss-panel-text-viewport {
	position: relative;
	margin-top: 24px;
}

.xss-panel-text {
	display: none;
	opacity: 0;
	animation: xss-fade-in 0.4s ease forwards;
}

.xss-panel-text.is-active {
	display: block;
}

@keyframes xss-fade-in {
	from { opacity: 0; transform: translateY(6px); }
	to { opacity: 1; transform: translateY(0); }
}

.xss-panel__heading {
	font-size: 20px;
	font-weight: 700;
	color: #FFFFFF;
	margin: 0 0 10px;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.xss-panel__description {
	font-size: 15px;
	line-height: 1.6;
	color: #B3B3B3;
	margin: 0;
	max-width: 60ch;
}

/* Reduced motion: respect user preference */
@media (prefers-reduced-motion: reduce) {
	.xss-panel-media,
	.xss-list__label,
	.xss-panel-text {
		transition: none !important;
		animation: none !important;
	}
}

/* Responsive: stack to a single column */
@media (max-width: 900px) {
	.xss-wrapper {
		/* !important guards the stacked layout against the Elementor-generated
		   desktop column-width rule, which has higher specificity. */
		grid-template-columns: 1fr !important;
		row-gap: 32px;
		padding: 40px 20px;
	}

	.xss-heading {
		font-size: 42px;
	}

	.xss-list__label {
		font-size: 19px;
	}

	.xss-panel-viewport {
		aspect-ratio: 4/3;
	}
}

@media (max-width: 480px) {
	.xss-heading {
		font-size: 32px;
	}

	.xss-list__item {
		padding: 14px 0;
	}
}
