/* =========================================================
   TM24 ROUTE PAGES
   Shared styles for route pages:
   BGY / MXP / LIN / Milan / TRN / BGN / etc.
   ========================================================= */


/* =========================================================
   PRICE BLOCK
   ========================================================= */

.tm24-route-price {
	max-width: 1120px;
	margin: 42px auto 24px;
	padding: 32px 34px;
	box-sizing: border-box;

	background:
		radial-gradient(
			circle at top right,
			rgba(67, 145, 205, 0.10),
			transparent 34%
		),
		linear-gradient(
			135deg,
			#f8fbfe 0%,
			#ffffff 58%,
			#f4f9fd 100%
		);

	border: 1px solid #dbe8f2;
	border-radius: 20px;
	box-shadow: 0 12px 34px rgba(30, 76, 112, 0.07);
}

.tm24-route-price > h2,
.tm24-route-travel > h2 {
	margin: 0 0 14px;

	color: #172a3d;
	font-size: 28px;
	line-height: 1.25;
	font-weight: 600;
	text-align: center;
}

.tm24-route-price > p,
.tm24-route-travel > p {
	max-width: 820px;
	margin: 0 auto 22px;

	color: #536779;
	font-size: 16px;
	line-height: 1.65;
	text-align: center;
}

.tm24-route-price__facts,
.tm24-route-travel__facts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.tm24-route-price__facts > div,
.tm24-route-travel__facts > div {
	padding: 16px 10px;
	box-sizing: border-box;

	border: 1px solid #dce8f1;
	border-radius: 12px;

	text-align: center;
}

.tm24-route-price__facts > div {
	background: #ffffff;
}

.tm24-route-travel__facts > div {
	background: #f5f9fc;
}

.tm24-route-price__facts strong,
.tm24-route-travel__facts strong {
	display: block;
	margin: 0 0 5px;

	color: #172a3d;
	font-size: 16px;
	line-height: 1.3;
	font-weight: 700;
}

.tm24-route-price__facts span,
.tm24-route-travel__facts span {
	display: block;

	color: #647585;
	font-size: 13px;
	line-height: 1.4;
}


/* =========================================================
   DISTANCE & TRAVEL TIME
   ========================================================= */

.tm24-route-travel {
	max-width: 1120px;
	margin: 24px auto;
	padding: 32px 34px;
	box-sizing: border-box;

	background: #ffffff;
	border: 1px solid #dbe8f2;
	border-radius: 20px;
	box-shadow: 0 10px 30px rgba(30, 76, 112, 0.06);
}


/* =========================================================
   DESTINATION / REGION UNIQUE CONTENT
   ========================================================= */

.tm24-route-destination {
	width: 100%;
	max-width: 860px;
	margin: 30px auto 18px;
	padding: 0;
	box-sizing: border-box;
}

.tm24-route-destination > h2 {
	max-width: 820px;
	margin: 0 auto 20px;

	color: #172a3d;
	font-size: 28px;
	line-height: 1.22;
	font-weight: 600;
	text-align: center;
}

.tm24-route-destination > p {
	margin: 0 0 16px;

	color: #424242;
	font-size: 16px;
	line-height: 1.72;
	text-align: left;
}

.tm24-route-destination > p:last-child {
	margin-bottom: 0;
}

.tm24-route-destination a {
	font-weight: 600;
}


/* =========================================================
   SIMPLE PRICE FACTS
   Useful for destination hubs
   ========================================================= */

.tm24-price-facts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin: 20px 0 0;
}

.tm24-price-facts > div {
	padding: 16px 10px;
	box-sizing: border-box;

	background: #f5f9fc;
	border: 1px solid #dce8f1;
	border-radius: 12px;

	text-align: center;
}

.tm24-price-facts strong {
	display: block;
	margin: 0 0 5px;

	color: #172a3d;
	font-size: 16px;
	line-height: 1.3;
	font-weight: 700;
}

.tm24-price-facts span {
	display: block;

	color: #647585;
	font-size: 13px;
	line-height: 1.4;
}


