/*
 Theme Name:   Hotel WP Child
 Theme URI:    http://thimpress.com/
 Description:  Hotel WP Child Theme
 Author:       ThimPress
 Author URI:   http://thimpress.com
 Template:     hotel-wp
 Version:      1.0.0
 Text Domain:  hotel-wp-child
*/

/* ===== Color global de enlaces ===== */
a,
.entry-content a,
.wpb_text_column a,
.mk-text-block a,
.elementor-widget-text-editor a,
.elementor-widget-html a,
.elementor-widget-shortcode a {
	color: #1c519b !important;
}

a:hover,
.entry-content a:hover,
.wpb_text_column a:hover,
.mk-text-block a:hover,
.elementor-widget-text-editor a:hover,
.elementor-widget-html a:hover,
.elementor-widget-shortcode a:hover {
	color: #438ae8 !important;
}

/* Botones de Elementor: mantener texto blanco */
.elementor-button,
.elementor-button:hover,
.elementor-button:focus,
.elementor-button:visited {
	color: #ffffff !important;
}

/* Negritas dentro de texto con enlace o en bloques de contenido */
.entry-content strong,
.wpb_text_column strong,
.mk-text-block strong,
.elementor-widget-text-editor strong,
.elementor-widget-html strong {
	color: #1c519b;
}

/* Descripción de los iconos de servicios (sección "Jardines / Ocio / ...") */
.list-icon-box .box-item .description {
	color: #ffffff;
}

/* Sección "Tu casa en Granada": título H2 y texto descriptivo */
.introduce-heading .heading_secondary {
	color: #1c519b !important;
}
.introduce-heading .heading-des,
.introduce-heading .heading-des p {
	color: #696464 !important;
	font-size: 16px !important;
}

/* Título del formulario de reserva hbook: igualar al H3 del tema */
h3.hb-title,
h3.hb-title-search-form,
.hb-title-search-form {
	font-family: var(--thim_font_title-font-family) !important;
	font-size: var(--thim_font_h3-font-size) !important;
	line-height: var(--thim_font_h3-line-height) !important;
	text-transform: var(--thim_font_h3-text-transform) !important;
	font-weight: var(--thim_font_title-variant) !important;
	color: var(--thim_font_title-color) !important;
}

/* Título "Inscripciones Curso" (widget insc_txt_w): sin margin-top */
.elementor-element-insc_txt_w h3 {
	margin-top: 0;
}

/* Títulos H2/H3 dentro de bloques text-editor */
.elementor-widget-text-editor h2,
.elementor-widget-text-editor h3,
.wpb_text_column h2,
.wpb_text_column h3,
.mk-text-block h2,
.mk-text-block h3 {
	color: #1c519b;
}

/* ===== Formularios CF7 ===== */
.wpcf7 form textarea.wpcf7-textarea,
.wpcf7-form textarea.wpcf7-textarea,
textarea.wpcf7-form-control.wpcf7-textarea {
	resize: none !important;
	overflow: auto;
}

body .contact-quote-wrap {
	max-width: 1170px;
	margin: 20px auto 36px;
	padding: 0 15px;
}

