/*
Theme Name: G-Tech
Theme URI: https://g-tech.vn
Author: G-Tech Team
Author URI: https://g-tech.vn
Description: G-Tech JSC WordPress Theme
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: g-tech
Tags: custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

G-Tech WordPress Theme, Copyright 2026 G-Tech
G-Tech is distributed under the terms of the GNU GPL v2 or later.
*/

/* ============================================
   CSS Custom Properties (Design Tokens)
   ============================================ */
:root {
    /* Primary Colors */
    --gtech-primary: #1e40af;
    --gtech-primary-dark: #1e3a8a;
    --gtech-primary-light: #3b82f6;

    /* Secondary Colors */
    --gtech-secondary: #0ea5e9;
    --gtech-secondary-dark: #0284c7;

    /* Accent Colors */
    --gtech-accent: #f59e0b;
    --gtech-accent-dark: #d97706;

    /* Neutral Colors */
    --gtech-white: #ffffff;
    --gtech-gray-50: #f9fafb;
    --gtech-gray-100: #f3f4f6;
    --gtech-gray-200: #e5e7eb;
    --gtech-gray-300: #d1d5db;
    --gtech-gray-400: #9ca3af;
    --gtech-gray-500: #6b7280;
    --gtech-gray-600: #4b5563;
    --gtech-gray-700: #374151;
    --gtech-gray-800: #1f2937;
    --gtech-gray-900: #111827;

    /* Typography */
    --gtech-font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --gtech-font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Spacing */
    --gtech-spacing-xs: 0.25rem;
    --gtech-spacing-sm: 0.5rem;
    --gtech-spacing-md: 1rem;
    --gtech-spacing-lg: 1.5rem;
    --gtech-spacing-xl: 2rem;
    --gtech-spacing-2xl: 3rem;
    --gtech-spacing-3xl: 4rem;

    /* Border Radius */
    --gtech-radius-sm: 0.25rem;
    --gtech-radius-md: 0.5rem;
    --gtech-radius-lg: 0.75rem;
    --gtech-radius-xl: 1rem;
    --gtech-radius-full: 9999px;

    /* Shadows */
    --gtech-shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --gtech-shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --gtech-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --gtech-shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

    /* Transitions */
    --gtech-transition-fast: 150ms ease;
    --gtech-transition-base: 200ms ease;
    --gtech-transition-slow: 300ms ease;

    /* Container */
    --gtech-container-max: 1280px;
    --gtech-container-padding: 1rem;
}

/* ============================================
   Base Styles
   ============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--gtech-font-primary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gtech-gray-700);
    background-color: var(--gtech-white);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   Typography
   ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--gtech-font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--gtech-gray-900);
    margin-top: 0;
    margin-bottom: var(--gtech-spacing-md);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

h5 {
    font-size: 1.125rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-top: 0;
    margin-bottom: var(--gtech-spacing-md);
}

a {
    color: #ffffff;
    text-decoration: none;
    transition: color var(--gtech-transition-fast);
}

a:hover,
a:active {
    color: var(--gtech-accent);
}

a:focus-visible {
    outline: 2px solid var(--gtech-primary);
    outline-offset: 2px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   Layout Utilities
   ============================================ */
.gtech-container {
    display: block;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
}

.gtech-section {
    padding-top: var(--gtech-spacing-3xl);
    padding-bottom: var(--gtech-spacing-3xl);
}

.gtech-section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gtech-gray-900);
    margin-bottom: var(--gtech-spacing-xl);
    position: relative;
    display: inline-block;
}

.gtech-section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--gtech-primary), var(--gtech-secondary));
    border-radius: var(--gtech-radius-full);
}

/* ============================================
   Header Styles - Corporate Layout
   ============================================ */

/* ============================================
   TOP BAR
   ============================================ */
.gtech-site-header {
    position: relative;
    z-index: 1000;
}

.gtech-topbar {
    background: linear-gradient(135deg, var(--gtech-primary-dark) 0%, var(--gtech-primary) 100%);
    color: var(--gtech-white);
    padding: var(--gtech-spacing-sm) 0;
    font-size: 0.8125rem;
}

.gtech-topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--gtech-spacing-md);
}

.gtech-topbar-left {
    display: flex;
    align-items: center;
    gap: var(--gtech-spacing-lg);
    flex-wrap: wrap;
}

.gtech-topbar-welcome {
    display: flex;
    align-items: center;
    gap: var(--gtech-spacing-sm);
}

.gtech-topbar-welcome strong {
    color: var(--gtech-accent);
    font-weight: 600;
}

.gtech-topbar-hours {
    display: flex;
    align-items: center;
    gap: var(--gtech-spacing-xs);
    opacity: 0.9;
}

.gtech-topbar-hours i {
    color: var(--gtech-accent);
    font-size: 0.75rem;
}

.gtech-topbar-right {
    display: flex;
    align-items: center;
    gap: var(--gtech-spacing-lg);
}

.gtech-topbar-hotline {
    display: flex;
    align-items: center;
    gap: var(--gtech-spacing-xs);
    color: var(--gtech-white);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--gtech-transition-base);
}

.gtech-topbar-hotline:hover {
    color: var(--gtech-accent);
    text-decoration: none;
}

.gtech-topbar-hotline i {
    font-size: 0.75rem;
}

.gtech-topbar-social {
    display: flex;
    align-items: center;
    gap: var(--gtech-spacing-sm);
    padding-left: var(--gtech-spacing-md);
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.gtech-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--gtech-white);
    text-decoration: none;
    transition: all var(--gtech-transition-base);
    font-size: 0.75rem;
}

.gtech-social-icon:hover {
    background-color: var(--gtech-accent);
    color: var(--gtech-white);
    transform: translateY(-2px);
    text-decoration: none;
}

.gtech-social-icon i {
    line-height: 1;
}

/* ============================================
   MAIN HEADER
   ============================================ */
.gtech-main-header {
    background-color: var(--gtech-white);
    padding: var(--gtech-spacing-lg) 0;
    border-bottom: 1px solid var(--gtech-gray-100);
    position: relative;
    z-index: 1000;
}

.gtech-main-header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: var(--gtech-spacing-xl);
}

.gtech-header-logo {
    display: flex;
    align-items: center;
}

.gtech-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.gtech-logo-link img,
.gtech-logo-link svg {
    height: 60px;
    width: auto;
    max-width: 200px;
}

.gtech-logo-placeholder {
    height: 60px;
    width: auto;
}

.gtech-header-brand {
    text-align: center;
}

.gtech-header-company-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gtech-primary);
    margin: 0;
    line-height: 1.2;
}

.gtech-header-company-name a {
    color: inherit;
    text-decoration: none;
}

.gtech-header-company-name a:hover {
    text-decoration: none;
}

.gtech-header-company-short {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gtech-primary-dark);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: var(--gtech-spacing-xs);
}

.gtech-header-tagline {
    font-size: 0.75rem;
    color: var(--gtech-gray-500);
    margin: var(--gtech-spacing-xs) 0 0;
}

/* ============================================
   SEARCH BOX
   ============================================ */
.gtech-header-search {
    position: relative;
}

.gtech-search-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--gtech-gray-200);
    border-radius: 8px;
    background-color: var(--gtech-white);
    color: var(--gtech-gray-600);
    cursor: pointer;
    transition: all 0.25s ease;
}

.gtech-search-toggle:hover {
    border-color: var(--gtech-primary);
    color: var(--gtech-primary);
    background-color: var(--gtech-gray-50);
}

.gtech-search-form-wrap {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 360px;
    background-color: var(--gtech-white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.25s ease;
    z-index: 1001;
}

.gtech-search-form-wrap.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-box {
    width: 100%;
}

.search-label {
    display: block;
    color: #0b5fa5;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

.search-form {
    position: relative;
}

.search-input-wrap {
    position: relative;
}

.search-input {
    width: 100%;
    height: 42px;
    border: 1px solid #ccc;
    border-radius: 999px;
    padding: 0 42px 0 16px;
    background: #fff;
    outline: none;
    transition: all 0.25s ease;
    font-size: 0.9375rem;
    color: var(--gtech-gray-800);
}

.search-input::placeholder {
    color: var(--gtech-gray-400);
}

.search-input:focus {
    border-color: #0b5fa5;
    box-shadow: 0 0 0 2px rgba(11, 95, 165, 0.1);
}

.search-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
}

.search-btn:hover {
    opacity: 0.75;
}

@media (max-width: 768px) {
    .gtech-search-form-wrap {
        width: calc(100vw - 32px);
        left: -120px;
        right: auto;
    }

    .search-input {
        height: 38px;
    }
}

/* ============================================
   NAVIGATION BAR
   ============================================ */
.gtech-main-nav {
    background-color: var(--gtech-primary);
    position: sticky;
    top: 0;
    z-index: 1001;
    transition: box-shadow 0.3s ease;
}

.gtech-main-nav.is-sticky {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Fix sticky nav overlapping with WordPress Admin Bar */
.admin-bar .gtech-main-nav {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar .gtech-main-nav {
        top: 46px;
    }
}

.gtech-nav-inner {
    display: flex;
    align-items: center;
    justify-content: center;
}

.gtech-nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
}

.gtech-nav-menu li {
    position: relative;
}

.gtech-nav-menu>li>a {
    display: flex;
    align-items: center;
    padding: var(--gtech-spacing-md) var(--gtech-spacing-lg);
    color: var(--gtech-white);
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    transition: all var(--gtech-transition-base);
    position: relative;
}

.gtech-nav-menu>li>a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: #f5c518;
    transition: width var(--gtech-transition-base);
    border-radius: 2px 2px 0 0;
}

.gtech-nav-menu>li>a:hover::before,
.gtech-nav-menu>li.current-menu-item>a::before {
    width: calc(100% - var(--gtech-spacing-lg) * 2);
}

.gtech-nav-menu>li>a:hover,
.gtech-nav-menu>li.current-menu-item>a {
    color: #f5c518;
    background-color: rgba(255, 255, 255, 0.08);
    text-decoration: none;
}

/* ============================================
   DESKTOP SUB-MENU (Dropdown)
   ============================================ */

/* Dropdown arrow for parent items with sub-menus */
.gtech-nav-menu > li.menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 6px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    vertical-align: middle;
    transition: transform 0.2s ease;
}

.gtech-nav-menu > li.menu-item-has-children:hover > a::after {
    transform: rotate(180deg);
}

/* Sub-menu container (level 2) */
.gtech-nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 230px;
    background-color: #ffffff;
    border: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.06);
    padding: 8px 0;
    list-style: none;
    margin: 0;
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    pointer-events: none;
}

/* Show sub-menu on hover */
.gtech-nav-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* Nested sub-menu (level 3) – dropdown xuống dưới */
.gtech-nav-menu .sub-menu .sub-menu {
    top: 0;
    left: 0;
    margin-left: 100%;
    margin-top: 0;
    border-radius: 8px;
}

/* Arrow indicator for sub-menu items that have children */
.gtech-nav-menu .sub-menu li.menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: auto;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 4px solid currentColor;
    vertical-align: middle;
    transition: transform 0.2s ease;
    float: right;
    margin-top: 6px;
}

/* Sub-menu link styles */
.gtech-nav-menu .sub-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--gtech-gray-700);
    font-size: 0.875rem;
    font-weight: 400;
    transition: all 0.18s ease;
    position: relative;
    text-decoration: none;
    white-space: nowrap;
    line-height: 1.4;
}

/* Left accent bar on hover */
.gtech-nav-menu .sub-menu li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: linear-gradient(180deg, var(--gtech-primary), var(--gtech-secondary));
    border-radius: 0 2px 2px 0;
    opacity: 0;
    transition: opacity 0.18s ease;
}

.gtech-nav-menu .sub-menu li:hover > a {
    color: var(--gtech-primary);
    background-color: var(--gtech-gray-50);
    padding-left: 24px;
}

.gtech-nav-menu .sub-menu li:hover > a::before {
    opacity: 1;
}

/* Active/current sub-menu item */
.gtech-nav-menu .sub-menu li.current-menu-item > a {
    color: var(--gtech-primary);
    background-color: var(--gtech-gray-50);
    font-weight: 500;
}

.gtech-nav-menu .sub-menu li.current-menu-item > a::before {
    opacity: 1;
}

/* Sub-menu item separator */
.gtech-nav-menu .sub-menu li + li {
    border-top: 1px solid var(--gtech-gray-100);
}

/* Mobile Toggle */
.gtech-nav-mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    border: none;
    background-color: transparent;
    cursor: pointer;
}

.gtech-nav-mobile-toggle-bar {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--gtech-white);
    border-radius: 2px;
    transition: all var(--gtech-transition-base);
}

.gtech-nav-mobile-toggle.active .gtech-nav-mobile-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.gtech-nav-mobile-toggle.active .gtech-nav-mobile-toggle-bar:nth-child(2) {
    opacity: 0;
}

.gtech-nav-mobile-toggle.active .gtech-nav-mobile-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   MOBILE MENU - CORE FIX
   ============================================ */

/* Desktop: hide mobile menu completely */
.gtech-mobile-menu {
    display: none !important;
    max-height: 0;
    overflow: hidden;
    background-color: var(--gtech-primary-dark);
    padding: 0;
    transition: max-height 0.35s ease-out, padding 0.35s ease-out;
}

.gtech-mobile-menu.active {
    display: block !important;
    max-height: 80vh;
    overflow-y: auto;
    padding: var(--gtech-spacing-md) 0;
}

.gtech-mobile-nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.gtech-mobile-nav-menu li {
    position: relative;
}

