
.jpr-home-b-hero{background:#07111b;color:#fff;position:relative}
.jpr-home-b-map-wrap{position:relative;min-height:88vh;height:88vh;overflow:hidden;isolation:isolate;text-shadow:0 2px 16px rgba(0,0,0,.62)}
.jpr-home-b-map{position:absolute;inset:0;z-index:0;height:100%;width:100%;background:#0d1b2a}
.jpr-home-b-overlay{position:absolute;inset:0;z-index:2;background:#000;opacity:.25;pointer-events:none}
.jpr-home-b-map-head{position:absolute;top:0;left:0;right:0;z-index:5;padding:1.25rem 0 0}
.jpr-home-b-map-head .container-fluid{max-width:1480px}
.jpr-home-b-kicker{display:inline-block;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18);backdrop-filter:blur(8px);padding:.45rem .75rem;border-radius:999px;font-size:.75rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;margin-bottom:1rem}
.jpr-home-b-map-head h1{max-width:860px;font-size:clamp(2rem,4vw,4.25rem);line-height:1.03;font-weight:800;margin:0 0 1rem}
.jpr-home-b-lead{max-width:720px;font-size:clamp(1rem,1.5vw,1.25rem);line-height:1.6;color:rgba(255,255,255,.86);margin:0 0 1.25rem}
.jpr-home-b-actions{display:flex;flex-wrap:wrap;gap:.75rem}
.jpr-home-b-featured{position:absolute;left:0;right:0;bottom:1.25rem;z-index:6;padding:0 1rem}
.jpr-home-b-featured-card{max-width:460px;background:rgba(7,17,27,.78);border:1px solid rgba(255,255,255,.12);backdrop-filter:blur(10px);box-shadow:0 24px 50px rgba(0,0,0,.28);border-radius:1.5rem;padding:1.25rem 1.25rem 1rem;margin-left:auto}
.jpr-home-b-featured-label{font-size:.74rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#ffb3b3;margin-bottom:.5rem}
.jpr-home-b-featured-card h2{font-size:1.35rem;line-height:1.2;margin:0 0 .75rem}
.jpr-home-b-featured-card p{color:rgba(255,255,255,.78);margin:0 0 .75rem}
.jpr-home-b-featured-card a{color:#fff;text-decoration:none;font-weight:700}
.jpr-home-b-card{background:#0e1722;color:#fff;border-radius:1.5rem;overflow:hidden;box-shadow:0 18px 40px rgba(15,23,42,.12);height:100%}
.jpr-home-b-card--light{background:#fff;color:#111827;border:1px solid rgba(15,23,42,.08)}
.jpr-home-b-card-media{display:block;aspect-ratio:16/10;overflow:hidden;background:#e5e7eb}
.jpr-home-b-card-media img{width:100%;height:100%;object-fit:cover;display:block;border:#fcfcfc 1px solid}
.jpr-home-b-card-body{padding:1rem 1rem 1.15rem}
.jpr-home-b-card h3{font-size:1.2rem;line-height:1.25;margin:0 0 .65rem}
.jpr-home-b-card h3 a{color:inherit;text-decoration:none}
.jpr-home-b-card p{margin:0;color:inherit;opacity:.86}
.jpr-home-b-meta{font-size:.8rem;text-transform:uppercase;letter-spacing:.08em;font-weight:700;opacity:.65;margin-bottom:.55rem}
.jpr-home-b-polaroid{background:#fff;border-radius:14px;padding:8px 8px 26px;box-shadow:0 16px 30px rgba(0,0,0,.22);width:88px;transform:rotate(-3deg);border:1px solid rgba(17,24,39,.08)}
.jpr-home-b-polaroid img{display:block;width:100%;height:70px;object-fit:cover;border-radius:8px;background:#e5e7eb}
.jpr-home-b-polaroid span{display:block;margin-top:7px;font-size:10px;line-height:1.2;font-weight:700;color:#111827;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.jpr-home-b-polaroid--fallback{display:flex;align-items:center;justify-content:center;background:#fff3f3;color:#991b1b;font-size:11px;font-weight:800;height:70px;border-radius:8px;text-align:center;padding:4px}
.jpr-home-b-cluster{width:46px;height:46px;border-radius:50%;background:#b91c1c;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;box-shadow:0 12px 22px rgba(127,29,29,.35);border:3px solid rgba(255,255,255,.9)}
#jprHomeBModal .modal-content{border-radius:1.25rem;overflow:hidden}
#jprHomeBModal .modal-body img{width:100%;border-radius:1rem;margin-bottom:1rem;display:block}
@media (max-width: 991.98px){
  .jpr-home-b-map-wrap{min-height:78vh;height:auto;overflow:hidden}
  .jpr-home-b-map{position:absolute;inset:0;height:78vh;min-height:78vh}
  .jpr-home-b-map-head{position:relative;z-index:5;padding:1.25rem 0 1rem}
  .jpr-home-b-featured{position:relative;z-index:6;bottom:auto;padding:1rem}
  .jpr-home-b-featured-card{margin:0;max-width:none}
}

/* Landing B hero refinements: combined circle CTA + kidnapped-person album impact */
.jpr-home-b-microcopy{margin:.9rem 0 0;color:rgba(255,255,255,.74);font-weight:700;letter-spacing:.01em}
.jpr-home-b-featured-card--album{display:grid;grid-template-columns:132px minmax(0,1fr);gap:1rem;align-items:center;max-width:620px;padding:1.15rem}
.jpr-home-b-featured-content{min-width:0}
.jpr-home-b-featured-desc{color:rgba(255,255,255,.88)!important;font-weight:600}
.jpr-home-b-album-stack{position:relative;width:132px;height:142px;margin:.2rem 0 .35rem}
.jpr-home-b-album-photo{position:absolute;left:18px;top:10px;width:96px;background:#fff;color:#111827;border-radius:10px;padding:7px 7px 24px;box-shadow:0 20px 40px rgba(0,0,0,.35);border:1px solid rgba(17,24,39,.12)}
.jpr-home-b-album-photo img,.jpr-home-b-album-fallback{width:100%;height:78px;border-radius:7px;object-fit:cover;background:#f3f4f6;display:flex;align-items:center;justify-content:center;color:#991b1b;font-size:2rem;font-weight:900}
.jpr-home-b-album-photo span{display:block;margin-top:6px;font-size:10px;line-height:1.1;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.jpr-home-b-album-photo--1{z-index:4;transform:rotate(-5deg) translate(-7px,6px)}
.jpr-home-b-album-photo--2{z-index:3;transform:rotate(6deg) translate(12px,0)}
.jpr-home-b-album-photo--3{z-index:2;transform:rotate(-11deg) translate(-17px,-6px);opacity:.92}
.jpr-home-b-album-photo--4{z-index:1;transform:rotate(12deg) translate(22px,-9px);opacity:.84}

@media (max-width: 767.98px){
  .jpr-home-b-featured-card--album{display:block;max-width:none}
  .jpr-home-b-album-stack{margin:0 auto 1rem}
}


/* Keep Leaflet as the visual background of Landing B hero. */
.jpr-home-b-map .leaflet-pane,
.jpr-home-b-map .leaflet-top,
.jpr-home-b-map .leaflet-bottom{z-index:auto}
.jpr-home-b-map .leaflet-marker-pane{z-index:3}
.jpr-home-b-map .leaflet-popup-pane{z-index:4}


/* Hero title split: action first, brand second. */
.jpr-home-b-hero-title{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:.55rem;
}
.jpr-home-b-title-action{
  display:block;
}
.jpr-home-b-title-brand{
  display:inline-flex;
  align-items:center;
  width:max-content;
  max-width:100%;
  padding:.38rem .72rem .44rem;
  border-radius:999px;
  background:rgba(220,38,38,.92);
  color:#fff;
  border:1px solid rgba(255,255,255,.28);
  box-shadow:0 16px 34px rgba(127,29,29,.28);
  font-size:clamp(1rem,1.65vw,1.55rem);
  line-height:1.05;
  letter-spacing:.02em;
  text-transform:uppercase;
}
@media (max-width: 575.98px){
  .jpr-home-b-hero-title{gap:.45rem}
  .jpr-home-b-title-brand{
    font-size:.95rem;
    padding:.34rem .62rem .38rem;
    letter-spacing:.015em;
  }
}


/* Hero text readability with 25% map overlay. */
.jpr-home-b-map-head .container-fluid{
  position:relative;
}

/* À la une album: gentle auto-rolling polaroids. */
.jpr-home-b-album-stack{
  perspective:900px;
}
.jpr-home-b-album-photo{
  transform-origin:50% 85%;
  will-change:transform, opacity;
  animation-duration:10s;
  animation-timing-function:ease-in-out;
  animation-iteration-count:infinite;
}
.jpr-home-b-album-photo--1{
  animation-name:jprAlbumRoll1;
}
.jpr-home-b-album-photo--2{
  animation-name:jprAlbumRoll2;
  animation-delay:-2.5s;
}
.jpr-home-b-album-photo--3{
  animation-name:jprAlbumRoll3;
  animation-delay:-5s;
}
.jpr-home-b-album-photo--4{
  animation-name:jprAlbumRoll4;
  animation-delay:-7.5s;
}

@keyframes jprAlbumRoll1{
  0%,100%{z-index:4;transform:rotate(-5deg) translate(-7px,6px) scale(1);opacity:1}
  25%{z-index:3;transform:rotate(6deg) translate(12px,0) scale(.96);opacity:.92}
  50%{z-index:2;transform:rotate(12deg) translate(22px,-9px) scale(.92);opacity:.82}
  75%{z-index:5;transform:rotate(-8deg) translate(-14px,-4px) scale(1.04);opacity:1}
}
@keyframes jprAlbumRoll2{
  0%,100%{z-index:3;transform:rotate(6deg) translate(12px,0) scale(.96);opacity:.92}
  25%{z-index:2;transform:rotate(12deg) translate(22px,-9px) scale(.92);opacity:.82}
  50%{z-index:5;transform:rotate(-8deg) translate(-14px,-4px) scale(1.04);opacity:1}
  75%{z-index:4;transform:rotate(-5deg) translate(-7px,6px) scale(1);opacity:1}
}
@keyframes jprAlbumRoll3{
  0%,100%{z-index:2;transform:rotate(-11deg) translate(-17px,-6px) scale(.92);opacity:.86}
  25%{z-index:5;transform:rotate(-8deg) translate(-14px,-4px) scale(1.04);opacity:1}
  50%{z-index:4;transform:rotate(-5deg) translate(-7px,6px) scale(1);opacity:1}
  75%{z-index:3;transform:rotate(6deg) translate(12px,0) scale(.96);opacity:.92}
}
@keyframes jprAlbumRoll4{
  0%,100%{z-index:1;transform:rotate(12deg) translate(22px,-9px) scale(.9);opacity:.78}
  25%{z-index:4;transform:rotate(-5deg) translate(-7px,6px) scale(1);opacity:1}
  50%{z-index:3;transform:rotate(6deg) translate(12px,0) scale(.96);opacity:.92}
  75%{z-index:2;transform:rotate(-11deg) translate(-17px,-6px) scale(.92);opacity:.86}
}

.jpr-home-b-album-stack:hover .jpr-home-b-album-photo{
  animation-play-state:paused;
}

@media (prefers-reduced-motion: reduce){
  .jpr-home-b-album-photo{
    animation:none!important;
  }
}

/* Final hero map experience: proportional polaroid pins, clean internal image crop, one-by-one drop. */
.jpr-home-b-map .leaflet-control-zoom{
  border:0;
  box-shadow:0 12px 28px rgba(15,23,42,.16);
}
.jpr-home-b-map .leaflet-control-zoom a{
  color:#111827;
  border-color:rgba(15,23,42,.08);
}
.jpr-home-b-photo-marker{
  background:transparent!important;
  border:0!important;
}
.jpr-home-b-photo-pin{
  position:relative;
  width:64px;
  height:92px;
  transform-origin:50% 92%;
  filter:drop-shadow(0 14px 18px rgba(15,23,42,.24));
  will-change:transform, opacity;
}
.jpr-home-b-photo-pin--drop{
  animation:jprHeroPolaroidDrop .62s cubic-bezier(.18,1.35,.34,1) both;
}
.jpr-home-b-pin-head{
  position:absolute;
  left:50%;
  top:0;
  width:13px;
  height:13px;
  border-radius:999px;
  background:#dc1117;
  border:2px solid #fff;
  box-shadow:0 5px 12px rgba(127,29,29,.35);
  transform:translateX(-50%);
  z-index:4;
}
.jpr-home-b-pin-head::after{
  content:"";
  position:absolute;
  left:50%;
  top:10px;
  width:2px;
  height:17px;
  background:#dc1117;
  transform:translateX(-50%);
  box-shadow:0 2px 5px rgba(127,29,29,.25);
}
.jpr-home-b-photo-pin .jpr-home-b-polaroid{
  position:absolute;
  left:50%;
  top:22px;
  width:52px;
  height:58px;
  padding:4px 4px 10px;
  border-radius:3px;
  border:1px solid rgba(17,24,39,.12);
  background:#fff;
  box-shadow:0 8px 14px rgba(15,23,42,.2);
  transform:translateX(-50%) rotate(var(--jpr-rot, -2deg));
  overflow:hidden;
  box-sizing:border-box;
}
.jpr-home-b-photo-pin .jpr-home-b-polaroid img{
  display:block;
  width:100%;
  height:42px;
  max-width:none;
  object-fit:cover;
  object-position:center center;
  border-radius:1.5px;
  background:#e5e7eb;
  transform:translateZ(0);
  backface-visibility:hidden;
}
.jpr-home-b-photo-pin .jpr-home-b-polaroid span{
  display:none!important;
}
.jpr-home-b-photo-pin .jpr-home-b-polaroid--fallback{
  height:42px;
  min-height:42px;
  border-radius:1.5px;
  font-size:7px;
  line-height:1.05;
  padding:2px;
  overflow:hidden;
}
.jpr-home-b-ripple{
  position:absolute;
  left:50%;
  bottom:1px;
  width:42px;
  height:14px;
  border-radius:50%;
  transform:translateX(-50%);
  border:2px solid rgba(255,255,255,.9);
  background:radial-gradient(ellipse at center, rgba(255,255,255,.45) 0%, rgba(255,255,255,.16) 52%, rgba(255,255,255,0) 70%);
  box-shadow:0 0 0 5px rgba(255,255,255,.18), 0 8px 18px rgba(15,23,42,.16);
  opacity:.95;
  z-index:-1;
}
.jpr-home-b-photo-marker:hover .jpr-home-b-photo-pin{
  z-index:9999;
  filter:drop-shadow(0 18px 24px rgba(15,23,42,.34));
}
.jpr-home-b-photo-marker:hover .jpr-home-b-polaroid{
  transform:translateX(-50%) rotate(var(--jpr-rot, -2deg)) scale(1.16);
}
@keyframes jprHeroPolaroidDrop{
  0%{opacity:0;transform:translate3d(0,-120px,0) scale(.68) rotate(-8deg)}
  68%{opacity:1;transform:translate3d(0,8px,0) scale(1.04) rotate(2deg)}
  84%{transform:translate3d(0,-3px,0) scale(.98) rotate(-1deg)}
  100%{opacity:1;transform:translate3d(0,0,0) scale(1) rotate(0)}
}
@media (max-width:767.98px){
  .jpr-home-b-photo-pin{width:58px;height:86px}
  .jpr-home-b-photo-pin .jpr-home-b-polaroid{width:48px;height:54px}
  .jpr-home-b-photo-pin .jpr-home-b-polaroid img,
  .jpr-home-b-photo-pin .jpr-home-b-polaroid--fallback{height:38px}
}
@media (prefers-reduced-motion:reduce){
  .jpr-home-b-photo-pin--drop{animation:none;opacity:1}
}


/* Final hero readability pass: no text shadow, clean full-bleed gradient, dark secondary CTA. */
.jpr-home-b-map-wrap,
.jpr-home-b-map-wrap *{
  text-shadow:none!important;
}
.jpr-home-b-map-wrap{
  color:#111827;
}
.jpr-home-b-overlay{
  opacity:1!important;
  z-index:2;
  background:
    radial-gradient(circle at 50% 21%, rgba(255,255,255,.54) 0%, rgba(255,255,255,.32) 34%, rgba(255,255,255,.12) 62%, rgba(255,255,255,.04) 100%),
    linear-gradient(180deg, rgba(255,255,255,.62) 0%, rgba(255,255,255,.56) 30%, rgba(255,255,255,.12) 62%, rgba(255,255,255,.04) 100%)!important;
  pointer-events:none;
}
.jpr-home-b-map-head{
  color:#111827;
}
.jpr-home-b-map-head .container-fluid{
  position:relative;
  z-index:1;
}
.jpr-home-b-kicker{
  background:rgba(255,255,255,.78);
  border-color:rgba(17,24,39,.12);
  color:#991b1b;
  box-shadow:0 10px 24px rgba(15,23,42,.07);
}
.jpr-home-b-map-head h1,
.jpr-home-b-hero-title,
.jpr-home-b-title-action{
  color:#050505;
}
.jpr-home-b-title-brand{
  background:#dc2626;
  color:#fff;
  border-color:rgba(220,38,38,.20);
  box-shadow:none;
}
.jpr-home-b-lead{
  color:rgba(17,24,39,.78)!important;
}
.jpr-home-b-microcopy{
  color:rgba(17,24,39,.68)!important;
}
.jpr-home-b-actions .btn-danger{
  background:#dc0000;
  border-color:#dc0000;
  color:#fff;
  box-shadow:0 14px 28px rgba(220,0,0,.22);
}
.jpr-home-b-secondary-cta{
  background:#fff!important;
  color:#111827!important;
  border:1px solid rgba(17,24,39,.14)!important;
  box-shadow:0 14px 30px rgba(15,23,42,.10);
}
.jpr-home-b-secondary-cta:hover,
.jpr-home-b-secondary-cta:focus{
  background:#f8fafc!important;
  color:#050505!important;
  border-color:rgba(17,24,39,.22)!important;
}
.jpr-home-b-featured-card{
  color:#fff;
  text-shadow:none!important;
}
@media (max-width: 991.98px){
  .jpr-home-b-overlay{
    background:
      radial-gradient(circle at 50% 16%, rgba(255,255,255,.48) 0%, rgba(255,255,255,.30) 42%, rgba(255,255,255,.08) 72%, rgba(255,255,255,.02) 100%),
      linear-gradient(180deg, rgba(255,255,255,.44) 0%, rgba(255,255,255,.30) 42%, rgba(255,255,255,.02) 100%)!important;
  }
}


/* Bottom-left hero share control. */
.jpr-home-b-share{
  position:absolute;
  left:clamp(1rem,2.4vw,2rem);
  bottom:clamp(1rem,2.4vw,2rem);
  z-index:7;
  display:flex;
  align-items:center;
  gap:.55rem;
  text-shadow:none!important;
}
.jpr-home-b-share-toggle{
  display:inline-flex;
  align-items:center;
  gap:.45rem;
  min-height:42px;
  padding:.45rem .7rem .45rem .48rem;
  border-radius:999px;
  border:1px solid rgba(17,24,39,.14);
  background:rgba(255,255,255,.92);
  color:#111827;
  box-shadow:0 14px 30px rgba(15,23,42,.12);
  backdrop-filter:blur(10px);
  font-size:.82rem;
  font-weight:800;
  letter-spacing:.01em;
  line-height:1;
  cursor:pointer;
}
.jpr-home-b-share-toggle img,
.jpr-home-b-share-fallback{
  width:28px;
  height:28px;
  border-radius:50%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  background:#fff;
  border:1px solid rgba(17,24,39,.08);
  object-fit:cover;
}
.jpr-home-b-share-fallback{
  color:#dc2626;
  font-size:.58rem;
  font-weight:900;
}
.jpr-home-b-share-menu{
  display:flex;
  align-items:center;
  gap:.4rem;
  opacity:0;
  pointer-events:none;
  transform:translateX(-8px) scale(.96);
  transition:opacity .18s ease, transform .18s ease;
}
.jpr-home-b-share:hover .jpr-home-b-share-menu,
.jpr-home-b-share:focus-within .jpr-home-b-share-menu,
.jpr-home-b-share.is-open .jpr-home-b-share-menu{
  opacity:1;
  pointer-events:auto;
  transform:translateX(0) scale(1);
}
.jpr-home-b-share-menu a,
.jpr-home-b-share-menu button{
  width:34px;
  height:34px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(17,24,39,.13);
  background:#fff;
  color:#111827;
  box-shadow:0 10px 22px rgba(15,23,42,.10);
  text-decoration:none;
  font-size:.72rem;
  font-weight:900;
  line-height:1;
  cursor:pointer;
}
.jpr-home-b-share-menu a:hover,
.jpr-home-b-share-menu a:focus,
.jpr-home-b-share-menu button:hover,
.jpr-home-b-share-menu button:focus{
  background:#111827;
  color:#fff;
  outline:none;
}
.jpr-home-b-share-status{
  position:absolute;
  left:0;
  top:-30px;
  min-width:max-content;
  padding:.32rem .52rem;
  border-radius:999px;
  background:#111827;
  color:#fff;
  font-size:.72rem;
  font-weight:800;
  opacity:0;
  transform:translateY(4px);
  pointer-events:none;
  transition:opacity .16s ease, transform .16s ease;
}
.jpr-home-b-share-status.is-visible{
  opacity:1;
  transform:translateY(0);
}
@media (max-width:991.98px){
  .jpr-home-b-share{
    position:relative;
    left:auto;
    bottom:auto;
    z-index:7;
    margin:1rem 0 0;
    padding-left:1rem;
  }
  .jpr-home-b-share-menu{
    opacity:1;
    pointer-events:auto;
    transform:none;
  }
}
