/*
Theme Name: Ekko Child
 | Shared by WPTry.org
Template: ekko
Theme URI: http://www.ekko-wp.com
Author: Key-Design
Author URI: http://themeforest.net/user/Key-Design
Description: Flexible Multi-Purpose Responsive WordPress Theme
Version: 1.0
Tags: one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-menu, featured-images, flexible-header, post-formats, sticky-post, translation-ready
/* Force all images to same size */
.tek-team img {
  width: 100% !important;
  height: 300px !important; /* adjust to taste */
  object-fit: cover;
}

/* Keep BIO button always clickable */
.tek-team a {
  position: relative;
  z-index: 10;
  pointer-events: auto;
}

/* Below you can write your style */
<script>
document.addEventListener('DOMContentLoaded', function () {
    const locationField = document.getElementById('hidden-location');
    if (locationField) {
        fetch('https://ipapi.co/json/')
            .then(response => response.json())
            .then(data => {
                locationField.value = `${data.city}, ${data.country_name}`;
            })
            .catch(err => {
                console.error('Location fetch error:', err);
                locationField.value = 'Location unavailable';
            });
    }
});
</script>