.gtech-mobile-nav-menu li a {
    display: block;
    padding: 12px var(--gtech-spacing-lg);
    color: var(--gtech-white);
    font-size: 0.9375rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
    transition: all var(--gtech-transition-base);
}

.gtech-mobile-nav-menu li a:hover,
.gtech-mobile-nav-menu li.current-menu-item > a {
    background-color: rgba(255, 255, 255, 0.1);
    padding-left: calc(var(--gtech-spacing-lg) + 8px);
}

/* Mobile sub-menu toggle button (injected via JS) */
.gtech-submenu-toggle {
    position: absolute;
    right: 0;
    top: 0;
    width: 48px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gtech-white);
    cursor: pointer;
    font-size: 0.75rem;
    transition: all 0.2s ease;
    z-index: 2;
    padding: 0;
}

.gtech-submenu-toggle:hover {
    background-color: rgba(255, 255, 255, 0.08);
}

.gtech-submenu-toggle .gtech-toggle-icon {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid var(--gtech-white);
    transition: transform 0.25s ease;
}

.gtech-submenu-toggle.active .gtech-toggle-icon {
    transform: rotate(180deg);
}

/* Mobile sub-menu: hidden by default, expand on toggle */
.gtech-mobile-nav-menu .sub-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.15);
    transition: max-height 0.3s ease;
}

.gtech-mobile-nav-menu .sub-menu.open {
    max-height: 500px;
}

