/* Additions on top of site.css (the unchanged compiled CSS of the old Next.js site). */

/* Language switch (new: the old site had only Bangla). */
.wk-lang {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 13px;
	border: 1px solid var(--color-border-beige, #e2d8c3);
	border-radius: 999px;
	color: var(--color-pine, #0f3f37);
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color .2s, border-color .2s, color .2s;
}
.wk-lang:hover { background: var(--color-pine, #0f3f37); border-color: var(--color-pine, #0f3f37); color: #fff; }
.wk-lang[lang="bn"] { font-family: var(--font-sans); }
@media (max-width: 899px) { .wk-lang { padding: 11px 13px; } }

/* Anchors land below the sticky header. */
section[id] { scroll-margin-top: 76px; }

/* Appointment form. */
.wk-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.wk-form-msg { margin: 16px 0 0; padding: 12px 16px; border-radius: 12px; background: #fdecec; color: #8a1c1c; font-size: 15px; }
[data-wk-appt] .wk-invalid { border-color: #c0392b; }

/* Modals: same "fade-in zoom-in" entrance as the old React modals. */
.wk-pop { animation: wk-pop .2s ease-out; }
@keyframes wk-pop { from { opacity: 0; transform: scale(.95); } to { opacity: 1; transform: none; } }
[data-wk-modal][hidden] { display: none !important; }
body.wk-noscroll { overflow: hidden; }
[data-wk-frame] iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Articles: links + last element spacing. */
.wk-article a { color: var(--color-pine, #0f3f37); text-decoration: underline; text-underline-offset: 3px; }
.wk-article > :last-child { margin-bottom: 0; }
.wk-article blockquote { margin-left: 0; margin-right: 0; }
.wk-article img { max-width: 100%; height: auto; border-radius: 14px; }
.wk-article ul li::marker { color: var(--color-gold, #c19a3e); }

@media (prefers-reduced-motion: reduce) {
	.animate-floatUp, .animate-floatUp-delayed, .wk-pop { animation: none !important; }
}
