.cave-schedule {
	max-width: 1118px;
}

.cave-schedule .cave-floor-tabs {
	width: min(100%, 360px);
	margin: 0 auto 26px;
	padding: 0;
	gap: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.cave-schedule .cave-floor-tabs button {
	position: relative;
	min-height: 60px;
	border: 1px solid #d2d5d7;
	border-radius: 0;
	background: #f1f1f1;
	color: #969a9d;
	font-size: .95rem;
	font-weight: 700;
	letter-spacing: .1em;
	box-shadow: none;
	transition: background-color .2s ease, color .2s ease;
}

.cave-schedule .cave-floor-tabs button + button {
	border-left: 0;
}

.cave-schedule .cave-floor-tabs button:hover:not(.active) {
	background: #e7e8e9;
	color: #5f6468;
}

.cave-schedule .cave-floor-tabs button.active {
	background: #fff;
	color: #303437;
	box-shadow: none;
}

.cave-schedule .cave-floor-tabs button.active::after {
	position: absolute;
	right: 17%;
	bottom: 0;
	left: 17%;
	height: 4px;
	background: #17395f;
	content: "";
}

.cave-schedule .cave-floor-tabs button:focus-visible {
	outline: 2px solid #17395f;
	outline-offset: 2px;
}

.cave-times span {
	top: calc(var(--o) * var(--mh));
	transform: translateY(calc(-100% - 3px));
	font-size: .9rem;
	font-weight: 600;
	line-height: 1;
}

.cave-schedule .cave-times,
.cave-schedule .cave-lane {
	background-image:
		radial-gradient(circle at 3px 0, #b8bec1 0, #b8bec1 1px, transparent 1.2px),
		linear-gradient(to bottom, #969da1 0, #969da1 1px, transparent 1px, transparent 100%) !important;
	background-position: 0 0, 0 calc(30 * var(--mh)) !important;
	background-repeat: repeat, repeat !important;
	background-size: 6px calc(60 * var(--mh)), 100% calc(60 * var(--mh)) !important;
}

.cave-schedule .cave-times::before,
.cave-schedule .cave-lane::before {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	height: 2px;
	background: #fff;
	content: "";
	pointer-events: none;
}

.cave-schedule .cave-times::before {
	background: #f8f9f9;
}

.cave-schedule .cave-event {
	left: -1px;
	right: -1px;
	z-index: 1;
}

.cave-schedule .cave-downloads-lead {
	margin: 34px 0 14px;
	color: #4d5357;
	font-size: .92rem;
	line-height: 1.6;
	text-align: center;
}

.cave-schedule .cave-downloads {
	display: flex;
	justify-content: center;
	gap: 12px;
	margin: 0 auto;
}

.cave-schedule .cave-pdf-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 54px;
	min-width: 280px;
	padding: 9px 18px;
	border: 1px solid #17395f;
	background: #fff;
	color: #17395f;
	font-size: .9rem;
	font-weight: 700;
	line-height: 1.4;
	text-align: center;
	text-decoration: none;
	transition: background-color .2s ease, color .2s ease;
}

.cave-schedule .cave-pdf-button::before {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 28px;
	margin-right: 11px;
	background: #17395f;
	color: #fff;
	font-size: .68rem;
	font-weight: 800;
	letter-spacing: .06em;
	content: "PDF";
}

.cave-schedule .cave-pdf-button:hover {
	background: #17395f;
	color: #fff;
	text-decoration: none;
}

.cave-schedule .cave-pdf-button:hover::before {
	background: #fff;
	color: #17395f;
}

.cave-schedule .cave-pdf-button:focus-visible {
	outline: 2px solid #17395f;
	outline-offset: 3px;
}

@media (max-width: 650px) {
	.cave-schedule .cave-downloads {
		align-items: stretch;
		flex-direction: column;
	}

	.cave-schedule .cave-pdf-button {
		width: 100%;
		min-width: 0;
	}
}

@media (max-width: 767px) {
	.cave-schedule .cave-closed span,
	.cave-schedule .cave-notes,
	.cave-schedule .cave-notes p {
		font-size: .78rem !important;
	}

	.cave-schedule .cave-notes p {
		line-height: 1.7;
	}
}
