/** ÁREA PRIVADA **/

/* Enlace en el menú */
.ap-nav-link {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-right: 21px;
	color: #b1a798;
	text-decoration: none;
}

.ap-nav-link svg {
	width: 14px;
	height: 14px;
	fill: #b1a798;
	transition: fill 0.15s;
}

.ap-nav-link span {
	font-family: 'Lato';
	font-size: 13px;
	letter-spacing: 2.6px;
	line-height: 18px;
	text-transform: uppercase;
}

.ap-nav-link:hover,
.ap-nav-link:focus,
.ap-nav-link.is-active {
	color: #ffffff;
}

.ap-nav-link:hover svg,
.ap-nav-link:focus svg,
.ap-nav-link.is-active svg {
	fill: #ffffff;
}

.sm-nav-modal .ap-nav-link {
	display: none;
}

@media (max-width: 768px) {
	nav .ap-nav-link {
		display: none;
	}

	.sm-nav-modal .ap-nav-link {
		display: flex;
		margin: 0 0 27px 0;
	}
}

/* Botones */
.ap-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 220px;
	padding: 17px 30px;
	border: 1.5px solid #b1a798;
	border-radius: 6px;
	background-color: #b1a798;
	color: #1e242d;
	font-family: 'Lato';
	font-size: 14px;
	letter-spacing: 2.8px;
	line-height: 18px;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: color 0.15s, background-color 0.15s;
}

.ap-button:hover,
.ap-button:focus {
	background-color: transparent;
	color: #b1a798;
}

.ap-button--outline {
	background-color: transparent;
	color: #b1a798;
}

.ap-button--outline:hover,
.ap-button--outline:focus {
	background-color: #b1a798;
	color: #1e242d;
}

.ap-button[disabled] {
	opacity: 0.6;
	cursor: wait;
}

/* Página */
body.page-template-area-privada {
	background-color: #1e242d;
}

.area-privada {
	min-height: 60vh;
}

.ap-bar {
	border-bottom: 1px solid #39404b;
}

.ap-bar .container {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 30px;
	padding-top: 14px;
	padding-bottom: 14px;
}

.ap-bar__logout {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #b1a798;
	font-family: 'Lato';
	font-size: 13px;
	letter-spacing: 2.6px;
	line-height: 18px;
	text-transform: uppercase;
	text-decoration: none;
}

.ap-bar__logout svg {
	width: 12px;
	height: 12px;
	fill: currentColor;
}

.ap-bar__logout:hover,
.ap-bar__logout:focus {
	color: #ffffff;
}

.ap-mediakit,
.ap-locked {
	padding: 90px 0 160px;
	text-align: center;
}

.ap-mediakit__content,
.ap-locked .container {
	max-width: 820px;
	margin: 0 auto;
}

.ap-mediakit__image {
	display: block;
	width: min(100%, 600px);
	max-height: 420px;
	margin: 0 auto 50px;
	object-fit: contain;
}

.ap-mediakit__pre {
	margin-bottom: 20px;
	letter-spacing: 3.2px;
	text-transform: uppercase;
}

.area-privada h1 {
	margin: 0 auto 30px;
}

.area-privada .text-21 {
	max-width: 640px;
	margin: 0 auto 50px;
	line-height: 32px;
}

.ap-locked__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px;
}

@media (max-width: 992px) {
	.area-privada .text-50 {
		font-size: 34px;
		line-height: 42px;
	}

	.ap-mediakit,
	.ap-locked {
		padding: 60px 0 110px;
	}
}

@media (max-width: 576px) {
	.area-privada .text-50 {
		font-size: 28px;
		line-height: 34px;
	}

	.area-privada .text-21 {
		font-size: 18px;
		line-height: 28px;
	}

	.ap-bar .container {
		justify-content: space-between;
		gap: 12px;
	}

	.ap-bar__user {
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}
}

/* Popup */
html.ap-popup-open {
	overflow: hidden;
}

