/*
 * Bluehotel Inresekrav
 * Färger och former följer sajtens bokningsruta och statistikrutor.
 * Inga typsnitt sätts här, rutan använder sajtens egna.
 */

.bhi {
	margin: 32px 0;
	background: #ffffff;
	border: 1px solid #d6e0ee;
	border-radius: 12px;
	box-shadow: 0 8px 28px rgba(30, 58, 111, 0.08);
	overflow: hidden;
	scroll-margin-top: 90px;
	color: #1c1f23;
}

.bhi *,
.bhi *::before,
.bhi *::after {
	box-sizing: border-box;
}

/* Sidhuvud med väljare */
.bhi .bhi-head {
	background: linear-gradient(135deg, #1e3a6f 0%, #2c5089 100%);
	padding: 24px 22px 20px;
}

.bhi .bhi-title {
	margin: 0 0 6px;
	color: #ffffff;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.3;
}

.bhi .bhi-sub {
	margin: 0 0 16px;
	color: #d6e0ee;
	font-size: 15px;
	line-height: 1.5;
}

.bhi .bhi-label {
	display: block;
	margin: 0 0 6px;
	color: #d6e0ee;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.3;
	text-transform: uppercase;
}

.bhi .bhi-select {
	display: block;
	width: 100%;
	max-width: 100%;
	height: 50px;
	margin: 0;
	padding: 0 44px 0 14px;
	border: 0;
	border-radius: 8px;
	background-color: #ffffff;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%231e3a6f' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-position: right 16px center;
	background-repeat: no-repeat;
	background-size: 14px 9px;
	box-shadow: 0 1px 2px rgba(11, 13, 16, 0.12);
	color: #1c1f23;
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	line-height: 50px;
	cursor: pointer;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

.bhi .bhi-select:focus {
	outline: 3px solid #8fb3ff;
	outline-offset: 2px;
}

.bhi .bhi-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 14px 0 0;
	padding: 0;
}

.bhi .bhi-chip {
	margin: 0;
	padding: 7px 14px;
	border: 1px solid rgba(255, 255, 255, 0.4);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	box-shadow: none;
	color: #ffffff;
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	text-transform: none;
	letter-spacing: 0;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease;
	-webkit-appearance: none;
	appearance: none;
}

.bhi .bhi-chip:hover {
	background: rgba(255, 255, 255, 0.2);
	color: #ffffff;
}

.bhi .bhi-chip:focus-visible {
	outline: 3px solid #8fb3ff;
	outline-offset: 2px;
}

.bhi .bhi-chip[aria-pressed="true"] {
	border-color: #ffffff;
	background: #ffffff;
	color: #1e3a6f;
}

/* Landkort */
.bhi .bhi-body {
	padding: 22px 22px 6px;
}

.bhi .bhi-card + .bhi-card {
	margin-top: 22px;
	padding-top: 22px;
	border-top: 1px solid #e3e8f0;
}

.bhi.bhi--js .bhi-card {
	display: none;
}

.bhi.bhi--js .bhi-card.is-active {
	display: block;
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
	animation: bhi-in 0.2s ease;
}

@keyframes bhi-in {
	from {
		opacity: 0;
		transform: translateY(4px);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

.bhi .bhi-card-top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 12px;
	margin: 0 0 12px;
}

.bhi .bhi-country {
	margin: 0;
	color: #1e3a6f;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.25;
}

.bhi .bhi-badge {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 5px 12px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.3;
	white-space: nowrap;
}

.bhi .bhi-badge::before {
	content: "";
	flex: 0 0 auto;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: currentColor;
}

.bhi .bhi-badge--eu,
.bhi .bhi-badge--norden,
.bhi .bhi-badge--inget {
	background: #e5f4ea;
	color: #19683a;
}

.bhi .bhi-badge--digitalt {
	background: #fff2d9;
	color: #855400;
}

.bhi .bhi-badge--ankomst {
	background: #e7eefa;
	color: #1e3a6f;
}

.bhi .bhi-badge--visum {
	background: #fde8e8;
	color: #a12626;
}

.bhi .bhi-lead {
	margin: 0 0 18px;
	font-size: 17px;
	line-height: 1.6;
}

/* Direktlänkar till ansökningar och formulär */
.bhi .bhi-actions {
	margin: 0 0 20px;
	padding: 14px;
	border: 1px solid #d6e0ee;
	border-left: 4px solid #1e3a6f;
	border-radius: 8px;
	background: #ffffff;
}

.bhi .bhi-actions-title {
	margin: 0 0 10px;
	color: #1e3a6f;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.3;
	text-transform: uppercase;
}

.bhi .bhi-action-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.bhi .bhi-action {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	flex: 1 1 220px;
	min-width: 0;
	padding: 11px 40px 11px 16px;
	border-radius: 8px;
	background: #1e3a6f url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='M5 2h7v7M12 2L3 11' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center / 12px 12px;
	color: #ffffff;
	text-decoration: none;
	transition: background-color 0.15s ease;
}

.bhi .bhi-action:hover,
.bhi .bhi-action:focus {
	background-color: #2c5089;
	color: #ffffff;
}

.bhi .bhi-action:focus-visible {
	outline: 3px solid #8fb3ff;
	outline-offset: 2px;
}

.bhi .bhi-action-text {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
}

.bhi .bhi-action-info {
	margin-top: 2px;
	color: #d6e0ee;
	font-size: 13px;
	line-height: 1.4;
}

.bhi .bhi-actions-note {
	margin: 10px 0 0;
	color: #5b6472;
	font-size: 13px;
	line-height: 1.5;
}

.bhi .bhi-foot a {
	color: #0a45db;
	font-weight: 700;
	text-decoration: underline;
}

.bhi .bhi-facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin: 0 0 20px;
	padding: 0;
}

.bhi .bhi-fact {
	min-width: 0;
	margin: 0;
	padding: 12px 14px;
	border-radius: 8px;
	background: #f4f7fb;
}

.bhi .bhi-fact dt {
	margin: 0 0 4px;
	padding: 0;
	color: #1e3a6f;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.3;
	text-transform: uppercase;
}

.bhi .bhi-fact dd {
	margin: 0;
	padding: 0;
	font-size: 15px;
	line-height: 1.5;
	overflow-wrap: anywhere;
}

.bhi .bhi-tips-title {
	margin: 0 0 8px;
	color: #1e3a6f;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.3;
	text-transform: uppercase;
}

.bhi .bhi-tips {
	margin: 0 0 18px;
	padding: 0;
	list-style: none;
}

.bhi .bhi-tips li {
	position: relative;
	margin: 0 0 8px;
	padding: 0 0 0 20px;
	font-size: 15px;
	line-height: 1.55;
	list-style: none;
}

.bhi .bhi-tips li::before {
	content: "";
	position: absolute;
	top: 0.62em;
	left: 3px;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #0a45db;
}

.bhi .bhi-tips li::marker {
	content: none;
}

.bhi .bhi-source {
	margin: 0 0 16px;
	font-size: 15px;
	line-height: 1.5;
	overflow-wrap: anywhere;
}

.bhi .bhi-source a {
	color: #0a45db;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.bhi .bhi-foot {
	margin: 0;
	padding: 12px 22px 14px;
	border-top: 1px solid #e3e8f0;
	background: #fbfcfe;
	color: #5b6472;
	font-size: 13px;
	line-height: 1.5;
}

/* Ett enskilt land i en artikel */
.bhi.bhi--single .bhi-body {
	padding-top: 20px;
}

/* Mobil */
@media (max-width: 700px) {
	.bhi {
		margin: 24px 0;
	}

	.bhi .bhi-head {
		padding: 20px 16px 16px;
	}

	.bhi .bhi-title {
		font-size: 20px;
	}

	.bhi .bhi-body {
		padding: 18px 16px 4px;
	}

	.bhi .bhi-country {
		font-size: 21px;
	}

	.bhi .bhi-lead {
		font-size: 16px;
	}

	.bhi .bhi-facts {
		grid-template-columns: minmax(0, 1fr);
		gap: 8px;
	}

	.bhi .bhi-foot {
		padding: 12px 16px 14px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bhi.bhi--js .bhi-card.is-active {
		animation: none;
	}

	.bhi .bhi-chip {
		transition: none;
	}
}
