/* Hindu Fund – Country switcher (header) */
.hf-cs-widget { flex: 0 0 auto !important; width: auto !important; align-self: center; }
.hf-cs-widget--desktop { margin-left: 60px !important; }
@media (max-width: 1366px) { .hf-cs-widget--desktop { margin-left: 40px !important; } }
.hf-cs-widget--mobile { margin-left: auto !important; margin-right: 14px !important; }

.hf-cs { position: relative; display: inline-block; font-family: "Poppins", sans-serif; line-height: 30px; }
/* "body .hf-cs button" beats the Elementor kit's global button style (.elementor-kit-2909 button) */
body .hf-cs button.hf-cs__toggle,
body .hf-cs button.hf-cs__toggle:hover,
body .hf-cs button.hf-cs__toggle:focus {
	display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 0;
	background: transparent !important; border: 0 !important; border-radius: 0; box-shadow: none !important;
	font-family: "Poppins", sans-serif; font-size: 16px; font-weight: 600; line-height: 30px;
	letter-spacing: normal; text-transform: uppercase; color: #000 !important; cursor: pointer;
}
.hf-cs__toggle:focus-visible { outline: 2px solid #944800; outline-offset: 4px; }
.hf-cs__current-flag { display: inline-flex; }
.hf-cs__flag { display: block; width: 22px; height: 22px; flex: 0 0 22px; border-radius: 50%; }
.hf-cs__caret { display: block; margin-left: 4px; color: #000; transition: transform .2s ease; }
.hf-cs__toggle[aria-expanded="true"] .hf-cs__caret { transform: rotate(180deg); }
.hf-cs__toggle:hover .hf-cs__label, .hf-cs__toggle:hover .hf-cs__caret { color: #944800; }

.hf-cs__list {
	position: absolute; top: calc(100% + 12px); right: 0; z-index: 9999;
	min-width: 170px; margin: 0; padding: 8px 0; list-style: none;
	background: #fff; border: 1px solid #e6e6e6; border-radius: 6px;
	box-shadow: 0 10px 28px rgba(0, 0, 0, .12);
}
.hf-cs__list[hidden] { display: none; }
.hf-cs__list::before { /* hover bridge so the menu stays open while moving the mouse down */
	content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px;
}
.hf-cs__option {
	display: flex; align-items: center; gap: 10px; margin: 0; padding: 9px 18px;
	font-family: "Poppins", sans-serif; font-size: 16px; font-weight: 600; line-height: 24px;
	text-transform: uppercase; color: #000; cursor: pointer; white-space: nowrap; outline: none;
}
.hf-cs__option:hover, .hf-cs__option:focus, .hf-cs__option.is-active { background: #f5efe8; color: #944800; }
.hf-cs__option[aria-selected="true"] { color: #944800; }
.hf-cs__option[aria-selected="true"]::after {
	content: ""; width: 6px; height: 11px; margin-left: auto;
	border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-2px);
}

/* Mobile header (next to the hamburger) */
body .hf-cs--mobile button.hf-cs__toggle { gap: 7px; font-size: 16px; }
.hf-cs--mobile .hf-cs__flag { width: 20px; height: 20px; flex-basis: 20px; }
.hf-cs--mobile .hf-cs__list { top: calc(100% + 18px); min-width: 150px; }
@media (max-width: 360px) {
	.hf-cs--mobile .hf-cs__label { display: none; }
}

/* Second header (d865e20): switcher sits in its own container after the menu */
.hf-cs-widget--h2 { margin-left: 0 !important; }

/* Second header (old-faqs): fixed-width switcher so INDIA / USA take the same space and the menu never moves */
.elementor-element-1314b45 { flex: 0 0 auto !important; width: auto !important; min-width: 0 !important; justify-content: flex-start !important; }
.hf-cs-widget--h2 { margin-left: 60px !important; }               /* = menu item spacing at desktop */
@media (max-width: 1366px) { .hf-cs-widget--h2 { margin-left: 40px !important; } }
body .hf-cs-widget--h2 .hf-cs button.hf-cs__toggle { width: 112px; justify-content: flex-start; }
.hf-cs-widget--h2 .hf-cs__list { left: 0; right: auto; }
