
:root {
	--timeline-grid-width: 48px;
}

.timetable__nav {
	display: flex;
	flex-direction: column;
	gap: 16px;

	padding-left: 52px;

	position: sticky;
		top: 88px;

	background: transparent;
	z-index: 200;
}

.timetable__nav.pinned {

	background: #131111;
	padding-bottom: 8px;
}

.sticky__helper {
	width: 100%;
	height: 1px;
}

.nav__type--days {
	display: flex;
	gap: 0;
}

.timetable__nav--currentday {
	padding-top: 0px;
	padding-left: 24px;
	padding-bottom: 16px;

	color: var(--white);
	font-size: 32px;
	font-family: 'area-extended-light';
	line-height: 34px;
	text-transform: none;
}

.timetable__nav--pdf-download {
	padding-top: 12px;
	padding-left: 24px;
}

.timetable__pdf-download {
	padding: 24px;
	text-align: center;
	background: #1f1e1e;
	border: 1px solid #363535;
	margin: 32px 72px;
	filter: drop-shadow(0px 4px 0px #363535);
	border-radius: 8px;

	margin-bottom: 72px;
}

.btn__pdf-download {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 3px 0px;
	/* background: rgba(255, 255, 255, 0.1); */
	color: white;
	text-decoration: none;
	border-radius: 0;
	font-size: 12px;
	font-weight: 500;
	transition: all 0.2s ease;
	border: none;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	/* border-bottom: 1px solid currentColor; */
}

.btn__pdf-download i {
	font-size: 14px;
}

/*.timetable__timeline {
	position: relative;
	width: 100%;
	padding-left: 52px;
}*/

.timetable__nav--head {
	display: flex;
	align-content: center;
	align-items: center;
	justify-content: space-between;
	padding-right: 56px;
}

.nav__type--header--mobile {
	display: none;
}

/* Show desktop button on desktop, hide mobile button on desktop */
.btn__second--desktop {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	position: relative !important;
	left: auto !important;
	width: auto !important;
	height: auto !important;
	overflow: visible !important;
	
}



.timetable__main {
	height: 100%;
	padding-bottom: 0;
	padding-top: 0;
}

.timetable__main .section__margin {
	padding-top: calc(128px - 24px);
	padding-bottom: 0px;
	padding-left: 0px;
	padding-right: 0;
	min-height: calc(100% - 128px);
	width: calc(100% - 0px - 0px);
}

.timetable__timeline {
	position: relative;
	width: calc(100% - 77px);
	padding-left: 77px;
	padding-top: 8px;
	/*padding-right: 128px;*/

	height: 100%;

	overflow-x: scroll;
	scrollbar-width: none;        /* Firefox */
	-ms-overflow-style: none; 

	scroll-behavior: smooth;
}

.timetable__timeline::-webkit-scrollbar {
  display: none;                /* Safari & Chrome */
}

.timetable__grid {
	display: grid;
	gap: 8px 0px;
	position: relative;
	width: max-content;
	padding-right: 128px;
	padding-bottom: 96px;
}

.time-marker-row {
	display: contents;
}

.time-marker {
	position: relative;
	text-align: center;
	font-size: 8px;
	padding: 0px 0;
	height: 20px;
}

.time-marker span {
	display: block;
	width: 100%;
	height: 100%;

	font-family: "auger-mono", monospace;
font-weight: 400;
font-style: normal;

	margin-left: -50%;
	color: rgba(255, 255, 255, 0.6);
}

.time-marker:after {
	content: "";
	position: absolute;
	left: 0;
	top:16px;

	width: 1px;
	height: var(--marker-line-height);
	background: white;
	opacity: 0.2;
	z-index: -1;
}

.time-marker.hour:after {
	opacity: 0.4;
}

.time-marker.quarter {
	opacity: 0;
}

.time-marker.quarter:after {
	opacity: 0;
}

.time-marker.quarter {
	opacity: 0;
}

.time-marker.quarter:after {
	opacity: 0;
}

.stage-name {
	background: black;
	color: white;
	padding: 6px 12px;
	font-weight: bold;
	white-space: nowrap;
	position: sticky;
	left: 0;
	z-index: 5;
	display: flex;
	align-items: center;
	opacity: 0;
	transform: translateX(-20px);
	animation: slideInLeft 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
	border: 1px solid black;
}

@keyframes slideInLeft {
	from {
		opacity: 0;
		transform: translateX(-20px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

.stage-name span {
  display: inline-block;
}

.event-card {
	overflow: hidden;
	filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.1));
	width: 100%;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	cursor: pointer;
	opacity: 0;
	transform: translateY(20px);
	animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.event-card:hover {
  overflow: visible;
  z-index: 10; /* ensure it's above others */
  filter: drop-shadow(0px 4px 8px rgba(0, 0, 0, 0.4));
  transform: scale(1.02);
}

.act__wrapper {
	width: calc(100% - 2px);
	color: white;
	margin: 2px 1px 2px 2px;
}

.act__info {
	background-color: whitesmoke;
	color: #131111;

	padding: 16px;
	white-space: normal;

	display: flex;
	flex-direction: column;
	gap: 5px;

	width: max-content;
	min-width: calc(100% - 32px);
	border: 1px solid white;

	border-radius: 2px;
}

.act__name {
	font-size: 16px;
	letter-spacing: -0.01em;
	width: max-content;
	line-height: 1;
}

.act__time {
	font-size: 10px;
	font-weight: bold;
	opacity: 1;
	color:#4E3BFF;
}

/* View Toggle - now handled by timetableToggle configuration in main.css */

/* List View */
.timetable__timelist {
	display: none;
	width: 100%;
	padding-bottom: 80px;
	padding-top: 8px;
}

.timetable__timelist.active {
	display: block;
}

.timetable__timeline.hidden {
	display: none;
}

.timetable__list {
	display: flex;
	flex-direction: column;
	gap: 24px;

	width: calc(100% - 180px - 72px);
	margin: 0 auto;
}

.list__stage {
	padding: 0px;
}

.list__stage-name {
	
	color: white;
	margin-bottom: 12px;
	
	font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;

	padding: 6px 12px;

	background: #222;

	position: sticky;
		top:200px;

	z-index: 200;
}

.list__stage-description {
	display: block;
	font-weight: normal;
	font-size: 0.85em;
	text-transform: none;
	letter-spacing: normal;
	margin-top: 4px;
	opacity: 0.8;
}

.list__acts {
	display: flex;
	flex-direction: column;
	gap: 8px;
	border-radius: 2px;
}

.list__act {
	background: whitesmoke;
	padding: 12px 16px;
	color: #131111;
	display: flex;
    justify-content: space-between;
    align-items: flex-start;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    flex-direction: column;
}

.list__act:hover {
	background: var(--white);
	transform: translateY(0px) scale(1.005);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.list__act-name {
	
	font-size: 14px;
	
	
}

.list__act-time {
	font-size: 10px;
    font-weight: bold;
    opacity: 1;
    color: #4E3BFF;
}

.list__act--recommended {
	position: relative;
	transition: all 0.3s ease;
}

.list__act--recommended:hover {
	transform: translateX(4px);
	box-shadow: 0 4px 12px rgba(29, 185, 84, 0.2);
}

.stage-name__text {
	font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media screen and (max-width: 768px){

	.section__margin {
		flex-direction: row;
		padding:16px;
		gap: 16px;
		flex-wrap: wrap;
		width: calc(100% - 32px);
	}

	.stage-name {
		padding: 3px 8px;
	}

	.btn__day {
		font-size: 20px;
	}

	.timetable__main .section__margin {
		padding-top: 96px;
	}

	.timetable__timeline {
		padding-left: 16px;
		width: calc(100% - 16px);
	}

	.timetable__nav {
		padding-left: 16px;
		padding-right: 16px;
		width: calc(100% - 32px);

		top: 88px;
        padding-top: 4px;
	}

	.timetable__nav--head {
		padding-right: 0;
		flex-direction: row;
		gap: 4px;
	}

	.nav__type--days {
		display: flex;
		gap: 0px;
		width: 100%;
		
	}

	.timetable__nav--currentday {
		padding-top: 0px;
		padding-left: 0px;
		padding-bottom: 0px;
	}

	

	.timetable__list {
		width: calc(100% - 16px - 16px);
		padding-left: 16px;
		padding-right: 16px;
	}

	.list__stage-name {
		top: 204px;
		font-size: 13px;
		margin-bottom: 2px;
	}

	.stage-name span {
		font-size: 12px;
	}

	.timetable__grid {
	    gap: 4px 0px;
	}

	.stage-name__text {
		font-size: 12px;
	}

	.timetable__grid {
	    gap: 4px 0px;
	}

	.timeline__stage-description {
		top: 0;
		right: 0;
	}

	.list__act {
		gap: 2px;
		padding: 10px 12px
	}

	.act__name,
	.list__act-name {
		font-size: 14px;
	}

	.act__time,
	.list__act-time {
		font-size: 10px;
		opacity: 0.8;
	}

	.act__info {
		padding: 12px;
	}

	.timetable__content {
		position: relative;
		width: 100%;
	}

	/* Hide desktop button on mobile */
	.btn__second--desktop {
		display: none !important;
		visibility: hidden !important;
		opacity: 0 !important;
		position: absolute !important;
		left: -9999px !important;
		width: 0 !important;
		height: 0 !important;
		overflow: hidden !important;
		
	}

	/* Show mobile button on mobile */
	.btn__second--mobile {
		display: block !important;
		visibility: visible !important;
		opacity: 1 !important;
		position: relative !important;
		left: auto !important;
		width: max-content !important;
		height: auto !important;
		overflow: visible !important;
	}

	.timetable__nav--currentday-text {
		width: 40%;
		line-height: 0.8;
		font-size: 32px;
	}

	.timetable__nav--currentday-content {
		display: flex;
			flex-direction: row;
			align-content: center;
			align-items: flex-start;
			justify-content: space-between;
	}

}

