/* ==========================================================
   NEWA TOURS – REISEBERICHTE SEITE
   ========================================================== */

.newatours-reiseberichte-page {
	--newa-navy: #0E2A47;
	--newa-gold: #B08D57;
	--newa-text: #2E2E2E;
	--newa-muted: #6B7280;
	--newa-border: rgba(14, 42, 71, 0.12);

	--newa-rb-text-width: 880px;
	--newa-rb-text-padding-left: 54px;
	--newa-rb-paragraph-gap: 18px;

	--newa-rb-quote-size: 66px;
	--newa-rb-quote-top: -12px;
	--newa-rb-quote-left: 0px;

	--newa-rb-meta-gap: 10px;

	--newa-rb-gallery-gap: 14px;
	--newa-rb-gallery-radius: 5px;
	--newa-rb-gallery-hover-scale: 1.025;
	--newa-rb-gallery-hover-duration: 250ms;

	--newa-rb-arrow-size: 52px;
	--newa-rb-arrow-icon-size: 38px;
	--newa-rb-arrow-offset: 14px;
	--newa-rb-arrow-color: #ffffff;
	--newa-rb-arrow-border: rgba(255, 255, 255, 0.55);
	--newa-rb-arrow-bg: rgba(14, 42, 71, 0.55);
	--newa-rb-arrow-bg-hover: rgba(14, 42, 71, 0.76);

	--newa-rb-lightbox-close-size: 34px;
	--newa-rb-lightbox-close-color: #ffffff;
	--newa-rb-lightbox-arrow-size: 58px;
	--newa-rb-lightbox-arrow-color: #ffffff;

	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 30px 30px 90px;
	box-sizing: border-box;
}


/* ==========================================================
   EINZELNER REISEBERICHT
   ========================================================== */

.newatours-reisebericht-full {
	position: relative;
	width: 100%;
	scroll-margin-top: 110px;
}


/* ==========================================================
   TEXTBEREICH
   ========================================================== */

.newatours-reisebericht-body {
	position: relative;

	width: 100%;
	max-width: 880px;

	margin: 0 auto;

	padding-left: 54px;
	box-sizing: border-box;
}


.newatours-reisebericht-quote {
	position: absolute;

	top: -12px;
	left: 0;

	color: var(--newa-gold);

	font-family: Georgia, "Times New Roman", serif;
	font-size: 66px;
	font-weight: 700;
	line-height: 1;

	opacity: 0.95;

	pointer-events: none;
}


.newatours-reisebericht-full-text {
	color: var(--newa-text);

	font-family: "Source Sans 3", sans-serif;
	font-size: 17px;
	font-weight: 400;
	line-height: 1.7;
}


.newatours-reisebericht-full-text p {
	margin: 0 0 18px;
}


.newatours-reisebericht-full-text p:last-child {
	margin-bottom: 0;
}


.newatours-reisebericht-full-text a {
	color: var(--newa-gold);
	text-decoration: none;
}


.newatours-reisebericht-full-text a:hover {
	text-decoration: underline;
}


/* ==========================================================
   UNTERSCHRIFT / META
   ========================================================== */

.newatours-reisebericht-signature {
	display: flex;
	align-items: center;
	gap: 10px;

	width: 100%;
	max-width: 880px;

	margin: 24px auto 20px;

	padding-top: 12px;

	border-top: 1px solid var(--newa-border);

	box-sizing: border-box;
}


.newatours-reisebericht-person-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	flex: 0 0 auto;

	width: 24px;
	height: 24px;

	color: var(--newa-gold);
}


.newatours-reisebericht-meta {
	color: #44505F;

	font-family: "Source Sans 3", sans-serif;
	font-size: 15px;
	line-height: 1.4;
}


/* ==========================================================
   GALERIE
   ========================================================== */

.newatours-reisebericht-gallery {
	position: relative;

	width: 100%;

	margin-top: 16px;
}


