/**
 * Theme Name:     GFuentetaja
 * Author:         Jaime Mesa
 * Template:       Divi
 * Text Domain:	   GFuentetaja
 * Description:    Smart. Flexible. Beautiful. Divi is the most powerful theme in our collection.
 */

/* =========================================================
   G. Fuentetaja · estilos globales (tema hijo)
   Paleta: negros, blancos y grises. Sin azules de Divi.
   ========================================================= */

/* 1 · Sustituye el color de acento de Divi (#2EA3F2) */
a{color:#111111}
a:hover{color:#6B6B6B}
#et_search_icon:hover,
.et-social-icon a:hover,
.et_password_protected_form .et_submit_button,
.form-submit .et_pb_buttontton.alt.disabled,
.nav-single a,
.posted_in a,
.et_pb_bg_layout_light .et_pb_more_button,
.et_pb_bg_layout_light_tablet.et_pb_button,
.et_pb_bg_layout_light_tablet.et_pb_module.et_pb_button,
.et_pb_bg_layout_light_tablet .et_pb_more_button,
.et_pb_module .et_pb_bg_layout_light_tablet.et_pb_button,
.et_pb_bg_layout_light_phone.et_pb_button,
.et_pb_bg_layout_light_phone.et_pb_module.et_pb_button,
.et_pb_bg_layout_light_phone .et_pb_more_button,
.et_pb_module .et_pb_bg_layout_light_phone.et_pb_button,
.mobile_menu_bar::before,
.mobile_menu_bar::after,
#top-menu li.current-menu-ancestor > a,
#top-menu li.current-menu-item > a,
.et_pb_gallery .et_pb_gallery_pagination ul li a.active,
.et_overlay::before{color:#111111!important}
.et-search-form,
blockquote,
.nav li ul,
.et_mobile_menu{border-color:#111111!important}
::selection{background:#111111;color:#FFFFFF}
.et_pb_scroll_top.et-pb-icon{background:#111111!important;color:#FFFFFF!important}

/* 2 · Pie global en negro con firma blanca */
html body .et-l--footer .et_builder_inner_content .et_pb_section.gf-footer,
html body .et-l--footer .gf-footer{background-color:#000000!important;background-image:none!important}
.et-l--footer .gf-footer,
.et-l--footer .gf-footer p,
.et-l--footer .gf-footer h1,.et-l--footer .gf-footer h2,.et-l--footer .gf-footer h3,
.et-l--footer .gf-footer h4,.et-l--footer .gf-footer h5,.et-l--footer .gf-footer h6,
.et-l--footer .gf-footer strong,
.et-l--footer .gf-footer .et_pb_text{color:#FFFFFF!important}
.et-l--footer .gf-footer a{color:#FFFFFF!important}
.et-l--footer .gf-footer a:hover{color:#BDBDBD!important}
.et-l--footer .gf-footer .gf-muted,
.et-l--footer .gf-footer .gf-muted p,
.et-l--footer .gf-footer .gf-muted a{color:#9A9A9A!important}
.et-l--footer .gf-footer .gf-muted a:hover{color:#FFFFFF!important}
.et-l--footer .gf-footer .et_pb_row{border-color:#2A2A2A!important}
.et-l--footer .gf-flogo img{
  content:url("https://www.gfuentetaja.com/wp-content/uploads/2026/10/firma-fuentetaja-blanca.png");
  mix-blend-mode:normal!important;
  max-height:64px;width:auto
}


/* 3 · The Events Calendar alineado con la web (fichas de evento y vistas /event/) */
:root{--tec-font-family-sans-serif:'Carlito','Calibri',sans-serif;--tec-font-family-base:'Carlito','Calibri',sans-serif;--tec-color-accent-primary:#111111;--tec-color-accent-primary-hover:#3A3A3A;--tec-color-accent-primary-active:#111111;--tec-color-accent-primary-background:#F5F5F3;--tec-color-link-accent:#111111;--tec-color-link-accent-hover:#5E5E5E;--tec-color-button-primary:#111111;--tec-color-button-primary-hover:#3A3A3A;--tec-color-text-primary:#111111;--tec-color-text-secondary:#5E5E5E;--tec-color-icon-active:#111111;--tec-color-border-active:#111111}
.tribe-events-single,.tribe-events-single *,.tribe-common,.tribe-events{font-family:'Carlito','Calibri',sans-serif!important}
.tribe-events-single .tribe-events-single-event-title{font-weight:400!important;font-size:40px!important;line-height:1.2!important;color:#111}
.tribe-events-single .tribe-events-back a,.tribe-events-single a{color:#111}
.tribe-events-single .tribe-events-c-subscribe-dropdown__button{border-color:#111!important;color:#111!important;border-radius:0!important}
.tribe-events-single .tribe-events-c-subscribe-dropdown__button:hover{background:#111!important;color:#fff!important}
.tribe-events-single .tribe-events-event-meta{border-color:#E6E6E6!important}
.gf-cal .gf-cal-row:last-child{border-bottom:0}

/* 18/10 · Ficha de obra: navegación Anterior / Siguiente a todo el ancho */
.et_pb_column:has(> .gf-postnav){width:100%!important;margin-right:0!important}
.gf-postnav{justify-content:space-between!important;width:100%!important}
.gf-postnav .nav-previous,.gf-postnav .nav-next{flex:0 1 auto!important;max-width:48%}
.gf-postnav .nav-label{color:#111111!important}
.gf-postnav a:hover .nav-label{text-decoration:underline}
.gf-postnav::before,.gf-postnav::after{display:none!important;content:none!important}
html body #page-container .et_pb_posts_nav.gf-postnav span.nav-label,html body .et_pb_posts_nav.gf-postnav a span.nav-label{color:#111111!important;opacity:1!important}
html body .et_pb_posts_nav.gf-postnav .nav-next{margin-left:0!important;margin-right:auto!important}
html body .et_pb_posts_nav.gf-postnav .nav-previous{margin-left:auto!important;margin-right:0!important}

/* 18/10 · Paginación numerada de Artworks / Pequeño formato */
.gf-pagenav{grid-column:1/-1;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px;margin:72px 0 0;padding-top:32px;border-top:1px solid #E6E6E6;font-family:'Carlito','Calibri',sans-serif}
.gf-pagenav .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:40px;height:40px;padding:0 10px;font-size:16px;color:#111111!important;text-decoration:none;border:1px solid transparent}
.gf-pagenav a.page-numbers:hover{border-color:#111111}
.gf-pagenav .page-numbers.current{background:#111111;color:#FFFFFF!important;font-weight:700}
.gf-pagenav .prev,.gf-pagenav .next{font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.gf-pagenav .dots{border:0}
@media(max-width:600px){.gf-pagenav .prev,.gf-pagenav .next{flex-basis:100%;order:2}}

/* 18/10 · Ficha: foto de contexto (paisaje) completa, sin recorte */
.gf-desc .gf-ctx img{aspect-ratio:auto!important;object-fit:contain!important;filter:none!important;width:auto!important;max-width:100%!important;max-height:88vh;height:auto!important;margin:0 auto!important}
.gf-desc .gf-ctx{text-align:center}
.gf-desc .gf-ctx figcaption{text-align:center}

/* 18/10 · Formularios: casilla de aceptación visible (borde negro, check negro) */
.et_pb_contact_field_checkbox label{display:inline-flex!important;align-items:center;gap:10px;cursor:pointer}
.et_pb_contact_field_checkbox label i{flex:0 0 18px;width:18px!important;height:18px!important;border:1.5px solid #111111!important;background:#FFFFFF!important;border-radius:2px;margin-right:0!important;top:0!important}
.et_pb_contact_field_checkbox input:checked + label i:before{color:#111111!important;font-size:14px;line-height:15px}
.et_pb_contact_field_checkbox input:focus-visible + label i{outline:2px solid #111111;outline-offset:2px}
.et_pb_contact_field_checkbox label a{color:#111111;text-decoration:underline}


/* gf-mobile-floats: idioma y subir sobre la barra de contacto; ocultar botón de consentimiento en móvil */
@media (max-width:992px){
.gt_switcher_wrapper{bottom:calc(46px + 14px + env(safe-area-inset-bottom))!important;left:14px!important}
.et_pb_scroll_top.et-pb-icon{bottom:calc(46px + 14px + env(safe-area-inset-bottom))!important}
#cmplz-manage-consent{display:none!important}
}
