/* Fondo dinámico (foto welcome) + pie como en la home: texto blanco, sin línea ni bloque blanco */
body.rl-site-photo-bg {
	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;
}

/* 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: 0 !important;
	padding: 10px 12px 14px !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 2px rgba(0, 0, 0, 0.75) !important;
	font-size: 11px !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;
}
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;
}
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;
}
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.88) !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: 10px 12px max(14px, 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 2px rgba(0, 0, 0, 0.75) !important;
		font-size: 11px !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;
	}
}