body .contact-quote-box {
	width: 100%;
	padding: 34px 38px;
	background: #ffffff;
	border: 2px solid rgba(67, 138, 232, 0.35);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

body .contact-quote-box .contact-quote-intro {
	margin: 0 0 14px;
	color: #1c519b;
	font-size: 22px;
	font-weight: 600;
	line-height: 1.4;
}

body .contact-quote-box blockquote {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	font-family: var(--thim_font_title-font-family);
	font-size: 25px !important;
	line-height: 1.42 !important;
	font-style: italic !important;
	color: #2b313d !important;
}

@media (max-width: 767px) {
	body .contact-quote-wrap {
		margin-bottom: 24px;
	}

	body .contact-quote-box {
		padding: 24px 22px;
	}

	body .contact-quote-box .contact-quote-intro {
		font-size: 18px;
	}

	body .contact-quote-box blockquote {
		font-size: 20px !important;
	}
}

/* ===== Página Instalaciones ===== */

/* 2x2 grid de espacios */
body .instalaciones-grid-2x2 {
	display: grid !important;
	grid-template-columns: 1fr 1fr !important;
	gap: 24px;
	margin: 28px auto 36px;
	max-width: 680px;
}

body .instalaciones-grid-2x2 .grid-item {
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-content: center;
	text-align: center !important;
	gap: 14px;
	padding: 36px 24px;
	background: #f7faff;
	border: 1px solid rgba(67, 138, 232, 0.2);
	border-radius: 10px;
}

body .instalaciones-grid-2x2 .grid-item i {
	font-size: 54px !important;
	color: #438ae8;
	line-height: 1;
}

body .instalaciones-grid-2x2 .grid-item strong {
	display: block;
	color: #1c519b;
	font-size: 18px !important;
	font-weight: 700;
	line-height: 1.3;
}

@media (max-width: 540px) {
	body .instalaciones-grid-2x2 {
		grid-template-columns: 1fr !important;
	}
}

/* Grid de instalaciones (recuadro estilo Otros Servicios pero más grande) */
.instalaciones-titulos-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin-top: 14px;
}

.instalaciones-titulos-grid .instalacion-item {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 18px;
	background: #f7faff;
}

.instalaciones-titulos-grid .instalacion-item i {
	font-size: 26px;
	color: #438ae8;
	flex-shrink: 0;
	width: 30px;
	text-align: center;
}

.instalaciones-titulos-grid .instalacion-item span {
	font-size: 16px;
	font-weight: 700;
	color: #1c519b;
	line-height: 1.3;
}

@media (max-width: 600px) {
	.instalaciones-titulos-grid {
		grid-template-columns: 1fr;
	}
}

/* Otros servicios: 2 columnas dentro del quote-box */
.otros-servicios-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px 28px;
	margin-top: 14px;
}

.otros-servicios-grid .servicio-item {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	color: #2b313d;
}

.otros-servicios-grid .servicio-item i {
	font-size: 16px;
	color: #438ae8;
	flex-shrink: 0;
	width: 20px;
	text-align: center;
}

@media (max-width: 600px) {
	.otros-servicios-grid {
		grid-template-columns: 1fr;
	}
}

/* Fila de logos institucionales */
.instalaciones-logos-row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 60px;
	padding: 36px 0 20px;
	flex-wrap: wrap;
}

.instalaciones-logos-row .logo-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	text-align: center;
}

.instalaciones-logos-row .logo-item img {
	max-height: 110px;
	width: auto;
	max-width: 220px;
	object-fit: contain;
}

.instalaciones-logos-row .logo-item span {
	font-size: 14px;
	font-weight: 700;
	color: #1c519b;
}

@media (max-width: 600px) {
	.instalaciones-logos-row {
		gap: 32px;
	}
}

/* ===== Menú de navegación: enlaces en blanco ===== */
header#masthead .main-navigation a,
header#masthead .main-navigation a:visited,
header#masthead .main-navigation a:hover,
header#masthead .main-navigation a:focus {
	color: #ffffff !important;
}

/* ===== HBook: título del formulario de reserva ===== */
h3.hb-title,
h3.hb-title-search-form,
.hb-title-search-form {
	color: #1c519b !important;
}

/* ===== Home inscripciones: imagen más pequeña, texto alineado arriba ===== */

/* Columnas alineadas desde arriba */
.elementor-element[data-id="ea17bcd"] > .e-con-inner {
	align-items: flex-start !important;
}

/* Imagen con altura máxima */
.elementor-element[data-id="insc_img_col"] img {
	width: 100% !important;
	max-height: 340px !important;
	object-fit: cover !important;
	object-position: center top !important;
	display: block !important;
}

/* ===== Home: sección "Tu casa en Granada" sin margen negativo ===== */
.elementor-element[data-id="08c9a67"] {
	margin-top: 0 !important;
}