.newatours-reisebericht-gallery-viewport {
	position: relative;

	width: 100%;

	overflow: hidden;
}


.newatours-reisebericht-gallery-track {
	display: flex;
	align-items: stretch;

	gap: 14px;

	width: max-content;

	transition: transform 0.42s ease;
	will-change: transform;
}


/*
 * На Desktop каждая фотография занимает примерно треть
 * доступной ширины.
 */
.newatours-reisebericht-gallery-item {
	position: relative;

	display: block;

	flex: 0 0 calc(
		(100vw - 60px - 28px) / 3
	);

	width: calc(
		(100vw - 60px - 28px) / 3
	);

	max-width: calc(
		(1200px - 60px - 28px) / 3
	);

	aspect-ratio: 16 / 9;

	padding: 0;
	margin: 0;

	border: 0;
	border-radius: 4px;

	background: transparent;

	overflow: hidden;

	cursor: zoom-in;
}


.newatours-reisebericht-gallery-item img {
	display: block;

	width: 100%;
	height: 100%;

	object-fit: cover;

	transition: transform 0.25s ease;
}


.newatours-reisebericht-gallery-item:hover img {
	transform: scale(1.025);
}


/* ==========================================================
   GALERIE-PFEILE
   ========================================================== */

.newatours-gallery-arrow {
	position: absolute;
	top: 50%;

	z-index: 5;

	display: inline-flex;
	align-items: center;
	justify-content: center;

	width: 42px;
	height: 42px;

	padding: 0;

	border: 0;
	border-radius: 50%;

	background: rgba(14, 42, 71, 0.72);
	color: #ffffff;

	font-size: 32px;
	font-weight: 300;
	line-height: 1;

	cursor: pointer;

	transform: translateY(-50%);

	transition:
		background-color 0.2s ease,
		opacity 0.2s ease;
}


.newatours-gallery-prev {
	left: 12px;
}


.newatours-gallery-next {
	right: 12px;
}


.newatours-gallery-arrow:hover {
	background: rgba(14, 42, 71, 0.92);
}


.newatours-gallery-arrow:disabled {
	opacity: 0.28;
	cursor: default;
}


/* ==========================================================
   TRENNLINIE ZWISCHEN REISEBERICHTEN
   ========================================================== */

.newatours-reisebericht-divider {
	display: flex;
	align-items: center;

	gap: 10px;

	width: 100%;

	margin: 30px 0 34px;
}


.newatours-reisebericht-divider span {
	flex: 1;

	height: 1px;

	background: rgba(176, 141, 87, 0.55);
}


.newatours-reisebericht-divider i {
	display: block;

	flex: 0 0 7px;

	width: 7px;
	height: 7px;

	border: 1px solid var(--newa-gold);

	transform: rotate(45deg);

	box-sizing: border-box;
}


/* ==========================================================
   LEER
   ========================================================== */

.newatours-reiseberichte-empty {
	max-width: 880px;
	margin: 0 auto;

	font-size: 17px;
	line-height: 1.6;
	color: var(--newa-muted);
}


/* ==========================================================
   LIGHTBOX – BASIS
   ========================================================== */

/* ==========================================================
   LIGHTBOX
   ========================================================== */

.newatours-reisebericht-lightbox[hidden] {
	display: none !important;
}

.newatours-reisebericht-lightbox {
	position: fixed;
	inset: 0;

	z-index: 99999;

	display: flex;
	align-items: center;
	justify-content: center;

	background: rgba(0, 0, 0, 0.88);
}


/* Затемнение */

.newatours-reisebericht-lightbox-backdrop {
	position: absolute;
	inset: 0;

	background: rgba(0, 0, 0, 0.15);
}


/* Основная область */

.newatours-reisebericht-lightbox-inner {
	position: relative;

	z-index: 2;

	width: 100vw;
	height: 100vh;

	display: flex;
	align-items: center;
	justify-content: center;
}