.gtech-mobile-nav-menu .sub-menu li a {
    font-size: 0.875rem;
    padding: 10px var(--gtech-spacing-lg) 10px calc(var(--gtech-spacing-lg) + 16px);
    opacity: 0.9;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

/* Small dash before mobile sub-menu items */
.gtech-mobile-nav-menu .sub-menu li a::before {
    content: '—';
    position: absolute;
    left: var(--gtech-spacing-lg);
    color: var(--gtech-accent);
    font-size: 0.625rem;
    top: 50%;
    transform: translateY(-50%);
}

.gtech-mobile-nav-menu .sub-menu li a {
    padding-left: calc(var(--gtech-spacing-lg) + 24px);
}

/* Level 3 nested sub-menu - dropdown display */
.gtech-mobile-nav-menu .sub-menu .sub-menu {
    background-color: rgba(0, 0, 0, 0.2);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.gtech-mobile-nav-menu .sub-menu .sub-menu.open {
    max-height: 500px;
}

.gtech-mobile-nav-menu .sub-menu .sub-menu li a {
    font-size: 0.8125rem;
    padding-left: calc(var(--gtech-spacing-lg) + 32px);
    opacity: 0.8;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.gtech-mobile-nav-menu .sub-menu .sub-menu li a::before {
    left: calc(var(--gtech-spacing-lg) + 8px);
}

/* Adjust toggle button position for nested items */
.gtech-mobile-nav-menu .sub-menu li.menu-item-has-children > a {
    padding-right: 52px;
}

/* Level 4+ styling */
.gtech-mobile-nav-menu .sub-menu .sub-menu .sub-menu {
    background-color: rgba(0, 0, 0, 0.25);
}

/* Adjust link padding when toggle button present */
.gtech-mobile-nav-menu li.menu-item-has-children > a {
    padding-right: 52px;
}

/* ============================================
   RESPONSIVE MOBILE (max-width: 767px)
   Full mobile styles below 768px
   ============================================ */
@media (max-width: 767px) {

    :root {
        --gtech-container-padding: 12px;
    }

    /* ---- TOPBAR ---- */
    .gtech-topbar {
        font-size: 0.6875rem;
        padding: 5px 0;
    }

    .gtech-topbar-inner {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        gap: 4px;
        padding: 3px 0;
    }

    .gtech-topbar-left {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
    }

    .gtech-topbar-welcome {
        display: none;
    }

    .gtech-topbar-hours {
        font-size: 0.625rem;
        white-space: nowrap;
    }

    .gtech-topbar-right {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        gap: 6px;
    }

    .gtech-topbar-hotline {
        font-size: 0.625rem;
        white-space: nowrap;
    }

    .gtech-topbar-social {
        padding-left: 0;
        border-left: none;
        padding-top: 0;
        border-top: none;
        gap: 4px;
    }

    .gtech-social-icon {
        width: 22px;
        height: 22px;
        font-size: 0.625rem;
    }

    /* ---- MAIN HEADER ---- */
    .gtech-main-header {
        padding: 8px 0;
    }

    .gtech-main-header-inner {
        grid-template-columns: auto 1fr !important;
        gap: 8px !important;
        align-items: center;
    }

    .gtech-header-logo {
        flex-shrink: 0;
    }

    .gtech-logo-link img,
    .gtech-logo-link svg {
        height: 38px !important;
    }

    .gtech-logo-placeholder {
        height: 38px !important;
    }

    .gtech-header-brand {
        text-align: left;
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-width: 0;
    }

    .gtech-header-company-name {
        font-size: 0.8125rem !important;
        line-height: 1.2;
        margin: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .gtech-header-company-short {
        font-size: 0.5625rem !important;
        letter-spacing: 0.5px;
        margin-top: 1px;
        display: none !important;
    }

    .gtech-header-tagline {
        display: none !important;
    }

    .gtech-header-search {
        display: none !important;
    }

    /* ---- NAVIGATION ---- */
    .gtech-main-nav {
        position: sticky;
        top: 0;
        z-index: 1002;
    }

    .gtech-nav-inner {
        justify-content: flex-start;
        min-height: 46px;
    }

    .gtech-nav-menu {
        display: none !important;
    }

    .gtech-nav-mobile-toggle {
        display: flex !important;
    }

    /* Mobile menu overlay - ensure proper z-index */
    .gtech-mobile-menu {
        position: relative;
        z-index: 1003;
    }

    /* ---- HERO SECTION ---- */
    .gtech-hero {
        min-height: 280px;
    }

    .gtech-hero-slide {
        min-height: 280px;
    }

    .gtech-hero-slide img {
        min-height: 280px;
        object-fit: cover;
    }

    .gtech-hero-content {
        padding: var(--gtech-spacing-lg) 0 var(--gtech-spacing-2xl) !important;
        max-width: 100%;
    }

    .gtech-hero-title {
        font-size: 1.25rem !important;
        margin-bottom: var(--gtech-spacing-md);
    }

    .gtech-hero-description {
        font-size: 0.875rem !important;
        margin-bottom: var(--gtech-spacing-lg);
        line-height: 1.5;
    }

    .gtech-hero-btn {
        padding: 10px 20px;
        font-size: 0.875rem;
    }

    .gtech-slider-nav {
        width: 36px;
        height: 36px;
    }

    .gtech-slider-prev {
        left: 8px;
    }

    .gtech-slider-next {
        right: 8px;
    }

    .gtech-slider-dots {
        bottom: var(--gtech-spacing-md);
        gap: 6px;
    }

    .gtech-slider-dot {
        width: 8px;
        height: 8px;
    }

    /* ---- HOME NEWS SECTION ---- */
    .gtech-home-news {
        padding: 15px 0;
    }

    .gtech-home-news-grid {
        grid-template-columns: 1fr !important;
        gap: 12px;
    }

    /* Featured post layout */
    .gtech-news-grid-layout {
        grid-template-columns: 1fr !important;
        min-height: auto;
    }

    .gtech-news-featured-main {
        grid-row: auto;
        grid-column: auto;
    }

    .gtech-news-featured-image {
        min-height: 100px !important;
        max-height: 100px;
        height: 100px;
        aspect-ratio: auto;
    }

    .gtech-news-featured-title {
        font-size: 0.8125rem !important;
        -webkit-line-clamp: 2;
    }

    .gtech-news-small-grid {
        grid-column: auto !important;
        grid-row: auto !important;
        flex-direction: row;
        overflow-x: auto;
        border-left: none;
        border-top: 1px solid #eee;
        gap: 0;
        max-height: none;
        overflow-y: visible;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
    }

    .gtech-news-small-grid::-webkit-scrollbar {
        display: none;
    }

    .gtech-news-small-card {
        flex-shrink: 0;
        width: 160px;
        border-bottom: none;
        border-right: 1px solid #eee;
        scroll-snap-align: start;
    }

    .gtech-news-small-card-link {
        flex-direction: column;
        padding: 8px;
        gap: 6px;
    }

    .gtech-news-small-card-image {
        width: 100%;
        height: 90px;
    }

    .gtech-news-small-card-content {
        padding: 0;
    }

    .gtech-news-small-card-title {
        font-size: 0.75rem !important;
        -webkit-line-clamp: 2;
    }

    .gtech-news-small-card-date {
        font-size: 0.625rem !important;
    }

    /* News marquee column */
    .gtech-news-marquee {
        height: 350px !important;
    }

    /* Bottom blocks - 3 column to 1 column */
    .gtech-home-news-blocks {
        grid-template-columns: 1fr !important;
        gap: 12px;
    }

    .gtech-home-news-block-item {
        min-width: 0;
    }

    .gtech-home-news-block-item:nth-child(3) {
        grid-column: auto !important;
    }

    .gtech-news-block-header {
        padding: 6px 10px;
        min-height: 38px;
        display: flex;
        align-items: center;
    }

    .gtech-news-block-title {
        font-size: 0.75rem !important;
        flex: 1;
        min-width: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .gtech-news-block-more {
        font-size: 0.6875rem;
        flex-shrink: 0;
    }

    /* Block cards in bottom rows */
    .gtech-news-block-card-image {
        width: 70px;
        height: 52px;
        flex-shrink: 0;
    }

    .gtech-news-block-card-title {
        font-size: 0.75rem !important;
    }

    /* Units grid - flex wrap on mobile */
    .gtech-units-grid-compact {
        display: flex !important;
        flex-wrap: wrap;
        gap: 1px;
    }

    .gtech-unit-item {
        flex: 0 0 calc(50% - 1px);
        border-right: 1px solid #eee;
        border-bottom: none;
    }

    .gtech-unit-item:nth-child(2n) {
        border-right: none;
    }

    .gtech-unit-item:last-child {
        border-right: none;
    }

    .gtech-unit-item-logo {
        width: 40px;
        height: 40px;
    }

    .gtech-unit-item-logo img {
        width: 36px;
        height: 36px;
    }

    .gtech-unit-item-name {
        font-size: 0.75rem !important;
    }

    /* News list in blocks */
    .gtech-news-list-thumb {
        width: 60px;
        height: 48px;
        flex-shrink: 0;
    }

    .gtech-news-list-title {
        font-size: 0.75rem !important;
    }

    /* ---- PRODUCTS SECTION ---- */
    .gtech-products {
        padding: 20px 0 30px;
    }

    .gtech-products-heading {
        font-size: 1rem !important;
        margin: 0 0 15px;
    }

    .gtech-products-pages {
        padding: 0;
    }

    .gtech-products-page {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    .gtech-product-image {
        height: 140px !important;
    }

    .gtech-product-name {
        font-size: 0.8125rem !important;
        padding: 10px 8px;
    }

    .gtech-products-dots {
        margin-top: 16px;
        gap: 6px;
    }

    .gtech-products-dot {
        width: 10px;
        height: 10px;
    }

    /* ---- PARTNERS SECTION ---- */
    .gtech-partners {
        padding: 20px 0 25px;
    }

    .gtech-partners-heading {
        font-size: 1rem !important;
        margin: 0 0 15px;
    }

    .gtech-partners-marquee {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .gtech-partners-marquee::-webkit-scrollbar {
        display: none;
    }

    .gtech-partners-row {
        animation: none !important;
        gap: 0;
    }

    .gtech-partner-item {
        flex-shrink: 0;
        width: 110px !important;
        height: 60px !important;
        scroll-snap-align: start;
    }

    /* ---- PREFOOTER ---- */
    .gtech-prefooter {
        padding: 15px 0;
    }

    .gtech-prefooter-inner {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        text-align: center;
    }

    .gtech-prefooter-logo {
        grid-column: 1 / -1;
        flex-direction: row !important;
        justify-content: center;
        gap: 8px;
    }

    .gtech-prefooter-logo img,
    .gtech-prefooter-logo .custom-logo {
        height: 40px !important;
    }

    .gtech-prefooter-brand {
        font-size: 1.25rem !important;
    }

    .gtech-prefooter-iso {
        font-size: 0.5625rem;
    }

    .gtech-prefooter-newsletter {
        grid-column: 1 / -1;
    }

    .gtech-prefooter-newsletter h4 {
        font-size: 0.75rem !important;
        margin: 0 0 6px;
    }

    .gtech-prefooter .gtech-newsletter-form {
        flex-direction: column;
        gap: 6px;
    }

    .gtech-prefooter .gtech-newsletter-form input[type="email"] {
        min-width: 0;
        width: 100%;
        padding: 8px 12px;
    }

    .gtech-prefooter .gtech-newsletter-form button {
        padding: 8px 16px;
    }

    .gtech-prefooter-stats {
        grid-column: 1 / -1;
    }

    .gtech-prefooter-stats h4 {
        font-size: 0.75rem !important;
        margin: 0 0 4px;
    }

    .gtech-prefooter-stats p {
        font-size: 0.75rem !important;
    }

    .gtech-prefooter-links {
        grid-column: 1 / -1;
        flex-direction: column !important;
        gap: 6px;
    }

    .gtech-prefooter-select,
    .gtech-prefooter-links select {
        min-width: 0 !important;
        width: 100%;
        padding: 8px 10px;
        font-size: 0.75rem;
    }

    /* ---- FOOTER ---- */
    .gtech-footer {
        padding-top: var(--gtech-spacing-2xl);
    }

    .gtech-footer-grid {
        grid-template-columns: 1fr !important;
        gap: var(--gtech-spacing-xl) !important;
        padding-bottom: var(--gtech-spacing-2xl);
    }

    .gtech-footer-col {
        text-align: center;
    }

    .gtech-footer-logo-link {
        display: inline-flex;
    }

    .gtech-footer-contact {
        margin-top: var(--gtech-spacing-md);
    }

    .gtech-footer-contact p {
        justify-content: center;
        font-size: 0.8125rem;
        gap: 8px;
    }

    .gtech-footer-title {
        font-size: 1rem;
        margin-bottom: var(--gtech-spacing-md);
        text-align: center;
    }

    .gtech-footer-menu {
        text-align: center;
    }

    .gtech-footer-map iframe {
        height: 160px;
    }

    .gtech-footer-social {
        justify-content: center;
    }

    .gtech-fanpage-box {
        text-align: center;
    }

    .gtech-logo-tagline {
        display: block;
        text-align: center;
    }

    /* ---- COPYRIGHT ---- */
    .gtech-copyright {
        padding: var(--gtech-spacing-sm) 0;
    }

    .gtech-copyright p {
        font-size: 0.8125rem;
        text-align: center;
        margin: 0;
        line-height: 1.6;
        color: var(--gtech-color-text-secondary, #6b7280);
    }

    @media (max-width: 1024px) {
        .gtech-copyright {
            padding: 12px 0;
        }

        .gtech-copyright p {
            font-size: 0.75rem;
        }
    }

    @media (max-width: 767px) {
        .gtech-copyright {
            padding: 14px 0 calc(14px + env(safe-area-inset-bottom));
        }

        .gtech-copyright p {
            font-size: 0.6875rem;
            line-height: 1.5;
        }
    }

    /* ---- TYPOGRAPHY ---- */
    h1 {
        font-size: 1.5rem !important;
    }

    h2 {
        font-size: 1.25rem !important;
    }

    h3 {
        font-size: 1.0625rem !important;
    }

    h4 {
        font-size: 1rem !important;
    }

    /* ---- SECTION HEADINGS ---- */
    .gtech-section-title {
        font-size: 1.25rem;
    }

    .gtech-section {
        padding-top: var(--gtech-spacing-2xl);
        padding-bottom: var(--gtech-spacing-2xl);
    }

    /* ---- PAGE HEADER ---- */
    .gtech-page-header {
        padding: var(--gtech-spacing-2xl) 0;
    }

    .gtech-page-header h1 {
        font-size: 1.25rem;
    }

    /* ---- LAYOUT GRID ---- */
    .gtech-layout-grid {
        grid-template-columns: 1fr !important;
        gap: var(--gtech-spacing-xl);
    }

    .gtech-sidebar {
        margin-top: var(--gtech-spacing-xl);
    }

    /* ---- POST LOOP ---- */
    .gtech-post-loop {
        grid-template-columns: 1fr !important;
        gap: var(--gtech-spacing-lg);
    }

    /* ---- SEARCH BOX ---- */
    .gtech-search-form-wrap {
        width: calc(100vw - 24px) !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) translateY(-10px) !important;
    }

    .gtech-search-form-wrap.active {
        transform: translateX(-50%) translateY(0) !important;
    }

    /* ---- STICKY NAV ADMIN BAR FIX ---- */
    .admin-bar .gtech-main-nav {
        top: 46px;
    }
}

/* ============================================
   EXTRA SMALL MOBILE (max-width: 480px)
   ============================================ */
@media (max-width: 480px) {
    :root {
        --gtech-container-padding: 10px;
    }

    /* ---- TOPBAR ---- */
    .gtech-topbar {
        font-size: 0.5625rem;
        padding: 4px 0;
    }

    .gtech-topbar-inner {
        gap: 2px;
        padding: 2px 0;
    }

    .gtech-topbar-left {
        display: none;
    }

    .gtech-topbar-right {
        gap: 4px;
        width: 100%;
        justify-content: flex-end;
    }

    .gtech-topbar-hotline {
        font-size: 0.5625rem;
        padding: 2px 0;
    }

    .gtech-topbar-social {
        gap: 3px;
    }

    .gtech-social-icon {
        width: 20px;
        height: 20px;
        font-size: 0.5625rem;
    }

    .gtech-hero {
        min-height: 240px;
    }

    .gtech-hero-slide {
        min-height: 240px;
    }

    .gtech-hero-slide img {
        min-height: 240px;
    }

    .gtech-hero-title {
        font-size: 1.0625rem !important;
    }

    .gtech-hero-description {
        font-size: 0.8125rem !important;
    }

    .gtech-products-page {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }

    .gtech-product-image {
        height: 120px !important;
    }

    .gtech-product-name {
        font-size: 0.75rem !important;
        padding: 8px 6px;
    }

    .gtech-news-featured-image {
        min-height: 140px !important;
    }

    .gtech-news-small-card {
        width: 140px;
    }

    .gtech-units-grid-compact {
        grid-template-columns: 1fr 1fr !important;
    }

    .gtech-prefooter-logo img,
    .gtech-prefooter-logo .custom-logo {
        height: 34px !important;
    }

    .gtech-news-block-card-image {
        width: 60px;
        height: 46px;
    }

    .gtech-news-block-card-title {
        font-size: 0.6875rem !important;
        -webkit-line-clamp: 2;
    }

    .gtech-partner-item {
        width: 90px !important;
        height: 50px !important;
    }

    .gtech-partner-item img {
        max-width: 80px;
        max-height: 44px;
    }
}

/* ============================================
   TABLET RESPONSIVE (768px - 1024px)
   ============================================ */
@media (min-width: 768px) and (max-width: 1024px) {

    /* ---- TOPBAR ---- */
    .gtech-topbar {
        font-size: 0.75rem;
        padding: 7px 0;
    }

    .gtech-topbar-inner {
        flex-wrap: wrap;
        gap: 6px;
    }

    .gtech-topbar-left {
        gap: 16px;
    }

    .gtech-topbar-welcome {
        font-size: 0.75rem;
    }

    .gtech-topbar-hours {
        font-size: 0.6875rem;
    }

    .gtech-topbar-right {
        gap: 14px;
    }

    .gtech-topbar-hotline {
        font-size: 0.75rem;
    }

    .gtech-topbar-social {
        gap: 6px;
        padding-left: 14px;
    }

    .gtech-social-icon {
        width: 26px;
        height: 26px;
        font-size: 0.6875rem;
    }

    /* Tablet: show mobile menu on nav only */
    .gtech-nav-menu {
        display: none !important;
    }

    .gtech-nav-mobile-toggle {
        display: flex !important;
    }

    .gtech-header-search {
        display: none !important;
    }

    .gtech-main-header-inner {
        grid-template-columns: auto 1fr !important;
    }

    .gtech-header-brand {
        text-align: left;
    }

    .gtech-header-company-name {
        font-size: 1.0625rem !important;
    }

    /* Hero tablet */
    .gtech-hero-slide {
        min-height: 400px;
    }

    .gtech-hero-title {
        font-size: 1.75rem;
    }

    .gtech-hero-description {
        font-size: 1rem;
    }

    /* Home news tablet */
    .gtech-home-news-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .gtech-news-grid-layout {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .gtech-news-featured-main {
        grid-row: auto;
        grid-column: auto;
    }

    .gtech-news-featured-image {
        min-height: 120px;
        max-height: 120px;
        height: 120px;
        aspect-ratio: auto;
    }

    .gtech-news-small-grid {
        grid-column: auto;
        grid-row: auto;
        flex-direction: row;
        overflow-x: auto;
        border-left: none;
        border-top: 1px solid #eee;
        gap: 0;
        max-height: none;
        overflow-y: visible;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
    }

    .gtech-news-small-grid::-webkit-scrollbar {
        display: none;
    }

    .gtech-news-small-card {
        flex-shrink: 0;
        width: 180px;
        border-bottom: none;
        border-right: 1px solid #eee;
        scroll-snap-align: start;
    }

    .gtech-news-small-card-link {
        flex-direction: column;
        padding: 8px;
        gap: 6px;
    }

    .gtech-news-small-card-image {
        width: 100%;
        height: 100px;
    }

    .gtech-news-marquee {
        height: 350px !important;
    }

    .gtech-home-news-blocks {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .gtech-home-news-block-item:nth-child(3) {
        grid-column: 1 / -1;
    }

    .gtech-units-grid-compact {
        display: flex !important;
        flex-wrap: wrap;
        gap: 1px;
    }

    /* Products tablet */
    .gtech-products-page {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .gtech-product-image {
        height: 170px;
    }

    /* Prefooter tablet */
    .gtech-prefooter-inner {
        grid-template-columns: auto 1fr auto;
        gap: 20px;
    }

    .gtech-prefooter-links {
        grid-column: 1 / -1;
        flex-direction: row;
    }

    .gtech-prefooter-select {
        min-width: auto;
        flex: 1;
    }

    /* Footer tablet */
    .gtech-footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--gtech-spacing-xl);
    }

    .gtech-footer-col {
        text-align: left;
    }

    .gtech-footer-title {
        text-align: left;
    }

    .gtech-footer-contact p {
        justify-content: flex-start;
    }
}

/* ============================================
   OVERRIDE: Ensure mobile menu never hidden
   when active on smaller screens
   ============================================ */
@media (max-width: 1024px) {

    /* Desktop menu hidden, mobile toggle shown */
    .gtech-nav-menu {
        display: none !important;
    }

    .gtech-nav-mobile-toggle {
        display: flex !important;
    }
}

@media (min-width: 1025px) {

    /* Desktop: toggle hidden, desktop menu shown */
    .gtech-nav-mobile-toggle {
        display: none !important;
    }

    .gtech-nav-menu {
        display: flex !important;
    }

    .gtech-mobile-menu {
        display: none !important;
    }
}

/* ============================================
   PARTNERS MARQUEE RESPONSIVE FIX
   ============================================ */
.gtech-partners-row {
    min-width: max-content;
}

/* Ensure marquee content is duplicated for seamless scroll */
@keyframes gtech-partners-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-100% + 100vw - 40px));
    }
}

@media (max-width: 767px) {
    .gtech-partners-row {
        animation-duration: 30s;
    }

    @keyframes gtech-partners-scroll {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(-50%);
        }
    }
}

/* ============================================
   NEWS MARQUEE RESPONSIVE FIX
   ============================================ */
@media (max-width: 767px) {
    .gtech-news-marquee-content {
        animation-duration: 20s !important;
    }
}

/* ============================================
   BODY CONTENT OFFSET FOR STICKY NAV
   ============================================ */
#primary-content {
    padding-top: 0;
}

/* ============================================
   SEARCH WRAP Z-INDEX FIX ON MOBILE
   ============================================ */
@media (max-width: 767px) {
    .gtech-search-form-wrap {
        z-index: 1004;
    }

    /* Ensure sticky nav has proper z-index */
    .gtech-main-nav {
        z-index: 1003;
    }
}

/* ============================================
   SMOOTH TRANSITION FOR ALL CARDS ON HOVER
   ============================================ */
.gtech-product-card,
.gtech-news-small-card,
.gtech-news-block-card,
.gtech-news-list-item,
.gtech-unit-item,
.gtech-post-card {
    -webkit-tap-highlight-color: transparent;
}

/* ============================================
   IMAGE ASPECT RATIOS ON MOBILE
   ============================================ */
@media (max-width: 767px) {

    .gtech-news-featured-image img,
    .gtech-news-small-card-image img,
    .gtech-news-block-card-image img,
    .gtech-news-list-thumb img,
    .gtech-product-image img,
    .gtech-unit-item-logo img {
        transition: transform 0.3s ease;
    }

    /* Tap highlight on touch devices */
    .gtech-news-small-card-link:active,
    .gtech-news-block-card-link:active,
    .gtech-news-list-link:active,
    .gtech-unit-item-link:active,
    .gtech-product-card-link:active {
        background-color: rgba(0, 0, 0, 0.03);
    }
}

/* ============================================
   SCROLL FIX FOR IPHONE SAFE AREA
   ============================================ */
@supports (padding: env(safe-area-inset-bottom)) {
    .gtech-mobile-menu.active {
        padding-bottom: calc(var(--gtech-spacing-md) + env(safe-area-inset-bottom));
    }
}

/* ============================================
   PREFOOTER ISO BADGE MOBILE
   ============================================ */
@media (max-width: 767px) {
    .gtech-prefooter-iso {
        display: block;
        text-align: left;
    }

    .gtech-prefooter-brand {
        text-align: left;
    }
}

/* ============================================
   NAV INNER SPACING ON MOBILE
   ============================================ */
@media (max-width: 767px) {
    .gtech-nav-inner {
        padding: 0 var(--gtech-container-padding);
        min-height: 46px;
        display: flex;
        align-items: center;
    }

    /* Ensure hamburger has correct sizing */
    .gtech-nav-mobile-toggle {
        width: 38px;
        height: 38px;
        gap: 4px;
        padding: 6px;
    }

    .gtech-nav-mobile-toggle-bar {
        height: 2px;
    }

    .gtech-nav-mobile-toggle.active .gtech-nav-mobile-toggle-bar:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .gtech-nav-mobile-toggle.active .gtech-nav-mobile-toggle-bar:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }
}

/* ============================================
   PARTNER ITEM TEXT ON MOBILE
   ============================================ */
@media (max-width: 767px) {
    .gtech-partner-name {
        font-size: 0.6875rem !important;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .gtech-products-page {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .gtech-post-loop {
        grid-template-columns: 1fr !important;
    }

    .gtech-hero-slide {
        min-height: 400px;
    }

    .gtech-news-list-thumb {
        width: 60px;
        height: 45px;
    }

    .gtech-news-block-card-image {
        width: 60px;
        height: 45px;
    }

    .gtech-news-small-card-image {
        width: 70px;
        height: 50px;
    }

    .gtech-news-block-title {
        font-size: 0.6875rem !important;
    }

    .gtech-products-heading {
        font-size: 0.9375rem !important;
    }

    .gtech-products-page {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }
}

/* Main Header */
.gtech-header {
    background-color: var(--gtech-white);
    box-shadow: var(--gtech-shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.gtech-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--gtech-spacing-md) 0;
}

.gtech-logo {
    display: flex;
    align-items: center;
    gap: var(--gtech-spacing-md);
    text-decoration: none;
}

.gtech-logo img {
    height: 50px;
    width: auto;
}

.gtech-logo-text {
    display: flex;
    flex-direction: column;
}

.gtech-logo-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gtech-primary);
    line-height: 1.2;
}

.gtech-logo-tagline {
    font-size: 0.75rem;
    color: var(--gtech-gray-500);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Navigation */
.gtech-nav {
    display: flex;
    align-items: center;
    gap: var(--gtech-spacing-xl);
}

.gtech-nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: var(--gtech-spacing-lg);
}

.gtech-nav-menu li {
    position: relative;
}

.gtech-nav-menu a {
    color: var(--gtech-gray-700);
    font-weight: 500;
    padding: var(--gtech-spacing-sm) 0;
    display: block;
    position: relative;
}

.gtech-nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--gtech-primary);
    transition: width var(--gtech-transition-base);
}

