/* Watts Timeline — Custom Design Overrides
   Isolates design changes from the base stylesheet.
   Comment out the enqueue in class-watts-timeline-enqueue.php to disable. */

/* ---------------------------------------------------------
   Layout: room for side arrows + less vertical fluff
   --------------------------------------------------------- */

@media only screen and (min-width: 1100px) {
	.cd-horizontal-timeline {
		margin: 0;
	}
}

.cd-horizontal-timeline .timeline {
	height: 120px;
	padding: 0 52px; /* space for nav arrows */
}

/* ---------------------------------------------------------
   Track: thicker, cleaner line
   --------------------------------------------------------- */

.cd-horizontal-timeline .events {
	top: 58px;
	height: 3px;
	background: #e6e6e6;
	border-radius: 2px;
}

.cd-horizontal-timeline .filling-line {
	background-color: #FF6D10;
	border-radius: 2px;
}

/* ---------------------------------------------------------
   Year labels + dots
   --------------------------------------------------------- */

.cd-horizontal-timeline .events a {
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 0.02em;
	color: #9a9a9a;
	padding-bottom: 18px;
	-webkit-transition: color 0.25s, font-weight 0.25s;
	transition: color 0.25s, font-weight 0.25s;
}

.cd-horizontal-timeline .events a::after {
	bottom: -6px;
	height: 14px;
	width: 14px;
	border-width: 2px;
	border-color: #d0d0d0;
	background-color: #fff;
	box-shadow: 0 0 0 3px #fff;
	-webkit-transition: background-color 0.25s, border-color 0.25s, transform 0.25s;
	transition: background-color 0.25s, border-color 0.25s, transform 0.25s;
}

.cd-horizontal-timeline .events a:hover {
	color: #333;
}

.cd-horizontal-timeline .events a:hover::after {
	background-color: #FF6D10;
	border-color: #FF6D10;
	-webkit-transform: translateX(-50%) scale(1.15);
	transform: translateX(-50%) scale(1.15);
}

/* Past events (already passed on the fill) */
.cd-horizontal-timeline .events a.older-event {
	color: #555;
}

.cd-horizontal-timeline .events a.older-event::after {
	border-color: #FF6D10;
	background-color: #fff;
}

/* Active / selected */
.cd-horizontal-timeline .events a.selected {
	color: #1a1a1a;
	font-weight: 700;
	font-size: 16px;
	pointer-events: none;
}

.cd-horizontal-timeline .events a.selected::after {
	background-color: #FF6D10;
	border-color: #FF6D10;
	-webkit-transform: translateX(-50%) scale(1.2);
	transform: translateX(-50%) scale(1.2);
}

/* ---------------------------------------------------------
   Prev / next arrows
   --------------------------------------------------------- */

.watts-timeline-nav {
	list-style: none;
	margin: 0;
	padding: 0;
}

.watts-timeline-nav a {
	position: absolute;
	top: 50%;
	z-index: 3;
	display: block;
	width: 40px;
	height: 40px;
	margin-top: -20px;
	border: 1.5px solid #d8d8d8;
	border-radius: 50%;
	background-color: #fff;
	text-indent: 100%;
	white-space: nowrap;
	overflow: hidden;
	cursor: pointer;
	-webkit-transition: border-color 0.2s, background-color 0.2s, opacity 0.2s;
	transition: border-color 0.2s, background-color 0.2s, opacity 0.2s;
}

.watts-timeline-nav a::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 8px;
	height: 8px;
	border-top: 2px solid #666;
	border-right: 2px solid #666;
	-webkit-transition: border-color 0.2s;
	transition: border-color 0.2s;
}

.watts-timeline-nav a.prev {
	left: 0;
}

.watts-timeline-nav a.prev::before {
	margin: -4px 0 0 -2px;
	-webkit-transform: rotate(-135deg);
	transform: rotate(-135deg);
}

.watts-timeline-nav a.next {
	right: 0;
}

.watts-timeline-nav a.next::before {
	margin: -4px 0 0 -6px;
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
}

.watts-timeline-nav a:hover {
	border-color: #FF6D10;
	background-color: #fff;
}

.watts-timeline-nav a:hover::before {
	border-color: #FF6D10;
}

.watts-timeline-nav a.inactive {
	opacity: 0.35;
	cursor: default;
	pointer-events: none;
}

.watts-timeline-nav a.inactive:hover {
	border-color: #d8d8d8;
}

.watts-timeline-nav a.inactive:hover::before {
	border-color: #666;
}

/* ---------------------------------------------------------
   Content: year eyebrow
   --------------------------------------------------------- */

.cd-horizontal-timeline .events-content .watts-event-year {
	display: block;
	margin: 0 0 10px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #FF6D10;
	line-height: 1;
}

.cd-horizontal-timeline .events-content {
	margin-top: 1.25em;
	margin-bottom: 0;
}
