/* ============================================
   ONLY-TEXT TEMPLATE STYLES
   Estilos específicos para las plantillas:
   - only-text.xsl (común)
   - only-text-center.xsl
   - only-text-left.xsl
   ============================================ */

/* Contenedor principal */
#restingplaceSec {
	position: relative;
	padding-top: 70px;
	padding-bottom: 80px;
	overflow: hidden;
}

#middleFlex #restingplaceSec {
	padding-bottom: 20px;
}

/* Contenedor de contenido */
#restingplaceSec .content {
	float: left;
	width: 100%;
}

/* Texto decorativo grande de fondo (ENJOY) */
#restingplaceSec .content .enjoyBox {
	float: left;
	margin-left: calc(0px - var(--container-padding));
	font-family: var(--font-title-family);
	font-size: 170px;
	color: var(--color-grey-soft);
	line-height: 140px;
	text-transform: uppercase;
	position: relative;
	z-index: 1;
}

/* Subtítulo (span.title) */
#restingplaceSec .content span.title {
	display: block;
	margin: 0 0 20px 10%;
	font-family: var(--font-regular-family);
	font-size: var(--font-subtitle-size);
	color: var(--color-primary);
	line-height: 50px;
}

/* Color especial para variante "plus" */
#middle.plus .title {
	color: var(--color-plus) !important;
}

/* Título principal (h1) */
#restingplaceSec .content h1,
#restingplaceSec .content .h1 {
	margin: 0 0 40px 10%;
	font-family: var(--font-uppercase-family);
	font-size: var(--font-title-size);
	color: var(--color-black);
	text-transform: uppercase;
}

#restingplaceSec .content h3 {
	margin: 0 0 40px 10%;
}

/* Subtítulo secundario (h2) - usado en variantes center/left */
#restingplaceSec .content h2 {
	margin: 0 0 20px 10%;
	width: 80%;
	font-family: var(--font-title-family);
	font-size: var(--font-subtitle-size);
	color: var(--color-primary);
	text-transform: uppercase;
}

/* Párrafos de contenido */
#restingplaceSec .content p {
	width: 80%;
	margin: 0 0 20px 10%;
	font-size: var(--font-text-size);
	color: var(--color-black);
	font-weight: 400;
}

/* Variante content-left en middleFlex */
#middleFlex .content-left .content p {
	width: 80%;
}

/* Listas */
#restingplaceSec .content ul {
	margin: 0 0 20px 10%;
	width: 80%;
}

/* Bloque "Leer más" (more) */
#middleFlex .content-left .more {
	display: flex;
	width: 80%;
	justify-content: center;
	align-items: center;
	margin: 0 0 20px 10%;
}

/* Botones */
#restingplaceSec .content button {
	border-radius: 50px;
}

/* Último párrafo sin margen inferior */
#restingplaceSec .content p:last-child {
	margin-bottom: 0;
}

/* Enlace "Leer más" (readmore) */
#restingplaceSec .content .readmore {
	float: left;
	width: 80%;
	margin: 0 0 20px 10%;
	clear: both;
}

#restingplaceSec .content .readmore a {
	display: inline-flex;
	align-items: center;
	grid-gap: 20px;
	margin: 0;
	font-size: 16px;
	color: var(--color-black);
	font-weight: 700;
	line-height: 30px;
	text-transform: uppercase;
	transition: all 0.3s ease-in-out;
}

/* Línea decorativa del enlace "Leer más" */
#restingplaceSec .content .readmore a:after {
	content: "";
	width: 40px;
	border-top: 1px solid;
	transition: all 0.3s ease-in-out;
}

#restingplaceSec .content .readmore a:hover {
	color: var(--color-black);
}

/* Animación de línea en hover */
#restingplaceSec .content .readmore a:hover:after {
	width: 60px;
}

/* ============================================
   RESPONSIVE: Large Screens (1180px - 1366px)
   ============================================ */
@media only screen and (min-width: 1180px) and (max-width: 1366px) {
	#restingplaceSec .content .enjoyBox {
		font-size: 130px;
		line-height: 100px;
	}
}

/* ============================================
   RESPONSIVE: Desktop (959px - 1180px)
   ============================================ */
@media only screen and (min-width: 959px) and (max-width: 1180px) {
	#restingplaceSec .content .enjoyBox {
		font-size: 140px;
		line-height: 110px;
	}

	#restingplaceSec .content h2 {
		width: 70%;
	}

	#restingplaceSec .content p {
		width: 70%;
	}

	#restingplaceSec .content .readmore {
		width: 70%;
	}
}

/* ============================================
   RESPONSIVE: Tablet (768px - 959px)
   ============================================ */
@media only screen and (min-width: 768px) and (max-width: 959px) {
	#restingplaceSec .content .enjoyBox {
		font-size: 110px;
		line-height: 90px;
	}

	#restingplaceSec .content span.title {
		margin: 0 0 20px 5%;
	}

	#restingplaceSec .content h1 {
		margin: 0 0 20px 5%;
	}

	#restingplaceSec .content h2 {
		width: 70%;
		margin: 0 0 15px 5%;
		font-size: 26px;
		line-height: 36px;
	}

	#restingplaceSec .content p {
		width: 70%;
		margin: 0 0 20px 5%;
	}

	#restingplaceSec .content .readmore {
		width: 70%;
		margin: 0 0 20px 5%;
	}

	#restingplaceSec .content .readmore a {
		font-size: 16px;
		line-height: 20px;
	}
}

/* ============================================
   RESPONSIVE: Mobile (≤ 767px)
   ============================================ */
@media only screen and (max-width: 767px) {
	/* EnjoyBox se oculta en mobile */
	#restingplaceSec .content .enjoyBox {
		display: none;
		font-size: 70px;
		line-height: 70px;
	}

	/* Títulos sin margen izquierdo */
	#restingplaceSec .content span.title {
		margin: 0 0 20px 0;
	}

	#restingplaceSec .content h1 {
		margin: 0 0 20px 0;
	}

	/* h2 ocupa todo el ancho */
	#restingplaceSec .content h2 {
		float: left;
		width: 100%;
		margin: 0 0 15px 0;
		font-size: 26px;
		line-height: 36px;
	}

	/* Párrafos ocupan todo el ancho */
	#restingplaceSec .content p {
		float: left;
		width: 100%;
	}

	/* Readmore ocupa todo el ancho */
	#restingplaceSec .content .readmore {
		float: left;
		width: 100%;
		margin-top: 20px;
	}

	#restingplaceSec .content .readmore a {
		font-size: 16px;
		line-height: 20px;
	}
}

/* ============================================
   RESPONSIVE: Tablet/Mobile (≤ 992px)
   ============================================ */
@media (max-width: 992px) {
	#restingplaceSec {
		padding-top: 70px;
		padding-bottom: 0;
	}

	/* Layout flex en columna */
	#middleFlex {
		flex-direction: column;
	}

	#middleFlex .content-left,
	#middleFlex .content-right {
		width: 100%;
	}

	#middleFlex .content-left .content p {
		width: 100%;
	}

	#middleFlex .content-left .more {
		width: 100%;
	}

	#restingplaceSec .content ul {
		width: 100%;
	}
}