.gtech-nav-menu a:hover::after,
.gtech-nav-menu .current-menu-item a::after {
    width: 100%;
}

.gtech-nav-menu a:hover,
.gtech-nav-menu .current-menu-item a {
    color: var(--gtech-primary);
    text-decoration: none;
}
/* Search Box */
.gtech-search-box {
    position: relative;
}

.gtech-search-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--gtech-spacing-sm);
    color: var(--gtech-gray-600);
    transition: color var(--gtech-transition-fast);
}

.gtech-search-toggle:hover {
    color: var(--gtech-primary);
}

.gtech-search-form {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--gtech-white);
    padding: var(--gtech-spacing-md);
    border-radius: var(--gtech-radius-md);
    box-shadow: var(--gtech-shadow-lg);
    min-width: 300px;
}

.gtech-search-form.active {
    display: block;
}

.gtech-search-form input[type="search"] {
    width: 100%;
    padding: var(--gtech-spacing-sm) var(--gtech-spacing-md);
    border: 1px solid var(--gtech-gray-300);
    border-radius: var(--gtech-radius-md);
    font-size: 1rem;
}

.gtech-search-form input[type="search"]:focus {
    outline: none;
    border-color: var(--gtech-primary);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

/* Mobile Menu - Legacy toggle (unused, kept for compat) */
.gtech-mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--gtech-spacing-sm);
    color: var(--gtech-gray-700);
}

/* NOTE: Mobile menu styles are defined in the MOBILE MENU - CORE FIX section above.
   Do NOT override background/colors here. The active mobile menu uses dark theme. */

/* Search Form Styling */
.gtech-search-form input[type="search"] {
    padding: var(--gtech-spacing-sm) var(--gtech-spacing-md);
    border: 1px solid var(--gtech-gray-300);
    border-radius: var(--gtech-radius-md);
    font-size: 1rem;
    width: 100%;
}

.gtech-search-form input[type="search"]:focus {
    outline: none;
    border-color: var(--gtech-primary);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.search-form {
    display: flex;
    gap: var(--gtech-spacing-sm);
}

.search-form .search-field {
    flex: 1;
    padding: var(--gtech-spacing-sm) var(--gtech-spacing-md);
    border: 1px solid var(--gtech-gray-300);
    border-radius: var(--gtech-radius-md);
}

.search-form .search-submit {
    background-color: var(--gtech-primary);
    color: var(--gtech-white);
    border: none;
    padding: var(--gtech-spacing-sm) var(--gtech-spacing-lg);
    border-radius: var(--gtech-radius-md);
    cursor: pointer;
    transition: background-color var(--gtech-transition-fast);
}

.search-form .search-submit:hover {
    background-color: var(--gtech-primary-dark);
}

/* ============================================
   Hero Slider
   ============================================ */
.gtech-hero {
    position: relative;
    overflow: hidden;
    background-color: var(--gtech-gray-100);
}

.gtech-hero-slider {
    position: relative;
}

.gtech-hero-slide {
    position: relative;
    min-height: 520px;
    display: none;
}

.gtech-hero-slide.active {
    display: flex;
    align-items: center;
}

.gtech-hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}

.gtech-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.85), rgba(14, 165, 233, 0.7));
}

.gtech-hero-content-wrapper {
    width: 100%;
}

.gtech-hero-content {
    position: relative;
    z-index: 10;
    color: var(--gtech-white);
    max-width: 600px;
    padding: 120px 0;
}

.gtech-hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--gtech-spacing-lg);
    color: var(--gtech-white);
}

.gtech-hero-description {
    font-size: 1.125rem;
    margin-bottom: var(--gtech-spacing-xl);
    opacity: 0.95;
}

@media (min-width: 768px) and (max-width: 1366px) {
    .gtech-hero-content {
        max-width: 900px;
        padding: 140px 0;
    }

    .gtech-hero-description {
        max-width: 860px;
        font-size: 1rem;
        line-height: 1.55;
    }
}

.gtech-hero-btn {
    display: inline-block;
    background-color: var(--gtech-accent);
    color: var(--gtech-white);
    padding: var(--gtech-spacing-md) var(--gtech-spacing-xl);
    border-radius: var(--gtech-radius-md);
    font-weight: 600;
    transition: all var(--gtech-transition-base);
    text-decoration: none;
}

.gtech-hero-btn:hover {
    background-color: var(--gtech-accent-dark);
    transform: translateY(-2px);
    box-shadow: var(--gtech-shadow-lg);
    text-decoration: none;
    color: var(--gtech-white);
}

/* Slider Navigation */
.gtech-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: var(--gtech-radius-full);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--gtech-transition-base);
    color: var(--gtech-primary);
}

.gtech-slider-nav:hover {
    background-color: var(--gtech-primary);
    color: var(--gtech-white);
}

.gtech-slider-prev {
    left: var(--gtech-spacing-lg);
}

.gtech-slider-next {
    right: var(--gtech-spacing-lg);
}

.gtech-slider-dots {
    position: absolute;
    bottom: var(--gtech-spacing-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--gtech-spacing-sm);
    z-index: 20;
}

.gtech-slider-dot {
    width: 12px;
    height: 12px;
    border-radius: var(--gtech-radius-full);
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all var(--gtech-transition-base);
}

.gtech-slider-dot.active,
.gtech-slider-dot:hover {
    background-color: var(--gtech-white);
    transform: scale(1.2);
}

/* ============================================
   About Section
   ============================================ */
.gtech-about {
    background-color: var(--gtech-white);
    padding-bottom: var(--gtech-spacing-2xl);
}

.gtech-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gtech-spacing-2xl);
    align-items: center;
}

.gtech-about-content {
    padding-right: var(--gtech-spacing-xl);
}

.gtech-about-content h2 {
    margin-bottom: var(--gtech-spacing-lg);
}

.gtech-about-content p {
    color: var(--gtech-gray-600);
    margin-bottom: var(--gtech-spacing-xl);
}

.gtech-about-image {
    position: relative;
    border-radius: var(--gtech-radius-xl);
    overflow: hidden;
    box-shadow: var(--gtech-shadow-xl);
}

.gtech-about-image img {
    width: 100%;
    height: auto;
    transition: transform var(--gtech-transition-slow);
}

.gtech-about-image:hover img {
    transform: scale(1.05);
}

/* ============================================
   Company Activities
   ============================================ */
.gtech-activities {
    background-color: var(--gtech-gray-50);
}

.gtech-activities-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gtech-spacing-3xl);
}

.gtech-activities-featured {
    position: relative;
    border-radius: var(--gtech-radius-xl);
    overflow: hidden;
    box-shadow: var(--gtech-shadow-lg);
}

.gtech-activities-featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 400px;
}

.gtech-activities-list {
    display: flex;
    flex-direction: column;
    gap: var(--gtech-spacing-lg);
}

.gtech-activity-item {
    display: flex;
    gap: var(--gtech-spacing-lg);
    padding: var(--gtech-spacing-lg);
    background-color: var(--gtech-white);
    border-radius: var(--gtech-radius-lg);
    box-shadow: var(--gtech-shadow-sm);
    transition: all var(--gtech-transition-base);
}

.gtech-activity-item:hover {
    box-shadow: var(--gtech-shadow-md);
    transform: translateX(5px);
}

.gtech-activity-thumb {
    flex-shrink: 0;
    width: 120px;
    height: 80px;
    border-radius: var(--gtech-radius-md);
    overflow: hidden;
}

.gtech-activity-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gtech-activity-content {
    flex: 1;
}

.gtech-activity-content h4 {
    font-size: 1rem;
    margin-bottom: var(--gtech-spacing-sm);
}

.gtech-activity-content h4 a {
    color: var(--gtech-gray-800);
}

.gtech-activity-content h4 a:hover {
    color: var(--gtech-primary);
}

.gtech-activity-content p {
    font-size: 0.875rem;
    color: var(--gtech-gray-500);
    margin-bottom: 0;
}

.gtech-activity-date {
    font-size: 0.75rem;
    color: var(--gtech-primary);
    font-weight: 500;
}

/* ============================================
   News Section
   ============================================ */
.gtech-news {
    background-color: var(--gtech-white);
}

.gtech-news-list {
    display: flex;
    flex-direction: column;
    gap: var(--gtech-spacing-md);
}

.gtech-news-item {
    display: flex;
    align-items: center;
    gap: var(--gtech-spacing-lg);
    padding: var(--gtech-spacing-md);
    background-color: var(--gtech-gray-50);
    border-radius: var(--gtech-radius-lg);
    transition: all var(--gtech-transition-base);
}

.gtech-news-item:hover {
    background-color: var(--gtech-white);
    box-shadow: var(--gtech-shadow-md);
    transform: translateX(5px);
}

.gtech-news-thumb {
    flex-shrink: 0;
    width: 100px;
    height: 70px;
    border-radius: var(--gtech-radius-md);
    overflow: hidden;
}

.gtech-news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gtech-news-content {
    flex: 1;
}

.gtech-news-content h4 {
    font-size: 1rem;
    margin-bottom: var(--gtech-spacing-xs);
}

.gtech-news-content h4 a {
    color: var(--gtech-gray-800);
}

.gtech-news-content h4 a:hover {
    color: var(--gtech-primary);
}

.gtech-news-content p {
    font-size: 0.875rem;
    color: var(--gtech-gray-500);
    margin-bottom: 0;
}

.gtech-news-date {
    font-size: 0.75rem;
    color: var(--gtech-primary);
    font-weight: 500;
    white-space: nowrap;
}

/* ============================================
   Home News Section - 2 Columns Layout (75% + 25%)
   ============================================ */
.gtech-home-news {
    padding: 30px 0;
    background-color: #eef1f5;
}

.gtech-home-news-grid {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 15px;
    margin-bottom: 40px;
}

.gtech-home-news-col {
    min-width: 0;
}

.gtech-home-news-blocks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

/* News Block Common Styles */
.gtech-news-block {
    background-color: var(--gtech-white);
    border-radius: 0;
    overflow: hidden;
    border: 1px solid #ddd;
    height: 100%;
}

.gtech-news-block-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 15px;
    background-color: var(--gtech-primary);
    clip-path: none;
}

.gtech-news-block-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--gtech-white);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gtech-news-block-title i {
    display: none;
}

.gtech-news-block-more {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all 0.25s ease;
}

.gtech-news-block-more:hover {
    color: var(--gtech-white);
    text-decoration: none;
}

.gtech-news-block-more i {
    font-size: 0.625rem;
    transition: transform 0.25s ease;
}

.gtech-news-block-more:hover i {
    transform: translateX(3px);
}

/* ============================================
   LEFT COLUMN - Grid Layout (75%)
   ============================================ */
.gtech-news-grid-layout {
    display: grid;
    grid-template-columns: 55% 45%;
    grid-template-rows: 1fr;
    gap: 0;
    padding: 0;
    height: 350px;
}

/* Featured Main Post */
.gtech-news-featured-main {
    grid-row: 1 / -1;
    grid-column: 1 / 2;
    position: relative;
    height: 350px;
}

.gtech-news-featured-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    height: 350px;
}

.gtech-news-featured-link:hover {
    text-decoration: none;
}

.gtech-news-featured-image {
    position: relative;
    flex: 1;
    overflow: hidden;
    border-radius: 0;
}

.gtech-news-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gtech-news-featured-link:hover .gtech-news-featured-image img {
    transform: scale(1.03);
}

.gtech-news-featured-overlay {
    display: none;
}

.gtech-news-featured-content {
    position: relative;
    padding: 6px 10px;
    color: var(--gtech-gray-800);
    background-color: var(--gtech-white);
    flex-shrink: 0;
}

.gtech-news-featured-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gtech-gray-800);
    margin: 0 0 2px;
    line-height: 1.3;
    text-transform: uppercase;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gtech-news-featured-link:hover .gtech-news-featured-title {
    color: var(--gtech-primary);
}

.gtech-news-featured-excerpt {
    display: none;
}

.gtech-news-featured-date {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.625rem;
    color: #e07020;
}

