/* ARIA2 TOW Chinese search text alignment 20260508g */
@media (max-width: 767.98px){
#header #header-wrap #search-wrap .search-box-gse .google-searchbox input.gsc-input,.google-searchbox input.gsc-input,input.gsc-input{height:32px !important;line-height:32px !important;padding-top:0 !important;padding-bottom:0 !important;margin:0 !important;box-sizing:border-box !important;vertical-align:middle !important;font-size:12px !important}
#header #header-wrap #search-wrap .search-box-gse .google-searchbox .gsc-input-box,.google-searchbox .gsc-input-box{height:32px !important;min-height:32px !important;box-sizing:border-box !important;overflow:hidden !important}
#header #header-wrap #search-wrap .search-box-gse .google-searchbox .gsib_a,.google-searchbox .gsib_a{padding:0 !important;height:32px !important;box-sizing:border-box !important}
}

/* ARIA2 TOW ESP reference desktop vertical search alignment 20260508i */
@media (min-width: 768px){
#header #header-wrap #search-wrap .search-box-gse .google-searchbox .gsc-input-box,
.google-searchbox .gsc-input-box,
#header #header-wrap #search-wrap .search-box-gse .google-searchbox .gsc-input-box table,
.google-searchbox .gsc-input-box table,
#header #header-wrap #search-wrap .search-box-gse .google-searchbox .gsc-input-box tbody,
.google-searchbox .gsc-input-box tbody,
#header #header-wrap #search-wrap .search-box-gse .google-searchbox .gsc-input-box tr,
.google-searchbox .gsc-input-box tr,
#header #header-wrap #search-wrap .search-box-gse .google-searchbox .gsib_a,
.google-searchbox .gsib_a{height:36px !important;min-height:36px !important;box-sizing:border-box !important;vertical-align:middle !important}
#header #header-wrap #search-wrap .search-box-gse .google-searchbox .gsib_a,
.google-searchbox .gsib_a{padding:0 !important}
#header #header-wrap #search-wrap .search-box-gse .google-searchbox input.gsc-input,
.google-searchbox input.gsc-input,
input.gsc-input{height:36px !important;min-height:36px !important;line-height:36px !important;padding-top:0 !important;padding-bottom:0 !important;margin:0 !important;box-sizing:border-box !important;vertical-align:middle !important}
}

/* ARIA2 TOW ESP reference tightened desktop search box 20260508j */
@media (min-width: 768px){
#header .gsc-control-cse,#header .google-searchbox,#header #search-wrap,#header .search-box-gse{background:transparent !important;border:0 !important;padding:0 !important;margin:0 !important;height:52px !important;min-height:52px !important;display:flex !important;align-items:center !important;box-sizing:border-box !important;overflow:visible !important}
form.gsc-searchbox.gsc-search-box-tools,form.gsc-search-box.gsc-search-box-tools{height:36px !important;min-height:36px !important;width:240px !important;display:flex !important;align-items:center !important;margin:0 !important;background:transparent !important;overflow:visible !important}
form.gsc-searchbox.gsc-search-box-tools table.gsc-search-box,form.gsc-search-box.gsc-search-box-tools table.gsc-search-box{height:36px !important;min-height:36px !important;width:240px !important;margin:0 !important}
form.gsc-searchbox.gsc-search-box-tools .gsc-input-box,form.gsc-search-box.gsc-search-box-tools .gsc-input-box{height:36px !important;min-height:36px !important;width:202px !important;margin:0 !important;background:#fff !important;overflow:hidden !important}
form.gsc-searchbox.gsc-search-box-tools input.gsc-input,form.gsc-search-box.gsc-search-box-tools input.gsc-input{height:36px !important;min-height:36px !important;line-height:36px !important;padding:0 0 0 10px !important;margin:0 !important;font-size:12px !important;box-sizing:border-box !important;vertical-align:middle !important;background:none !important}
form.gsc-searchbox.gsc-search-box-tools button.gsc-search-button.gsc-search-button-v2,form.gsc-search-box.gsc-search-box-tools button.gsc-search-button.gsc-search-button-v2{height:36px !important;min-height:36px !important;margin:0 !important;box-sizing:border-box !important}
}

/* ARIA2 TOW ESP reference placeholder baseline correction 20260508k */
@media (min-width: 768px){
form.gsc-searchbox.gsc-search-box-tools input.gsc-input,form.gsc-search-box.gsc-search-box-tools input.gsc-input,.google-searchbox input.gsc-input,input.gsc-input{position:relative !important;top:-4px !important;line-height:36px !important;padding-top:0 !important;padding-bottom:0 !important}
}

/* ARIA2 TOW ZH desktop duplicate CSE guard 20260508l */
@media (min-width: 768px){
#header #search-wrap .google-searchbox form.gsc-search-box.gsc-search-box-tools:nth-of-type(n+2),
#header #search-wrap form.gsc-search-box.gsc-search-box-tools:nth-of-type(n+2){display:none !important;visibility:hidden !important;width:0 !important;height:0 !important;overflow:hidden !important}
}

/* ARIA2 TOW ZH desktop hide mobile search wrapper 20260508m */
@media (min-width: 768px){
#header #search-wrap.search-wrap-mobile,
#primary-menu #search-wrap.search-wrap-mobile,
.search-wrap-mobile{display:none !important;visibility:hidden !important;width:0 !important;height:0 !important;min-height:0 !important;overflow:hidden !important}
#header #search-wrap.search-wrap-desktop,
#primary-menu #search-wrap.search-wrap-desktop{display:flex !important;visibility:visible !important;align-items:center !important;height:52px !important;min-height:52px !important;width:240px !important;overflow:visible !important}
}

/* ARIA2 TOW ZH ESP reference field raise 20260508n */
@media (min-width: 768px){
#primary-menu #search-wrap.search-wrap-desktop{position:relative !important;top:-7px !important}
#primary-menu #search-wrap.search-wrap-desktop input.gsc-input,.search-wrap-desktop input.gsc-input{top:-7px !important}
}

/* ARIA2 TOW ZH ESP reference field final nudge 20260508o */
@media (min-width: 768px){
#primary-menu #search-wrap.search-wrap-desktop{top:-5px !important}
}
