/*
Theme Name: Hello Elementor Child
Theme URI: https://www.solucionweb.com/
Description: Tema hijo personalizado para Hello Elementor con login privado, reglas de acceso, botones flotantes configurables, WhatsApp, shortcodes básicos administrables y seguridad antispam para formularios.
Author: Solución Web
Author URI: https://www.solucionweb.com/
Template: hello-elementor
Version: 2.4.5
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: custom-login, translation-ready, elementor, child-theme
*/

/* =========================================================================
   EL CUBO CENTER — Estilos personalizados
   Cada bloque indica el área o sección del sitio a la que pertenece.
   Las clases se asignan desde el campo "Clases CSS" de cada widget/contenedor
   de Elementor. Colores y tipografías base viven en los estilos globales del kit.
   ========================================================================= */

:root {
	--cubo-negro: #000000;
	--cubo-blanco: #ffffff;
	--cubo-verde: #8dc296;
	--cubo-verde-claro: #7cd8a9;
	--cubo-gris-claro: #f8f8f8;
	--cubo-gris-borde: #c4c4c4;
	--cubo-gris-texto: #4a4a4a;
	--cubo-cubo-svg: url("/wp-content/uploads/2026/09/cubo.svg");
	--cubo-franja: url("/wp-content/uploads/2026/09/franja.jpg");
}

/* =========================================================================
   GLOBAL — Base
   ========================================================================= */

body {
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img {
	height: auto;
}

/* =========================================================================
   CABECERA — Plantilla "Cabecera ES / EN"
   ========================================================================= */

/* Cabecera fija sobre el contenido, igual que en producción. */
.cubo-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 9999;
	box-shadow: 0 7px 12px -12px #222;
}

.elementor-editor-active .cubo-header,
.elementor-editor-preview .cubo-header {
	position: relative;
}

.admin-bar .cubo-header {
	top: 32px;
}

.cubo-header .cubo-header__bar,
.cubo-header .cubo-header__bar > .e-con-inner {
	flex-wrap: nowrap;
}

.cubo-header .cubo-header__col {
	flex: 0 0 auto;
}

.cubo-header__logo img {
	display: block;
}

/* Submenú del menú principal: bloque negro con texto blanco.
   Importante: la clase .elementor-nav-menu--dropdown la llevan tanto los <ul>
   de submenú como el <nav> contenedor del menú desplegable, y ese <nav> va en
   el flujo. Si se le aplica min-width, ensancha la columna del menú, empuja la
   fila y aplasta el logotipo. Por eso las reglas se limitan a los <ul>. */
.cubo-header__nav ul.elementor-nav-menu--dropdown {
	min-width: 210px;
	border-radius: 0;
	box-shadow: 0 12px 24px -18px rgba(0, 0, 0, 0.6);
}