.gtech-news-featured-date i {
    display: none;
}

.gtech-news-small-grid {
    grid-column: 2 / 3;
    grid-row: 1 / -1;
    display: flex;
    flex-direction: column;
    gap: 0;
    border-left: 1px solid #eee;
    height: 350px;
}

.gtech-news-small-card {
    background-color: var(--gtech-white);
    border-radius: 0;
    overflow: hidden;
    transition: background-color 0.25s ease;
    border-bottom: 1px solid #eee;
}

.gtech-news-small-card:last-child {
    border-bottom: none;
}

.gtech-news-small-card:hover {
    background-color: #f5f7fa;
    box-shadow: none;
    transform: none;
}

.gtech-news-small-card-link {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 8px;
    padding: 6px 10px;
    text-decoration: none;
    color: inherit;
    height: auto;
}

.gtech-news-small-card-link:hover {
    text-decoration: none;
}

.gtech-news-small-card-image {
    flex-shrink: 0;
    width: 70px;
    height: 50px;
    overflow: hidden;
    border-radius: 0;
}

.gtech-news-small-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gtech-news-small-card:hover .gtech-news-small-card-image img {
    transform: scale(1.05);
}

.gtech-news-small-card-content {
    padding: 0;
    flex: 1;
    min-width: 0;
}

.gtech-news-small-card-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gtech-gray-800);
    margin: 0 0 2px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.25s ease;
}

.gtech-news-small-card:hover .gtech-news-small-card-title {
    color: var(--gtech-primary);
}

.gtech-news-small-card-date {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.6875rem;
    color: #e07020;
}

.gtech-news-small-card-date i {
    display: none;
}

/* ============================================
   RIGHT COLUMN - Marquee List (25%)
   ============================================ */
.gtech-news-marquee {
    padding: 12px 15px;
    overflow: hidden;
    height: 350px;
}

.gtech-news-marquee-content {
    display: flex;
    flex-direction: column;
    animation: gtech-marquee 25s linear infinite;
}

.gtech-news-marquee:hover .gtech-news-marquee-content {
    animation-play-state: paused;
}

@keyframes gtech-marquee {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-50%);
    }
}

.gtech-news-marquee-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    color: var(--gtech-gray-700);
    transition: color 0.25s ease;
}

.gtech-news-marquee-item:last-child {
    border-bottom: none;
}

.gtech-news-marquee-item:hover {
    color: var(--gtech-primary);
    padding-left: 0;
}

.gtech-news-marquee-item i {
    flex-shrink: 0;
    color: var(--gtech-primary);
    margin-top: 4px;
    font-size: 0.625rem;
}

.gtech-news-marquee-item span {
    font-size: 0.8125rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================
   RIGHT COLUMN - List with Thumbnails
   ============================================ */
.gtech-news-list {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.gtech-news-list-item {
    padding: 0;
    background-color: var(--gtech-white);
    border-radius: 0;
    transition: background-color 0.25s ease;
    border-bottom: 1px solid #eee;
}

.gtech-news-list-item:last-child {
    border-bottom: none;
}

.gtech-news-list-item:hover {
    background-color: #f5f7fa;
    transform: none;
}

.gtech-news-list-link {
    display: flex;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    padding: 10px 12px;
}

.gtech-news-list-link:hover {
    text-decoration: none;
}

.gtech-news-list-thumb {
    flex-shrink: 0;
    width: 70px;
    height: 55px;
    border-radius: 0;
    overflow: hidden;
}

.gtech-news-list-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gtech-news-list-item:hover .gtech-news-list-thumb img {
    transform: scale(1.05);
}

.gtech-news-list-content {
    flex: 1;
    min-width: 0;
}

.gtech-news-list-title {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gtech-gray-800);
    margin: 0 0 4px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.25s ease;
}

.gtech-news-list-item:hover .gtech-news-list-title {
    color: var(--gtech-primary);
}

.gtech-news-list-date {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.6875rem;
    color: #e07020;
}

.gtech-news-list-date i {
    display: none;
}

/* ============================================
   BOTTOM BLOCKS - Cards as List
   ============================================ */
.gtech-home-news-block-item {
    min-width: 0;
}

.gtech-news-block-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
}

.gtech-news-block-card {
    background-color: var(--gtech-white);
    border-radius: 0;
    overflow: hidden;
    transition: background-color 0.25s ease;
    border-bottom: 1px solid #eee;
}

.gtech-news-block-card:last-child {
    border-bottom: none;
}

.gtech-news-block-card:hover {
    background-color: #f5f7fa;
    box-shadow: none;
    transform: none;
}

.gtech-news-block-card-link {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    text-decoration: none;
    color: inherit;
}

.gtech-news-block-card-link:hover {
    text-decoration: none;
}

.gtech-news-block-card-image {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    overflow: hidden;
    border-radius: 0;
}

.gtech-news-block-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gtech-news-block-card:hover .gtech-news-block-card-image img {
    transform: scale(1.05);
}

.gtech-news-block-card-content {
    flex: 1;
    min-width: 0;
    padding: 0;
}

.gtech-news-block-card-title {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gtech-gray-800);
    margin: 0 0 4px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.25s ease;
}

.gtech-news-block-card:hover .gtech-news-block-card-title {
    color: var(--gtech-primary);
}

.gtech-news-block-card-date {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.6875rem;
    color: #e07020;
}

.gtech-news-block-card-date i {
    display: none;
}

/* ============================================
   UNITS GRID (Compact) - Horizontal rows
   ============================================ */
.gtech-units-grid-compact {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
}

.gtech-unit-item {
    background-color: var(--gtech-white);
    border-radius: 0;
    padding: 0;
    text-align: left;
    transition: background-color 0.25s ease;
    border-bottom: 1px solid #eee;
}

.gtech-unit-item:last-child {
    border-bottom: none;
}

.gtech-unit-item:hover {
    background-color: #f5f7fa;
    transform: none;
    box-shadow: none;
}

.gtech-unit-item-link {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    text-decoration: none;
    color: inherit;
}

a.gtech-unit-item-link:hover {
    text-decoration: none;
    color: inherit;
}

.gtech-unit-item-logo {
    flex-shrink: 0;
    width: 55px;
    height: 55px;
    margin: 0;
    border-radius: 0;
    overflow: hidden;
    background-color: var(--gtech-white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    border: 1px solid #eee;
}

.gtech-unit-item-logo img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.gtech-unit-item-logo i {
    font-size: 1.25rem;
    color: var(--gtech-gray-400);
}

.gtech-unit-item-name {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gtech-gray-700);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gtech-unit-item:hover .gtech-unit-item-name {
    color: var(--gtech-primary);
}

/* ============================================
   BOTTOM BLOCKS - News Block List (Tin Cổ Đông)
   ============================================ */
.gtech-news-block-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
}

.gtech-news-block-list .gtech-news-list-item {
    padding: 0;
    background-color: var(--gtech-white);
    border-radius: 0;
    border-bottom: 1px solid #eee;
}

.gtech-news-block-list .gtech-news-list-item:last-child {
    border-bottom: none;
}

/* ============================================
   Products Section - Redesigned
   ============================================ */
.gtech-products {
    background-color: #e8ecef;
    padding: 40px 0 50px;
}

.gtech-products-heading {
    text-align: center;
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--gtech-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 30px;
}

.gtech-products-carousel {
    position: relative;
}

.gtech-products-pages {
    position: relative;
}

.gtech-products-page {
    display: none;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gtech-products-page.active {
    display: grid;
    animation: gtechFadeIn 0.4s ease;
}

@keyframes gtechFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gtech-product-card {
    background-color: var(--gtech-white);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.gtech-product-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.gtech-product-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.gtech-product-card-link:hover {
    text-decoration: none;
    color: inherit;
}

.gtech-product-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background-color: #f0f0f0;
}

.gtech-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gtech-product-card:hover .gtech-product-image img {
    transform: scale(1.05);
}

.gtech-product-name {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--gtech-gray-800);
    text-align: center;
    padding: 14px 10px;
    margin: 0;
    background-color: var(--gtech-white);
    border-top: 1px solid #e5e5e5;
}

.gtech-product-card:hover .gtech-product-name {
    color: var(--gtech-primary);
}

/* Products Pagination Dots */
.gtech-products-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.gtech-products-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid #b0b0b0;
    background-color: transparent;
    cursor: pointer;
    padding: 0;
    transition: all 0.25s ease;
}

.gtech-products-dot.active,
.gtech-products-dot:hover {
    background-color: var(--gtech-primary);
    border-color: var(--gtech-primary);
}

/* ============================================
   Partners Section - Redesigned
   ============================================ */
.gtech-partners {
    background-color: var(--gtech-white);
    padding: 35px 0 40px;
    border-top: 3px solid #d0d5db;
}

.gtech-partners-heading {
    text-align: center;
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--gtech-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 25px;
}

.gtech-partners-marquee {
    overflow: hidden;
    border: 1px solid #ddd;
    position: relative;
}

.gtech-partners-row {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    animation: gtech-partners-scroll 20s ease-in-out infinite alternate;
    width: max-content;
}

.gtech-partners-marquee:hover .gtech-partners-row {
    animation-play-state: paused;
}

@keyframes gtech-partners-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-100% + 100vw - 40px));
    }
}

.gtech-partner-item {
    flex: 0 0 auto;
    width: 140px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    border-right: 1px solid #eee;
    background-color: var(--gtech-white);
}

.gtech-partner-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: opacity 0.25s ease;
}

.gtech-partner-item:hover img {
    opacity: 0.8;
}

.gtech-partner-name {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gtech-gray-600);
    text-align: center;
    line-height: 1.2;
    white-space: nowrap;
}

/* ============================================
   Pre-Footer Bar
   ============================================ */
.gtech-prefooter {
    background-color: #d6dce2;
    padding: 20px 0;
    border-top: 1px solid #c0c7ce;
}

.gtech-prefooter-inner {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    gap: 30px;
    align-items: center;
}

/* Logo + ISO */
.gtech-prefooter-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.gtech-prefooter-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.gtech-prefooter-logo img,
.gtech-prefooter-logo .custom-logo {
    height: 50px;
    width: auto;
}

.gtech-prefooter-brand {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--gtech-primary);
    line-height: 1;
}

.gtech-prefooter-iso {
    font-size: 0.6875rem;
    color: var(--gtech-gray-600);
    letter-spacing: 0.5px;
}

/* Newsletter in pre-footer */
.gtech-prefooter-newsletter h4 {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--gtech-gray-800);
    margin: 0 0 8px;
    text-transform: uppercase;
}

.gtech-prefooter .gtech-newsletter-form {
    display: flex;
    gap: 0;
}

.gtech-prefooter .gtech-newsletter-form input[type="email"] {
    flex: 1;
    padding: 7px 12px;
    border: 1px solid #bbb;
    border-right: none;
    border-radius: 0;
    font-size: 0.8125rem;
    background-color: var(--gtech-white);
    min-width: 180px;
}

.gtech-prefooter .gtech-newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: var(--gtech-primary);
}

.gtech-prefooter .gtech-newsletter-form button {
    padding: 7px 16px;
    border: none;
    border-radius: 0;
    background-color: var(--gtech-primary);
    color: var(--gtech-white);
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.25s ease;
}

.gtech-prefooter .gtech-newsletter-form button:hover {
    background-color: var(--gtech-primary-dark);
}

/* Stats in pre-footer */
.gtech-prefooter-stats h4 {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--gtech-gray-800);
    margin: 0 0 6px;
    text-transform: uppercase;
}

.gtech-prefooter-stats p {
    font-size: 0.8125rem;
    color: var(--gtech-gray-700);
    margin: 0 0 2px;
    line-height: 1.5;
}

.gtech-prefooter-stats strong {
    color: var(--gtech-primary);
}

/* Dropdown links in pre-footer */
.gtech-prefooter-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gtech-prefooter-select,
.gtech-prefooter-links select {
    width: 100%;
    min-width: 220px;
    padding: 7px 10px;
    border: 1px solid #bbb;
    border-radius: 0;
    font-size: 0.8125rem;
    color: var(--gtech-gray-700);
    background-color: var(--gtech-white);
    cursor: pointer;
    appearance: auto;
}

.gtech-prefooter-select:focus,
.gtech-prefooter-links select:focus {
    outline: none;
    border-color: var(--gtech-primary);
}

/* Old Newsletter section removed - replaced by Pre-Footer Bar above */

/* ============================================
   Activities Alt Style
   ============================================ */
.gtech-activities-alt {
    background-color: var(--gtech-white);
}

.gtech-activities-alt .gtech-section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

/* ============================================
   No Results
   ============================================ */
.gtech-no-results {
    text-align: center;
    padding: var(--gtech-spacing-3xl) 0;
}

.gtech-no-results h2 {
    margin-bottom: var(--gtech-spacing-lg);
}

/* ============================================
   Footer
   ============================================ */
.gtech-footer {
    background-color: var(--gtech-gray-900);
    color: var(--gtech-gray-300);
    padding-top: var(--gtech-spacing-3xl);
}

.gtech-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1fr;
    gap: var(--gtech-spacing-2xl);
    padding-bottom: var(--gtech-spacing-3xl);
}

.gtech-footer-about {
    padding-right: var(--gtech-spacing-lg);
}

.gtech-footer-about .gtech-logo {
    margin-bottom: var(--gtech-spacing-lg);
}

.gtech-footer-about .gtech-logo-name {
    color: var(--gtech-white);
}

.gtech-footer-about p {
    font-size: 0.875rem;
    line-height: 1.8;
    margin-bottom: 0;
}

