/* ==========================================================================
   AIA GLOBAL HEADER & NAVIGATION — canonical source
   Shared shell for every page. Homepage component styling remains page-scoped.
   ========================================================================== */
:root {
  --aia-shell-width: 1220px;
}
/* ==========================================================================
   PREMIUM MODERN MAIN NAVIGATION STYLING (GENERATEPRESS)
   High-Contrast Crisp White / Slate / AIA Red Accent
   ========================================================================== */

/* Main Navigation Container */
#site-navigation.main-navigation,
.main-navigation {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
  border-bottom: 1.5px solid #e2e8f0 !important;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.06), 0 2px 6px rgba(15, 23, 42, 0.03) !important;
  position: relative !important;
  z-index: 998 !important;
  transition: all 0.3s ease !important;
}

.main-navigation .inside-navigation {
  max-width: 1220px !important;
  margin: 0 auto !important;
  padding: 0 20px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  min-height: 64px !important;
}

/* Nav Menu Items List */
.main-navigation .main-nav > ul {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin: 0 !important;
  padding: 8px 0 !important;
  list-style: none !important;
}

/* Individual Menu Link */
.main-navigation .main-nav > ul > li > a {
  color: #1e293b !important;
  font-family: 'Prompt', 'Sarabun', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  padding: 10px 16px !important;
  border-radius: 12px !important;
  line-height: 1.4 !important;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  position: relative !important;
  text-decoration: none !important;
}

/* Menu Item Hover State */
.main-navigation .main-nav > ul > li:hover > a,
.main-navigation .main-nav > ul > li:focus > a,
.main-navigation .main-nav > ul > li.sfHover > a {
  color: #d31145 !important;
  background: #fff1f4 !important;
  transform: translateY(-1px) !important;
}

/* Current Active Menu Item (e.g. หน้าแรก) */
.main-navigation .main-nav > ul > li[class*="current-menu-"] > a,
.main-navigation .main-nav > ul > li.current-menu-item > a {
  color: #ffffff !important;
  background: linear-gradient(135deg, #d31145 0%, #b00d38 100%) !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 14px rgba(211, 17, 69, 0.28) !important;
}
.main-navigation .main-nav > ul > li[class*="current-menu-"]:hover > a {
  color: #ffffff !important;
  background: linear-gradient(135deg, #b00d38 0%, #910a2d 100%) !important;
}

/* Dropdown Arrow Indicator */
.main-navigation .menu-item-has-children > a .dropdown-menu-toggle {
  padding-left: 4px !important;
  display: inline-flex !important;
  align-items: center !important;
}
.main-navigation .menu-item-has-children > a .dropdown-menu-toggle svg {
  width: 10px !important;
  height: 10px !important;
  fill: currentColor !important;
  transition: transform 0.2s ease !important;
}
.main-navigation .menu-item-has-children:hover > a .dropdown-menu-toggle svg {
  transform: rotate(180deg) !important;
}

/* Dropdown Sub-menu Container */
.main-navigation ul ul,
.main-navigation .main-nav ul ul.sub-menu {
  background: #ffffff !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 18px !important;
  padding: 10px !important;
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.15), 0 0 0 1px rgba(226, 232, 240, 0.6) !important;
  min-width: 240px !important;
  top: auto !important;
  transform: translateY(6px) !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  display: block !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.sfHover > ul {
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
}

/* Dropdown Items */
.main-navigation ul ul li {
  margin-bottom: 2px !important;
}
.main-navigation ul ul li:last-child {
  margin-bottom: 0 !important;
}
.main-navigation ul ul li a {
  color: #334155 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  padding: 10px 16px !important;
  border-radius: 10px !important;
  line-height: 1.4 !important;
  transition: all 0.2s ease !important;
  display: block !important;
  background: transparent !important;
  text-decoration: none !important;
}

.main-navigation ul ul li a:hover,
.main-navigation ul ul li.sfHover > a {
  color: #d31145 !important;
  background: #fff1f4 !important;
  padding-left: 20px !important;
}

/* Highlight Last Menu Item as Sleek CTA (ติดต่อตัวแทน) */
.main-navigation .main-nav > ul > li:last-child > a {
  border: 1.5px solid #d31145 !important;
  color: #d31145 !important;
  background: #ffffff !important;
  margin-left: 8px !important;
}
.main-navigation .main-nav > ul > li:last-child > a:hover {
  background: #d31145 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(211, 17, 69, 0.3) !important;
}

/* Mobile Toggle Button */
.main-navigation .menu-toggle {
  background: #f8fafc !important;
  color: #0f172a !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 12px !important;
  padding: 8px 16px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  transition: all 0.2s ease !important;
}
.main-navigation .menu-toggle:hover {
  background: #fff1f4 !important;
  color: #d31145 !important;
  border-color: #d31145 !important;
}

/* Mobile Responsiveness for Navigation */
@media (max-width: 768px) {
  .main-navigation .inside-navigation {
    min-height: 54px !important;
    padding: 8px 16px !important;
    justify-content: space-between !important;
  }
  .main-navigation .main-nav {
    width: 100% !important;
  }
  .main-navigation.toggled .main-nav > ul {
    display: flex !important;
    flex-direction: column !important;
    background: #ffffff !important;
    padding: 16px !important;
    border-radius: 18px !important;
    border: 1.5px solid #e2e8f0 !important;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12) !important;
    margin-top: 10px !important;
    gap: 6px !important;
  }
  .main-navigation .main-nav > ul > li > a {
    width: 100% !important;
    padding: 12px 16px !important;
    justify-content: space-between !important;
  }
  .main-navigation ul ul,
  .main-navigation .main-nav ul ul.sub-menu {
    position: static !important;
    width: 100% !important;
    box-shadow: none !important;
    border: none !important;
    padding: 6px 0 6px 16px !important;
    background: #f8fafc !important;
    border-radius: 12px !important;
    margin-top: 4px !important;
  }
  .main-navigation .main-nav > ul > li:last-child > a {
    margin-left: 0 !important;
    text-align: center !important;
    justify-content: center !important;
  }
}


/* ==========================================================================
   AIA PREMIER MAIN NAVIGATION OVERRIDE (HIGH CONTRAST & LUXURY REDESIGN)
   Transforms Main Nav into a Clean White / Slate / AIA Red Luxury Bar
   ========================================================================== */

/* 1. Header Container & Masthead Bar */
html body #masthead,
html body .site-header,
html body header#masthead.site-header {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border-top: 2px solid #e2e8f0 !important;
  border-bottom: 2px solid #e2e8f0 !important;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(15, 23, 42, 0.04) !important;
  position: relative !important;
  z-index: 998 !important;
  padding: 8px 0 !important;
  margin: 0 !important;
  transition: all 0.3s ease !important;
}

html body .site-header .inside-header {
  max-width: 1220px !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  min-height: 62px !important;
  background: transparent !important;
}

/* 2. Site Navigation & Inside Navigation */
html body #site-navigation.main-navigation,
html body .main-navigation,
html body #site-navigation .inside-navigation {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border: none !important;
  box-shadow: none !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
}

/* 3. Main Nav Menu List */
html body #site-navigation .main-nav {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

html body #site-navigation .main-nav > ul,
html body #primary-menu > ul,
html body .main-navigation .main-nav > ul {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 4px 0 !important;
  list-style: none !important;
  background: transparent !important;
}

html body #site-navigation .main-nav > ul > li {
  margin: 0 !important;
  padding: 0 !important;
  position: relative !important;
}

/* 4. Individual Menu Links */
html body #site-navigation .main-nav > ul > li > a,
html body .main-navigation .main-nav > ul > li > a {
  color: #1e293b !important;
  background: transparent !important;
  font-family: 'Prompt', 'Sarabun', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  padding: 10px 16px !important;
  border-radius: 12px !important;
  line-height: 1.4 !important;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  text-decoration: none !important;
  border: 1.5px solid transparent !important;
}

/* 5. Hover State */
html body #site-navigation .main-nav > ul > li:hover > a,
html body #site-navigation .main-nav > ul > li:focus > a,
html body #site-navigation .main-nav > ul > li.sfHover > a,
html body .main-navigation .main-nav > ul > li:hover > a {
  color: #d31145 !important;
  background: #fff1f4 !important;
  transform: translateY(-2px) !important;
  border-color: #fecdd6 !important;
}

