/* Fondo dinámico (foto welcome) + pie como en la home: texto blanco, sin línea ni bloque blanco */
body.rl-site-photo-bg {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	background-color: #1a2229 !important;
	background-image:
		linear-gradient(to top, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.55) 42%, transparent 100%),
		var(--rl-site-photo-bg-image) !important;
	background-position: bottom center, center center !important;
	background-repeat: no-repeat, no-repeat !important;
	background-size: 100% 160px, cover !important;
	background-attachment: scroll, fixed !important;
}
@media (max-width: 991px) {
	body.rl-site-photo-bg {
		background-image:
			linear-gradient(to top, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.55) 42%, transparent 100%),
			var(--rl-site-photo-bg-image-mobile) !important;
		background-position: bottom center, center top !important;
		background-size: 100% 140px, cover !important;
		background-attachment: scroll, scroll !important;
	}
}

body.rl-site-photo-bg .content-container {
	background: transparent !important;
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}
body.rl-site-photo-bg .content-container.container {
	padding-left: 0;
	padding-right: 0;
	width: 100%;
}
/* Mismo tope que guest-landing / portal: en TV y monitores anchos, margen lateral */
@media (min-width: 1271px) {
	body.rl-site-photo-bg .content-container {
		max-width: 1180px;
		margin-left: auto !important;
		margin-right: auto !important;
	}
	body.rl-site-photo-bg .content-container.container {
		width: min(1180px, calc(100% - 160px));
		max-width: 1180px;
	}
}
body.rl-site-photo-bg .content-container > #contnet {
	flex: 1 0 auto;
}

/* Solo el pie inferior; ocultar pies de ficha/columna y cualquier hr */
body.rl-site-photo-bg .wo-refugio-page-footer,
body.rl-site-photo-bg .rl-sidebar-footer-wrap,
body.rl-site-photo-bg .footer-wrapper-sidebar,
body.rl-site-photo-bg footer .footer-wrapper {
	display: none !important;
}
body.rl-site-photo-bg .second-footer {
	display: block !important;
	width: auto !important;
	max-width: none !important;
	margin: auto 0 0 !important;
	padding: 14px 12px max(18px, env(safe-area-inset-bottom, 0px)) !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	box-sizing: border-box !important;
}
body.rl-site-photo-bg .second-footer .footer-wrapper,
body.rl-site-photo-bg .second-footer .rl-site-footer,
body.rl-site-photo-bg .second-footer .page-margin {
	background: transparent !important;
	box-shadow: none !important;
	border: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
}
body.rl-site-photo-bg .wo-refugio-page-footer hr,
body.rl-site-photo-bg .rl-sidebar-footer-wrap hr,
body.rl-site-photo-bg .footer-wrapper-sidebar hr,
body.rl-site-photo-bg footer .footer-wrapper hr,
body.rl-site-photo-bg .second-footer .footer-wrapper hr,
body.rl-site-photo-bg .footer-wrapper hr,
body.rl-site-photo-bg .rl-site-footer hr {
	display: none !important;
	border: 0 !important;
	margin: 0 !important;
	height: 0 !important;
	padding: 0 !important;
	visibility: hidden !important;
	background: transparent !important;
}
body.rl-site-photo-bg .second-footer .footer-powered {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 0 !important;
	color: #fff !important;
	text-align: center !important;
	white-space: nowrap !important;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85) !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	line-height: 1.35 !important;
}
body.rl-site-photo-bg .second-footer .footer-powered > p,
body.rl-site-photo-bg .second-footer .rl-site-footer__copy,
body.rl-site-photo-bg .second-footer .lang_selct {
	margin: 0 !important;
	text-align: center !important;
	color: #fff !important;
	font-weight: 700 !important;
}
body.rl-site-photo-bg .second-footer .footer-powered .list-inline,
body.rl-site-photo-bg .second-footer .rl-site-footer__links {
	display: flex !important;
	flex-wrap: nowrap !important;
	justify-content: center !important;
	align-items: center !important;
	gap: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	white-space: nowrap !important;
	overflow-x: auto !important;
	scrollbar-width: thin !important;
}
body.rl-site-photo-bg .second-footer .footer-powered .list-inline > li,
body.rl-site-photo-bg .second-footer .rl-site-footer__links > li {
	float: none !important;
	display: inline-flex !important;
	align-items: center !important;
	margin: 0 !important;
	padding: 0 !important;
}
body.rl-site-photo-bg .second-footer .footer-powered .list-inline > li::before,
body.rl-site-photo-bg .second-footer .rl-site-footer__links > li::before,
body.rl-site-photo-bg .second-footer .rl-site-footer__copy + .list-inline::before,
body.rl-site-photo-bg .second-footer .rl-site-footer__copy + .rl-site-footer__links::before {
	content: "•";
	display: inline-block;
	margin: 0 8px;
	color: #fff;
	opacity: 0.9;
	font-weight: 700;
}
body.rl-site-photo-bg footer .footer-powered,
body.rl-site-photo-bg footer .footer-powered p,
body.rl-site-photo-bg footer .footer-powered .list-inline > li > a,
body.rl-site-photo-bg footer .footer-powered .dropdown-toggle,
body.rl-site-photo-bg footer .lang_selct .dropdown-toggle,
body.rl-site-photo-bg footer .lang_selct a,
body.rl-site-photo-bg .second-footer .footer-powered,
body.rl-site-photo-bg .second-footer .footer-powered p,
body.rl-site-photo-bg .second-footer .footer-powered .list-inline > li > a,
body.rl-site-photo-bg .second-footer .footer-powered .dropdown-toggle,
body.rl-site-photo-bg .second-footer .lang_selct .dropdown-toggle,
body.rl-site-photo-bg .second-footer .lang_selct a {
	color: #fff !important;
	font-weight: 700 !important;
}
body.rl-site-photo-bg footer .footer-powered a:hover,
body.rl-site-photo-bg .second-footer .footer-powered a:hover {
	color: rgba(255, 255, 255, 0.92) !important;
	text-decoration: underline !important;
}
body.rl-site-photo-bg footer .footer-powered svg,
body.rl-site-photo-bg .second-footer .footer-powered svg {
	fill: #fff !important;
	color: #fff !important;
}

@media (max-width: 990px) {
	body.rl-site-photo-bg .second-footer {
		display: block !important;
		padding: 12px 12px max(16px, env(safe-area-inset-bottom, 0px)) !important;
	}
	body.rl-site-photo-bg footer .footer-wrapper {
		display: none !important;
	}
	body.rl-site-photo-bg .second-footer .footer-powered {
		flex-wrap: wrap !important;
		white-space: normal !important;
		justify-content: center !important;
		text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85) !important;
		font-size: 12px !important;
		font-weight: 700 !important;
	}
	body.rl-site-photo-bg .second-footer .footer-powered .list-inline,
	body.rl-site-photo-bg .second-footer .rl-site-footer__links {
		flex-wrap: wrap !important;
		white-space: normal !important;
	}
}