/* Область изображения */

.newatours-reisebericht-lightbox-stage {
	position: absolute;

	top: 55px;
	right: 80px;
	bottom: 70px;
	left: 80px;

	display: flex;
	align-items: center;
	justify-content: center;
}


/* Изображение */

.newatours-reisebericht-lightbox-image {
	display: block;

	max-width: 100%;
	max-height: 100%;

	width: auto;
	height: auto;

	object-fit: contain;

	box-shadow: 0 4px 30px rgba(0, 0, 0, 0.30);
}


/* ==========================================================
   СЧЁТЧИК — СЛЕВА СВЕРХУ
   ========================================================== */

.newatours-reisebericht-lightbox-counter {
	position: absolute;

	top: 18px;
	left: 20px;

	z-index: 10;

	padding: 0;

	background: transparent;

	color: #ffffff;

	font-family: "Source Sans 3", sans-serif;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
}


/* ==========================================================
   КРЕСТИК — СПРАВА СВЕРХУ
   ========================================================== */

.newatours-reisebericht-lightbox-close {
	position: absolute;

	top: 12px;
	right: 18px;

	z-index: 10;

	display: flex;
	align-items: center;
	justify-content: center;

	width: 40px;
	height: 40px;

	padding: 0 !important;

	border: 0 !important;
	border-radius: 0 !important;

	background: transparent !important;
	box-shadow: none !important;

	color: var(--newa-rb-lightbox-close-color) !important;

	font-family: Arial, sans-serif !important;
	font-size: 34px !important;
	font-weight: 300 !important;
	line-height: 1 !important;

	cursor: pointer;

	opacity: 0.9;
}

.newatours-reisebericht-lightbox-close:hover {
	background: transparent !important;
	opacity: 1;
}


/* ==========================================================
   СТРЕЛКИ LIGHTBOX
   ========================================================== */

.newatours-reisebericht-lightbox-prev,
.newatours-reisebericht-lightbox-next {
	position: absolute;

	top: 50%;

	z-index: 10;

	display: flex !important;
	align-items: center;
	justify-content: center;

	width: 54px !important;
	height: 70px !important;

	padding: 0 !important;
	margin: 0 !important;

	border: 0 !important;
	border-radius: 0 !important;

	background: transparent !important;
	box-shadow: none !important;

	color: var(--newa-rb-lightbox-arrow-color) !important;

	cursor: pointer;

	transform: translateY(-50%);

	opacity: 0.85;
}

.newatours-reisebericht-lightbox-prev {
	left: 42px;
}

.newatours-reisebericht-lightbox-next {
	right: 42px;
}

.newatours-reisebericht-lightbox-prev span,
.newatours-reisebericht-lightbox-next span {
	color: var(--newa-rb-lightbox-arrow-color) !important;

	font-family: Arial, sans-serif !important;
	font-size: 58px !important;
	font-weight: 200 !important;
	line-height: 1 !important;
}

.newatours-reisebericht-lightbox-prev:hover,
.newatours-reisebericht-lightbox-next:hover {
	background: transparent !important;
	opacity: 1;
}


/* ==========================================================
   ПОДПИСЬ ФОТО
   ========================================================== */

.newatours-reisebericht-lightbox-caption {
	position: absolute;

	left: 50%;
	bottom: 20px;

	z-index: 10;

	max-width: 850px;

	padding: 0 25px;

	color: #ffffff;

	font-family: "Source Sans 3", sans-serif;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.4;

	text-align: center;

	transform: translateX(-50%);
}