.gtech-footer-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gtech-white);
    margin-bottom: var(--gtech-spacing-lg);
}

.gtech-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.gtech-footer-links li {
    margin-bottom: var(--gtech-spacing-sm);
}

.gtech-footer-links a {
    color: var(--gtech-gray-300);
    font-size: 0.875rem;
    transition: color var(--gtech-transition-fast);
}

.gtech-footer-links a:hover {
    color: var(--gtech-white);
}

.gtech-footer-map iframe {
    width: 100%;
    height: 200px;
    border-radius: var(--gtech-radius-md);
    border: none;
}

.gtech-footer-social {
    display: flex;
    gap: var(--gtech-spacing-md);
    margin-top: var(--gtech-spacing-lg);
}

.gtech-footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--gtech-radius-full);
    color: var(--gtech-white);
    transition: all var(--gtech-transition-base);
}

.gtech-footer-social a:hover {
    background-color: var(--gtech-primary);
    transform: translateY(-3px);
}

.gtech-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--gtech-spacing-lg) 0;
    text-align: center;
    font-size: 0.875rem;
}

.gtech-map-placeholder {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--gtech-radius-md);
    padding: var(--gtech-spacing-xl);
    text-align: center;
    color: var(--gtech-gray-400);
}

.gtech-footer-contact {
    margin-top: var(--gtech-spacing-lg);
}

.gtech-footer-contact p {
    display: flex;
    align-items: center;
    gap: var(--gtech-spacing-sm);
    font-size: 0.875rem;
    margin-bottom: var(--gtech-spacing-sm);
}

.gtech-footer-contact p span {
    min-width: 0;
}

.gtech-fanpage-box {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--gtech-radius-md);
    padding: var(--gtech-spacing-lg);
}

.gtech-fanpage-box p {
    font-size: 0.875rem;
    margin-bottom: var(--gtech-spacing-lg);
}

/* ============================================
   Button Styles
   ============================================ */
.gtech-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--gtech-spacing-sm);
    padding: var(--gtech-spacing-md) var(--gtech-spacing-xl);
    border-radius: var(--gtech-radius-md);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all var(--gtech-transition-base);
}

.gtech-btn-primary {
    background-color: var(--gtech-primary);
    color: var(--gtech-white);
}

.gtech-btn-primary:hover {
    background-color: var(--gtech-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--gtech-shadow-md);
    text-decoration: none;
    color: var(--gtech-white);
}

.gtech-btn-secondary {
    background-color: var(--gtech-secondary);
    color: var(--gtech-white);
}

.gtech-btn-secondary:hover {
    background-color: var(--gtech-secondary-dark);
    transform: translateY(-2px);
    box-shadow: var(--gtech-shadow-md);
    text-decoration: none;
    color: var(--gtech-white);
}

.gtech-btn-outline {
    background-color: transparent;
    border: 2px solid var(--gtech-primary);
    color: var(--gtech-primary);
}

.gtech-btn-outline:hover {
    background-color: var(--gtech-primary);
    color: var(--gtech-white);
    text-decoration: none;
}

.gtech-btn-accent {
    background-color: var(--gtech-accent);
    color: var(--gtech-white);
}

.gtech-btn-accent:hover {
    background-color: var(--gtech-accent-dark);
    transform: translateY(-2px);
    box-shadow: var(--gtech-shadow-md);
    text-decoration: none;
    color: var(--gtech-white);
}

/* ============================================
   Card Styles
   ============================================ */
.gtech-card {
    background-color: var(--gtech-white);
    border-radius: var(--gtech-radius-lg);
    box-shadow: var(--gtech-shadow-sm);
    overflow: hidden;
    transition: all var(--gtech-transition-base);
}

.gtech-card:hover {
    box-shadow: var(--gtech-shadow-lg);
    transform: translateY(-5px);
}

/* ============================================
   Post Loop Styles
   ============================================ */
.gtech-post-loop {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--gtech-spacing-xl);
}

.gtech-post-card {
    background-color: var(--gtech-white);
    border-radius: var(--gtech-radius-lg);
    overflow: hidden;
    box-shadow: var(--gtech-shadow-sm);
    transition: all var(--gtech-transition-base);
}

.gtech-post-card:hover {
    box-shadow: var(--gtech-shadow-lg);
    transform: translateY(-5px);
}

.gtech-post-card-thumb {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.gtech-post-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--gtech-transition-slow);
}

.gtech-post-card:hover .gtech-post-card-thumb img {
    transform: scale(1.1);
}

.gtech-post-card-category {
    position: absolute;
    top: var(--gtech-spacing-md);
    left: var(--gtech-spacing-md);
    background-color: var(--gtech-primary);
    color: var(--gtech-white);
    padding: var(--gtech-spacing-xs) var(--gtech-spacing-md);
    border-radius: var(--gtech-radius-full);
    font-size: 0.75rem;
    font-weight: 500;
}

.gtech-post-card-content {
    padding: var(--gtech-spacing-lg);
}

.gtech-post-card-date {
    font-size: 0.75rem;
    color: var(--gtech-gray-400);
    margin-bottom: var(--gtech-spacing-sm);
}

.gtech-post-card-title {
    font-size: 1.125rem;
    margin-bottom: var(--gtech-spacing-md);
}

.gtech-post-card-title a {
    color: var(--gtech-gray-800);
}

.gtech-post-card-title a:hover {
    color: var(--gtech-primary);
}

.gtech-post-card-excerpt {
    font-size: 0.875rem;
    color: var(--gtech-gray-500);
    margin-bottom: 0;
}

/* ============================================
   Sidebar Styles
   ============================================ */
.gtech-sidebar {
    padding: var(--gtech-spacing-xl);
    background-color: var(--gtech-gray-50);
    border-radius: var(--gtech-radius-lg);
}

.gtech-sidebar-widget {
    margin-bottom: var(--gtech-spacing-xl);
}

.gtech-sidebar-widget:last-child {
    margin-bottom: 0;
}

.gtech-sidebar-widget-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gtech-gray-800);
    margin-bottom: var(--gtech-spacing-lg);
    padding-bottom: var(--gtech-spacing-sm);
    border-bottom: 2px solid var(--gtech-primary);
}

/* ============================================
   Single Post Styles
   ============================================ */
.gtech-single-post {
    max-width: 800px;
    margin: 0 auto;
}

.gtech-single-post-header {
    margin-bottom: var(--gtech-spacing-xl);
}

.gtech-single-post-title {
    font-size: 2rem;
    margin-bottom: var(--gtech-spacing-lg);
}

.gtech-single-post-meta {
    display: flex;
    gap: var(--gtech-spacing-lg);
    font-size: 0.875rem;
    color: var(--gtech-gray-500);
}

.gtech-single-post-thumbnail {
    margin-bottom: var(--gtech-spacing-xl);
    border-radius: var(--gtech-radius-lg);
    overflow: hidden;
}

.gtech-single-post-thumbnail img {
    width: 100%;
    height: auto;
}

.gtech-single-post-content {
    font-size: 1.0625rem;
    line-height: 1.8;
}

.gtech-single-post-content h2,
.gtech-single-post-content h3,
.gtech-single-post-content h4 {
    margin-top: var(--gtech-spacing-xl);
}

.gtech-single-post-content ul,
.gtech-single-post-content ol {
    margin-bottom: var(--gtech-spacing-lg);
    padding-left: var(--gtech-spacing-xl);
}

.gtech-single-post-content li {
    margin-bottom: var(--gtech-spacing-sm);
}

/* ============================================
   Page Styles
   ============================================ */
.gtech-page-header {
    background: linear-gradient(135deg, var(--gtech-primary) 0%, var(--gtech-primary-dark) 100%);
    color: var(--gtech-white);
    padding: var(--gtech-spacing-3xl) 0;
    text-align: center;
}

.gtech-page-header h1 {
    color: var(--gtech-white);
    margin-bottom: var(--gtech-spacing-md);
}

.gtech-page-header p {
    opacity: 0.9;
    margin-bottom: 0;
}

.gtech-page-content {
    padding: var(--gtech-spacing-3xl) 0;
}

/* ============================================
   Pagination
   ============================================ */
.gtech-pagination {
    display: flex;
    justify-content: center;
    gap: var(--gtech-spacing-sm);
    margin-top: var(--gtech-spacing-xl);
}

.gtech-pagination a,
.gtech-pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 var(--gtech-spacing-md);
    border-radius: var(--gtech-radius-md);
    background-color: var(--gtech-gray-100);
    color: var(--gtech-gray-700);
    font-weight: 500;
    transition: all var(--gtech-transition-base);
}

.gtech-pagination a:hover {
    background-color: var(--gtech-primary);
    color: var(--gtech-white);
}

.gtech-pagination .current {
    background-color: var(--gtech-primary);
    color: var(--gtech-white);
}

/* ============================================
   404 Page
   ============================================ */
.gtech-404 {
    text-align: center;
    padding: var(--gtech-spacing-3xl) 0;
}

.gtech-404-number {
    font-size: 8rem;
    font-weight: 700;
    color: var(--gtech-gray-200);
    line-height: 1;
}

.gtech-404-title {
    font-size: 1.5rem;
    margin-bottom: var(--gtech-spacing-lg);
}

.gtech-404-text {
    color: var(--gtech-gray-500);
    margin-bottom: var(--gtech-spacing-xl);
}

/* ============================================
   Loading States
   ============================================ */
.gtech-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--gtech-spacing-3xl);
}

.gtech-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--gtech-gray-200);
    border-top-color: var(--gtech-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Skeleton Loading */
.gtech-skeleton {
    background: linear-gradient(90deg, var(--gtech-gray-100) 25%, var(--gtech-gray-200) 50%, var(--gtech-gray-100) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: var(--gtech-radius-md);
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* ============================================
   Accessibility
   ============================================ */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: var(--gtech-gray-100);
    clip: auto !important;
    clip-path: none;
    color: var(--gtech-gray-800);
    display: block;
    font-size: 1rem;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Focus Visible */
:focus-visible {
    outline: 2px solid var(--gtech-primary);
    outline-offset: 2px;
}

/* Skip Link */
.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: 999999;
}

.skip-link:focus {
    display: block;
    left: var(--gtech-spacing-md);
    top: var(--gtech-spacing-md);
    width: auto;
    height: auto;
    padding: var(--gtech-spacing-md) var(--gtech-spacing-lg);
    background-color: var(--gtech-white);
    color: var(--gtech-primary);
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--gtech-radius-md);
    box-shadow: var(--gtech-shadow-lg);
}

/* ============================================
   Print Styles
   ============================================ */
@media print {

    .gtech-header,
    .gtech-footer,
    .gtech-sidebar,
    .gtech-pagination {
        display: none !important;
    }

    body {
        font-size: 12pt;
        color: #000;
        background: #fff;
    }

    a {
        color: #000;
        text-decoration: none;
    }
}

/* ============================================
   Layout Grid
   ============================================ */
.gtech-layout-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: var(--gtech-spacing-2xl);
}

.gtech-main-content {
    min-width: 0;
}

