/*
Theme Name: Valora
Theme URI: https://valoracenters.com/
Author: Lochness
Author URI: https://lochness.com.br/
Description: Custom editable WordPress theme for Valora Behavioral Support Centers.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: valora
*/

.valora-language-switcher {
	align-items: center;
	color: #405063;
	display: inline-flex;
	gap: 6px;
	font-weight: 800;
}

.valora-language-switcher a {
	color: #405063;
	text-decoration: none;
}

.valora-language-switcher a.is-current,
.valora-language-switcher a:hover {
	color: #f3b46e;
}

.mobile-nav__language.valora-language-switcher {
	color: #fff;
}

.mobile-nav__language.valora-language-switcher a {
	color: #fff;
}

.mobile-nav__language.valora-language-switcher a.is-current {
	color: #f3b46e;
}

.valora-video-trigger {
	background: transparent;
	border: 0;
	cursor: pointer;
	display: block;
	padding: 0;
	text-align: inherit;
	width: 100%;
}

.valora-video-trigger h3 {
	margin: 0;
}

.valora-video-modal {
	align-items: center;
	display: none;
	inset: 0;
	justify-content: center;
	padding: 24px;
	position: fixed;
	z-index: 9999;
}

.valora-video-modal.is-open {
	display: flex;
}

.valora-video-modal__overlay {
	background: rgba(25, 35, 46, 0.78);
	inset: 0;
	position: absolute;
}

.valora-video-modal__dialog {
	background: #111;
	border-radius: 8px;
	max-width: 920px;
	position: relative;
	width: min(920px, 96vw);
	z-index: 1;
}

.valora-video-modal__close {
	align-items: center;
	background: #f3b46e;
	border: 0;
	border-radius: 50%;
	color: #fff;
	display: inline-flex;
	height: 42px;
	justify-content: center;
	position: absolute;
	right: -14px;
	top: -14px;
	width: 42px;
	z-index: 2;
}

.valora-video-modal__frame {
	aspect-ratio: 16 / 9;
	overflow: hidden;
	width: 100%;
}

.valora-video-modal__frame iframe,
.valora-video-modal__frame video {
	border: 0;
	display: block;
	height: 100%;
	width: 100%;
}

.valora-privacy-consent {
	align-items: center;
	background: #ffffff;
	border: 1px solid rgba(35, 49, 64, 0.12);
	border-radius: 8px;
	box-shadow: 0 16px 40px rgba(21, 33, 45, 0.18);
	bottom: 18px;
	color: #405063;
	display: none;
	gap: 16px;
	justify-content: space-between;
	left: 50%;
	max-width: 940px;
	padding: 14px 16px 14px 18px;
	position: fixed;
	transform: translateX(-50%);
	width: calc(100% - 32px);
	z-index: 9998;
}

.valora-privacy-consent.is-visible {
	display: flex;
}

.valora-privacy-consent p {
	font-size: 14px;
	line-height: 1.45;
	margin: 0;
}

.valora-privacy-consent a {
	color: #f3a64f;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.valora-privacy-consent__accept {
	background: #f3a64f;
	border: 0;
	border-radius: 6px;
	color: #ffffff;
	cursor: pointer;
	flex: 0 0 auto;
	font-size: 14px;
	font-weight: 800;
	line-height: 1;
	padding: 12px 18px;
}

.valora-privacy-consent__accept:hover,
.valora-privacy-consent__accept:focus {
	background: #df8f34;
	color: #ffffff;
}

@media (max-width: 575px) {
	.valora-privacy-consent {
		align-items: stretch;
		bottom: 12px;
		flex-direction: column;
		gap: 12px;
		padding: 14px;
	}

	.valora-privacy-consent__accept {
		width: 100%;
	}
}
