.snt-nv-overlay[hidden],.snt-nv-banner[hidden]{display:none!important}
.snt-nv-modal-open{overflow:hidden}
.snt-nv-overlay{position:fixed;inset:0;background:rgba(12,27,45,.68);z-index:999999;display:flex;align-items:center;justify-content:center;padding:20px;box-sizing:border-box}
.snt-nv-overlay *,.snt-nv-banner *{box-sizing:border-box}
.snt-nv-dialog{font:inherit;color:#17324a;background:#fff;border-radius:14px;box-shadow:0 15px 60px #0005;width:min(100%,690px);max-height:calc(100dvh - 40px);overflow:auto;position:relative;padding:32px}
.snt-nv-dialog h2,.snt-nv-banner h2{font-size:1.55rem;line-height:1.3;margin:0 35px 14px 0;color:#1171b7}
.snt-nv-dialog p,.snt-nv-banner p{line-height:1.55;margin:0 0 18px}
.snt-nv-close{position:absolute;right:12px;top:9px;background:transparent;border:0;cursor:pointer;color:#44596b;font-size:30px;line-height:1;padding:5px 10px;border-radius:5px}
.snt-nv-close:hover,.snt-nv-close:focus-visible{background:#e9f3fa;outline:2px solid #1171b7}
.snt-nv-button{display:inline-block;background:#068782!important;color:#fff!important;border:0;border-radius:6px;padding:11px 18px;text-decoration:none!important;font-weight:650}
.snt-nv-button:hover,.snt-nv-button:focus-visible{background:#056e6a!important}
.snt-nv-image-link{display:block}
.snt-nv-image{width:100%;height:auto;max-width:100%;border-radius:8px;object-fit:contain}
.snt-nv-image-text{display:grid;grid-template-columns:minmax(0,40%) minmax(0,60%);gap:22px;align-items:center}
.snt-nv-image-text>.snt-nv-image,.snt-nv-image-text>.snt-nv-image-link{width:100%}
.snt-nv-hero>.snt-nv-image,.snt-nv-hero>.snt-nv-image-link{display:block;width:100%;margin-bottom:18px}
/* The photo controls the hero dialog size, without cropping or stretching. */
.snt-nv-dialog.snt-nv-hero{width:min(100%,960px)}
.snt-nv-hero>.snt-nv-image,.snt-nv-hero>.snt-nv-image-link{max-width:100%;width:fit-content;margin-left:auto;margin-right:auto}
.snt-nv-hero .snt-nv-image{display:block;width:auto;height:auto;max-width:100%;max-height:calc(100dvh - 235px);object-fit:contain;margin:0 auto}
.snt-nv-image-text .snt-nv-image{display:block;height:auto;object-fit:contain}
.snt-nv-image-text.snt-nv-photo-portrait{grid-template-columns:minmax(0,45%) minmax(0,55%)}
.snt-nv-image-text.snt-nv-photo-wide{grid-template-columns:minmax(0,55%) minmax(0,45%)}
.snt-nv-item{display:flex;gap:16px;align-items:flex-start;border-top:1px solid #e3eaf0;padding:16px 0}
.snt-nv-item>.snt-nv-image,.snt-nv-item>.snt-nv-image-link{width:105px;flex:none}
.snt-nv-item>.snt-nv-image-link .snt-nv-image{width:105px}
.snt-nv-item-content{min-width:0}.snt-nv-item h3{font-size:1.08rem;color:#17324a;margin:0 0 5px}.snt-nv-item p{margin:0 0 7px}
.snt-nv-text-link{color:#1171b7;text-decoration:underline;font-weight:650}
.snt-nv-banner{position:fixed;left:0;right:0;z-index:999998;background:#eff7fc;box-shadow:0 0 14px #0002;border-top:4px solid #f07c0e;color:#17324a}
.snt-nv-banner-top{top:0}.snt-nv-banner-bottom{bottom:0}
.snt-nv-banner-inner{max-width:1250px;margin:0 auto;padding:15px 52px 15px 20px;display:flex;align-items:center;gap:20px;position:relative;flex-wrap:wrap}
.snt-nv-banner h2{font-size:1.1rem;margin:0}.snt-nv-banner p{margin:0;flex:1}.snt-nv-banner .snt-nv-button{white-space:nowrap}.snt-nv-banner .snt-nv-close{top:50%;transform:translateY(-50%)}
@media(max-width:650px){.snt-nv-overlay{padding:10px}.snt-nv-dialog{padding:25px 18px;max-height:calc(100dvh - 20px)}.snt-nv-image-text,.snt-nv-image-text.snt-nv-photo-portrait,.snt-nv-image-text.snt-nv-photo-wide{grid-template-columns:1fr}.snt-nv-image-text>.snt-nv-image,.snt-nv-image-text>.snt-nv-image-link{max-height:min(45dvh,420px);object-fit:contain}.snt-nv-item>.snt-nv-image,.snt-nv-item>.snt-nv-image-link,.snt-nv-item>.snt-nv-image-link .snt-nv-image{width:74px}.snt-nv-banner-inner{display:block;padding:14px 45px 14px 12px}.snt-nv-banner h2,.snt-nv-banner p{margin:0 0 8px}.snt-nv-banner .snt-nv-close{top:20px;transform:none}}
@media(prefers-reduced-motion:reduce){.snt-nv-dialog,.snt-nv-banner{scroll-behavior:auto}}

/* Narrow screens: preserve the entire picture and scroll the popup if required. */
@media(max-width:650px){.snt-nv-dialog.snt-nv-hero{width:100%}.snt-nv-hero .snt-nv-image{max-height:calc(100dvh - 210px)}}
@media(max-height:450px){.snt-nv-hero .snt-nv-image{max-height:55dvh}}


/* beta.5: image-led landscape layout. The picture stays uncropped and sets the
   dialog width; the text follows immediately, without reserved empty space. */
.snt-nv-overlay .snt-nv-dialog.snt-nv-hero {
  display:block; width:fit-content; max-width:calc(100vw - 24px);
  min-width:0; max-height:calc(100dvh - 24px); overflow-y:auto; overflow-x:hidden;
  padding:20px; margin:0; box-sizing:border-box;
}
.snt-nv-dialog.snt-nv-hero > .snt-nv-hero {
  display:flex; flex-direction:column; gap:0; width:100%; height:auto; min-height:0;
  margin:0; padding:0;
}
.snt-nv-dialog.snt-nv-hero .snt-nv-photo-frame {
  display:block; position:relative; flex:none; overflow:hidden; width:100%;
  height:auto; min-height:0; margin:0 0 12px; padding:0; line-height:0;
  border-radius:8px; background:transparent;
}
.snt-nv-dialog.snt-nv-hero .snt-nv-photo-frame > .snt-nv-image-link,
.snt-nv-dialog.snt-nv-hero .snt-nv-photo-frame > .snt-nv-image {
  display:block; position:absolute; top:0; left:0; margin:0; padding:0;
  max-width:none; max-height:none; border:0; line-height:0;
}
.snt-nv-dialog.snt-nv-hero .snt-nv-photo-frame .snt-nv-image {
  display:block; position:static; width:100%; height:100%; object-fit:contain;
  max-width:none; max-height:none; margin:0; padding:0; vertical-align:top; border-radius:0;
}
.snt-nv-dialog.snt-nv-hero .snt-nv-hero-copy {display:block;flex:none;margin:0;padding:0;height:auto;min-height:0;width:100%}
.snt-nv-dialog.snt-nv-hero .snt-nv-hero-copy h2 {margin-top:0}
@media(max-width:650px){.snt-nv-overlay .snt-nv-dialog.snt-nv-hero{padding:14px}}

/* beta.7: image-first hero. Image dimensions determine height, not the amount of text. */
.snt-nv-overlay .snt-nv-dialog.snt-nv-hero {
  display:block; width:min(1160px, calc(100vw - 24px)); max-width:calc(100vw - 24px);
  min-width:0; max-height:calc(100dvh - 24px); overflow-y:auto; overflow-x:hidden;
  padding:12px; margin:0; border-radius:14px;
}
.snt-nv-dialog.snt-nv-hero > .snt-nv-hero {display:block;width:100%;height:auto;min-height:0;margin:0;padding:0}
.snt-nv-dialog.snt-nv-hero .snt-nv-photo-frame {
  display:block;position:relative;overflow:visible;width:100%;height:auto!important;
  min-height:0;margin:0;padding:0;line-height:0;border-radius:8px;background:transparent;
}
.snt-nv-dialog.snt-nv-hero .snt-nv-photo-frame > .snt-nv-image-link,
.snt-nv-dialog.snt-nv-hero .snt-nv-photo-frame > .snt-nv-image {
  display:block;position:static;width:100%!important;height:auto!important;
  max-width:100%;max-height:none;left:auto!important;top:auto!important;margin:0;padding:0;
}
.snt-nv-dialog.snt-nv-hero .snt-nv-photo-frame .snt-nv-image {
  display:block;position:static;width:100%!important;height:auto!important;
  max-width:100%;max-height:none;object-fit:contain;vertical-align:top;
  margin:0;padding:0;border-radius:8px;
}
.snt-nv-dialog.snt-nv-hero .snt-nv-hero-copy {
  display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;
  column-gap:20px;row-gap:8px;width:100%;height:auto;margin:0;padding:12px 6px 2px;
}
.snt-nv-dialog.snt-nv-hero .snt-nv-hero-copy h2 {
  flex:1 1 350px;min-width:0;font-size:clamp(1rem,2vw,1.32rem);line-height:1.3;
  margin:0;color:#1171b7;
}
.snt-nv-dialog.snt-nv-hero .snt-nv-hero-copy p {
  flex:1 1 100%;font-size:.95rem;line-height:1.4;margin:0;order:2;
}
.snt-nv-dialog.snt-nv-hero .snt-nv-button {flex:0 0 auto;order:1;white-space:nowrap}
.snt-nv-dialog.snt-nv-hero .snt-nv-close {
  position:absolute;z-index:3;right:16px;top:16px;margin:0;
  background:#fff;color:#17324a;box-shadow:0 1px 7px #0005;border-radius:50%;
}
.snt-nv-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@media(max-width:650px){
  .snt-nv-overlay .snt-nv-dialog.snt-nv-hero{width:calc(100vw - 16px);max-width:calc(100vw - 16px);padding:7px;max-height:calc(100dvh - 16px)}
  .snt-nv-dialog.snt-nv-hero .snt-nv-hero-copy{display:block;padding:10px 6px 4px}
  .snt-nv-dialog.snt-nv-hero .snt-nv-hero-copy h2,.snt-nv-dialog.snt-nv-hero .snt-nv-hero-copy p{margin:0 0 9px}
  .snt-nv-dialog.snt-nv-hero .snt-nv-button{display:inline-block}
}

/* Adaptive video popup: the JS sets native aspect ratio and a size that fits the viewport.
   Override theme video/iframe rules so the full frame always remains visible. */
.snt-nv-overlay .snt-nv-dialog.snt-nv-video {
  width:var(--snt-nv-video-dialog-width,min(960px,calc(100vw - 40px)))!important;
  max-width:calc(100vw - 40px)!important;
  max-height:calc(100dvh - 40px)!important;
  box-sizing:border-box!important;
  padding:16px!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  margin:0!important;
}
.snt-nv-dialog.snt-nv-video .snt-nv-video-content {display:block;width:100%;max-width:100%;min-width:0}
.snt-nv-dialog.snt-nv-video .snt-nv-video-frame {
  position:relative;display:block;width:100%!important;height:auto!important;
  min-height:0!important;margin:0!important;padding:0!important;
  aspect-ratio:var(--snt-nv-video-ratio,16 / 9)!important;
  background:#101923;border-radius:9px;overflow:hidden;
}
.snt-nv-overlay .snt-nv-dialog.snt-nv-video .snt-nv-video-frame>video,
.snt-nv-overlay .snt-nv-dialog.snt-nv-video .snt-nv-video-frame>iframe {
  display:block!important;position:absolute!important;inset:0!important;
  width:100%!important;height:100%!important;max-width:100%!important;
  max-height:100%!important;min-width:0!important;min-height:0!important;
  padding:0!important;margin:0!important;border:0!important;
  aspect-ratio:auto!important;background:#101923;
  object-fit:contain!important;object-position:center center!important;
}
.snt-nv-video-remote .snt-nv-video-poster{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.snt-nv-video-remote .snt-nv-video-launch,
.snt-nv-video-frame .snt-nv-video-retry {
  position:absolute;inset:0;width:100%;height:100%;display:flex;
  align-items:center;justify-content:center;flex-direction:column;gap:12px;
  border:0;background:rgba(12,23,35,.48);color:#fff;cursor:pointer;
  font-size:1.1rem;font-weight:700;text-shadow:0 2px 5px #000;
}
.snt-nv-video-remote .snt-nv-video-launch[hidden],.snt-nv-video-frame .snt-nv-video-retry[hidden]{display:none!important}
.snt-nv-video-remote .snt-nv-video-launch:hover,.snt-nv-video-remote .snt-nv-video-launch:focus-visible,
.snt-nv-video-frame .snt-nv-video-retry:hover,.snt-nv-video-frame .snt-nv-video-retry:focus-visible {
 background:rgba(12,23,35,.65);outline:3px solid #068782;outline-offset:-3px;
}
.snt-nv-play-icon{display:grid;place-items:center;width:72px;height:72px;padding-left:5px;border-radius:50%;background:#068782;box-shadow:0 4px 18px #0007;font-size:1.9rem;text-shadow:none}
.snt-nv-video-copy{padding:17px 6px 3px}
.snt-nv-video-copy h2{margin:0 52px 9px 0}
.snt-nv-video-copy .snt-nv-description{margin:0 0 15px}
.snt-nv-dialog.snt-nv-video .snt-nv-close{z-index:4;right:11px;top:11px;background:#fff;border-radius:50%;box-shadow:0 1px 7px #0006}
.snt-nv-video-unavailable{padding:24px 12px;background:#eff3f6;border-radius:8px}
@media(max-width:650px){
  .snt-nv-overlay .snt-nv-dialog.snt-nv-video{max-width:calc(100vw - 20px)!important;padding:9px!important;max-height:calc(100dvh - 20px)!important}
  .snt-nv-video-copy{padding:14px 5px 4px}
  .snt-nv-play-icon{width:56px;height:56px;font-size:1.4rem}
}
