.travelize-trip-facts,
.travelize-stops {
	display: grid;
	gap: 16px;
}

.travelize-trip-facts {
	border: 1px solid #d8d8d8;
	border-radius: 4px;
	padding: 16px;
}

.travelize-stops-departure {
	border: 0;
	border-radius: 0;
	padding: 0;
}

.travelize-trip-facts {
	align-items: center;
	text-align: center;
}

.travelize-trip-facts-price {
	font-size: 32px;
	font-weight: 700;
	line-height: 1.2;
}

.travelize-trip-facts-duration {
	font-size: 18px;
}

.travelize-trip-facts-description {
	text-align: left;
}

.travelize-trip-facts-description ul {
	margin: 0 0 0 20px;
	padding: 0;
}

.travelize-trip-facts-transport {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	width: 100%;
	text-align: left;
}

.travelize-trip-facts-button,
.travelize-booking-button,
.travelize-booking-link {
	display: inline-block;
	padding: 10px 18px;
	background: #111;
	color: #fff;
	text-decoration: none;
}

.travelize-trip-facts-button:hover,
.travelize-trip-facts-button:focus,
.travelize-booking-button:hover,
.travelize-booking-button:focus,
.travelize-booking-link:hover,
.travelize-booking-link:focus {
	background: #333;
	color: #fff;
}

.travelize-stops-title {
	margin: 0 0 12px;
}

.travelize-table-wrap {
	overflow-x: auto;
	min-width: 0;
	max-width: 100%;
}

.travelize-table,
.travelize-departures-table,
.travelize-stops-table {
	width: 100%;
	border-collapse: collapse;
}

.travelize-table th,
.travelize-table td,
.travelize-departure-cell,
.travelize-stop-cell {
	padding: 10px 12px;
	border-bottom: 1px solid #d8d8d8;
	text-align: left;
	vertical-align: top;
}

.travelize-table th,
.travelize-departures-head th,
.travelize-stops-head th {
	font-weight: 700;
}

.travelize-booking-unavailable,
.travelize-booking-message {
	color: #555;
}

.travelize-calendar-compact {
	padding: 20px;
	background: #fff;
	border-radius: 4px;
}

.travelize-calendar-compact-title {
	margin: 0 0 24px;
}

.travelize-calendar-compact-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.travelize-calendar-compact-item {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: 12px;
	align-items: start;
	padding: 9px 8px;
	border-top: 1px solid #f1f1f1;
}

.travelize-calendar-compact-date,
.travelize-calendar-compact-price {
	white-space: nowrap;
}

.travelize-calendar-compact-name a {
	color: inherit;
	text-decoration: none;
}

.travelize-calendar-compact-name a:hover,
.travelize-calendar-compact-name a:focus {
	text-decoration: underline;
}

.travelize-calendar-compact-price {
	color: inherit;
	text-align: right;
}

.travelize-calendar-compact-footer {
	margin-top: 30px;
}

.travelize-calendar-compact-button {
	display: inline-block;
	padding: 11px 14px;
	background: #111;
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	border-radius: 3px;
}

.travelize-calendar-compact-button:hover,
.travelize-calendar-compact-button:focus {
	background: #333;
	color: #fff;
}

@media (max-width: 600px) {
	.travelize-trip-facts-transport {
		grid-template-columns: 1fr;
	}

	.travelize-calendar-compact-item {
		gap: 8px;
	}
}

.travelize-trip-facts-price,
.travelize-departures-table .col-price-from,
.travelize-calendar-compact-price {
	white-space: nowrap !important;
	word-break: normal;
	overflow-wrap: normal;
}

.travelize-included-content {
	display: block;
	white-space: normal;
}

.travelize-included-content p {
	display: block;
	margin: 0 0 1em;
}

.travelize-included-content br {
	display: revert !important;
	content: normal !important;
}

.travelize-included-content ul {
	list-style-type: disc;
}

.travelize-included-content ol {
	list-style-type: decimal;
}

.travelize-included-content ul,
.travelize-included-content ol {
	padding-inline-start: 1.5em;
}

.travelize-included-content li {
	display: list-item;
}

.travelize-included-content .travelize-included-list {
	margin: 0;
	padding-inline-start: 1.25em;
	list-style: disc outside;
}

.travelize-mobile-departures,
.travelize-mobile-stops {
	display: none;
}

@media screen and (min-width: 768px) {
	.travelize-departures .travelize-departures-table > tbody > tr > .travelize-departure-cell {
		vertical-align: middle;
	}

	.travelize-departures .travelize-departures-table {
		table-layout: auto;
		word-break: normal;
		overflow-wrap: normal;
		hyphens: none;
	}

	.travelize-departures-table th,
	.travelize-departures-table td,
	.travelize-departures-table a {
		word-break: normal;
		overflow-wrap: normal;
		hyphens: none;
	}

	.travelize-departures-table .col-booking-button,
	.travelize-departures-table .travelize-booking-button {
		white-space: nowrap;
	}
}

