.elementor-8334 .elementor-element.elementor-element-f3c8a1f{--display:flex;}.elementor-widget-text-editor{font-weight:var( --e-global-typography-text-font-weight );color:var( --e-global-color-text );}.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:var( --e-global-color-primary );}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap, .elementor-widget-text-editor.elementor-drop-cap-view-default .elementor-drop-cap{color:var( --e-global-color-primary );border-color:var( --e-global-color-primary );}/* Start custom CSS *//* Contenedor */
.wpte-trip-category-title {
  background: #1f3a5f;
  margin: 0;
  padding: 14px 12px 10px;
  
  display: flex;
  flex-direction: column;
  align-items: center; /* centra horizontalmente */
  justify-content: center;
  
  text-align: center;
}

/* Título */
.wpte-trip-category-title a {
  color: #957C3D !important;
  text-decoration: none;
  font-weight: 700;
  display: block;
}

/* Trips */
.trip-count {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #957C3D !important;
  opacity: 0.85;
}

add_action('wp_footer', 'threads_traducir_trips_js');

function threads_traducir_trips_js() {
    ?>
    
    <script>
    document.addEventListener('DOMContentLoaded', function () {

        document.querySelectorAll('.trip-count').forEach(function(el){

            el.innerHTML = el.innerHTML.replace('Trips', 'Viajes');
            el.innerHTML = el.innerHTML.replace('Trip', 'Viaje');

        });

    });
    </script>

    <?php
}/* End custom CSS */