/* ==========================================================================
   Day Timeline – Frontend Styles
   Inspired by the screenshot design (warm off-white, orange accents, serif titles)
   ========================================================================== */

/* ---------- Reset / base ---------- */
.dt-timeline-wrapper *,
.dt-timeline-wrapper *::before,
.dt-timeline-wrapper *::after {
	box-sizing: border-box;
}

/* ---------- Layout ---------- */
.dt-timeline-wrapper {
	display: flex;
	align-items: flex-start;
	gap: 40px;
	max-width: 1100px;
	margin: 0 auto;
	padding: 32px 20px;
	font-family: 'Noto Serif', Georgia, serif;
	color: #2c2c2c;
}

/* ---------- Sticky navigation ---------- */
.dt-sticky-nav {
	flex: 0 0 160px;
	position: sticky;
	top: 80px;
	padding-top: 4px;
}

.dt-nav-title {
	font-family: 'Inter', Arial, sans-serif;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #888;
	margin: 0 0 12px 0;
}

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

.dt-nav-item {
	margin: 0 0 6px 0;
}

.dt-nav-link {
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: 'Inter', Arial, sans-serif;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #aaa;
	text-decoration: none;
	padding: 4px 0;
	transition: color 0.2s ease;
	position: relative;
}

.dt-nav-link:hover {
	color: #e8672a;
}

.dt-nav-link--active {
	color: #2c2c2c;
	font-weight: 700;
}

.dt-nav-indicator {
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #e8672a;
	flex-shrink: 0;
	transition: transform 0.2s ease;
}

/* ---------- Days container ---------- */
.dt-days-container {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

/* ---------- Day card ---------- */
.dt-day-card {
	background: #fff;
	border-radius: 12px;
	border: 1px solid #ede8e2;
	padding: 36px 32px;
	scroll-margin-top: 100px;
	transition: box-shadow 0.3s ease;
}

.dt-day-card:hover {
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
}

.dt-day-card__inner {
	display: flex;
	gap: 32px;
	align-items: flex-start;
}

/* ---------- Content column ---------- */
.dt-day-card__content {
	flex: 1 1 0;
	min-width: 0;
}

/* ---------- Card header (badge + labels) ---------- */
.dt-day-card__header {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	margin-bottom: 16px;
}

.dt-day-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #e8672a;
	color: #fff;
	font-family: 'Inter', Arial, sans-serif;
	font-size: 13px;
	font-weight: 700;
	flex-shrink: 0;
	margin-top: 2px;
}

.dt-day-card__header-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.dt-day-meta-label {
	font-family: 'Inter', Arial, sans-serif;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #aaa;
}

.dt-day-sub-heading {
	font-family: 'Inter', Arial, sans-serif;
	font-size: 11px;
	font-style: italic;
	color: #999;
}

/* ---------- Title ---------- */
.dt-day-title {
	font-family: 'Noto Serif', Georgia, serif;
	font-size: clamp(22px, 3vw, 30px);
	font-weight: 700;
	line-height: 1.25;
	color: #1a1a1a;
	margin: 0 0 14px 0;
}

/* ---------- Description ---------- */
.dt-day-description {
	font-size: 14px;
	line-height: 1.7;
	color: #555;
	margin-bottom: 18px;
}

.dt-day-description p {
	margin: 0 0 10px;
}

/* ---------- Bullet list ---------- */
.dt-bullet-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.dt-bullet-item {
	display: flex;
	align-items: baseline;
	gap: 10px;
	font-family: 'Inter', Arial, sans-serif;
	font-size: 13px;
	color: #444;
	line-height: 1.5;
}

.dt-bullet-arrow {
	color: #e8672a;
	font-size: 12px;
	flex-shrink: 0;
}

/* ---------- Image column ---------- */
.dt-day-card__image-wrap {
	flex: 0 0 200px;
	max-width: 200px;
	position: relative;
	border-radius: 8px;
	overflow: hidden;
	align-self: stretch;
}

.dt-day-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.dt-day-image-placeholder {
	width: 100%;
	min-height: 180px;
	height: 100%;
	background: repeating-linear-gradient(
		45deg,
		#f5ede5,
		#f5ede5 6px,
		#ede4d8 6px,
		#ede4d8 12px
	);
	display: flex;
	align-items: flex-end;
	border-radius: 8px;
}

.dt-image-caption {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(255, 255, 255, 0.9);
	font-family: 'Inter', Arial, sans-serif;
	font-size: 9px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-align: center;
	color: #888;
	padding: 8px 10px;
	line-height: 1.4;
}

.dt-day-image-placeholder .dt-image-caption {
	position: static;
	background: rgba(255, 255, 255, 0.75);
	border-radius: 0 0 8px 8px;
	width: 100%;
}

/* ---------- No days message ---------- */
.dt-no-days {
	padding: 24px;
	background: #fdf8f4;
	border: 1px dashed #d4c9be;
	border-radius: 8px;
	color: #888;
	font-size: 14px;
	text-align: center;
}

/* ---------- Responsive ---------- */
@media ( max-width: 768px ) {
	.dt-timeline-wrapper {
		flex-direction: column;
		gap: 24px;
		padding: 24px 16px;
	}

	.dt-sticky-nav {
		flex: none;
		position: relative;
		top: auto;
		width: 100%;
		background: #fdf8f4;
		border-radius: 10px;
		padding: 16px;
		border: 1px solid #ede8e2;
	}

	.dt-nav-list {
		display: flex;
		flex-wrap: wrap;
		gap: 8px;
	}

	.dt-nav-item {
		margin: 0;
	}

	.dt-nav-link {
		background: #fff;
		border: 1px solid #ede8e2;
		border-radius: 20px;
		padding: 6px 14px;
		font-size: 11px;
	}

	.dt-nav-link--active {
		background: #e8672a;
		color: #fff;
		border-color: #e8672a;
	}

	.dt-nav-indicator {
		display: none;
	}

	.dt-day-card {
		padding: 24px 20px;
	}

	.dt-day-card__inner {
		flex-direction: column;
		gap: 20px;
	}

	.dt-day-card__image-wrap {
		flex: none;
		max-width: 100%;
		width: 100%;
		min-height: 180px;
	}

	.dt-day-image-placeholder {
		min-height: 160px;
	}
}

@media ( max-width: 480px ) {
	.dt-day-title {
		font-size: 20px;
	}
}