.cubo-header__nav ul.elementor-nav-menu--dropdown li:not(:last-child) > a {
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.cubo-header__nav .elementor-nav-menu__container {
	min-width: 0;
}

.cubo-header__nav .elementor-nav-menu--main .elementor-nav-menu > li > a.elementor-item {
	white-space: nowrap;
}

/* Escritorio: la fila aprovecha todo el ancho disponible (el contenedor global
   de 1140px se queda corto para 8 entradas + logo + redes + idiomas) y el menú
   toma el espacio que necesita, para que no parta en dos líneas. */
@media (min-width: 1025px) {
	.cubo-header .cubo-header__bar > .e-con-inner {
		max-width: min(100% - 30px, 1340px);
	}
	.cubo-header .cubo-header__col--nav {
		width: auto !important;
		flex: 1 1 auto;
	}
	.cubo-header .cubo-header__col--logo {
		width: auto !important;
		flex: 0 0 auto;
		max-width: 200px;
	}
	.cubo-header .cubo-header__col--social,
	.cubo-header .cubo-header__col--lang {
		width: auto !important;
		flex: 0 0 auto;
	}
}

.cubo-header__lang .cpel-switcher__nav,
.cubo-header__lang .cpel-switcher__list {
	white-space: nowrap;
}

.cubo-header__lang .cpel-switcher__list {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cubo-header__lang a {
	text-decoration: none;
}

.cubo-header__lang li + li::before {
	content: "|";
	color: var(--cubo-gris-borde);
	font-size: 12px;
	margin-right: 6px;
}

@media (max-width: 1024px) {
	.cubo-header .cubo-header__bar {
		gap: 10px;
	}
	.cubo-header .cubo-header__col--logo {
		flex: 1 1 auto;
		order: 1;
		min-width: 0;
		width: auto !important;
	}
	.cubo-header .cubo-header__col--social {
		order: 2;
	}
	.cubo-header .cubo-header__col--lang {
		order: 3;
	}
	.cubo-header .cubo-header__col--nav {
		order: 4;
	}
	.cubo-header .cubo-header__nav .elementor-menu-toggle {
		margin: 0;
	}
	.cubo-header__nav ul.elementor-nav-menu--dropdown {
		min-width: 240px;
	}

	/* Los anchos porcentuales de Elementor no dan de sí para el selector de
	   idioma ("Español | English" pide 121px y tenía 112), así que el texto se
	   salía por la derecha y quedaba debajo de la hamburguesa. Cada columna toma
	   el ancho que necesita y el logotipo se queda con el resto. */
	.cubo-header .cubo-header__col--social,
	.cubo-header .cubo-header__col--lang,
	.cubo-header .cubo-header__col--nav {
		width: auto !important;
		flex: 0 0 auto;
		min-width: 0;
	}

	/* Altura fija del logotipo: así la barra mide siempre lo mismo (72px) en
	   lugar de crecer hasta 112px o encogerse a 37px según el dispositivo. */
	.cubo-header__logo img {
		height: 50px !important;
		width: auto !important;
		max-width: 100% !important;
	}
}

/* En móvil los iconos sociales están ocultos, pero su columna seguía
   reservando ancho. Están en el pie. */
@media (max-width: 767px) {
	.cubo-header .cubo-header__col--social {
		display: none;
	}
}

/* Menú desplegable de tablet y móvil.
   Elementor lo deja en el flujo, dentro de la columna del menú: al abrirlo
   estiraba la cabecera y la lista quedaba encajonada en una columna estrecha
   con los textos cortados. Aquí cuelga de la cabecera como panel a todo el
   ancho, sin alterar la altura de la barra. */
@media (max-width: 1024px) {
	.cubo-header .cubo-header__col--nav,
	.cubo-header .cubo-header__nav {
		position: static;
	}

	.cubo-header__nav nav.elementor-nav-menu__container {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		width: 100%;
		max-height: calc(100vh - 110px);
		overflow-y: auto;
		background: var(--cubo-blanco);
		border-top: 1px solid rgba(0, 0, 0, 0.08);
		box-shadow: 0 22px 34px -24px rgba(0, 0, 0, 0.5);
	}

	.cubo-header__nav nav.elementor-nav-menu__container ul.elementor-nav-menu,
	.cubo-header__nav nav.elementor-nav-menu__container ul.elementor-nav-menu li {
		display: block;
		width: 100%;
	}

	.cubo-header__nav nav.elementor-nav-menu__container ul.elementor-nav-menu li > a.elementor-item {
		display: flex;
		align-items: center;
		justify-content: space-between;
		width: 100%;
		padding: 15px 24px !important;
		font-size: 15px !important;
		line-height: 1.4 !important;
		border-bottom: 1px solid rgba(0, 0, 0, 0.07);
	}

	.cubo-header__nav nav.elementor-nav-menu__container ul.elementor-nav-menu--dropdown {
		min-width: 0;
		box-shadow: none;
		background: rgba(0, 0, 0, 0.035);
	}

	.cubo-header__nav nav.elementor-nav-menu__container ul.elementor-nav-menu--dropdown li > a.elementor-item {
		padding-left: 42px !important;
		font-size: 14px !important;
	}
}

/* =========================================================================
   PORTADA — Ventana modal de promoción (plantilla Popup)
   ========================================================================= */

.cubo-popup__img img {
	display: block;
	width: 100%;
	height: auto;
}

.cubo-popup-home .dialog-close-button {
	color: #ffffff;
	font-size: 22px;
}

/* =========================================================================
   CABECERA — Enlace lateral fijo "¡Contáctanos! / Contact us!"
   ========================================================================= */

.cubo-contacto-lateral__wrap {
	position: fixed;
	top: 50%;
	right: 0;
	left: auto;
	z-index: 998;
	--width: max-content;
	width: max-content !important;
	min-width: 0 !important;
	max-width: none;
	padding: 0 !important;
	transform: translateY(-50%);
}

.cubo-contacto-lateral {
	width: auto !important;
	writing-mode: vertical-rl;
	transform: rotate(180deg);
}

.cubo-contacto-lateral p {
	margin: 0;
	background: var(--cubo-negro);
	padding: 20px 9px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 2px;
	white-space: nowrap;
	transition: background 0.25s ease;
}

.cubo-contacto-lateral a,
.cubo-contacto-lateral a:hover {
	color: var(--cubo-blanco);
	text-decoration: none;
}

.cubo-contacto-lateral p:hover {
	background: var(--cubo-verde);
}

.cubo-contacto-lateral p:hover a {
	color: var(--cubo-negro);
}

/* =========================================================================
   PIE DE PÁGINA — Plantilla "Pie ES / EN"
   ========================================================================= */

.cubo-footer__cols .cubo-footer__col {
	flex: 1 1 220px;
	min-width: 0;
}

.cubo-footer__cols .cubo-footer__col--marca {
	flex: 1.3 1 260px;
}

.cubo-footer__titulo {
	margin-bottom: 14px;
}

.cubo-footer__titulo .elementor-heading-title {
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	line-height: 1.4;
}

.cubo-footer__texto p {
	margin-bottom: 12px;
	font-size: 14px;
	line-height: 1.8;
}

.cubo-footer .cubo-footer__texto a {
	color: #c9c9c9;
	font-weight: 400;
}

.cubo-footer .cubo-footer__texto a:hover,
.cubo-footer .cubo-footer__copy a:hover {
	color: var(--cubo-verde);
}

.cubo-footer__menu .elementor-nav-menu a {
	padding-left: 0;
}

.cubo-footer__copy p {
	margin: 0;
	font-size: 12px;
}

.cubo-footer .cubo-footer__copy a {
	color: #8e8e8e;
	font-weight: 400;
	text-decoration: underline;
	text-underline-offset: 3px;
}

@media (max-width: 767px) {
	.cubo-footer__col,
	.cubo-footer__copy {
		text-align: center;
	}
	.cubo-footer__menu .elementor-nav-menu {
		align-items: center;
	}
}

/* =========================================================================
   GLOBAL — Títulos de sección con cubo decorativo y franja
   (Inicio: claim, Cubonidad y ¿Por qué nosotros?)
   ========================================================================= */

.cubo-deco {
	position: relative;
	background-repeat: no-repeat;
}

.cubo-deco::after {
	content: "";
	position: absolute;
	bottom: 0;
	height: 2px;
	background: var(--cubo-franja) no-repeat;
	background-size: 100% 2px;
}

.cubo-deco--der1 {
	background-image: var(--cubo-cubo-svg);
	background-position: 71% 76px;
}

.cubo-deco--der1::after {
	right: 0;
	width: 28.5%;
}

.cubo-deco--izq {
	background-image: var(--cubo-cubo-svg);
	background-position: 29% 78px;
}

.cubo-deco--izq::after {
	left: 0;
	width: 28.5%;
}

.cubo-deco--der2 {
	background-image: var(--cubo-cubo-svg);
	background-position: 70% 66px;
}

.cubo-deco--der2::after {
	right: 0;
	width: 29.5%;
}

@media (max-width: 767px) {
	.cubo-deco {
		background-image: none !important;
	}
	.cubo-deco::after {
		width: 55% !important;
	}
}

/* =========================================================================
   PÁGINAS INTERNAS — Cabecera con barra y franja
   (Oficinas, Eventos, Blog)
   ========================================================================= */

.cubo-hero-pagina {
	position: relative;
}

.cubo-hero-pagina::after {
	content: "";
	position: absolute;
	bottom: 0;
	height: 2px;
	width: var(--cubo-franja-ancho, 38%);
	background: var(--cubo-franja) no-repeat;
	background-size: 100% 2px;
}

.cubo-hero-pagina--izq::after { left: 0; }
.cubo-hero-pagina--der::after { right: 0; }

.cubo-franja-41 { --cubo-franja-ancho: 41%; }
.cubo-franja-38 { --cubo-franja-ancho: 38%; }
.cubo-franja-35 { --cubo-franja-ancho: 35.3%; }
.cubo-franja-32 { --cubo-franja-ancho: 32%; }

.cubo-hero-pagina__barra img {
	width: 81px;
	height: 7px;
}

/* =========================================================================
   GLOBAL — Etiquetas negras rotadas 90° (marcadores de sección)
   ========================================================================= */

.cubo-col-rot {
	position: relative;
	align-self: stretch;
}

/* Cuando la columna termina en un botón (Café y Bistro), el texto absorbe el
   alto sobrante para que los botones de columnas hermanas queden alineados. */
.cubo-col-rot > .elementor-widget-text-editor:has(~ .elementor-widget-button) {
	flex: 1 1 auto;
}

/* Elementor fija el ancho de cada widget al 100% del contenedor: la etiqueta
   rotada necesita su propio ancho y desplazamiento, como en producción. */
.cubo-col-rot .cubo-rot,
.cubo-rot {
	position: absolute;
	top: var(--rot-t, 120px);
	left: var(--rot-l, auto);
	right: var(--rot-r, auto);
	width: var(--rot-w, 400px) !important;
	max-width: var(--rot-w, 400px) !important;
	--container-widget-width: var(--rot-w, 400px);
	margin: 0 !important;
	transform: rotate(-90deg);
	text-align: center;
	z-index: 2;
}

.cubo-rot .elementor-heading-title {
	display: block;
	/* La caja negra nunca queda más estrecha que su palabra más larga: con un
	   ancho fijo, un rótulo de una sola palabra larga ("¡Contáctanos!") se salía
	   de la caja y se veía cortado. Los rótulos de varias palabras siguen
	   repartiendo en dos líneas como hasta ahora. */
	min-width: min-content;
	max-width: none;
	background: var(--cubo-negro);
	color: var(--cubo-blanco);
	font-family: "Montserrat", sans-serif;
	font-weight: 700;
	line-height: 1.1em;
	font-size: var(--rot-fs, 45px);
	padding: var(--rot-p, 18px 20px);
	text-transform: uppercase;
}

.cubo-rot--elcubo     { --rot-w: 470px; --rot-t: 163px; --rot-l: -173px;   --rot-fs: 90px; --rot-p: 18px 20px; }
.cubo-rot--nosotros   { --rot-w: 602px; --rot-t: 157px; --rot-r: -157px;   --rot-fs: 75px; --rot-p: 55px 60px; }
.cubo-rot--daypass    { --rot-w: 300px; --rot-t: 111px; --rot-l: -70px;    --rot-fs: 41px; --rot-p: 55px 0; --rot-lh: 0.9em; }
.cubo-rot--restaurante{ --rot-w: 639px; --rot-t: 271px; --rot-l: -272px;   --rot-fs: 60px; --rot-p: 18px 20px; }
.cubo-rot--cafe       { --rot-w: 639px; --rot-t: 271px; --rot-r: -271.5px; --rot-fs: 60px; --rot-p: 18px 20px; }
.cubo-rot--informacion{ --rot-w: 385px; --rot-t: 113px; --rot-l: 43px;     --rot-fs: 43px; --rot-p: 50px 20px; }
.cubo-rot--contacto   { --rot-w: 640px; --rot-t: 217px; --rot-l: -75px;    --rot-fs: 48px; --rot-p: 50px 20px; }

@media (max-width: 1024px) {
	.cubo-rot--elcubo     { --rot-w: 489px; --rot-t: 211px; --rot-l: -190px; --rot-fs: 52px; }
	.cubo-rot--nosotros   { --rot-t: 184px; --rot-fs: 52px; }
	.cubo-rot--daypass    { --rot-t: 115px; --rot-l: -43px; }
	.cubo-rot--restaurante{ --rot-w: 489px; --rot-t: 255px; --rot-l: -190px; --rot-fs: 52px; }
	.cubo-rot--cafe       { --rot-w: 489px; --rot-t: 255px; --rot-r: -191px; --rot-fs: 52px; }
	.cubo-rot--informacion{ --rot-w: 489px; --rot-t: 211px; --rot-l: -161px; --rot-fs: 40px; }
	.cubo-rot--contacto   { --rot-w: 489px; --rot-t: 180px; --rot-l: -163px; --rot-fs: 52px; }
}

@media (max-width: 767px) {
	.cubo-rot {
		display: none;
	}
}

/* Versión móvil de la etiqueta: bloque negro horizontal */
.cubo-etiqueta-movil .elementor-heading-title {
	display: block;
	background: var(--cubo-negro);
	color: var(--cubo-blanco);
	padding: 22px 10px;
	line-height: 1.1;
}

/* =========================================================================
   INICIO — Hero
   ========================================================================= */

.cubo-hero__video .elementor-wrapper {
	box-shadow: 0 18px 40px -28px rgba(0, 0, 0, 0.8);
}

/* =========================================================================
   INICIO — Tarjetas de espacios (etiqueta alternada arriba/abajo)
   ========================================================================= */

.cubo-cards .cubo-card {
	flex: 1 1 0;
	min-width: 0;
	overflow: hidden;
}

@media (max-width: 1024px) {
	.cubo-cards .cubo-card {
		flex: 1 1 calc(50% - 6px);
	}
}

@media (max-width: 767px) {
	.cubo-cards .cubo-card {
		flex: 1 1 100%;
	}
}

/* El enlace que envuelve la imagen es inline-block y se encogía al ancho
   intrínseco de la foto (200px), dejando la imagen más estrecha que su
   etiqueta negra. En bloque ocupa toda la tarjeta. */
.cubo-card__img > a,
.cubo-card__img figure {
	display: block;
	width: 100%;
}

.cubo-card__img img {
	width: 100%;
	height: 300px;
	object-fit: cover;
	display: block;
	transition: transform 0.6s ease;
}

.cubo-card:hover .cubo-card__img img {
	transform: scale(1.05);
}

/* Altura fija: con padding porcentual una etiqueta de una línea ("Coworking")
   y otra de dos ("Reuniones corporativas") medían distinto y desalineaban las
   imágenes de las tarjetas alternas. */
.cubo-card__label .elementor-heading-title {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 132px;
	background: var(--cubo-negro);
	color: var(--cubo-blanco);
	padding: 16px 14px;
	text-align: center;
	line-height: 1.2;
	transition: background 0.3s ease, color 0.3s ease;
}

@media (max-width: 1024px) {
	.cubo-card__label .elementor-heading-title {
		min-height: 150px;
	}
}

@media (max-width: 767px) {
	.cubo-card__label .elementor-heading-title {
		min-height: 120px;
	}
}

.cubo-card__label a {
	color: inherit;
}

.cubo-card:hover .cubo-card__label .elementor-heading-title {
	background: var(--cubo-verde);
	color: var(--cubo-negro);
}

/* =========================================================================
   INICIO — Bloque "El Cubo" y galerías
   ========================================================================= */

.cubo-galeria img {
	width: 100%;
	height: auto;
	display: block;
}

.cubo-galeria--440 .swiper-slide img { height: 440px; object-fit: cover; }
.cubo-galeria--420 .swiper-slide img { height: 420px; object-fit: cover; }

@media (max-width: 767px) {
	.cubo-galeria--440 .swiper-slide img,
	.cubo-galeria--420 .swiper-slide img { height: 260px; }
}

.cubo-img-fija img {
	width: 100%;
	object-fit: cover;
	display: block;
}

/* =========================================================================
   INICIO — Cubonidad (caja gris de fondo) y testimonios
   ========================================================================= */

.cubo-cubonidad {
	position: relative;
}

.cubo-cubonidad::before {
	content: "";
	position: absolute;
	top: 306px;
	left: 4%;
	right: 4%;
	/* Elementor da width:100% a los ::before de sus contenedores; sin este auto
	   la caja mide el ancho completo desde left:4% y provoca scroll horizontal. */
	width: auto;
	height: 82%;
	background: var(--cubo-gris-claro);
	z-index: 0;
}

.cubo-cubonidad > .e-con-inner {
	position: relative;
	z-index: 1;
}

@media (max-width: 767px) {
	.cubo-cubonidad::before {
		top: 200px;
		height: 616px;
	}
}

.cubo-testimonios .elementor-testimonial__image img {
	object-fit: contain;
	border-radius: 0;
}

/* =========================================================================
   INICIO — Servicios incluidos (8 iconos)
   ========================================================================= */

.cubo-servicios .cubo-servicio-col {
	flex: 1 1 calc(12.5% - 9px);
	min-width: 0;
}

@media (max-width: 1024px) {
	.cubo-servicios .cubo-servicio-col {
		flex: 1 1 calc(25% - 8px);
	}
}

@media (max-width: 767px) {
	.cubo-servicios .cubo-servicio-col {
		flex: 1 1 calc(50% - 6px);
	}
}

/* Elementor fija el ancho de la figura al 30 % de la columna (40px), así que el
   icono quedaba pegado a la izquierda mientras su texto iba centrado, y los
   140px de alto dejaban 100px en blanco encima de cada icono. */
.cubo-servicio .elementor-image-box-img {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100% !important;
	height: auto;
	margin-bottom: 14px;
}

.cubo-servicio .elementor-image-box-img img {
	width: auto;
	height: 56px;
	max-height: 56px;
	max-width: 100%;
}

/* Reserva sitio para los rótulos de dos líneas: así todas las columnas miden
   igual y las filas no quedan escalonadas al envolver en tablet y móvil. */
.cubo-servicio .elementor-image-box-title {
	min-height: 2.6em;
}

/* =========================================================================
   NOSOTROS — Texto sobre bloque negro y botones inferiores
   ========================================================================= */

.cubo-nosotros__texto a {
	color: var(--cubo-blanco);
}

.cubo-share .elementor-share-btn {
	background: transparent;
}

/* =========================================================================
   DAY PASS / ESPACIOS — Listas, precios y botones sobre bloque negro
   ========================================================================= */

.cubo-lista ul {
	list-style: none;
	padding-left: 22px;
	margin: 0;
}

.cubo-lista ul li {
	position: relative;
	margin-bottom: 10px;
	line-height: 1.5;
}

.cubo-lista ul li::before {
	content: "";
	position: absolute;
	left: -22px;
	top: 0.5em;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--cubo-negro);
}

.cubo-lista-simple ul {
	padding-left: 18px;
	margin: 0;
}

.cubo-bloque-negro {
	background: var(--cubo-negro);
}

.cubo-precio p {
	margin: 0;
	line-height: 1.6;
}

.cubo-precio h4 {
	margin: 0 0 6px;
	font-size: 18px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.cubo-precio__monto {
	font-size: 30px;
	font-weight: 700;
	letter-spacing: -0.9px;
}

/* Cada importe viaja junto a su nota y ninguno de los dos se parte: antes
   "Taxes included" quedaba repartido en dos líneas con "included" colgando. */
.cubo-precio__par,
.cubo-precio__nota {
	white-space: nowrap;
}

.cubo-precio__sep {
	display: inline-block;
	width: 1px;
	height: 24px;
	margin: 0 12px;
	vertical-align: middle;
}

/* =========================================================================
   EVENTOS — Bloques alternos imagen / texto
   ========================================================================= */

.cubo-evento-bloque__img img {
	max-height: 400px;
	width: auto;
}

.cubo-evento-bloque__texto strong {
	font-size: 22px;
	line-height: 1.3;
	display: inline-block;
	margin-bottom: 6px;
}

@media (max-width: 767px) {
	.cubo-evento-bloque__img img {
		max-height: 320px;
		margin: 0 auto;
	}
}

/* =========================================================================
   AGENDA Y LEGALES — Título grande con cubo decorativo
   ========================================================================= */

.cubo-titulo-cubo .elementor-widget-container {
	padding: 3px 0 35px;
	background: var(--cubo-cubo-svg) no-repeat 39% 115px;
}

@media (max-width: 767px) {
	.cubo-titulo-cubo .elementor-widget-container {
		background-image: none;
		padding-bottom: 18px;
	}
}

.cubo-actividad__datos p {
	margin: 0;
	line-height: 1.8;
}

/* =========================================================================
   FORMULARIOS — Elementor Forms (Contacto, Eventos, Espacios)
   ========================================================================= */

.cubo-form .elementor-field-group > label {
	margin-bottom: 6px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.cubo-form input::placeholder,
.cubo-form textarea::placeholder {
	opacity: 1;
	color: #9b9b9b;
}

.cubo-form textarea {
	resize: none;
}

.cubo-form .elementor-field-type-acceptance .elementor-field-option {
	font-size: 12px;
	line-height: 1.6;
}

.cubo-form .elementor-message {
	font-size: 14px;
	margin-top: 10px;
}

.cubo-form--oscuro .elementor-field-group > label,
.cubo-form--oscuro .elementor-field-type-acceptance .elementor-field-option {
	color: var(--cubo-blanco);
}

.cubo-form--oscuro input:not([type="submit"]),
.cubo-form--oscuro select,
.cubo-form--oscuro textarea {
	background: transparent;
	border-bottom-color: rgba(255, 255, 255, 0.55);
	color: var(--cubo-blanco);
}

.cubo-form--oscuro input::placeholder,
.cubo-form--oscuro textarea::placeholder {
	color: rgba(255, 255, 255, 0.7);
}

/* =========================================================================
   BLOG — Listado y artículo
   ========================================================================= */

.cubo-blog-grid .elementor-post__title a:hover {
	color: var(--cubo-verde);
}

.cubo-blog-grid .elementor-post__read-more::after {
	content: "→";
	margin-left: 6px;
	transition: margin-left 0.25s ease;
}

.cubo-blog-grid .elementor-post__read-more:hover::after {
	margin-left: 12px;
}

.cubo-articulo__contenido h2,
.cubo-articulo__contenido h3,
.cubo-articulo__contenido h4 {
	margin-top: 1.6em;
}

.cubo-articulo__contenido img {
	margin: 1.2em 0;
}

/* =========================================================================
   PÁGINAS LEGALES — Políticas de privacidad y seguridad
   ========================================================================= */

.cubo-legal h2 {
	font-size: 22px;
	margin: 1.6em 0 0.5em;
}

.cubo-legal ul {
	padding-left: 20px;
	margin-bottom: 1.2em;
}

.cubo-legal li {
	margin-bottom: 8px;
}

/* =========================================================================
   GRACIAS — Confirmación de envío
   ========================================================================= */

/* La caja tenía ancho fijo de 1140px más márgenes laterales y desbordaba el
   contenedor: con ancho automático queda centrada dentro de sus márgenes. */
.cubo-gracias__caja {
	width: auto !important;
	max-width: 100%;
}

.cubo-gracias__caja p {
	margin: 0 0 8px;
}

/* =========================================================================
   UTILIDADES
   ========================================================================= */

.cubo-sin-margen p:last-child {
	margin-bottom: 0;
}

/* ==========================================================================
   BLOQUE "COMPARTIR" DE ENTRADAS Y PÁGINAS INTERNAS
   ========================================================================== */

/* Elementor reparte los botones a lo ancho de la columna (121px cada uno) y
   dejaba la etiqueta en una línea aparte. Aquí van etiqueta e iconos en la
   misma línea, pegados a la derecha y a la altura del botón "Regresar". */
.e-con:has(> .elementor-widget-share-buttons) {
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 16px;
}

.e-con:has(> .elementor-widget-share-buttons) > .elementor-widget {
	width: auto;
}

.elementor-widget-share-buttons .elementor-share-buttons {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 8px;
}

.elementor-widget-share-buttons .elementor-share-btn {
	flex: 0 0 auto;
	width: 44px;
	min-width: 0;
	height: 44px;
	margin: 0;
}

@media (max-width: 767px) {
	.e-con:has(> .elementor-widget-share-buttons) {
		justify-content: center;
	}
	.elementor-widget-share-buttons .elementor-share-buttons {
		justify-content: center;
	}
}
