/*
Theme Name: Hope Centre Theme
Theme URI: https://hopecentre.ca
Author: Javin / Antigravity
Author URI: https://hopecentre.ca
Description: Premium responsive WordPress theme for the Home of Planned Education (Hope Centre).
Version: 1.0.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hope-centre-theme
*/

/* Overrides for WordPress dynamic menus - Centered */
.gr-org-homepage nav ul.menu {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 36px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    flex-wrap: wrap !important;
    box-sizing: border-box !important;
}

.gr-org-homepage nav ul.menu li {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.gr-org-homepage nav ul.menu li a {
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #334155 !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    padding: 8px 6px !important;
    transition: color 0.2s ease, transform 0.2s ease !important;
    display: inline-block !important;
}

.gr-org-homepage nav ul.menu li a:hover,
.gr-org-homepage nav ul.menu li.current-menu-item a > a,
.gr-org-homepage nav ul.menu li.current-menu-item > a {
    color: #54A01E !important;
}

/* Language Switcher Styling */
.hope-lang-switcher button {
    outline: none !important;
    user-select: none !important;
    cursor: pointer !important;
}
.hope-lang-switcher button:hover {
    opacity: 0.85;
}

/* Responsive Layout */
@media screen and (max-width: 768px) {
    .hope-lang-switcher {
        position: static !important;
        margin-bottom: 12px !important;
    }
    .gr-org-homepage nav ul.menu {
        gap: 16px !important;
    }
    .hope-abilities-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media screen and (max-width: 640px) {
    .hope-abilities-grid {
        grid-template-columns: 1fr !important;
    }
}