@media (max-width: 1024px) {
    .gtech-layout-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   MOBILE RESPONSIVE COMPREHENSIVE FIX
   Fixes: Nav, Hamburger Menu, Activity Posts,
   Products Marquee, Footer
   DO NOT MODIFY DESKTOP STYLES
   ============================================ */

/* --- MOBILE MENU FIX: Ensure dark theme & proper display --- */
@media (max-width: 1024px) {
    .gtech-mobile-menu {
        display: none !important;
        background-color: var(--gtech-primary-dark) !important;
        border-top: none !important;
        padding: 0 !important;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease-out, padding 0.35s ease-out;
    }

    .gtech-mobile-menu.active {
        display: block !important;
        max-height: 80vh;
        overflow-y: auto;
        padding: var(--gtech-spacing-md) 0 !important;
    }

    .gtech-mobile-menu .gtech-mobile-nav-menu {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .gtech-mobile-menu .gtech-mobile-nav-menu li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    }

    .gtech-mobile-menu .gtech-mobile-nav-menu li a {
        display: block;
        padding: 12px var(--gtech-spacing-lg) !important;
        color: var(--gtech-white) !important;
        font-size: 0.9375rem;
        font-weight: 500;
        text-decoration: none;
        transition: all var(--gtech-transition-base);
    }

    .gtech-mobile-menu .gtech-mobile-nav-menu li a:hover,
    .gtech-mobile-menu .gtech-mobile-nav-menu li.current-menu-item > a {
        background-color: rgba(255, 255, 255, 0.1) !important;
        color: #f5c518 !important;
        padding-left: calc(var(--gtech-spacing-lg) + 8px) !important;
        text-decoration: none;
    }

    .gtech-mobile-menu .gtech-mobile-nav-menu .sub-menu {
        list-style: none;
        padding: 0;
        margin: 0;
        max-height: 0;
        overflow: hidden;
        background-color: rgba(0, 0, 0, 0.15);
        transition: max-height 0.3s ease;
    }

    .gtech-mobile-menu .gtech-mobile-nav-menu .sub-menu.open {
        max-height: 500px;
    }

    .gtech-mobile-menu .gtech-mobile-nav-menu .sub-menu li a {
        font-size: 0.875rem;
        padding: 10px var(--gtech-spacing-lg) 10px calc(var(--gtech-spacing-lg) + 24px) !important;
        opacity: 0.9;
    }

    .gtech-mobile-menu .gtech-mobile-nav-menu .sub-menu .sub-menu {
        background-color: rgba(0, 0, 0, 0.2);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .gtech-mobile-menu .gtech-mobile-nav-menu .sub-menu .sub-menu.open {
        max-height: 500px;
    }

    .gtech-mobile-menu .gtech-mobile-nav-menu .sub-menu .sub-menu li a {
        font-size: 0.8125rem;
        padding-left: calc(var(--gtech-spacing-lg) + 32px) !important;
        opacity: 0.85;
    }

    .gtech-mobile-menu .gtech-mobile-nav-menu .sub-menu .sub-menu .sub-menu {
        background-color: rgba(0, 0, 0, 0.25);
    }

    .gtech-mobile-menu .gtech-mobile-nav-menu li.menu-item-has-children > a {
        padding-right: 52px !important;
    }
}

/* --- MOBILE: Activity Posts as Horizontal Scroll Row --- */
@media (max-width: 767px) {
    .gtech-news-small-grid {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        gap: 0 !important;
        border-left: none !important;
        border-top: 1px solid #eee;
        max-height: none !important;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        padding: 0;
    }

    .gtech-news-small-grid::-webkit-scrollbar {
        display: none;
    }

    .gtech-news-small-card {
        flex: 0 0 160px !important;
        width: 160px !important;
        min-width: 160px !important;
        border-bottom: none !important;
        border-right: 1px solid #eee;
        scroll-snap-align: start;
    }

    .gtech-news-small-card:last-child {
        border-right: none;
    }

    .gtech-news-small-card-link {
        flex-direction: column !important;
        padding: 8px !important;
        gap: 6px !important;
    }

    .gtech-news-small-card-image {
        width: 100% !important;
        height: 90px !important;
    }

    .gtech-news-small-card-content {
        padding: 0 !important;
    }

    .gtech-news-small-card-title {
        font-size: 0.6875rem !important;
        -webkit-line-clamp: 2;
        line-height: 1.3;
    }

    .gtech-news-small-card-date {
        font-size: 0.5625rem !important;
    }
}

/* --- PRODUCTS & SERVICES: Horizontal Marquee (both mobile & PC) --- */
.gtech-products-marquee-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    animation: gtech-products-marquee-scroll 25s linear infinite;
    width: max-content;
}

.gtech-products-marquee-row:hover {
    animation-play-state: paused;
}

@keyframes gtech-products-marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.gtech-products-marquee-row .gtech-product-card {
    flex: 0 0 auto;
    width: 240px;
}

.gtech-products-marquee-row .gtech-product-image {
    height: 180px;
}

@media (max-width: 767px) {
    .gtech-products-marquee-row .gtech-product-card {
        width: 180px;
    }

    .gtech-products-marquee-row .gtech-product-image {
        height: 130px;
    }

    .gtech-products-marquee-row .gtech-product-name {
        font-size: 0.75rem;
        padding: 8px 6px;
    }
}

/* --- FOOTER MOBILE FIX --- */
@media (max-width: 767px) {
    /* Prefooter */
    .gtech-prefooter {
        padding: 12px 0;
    }

    .gtech-prefooter-inner {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        align-items: center;
        text-align: center;
    }

    .gtech-prefooter-logo {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px;
        width: 100%;
    }

    .gtech-prefooter-logo img,
    .gtech-prefooter-logo .custom-logo {
        height: 36px !important;
        width: auto;
    }

    .gtech-prefooter-newsletter {
        width: 100%;
    }

    .gtech-prefooter-newsletter h4 {
        font-size: 0.6875rem !important;
        margin: 0 0 6px;
    }

    .gtech-prefooter .gtech-newsletter-form {
        display: flex !important;
        flex-direction: column !important;
        gap: 6px;
    }

    .gtech-prefooter .gtech-newsletter-form input[type="email"] {
        width: 100% !important;
        min-width: 0 !important;
        border-right: 1px solid #bbb !important;
        padding: 8px 12px;
        font-size: 0.8125rem;
    }

    .gtech-prefooter .gtech-newsletter-form button {
        width: 100%;
        padding: 8px 16px;
    }

    .gtech-prefooter-stats {
        width: 100%;
    }

    .gtech-prefooter-stats h4 {
        font-size: 0.6875rem !important;
    }

    .gtech-prefooter-stats p {
        font-size: 0.6875rem !important;
        margin: 0 0 2px;
    }

    .gtech-prefooter-links {
        width: 100%;
        display: flex !important;
        flex-direction: column !important;
        gap: 6px;
    }

    .gtech-prefooter-select {
        width: 100% !important;
        min-width: 0 !important;
        font-size: 0.75rem;
        padding: 8px 10px;
    }

    /* Footer grid */
    .gtech-footer {
        padding-top: var(--gtech-spacing-xl) !important;
    }

    .gtech-footer-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: var(--gtech-spacing-lg) !important;
        padding-bottom: var(--gtech-spacing-xl) !important;
    }

    .gtech-footer-col {
        text-align: center;
    }

    .gtech-footer-logo-link {
        display: inline-flex;
        justify-content: center;
    }

    .gtech-footer-logo-link img,
    .gtech-footer-logo-link .custom-logo {
        height: 40px !important;
        width: auto;
    }

    .gtech-logo-tagline {
        display: block;
        text-align: center;
        font-size: 0.6875rem;
    }

    .gtech-footer-contact {
        margin-top: var(--gtech-spacing-sm) !important;
    }

    .gtech-footer-contact p {
        justify-content: center;
        font-size: 0.75rem !important;
        gap: 6px;
        flex-wrap: wrap;
    }

    .gtech-footer-contact p a {
        word-break: break-all;
    }

    .gtech-footer-title {
        font-size: 0.9375rem !important;
        margin-bottom: var(--gtech-spacing-sm) !important;
        text-align: center;
    }

    .gtech-footer-menu {
        text-align: center;
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .gtech-footer-menu li {
        margin-bottom: 4px;
    }

    .gtech-footer-menu li a {
        font-size: 0.8125rem;
        color: var(--gtech-gray-300);
        text-decoration: none;
    }

    .gtech-footer-menu li a:hover {
        color: var(--gtech-white);
        text-decoration: none;
    }

    .gtech-footer-map {
        max-width: 100%;
        overflow: hidden;
    }

    .gtech-footer-map iframe {
        width: 100% !important;
        height: 140px !important;
    }

    .gtech-footer-social {
        justify-content: center;
        margin-top: var(--gtech-spacing-sm) !important;
    }

    .gtech-footer-social a {
        width: 34px;
        height: 34px;
        font-size: 0.875rem;
    }

    .gtech-footer-brand {
        font-size: 1rem !important;
    }
}

/* --- NAVIGATION BAR MOBILE FIX --- */
@media (max-width: 767px) {
    .gtech-main-nav {
        position: sticky;
        top: 0;
        z-index: 1002;
    }

    .admin-bar .gtech-main-nav {
        top: 0 !important;
    }

    .gtech-nav-inner {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        min-height: 44px;
        padding: 0 var(--gtech-container-padding);
    }

    .gtech-nav-menu {
        display: none !important;
    }

    .gtech-nav-mobile-toggle {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        width: 40px;
        height: 40px;
        padding: 8px;
        border: none;
        background-color: transparent;
        cursor: pointer;
    }

    .gtech-nav-mobile-toggle-bar {
        display: block;
        width: 24px;
        height: 2px;
        background-color: var(--gtech-white);
        border-radius: 2px;
        transition: all var(--gtech-transition-base);
    }

    .gtech-nav-mobile-toggle.active .gtech-nav-mobile-toggle-bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .gtech-nav-mobile-toggle.active .gtech-nav-mobile-toggle-bar:nth-child(2) {
        opacity: 0;
    }

    .gtech-nav-mobile-toggle.active .gtech-nav-mobile-toggle-bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}

/* --- FINAL MOBILE HERO RESPONSIVE FIX --- */
@media (max-width: 767px) {
    .gtech-hero {
        min-height: clamp(260px, 58vw, 340px) !important;
    }

    .gtech-hero-slide {
        min-height: clamp(260px, 58vw, 340px) !important;
    }

    .gtech-hero-slide.active {
        display: flex !important;
        align-items: center;
    }

    .gtech-hero-slide img {
        min-height: 100% !important;
        height: 100% !important;
        object-fit: cover;
        object-position: center;
    }

    .gtech-hero-overlay {
        background: linear-gradient(90deg, rgba(30, 58, 138, 0.88), rgba(30, 64, 175, 0.62) 58%, rgba(14, 165, 233, 0.38));
    }

    .gtech-hero-content {
        width: min(100%, 520px);
        max-width: 100% !important;
        padding: 60px 42px 40px 0 !important;
    }

    .gtech-hero-title {
        font-size: clamp(1.25rem, 6vw, 1.75rem) !important;
        line-height: 1.2;
        margin-bottom: 8px !important;
    }

    .gtech-hero-description {
        display: -webkit-box;
        font-size: 0.875rem !important;
        line-height: 1.45;
        margin-bottom: 16px !important;
        max-width: 34rem;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 4;
    }

    .gtech-hero-btn {
        padding: 9px 14px !important;
        border-radius: 6px;
        font-size: 0.8125rem !important;
        line-height: 1.2;
    }

    .gtech-slider-nav {
        width: 32px !important;
        height: 32px !important;
        opacity: 0.92;
    }

    .gtech-slider-prev {
        left: 8px !important;
    }

    .gtech-slider-next {
        right: 8px !important;
    }

    .gtech-slider-dots {
        bottom: 10px !important;
    }
}

@media (max-width: 480px) {
    .gtech-hero,
    .gtech-hero-slide {
        min-height: clamp(230px, 66vw, 290px) !important;
    }

    .gtech-hero-content {
        padding: 50px 36px 34px 0 !important;
    }

    .gtech-hero-description {
        font-size: 0.8125rem !important;
        -webkit-line-clamp: 3;
    }

    .gtech-slider-nav {
        width: 28px !important;
        height: 28px !important;
    }
}

/* --- FINAL MAIN HEADER RESPONSIVE FIX --- */
@media (max-width: 1024px) {
    .gtech-main-header {
        padding: 10px 0 !important;
    }

    .gtech-main-header-inner {
        display: grid !important;
        grid-template-columns: auto minmax(0, 1fr) !important;
        gap: 12px !important;
        align-items: center !important;
    }

    .gtech-header-logo,
    .gtech-logo-link {
        min-width: 0;
    }

    .gtech-logo-link img,
    .gtech-logo-link svg,
    .gtech-logo-placeholder {
        width: auto !important;
        max-width: 132px !important;
        height: clamp(40px, 7vw, 54px) !important;
        object-fit: contain;
    }

    .gtech-header-brand {
        min-width: 0;
        text-align: left !important;
    }

    .gtech-header-company-name {
        display: block;
        margin: 0 !important;
        max-width: 100%;
        overflow: hidden;
        color: var(--gtech-primary);
        font-size: clamp(0.9375rem, 2.3vw, 1.1875rem) !important;
        line-height: 1.22 !important;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .gtech-header-company-name a {
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .gtech-header-company-short {
        display: block !important;
        margin-top: 2px !important;
        overflow: hidden;
        color: var(--gtech-primary-dark);
        font-size: 0.625rem !important;
        letter-spacing: 0.08em !important;
        line-height: 1.25;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .gtech-header-tagline,
    .gtech-header-search {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .gtech-main-header {
        padding: 7px 0 !important;
        border-bottom-color: var(--gtech-gray-200);
    }

    .gtech-main-header-inner {
        gap: 10px !important;
    }

    .gtech-logo-link img,
    .gtech-logo-link svg,
    .gtech-logo-placeholder {
        max-width: 108px !important;
        height: 38px !important;
    }

    .gtech-header-company-name {
        display: -webkit-box !important;
        font-size: clamp(0.8125rem, 3.7vw, 0.9375rem) !important;
        line-height: 1.22 !important;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: normal !important;
        word-break: normal;
        overflow-wrap: anywhere;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .gtech-header-company-name a {
        display: inline !important;
        overflow: visible;
        text-overflow: clip;
        white-space: normal !important;
    }

    .gtech-header-company-short {
        display: none !important;
    }
}

@media (max-width: 380px) {
    .gtech-main-header-inner {
        gap: 8px !important;
    }

    .gtech-logo-link img,
    .gtech-logo-link svg,
    .gtech-logo-placeholder {
        max-width: 92px !important;
        height: 34px !important;
    }

    .gtech-header-company-name {
        font-size: 0.75rem !important;
        line-height: 1.2 !important;
    }

    /* ---- TOPBAR ---- */
    .gtech-topbar {
        font-size: 0.5rem;
        padding: 3px 0;
    }

    .gtech-topbar-right {
        gap: 3px;
    }

    .gtech-topbar-hotline {
        font-size: 0.5rem;
    }

    .gtech-topbar-social {
        gap: 2px;
    }

    .gtech-social-icon {
        width: 18px;
        height: 18px;
        font-size: 0.5rem;
    }
}

/* --- FINAL PARTNERS, PREFOOTER AND FOOTER RESPONSIVE FIX --- */
@media (max-width: 1024px) {
    .gtech-partners {
        padding: 26px 0 30px !important;
    }

    .gtech-partners-heading {
        font-size: clamp(1rem, 2.5vw, 1.25rem) !important;
        letter-spacing: 0.04em !important;
        margin-bottom: 16px !important;
    }

    .gtech-partners-marquee {
        overflow-x: auto !important;
        overflow-y: hidden !important;
        border-color: var(--gtech-gray-200) !important;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .gtech-partners-marquee::-webkit-scrollbar {
        display: none;
    }

    .gtech-partners-row {
        width: max-content !important;
        min-width: 100%;
        animation: none !important;
        transform: none !important;
    }

    .gtech-partner-item {
        width: 132px !important;
        height: 68px !important;
        padding: 10px 14px !important;
        scroll-snap-align: start;
    }

    .gtech-prefooter {
        padding: 18px 0 !important;
    }

    .gtech-prefooter-inner {
        display: grid !important;
        grid-template-columns: minmax(0, 0.8fr) minmax(260px, 1.2fr) minmax(180px, 0.8fr) !important;
        gap: 16px !important;
        align-items: center !important;
    }

    .gtech-prefooter-links {
        grid-column: 1 / -1;
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
        width: 100%;
    }

    .gtech-prefooter-select,
    .gtech-prefooter-links select {
        min-width: 0 !important;
        width: 100% !important;
    }

    .gtech-footer {
        padding-top: 32px !important;
    }

    .gtech-footer-grid {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) !important;
        gap: 28px !important;
        padding-bottom: 32px !important;
    }
}

@media (max-width: 767px) {
    .gtech-partners {
        padding: 20px 0 24px !important;
        border-top-width: 1px !important;
    }

    .gtech-partners-heading {
        font-size: 0.9375rem !important;
        line-height: 1.25;
        margin-bottom: 12px !important;
    }

    .gtech-partners-marquee {
        margin-inline: calc(var(--gtech-container-padding) * -1);
        border-left: 0 !important;
        border-right: 0 !important;
    }

    .gtech-partners-row {
        min-width: max-content !important;
        padding-left: var(--gtech-container-padding);
        padding-right: var(--gtech-container-padding);
    }

    .gtech-partner-item {
        width: 112px !important;
        height: 58px !important;
        padding: 8px 10px !important;
        border-right-color: var(--gtech-gray-100) !important;
    }

    .gtech-partner-name {
        font-size: 0.6875rem !important;
        white-space: normal !important;
        overflow-wrap: anywhere;
    }

    .gtech-prefooter {
        padding: 16px 0 !important;
        background-color: #eef1f5 !important;
    }

    .gtech-prefooter-inner {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 14px !important;
        text-align: left !important;
    }

    .gtech-prefooter-logo {
        width: 100%;
        display: grid !important;
        grid-template-columns: auto minmax(0, 1fr);
        justify-content: start !important;
        align-items: center !important;
        gap: 8px 10px !important;
    }

    .gtech-prefooter-logo img,
    .gtech-prefooter-logo .custom-logo {
        height: 34px !important;
        max-width: 110px !important;
        object-fit: contain;
    }

    .gtech-prefooter-brand {
        font-size: 1.125rem !important;
        line-height: 1.1;
    }

    .gtech-prefooter-iso {
        display: block !important;
        grid-column: 2;
        font-size: 0.6875rem !important;
        letter-spacing: 0.02em !important;
        text-align: left !important;
    }

    .gtech-prefooter-newsletter,
    .gtech-prefooter-stats,
    .gtech-prefooter-links {
        width: 100%;
    }

    .gtech-prefooter-newsletter h4,
    .gtech-prefooter-stats h4 {
        font-size: 0.75rem !important;
        line-height: 1.3;
        margin-bottom: 6px !important;
        text-align: left !important;
    }

    .gtech-prefooter .gtech-newsletter-form {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        gap: 0 !important;
    }

    .gtech-prefooter .gtech-newsletter-form input[type="email"] {
        min-width: 0 !important;
        width: 100% !important;
        height: 38px;
        border-right: 0 !important;
        font-size: 0.8125rem !important;
    }

    .gtech-prefooter .gtech-newsletter-form button {
        width: auto !important;
        height: 38px;
        padding: 0 14px !important;
        font-size: 0.75rem !important;
    }

    .gtech-prefooter-stats p {
        font-size: 0.75rem !important;
        line-height: 1.45 !important;
    }

    .gtech-prefooter-links {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }

    .gtech-prefooter-select,
    .gtech-prefooter-links select {
        min-width: 0 !important;
        width: 100% !important;
        height: 38px;
        font-size: 0.75rem !important;
    }

    .gtech-footer {
        padding-top: 28px !important;
    }

    .gtech-footer-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 24px !important;
        padding-bottom: 28px !important;
    }

    .gtech-footer-col {
        text-align: left !important;
    }

    .gtech-footer-logo-link {
        display: inline-flex !important;
        justify-content: flex-start !important;
    }

    .gtech-footer-logo-link img,
    .gtech-footer-logo-link .custom-logo {
        height: 38px !important;
        max-width: 132px !important;
        object-fit: contain;
    }

    .gtech-logo-tagline {
        text-align: left !important;
        font-size: 0.75rem !important;
    }

    .gtech-footer-title {
        position: relative;
        margin-bottom: 10px !important;
        padding-bottom: 8px;
        text-align: left !important;
        font-size: 0.9375rem !important;
    }

    .gtech-footer-title::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        width: 36px;
        height: 2px;
        background-color: var(--gtech-accent);
    }

    .gtech-footer-menu {
        margin: 0 !important;
        padding: 0 !important;
        text-align: left !important;
    }

    .gtech-footer-menu li {
        margin-bottom: 6px !important;
    }

    .gtech-footer-menu a,
    .gtech-footer-col p,
    .gtech-footer-contact p {
        font-size: 0.8125rem !important;
        line-height: 1.55 !important;
    }

    .gtech-footer-contact p {
        display: grid !important;
        grid-template-columns: 18px minmax(0, 1fr);
        justify-content: start !important;
        align-items: start !important;
        gap: 6px !important;
        text-align: left;
    }

    .gtech-footer-contact p i {
        line-height: 1.55;
        text-align: center;
    }

    .gtech-footer-contact p span {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .gtech-footer-contact p a {
        overflow-wrap: anywhere;
        word-break: normal !important;
    }

    .gtech-footer-map iframe {
        height: 170px !important;
        border-radius: 6px !important;
    }

    .gtech-footer-social {
        justify-content: flex-start !important;
        gap: 10px !important;
        margin-top: 10px !important;
    }

    .gtech-footer-social a {
        width: 36px !important;
        height: 36px !important;
    }
}

@media (max-width: 420px) {
    .gtech-prefooter .gtech-newsletter-form {
        grid-template-columns: 1fr !important;
        gap: 6px !important;
    }

    .gtech-prefooter .gtech-newsletter-form input[type="email"] {
        border-right: 1px solid #bbb !important;
    }

    .gtech-prefooter .gtech-newsletter-form button {
        width: 100% !important;
    }

    .gtech-partner-item {
        width: 100px !important;
        height: 54px !important;
    }
}

/* --- FINAL HEADER SEARCH Z-INDEX FIX --- */
.gtech-site-header {
    z-index: 1100;
}

.gtech-main-header {
    z-index: 1100;
}

.gtech-header-search {
    z-index: 1110;
}

.gtech-search-form-wrap {
    z-index: 1120 !important;
}

/* --- FINAL LINK UNDERLINE AND ACTIVE STATE CLEANUP --- */
a {
    text-decoration: none !important;
}

.gtech-nav-menu>li>a::before,
.gtech-nav-menu a::after {
    display: none !important;
    width: 0 !important;
}

.gtech-nav-menu>li.current-menu-item>a,
.gtech-nav-menu .current-menu-item a,
.gtech-mobile-nav-menu li.current-menu-item>a,
.gtech-mobile-menu .gtech-mobile-nav-menu li.current-menu-item>a {
    background-color: transparent !important;
    padding-left: inherit !important;
}

.gtech-news-small-card-link:active,
.gtech-news-block-card-link:active,
.gtech-news-list-link:active,
.gtech-unit-item-link:active,
.gtech-product-card-link:active {
    background-color: transparent !important;
}

/* ============================================
   Single Post Comments Wrapper
   ============================================ */
.gtech-comments-wrapper {
    padding: 2rem 2.5rem;
    border-radius: var(--gtech-radius-xl);
    box-shadow: 0 1px 3px rgba(0,0,0,0.08), 0 4px 20px rgba(0,0,0,0.04);
    background: #fff;
    color: var(--gtech-gray-700);
}

.gtech-comments-wrapper a {
    color: var(--gtech-primary);
}

.gtech-comments-wrapper a:hover {
    color: var(--gtech-primary-dark);
}

.gtech-comments-wrapper h2,
.gtech-comments-wrapper h3,
.gtech-comments-wrapper .comments-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gtech-gray-800);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--gtech-primary);
}

.gtech-comments-wrapper .comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.gtech-comments-wrapper .comment {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--gtech-gray-100);
}

.gtech-comments-wrapper .comment:last-child {
    border-bottom: none;
}

.gtech-comments-wrapper .comment-body {
    display: flex;
    gap: 1rem;
}

.gtech-comments-wrapper .comment-author {
    flex-shrink: 0;
}

.gtech-comments-wrapper .comment-author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.gtech-comments-wrapper .comment-content-wrap {
    flex: 1;
    min-width: 0;
}

.gtech-comments-wrapper .comment-author-name {
    font-weight: 600;
    color: var(--gtech-gray-800);
    margin-bottom: 0.25rem;
}

.gtech-comments-wrapper .comment-metadata {
    font-size: 0.8125rem;
    color: var(--gtech-gray-400);
    margin-bottom: 0.75rem;
}

.gtech-comments-wrapper .comment-metadata a {
    color: var(--gtech-gray-500);
}

.gtech-comments-wrapper .comment-content,
.gtech-comments-wrapper .comment-text {
    color: var(--gtech-gray-700);
    line-height: 1.7;
    font-size: 0.9375rem;
}

.gtech-comments-wrapper .comment-content p,
.gtech-comments-wrapper .comment-text p {
    margin-bottom: 0.75rem;
}

.gtech-comments-wrapper .comment-content p:last-child,
.gtech-comments-wrapper .comment-text p:last-child {
    margin-bottom: 0;
}

.gtech-comments-wrapper .comment-content a,
.gtech-comments-wrapper .comment-text a {
    color: var(--gtech-primary);
    text-decoration: underline !important;
}

.gtech-comments-wrapper .comment-content a:hover,
.gtech-comments-wrapper .comment-text a:hover {
    color: var(--gtech-primary-dark);
}

.gtech-comments-wrapper .reply a,
.gtech-comments-wrapper .comment-reply-link {
    display: inline-block;
    margin-top: 0.75rem;
    padding: 0.35rem 0.875rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--gtech-primary) !important;
    background: var(--gtech-gray-50);
    border: 1px solid var(--gtech-gray-200);
    border-radius: var(--gtech-radius-md);
    text-decoration: none !important;
    transition: all 0.2s;
}

