.bdhpopup-overlay[hidden] { display: none !important; }
.bdhpopup-overlay {
  position: fixed; inset: 0; z-index: 2147483000;
  display: grid; place-items: center; overflow-y: auto;
  padding: 16px; box-sizing: border-box; overscroll-behavior: contain;
  background: rgba(7, 16, 22, .72);
  opacity: 0; transition: opacity .22s ease;
}
.bdhpopup-overlay.bdhpopup-visible { opacity: 1; }
body.bdhpopup-no-scroll { overflow: hidden !important; }
.bdhpopup-dialog {
  --bdhpopup-size: 480px; --bdhpopup-color: #006b50;
  --bdhpopup-text-color: #fff; --bdhpopup-button-color: #fff;
  --bdhpopup-button-text: #006b50;
  position: relative; isolation: isolate; box-sizing: border-box;
  width: min(var(--bdhpopup-size), 92vw, calc(100vh - 42px));
  width: min(var(--bdhpopup-size), 92vw, calc(100dvh - 42px));
  aspect-ratio: 1 / 1; max-height: calc(100dvh - 42px);
  overflow: hidden; border-radius: 15px;
  background: var(--bdhpopup-color); color: var(--bdhpopup-text-color);
  box-shadow: 0 26px 100px rgba(0,0,0,.38);
  border: 1px solid rgba(255,255,255,.35);
  transform: translateY(14px) scale(.985);
  transition: transform .22s ease;
  font-family: inherit; line-height: 1.5;
}
.bdhpopup-visible .bdhpopup-dialog { transform: translateY(0) scale(1); }
.bdhpopup-bg-image { display: block; position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-position: center; }
.bdhpopup-fit-cover { object-fit: cover; }
.bdhpopup-fit-contain { object-fit: contain; }
.bdhpopup-shade { position: absolute; z-index: 1; inset: 0; background: #000; pointer-events: none; }
.bdhpopup-content {
  position: relative; z-index: 2; height: 100%; width: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: safe center;
  gap: clamp(8px, 2.2vw, 18px); padding: clamp(28px, 6.5vw, 52px) clamp(16px, 5.5vw, 38px);
  overflow: auto; box-sizing: border-box; text-align: center;
  scrollbar-width: thin;
}
.bdhpopup-title, .bdhpopup-message, .bdhpopup-action { flex-shrink: 0; }
.bdhpopup-title { color: inherit !important; font-size: clamp(20px, 4vw, 32px) !important; margin: 0 !important; padding: 0 !important; font-family: inherit !important; font-weight: 800 !important; line-height: 1.2 !important; overflow-wrap: anywhere; }
.bdhpopup-message { color: inherit; font-size: clamp(14px, 2.4vw, 18px); white-space: pre-line; line-height: 1.65; max-width: 100%; overflow-wrap: anywhere; }
.bdhpopup-action {
  display: inline-flex !important; text-decoration: none !important; align-items: center; justify-content: center;
  max-width: 100%; box-sizing: border-box; padding: 10px 22px;
  border: 0 !important; border-radius: 999px; background: var(--bdhpopup-button-color) !important;
  color: var(--bdhpopup-button-text) !important; font: inherit !important;
  font-size: clamp(13px, 2.5vw, 16px) !important; font-weight: 800 !important;
  box-shadow: 0 5px 18px rgba(0,0,0,.2); line-height: 1.4 !important;
  cursor: pointer; transition: transform .18s ease, box-shadow .18s ease;
  overflow-wrap: anywhere;
}
.bdhpopup-action:hover, .bdhpopup-action:focus-visible { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0,0,0,.27); }
.bdhpopup-inactive { opacity: .8; cursor: default; }
.bdhpopup-whole-link { position: absolute; z-index: 3; inset: 0; display: block; cursor: pointer; }
.bdhpopup-close {
  position: absolute; z-index: 5; top: 10px; right: 10px; display: flex;
  align-items: center; justify-content: center;
  width: 38px; height: 38px; margin: 0 !important; padding: 0 !important;
  border: 1px solid rgba(255,255,255,.65) !important; border-radius: 50% !important;
  background: rgba(255,255,255,.96) !important; color: #17282c !important;
  box-shadow: 0 3px 14px rgba(0,0,0,.23); font: normal 26px/1 Arial,sans-serif !important;
  cursor: pointer;
}
.bdhpopup-close:hover, .bdhpopup-close:focus-visible { color: #006b50 !important; background: #fff !important; }
.bdhpopup-close:focus-visible, .bdhpopup-whole-link:focus-visible, .bdhpopup-action:focus-visible { outline: 3px solid #ffcf4b; outline-offset: 3px; }
@media (max-width: 500px) {
  .bdhpopup-overlay { padding: 10px; }
  .bdhpopup-dialog { border-radius: 12px; }
  .bdhpopup-close { width: 33px; height: 33px; top: 7px; right: 7px; font-size: 23px !important; }
  .bdhpopup-content { padding: 36px 16px 18px; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .bdhpopup-overlay, .bdhpopup-dialog, .bdhpopup-action { transition: none !important; }
}

/* v1.1: Hiring announcement layout modelled on the supplied reference. */
.bdhpopup-overlay .bdhpopup-dialog--notice {
  width: min(var(--bdhpopup-size, 510px), calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  max-height: calc(100dvh - 24px);
  aspect-ratio: auto;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 17px;
  background: var(--bdhpopup-notice-bg, #fff);
  color: var(--bdhpopup-notice-text, #47566a);
  line-height: 1.58;
  box-shadow: 0 22px 75px rgba(0, 0, 0, .35);
  font-family: 'Noto Sans Bengali', 'Hind Siliguri', system-ui, sans-serif;
}
.bdhpopup-notice-scroll {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  max-height: calc(100vh - 24px);
  max-height: calc(100dvh - 24px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  padding: 32px 32px 18px;
  text-align: center;
}
.bdhpopup-notice-banner {
  display: block;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 2 / 1;
  margin: 0;
  border: 0;
  object-position: center;
  flex: 0 0 auto;
}
.bdhpopup-notice-banner.bdhpopup-fit-cover { object-fit: cover; }
.bdhpopup-notice-banner.bdhpopup-fit-contain { object-fit: contain; }
.bdhpopup-dialog--notice .bdhpopup-notice-heading {
  display: block;
  max-width: 100%;
  flex: 0 0 auto;
  margin: 33px 0 19px !important;
  padding: 0 !important;
  font-family: inherit !important;
  font-weight: 800 !important;
  font-size: 30px !important;
  line-height: 1.3 !important;
  letter-spacing: 0;
  text-align: center;
  color: var(--bdhpopup-notice-title, #555) !important;
  overflow-wrap: anywhere;
}
.bdhpopup-notice-message {
  width: 100%;
  max-width: 448px;
  font-family: inherit;
  color: var(--bdhpopup-notice-text, #47566a) !important;
  font-weight: 400;
  font-size: 15px !important;
  text-align: center;
  white-space: pre-line;
  line-height: 1.58;
  overflow-wrap: anywhere;
}
.bdhpopup-notice-details {
  margin: 8px 0 0;
  width: max-content;
  max-width: 100%;
  padding: 11px 14px;
  box-sizing: border-box;
  border-radius: 10px;
  background: var(--bdhpopup-notice-info, #eef2f6);
  color: var(--bdhpopup-notice-text, #47566a);
  font-size: 13.5px;
  line-height: 1.6;
  text-align: left;
  overflow-wrap: anywhere;
  flex: 0 0 auto;
}
.bdhpopup-notice-details > div { margin: 0 0 3px; }
.bdhpopup-notice-details > div:last-child { margin-bottom: 0; }
.bdhpopup-notice-details strong { font-weight: 750; }
.bdhpopup-notice-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  max-width: 100%;
  margin: 29px auto 0;
  flex: 0 0 auto;
}
.bdhpopup-overlay .bdhpopup-notice-primary,
.bdhpopup-overlay .bdhpopup-notice-secondary {
  display: inline-flex !important;
  box-sizing: border-box;
  min-height: 44px;
  max-width: 100%;
  margin: 0 !important;
  padding: 10px 18px !important;
  border: 0 !important;
  border-radius: 4px !important;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  font-family: Arial, 'Noto Sans Bengali', sans-serif !important;
  font-size: 14px !important;
  font-weight: 750 !important;
  line-height: 1.35 !important;
  text-align: center;
  box-shadow: none !important;
  cursor: pointer;
  transition: filter .18s ease;
  overflow-wrap: anywhere;
}
.bdhpopup-overlay .bdhpopup-notice-primary {
  background: var(--bdhpopup-notice-button, #24a342) !important;
  color: var(--bdhpopup-notice-button-fg, #fff) !important;
}
.bdhpopup-overlay .bdhpopup-notice-secondary {
  background: var(--bdhpopup-notice-secondary, #707880) !important;
  color: var(--bdhpopup-notice-secondary-fg, #fff) !important;
}
.bdhpopup-overlay .bdhpopup-notice-primary:hover,
.bdhpopup-overlay .bdhpopup-notice-secondary:hover { filter: brightness(.92); }
.bdhpopup-overlay .bdhpopup-dialog--notice > .bdhpopup-close {
  position: absolute;
  z-index: 7;
  top: 0;
  right: 0;
  width: 46px;
  height: 47px;
  border: 2px solid #b4cbed !important;
  border-radius: 0 !important;
  background: rgba(255, 255, 255, .98) !important;
  color: #c6c8cb !important;
  box-shadow: none !important;
  font: 700 32px / 1 Arial, sans-serif !important;
}
.bdhpopup-overlay .bdhpopup-dialog--notice > .bdhpopup-close:hover,
.bdhpopup-overlay .bdhpopup-dialog--notice > .bdhpopup-close:focus-visible {
  color: #4c5967 !important;
  border-color: #8aabc8 !important;
}
.bdhpopup-overlay .bdhpopup-dialog--notice.bdhpopup-notice-imageonly { aspect-ratio: 1 / 1; }
.bdhpopup-notice-whole-image { position: absolute; inset: 0; background: var(--bdhpopup-notice-bg, #fff); }
.bdhpopup-notice-whole-image img { display: block; width: 100%; height: 100%; object-position: center; }
.bdhpopup-notice-whole-fit-cover { object-fit: cover; }
.bdhpopup-notice-whole-fit-contain { object-fit: contain; }
.bdhpopup-dialog--notice .bdhpopup-whole-link { z-index: 5; }
.bdhpopup-dialog--notice .bdhpopup-close { z-index: 7; }
@media (max-width: 600px) {
  .bdhpopup-overlay .bdhpopup-dialog--notice { width: min(var(--bdhpopup-size, 510px), calc(100vw - 18px)); border-radius: 14px; }
  .bdhpopup-notice-scroll { padding: 28px 19px 18px; }
  .bdhpopup-dialog--notice .bdhpopup-notice-heading { margin: 26px 0 16px !important; font-size: clamp(22px, 6vw, 29px) !important; }
  .bdhpopup-notice-message { font-size: clamp(12px, 3.1vw, 15px) !important; line-height: 1.53; }
  .bdhpopup-notice-details { font-size: clamp(11.5px, 3vw, 13.5px); padding: 9px 11px; }
  .bdhpopup-notice-buttons { margin-top: 22px; }
  .bdhpopup-overlay .bdhpopup-notice-primary,
  .bdhpopup-overlay .bdhpopup-notice-secondary { min-height: 42px; font-size: 13px !important; padding: 9px 14px !important; }
  .bdhpopup-overlay .bdhpopup-dialog--notice > .bdhpopup-close { width: 40px; height: 41px; font-size: 28px !important; }
}
@media (max-width: 360px) {
  .bdhpopup-notice-scroll { padding: 20px 13px 13px; }
  .bdhpopup-dialog--notice .bdhpopup-notice-heading { margin: 18px 0 12px !important; font-size: 22px !important; }
  .bdhpopup-notice-buttons { gap: 6px; }
}
.bdhpopup-overlay .bdhpopup-dialog--notice .bdhpopup-notice-primary.bdhpopup-inactive { opacity: 1; cursor: default; }
