/**
 * Header utilities: Translate and Search
 */
.header-utilities {
	gap: 0.75rem;
}

.header-translate {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.translate-label {
	color: #374151;
	font-size: 0.875rem;
}

.header-search .search-form {
	min-width: 180px;
	max-width: 280px;
}

.header-search .search-field {
	font-size: 0.875rem;
	border-color: #d1d5db;
}

.header-search .search-field:focus {
	outline: none;
	box-shadow: 0 0 0 2px rgba(45, 174, 191, 0.4);
	border-color: #2daebf;
}

.header-search .search-submit {
	background-color: #2daebf;
}

.header-search .search-submit:hover {
	opacity: 0.9;
}

/* Google Translate - hide banner, improve dropdown */
.skiptranslate {
	display: inline-block;
}

.goog-te-gadget {
	font-family: inherit !important;
	font-size: 0.875rem !important;
}

.goog-te-gadget .goog-te-combo {
	margin: 0 0 0 4px !important;
	padding: 6px 28px 6px 10px !important;
	font-size: 0.875rem !important;
	border: 1px solid #d1d5db !important;
	border-radius: 4px !important;
	background-color: #fff !important;
	color: #374151 !important;
	min-height: 36px;
	cursor: pointer;
}

.goog-te-gadget .goog-te-combo:focus {
	outline: 2px solid #2daebf;
	outline-offset: 1px;
}

/* Hide "Powered by Google" banner */
.goog-te-banner-frame,
.skiptranslate .VIpgJd-ZVi9od-l4eHX-hSRGPd {
	display: none !important;
}

body {
	top: 0 !important;
}

/* Ensure translate and search are visible on all backgrounds */
.siteHeader .header-utilities .translate-label,
.siteHeader .header-utilities .search-field {
	color: #374151;
}

.siteHeader .header-utilities .search-field::placeholder {
	color: #9ca3af;
}

/* Google Translate - compact pill-style dropdown */
.header-translate {
	display: flex;
	align-items: center;
	gap: 0.5rem;
  }
  
  .translate-dropdown {
	max-width: 200px;
	overflow: hidden;
	white-space: nowrap;
  }
  
  /* Use the SIMPLE layout styling */
  #google_translate_element .goog-te-gadget {
	font-family: inherit !important;
	font-size: 0.875rem !important;
  }
  
  #google_translate_element .goog-te-gadget-simple {
	display: inline-flex !important;
	align-items: center;
	padding: 4px 10px;
	border: 1px solid #d1d5db;
	border-radius: 999px;
	background: #ffffff;
	cursor: pointer;
  }
  
  /* Hide Google’s little icon, keep only text */
  #google_translate_element .goog-te-gadget-simple img {
	display: none !important;
  }
  
  /* Inside the SIMPLE pill, clean up text */
  #google_translate_element .goog-te-gadget-simple .goog-te-menu-value span {
	color: #374151 !important;
  }
  
  /* Hide top banner */
  .goog-te-banner-frame,
  .skiptranslate .VIpgJd-ZVi9od-l4eHX-hSRGPd {
	display: none !important;
  }
  
  body {
	top: 0 !important;
  }
