/*
 * Modernais "Kāds ir aptuvenais plāns?" izskats.
 * ADITĪVS fails — neaizvieto style.css .plan noteikumus, tikai pārraksta.
 * Pieslēgts tikai Piedzīvojuma lapā (inc/setup.php), pēc piedzivojumi-styles.
 */

.adventures-section .plan {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* Rinda -> vertikāls solis ar vietu node + līnijai pa kreisi */
.adventures-section .plan li {
	display: block;
	position: relative;
	padding: 0 0 22px 48px;
	justify-content: flex-start;
}

/* Laika līnija (rail) — nepārtraukta no mezgla līdz nākamajam mezglam */
.adventures-section .plan li::before {
	content: "";
	position: absolute;
	left: 14px;
	top: 15px;
	bottom: -18px;
	width: 2px;
	background: #dad7cf;
}

/* Līniju slēpj tikai patiesi pēdējai kartītei (ne PHP plan-last karogam, kas var būt kļūdains) */
.adventures-section .plan li:last-child::before {
	display: none;
}

/* Paslēpj veco PNG apļu timeline */
.adventures-section .plan .timeline {
	position: static;
	width: auto;
	margin: 0;
}

.adventures-section .plan .timeline img,
.adventures-section .plan .timeline .vl {
	display: none;
}

/* Mezgls (node) — vienkāršs dzeltens punkts uz līnijas */
.adventures-section .plan .plan-node {
	position: absolute;
	left: 5px;
	top: 5px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #ffc20e;
	box-shadow: 0 0 0 5px #ebebeb, 0 2px 6px rgba(200, 147, 10, .35);
	z-index: 2;
}

/* Kartīte */
.adventures-section .plan .plan-item {
	width: auto;
	margin: 0;
	padding: 20px 22px;
	background: #ffffff;
	border-radius: 14px;
	border: 1px solid rgba(0, 0, 0, .04);
	box-shadow: 0 4px 18px rgba(40, 36, 25, .09);
	transition: transform .18s ease, box-shadow .18s ease;
}

.adventures-section .plan .plan-item:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 28px rgba(40, 36, 25, .14);
}

.adventures-section .plan .plan-item .day-title {
	margin: 0 0 8px 0;
	font-size: 18px;
	font-weight: 700;
	letter-spacing: -.01em;
	text-transform: none;
	color: #2f2f2f;
}

/* Chip elementi (laiks / attālums / tikšanās vieta) */
.adventures-section .plan .plan-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 14px;
}

.adventures-section .plan .plan-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 11px;
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1.2;
	color: #6a5316;
	background: #f6f4ee;
	border: 1px solid #ece7d8;
	border-radius: 999px;
	text-decoration: none;
}

.adventures-section .plan .plan-chip svg {
	width: 14px;
	height: 14px;
	flex: 0 0 14px;
}

.adventures-section .plan a.plan-chip-map {
	color: #a3114a;
	background: #fff5f8;
	border-color: #f6d7e2;
	transition: background .15s ease;
}

.adventures-section .plan a.plan-chip-map:hover {
	background: #ffe9f0;
}

@media (max-width: 600px) {
	.adventures-section .plan li {
		padding-left: 42px;
		padding-bottom: 18px;
	}

	.adventures-section .plan .plan-item {
		padding: 18px 18px;
	}
}
