/*--------------------------------------------------------------------------------------
 Reisjunk SVG World Map Block Styles
 --------------------------------------------------------------------------------------*/
.reisjunk-worldmap-block {
	position: relative;
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
	padding: 0;
	background-color: transparent;
	overflow: visible;
}

.reisjunk-worldmap-container {
	position: relative;
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
	padding: 0;
}

.reisjunk-worldmap-svg-wrap {
	position: relative;
	width: 100%;
	padding-bottom: 66.04%; /* Matching 1060x700 viewBox (700 / 1060 = 66.04%), matching production 4000x2645 (66.12%) */
	height: 0;
	overflow: visible;
}

.reisjunk-worldmap-svg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: block;
	filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.03));
}

/* Map vector styling */
.reisjunk-worldmap-svg .rj-land {
	fill: #E5CDB7;
	stroke: #F7ECE0;
	stroke-width: 0.75;
	stroke-linejoin: round;
	transition: fill 0.25s ease, stroke 0.25s ease;
}

.reisjunk-worldmap-svg .rj-country-active {
	fill: #2D2D2D;
	stroke: #F7ECE0;
	cursor: pointer;
}

.reisjunk-worldmap-svg .rj-country-active:hover,
.reisjunk-worldmap-svg .rj-country-active.is-hovered {
	fill: #696969;
	stroke: #F7ECE0;
}

/* Title Badge matching Production reisjunk.nl */
.reisjunk-worldmap-title {
	position: absolute !important;
	top: 14.5% !important;
	left: 0;
	right: 0;
	margin-left: auto;
	margin-right: auto;
	width: 260px;
	padding: 18px 10px 20px 10px;
	font-family: var(--title-font, 'MADE TOMMY', Montserrat, sans-serif);
	font-weight: 700;
	font-size: 22px;
	letter-spacing: -0.3px;
	line-height: 1;
	color: #fff;
	text-transform: uppercase;
	text-align: center;
	background-image: url("../../../images/Reisjunk-block-orange.svg");
	background-repeat: no-repeat;
	background-size: 100% 100%;
	background-position: center;
	background-color: transparent;
	border-radius: 0;
	box-shadow: none;
	z-index: 10;
	pointer-events: none;
}

/* Placemarkers layer */
.reisjunk-pins-layer {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 5;
}

.reisjunk-pin {
	position: absolute;
	pointer-events: auto;
	transform: translate(-50%, -100%);
	transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
	cursor: pointer;
	text-decoration: none;
	outline: none;
}

.reisjunk-pin img {
	display: block;
	width: 25px;
	height: auto;
	filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.2));
	transition: transform 0.2s ease, filter 0.2s ease;
}

.reisjunk-pin:hover,
.reisjunk-pin:focus-visible,
.reisjunk-pin.is-active {
	transform: translate(-50%, -100%) scale(1.15);
	z-index: 20;
}

.reisjunk-pin:hover img,
.reisjunk-pin.is-active img {
	filter: drop-shadow(0 6px 12px rgba(201, 107, 79, 0.4));
}

/* Tooltips */
.reisjunk-tooltip {
	position: absolute;
	bottom: 105%;
	left: 50%;
	transform: translateX(-50%);
	opacity: 0;
	visibility: hidden;
	white-space: nowrap;
	width: max-content;
	min-width: 140px;
	max-width: 450px;
	text-align: center;
	padding: 10px 28px;
	font-family: var(--title-font, 'MADE TOMMY', Montserrat, sans-serif);
	font-weight: 700;
	font-size: 16px;
	line-height: 1;
	letter-spacing: -0.3px;
	text-transform: uppercase;
	color: #fff;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 599.15 140.98' preserveAspectRatio='none'%3E%3Cpolygon fill='%23c96b4f' points='0 15.1 5.03 130.91 589.08 140.98 599.15 0 0 15.1'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-size: 100% 100%;
	background-position: center;
	background-color: transparent;
	border-radius: 0;
	box-shadow: none;
	transition: 0.2s ease-in-out;
	pointer-events: none;
	z-index: 30;
}

.reisjunk-pin:hover .reisjunk-tooltip,
.reisjunk-pin:focus-visible .reisjunk-tooltip,
.reisjunk-pin.is-active .reisjunk-tooltip {
	opacity: 1;
	visibility: visible;
}

/* Mobile & Tablet Fallback List */
.reisjunk-mobile-destination-list {
	display: none;
	padding: 40px 20px 20px 20px;
	background: #fff;
}

.reisjunk-mobile-destination-list h2 {
	font-size: 22px;
	font-weight: 700;
	margin-top: 35px;
	margin-bottom: 12px;
	color: #2d2d2d;
	font-family: var(--title-font, "MADE TOMMY", Montserrat, sans-serif);
}

.reisjunk-mobile-destination-list h2 a {
	color: #2d2d2d;
	text-decoration: none !important;
	transition: color 0.2s ease;
}

.reisjunk-mobile-destination-list h2 a:hover {
	color: var(--ast-global-color-0, #c96b4f);
}

.reisjunk-mobile-destination-list ul {
	margin: 0 0 25px 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.reisjunk-mobile-destination-list ul li {
	list-style: none;
	margin: 0;
	padding: 0;
}

.reisjunk-mobile-destination-list ul li a {
	display: inline-block;
	padding: 10px 22px;
	background: var(--ast-global-color-0, #c96b4f);
	color: #fff !important;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	border-radius: 50px;
	transition: background 0.2s ease;
}

.reisjunk-mobile-destination-list ul li a:hover {
	background: #b3563b;
	color: #fff !important;
}

.home .reisjunk-worldmap-block,
.home .travelmap {
	margin-top: -140px;
	margin-bottom: -60px;
	overflow: hidden !important;
}

@media screen and (max-width: 1400px) {
	.reisjunk-worldmap-title {
		font-size: 18px;
		width: 200px;
		padding: 14px 10px 20px 10px;
		top: 13.5% !important;
	}
	.home .reisjunk-worldmap-block,
	.home .travelmap {
		margin-top: -100px;
		margin-bottom: -40px;
	}
}

@media screen and (max-width: 1100px) {
	.home .reisjunk-worldmap-block,
	.home .travelmap {
		display: none !important;
	}
	.page-id-5817 .reisjunk-worldmap-title,
	.page-bestemmingen .reisjunk-worldmap-title {
		display: none;
	}
	.reisjunk-pins-layer {
		display: none;
	}
	.reisjunk-mobile-destination-list {
		display: block;
		padding-top: 40px;
	}
}

@media screen and (max-width: 768px) {
	.reisjunk-worldmap-svg-wrap {
		display: none;
	}
	.reisjunk-mobile-destination-list {
		display: block;
		padding-top: 20px;
	}
}