/* =========================================================
   GENERIC ROUTE FACTS
   Useful for destination hubs
   ========================================================= */

.tm24-route-facts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin: 20px 0 0;
}

.tm24-route-fact {
	padding: 16px 10px;
	box-sizing: border-box;

	background: #f5f9fc;
	border: 1px solid #dce8f1;
	border-radius: 12px;

	text-align: center;
}

.tm24-route-fact strong {
	display: block;
	margin: 0 0 5px;

	color: #172a3d;
	font-size: 16px;
	line-height: 1.3;
	font-weight: 700;
}

.tm24-route-fact span {
	display: block;

	color: #647585;
	font-size: 13px;
	line-height: 1.4;
}


/* =========================================================
   FAQ
   ========================================================= */

.tm24-route-faq {
	width: 100%;
	max-width: 1120px;
	margin: 20px auto 45px;
	padding: 42px;
	box-sizing: border-box;

	background:
		radial-gradient(
			circle at top right,
			rgba(67, 145, 205, 0.12),
			transparent 34%
		),
		linear-gradient(
			135deg,
			#f8fbfe 0%,
			#ffffff 58%,
			#f3f9fd 100%
		);

	border: 1px solid #dbe8f2;
	border-radius: 22px;
	box-shadow: 0 14px 38px rgba(30, 76, 112, 0.08);
}

.tm24-route-faq__header {
	max-width: 800px;
	margin: 0 auto 30px;
	text-align: center;
}

.tm24-route-faq__eyebrow {
	display: inline-block;
	margin: 0 0 12px;
	padding: 7px 13px;

	background: #eaf4fb;
	border: 1px solid #d4e7f5;
	border-radius: 999px;

	color: #236a9c;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.08em;
}

.tm24-route-faq__header h2 {
	margin: 0 0 12px;

	color: #172a3d;
	font-size: 32px;
	line-height: 1.2;
	font-weight: 600;
}

.tm24-route-faq__header p {
	max-width: 720px;
	margin: 0 auto;

	color: #536779;
	font-size: 16px;
	line-height: 1.65;
}

.tm24-route-faq__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	align-items: start;
}

.tm24-route-faq__item {
	position: relative;
	overflow: hidden;
	margin: 0;

	background: #ffffff;
	border: 1px solid #dce7ef;
	border-radius: 14px;
	box-shadow: 0 5px 16px rgba(27, 65, 94, 0.05);

	transition:
		border-color 0.2s ease,
		box-shadow 0.2s ease,
		transform 0.2s ease;
}

.tm24-route-faq__item:hover {
	border-color: #b9d5e8;
	box-shadow: 0 9px 24px rgba(27, 65, 94, 0.09);
	transform: translateY(-1px);
}

.tm24-route-faq__item[open] {
	border-color: #a9cce4;
	box-shadow: 0 9px 26px rgba(27, 65, 94, 0.10);
}

.tm24-route-faq__item summary {
	position: relative;
	display: flex;
	align-items: center;

	min-height: 72px;
	margin: 0;
	padding: 20px 54px 20px 22px;
	box-sizing: border-box;

	color: #172a3d;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.45;

	cursor: pointer;
	list-style: none;
}

.tm24-route-faq__item summary::-webkit-details-marker {
	display: none;
}

.tm24-route-faq__item summary::before,
.tm24-route-faq__item summary::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 22px;

	width: 14px;
	height: 2px;

	background: #287db5;
	border-radius: 2px;

	transform: translateY(-50%);
	transition: transform 0.2s ease;
}

.tm24-route-faq__item summary::after {
	transform: translateY(-50%) rotate(90deg);
}

.tm24-route-faq__item[open] summary::after {
	transform: translateY(-50%) rotate(0deg);
}

.tm24-route-faq__answer {
	padding: 0 22px 20px;
	border-top: 1px solid #edf2f6;
}