.ap-popup {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.ap-popup.is-open {
	display: flex;
}

.ap-popup__overlay {
	position: absolute;
	inset: 0;
	background-color: rgba(30, 36, 45, 0.85);
}

.ap-popup__dialog {
	position: relative;
	display: flex;
	width: 100%;
	max-width: 1040px;
	max-height: calc(100vh - 40px);
	border-radius: 6px;
	overflow: hidden;
	background-color: #1e242d;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.ap-popup__image {
	flex: 0 0 42%;
	background-color: #39404b;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

.ap-popup__body {
	position: relative;
	flex: 1 1 auto;
	padding: 50px 50px 40px;
	overflow-y: auto;
	scrollbar-color: #454b55 transparent;
	scrollbar-width: thin;
}

.ap-popup__close {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 40px;
	height: 40px;
	padding: 6px;
	border: 0;
	background: transparent;
}

.ap-popup__close svg {
	width: 28px;
	height: 28px;
	fill: #b1a798;
	transition: fill 0.15s;
}

.ap-popup__close:hover svg,
.ap-popup__close:focus svg {
	fill: #ffffff;
}

.ap-step {
	display: none;
}

.ap-step.is-active {
	display: block;
}

.ap-popup__pre {
	margin-bottom: 12px;
	color: #b1a798;
	font-family: 'Lato';
	font-size: 13px;
	letter-spacing: 2.6px;
	line-height: 18px;
	text-transform: uppercase;
}

.ap-popup__title {
	max-width: 420px;
	margin-bottom: 26px;
	color: #b1a798;
	font-family: 'Lato';
	font-size: 34px;
	font-weight: 300;
	line-height: 40px;
}

/* Formularios */
.ap-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 16px;
}

.ap-form__group {
	margin-bottom: 16px;
}

.ap-form__input {
	width: 100%;
	padding: 15px 18px;
	border: 1.5px solid #454b55;
	border-radius: 6px;
	background-color: transparent;
	color: #ffffff;
	font-family: 'Lato';
	font-size: 15px;
	line-height: 20px;
	transition: border-color 0.15s;
}

.ap-form__input::placeholder {
	color: #8b8478;
}

.ap-form__input:focus {
	outline: none;
	border-color: #b1a798;
}

.ap-form__check {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 4px 0 18px;
	color: #b1a798;
	font-family: 'Lato';
	font-size: 14px;
	font-weight: 300;
	line-height: 20px;
	cursor: pointer;
}

.ap-form__check input {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin-top: 1px;
	accent-color: #b1a798;
}

.ap-form__check a,
.ap-form__text a {
	color: #ffffff;
	text-decoration: underline;
}

.ap-form__text {
	margin-bottom: 12px;
	color: #b1a798;
	font-family: 'Lato';
	font-size: 14px;
	font-weight: 300;
	line-height: 20px;
}

.ap-form__text--center {
	margin: 20px 0 0;
	text-align: center;
}

.ap-form__hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.ap-captcha {
	margin: 8px 0 18px;
}

.ap-captcha cap-widget {
	--cap-background: #1e242d;
	--cap-border-color: #454b55;
	--cap-border-radius: 6px;
	--cap-color: #b1a798;
	--cap-checkbox-border: 1.5px solid #b1a798;
	--cap-checkbox-background: transparent;
	--cap-spinner-color: #b1a798;
	--cap-spinner-background-color: #39404b;
	--cap-font: 'Lato', sans-serif;
}

.ap-form__result p {
	margin-bottom: 16px;
	padding: 12px 16px;
	border-radius: 6px;
	font-family: 'Lato';
	font-size: 14px;
	line-height: 20px;
}

.ap-form__result .is-error {
	border: 1.5px solid #c86b5e;
	color: #f0b8ae;
}

.ap-form__result .is-success {
	border: 1.5px solid #b1a798;
	color: #ffffff;
}

.ap-form__submit {
	width: 100%;
}

@media (max-width: 992px) {
	.ap-popup__image {
		display: none;
	}

	.ap-popup__body {
		padding: 50px 30px 30px;
	}
}

@media (max-width: 576px) {
	.ap-popup {
		padding: 0;
	}

	.ap-popup__dialog {
		max-height: 100vh;
		height: 100%;
		border-radius: 0;
	}

	.ap-popup__body {
		padding: 56px 20px 30px;
	}

	.ap-popup__title {
		font-size: 28px;
		line-height: 34px;
	}

	.ap-form__row {
		grid-template-columns: 1fr;
	}
}