@media screen and (max-width: 767px) {
	.travelize-departures .travelize-departures-table,
	.travelize-stops .travelize-stops-table {
		display: none;
	}

	.travelize-departures.travelize-table-wrap {
		overflow: visible;
		border-radius: 0;
	}

	.travelize-mobile-departures {
		display: flex;
		flex-direction: column;
		gap: .875rem;
		color: var(--color-text, #363636);
		font-family: var(--font-body, inherit);
	}

	.travelize-mobile-departure {
		min-width: 0;
		padding: .75rem 1rem;
		background: #fff;
		border: 1px solid var(--color-border, #cfc6b0);
		border-radius: 16px;
		box-shadow: 0 4px 16px #00000005;
	}

	.travelize-mobile-departure > .travelize-mobile-date {
		margin: 0 0 .375rem;
		text-align: left;
		color: #000;
		font-size: .875rem;
		font-weight: 600;
		line-height: 1.5;
	}

	.travelize-mobile-departure > .travelize-mobile-destination {
		margin: 0 0 .5rem;
		text-align: left;
		color: var(--color-heading, #171717);
		font-family: var(--font-heading, inherit);
		font-size: 1rem;
		font-weight: 500;
		line-height: 1.3;
		overflow-wrap: break-word;
	}

	.travelize-mobile-destination a {
		color: inherit;
		text-decoration: none;
	}

	.travelize-mobile-destination a:hover { text-decoration: underline; }

	.travelize-mobile-meta {
		display: flex;
		flex-direction: column;
		gap: .125rem;
		text-align: left;
		color: var(--color-text-muted, #6b6b6b);
		font-size: .875rem;
		line-height: 1.6;
	}

	.travelize-mobile-departure > .travelize-mobile-price {
		display: flex;
		flex-wrap: wrap;
		align-items: baseline;
		gap: .5rem;
		margin: .75rem 0 .5rem;
		font-size: .875rem;
		line-height: 1.2;
	}

	.travelize-mobile-price strong {
		font-family: var(--font-heading, inherit);
		font-size: 1.875rem;
		font-weight: 500;
		white-space: nowrap !important;
		word-break: normal;
		overflow-wrap: normal;
	}

	.travelize-mobile-departure .travelize-booking-button {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 1rem;
		box-sizing: border-box;
		width: 100%;
		min-height: 44px;
		margin-top: .5rem;
		padding: .625rem 1rem;
		border-radius: 10px;
		background: var(--color-secondary, #ec732c);
		color: #fff;
		font-family: var(--font-heading, inherit);
		font-size: 1rem;
		font-weight: 500;
		line-height: 1.4;
		text-decoration: none;
	}

	.travelize-mobile-departure .travelize-booking-button:hover,
	.travelize-mobile-departure .travelize-booking-button:focus-visible {
		background: var(--color-primary-hover, #d9590f);
	}

	.travelize-mobile-departure .travelize-booking-button svg {
		flex-shrink: 0;
		width: 20px;
		height: 20px;
	}

	.travelize-stops .travelize-stops-departure {
		min-width: 0;
		padding: 0;
		border: 0;
	}

	.travelize-stops .travelize-mobile-stops {
		display: block;
	}
}

/* The desktop preview reuses the mobile timeline without changing the default. */
.travelize-stops-preview .travelize-mobile-stops { display: block; }
.travelize-stops-preview .travelize-stops-table { display: none; }
.travelize-stops-preview .travelize-stops-departure { padding: 0; border: 0; }

.travelize-stops .travelize-mobile-stops {
	margin: 0;
	padding: .25rem 0;
	list-style: none;
	color: var(--color-text, #363636);
	font-family: var(--font-body, inherit);
}

.travelize-mobile-stops > .travelize-mobile-stop {
	position: relative;
	margin: 0 0 0 .375rem;
	padding: 0 0 1.75rem 1.5rem;
	border-left: 1px solid var(--color-border, #cfc6b0);
}

.travelize-mobile-stop::before {
	content: '';
	position: absolute;
	top: .4rem;
	left: -5px;
	box-sizing: border-box;
	width: 9px;
	height: 9px;
	border: 2px solid var(--color-primary, #d9590f);
	border-radius: 50%;
	background: #fff;
}

.travelize-mobile-stop:last-child { border-color: transparent; padding-bottom: 0; }

.travelize-mobile-stop > .travelize-mobile-time {
	margin: 0 0 .375rem;
	color: var(--color-primary, #d9590f);
	font-size: .9375rem;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	line-height: 1.5;
	white-space: nowrap;
}

.travelize-mobile-stop > .travelize-mobile-city {
	margin: 0 0 .25rem;
	font-family: var(--font-heading, inherit);
	font-size: 1.25rem;
	font-weight: 500;
	line-height: 1.3;
}

.travelize-mobile-stop > .travelize-mobile-stop-info {
	margin: 0;
	color: var(--color-text-muted, #6b6b6b);
	font-size: .9375rem;
	line-height: 1.5;
	overflow-wrap: break-word;
}

@media screen and (max-width: 767px) {
	.travelize-mobile-stops > .travelize-mobile-stop {
		padding-bottom: 1rem;
	}

	.travelize-mobile-stop > .travelize-mobile-time {
		margin-bottom: .125rem;
	}

	.travelize-mobile-stop > .travelize-mobile-city {
		margin-bottom: .125rem;
		font-size: 1.125rem;
	}

	.travelize-mobile-stop:last-child {
		padding-bottom: 0;
	}

	.travelize-calendar-compact-item {
		grid-template-columns: auto minmax(0, 1fr);
	}

	.travelize-calendar-compact-name {
		overflow-wrap: anywhere;
	}

	.travelize-calendar-compact-price {
		grid-column: 2;
		text-align: left;
	}
}
