/*

Theme Name:		        JASC Navarra
Description:            Tema hijo de Dox para JASC Navarra
Text Domain: 			jascnavarra
Version:				1.0.0
Author:					Navaraweb
Author URI:				https://navarraweb.com/
Template:		        dox
Template Version: 		1.4.1
*/

/* Slideshow heading */
.fy-slideshow-background h1 {
	font-family: 'Barlow', sans-serif;
	font-weight: 500;
}

/* Buttons */
.servicios .fy-button {
	border-radius: 0 !important;
}

.fy-caption-buttons .fy-button {
	border-radius: 0 !important;
	color: #fff !important;
}

.fy-caption-buttons .fy-button:hover {
	background-color: #0d1f3c !important;
	color: #fff !important;
}

/* Font sizes */

/* Sectores */
.sectores ul {
	margin-left: 30px !important;
}

.has-small-font-size {
	font-size: 18px !important;
}

.has-medium-font-size {
	font-size: 24px !important;
}

/* Call to action */
.widget_call_to_action {
	text-align: left !important;
	display: flex !important;
	flex-direction: column !important;
	justify-content: center !important;
}

p.fy-widget-title {
	font-family: 'Barlow', sans-serif;
	font-weight: 500;
    text-align: left !important;
    font-size: 28px !important;
}

@media (min-width: 1024px) {
  .fy-section--widgets-cta .widget_call_to_action .fy-widget-title {
     align-items: left;
    justify-content: left;
    min-height: 60px; 
  }

  .fy-section--widgets-cta .widget_call_to_action {
    min-height: 180px; 
  }
  }

  .fy-about-image.lazy-loaded::before {
  opacity: 0;
}

.wpcf7 .wpcf7-form-control-wrap { 
  margin: 0 !important;
}

.fy-field {
  margin: 0 !important;
}

.fy-form-terms {
  margin-bottom: 0 !important;
}

.fy-label { 
  width: 100%;
}

.fy-section__content {
  margin-bottom: 0 !important;
}
.fy-main-content {
  margin-bottom: 0 !important;
}

.wp-block-group {
  margin-bottom: 0 !important;}

[class*="wp-block"] {
  /*margin-bottom: 0 !important;*/
}

.page-template-template-page-100 #estaciones .wp-block {
  margin-bottom: 40px !important;
}

/* Galería de 9 columnas (Gutenberg bloque core/gallery) */
.wp-block-gallery.has-nested-images.columns-9 .wp-block-image:not(#individual-image) {
  width: calc(11.11111% - (var(--wp--style--unstable-gallery-gap, 16px) * 8 / 9));
  max-width: calc(11.11111% - (var(--wp--style--unstable-gallery-gap, 16px) * 8 / 9));
}

/* Compatibilidad con galería antigua (pre-WordPress 5.9) */
.wp-block-gallery.columns-9 .blocks-gallery-item {
  width: calc(11.11111% - 16px);
  margin: 8px;
}