/* Jamrock single shared quote modal. */
.jr-quote-overlay[hidden] {display:none!important}
.jr-quote-overlay {
  position:fixed;inset:0;z-index:2147483000;
  display:flex;align-items:center;justify-content:center;
  padding:clamp(8px,2vw,24px);
  background:rgba(0,0,0,.78);
  -webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px)
}
.jr-quote-dialog {
  position:relative;width:min(640px,100%);height:min(88dvh,900px);
  overflow:hidden;border:1px solid rgba(242,140,40,.55);border-radius:18px;
  background:#062c1e;box-shadow:0 24px 85px rgba(0,0,0,.5)
}
.jr-quote-close {
  position:absolute;z-index:2;top:9px;right:10px;width:42px;height:42px;
  display:grid;place-items:center;border:1px solid rgba(255,255,255,.55);
  border-radius:50%;background:rgba(3,42,26,.96);color:#fff;
  font:700 26px/1 Arial,sans-serif;cursor:pointer
}
.jr-quote-close:hover,.jr-quote-close:focus-visible{background:#b55a0b;outline:2px solid #fff;outline-offset:2px}
.jr-quote-frame {display:block;width:100%;height:100%;border:0;background:#062c1e}
body.jr-quote-locked{overflow:hidden!important}
@media(max-width:600px){
  .jr-quote-overlay{padding:0;align-items:stretch}
  .jr-quote-dialog{
    width:100%;height:100dvh;max-height:none;border:0;border-radius:0;
    padding-top:env(safe-area-inset-top)
  }
  .jr-quote-close{top:calc(8px + env(safe-area-inset-top));right:10px}
  .jr-quote-frame{height:calc(100% - env(safe-area-inset-top))}
}
/* In the main homepage, the quiz is modal-only, not an extra scroll section. */
html:not(.jr-quote-embed) #jamrock-pro .fp-hero-quiz{display:none!important}
html:not(.jr-quote-embed) #jamrock-pro .fp-hero-content{grid-template-columns:minmax(0,1fr)!important}
/* The same full quiz powers the popup on every route. */
html.jr-quote-embed,html.jr-quote-embed body{background:#062c1e!important}
html.jr-quote-embed body{margin:0!important;padding:0!important;overflow-y:auto!important}
html.jr-quote-embed #jamrock-pro{background:#062c1e!important;overflow:visible!important}
html.jr-quote-embed #jamrock-pro > :not(.fp-hero){display:none!important}
html.jr-quote-embed #jamrock-pro .fp-hero{
  display:block!important;min-height:0!important;height:auto!important;
  padding:0!important;margin:0!important;overflow:visible!important;background:#062c1e!important
}
html.jr-quote-embed #jamrock-pro .fp-hero-photo,
html.jr-quote-embed #jamrock-pro .fp-hero-shade,
html.jr-quote-embed #jamrock-pro .fp-hero-left{display:none!important}
html.jr-quote-embed #jamrock-pro .fp-hero-content{
  display:block!important;width:100%!important;min-height:0!important;
  margin:0!important;padding:0!important;gap:0!important
}
html.jr-quote-embed #jamrock-pro .fp-hero-quiz{
  display:block!important;position:relative!important;width:100%!important;
  max-width:none!important;margin:0!important;padding:48px 12px 20px!important;
  background:#062c1e!important;border:0!important;border-radius:0!important;
  box-shadow:none!important;backdrop-filter:none!important
}
html.jr-quote-embed #jamrock-pro .fp-hero-quiz .fp-quiz-shell{
  max-width:none!important;width:100%!important
}
@media(max-width:600px){
  html.jr-quote-embed #jamrock-pro .fp-hero-quiz{padding:55px 8px 25px!important}
}