.newatours-reisebericht-lightbox-caption[hidden] {
	display: none !important;
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 1024px) {

	.newatours-reiseberichte-page {
		--newa-rb-text-width: 760px;
		--newa-rb-text-padding-left: 46px;
		--newa-rb-gallery-gap: 12px;
		--newa-rb-arrow-size: 38px;
		--newa-rb-arrow-icon-size: 29px;
	}


	.newatours-reiseberichte-page {
		padding:
			30px
			24px
			70px;
	}


	.newatours-reisebericht-body {
	}


	.newatours-reisebericht-full-text {
		font-size: 16px;
	}


	.newatours-reisebericht-signature {
	}


	.newatours-reisebericht-gallery-item {
		flex-basis: calc(
			(100vw - 48px - 24px) / 3
		);

		width: calc(
			(100vw - 48px - 24px) / 3
		);

		max-width: none;
	}


}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 767px) {

	.newatours-reiseberichte-page {
		--newa-rb-text-padding-left: 34px;
		--newa-rb-quote-size: 48px;
		--newa-rb-quote-top: -6px;
		--newa-rb-arrow-size: 36px;
		--newa-rb-arrow-icon-size: 27px;
		--newa-rb-arrow-offset: 8px;
		--newa-rb-lightbox-close-size: 28px;
		--newa-rb-lightbox-arrow-size: 46px;
	}


	.newatours-reiseberichte-page {
		padding:
			26px
			18px
			55px;
	}


	.newatours-reisebericht-body {
		max-width: none;

	}


	.newatours-reisebericht-quote {
	}


	.newatours-reisebericht-full-text {
		font-size: 15px;
		line-height: 1.65;
	}


	.newatours-reisebericht-full-text p {
		margin-bottom: 15px;
	}


	.newatours-reisebericht-signature {
		max-width: none;

		margin-top: 20px;

		font-size: 14px;
	}


	.newatours-reisebericht-meta {
		font-size: 14px;
	}


	/*
	 * На телефоне уже одна фотография на строку.
	 */
	.newatours-reisebericht-gallery-item {
		flex-basis: calc(100vw - 36px);

		width: calc(100vw - 36px);

		max-width: none;

		aspect-ratio: 16 / 10;
	}


	.newatours-reisebericht-divider {
		margin:
			26px
			0
			30px;
	}


	.newatours-reisebericht-lightbox-inner {
		width: 96vw;
		height: 90vh;
	}


	.newatours-reisebericht-lightbox-prev,
	.newatours-reisebericht-lightbox-next {
		width: 40px;
		height: 40px;

		font-size: 30px;
	}


	.newatours-reisebericht-lightbox-close {
		width: 40px;
		height: 40px;

	}
	
	.newatours-reisebericht-lightbox-stage {
		top: 55px;
		right: 15px;
		bottom: 65px;
		left: 15px;
	}

	.newatours-reisebericht-lightbox-prev {
		left: 8px;
	}

	.newatours-reisebericht-lightbox-next {
		right: 8px;
	}

	.newatours-reisebericht-lightbox-prev,
	.newatours-reisebericht-lightbox-next {
		width: 40px !important;
		height: 60px !important;
	}

	.newatours-reisebericht-lightbox-prev span,
	.newatours-reisebericht-lightbox-next span {
	}

	.newatours-reisebericht-lightbox-caption {
		bottom: 14px;

		width: calc(100% - 40px);
		max-width: none;

		padding: 0;

		font-size: 13px;
	}

}

/* ==========================================================
   Galerie – Elementor Button-Styles überschreiben
   ========================================================== */

.newatours-reiseberichte-page
.newatours-reisebericht-gallery-item {
	display: block !important;

	padding: 0 !important;
	margin: 0 !important;

	border: 0 !important;
	border-radius: 5px !important;

	background: transparent !important;
	background-color: transparent !important;

	box-shadow: none !important;
	outline: none !important;

	overflow: hidden;
	cursor: zoom-in;
}

.newatours-reiseberichte-page
.newatours-reisebericht-gallery-item:hover,
.newatours-reiseberichte-page
.newatours-reisebericht-gallery-item:focus {
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	background-color: transparent !important;
	box-shadow: none !important;
}