.gtech-comments-wrapper .reply a:hover,
.gtech-comments-wrapper .comment-reply-link:hover {
    background: var(--gtech-primary);
    color: #fff !important;
    border-color: var(--gtech-primary);
}

.gtech-comments-wrapper .children {
    list-style: none;
    padding-left: 2rem;
    margin: 0;
    border-left: 2px solid var(--gtech-gray-100);
}

.gtech-comments-wrapper .children .comment {
    padding-left: 1rem;
}

.gtech-comments-wrapper .comment-respond {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gtech-gray-200);
}

.gtech-comments-wrapper .comment-reply-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gtech-gray-800);
    margin-bottom: 1.25rem;
}

.gtech-comments-wrapper .comment-form label {
    display: block;
    font-weight: 500;
    color: var(--gtech-gray-700);
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.gtech-comments-wrapper .comment-form input[type="text"],
.gtech-comments-wrapper .comment-form input[type="email"],
.gtech-comments-wrapper .comment-form input[type="url"],
.gtech-comments-wrapper .comment-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    color: var(--gtech-gray-800);
    background: var(--gtech-gray-50);
    border: 1px solid var(--gtech-gray-200);
    border-radius: var(--gtech-radius-md);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.gtech-comments-wrapper .comment-form input:focus,
.gtech-comments-wrapper .comment-form textarea:focus {
    outline: none;
    border-color: var(--gtech-primary);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
    background: #fff;
}

.gtech-comments-wrapper .comment-form textarea {
    min-height: 150px;
    resize: vertical;
}

.gtech-comments-wrapper .comment-form-comment,
.gtech-comments-wrapper .comment-form-author,
.gtech-comments-wrapper .comment-form-email,
.gtech-comments-wrapper .comment-form-url {
    margin-bottom: 1.25rem;
}

.gtech-comments-wrapper .form-submit {
    margin-top: 1.25rem;
}

.gtech-comments-wrapper .submit,
.gtech-comments-wrapper .comment-form .submit {
    padding: 0.75rem 2rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #fff;
    background: var(--gtech-primary);
    border: none;
    border-radius: var(--gtech-radius-md);
    cursor: pointer;
    transition: background 0.2s;
}

.gtech-comments-wrapper .submit:hover,
.gtech-comments-wrapper .comment-form .submit:hover {
    background: var(--gtech-primary-dark);
}

.gtech-comments-wrapper .comment-notes {
    font-size: 0.875rem;
    color: var(--gtech-gray-500);
    margin-bottom: 1.25rem;
}

.gtech-comments-wrapper .required {
    color: #dc2626;
}

.gtech-comments-wrapper .comment-awaiting-moderation {
    font-style: italic;
    color: var(--gtech-gray-500);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.gtech-comments-wrapper .no-comments {
    text-align: center;
    padding: 2rem;
    color: var(--gtech-gray-500);
}

@media (max-width: 767px) {
    .gtech-comments-wrapper {
        padding: 1.5rem 1rem;
    }

    .gtech-comments-wrapper .children {
        padding-left: 1rem;
    }

    .gtech-comments-wrapper .comment-body {
        flex-direction: column;
        gap: 0.75rem;
    }
}