/* 6. Active / Current Menu Item (หน้าแรก) */
html body #site-navigation .main-nav > ul > li.current-menu-item > a,
html body #site-navigation .main-nav > ul > li[class*="current-menu-"] > a,
html body .main-navigation .main-nav > ul > li.current-menu-item > a {
  color: #ffffff !important;
  background: linear-gradient(135deg, #d31145 0%, #b00d38 100%) !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 14px rgba(211, 17, 69, 0.32) !important;
  border-color: transparent !important;
}

html body #site-navigation .main-nav > ul > li.current-menu-item:hover > a,
html body #site-navigation .main-nav > ul > li[class*="current-menu-"]:hover > a {
  color: #ffffff !important;
  background: linear-gradient(135deg, #b00d38 0%, #910a2d 100%) !important;
}

/* 7. Dropdown Arrow Indicator */
html body #site-navigation .menu-item-has-children > a .dropdown-menu-toggle,
html body .main-navigation .menu-item-has-children > a .dropdown-menu-toggle {
  padding-left: 4px !important;
  display: inline-flex !important;
  align-items: center !important;
}
html body #site-navigation .menu-item-has-children > a .dropdown-menu-toggle svg,
html body .main-navigation .menu-item-has-children > a .dropdown-menu-toggle svg {
  width: 10px !important;
  height: 10px !important;
  fill: currentColor !important;
  transition: transform 0.22s ease !important;
}
html body #site-navigation .menu-item-has-children:hover > a .dropdown-menu-toggle svg,
html body .main-navigation .menu-item-has-children:hover > a .dropdown-menu-toggle svg {
  transform: rotate(180deg) !important;
}

/* 8. Dropdown Sub-menus (Sub-menu Card Design) */
html body #site-navigation ul.sub-menu,
html body #site-navigation ul ul,
html body .main-navigation ul ul,
html body .main-navigation .main-nav ul ul.sub-menu {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 18px !important;
  padding: 10px !important;
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.16), 0 0 0 1px rgba(226, 232, 240, 0.8) !important;
  min-width: 250px !important;
  top: 100% !important;
  transform: translateY(8px) !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  display: block !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

html body #site-navigation ul li:hover > ul,
html body #site-navigation ul li.sfHover > ul,
html body .main-navigation ul li:hover > ul,
html body .main-navigation ul li.sfHover > ul {
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: translateY(2px) !important;
}

html body #site-navigation ul ul li,
html body .main-navigation ul ul li {
  margin-bottom: 3px !important;
}
html body #site-navigation ul ul li:last-child,
html body .main-navigation ul ul li:last-child {
  margin-bottom: 0 !important;
}

html body #site-navigation ul ul li a,
html body .main-navigation ul ul li a {
  color: #334155 !important;
  font-size: 14.5px !important;
  font-weight: 600 !important;
  padding: 10px 16px !important;
  border-radius: 10px !important;
  line-height: 1.4 !important;
  transition: all 0.2s ease !important;
  display: block !important;
  background: transparent !important;
  border: none !important;
  text-decoration: none !important;
}

html body #site-navigation ul ul li a:hover,
html body #site-navigation ul ul li.sfHover > a,
html body .main-navigation ul ul li a:hover,
html body .main-navigation ul ul li.sfHover > a {
  color: #d31145 !important;
  background: #fff1f4 !important;
  padding-left: 20px !important;
  transform: none !important;
}

/* 9. Highlight Last Item as Distinct CTA (ติดต่อตัวแทน) */
html body #site-navigation .main-nav > ul > li:last-child > a,
html body .main-navigation .main-nav > ul > li:last-child > a {
  border: 1.5px solid #d31145 !important;
  color: #d31145 !important;
  background: #ffffff !important;
  margin-left: 8px !important;
}
html body #site-navigation .main-nav > ul > li:last-child > a:hover,
html body .main-navigation .main-nav > ul > li:last-child > a:hover {
  background: #d31145 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(211, 17, 69, 0.32) !important;
}

/* 10. Mobile Responsiveness */
html body .site-header .menu-toggle,
html body .main-navigation .menu-toggle {
  background: #f8fafc !important;
  color: #0f172a !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 12px !important;
  padding: 8px 16px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  transition: all 0.2s ease !important;
}

@media (max-width: 768px) {
  html body .site-header .inside-header {
    min-height: 54px !important;
    padding: 8px 16px !important;
    justify-content: space-between !important;
  }
  html body #site-navigation.toggled .main-nav > ul,
  html body .main-navigation.toggled .main-nav > ul {
    display: flex !important;
    flex-direction: column !important;
    background: #ffffff !important;
    padding: 16px !important;
    border-radius: 18px !important;
    border: 1.5px solid #e2e8f0 !important;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12) !important;
    margin-top: 10px !important;
    gap: 6px !important;
  }
  html body #site-navigation .main-nav > ul > li > a {
    width: 100% !important;
    padding: 12px 16px !important;
    justify-content: space-between !important;
  }
  html body #site-navigation ul ul,
  html body #site-navigation .main-nav ul ul.sub-menu {
    position: static !important;
    width: 100% !important;
    box-shadow: none !important;
    border: none !important;
    padding: 6px 0 6px 16px !important;
    background: #f8fafc !important;
    border-radius: 12px !important;
    margin-top: 4px !important;
  }
  html body #site-navigation .main-nav > ul > li:last-child > a {
    margin-left: 0 !important;
    text-align: center !important;
    justify-content: center !important;
  }
}



/* Keep the full desktop menu in one row inside the shared 1220px shell. */
@media (min-width: 769px) {
  body #masthead .inside-header {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) !important;
    column-gap: 24px !important;
    align-items: center !important;
  }

  body #masthead .site-branding {
    grid-column: 1 !important;
    min-width: 0 !important;
  }

  body #masthead #mobile-menu-control-wrapper {
    display: none !important;
  }

  body #masthead #site-navigation,
  body #masthead #site-navigation .main-nav {
    grid-column: 2 !important;
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
  }

  body #masthead #site-navigation .main-nav > ul {
    flex-wrap: nowrap !important;
    justify-content: flex-end !important;
  }

  body #masthead #site-navigation .main-nav > ul > li > a {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}


/* Preserve the native GeneratePress mobile-menu state. */
@media (max-width: 768px) {
  body #masthead .inside-header {
    display: block !important;
    min-height: 0 !important;
    padding: 12px 20px !important;
  }

  body #masthead .site-branding {
    margin-bottom: 8px !important;
  }

  body #masthead #mobile-menu-control-wrapper {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
  }

  body #masthead #mobile-menu-control-wrapper .menu-toggle {
    width: 100% !important;
    justify-content: center !important;
  }

  body #masthead #site-navigation,
  body #masthead #site-navigation .main-nav {
    display: block !important;
    width: 100% !important;
    height: auto !important;
  }

  body #masthead #site-navigation .main-nav > ul {
    display: none !important;
  }

  body #masthead #site-navigation.toggled .main-nav > ul {
    display: flex !important;
  }
}


@media (max-width: 768px) {
  body #masthead #mobile-menu-control-wrapper .menu-toggle {
    min-height: 52px !important;
    height: 52px !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }

  body #masthead #site-navigation:not(.toggled) {
    display: none !important;
  }

  body #masthead #site-navigation.toggled {
    display: block !important;
  }
}