.newatours-reiseberichte-page
.newatours-reisebericht-gallery-item img {
	display: block;

	width: 100%;
	height: 100%;

	margin: 0;
	padding: 0;

	border: 0;
	border-radius: 5px;

	object-fit: cover;
}


/* ==========================================================
   Galerie-Pfeile
   ========================================================== */

.newatours-reiseberichte-page
.newatours-gallery-arrow {
	position: absolute;
	top: 50%;
	z-index: 10;

	display: flex !important;
	align-items: center;
	justify-content: center;

	width: 52px !important;
	height: 52px !important;
	min-width: 52px !important;
	min-height: 52px !important;

	padding: 0 !important;
	margin: 0 !important;

	border: 1px solid var(--newa-rb-arrow-border) !important;
	border-radius: 50% !important;

	background: var(--newa-rb-arrow-bg) !important;
	background-color: var(--newa-rb-arrow-bg) !important;

	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18) !important;

	color: var(--newa-rb-arrow-color) !important;

	font-family: Tahoma, sans-serif !important;
	font-size: 0 !important;
	font-weight: 400 !important;
	line-height: 1 !important;

	transform: translateY(-50%);

	cursor: pointer;

	transition:
		background-color 0.2s ease,
		opacity 0.2s ease;
}


/*
 * Pfeile größer und sauber mittig.
 */
.newatours-reiseberichte-page
.newatours-gallery-arrow span {
	display: block;

	width: auto;
	height: auto;

	color: var(--newa-rb-arrow-color) !important;

	font-family: Tahoma, sans-serif !important;
	font-size: 38px !important;
	font-weight: 300 !important;
	line-height: 0.75 !important;

	transform: translateY(-2px);
}


.newatours-reiseberichte-page
.newatours-gallery-prev {
	left: 14px;
}


.newatours-reiseberichte-page
.newatours-gallery-next {
	right: 14px;
}


.newatours-reiseberichte-page
.newatours-gallery-arrow:hover,
.newatours-reiseberichte-page
.newatours-gallery-arrow:focus {
	background: var(--newa-rb-arrow-bg-hover) !important;
	background-color: var(--newa-rb-arrow-bg-hover) !important;
}


.newatours-reiseberichte-page
.newatours-gallery-arrow:disabled {
	opacity: 0.28 !important;

	background: rgba(14, 42, 71, 0.45) !important;

	cursor: default;
}

.newatours-gallery-arrow[hidden] {
	display: none !important;
}

/* ==========================================================
   PDF-DOKUMENT
   ========================================================== */

.newatours-reisebericht-pdf {
	width: 100%;
	max-width: 880px;
	margin: 18px auto 20px;
	box-sizing: border-box;
	font-family: "Source Sans 3", sans-serif;
}

.newatours-reisebericht-pdf-heading {
	display: flex;
	align-items: center;
	gap: 10px;
	width: fit-content;
	color: var(--newa-navy) !important;
	text-decoration: none !important;
	transition: color .2s ease;
}

.newatours-reisebericht-pdf-heading:hover,
.newatours-reisebericht-pdf-heading:focus {
	color: var(--newa-gold) !important;
	text-decoration: none !important;
}

.newatours-reisebericht-pdf-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 24px;
	height: 24px;
	color: var(--newa-gold);
}

.newatours-reisebericht-pdf-icon svg {
	display: block;
	width: 24px;
	height: 24px;
}

.newatours-reisebericht-pdf-title {
	color: inherit;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.3;
}

.newatours-reisebericht-pdf-details {
	margin-left: 34px;
	padding-top: 4px;
}

.newatours-reisebericht-pdf-name {
	color: var(--newa-muted);
	font-size: 14px;
	line-height: 1.35;
	overflow-wrap: anywhere;
}

@media (max-width: 767px) {
	.newatours-reisebericht-pdf {
		max-width: none;
	}
}

