.ht-267-container {
	position: relative;
	width: 100%;
	padding: 20px 0;
	/* Hide scrollbar for a cleaner look but keep functionality */
	-ms-overflow-style: none;
	scrollbar-width: none;
}

.ht-267-container::-webkit-scrollbar {
	display: none;
}

/* Base Styles (Horizontal by default) */
.ht-267-line {
	position: absolute;
	background-color: #e0e0e0;
	z-index: 1;
}

.ht-267-wrapper {
	display: flex;
	gap: 30px;
	padding: 0 20px;
}

.ht-267-item {
	display: flex;
	position: relative;
	flex-shrink: 0;
}

.ht-267-marker-wrap {
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	z-index: 2;
}

.ht-267-marker {
	width: 50px;
	height: 50px;
	background-color: #ffffff;
	border: 3px solid #0073e6;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	box-shadow: 0 0 0 5px #ffffff; /* Give a little clearing around the marker over the line */
}

.ht-267-icon {
	display: flex;
	justify-content: center;
	align-items: center;
	color: #0073e6;
	font-size: 20px;
}

.ht-267-icon svg {
	width: 20px;
	height: 20px;
	fill: currentColor;
}

.ht-267-date {
	font-weight: 600;
	font-size: 14px;
	color: #666;
	margin-bottom: 5px;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.ht-267-title {
	margin: 0 0 10px 0;
	font-size: 18px;
	color: #333;
}

.ht-267-desc {
	font-size: 14px;
	color: #666;
	line-height: 1.5;
}

/* Horizontal Orientation Specifics */
.ht-267-orientation-horizontal .ht-267-container {
	overflow-x: auto;
}

.ht-267-orientation-horizontal .ht-267-line {
	top: 50px; /* Base top position, JS tries to align it */
	left: 0;
	right: 0;
	height: 4px;
}

.ht-267-orientation-horizontal .ht-267-wrapper {
	flex-direction: row;
	min-width: max-content; /* Allow container to grow if items overflow */
}

.ht-267-orientation-horizontal .ht-267-item {
	flex-direction: column;
	align-items: center;
	width: 250px; /* Fixed width per item */
}

.ht-267-orientation-horizontal .ht-267-marker-wrap {
	height: 100px; /* Space for the marker to sit on the line */
}

.ht-267-orientation-horizontal .ht-267-content {
	text-align: center;
	padding-top: 15px; /* Default spacing, can be overridden by control */
}

/* Vertical Orientation Specifics */
.ht-267-orientation-vertical .ht-267-container {
	overflow-x: visible;
}

.ht-267-orientation-vertical .ht-267-line {
	top: 0;
	bottom: 0;
	left: 45px; /* Position vertical line relative to markers */
	width: 4px;
	height: auto;
	right: auto;
	margin-top: 0 !important; /* Reset horizontal offset on mobile */
}

.ht-267-orientation-vertical .ht-267-wrapper {
	flex-direction: column;
	min-width: 100%;
}

.ht-267-orientation-vertical .ht-267-item {
	flex-direction: row;
	align-items: flex-start;
	width: 100%;
}

.ht-267-orientation-vertical .ht-267-marker-wrap {
	height: auto;
	width: 50px;
	margin-right: 20px; /* Default spacing, overridden by control */
}

.ht-267-orientation-vertical .ht-267-content {
	text-align: left;
	padding-bottom: 20px;
	flex-grow: 1;
}

/* Legacy Mobile Fallback (Stack vertically on smaller screens if no responsive control is set) */
@media (max-width: 767px) {
	.ht-267-orientation-horizontal .ht-267-container {
		padding: 0;
		overflow-x: visible;
	}
	
	.ht-267-orientation-horizontal .ht-267-wrapper {
		flex-direction: column;
		min-width: 100%;
		padding: 20px;
		gap: 30px;
	}
	
	.ht-267-orientation-horizontal .ht-267-line {
		top: 0;
		bottom: 0;
		left: 45px; /* Position vertical line relative to markers */
		width: 4px;
		height: auto;
		right: auto;
		margin-top: 0 !important; /* Reset horizontal offset on mobile */
	}
	
	.ht-267-orientation-horizontal .ht-267-item {
		width: 100%;
		flex-direction: row;
		align-items: flex-start;
	}
	
	.ht-267-orientation-horizontal .ht-267-marker-wrap {
		height: auto;
		width: 50px;
		margin-right: 20px;
		flex-shrink: 0;
	}
	
	.ht-267-orientation-horizontal .ht-267-content {
		text-align: left;
		padding-top: 0;
		padding-bottom: 20px;
		flex-grow: 1;
	}
}