/*
 * Guidos Travel Planner and Diary Pro – standard output in the frontend.
 * Plain on purpose: fonts and colors come from the theme.
 */

.gtpdp-facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 12px 24px;
	margin: 0 0 1.5em;
	padding: 16px 20px;
	border: 1px solid rgba(128, 128, 128, 0.35);
	border-radius: 6px;
}

.gtpdp-facts__item {
	min-width: 0;
}

.gtpdp-facts .gtpdp-facts__item dt {
	margin: 0;
	font-size: 0.8em;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	opacity: 0.7;
}

.gtpdp-facts .gtpdp-facts__item dd {
	margin: 2px 0 0;
	overflow-wrap: anywhere;
}

.gtpdp-section {
	margin-top: 2em;
}

.gtpdp-route__columns {
	display: flex;
	flex-wrap: wrap;
	gap: 24px 32px;
	align-items: flex-start;
}

.gtpdp-route__map {
	flex: 3 1 380px;
	min-width: 0;
}

.gtpdp-route__stops {
	flex: 2 1 260px;
	min-width: 0;
}

.gtpdp-diary__place,
.gtpdp-entry__nav-label {
	font-size: 0.9em;
	opacity: 0.75;
}

.gtpdp-entry__part,
.gtpdp-entry__text {
	margin: 0 0 2em;
}

.gtpdp-denied .gtpdp-button {
	display: inline-block;
	padding: 10px 20px;
	border: 1px solid currentColor;
	border-radius: 4px;
	text-decoration: none;
}

/* Login link (magic link) */
.gtpdp-link__trap {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.gtpdp-link__notice {
	margin: 0 0 16px;
	padding: 12px 16px;
	border-radius: 8px;
	border-left: 4px solid #2e7d32;
	background: #edf7ed;
	color: #1e4620;
}

.gtpdp-link__notice--error {
	border-left-color: #c62828;
	background: #fdecea;
	color: #5f2120;
}

.gtpdp-link--floating .gtpdp-link__notice {
	margin: 0;
}

.gtpdp-denied .gtpdp-link {
	max-width: 420px;
	margin-top: 28px;
	padding-top: 20px;
	border-top: 1px solid rgba(0, 0, 0, 0.15);
}

.gtpdp-denied .gtpdp-link__form {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.gtpdp-denied .gtpdp-link__form p {
	margin: 0;
}

.gtpdp-denied .gtpdp-link__heading {
	font-weight: 600;
}

.gtpdp-denied .gtpdp-link label {
	display: block;
	margin: 0 0 6px;
	font-weight: 600;
}

.gtpdp-denied .gtpdp-link input[type="email"] {
	width: 100%;
	min-height: 48px;
	padding: 0 14px;
	font: inherit;
}

.gtpdp-denied .gtpdp-link input[type="submit"] {
	min-height: 48px;
	padding: 0 28px;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

/* Standard output of a destination (since 1.32.0). */

.gtpdp-destination__part + .gtpdp-destination__part {
	margin-top: 2.5em;
}
