/* Global Country Experience — reuses site shell; additive styles only */

.cx-flag { margin-right: 0.25rem; }

.cx-flag-img {
  display: inline-block;
  width: 1.25rem;
  height: 0.94rem;
  object-fit: cover;
  border-radius: 2px;
  vertical-align: -0.1em;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.12);
  flex-shrink: 0;
}

.cx-switcher {
  position: relative;
  margin-right: 0.75rem;
}

.cx-switcher__summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(148, 163, 184, 0.45);
  border-radius: 0.5rem;
  background: rgba(15, 23, 42, 0.04);
  font-size: 0.85rem;
  font-weight: 700;
}

.cx-switcher__summary::-webkit-details-marker { display: none; }

.cx-switcher__flag {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.cx-switcher__flag .cx-flag-img {
  width: 1.35rem;
  height: 1rem;
}

.cx-switcher__meta {
  color: #64748b;
  font-weight: 600;
  font-size: 0.75rem;
}

.cx-switcher__panel {
  position: absolute;
  right: 0;
  top: calc(100% + 0.35rem);
  min-width: 14rem;
  max-height: min(60vh, 22rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.6rem;
  padding: 0.35rem;
  z-index: 40;
  box-shadow: none;
}

.cx-switcher__panel::-webkit-scrollbar {
  width: 8px;
}

.cx-switcher__panel::-webkit-scrollbar-track {
  background: transparent;
}

.cx-switcher__panel::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 999px;
}

.cx-switcher__option {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.6rem;
  border-radius: 0.4rem;
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
}

.cx-switcher__option-flag {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  width: 1.35rem;
  justify-content: center;
}

.cx-switcher__option-flag .cx-flag-img {
  width: 1.35rem;
  height: 1rem;
}

.cx-switcher__option:hover,
.cx-switcher__option.is-active {
  background: #f1f5f9;
}

.cx-search {
  flex: 1;
  min-width: 12rem;
}

.cx-search__input {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font: inherit;
}

.cx-hero-stats {
  margin: 1rem 0 1.25rem;
}

.cx-hero-stats h1 {
  margin: 0 0 0.35rem;
  font-size: 1.55rem;
}

.cx-hero-stats__lead { margin: 0; color: #334155; }
.cx-hero-stats__note { margin: 0.4rem 0 0; font-size: 0.85rem; color: #64748b; }
.cx-muted { color: #64748b; font-size: 0.92rem; }

/* Country hubs use the same homepage flow — only additive search + filter helpers */
.cx-global-home .quick-links-bar.cx-search-bar .quick-links-bar__inner {
  gap: 0.65rem;
}

.cx-global-home .cx-search {
  flex: 0 1 14rem;
  min-width: 10rem;
  max-width: 18rem;
}

.cx-global-home .job-list .job-item[hidden] {
  display: none !important;
}

/* Sidebar department rows — match India category link layout */
.cx-global-home .widget-list li a {
  gap: 0.5rem;
}

.cx-global-home .widget-list__label {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cx-global-home .widget-list li a.is-active {
  background: var(--bg, #f8fafc);
  color: var(--primary, #0f766e);
  font-weight: 700;
}

.cx-global-home .widget-list .count {
  flex-shrink: 0;
}

@media (max-width: 720px) {
  .cx-global-home .cx-search {
    flex: 1 1 100%;
    max-width: none;
    order: 3;
  }
}

.cx-trending-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #0f766e;
}

.cx-india-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

@media (max-width: 720px) {
  .cx-switcher__meta { display: none; }
  .site-header__right .cx-switcher { margin-right: 0.35rem; }
}
