/* ==========================================================================
   Smart India Translator — front-end styles
   ========================================================================== */

/* --- Suppress Google's default top banner / tooltip so it never pushes the
       Elementor header down or conflicts with Pro animations. --------------- */
.skiptranslate,
.goog-te-banner-frame,
.goog-te-gadget-icon,
#goog-gt-tt,
.goog-tooltip,
.goog-tooltip:hover {
	display: none !important;
}

body {
	top: 0 !important; /* Cancel the offset Google tries to add. */
}

/* Keep Google's engine in the DOM (off-screen, not display:none, so the
   translation combo stays functional) and loaded only once. */
.sit-gte-hidden {
	position: fixed;
	left: -9999px;
	top: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* --- The translator widget itself --------------------------------------- */
.sit-translator {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	line-height: 1.3;
	max-width: 100%;
}

.sit-translator .sit-globe {
	font-size: 1.1em;
	line-height: 1;
	flex: 0 0 auto;
}

/* Dropdown style */
.sit-select-wrap {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	cursor: pointer;
}

.sit-select {
	cursor: pointer;
	border: 1px solid rgba( 0, 0, 0, 0.2 );
	border-radius: 4px;
	padding: 6px 28px 6px 10px;
	background-color: #ffffff;
	color: inherit;
	font: inherit;
	line-height: 1.2;
	max-width: 100%;
	appearance: auto;
}

/* Inline (links) style */
.sit-inline-list {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 12px;
	margin: 0;
	padding: 0;
}

.sit-inline-list a {
	text-decoration: none;
	color: inherit;
	padding: 4px 8px;
	border-radius: 4px;
	display: inline-block;
}

.sit-inline-list a:hover,
.sit-inline-list a.sit-active {
	text-decoration: underline;
	font-weight: 600;
}

/* --- Responsive ---------------------------------------------------------- */
/* Tablet */
@media ( max-width: 1024px ) {
	.sit-translator {
		font-size: 14px;
	}
	.sit-inline-list {
		gap: 6px 10px;
	}
}

/* Mobile — works inside a hamburger / off-canvas menu */
@media ( max-width: 767px ) {
	.sit-translator {
		font-size: 13px;
		flex-wrap: wrap;
	}
	.sit-style-inline .sit-inline-list {
		flex-direction: column;
		align-items: flex-start;
	}
	.sit-select {
		width: 100%;
	}
}
