@font-face{font-family:SaiemMapJost;src:url('../carte/Jost-VariableFont_wght.ttf') format('truetype');font-weight:100 900;font-display:swap}
body.saiem-project-view .saiem-map{--map-navy:#1d335b;--map-red:#e54642;--map-cream:#f8e5c4;font-family:SaiemMapJost,Jost,sans-serif;font-weight:400;font-style:normal;letter-spacing:normal;text-transform:none;color:var(--map-navy);width:100%;min-width:0;isolation:isolate}
body.saiem-project-view .saiem-map *{box-sizing:border-box}
/* Keep the supplied Jost typography when WordPress/Elementor styles target text directly. */
body.saiem-project-view .saiem-map :is(h2,h3,p,button,a,span,summary,li){font-family:SaiemMapJost,Jost,sans-serif!important;font-style:normal!important}
body.saiem-project-view .saiem-map :is(h2,h3,p,button,a,summary,li){text-transform:none!important;letter-spacing:normal!important}
body.saiem-project-view .saiem-map button,body.saiem-project-view .saiem-map a{font:inherit}
body.saiem-project-view .saiem-map button{cursor:pointer}
body.saiem-project-view .saiem-map button:focus-visible,body.saiem-project-view .saiem-map a:focus-visible,body.saiem-project-view .saiem-map summary:focus-visible{outline:3px solid var(--map-red);outline-offset:5px}
body.saiem-project-view .saiem-map__intro{margin-bottom:32px}
body.saiem-project-view .saiem-map .saiem-map__intro h2{color:var(--map-navy);font:800 clamp(28px,3.1vw,44px)/1.15 SaiemMapJost,sans-serif!important;margin:0 0 14px}
body.saiem-project-view .saiem-map .saiem-map__intro p{color:var(--map-navy)!important;font-size:clamp(19px,2.1vw,28px);margin:0}
body.saiem-project-view .saiem-map__intro:after{content:'';display:block;width:min(100%,420px);height:4px;background:var(--map-red);margin-top:26px}
body.saiem-project-view .saiem-map__filters{display:flex;flex-wrap:wrap;gap:18px;margin-bottom:26px}
body.saiem-project-view .saiem-map__filters button{display:flex;align-items:center;justify-content:center;gap:14px;border:2px solid var(--map-navy);border-radius:99px;padding:10px 26px;min-height:50px;background:transparent;color:var(--map-navy);font-weight:700;font-size:20px;transition:background .25s cubic-bezier(.22,1,.36,1),color .25s cubic-bezier(.22,1,.36,1),border-color .25s cubic-bezier(.22,1,.36,1)}
body.saiem-project-view .saiem-map__filters button:hover{background:#f8e5c440}
body.saiem-project-view .saiem-map__filters button[aria-pressed=true]{background:var(--map-red);border-color:var(--map-red);color:white}
body.saiem-project-view .saiem-map__filters img{width:26px;height:26px}
body.saiem-project-view .saiem-map__filters button[aria-pressed=true] img{filter:brightness(0) invert(1)}
body.saiem-project-view .saiem-map__shell{position:relative;border-radius:26px;border:1px solid #f8e5c4;box-shadow:0 8px 30px #1d335b18;overflow:hidden;background:#fff8f0;container-type:inline-size}
body.saiem-project-view .saiem-map__canvas{height:var(--saiem-map-height,620px);width:100%;min-height:320px}
body.saiem-project-view .saiem-map .maplibregl-canvas:focus-visible{outline:3px solid var(--map-red);outline-offset:-3px}
body.saiem-project-view .saiem-map .maplibregl-ctrl{font-family:SaiemMapJost,sans-serif}
body.saiem-project-view .saiem-map .maplibregl-ctrl-group{overflow:hidden;border:1px solid #1d335b33;border-radius:12px;background:#fff8f0;box-shadow:0 3px 12px #1d335b20}
body.saiem-project-view .saiem-map .maplibregl-ctrl-group button{width:44px;height:44px}
body.saiem-project-view .saiem-map .maplibregl-ctrl-attrib{background:#fff8f0ed;color:var(--map-navy)}
body.saiem-project-view .saiem-map .maplibregl-ctrl-attrib a{color:var(--map-navy)}
body.saiem-project-view .saiem-map__marker{z-index:0;border:0;padding:0;background:none;width:54px;height:72px}
body.saiem-project-view .saiem-map__marker[aria-pressed=true]{z-index:2}
body.saiem-project-view .saiem-map__marker[hidden]{display:none!important}
body.saiem-project-view .saiem-map__pin{display:block;position:relative;width:100%;height:100%;will-change:transform,opacity}
body.saiem-project-view .saiem-map__pin>img:first-child{display:block;width:100%;height:100%}
body.saiem-project-view .saiem-map__pin-icon{position:absolute;left:27%;top:23%;width:46%;height:32%;filter:brightness(0) saturate(100%) invert(92%) sepia(16%) saturate(399%) hue-rotate(344deg) brightness(103%) contrast(95%)}
body.saiem-project-view .saiem-map__connector{position:absolute;z-index:1;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible}
body.saiem-project-view .saiem-map__connector path{stroke:var(--map-red);stroke-width:7;fill:none;stroke-linecap:round}
body.saiem-project-view .saiem-map .saiem-map__card{position:absolute;z-index:3;right:5%;top:50%;translate:0 -50%;display:flex;flex-direction:column;width:min(38%,410px);height:auto;aspect-ratio:1;max-height:calc(var(--saiem-map-height,620px) - 32px);overflow:hidden;border-radius:16px;background:#f8efdf;border:2px solid #FBC96D!important;box-shadow:0 14px 36px #1d335b2b}
body.saiem-project-view .saiem-map__media{position:relative;flex:none;height:min(190px,48%);overflow:hidden}
body.saiem-project-view .saiem-map__media>img{width:100%;height:100%;object-fit:cover;display:block}
body.saiem-project-view .saiem-map__placeholder{height:100%;display:grid;place-items:center;background:#f8e5c4}
body.saiem-project-view .saiem-map__placeholder img{width:64px;height:64px}
body.saiem-project-view .saiem-map__badge{position:absolute;top:22px;left:20px;max-width:calc(100% - 78px);background:var(--map-red);color:white;border-radius:12px;padding:9px 13px;text-transform:uppercase;font-size:14px;letter-spacing:2px;font-weight:600}
body.saiem-project-view .saiem-map .saiem-map__close{position:absolute;right:10px;top:10px;z-index:1;display:grid;place-items:center;width:38px;height:38px;padding:0;border:1px solid var(--map-navy);border-radius:50%;background:#fff8f0;color:var(--map-navy);line-height:1;box-shadow:0 2px 8px #1d335b24}
body.saiem-project-view .saiem-map .saiem-map__close:focus-visible{outline:2px solid var(--map-navy);outline-offset:2px}
body.saiem-project-view .saiem-map__close svg{display:block;width:18px;height:18px;flex:none}
body.saiem-project-view .saiem-map__card-body{display:flex;flex:1;min-height:0;flex-direction:column;padding:16px 18px 18px;font-size:16px;overflow:hidden}
body.saiem-project-view .saiem-map .saiem-map__card h3{font:700 clamp(20px,1.6vw,24px)/1.2 SaiemMapJost,sans-serif!important;margin:10px 0 8px;color:var(--map-navy);display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere}
body.saiem-project-view .saiem-map__card p{flex:none;min-height:0;margin:0;line-height:1.5;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden;overflow-wrap:anywhere;text-overflow:ellipsis}
body.saiem-project-view .saiem-map .saiem-map__card a.saiem-map__discover{display:flex;flex:none;align-items:center;justify-content:flex-end;gap:10px;color:var(--map-red)!important;font-weight:600;margin-top:auto;padding-top:14px;text-decoration:underline!important;text-decoration-color:currentColor!important;text-underline-offset:4px}
body.saiem-project-view .saiem-map__message{position:absolute;z-index:4;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:16px;padding:30px;background:#fff8f0f5;font-size:20px}
body.saiem-project-view .saiem-map__message button{border:2px solid var(--map-navy);border-radius:99px;padding:10px 24px;color:var(--map-navy);background:var(--map-cream)}
body.saiem-project-view .saiem-map__spinner{width:30px;height:30px;border:3px solid var(--map-cream);border-top-color:var(--map-red);border-radius:50%;animation:saiem-map-breathe 1.1s cubic-bezier(.22,1,.36,1) infinite alternate}
body.saiem-project-view .saiem-map__list{margin:18px 0 0;padding:0;list-style:none;font-size:17px}
body.saiem-project-view .saiem-map__list li{display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid #1d335b22;padding:10px 0}
body.saiem-project-view .saiem-map__list a{color:var(--map-navy);text-decoration:underline}
body.saiem-project-view .saiem-location-editor__coordinates{display:flex;gap:16px;flex-wrap:wrap}
body.saiem-project-view .saiem-location-editor label{display:block;flex:1;min-width:150px}
body.saiem-project-view .saiem-location-editor li{margin-bottom:8px}
body.saiem-project-view .saiem-location-editor li button{white-space:normal;text-align:left}
@container(max-width:700px){body.saiem-project-view .saiem-map .saiem-map__card{width:min(90%,410px)}body.saiem-project-view .saiem-map__connector{display:none}body.saiem-project-view .saiem-map__canvas{height:min(var(--saiem-map-height),440px)}body.saiem-project-view .saiem-map__media{height:190px}}
@media(max-width:700px){body.saiem-project-view .saiem-map__filters{gap:8px}body.saiem-project-view .saiem-map__filters button{padding:8px 14px;font-size:16px;gap:7px}body.saiem-project-view .saiem-map__filters img{width:22px;height:22px}body.saiem-project-view .saiem-map__shell{border-radius:18px}}
@keyframes saiem-map-breathe{from{opacity:.45;transform:scale(.9)}to{opacity:1;transform:scale(1.05)}}

body.saiem-project-view .saiem-map__modal{position:fixed;inset:0;margin:auto;padding:0;width:calc(100% - 24px);max-width:440px;max-height:calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom));border:2px solid #FBC96D!important;border-radius:16px;background:#f8efdf;overflow:hidden;isolation:auto}
body.saiem-project-view .saiem-map__modal::backdrop{background:#1d335b99}
body.saiem-project-view .saiem-map__modal .saiem-map__card{aspect-ratio:auto;position:relative;inset:auto;translate:none;width:100%;height:auto;max-height:calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom));border:0!important;border-radius:14px;box-shadow:none}
body.saiem-project-view .saiem-map__modal .saiem-map__media{height:clamp(140px,25dvh,210px)}
body.saiem-project-view .saiem-map__modal .saiem-map__card-body{overflow-y:auto;overscroll-behavior:contain;padding:20px;font-size:17px}
body.saiem-project-view .saiem-map__modal .saiem-map__card :is(h3,p){display:block;-webkit-line-clamp:unset;overflow:visible;flex:none}
body.saiem-project-view .saiem-map__modal .saiem-map__close{width:44px;height:44px}
body.saiem-project-view .saiem-map__modal .saiem-map__discover{min-height:44px}

body.saiem-project-view .saiem-map .maplibregl-ctrl-attrib{font-size:14px;line-height:1.4}

body.saiem-project-view img[draggable="false"] {
	-webkit-user-select: none;
	user-select: none;
	-webkit-user-drag: none;
}

body.saiem-project-view .saiem-map__card-body > span,body.saiem-project-view .saiem-map .saiem-map__card h3{flex:none}

/* Hide gesture hints while preserving cooperative map navigation. */
body.saiem-project-view .saiem-map .maplibregl-cooperative-gesture-screen { display: none !important; }