/* Shared redesign — 2026-10-24 */
/* Compact site-wide identity bar */
body #theetat-site-header .rl-header-container {padding:8px 20px !important;gap:14px !important;min-height:0 !important;align-items:center !important;}
body #theetat-site-header .rl-logo-box {width:48px !important;height:48px !important;flex:0 0 48px !important;}
body #theetat-site-header .rl-logo-box img {width:48px !important;height:48px !important;object-fit:contain;display:block;}
body #theetat-site-header .rl-header-title {font-size:12px !important;line-height:1.45 !important;margin:0 0 3px !important;}
body #theetat-site-header .rl-header-detail {font-size:11px !important;line-height:1.45 !important;margin:0 !important;}
@media(max-width:768px){
body #theetat-site-header .rl-header-container {padding:7px 0 !important;gap:10px !important;}
body #theetat-site-header .rl-logo-box {width:36px !important;height:36px !important;flex:0 0 36px !important;}
body #theetat-site-header .rl-logo-box img {width:36px !important;height:36px !important;}
body #theetat-site-header .rl-header-content {min-width:0;}
body #theetat-site-header .rl-header-title {font-size:11px !important;line-height:1.4 !important;margin-bottom:2px !important;}
body #theetat-site-header .rl-header-detail {font-size:10px !important;line-height:1.4 !important;}
}/* Refined site-wide navigation */
body #site-navigation {background:#fff !important;box-shadow:none !important;border-bottom:1px solid #e6e8eb !important;}
body #site-navigation .inside-navigation {background:#fff !important;box-shadow:none !important;}
body #site-navigation #primary-menu>ul {gap:10px !important;padding:0 !important;}
body #site-navigation #primary-menu>ul>li>a {position:relative;font-family:'Sarabun',sans-serif !important;font-size:16px !important;font-weight:600 !important;line-height:1.5 !important;color:#303946 !important;background:transparent !important;border:0 !important;border-radius:0 !important;box-shadow:none !important;text-shadow:none !important;margin:0 !important;padding:18px 16px !important;transform:none !important;}
body #site-navigation #primary-menu>ul>li>a::after {content:"";position:absolute;bottom:0;left:16px;right:16px;height:2px;background:#bd123e;opacity:0;transform:scaleX(.55);transition:opacity .18s,transform .18s;}
body #site-navigation #primary-menu>ul>li.current-menu-item>a,body #site-navigation #primary-menu>ul>li:hover>a,body #site-navigation #primary-menu>ul>li:focus-within>a {color:#b20d38 !important;}
body #site-navigation #primary-menu>ul>li.current-menu-item>a::after,body #site-navigation #primary-menu>ul>li:hover>a::after,body #site-navigation #primary-menu>ul>li:focus-within>a::after {opacity:1;transform:scaleX(1);}
body #site-navigation .dropdown-menu-toggle {color:#7c8590 !important;}
body #site-navigation .sub-menu {background:#fff !important;border:1px solid #e7e8eb !important;border-radius:8px !important;box-shadow:0 12px 28px rgba(20,33,48,.10) !important;padding:6px !important;}
body #site-navigation .sub-menu li>a {font-family:'Sarabun',sans-serif !important;font-size:15px !important;font-weight:400 !important;line-height:1.55 !important;padding:11px 14px !important;color:#334155 !important;background:transparent !important;border-radius:4px !important;box-shadow:none !important;}
body #site-navigation .sub-menu li:hover>a,body #site-navigation .sub-menu li:focus-within>a {background:#f7f4f5 !important;color:#b20d38 !important;}
body #site-navigation a:focus-visible,body #site-navigation button:focus-visible {outline:2px solid #b20d38 !important;outline-offset:3px;}
@media(max-width:768px){
body #site-navigation .inside-navigation {border:0 !important;border-radius:0 !important;padding:0 16px !important;}
body #site-navigation .menu-toggle {min-height:50px !important;background:#fff !important;border:0 !important;border-radius:0 !important;box-shadow:none !important;color:#374151 !important;width:100% !important;font-size:20px !important;}
body #site-navigation .menu-toggle::after {content:"เมนู";font-family:'Sarabun',sans-serif;font-size:15px;font-weight:600;margin-left:10px;}
body #site-navigation #primary-menu>ul {padding:4px 0 12px !important;}
body #site-navigation #primary-menu>ul>li>a {min-height:48px !important;padding:12px 14px !important;font-size:16px !important;border-bottom:1px solid #f0f1f3 !important;}
body #site-navigation #primary-menu>ul>li>a::after {display:none !important;}
body #site-navigation #primary-menu>ul>li.current-menu-item>a {background:#fcf6f8 !important;border-left:2px solid #bd123e !important;}
body #site-navigation .sub-menu {box-shadow:none !important;border:0 !important;border-left:1px solid #e4e7eb !important;border-radius:0 !important;padding:0 0 0 10px !important;}
}@media(max-width:768px){
body #mobile-menu-control-wrapper {background:#fff !important;border:0 !important;box-shadow:none !important;}
body #mobile-menu-control-wrapper .menu-toggle {background:#fff !important;color:#374151 !important;border:0 !important;border-radius:0 !important;box-shadow:none !important;min-height:48px !important;font-size:20px !important;}
body #mobile-menu-control-wrapper .menu-toggle::after {content:"เมนู";font-family:'Sarabun',sans-serif;font-size:15px;font-weight:600;margin-left:10px;}
}@media(max-width:768px){body #site-navigation #primary-menu>ul>li>a {justify-content:flex-start !important;text-align:left !important;}body #site-navigation #primary-menu>ul>li:last-child>a {justify-content:flex-start !important;}}/* Continuous desktop hover path between menu levels */
@media(min-width:769px){
body #site-navigation #primary-menu>ul>li>.sub-menu {top:100% !important;margin-top:0 !important;transform:none !important;}
body #site-navigation .sub-menu li>.sub-menu {top:-7px !important;left:calc(100% - 1px) !important;right:auto !important;margin:0 !important;transform:none !important;}
body #site-navigation .sub-menu {transition:opacity .15s ease !important;}
body #site-navigation .sub-menu li>.sub-menu::before {content:"";position:absolute;top:0;bottom:0;left:-8px;width:8px;background:transparent;}
}
/* Compact mobile accordion — shared 2026-10-24 */
@media(max-width:768px){
body #site-navigation #primary-menu {max-height:58vh;max-height:58dvh;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin;}
body #site-navigation #primary-menu>ul {gap:0!important;padding:0 0 6px!important;}
body #site-navigation #primary-menu>ul>li>a {min-height:44px!important;padding:10px 50px 10px 12px!important;font-size:15px!important;line-height:1.5!important;}
body #site-navigation #primary-menu .sub-menu {margin:0 0 3px 10px!important;padding:0 0 0 7px!important;width:auto!important;min-width:0!important;}
body #site-navigation #primary-menu .sub-menu li>a {position:relative;display:flex!important;align-items:center!important;min-height:44px!important;font-size:14px!important;line-height:1.45!important;padding:8px 48px 8px 10px!important;white-space:normal!important;}
body #site-navigation #primary-menu .dropdown-menu-toggle {position:absolute!important;right:0!important;top:0!important;width:44px!important;height:44px!important;padding:0!important;margin:0!important;display:flex!important;align-items:center!important;justify-content:center!important;border-left:1px solid #edf0f3;color:#b20d38!important;}
body #site-navigation #primary-menu li.aia-sub-open>a {background:#fcf6f8!important;color:#b20d38!important;}
body #site-navigation #primary-menu li:not(.aia-sub-open)>.sub-menu {display:none!important;}
body #site-navigation #primary-menu li.aia-sub-open>.sub-menu {display:block!important;position:static!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important;transform:none!important;}
}

/* Refined mobile view-all link */
@media(max-width:768px){
html body #masthead #site-navigation #primary-menu .sub-menu>.aia-mobile-view-all>a {color:#b20d38!important;font-weight:600!important;background:transparent!important;gap:8px!important;padding-right:14px!important;}
html body #masthead #site-navigation #primary-menu .sub-menu>.aia-mobile-view-all>a::after {content:"→";display:inline-block;font-size:15px;font-weight:400;line-height:1;margin-left:2px;color:inherit;}
html body #masthead #site-navigation #primary-menu .sub-menu>.aia-mobile-view-all>a:hover,html body #masthead #site-navigation #primary-menu .sub-menu>.aia-mobile-view-all>a:focus-visible {background:#fcf6f8!important;color:#960b2f!important;}
}

/* Mobile category state chevrons */
@media(max-width:768px){
html body #masthead #site-navigation #primary-menu .dropdown-menu-toggle {transform:none!important;}
html body #masthead #site-navigation #primary-menu .dropdown-menu-toggle .gp-icon {display:none!important;}
html body #masthead #site-navigation #primary-menu .dropdown-menu-toggle::before {content:none!important;}
html body #masthead #site-navigation #primary-menu .dropdown-menu-toggle::after {content:""!important;display:block!important;position:static!important;width:7px!important;height:7px!important;border:solid currentColor!important;border-width:0 1.5px 1.5px 0!important;background:none!important;opacity:1!important;margin:0 0 4px!important;transform:rotate(45deg)!important;transition:transform .16s ease!important;}
html body #masthead #site-navigation #primary-menu li.aia-sub-open>a>.dropdown-menu-toggle::after {transform:rotate(225deg)!important;margin:4px 0 0!important;}
}
@media(max-width:768px) and (prefers-reduced-motion:reduce){html body #masthead #site-navigation #primary-menu .dropdown-menu-toggle::after {transition:none!important;}}

/* Mobile menu button: clear open/close state */
@media(max-width:768px){
html body #masthead .menu-toggle[aria-controls="primary-menu"]::after {content:"เมนู"!important;}
html body #masthead .menu-toggle[aria-controls="primary-menu"][aria-expanded="true"]::after {content:"ปิดเมนู"!important;}
html body #masthead .menu-toggle[aria-controls="primary-menu"] .icon-menu-bars svg:first-child {display:inline-block!important;}
html body #masthead .menu-toggle[aria-controls="primary-menu"] .icon-menu-bars svg:last-child {display:none!important;}
html body #masthead .menu-toggle[aria-controls="primary-menu"][aria-expanded="true"] .icon-menu-bars svg:first-child {display:none!important;}
html body #masthead .menu-toggle[aria-controls="primary-menu"][aria-expanded="true"] .icon-menu-bars svg:last-child {display:inline-block!important;}
}

/* Keep mobile close control above the independently scrolling menu */
@media(max-width:768px){
html body #masthead:has(#mobile-menu-control-wrapper .menu-toggle[aria-expanded="true"]) {position:sticky!important;top:0!important;z-index:1001!important;background:#fff!important;}
html body #masthead #mobile-menu-control-wrapper {z-index:1002!important;background:#fff!important;}
html body #masthead #mobile-menu-control-wrapper:has(.menu-toggle[aria-expanded="true"]) {border-bottom:1px solid #edf0f3!important;}
html body #masthead #primary-menu {max-height:min(58dvh,calc(100dvh - 100px))!important;overscroll-behavior:contain;}
}
@media(min-width:601px) and (max-width:768px){html body.admin-bar #masthead:has(#mobile-menu-control-wrapper .menu-toggle[aria-expanded="true"]) {top:46px!important;}}

@media(max-width:768px){html body:has(#mobile-menu-control-wrapper .menu-toggle[aria-expanded="true"]) {overflow-x:clip!important;overflow-y:visible!important;}}

/* Soft shadow below the mobile close bar when menu content is scrolled */
@media(max-width:768px){
html body #masthead #mobile-menu-control-wrapper {transition:box-shadow .18s ease!important;}
html body #masthead #mobile-menu-control-wrapper.aia-menu-scrolled:has(.menu-toggle[aria-expanded="true"]) {box-shadow:0 5px 9px -5px rgba(15,23,42,.20)!important;}
}
@media(max-width:768px) and (prefers-reduced-motion:reduce){html body #masthead #mobile-menu-control-wrapper {transition:none!important;}}

/* Rounded mobile menu frame: clip active accents and keep shadow on frame */
@media(max-width:768px){
html body #masthead #site-navigation #primary-menu {border:1px solid #e2e8f0!important;border-radius:18px!important;overflow-x:hidden!important;overflow-y:auto!important;background:#fff!important;box-shadow:0 3px 10px rgba(15,23,42,.045)!important;margin-top:10px!important;box-sizing:border-box!important;}
html body #masthead #site-navigation #primary-menu>ul {border:0!important;border-radius:0!important;box-shadow:none!important;margin:0!important;padding:0!important;}
html body #masthead #site-navigation #primary-menu>ul>li:first-child>a {border-top-left-radius:17px!important;border-top-right-radius:17px!important;}
html body #masthead #site-navigation #primary-menu>ul>li:last-child:not(.aia-sub-open)>a {border-bottom-left-radius:17px!important;border-bottom-right-radius:17px!important;border-bottom:0!important;}
}

/* Rounded mobile expanded category highlight, contained inside menu frame */
@media(max-width:768px){
html body #masthead #site-navigation #primary-menu li.aia-sub-open>a {background:#fcf6f8!important;border-radius:10px!important;border-left:2px solid #bd123e!important;overflow:hidden!important;box-sizing:border-box!important;box-shadow:none!important;}
html body #masthead #site-navigation #primary-menu>ul>li:first-child.aia-sub-open>a {border-top-left-radius:17px!important;border-top-right-radius:17px!important;}
html body #masthead #site-navigation #primary-menu li.aia-sub-open>a>.dropdown-menu-toggle {border-top-right-radius:inherit!important;border-bottom-right-radius:inherit!important;}
}

/* Quiet rounded mobile menu scrollbar */
@media(max-width:768px){
html body #masthead #site-navigation #primary-menu {scrollbar-width:thin!important;scrollbar-color:#cbd1d9 transparent!important;}
html body #masthead #site-navigation #primary-menu::-webkit-scrollbar {width:5px;height:5px;}
html body #masthead #site-navigation #primary-menu::-webkit-scrollbar-track {background:transparent;border-radius:999px;margin-block:12px;}
html body #masthead #site-navigation #primary-menu::-webkit-scrollbar-thumb {background:#cbd1d9;border-radius:999px;min-height:32px;}
html body #masthead #site-navigation #primary-menu::-webkit-scrollbar-thumb:hover {background:#b8c0cb;}
html body #masthead #site-navigation #primary-menu::-webkit-scrollbar-button {display:none;width:0;height:0;}
html body #masthead #site-navigation #primary-menu::-webkit-scrollbar-corner {background:transparent;}
}
@supports selector(::-webkit-scrollbar){@media(max-width:768px){html body #masthead #site-navigation #primary-menu {scrollbar-width:auto!important;scrollbar-color:auto!important;}}}

/* Scrollbar color is driven by scrolling, without changing its width */
@media(max-width:768px){
html body #masthead #site-navigation #primary-menu {scrollbar-color:var(--aia-scrollbar-color,transparent) transparent!important;}
html body #masthead #site-navigation #primary-menu::-webkit-scrollbar-thumb,
html body #masthead #site-navigation #primary-menu::-webkit-scrollbar-thumb:hover {background:var(--aia-scrollbar-color,transparent)!important;}
}
@supports selector(::-webkit-scrollbar){@media(max-width:768px){html body #masthead #site-navigation #primary-menu {scrollbar-color:auto!important;}}}

/* Subtle mobile menu backdrop */
.aia-menu-backdrop {display:none;}
@media(max-width:768px){
.aia-menu-backdrop {display:block;position:fixed;inset:0;z-index:1000;background:rgba(15,23,42,.22);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .22s ease,visibility 0s linear .22s;}
.aia-menu-backdrop.is-visible {opacity:1;visibility:visible;pointer-events:auto;transition:opacity .22s ease;}
}
@media(max-width:768px) and (prefers-reduced-motion:reduce){.aia-menu-backdrop {transition:none!important;}}

/* Current submenu page: quiet red highlight on mobile only */
@media(max-width:768px){
html body #masthead #site-navigation #primary-menu .sub-menu li>a.aia-current-destination,
html body #masthead #site-navigation #primary-menu .sub-menu li>a[aria-current="page"] {color:#b20d38!important;background:#fcf0f4!important;font-weight:600!important;border-radius:10px!important;overflow:hidden!important;}
}

/* Mobile current-page parent category, without expanding it */
@media(max-width:768px){html body #masthead #site-navigation #primary-menu li.aia-current-branch>a {color:#b20d38!important;}}

/* Small current-page marker for mobile submenu links */
@media(max-width:768px){
html body #masthead #site-navigation #primary-menu .sub-menu li>a.aia-current-destination,
html body #masthead #site-navigation #primary-menu .sub-menu li>a[aria-current="page"] {column-gap:8px!important;justify-content:flex-start!important;text-align:left!important;}
html body #masthead #site-navigation #primary-menu .sub-menu li>a.aia-current-destination::before,
html body #masthead #site-navigation #primary-menu .sub-menu li>a[aria-current="page"]::before {content:""!important;display:block!important;position:static!important;flex:0 0 5px!important;width:5px!important;height:5px!important;border-radius:50%!important;background:#bd123e!important;border:0!important;margin:0!important;transform:none!important;opacity:1!important;box-shadow:none!important;}
}

/* Small marker on the current top-level mobile category, even when collapsed */
@media(max-width:768px){
html body #masthead #site-navigation #primary-menu>ul>li.aia-current-branch>a {display:flex!important;align-items:center!important;justify-content:flex-start!important;column-gap:8px!important;text-align:left!important;}
html body #masthead #site-navigation #primary-menu>ul>li.aia-current-branch>a::before {content:""!important;display:block!important;position:static!important;flex:0 0 5px!important;width:5px!important;height:5px!important;border-radius:50%!important;background:#bd123e!important;border:0!important;margin:0!important;transform:none!important;opacity:1!important;box-shadow:none!important;}
}

/* Current-page ancestor markers at every mobile submenu level */
@media(max-width:768px){
html body #masthead #site-navigation #primary-menu .sub-menu li.aia-current-branch>a {display:flex!important;align-items:center!important;justify-content:flex-start!important;column-gap:8px!important;text-align:left!important;}
html body #masthead #site-navigation #primary-menu .sub-menu li.aia-current-branch>a::before {content:""!important;display:block!important;position:static!important;flex:0 0 5px!important;width:5px!important;height:5px!important;border-radius:50%!important;background:#bd123e!important;border:0!important;margin:0!important;transform:none!important;opacity:1!important;box-shadow:none!important;}
}

/* Clear mobile row separators and breathing room at every menu level */
@media(max-width:768px){
html body #masthead #site-navigation #primary-menu>ul>li {padding-block:3px!important;}
html body #masthead #site-navigation #primary-menu>ul>li+li {border-top:1px solid #dfe5ec!important;}
html body #masthead #site-navigation #primary-menu>ul>li>a {min-height:48px!important;padding-top:12px!important;padding-bottom:12px!important;border-bottom:0!important;}
html body #masthead #site-navigation #primary-menu .sub-menu {margin-top:6px!important;margin-bottom:8px!important;}
html body #masthead #site-navigation #primary-menu .sub-menu>li {padding-block:3px!important;}
html body #masthead #site-navigation #primary-menu .sub-menu>li+li {border-top:1px solid #dfe5ec!important;}
html body #masthead #site-navigation #primary-menu .sub-menu>li>a {min-height:48px!important;padding-top:12px!important;padding-bottom:12px!important;border-bottom:0!important;}
html body #masthead #site-navigation #primary-menu .dropdown-menu-toggle {top:50%!important;transform:translateY(-50%)!important;height:44px!important;}
}

/* Inset mobile dividers, keeping existing row spacing */
@media(max-width:768px){
html body #masthead #site-navigation #primary-menu>ul>li+li,
html body #masthead #site-navigation #primary-menu .sub-menu>li+li {position:relative!important;border-top-color:transparent!important;}
html body #masthead #site-navigation #primary-menu>ul>li+li::before,
html body #masthead #site-navigation #primary-menu .sub-menu>li+li::before {content:"";position:absolute;top:-1px;left:12px;right:12px;height:1px;background:#dfe5ec;border-radius:1px;pointer-events:none;}
}

/* Softer mobile separators without the grid-like vertical arrow borders */
@media(max-width:768px){
html body #masthead #site-navigation #primary-menu .dropdown-menu-toggle {border-left:0!important;}
html body #masthead #site-navigation #primary-menu>ul>li+li::before,
html body #masthead #site-navigation #primary-menu .sub-menu>li+li::before {left:16px!important;right:16px!important;background:linear-gradient(to right,transparent,rgba(148,163,184,.22) 12%,rgba(148,163,184,.22) 88%,transparent)!important;height:1px!important;transform:scaleY(.5)!important;transform-origin:center!important;}
}

/* Keep the light submenu surface inset from both sides of the mobile frame */
@media(max-width:768px){
html body #masthead #site-navigation #primary-menu>ul>li>.sub-menu {margin:6px 10px 8px!important;width:auto!important;max-width:calc(100% - 20px)!important;padding:6px 8px!important;box-sizing:border-box!important;border-radius:12px!important;}
html body #masthead #site-navigation #primary-menu .sub-menu .sub-menu {margin:6px 0 8px 8px!important;width:auto!important;max-width:calc(100% - 8px)!important;padding:6px 0 6px 4px!important;box-sizing:border-box!important;}
}

/* Inset top-level expandable category buttons from the mobile menu frame */
@media(max-width:768px){
html body #masthead #site-navigation #primary-menu>ul>li.menu-item-has-children>a {margin-left:10px!important;margin-right:10px!important;width:auto!important;max-width:calc(100% - 20px)!important;box-sizing:border-box!important;}
}

/* Rounded selected mobile menu items, including collapsed categories */
@media(max-width:768px){
html body #masthead #site-navigation #primary-menu li.current-menu-item>a,
html body #masthead #site-navigation #primary-menu li.current-menu-parent>a,
html body #masthead #site-navigation #primary-menu li.current-menu-ancestor>a,
html body #masthead #site-navigation #primary-menu li.aia-current-branch>a,
html body #masthead #site-navigation #primary-menu a.aia-current-destination,
html body #masthead #site-navigation #primary-menu a[aria-current="page"] {border-radius:12px!important;overflow:hidden!important;box-sizing:border-box!important;}
html body #masthead #site-navigation #primary-menu>ul>li.current-menu-item>a {margin-left:10px!important;margin-right:10px!important;width:auto!important;max-width:calc(100% - 20px)!important;}
}

/* Consistent mobile row insets and rounded states at every menu depth */
@media(max-width:768px){
html body #masthead #site-navigation #primary-menu ul>li>a {margin-left:10px!important;margin-right:10px!important;width:auto!important;max-width:calc(100% - 20px)!important;box-sizing:border-box!important;border-radius:12px!important;overflow:hidden!important;}
html body #masthead #site-navigation #primary-menu>ul>li:first-child>a,
html body #masthead #site-navigation #primary-menu>ul>li:first-child.aia-sub-open>a,
html body #masthead #site-navigation #primary-menu>ul>li:last-child:not(.aia-sub-open)>a {border-radius:12px!important;}
html body #masthead #site-navigation #primary-menu .sub-menu {padding-left:0!important;padding-right:0!important;border-left:0!important;}
html body #masthead #site-navigation #primary-menu .sub-menu .sub-menu {margin-left:10px!important;margin-right:10px!important;max-width:calc(100% - 20px)!important;}
}

@media(max-width:768px){html body #masthead #site-navigation #primary-menu .sub-menu li>a.aia-current-destination,html body #masthead #site-navigation #primary-menu .sub-menu li>a[aria-current="page"],html body #masthead #site-navigation #primary-menu li.aia-sub-open>a {border-radius:12px!important;}}

/* Equal full-row width for mobile top-level links, including Home */
@media(max-width:768px){
html body #masthead #site-navigation #primary-menu>ul>li>a,
html body #masthead #site-navigation #primary-menu>ul>li.current-menu-item>a,
html body #masthead #site-navigation #primary-menu>ul>li.menu-item-has-children>a {display:flex!important;width:calc(100% - 20px)!important;max-width:calc(100% - 20px)!important;box-sizing:border-box!important;justify-content:flex-start!important;}
}

/* Equal full-row widths for every mobile submenu level and selected state */
@media(max-width:768px){
html body #masthead #site-navigation #primary-menu .sub-menu>li>a,
html body #masthead #site-navigation #primary-menu .sub-menu>li>a.aia-current-destination,
html body #masthead #site-navigation #primary-menu .sub-menu>li>a[aria-current="page"],
html body #masthead #site-navigation #primary-menu .sub-menu>li.aia-sub-open>a {display:flex!important;width:calc(100% - 20px)!important;max-width:calc(100% - 20px)!important;margin-left:10px!important;margin-right:10px!important;box-sizing:border-box!important;}
}

/* Consistent mobile text and arrow columns, independent of active markers */
@media(max-width:768px){
html body #masthead #site-navigation #primary-menu#primary-menu ul>li>a {position:relative!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;text-align:left!important;padding-left:26px!important;padding-right:48px!important;border-left-width:2px!important;border-left-style:solid!important;border-left-color:transparent!important;column-gap:0!important;}
html body #masthead #site-navigation #primary-menu#primary-menu li.aia-sub-open>a,
html body #masthead #site-navigation #primary-menu#primary-menu>ul>li.current-menu-item>a {border-left-color:#bd123e!important;}
html body #masthead #site-navigation #primary-menu#primary-menu li.aia-current-branch>a::before,
html body #masthead #site-navigation #primary-menu#primary-menu a.aia-current-destination::before,
html body #masthead #site-navigation #primary-menu#primary-menu a[aria-current="page"]::before {position:absolute!important;left:10px!important;top:50%!important;transform:translateY(-50%)!important;margin:0!important;}
html body #masthead #site-navigation #primary-menu#primary-menu .dropdown-menu-toggle {right:0!important;width:44px!important;top:50%!important;transform:translateY(-50%)!important;}
html body #masthead #site-navigation #primary-menu#primary-menu .sub-menu>.aia-mobile-view-all>a::after {position:absolute!important;right:0!important;top:50%!important;transform:translateY(-50%)!important;width:44px!important;text-align:center!important;margin:0!important;}
}

/* Reduce accumulated mobile submenu indentation while preserving row insets */
@media(max-width:768px){
html body #masthead #site-navigation #primary-menu#primary-menu .sub-menu .sub-menu {margin-left:4px!important;margin-right:4px!important;max-width:calc(100% - 8px)!important;}
html body #masthead #site-navigation #primary-menu#primary-menu .sub-menu>li>a {padding-left:22px!important;}
}

/* Slightly larger agent identity, shared across the site */
html body #theetat-site-header .rl-logo-box {width:56px!important;height:56px!important;flex:0 0 56px!important;}
html body #theetat-site-header .rl-logo-box img {width:56px!important;height:56px!important;}
html body #theetat-site-header .rl-header-title {font-size:14px!important;line-height:1.5!important;margin-bottom:3px!important;}
html body #theetat-site-header .rl-header-detail {font-size:13px!important;line-height:1.5!important;}
@media(max-width:768px){
html body #theetat-site-header .rl-logo-box {width:42px!important;height:42px!important;flex:0 0 42px!important;}
html body #theetat-site-header .rl-logo-box img {width:42px!important;height:42px!important;}
html body #theetat-site-header .rl-header-title {font-size:12px!important;line-height:1.45!important;}
html body #theetat-site-header .rl-header-detail {font-size:11px!important;line-height:1.5!important;}
}

/* Prompt main navigation and compact desktop alignment with the hero text */
html body #masthead #site-navigation #primary-menu>ul>li>a {font-family:'Prompt',sans-serif!important;}
@media(min-width:769px){
html body #masthead {padding-top:2px!important;padding-bottom:2px!important;}
html body #masthead .inside-header {width:100%!important;max-width:1200px!important;padding-left:50px!important;padding-right:24px!important;min-height:0!important;}
html body #masthead #site-navigation,html body #masthead #site-navigation .inside-navigation {min-height:0!important;height:auto!important;width:100%!important;}
html body #masthead #site-navigation .inside-navigation {padding:0!important;}
html body #masthead #site-navigation #primary-menu>ul {justify-content:flex-start!important;}
html body #masthead #site-navigation #primary-menu>ul>li>a {padding-top:12px!important;padding-bottom:12px!important;line-height:1.5!important;min-height:0!important;}
}

@media(min-width:769px){html body #masthead#masthead .inside-header {width:100%!important;max-width:1200px!important;padding:0 24px 0 50px!important;min-height:0!important;} html body #masthead#masthead #site-navigation,html body #masthead#masthead #site-navigation .inside-navigation {min-height:0!important;height:auto!important;}}

/* Shared submenu typography: Prompt on desktop and mobile */
html body #masthead #site-navigation #primary-menu#primary-menu .sub-menu li>a {font-family:"Prompt",sans-serif!important;}

/* Slightly larger mobile submenu text; retain existing layout and behavior */
@media(max-width:768px){html body #masthead #site-navigation #primary-menu#primary-menu .sub-menu li>a {font-size:15px!important;}}

/* Readable wrapping for long mobile submenu labels with a reserved arrow column */
@media(max-width:768px){
html body #masthead #site-navigation #primary-menu#primary-menu .sub-menu li>a {white-space:normal!important;word-break:normal!important;overflow-wrap:anywhere!important;text-wrap:pretty;line-height:1.55!important;height:auto!important;min-height:48px!important;padding-right:48px!important;}
html body #masthead #site-navigation #primary-menu#primary-menu .sub-menu li>a>.dropdown-menu-toggle {position:absolute!important;right:0!important;top:50%!important;transform:translateY(-50%)!important;width:44px!important;height:44px!important;display:flex!important;align-items:center!important;justify-content:center!important;}
}

/* Desktop navigation aligned to logo, with lighter Prompt labels */
@media(min-width:769px){
html body #masthead#masthead .inside-header {max-width:1220px!important;padding-left:31px!important;padding-right:24px!important;}
html body #masthead #site-navigation #primary-menu#primary-menu>ul>li>a {font-weight:600!important;}
}

/* One desktop shell for the logo and navigation on every page */
@media(min-width:769px){
html body #theetat-site-header#theetat-site-header .rl-header-container {width:100%!important;max-width:1220px!important;margin-left:auto!important;margin-right:auto!important;padding-left:20px!important;padding-right:20px!important;box-sizing:border-box!important;}
html body #masthead#masthead .inside-header {width:100%!important;max-width:1220px!important;margin-left:auto!important;margin-right:auto!important;padding-left:31px!important;padding-right:24px!important;box-sizing:border-box!important;}
html body #masthead #site-navigation #primary-menu#primary-menu>ul>li>a {font-family:'Prompt',sans-serif!important;font-weight:600!important;padding-left:10px!important;padding-right:10px!important;}
}

/* Desktop dropdown alignment and continuous hover path */
@media(min-width:769px){
html body #masthead #site-navigation #primary-menu#primary-menu li.menu-item-has-children{position:relative!important;}
html body #masthead #site-navigation #primary-menu#primary-menu>ul>li>.sub-menu{top:100%!important;left:0!important;right:auto!important;margin:0!important;transform:none!important;}
html body #masthead #site-navigation #primary-menu#primary-menu .sub-menu li>.sub-menu{top:-7px!important;left:calc(100% - 1px)!important;right:auto!important;margin:0!important;transform:none!important;}
html body #masthead #site-navigation #primary-menu#primary-menu .sub-menu{transition:opacity .15s ease!important;}
html body #masthead #site-navigation #primary-menu#primary-menu>ul>li>.sub-menu::before{content:"";position:absolute;left:0;right:0;top:-6px;height:6px;background:transparent;}
html body #masthead #site-navigation #primary-menu#primary-menu .sub-menu li>.sub-menu::before{content:"";position:absolute;top:0;bottom:0;left:-8px;width:8px;background:transparent;}
}

/* Compact mobile navigation with direct shortcuts */
.aia-mobile-shortcuts{display:none;}
@media(max-width:768px){
html body #masthead#masthead{padding:0!important;}
html body #masthead#masthead .inside-header{padding:5px 16px!important;min-height:0!important;}
html body #masthead #mobile-menu-control-wrapper#mobile-menu-control-wrapper{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;min-height:44px!important;padding:0!important;}
html body #masthead #mobile-menu-control-wrapper .aia-mobile-shortcuts{display:flex;align-items:center;gap:4px;min-width:0;}
html body #masthead #mobile-menu-control-wrapper .aia-mobile-shortcuts a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 10px;font-family:'Prompt',sans-serif;font-size:14px;font-weight:500;line-height:1.4;color:#334155;text-decoration:none;border-radius:8px;white-space:nowrap;}
html body #masthead #mobile-menu-control-wrapper .aia-mobile-shortcuts a[aria-current='page']{color:#bd123e;background:#fcf3f6;}
html body #masthead #mobile-menu-control-wrapper .aia-mobile-shortcuts a:focus-visible{outline:2px solid #bd123e;outline-offset:1px;}
html body #masthead #mobile-menu-control-wrapper .menu-toggle{flex:0 0 auto!important;width:auto!important;min-width:88px!important;min-height:44px!important;height:44px!important;margin:0 0 0 auto!important;padding:8px 12px!important;gap:8px!important;font-family:'Prompt',sans-serif!important;font-size:14px!important;border:1px solid #eadde1!important;border-radius:9px!important;background:#fff!important;box-shadow:none!important;line-height:1.4!important;}
html body #masthead #mobile-menu-control-wrapper .menu-toggle .gp-icon svg{width:18px!important;height:18px!important;}
html body #masthead #mobile-menu-control-wrapper:has(.menu-toggle[aria-expanded='true']) .aia-mobile-shortcuts{display:none!important;}
}

/* Mobile contact shortcuts, shared across all pages */
@media(max-width:768px){
html body #masthead #mobile-menu-control-wrapper .aia-mobile-shortcuts{gap:2px!important;}
html body #masthead #mobile-menu-control-wrapper .aia-mobile-shortcuts a{padding-left:6px!important;padding-right:6px!important;min-width:44px;box-sizing:border-box;}
html body #masthead #mobile-menu-control-wrapper .aia-mobile-shortcuts .aia-shortcut-phone{color:#bd123e;background:#fcf3f6;}
html body #masthead #mobile-menu-control-wrapper .aia-mobile-shortcuts .aia-shortcut-line{color:#087c41;background:#edf9f2;}
}
@media(max-width:400px){
html body #masthead#masthead .inside-header{padding-left:10px!important;padding-right:10px!important;}
html body #masthead #mobile-menu-control-wrapper#mobile-menu-control-wrapper{gap:4px!important;flex-wrap:nowrap!important;}
html body #masthead #mobile-menu-control-wrapper .menu-toggle{min-width:44px!important;padding:8px!important;}
html body #masthead #mobile-menu-control-wrapper .menu-toggle[aria-expanded='false']::after{display:none!important;}
}

@media(max-width:360px){html body #masthead #mobile-menu-control-wrapper .aia-mobile-shortcuts{gap:0!important;}html body #masthead #mobile-menu-control-wrapper .aia-mobile-shortcuts a{padding-left:4px!important;padding-right:4px!important;}}

/* Contact icons without increasing mobile bar height */
@media(max-width:768px){
html body #masthead #mobile-menu-control-wrapper .aia-mobile-shortcuts .aia-shortcut-phone,html body #masthead #mobile-menu-control-wrapper .aia-mobile-shortcuts .aia-shortcut-line{gap:4px;height:44px;flex-shrink:0;}
html body #masthead #mobile-menu-control-wrapper .aia-shortcut-phone::before,html body #masthead #mobile-menu-control-wrapper .aia-shortcut-line::before{content:"";display:block;width:16px;height:16px;flex:0 0 16px;background-size:contain;background-repeat:no-repeat;background-position:center;}
html body #masthead #mobile-menu-control-wrapper .aia-shortcut-phone::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22%23bd123e%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M22%2016.9v3a2%202%200%200%201-2.2%202%2019.8%2019.8%200%200%201-8.6-3.1%2019.5%2019.5%200%200%201-6-6%2019.8%2019.8%200%200%201-3.1-8.7A2%202%200%200%201%204.1%202h3a2%202%200%200%201%202%201.7c.1%201%20.4%202%20.7%202.9a2%202%200%200%201-.4%202.1L8.1%2010a16%2016%200%200%200%206%206l1.3-1.3a2%202%200%200%201%202.1-.4c.9.3%201.9.6%202.9.7a2%202%200%200%201%201.6%201.9Z%22%2F%3E%3C%2Fsvg%3E");}
html body #masthead #mobile-menu-control-wrapper .aia-shortcut-line::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22%23087c41%22%20d%3D%22M12%202C5.9%202%201%205.9%201%2010.7c0%204.3%203.9%207.9%209.2%208.6.4.1.8.3.7.8l-.3%201.6c-.1.5.2.6.6.4C16.4%2019.4%2023%2014.9%2023%2010.7%2023%205.9%2018.1%202%2012%202Z%22%2F%3E%3Ctext%20x%3D%2212%22%20y%3D%2213%22%20fill%3D%22white%22%20font-family%3D%22Arial%2Csans-serif%22%20font-size%3D%226.5%22%20font-weight%3D%22700%22%20text-anchor%3D%22middle%22%3ELINE%3C%2Ftext%3E%3C%2Fsvg%3E");}
}
@media(max-width:360px){
html body #masthead #mobile-menu-control-wrapper .aia-mobile-shortcuts .aia-shortcut-phone,html body #masthead #mobile-menu-control-wrapper .aia-mobile-shortcuts .aia-shortcut-line{flex-direction:column;gap:0;}
}

/* Borderless right-aligned mobile menu control */
@media(max-width:768px){
html body #masthead #mobile-menu-control-wrapper#mobile-menu-control-wrapper{flex-wrap:nowrap!important;}
html body #masthead #mobile-menu-control-wrapper#mobile-menu-control-wrapper .menu-toggle{flex:0 0 44px!important;width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;margin-left:auto!important;margin-right:0!important;padding:10px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;justify-content:center!important;gap:0!important;}
html body #masthead #mobile-menu-control-wrapper#mobile-menu-control-wrapper .menu-toggle::after{display:none!important;content:none!important;}
html body #masthead #mobile-menu-control-wrapper#mobile-menu-control-wrapper .menu-toggle .gp-icon svg{width:22px!important;height:22px!important;}
html body #masthead #mobile-menu-control-wrapper#mobile-menu-control-wrapper .menu-toggle:focus-visible{outline:2px solid #bd123e!important;outline-offset:1px!important;}
}

/* Evenly distribute four mobile shortcuts */
@media(max-width:768px){
html body #masthead #mobile-menu-control-wrapper .aia-mobile-shortcuts{flex:1 1 auto!important;justify-content:space-between!important;gap:2px!important;}
}

/* Four equal mobile shortcut buttons */
@media(max-width:768px){
html body #masthead #mobile-menu-control-wrapper .aia-mobile-shortcuts{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px!important;flex:1 1 0!important;min-width:0!important;}
html body #masthead #mobile-menu-control-wrapper .aia-mobile-shortcuts a{width:100%!important;min-width:0!important;max-width:100%!important;height:44px!important;min-height:44px!important;padding:2px!important;margin:0!important;border-radius:8px!important;box-sizing:border-box!important;white-space:normal!important;text-align:center;line-height:1.25!important;overflow-wrap:anywhere;text-wrap:balance;background-color:#f5f7f9;}
html body #masthead #mobile-menu-control-wrapper .aia-mobile-shortcuts a[aria-current='page'],html body #masthead #mobile-menu-control-wrapper .aia-mobile-shortcuts .aia-shortcut-phone{background-color:#fcf3f6;}
html body #masthead #mobile-menu-control-wrapper .aia-mobile-shortcuts .aia-shortcut-line{background-color:#edf9f2;}
}
@media(max-width:480px){
html body #masthead #mobile-menu-control-wrapper .aia-mobile-shortcuts .aia-shortcut-phone,html body #masthead #mobile-menu-control-wrapper .aia-mobile-shortcuts .aia-shortcut-line{flex-direction:column!important;gap:0!important;}
}

/* Unified icon-above-label mobile shortcuts */
@media(max-width:768px){
html body #masthead #mobile-menu-control-wrapper .aia-mobile-shortcuts a{flex-direction:column!important;gap:0!important;}
html body #masthead #mobile-menu-control-wrapper .aia-mobile-shortcuts a:nth-child(-n+2)::before{content:"";display:block;width:16px;height:16px;flex:0 0 16px;background-position:center;background-size:contain;background-repeat:no-repeat;}
html body #masthead #mobile-menu-control-wrapper .aia-mobile-shortcuts a:first-child::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23bd123e%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m3%2010%209-7%209%207M5%209v12h14V9M9%2021v-8h6v8%22%2F%3E%3C%2Fsvg%3E");}
html body #masthead #mobile-menu-control-wrapper .aia-mobile-shortcuts a:nth-child(2)::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23334155%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203%204%206v6c0%205%208%209%208%209s8-4%208-9V6z%22%2F%3E%3Cpath%20d%3D%22m8.5%2012%202.5%202.5%204.5-5%22%2F%3E%3C%2Fsvg%3E");}
}
@media(max-width:360px){html body #masthead #mobile-menu-control-wrapper .aia-mobile-shortcuts a:nth-child(2){font-size:12px!important;line-height:1.25!important;padding-left:0!important;padding-right:0!important;white-space:nowrap!important;}}

/* Shared mobile shortcut typography */
@media(max-width:768px){html body #masthead #mobile-menu-control-wrapper .aia-mobile-shortcuts a{font-weight:600!important;}}

@media(max-width:360px){html body #masthead #mobile-menu-control-wrapper .aia-mobile-shortcuts a:nth-child(2){letter-spacing:-.15px;}}

/* Slightly larger icons for all four mobile shortcuts */
@media(max-width:768px){html body #masthead #mobile-menu-control-wrapper#mobile-menu-control-wrapper .aia-mobile-shortcuts a::before{width:18px!important;height:18px!important;flex:0 0 18px!important;}}

/* Eight organized desktop sections spanning the navigation bar */
@media(min-width:769px){
html body #masthead#masthead .inside-header{max-width:none!important;width:100%!important;padding-left:clamp(20px,3vw,56px)!important;padding-right:clamp(20px,3vw,56px)!important;}
html body #masthead #site-navigation #primary-menu#primary-menu{width:100%!important;}
html body #masthead #site-navigation #primary-menu#primary-menu>ul{width:100%!important;justify-content:space-between!important;gap:8px!important;}
html body #masthead #site-navigation #primary-menu#primary-menu>ul>li>a{white-space:nowrap!important;font-family:'Prompt',sans-serif!important;font-weight:600!important;font-size:15px!important;padding-left:8px!important;padding-right:8px!important;}
html body #masthead #site-navigation #primary-menu#primary-menu>ul>li:last-child{margin-left:0!important;}
html body #masthead #site-navigation #primary-menu#primary-menu>ul>li:last-child>a{color:#bd123e!important;}
html body #masthead #site-navigation #primary-menu#primary-menu>ul>li:nth-last-child(-n+3)>.sub-menu{left:auto!important;right:0!important;}
html body #masthead #site-navigation #primary-menu#primary-menu>ul>li:nth-last-child(-n+3) .sub-menu li>.sub-menu{left:auto!important;right:calc(100% - 1px)!important;}
html body #masthead #site-navigation #primary-menu#primary-menu>ul>li:nth-last-child(-n+3) .sub-menu li>.sub-menu::before{left:auto!important;right:-8px!important;}
}
@media(min-width:769px) and (max-width:1199px){
html body #masthead #site-navigation #primary-menu#primary-menu>ul{gap:2px!important;flex-wrap:wrap!important;}
html body #masthead #site-navigation #primary-menu#primary-menu>ul>li>a{font-size:13px!important;padding-left:5px!important;padding-right:5px!important;}
}

@media(min-width:769px){html body #masthead #site-navigation{flex:1 1 auto!important;min-width:0!important;}html body #masthead #site-navigation .inside-navigation{max-width:none!important;width:100%!important;}}

/* Contained desktop navigation and elegant contact button */
@media(min-width:769px){
html body #masthead#masthead .inside-header{max-width:1220px!important;width:100%!important;margin-left:auto!important;margin-right:auto!important;padding-left:20px!important;padding-right:20px!important;box-sizing:border-box!important;}
html body #masthead #site-navigation #primary-menu#primary-menu>ul>li#menu-item-30338>a{color:#fff!important;background:#bd123e!important;border:0!important;border-radius:8px!important;box-shadow:0 3px 8px rgba(140,15,48,.12)!important;padding-left:14px!important;padding-right:14px!important;transform:none!important;}
html body #masthead #site-navigation #primary-menu#primary-menu>ul>li#menu-item-30338:hover>a,html body #masthead #site-navigation #primary-menu#primary-menu>ul>li#menu-item-30338:focus-within>a{color:#fff!important;background:#a50f35!important;}
html body #masthead #site-navigation #primary-menu#primary-menu>ul>li#menu-item-30338>a::after{display:none!important;}
html body #masthead #site-navigation #primary-menu#primary-menu>ul>li#menu-item-30338>a .dropdown-menu-toggle{color:#fff!important;}
}

/* Readable category-home links with reserved arrow space */
@media(max-width:768px){
html body #masthead #site-navigation #primary-menu#primary-menu .sub-menu>.aia-mobile-view-all>a{position:relative!important;white-space:normal!important;word-break:normal!important;overflow-wrap:anywhere!important;text-wrap:pretty;line-height:1.55!important;height:auto!important;min-height:48px!important;padding-right:48px!important;padding-top:12px!important;padding-bottom:12px!important;}
html body #masthead #site-navigation #primary-menu#primary-menu .sub-menu>.aia-mobile-view-all>a::after{position:absolute!important;right:0!important;top:50%!important;transform:translateY(-50%)!important;width:44px!important;line-height:1!important;text-align:center!important;}
}

/* Homepage clouds: continue to the right edge without horizontal fading */
body.home .aiaproduct-home .aia-hero-clouds{left:0!important;right:0!important;}
@media(min-width:769px){body.home .aiaproduct-home .aia-hero-clouds{mask-image:linear-gradient(to bottom,#000 0%,#000 50%,transparent 100%)!important;-webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 50%,transparent 100%)!important;}}

/* Remove the divider beneath the mobile close control */
@media(max-width:768px){html body #masthead #mobile-menu-control-wrapper#mobile-menu-control-wrapper:has(.menu-toggle[aria-expanded='true']){border-bottom-color:transparent!important;}}

/* Contained logo-only footer marquee */
body.home #aia-footer-logos{display:block;background:#fff;padding:28px 0;margin:0;border:0;}
body.home #aia-footer-logos .aia-logo-container{width:100%;max-width:1220px;margin:0 auto;padding:0 20px;box-sizing:border-box;}
body.home #aia-footer-logos .aia-logo-viewport{overflow:hidden;mask-image:linear-gradient(to right,transparent,#000 4%,#000 96%,transparent);}
body.home #aia-footer-logos .aia-logo-track{display:flex;width:max-content;animation:aiaFooterLogos 65s linear infinite;will-change:transform;}
body.home #aia-footer-logos .aia-logo-group{display:flex;align-items:center;justify-content:space-around;width:1180px;flex:0 0 1180px;}
body.home #aia-footer-logos .aia-logo-cell{display:flex;align-items:center;justify-content:center;width:160px;height:72px;flex-shrink:0;}
body.home #aia-footer-logos img{display:block;width:110px;height:60px;object-fit:contain;margin:0;border:0;border-radius:0;background:transparent;box-shadow:none;}
body.home #aia-footer-logos:hover .aia-logo-track{animation-play-state:paused;}
@keyframes aiaFooterLogos{from{transform:translateX(0);}to{transform:translateX(-50%);}}
@media(max-width:768px){body.home #aia-footer-logos{padding:20px 0;}body.home #aia-footer-logos .aia-logo-group{width:840px;flex-basis:840px;}body.home #aia-footer-logos .aia-logo-cell{width:120px;height:60px;}body.home #aia-footer-logos img{width:90px;height:48px;}body.home #aia-footer-logos .aia-logo-track{animation-duration:60s;}}
@media(prefers-reduced-motion:reduce){body.home #aia-footer-logos .aia-logo-track{animation:none;will-change:auto;width:100%;}body.home #aia-footer-logos .aia-logo-group{width:100%;flex-basis:100%;flex-wrap:wrap;gap:16px;}body.home #aia-footer-logos .aia-logo-group[aria-hidden='true']{display:none;}}

/* Larger footer logos with tighter vertical spacing */
body.home #aia-footer-logos{padding:14px 0;}
body.home #aia-footer-logos .aia-logo-cell{height:76px;}
body.home #aia-footer-logos img{width:126px;height:70px;}
@media(max-width:768px){body.home #aia-footer-logos{padding:10px 0;}body.home #aia-footer-logos .aia-logo-cell{height:64px;}body.home #aia-footer-logos img{width:104px;height:58px;}}
