/**
 * AUTX layout lock — frozen 2026-08-14
 *
 * Last-loading stylesheet. Header, hero mosaic, and footer metrics
 * are locked with !important so Elementor/theme updates cannot resize them.
 * Desktop keeps aspect-ratio; stacked layouts below 1025px stay responsive.
 */
:root {
  --autx-lock-switcher-h: 40px;
  --autx-lock-logo-row-h: 65px;
  --autx-lock-nav-h: 42px;
  --autx-lock-logo-max: 56px;
  --autx-lock-search-h: 40px;
  --autx-lock-header-pad-y: 4px;
  --autx-lock-nav-pad-y: 8px;
  --autx-lock-switcher-pad-y: 0.2rem;
  --autx-lock-hero-ratio: 27 / 8;
  --autx-lock-hero-min: 380px;
  --autx-lock-hero-max: 820px;
  --autx-lock-heading-size: clamp(1.15rem, 1.6vw, 1.85rem);
  --autx-lock-heading-lh: 1.2;
  --autx-lock-footer-pad: 28px 30px 22px;
}

/* —— Header —— */
body.autx-site .autx-switcher--header .autx-switcher__inner {
  padding-top: var(--autx-lock-switcher-pad-y) !important;
  padding-bottom: var(--autx-lock-switcher-pad-y) !important;
}
body.autx-site header#tbay-header .elementor-element-711712e {
  padding-top: var(--autx-lock-header-pad-y) !important;
  padding-bottom: var(--autx-lock-header-pad-y) !important;
}
body.autx-site header#tbay-header .header-logo-img,
body.autx-site header#tbay-header .logo img,
body.autx-site header#tbay-header .elementor-widget-theme-site-logo img,
body.autx-site header#tbay-header .elementor-element-711712e img {
  max-height: var(--autx-lock-logo-max) !important;
  height: auto !important;
  width: auto !important;
}
body.autx-site header#tbay-header .tbay-search-form .input-group,
body.autx-site header#tbay-header .tbay-search-form .tbay-search,
body.autx-site header#tbay-header .tbay-search-form input.tbay-search,
body.autx-site header#tbay-header .tbay-search-form .button-search {
  height: var(--autx-lock-search-h) !important;
  min-height: var(--autx-lock-search-h) !important;
  max-height: var(--autx-lock-search-h) !important;
}
body.autx-site header#tbay-header .navbar-nav > li > a,
body.autx-site header#tbay-header .category-inside-title,
body.autx-site header#tbay-header .menu-title {
  padding-top: var(--autx-lock-nav-pad-y) !important;
  padding-bottom: var(--autx-lock-nav-pad-y) !important;
}
body.autx-site header#tbay-header .navbar-nav > li > a .menu-title {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

@media (min-width: 1025px) {
  body.autx-site .autx-switcher--header {
    max-height: var(--autx-lock-switcher-h) !important;
  }
  body.autx-site header#tbay-header .elementor-element-711712e {
    max-height: var(--autx-lock-logo-row-h) !important;
    overflow: visible !important;
  }
  body.autx-site header#tbay-header .elementor-element-273193f {
    max-height: var(--autx-lock-nav-h) !important;
    overflow: visible !important;
  }

  /* —— Hero mosaic: 1:2 columns, equal side tiles, frozen ratio —— */
  body.autx-corporate-home .elementor-element-49f3a08d {
    aspect-ratio: var(--autx-lock-hero-ratio) !important;
    min-height: var(--autx-lock-hero-min) !important;
    max-height: var(--autx-lock-hero-max) !important;
    height: auto !important;
  }
  body.autx-corporate-home .elementor-element-49f3a08d > .elementor-container,
  body.autx-corporate-home .elementor-element-49f3a08d > .elementor-container > .elementor-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) !important;
    height: 100% !important;
    align-items: stretch !important;
    gap: 0 !important;
  }
  body.autx-corporate-home .elementor-element-14de1826,
  body.autx-corporate-home .elementor-element-ea2d1b6,
  body.autx-corporate-home .elementor-element-14de1826 > .elementor-widget-wrap,
  body.autx-corporate-home .elementor-element-ea2d1b6 > .elementor-widget-wrap,
  body.autx-corporate-home .elementor-element-7bcd949,
  body.autx-corporate-home .elementor-element-7bcd949 .elementor-widget-container,
  body.autx-corporate-home .elementor-element-7bcd949 .swiper,
  body.autx-corporate-home .elementor-element-7bcd949 .elementor-image-carousel-wrapper {
    height: 100% !important;
    max-height: 100% !important;
  }
  body.autx-corporate-home .elementor-element-14de1826 > .elementor-widget-wrap {
    grid-template-rows: 1fr 1fr !important;
  }
  body.autx-corporate-home .elementor-element-1c62a32,
  body.autx-corporate-home .elementor-element-967c649 {
    height: 100% !important;
    max-height: 100% !important;
  }
}

body.autx-corporate-home .elementor-element-49f3a08d .subtitle,
body.autx-corporate-home .elementor-element-7bcd949 .autx-hero-cta .subtitle {
  font-size: var(--autx-lock-heading-size) !important;
  line-height: var(--autx-lock-heading-lh) !important;
  font-weight: 700 !important;
}

/* —— Footer —— */
footer#tbay-footer .elementor-element-ca6a011 > .elementor-container:has(> .elementor-column),
footer#tbay-footer .elementor-element-ca6a011 > .elementor-container > .elementor-row:has(> .elementor-column) {
  padding: var(--autx-lock-footer-pad) !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  column-gap: 28px !important;
}

footer#tbay-footer .elementor-element-ca6a011 .elementor-icon-list-item {
  margin-bottom: 7px !important;
  line-height: 1.4 !important;
}
footer#tbay-footer .elementor-element-ca6a011 .elementor-heading-title,
footer#tbay-footer .elementor-element-ca6a011 .heading-tbay-title {
  margin-bottom: 10px !important;
}

footer#tbay-footer .elementor-element-7b0c798,
footer#tbay-footer .autx-footer-map-row,
footer#tbay-footer .elementor-element-6408823,
footer#tbay-footer .autx-footer-map-strip {
  display: none !important;
  height: 0 !important;
  max-height: 0 !important;
  min-height: 0 !important;
  overflow: hidden !important;
}