.tm24-route-faq__answer p {
	margin: 16px 0 0;

	color: #4c6071;
	font-size: 15px;
	line-height: 1.7;
}

.tm24-route-faq__answer strong {
	color: #172a3d;
	font-weight: 700;
}

.tm24-route-faq__answer a {
	font-weight: 600;
}


/* =========================================================
   TM24 SKI GRID
   Compact refined version
   ========================================================= */

.tm24-ski-section {
	width: 100%;
	max-width: 760px;
	margin: 0 auto 35px;
	text-align: center;
}

.tm24-ski-hubs-title {
	max-width: 720px;
	margin: 0 auto 7px !important;
	color: #172a3d;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.22;
	text-align: center;
}

.tm24-ski-hubs-note {
	max-width: 680px;
	display: block;
	margin: 0 auto 15px !important;
	color: #536779;
	font-size: 16px;
	line-height: 1.45;
	text-align: center;
}

.tm24-ski-grid {
	width: 100%;
	max-width: 420px;
	margin: 4px auto 14px;
	padding: 20px 24px;
	box-sizing: border-box;

	background: #f7f9fc;
	border: 1px solid #e3e9f1;
	border-radius: 14px;
	box-shadow: 0 5px 18px rgba(20, 40, 70, 0.05);

	display: grid;
	grid-template-columns: 1fr;
	gap: 0;
	text-align: left;
}

.tm24-ski-col {
	min-width: 0;
	width: 100%;
	text-align: left;
}

.tm24-ski-col + .tm24-ski-col {
	margin-top: 18px;
	padding-top: 18px;
	border-top: 1px solid #e3e9f0;
}

.tm24-ski-col h4 {
	margin: 0 0 14px;
	padding: 0 0 13px;
	font-size: 19px;
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: 0;
	border-bottom: 1px solid #e3e9f0;
}

.tm24-ski-col ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.tm24-ski-col ul li {
	position: relative;
	margin: 0;
	padding: 7px 8px 7px 26px;
	line-height: 1.4;
	border-radius: 7px;
	transition: background-color 0.18s ease, transform 0.18s ease;
}

.tm24-ski-col ul li::before {
	content: "›";
	position: absolute;
	left: 8px;
	top: 43%;
	transform: translateY(-50%);
	color: #2878c8;
	font-size: 25px;
	font-weight: 600;
	line-height: 1;
}

.tm24-ski-col ul li a {
	display: inline;
	padding: 0;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;
	text-decoration: none;
}

.tm24-ski-col ul li:hover {
	background: #edf3fa;
	transform: translateX(2px);
}

.tm24-ski-all-destinations-wrap {
	margin: 0 !important;
	text-align: center;
}

.tm24-ski-all-destinations {
	position: relative;
	display: inline-block;
	padding: 3px 22px 3px 0;
	color: #287db5;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
	text-decoration: none;
	border-bottom: 1px solid rgba(40, 125, 181, 0.45);
	transition: color 0.18s ease, border-color 0.18s ease;
}

.tm24-ski-all-destinations::after {
	content: "→";
	position: absolute;
	top: 50%;
	right: 0;
	transform: translateY(-53%);
	font-size: 18px;
	line-height: 1;
}

.tm24-ski-all-destinations:hover {
	color: #07518d;
	border-color: #07518d;
}

.tm24-ski-all-destinations:hover::after {
	right: -4px;
}

@media (max-width: 600px) {
	.tm24-ski-section {
		max-width: 100%;
	}

	.tm24-ski-hubs-title {
		font-size: 23px;
	}

	.tm24-ski-hubs-note {
		margin-bottom: 13px !important;
		font-size: 15px;
		line-height: 1.5;
	}

	.tm24-ski-grid {
		max-width: 340px;
		padding: 16px;
		margin-bottom: 22px;
	}

	.tm24-ski-col h4 {
		white-space: normal;
	}

	.tm24-ski-col ul li {
		padding-top: 8px;
		padding-bottom: 8px;
	}

	.tm24-ski-all-destinations {
		font-size: 15px;
	}
}