/* Editorial homepage artist selection; inner artist listing keeps its design. */
#atelier-main .atelier-home-artists-section{position:relative;padding-top:55px!important;padding-bottom:65px!important;border-top:1px solid #d9d7d1!important;border-bottom:1px solid #d9d7d1!important}
#atelier-main .atelier-home-artists-section>.wp-block-columns{margin-bottom:35px!important}
#atelier-main .atelier-home-artists-section h2{font-family:'EB Garamond',Georgia,serif!important;font-weight:400!important;font-size:clamp(36px,3.8vw,60px)!important;line-height:1.1!important;letter-spacing:-.03em!important;text-transform:none!important;color:#24241f!important}
#atelier-main .atelier-home-artists-section h2::before{content:'Regards singuliers';display:block;font:14px/1.5 Jost,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:#777;margin-bottom:14px}
html[lang^=en] #atelier-main .atelier-home-artists-section h2::before{content:'Individual perspectives'}
#atelier-main .atelier-home-artists-carousel{position:static!important;padding-bottom:0!important}
#atelier-main .atelier-home-artists-track{gap:28px!important}
#atelier-main .atelier-home-artist{cursor:pointer}
#atelier-main .atelier-home-artist figure{height:clamp(280px,31vw,480px)!important;overflow:hidden!important;background:var(--ehr-surface,#eff4f4)!important}
#atelier-main .atelier-home-artist figure img{height:100%!important;width:100%!important;object-fit:cover!important;transition:transform .7s!important}
#atelier-main .atelier-home-artist:hover img{transform:scale(1.025)}
#atelier-main .atelier-home-artist h3{font-family:Sackers,Jost,sans-serif!important;font-size:19px!important;line-height:1.4!important;letter-spacing:-.02em!important;margin:20px 0 0!important}
#atelier-main .atelier-home-artists-controls{position:absolute!important;top:80px!important;right:0!important;left:auto!important;bottom:auto!important;display:flex!important;gap:16px!important;margin:0!important;padding:0!important}
#atelier-main .atelier-home-artists-controls button{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;border:1px solid #d9d7d1!important;border-radius:50%!important;background:#fff!important;color:#24241f!important;font:22px Jost,sans-serif!important;padding:0!important}
#atelier-main .atelier-home-artists-controls button:hover{background:var(--ehr-surface,#eff4f4)!important}
#atelier-main .atelier-home-artists-controls [data-artists-pause]{position:absolute!important;top:52px!important;right:0!important;width:auto!important;height:auto!important;min-height:24px!important;min-width:40px!important;font-size:11px!important;border:0!important;border-radius:0!important}
.ehr-artist-dialog{width:min(1280px,94vw);max-width:94vw;max-height:92dvh;padding:0;border:0;background:#fff;color:#24241f;overflow:auto;box-shadow:0 20px 100px #0003}
.ehr-artist-dialog::backdrop{background:#24241f88;backdrop-filter:blur(4px)}
.ehr-artist-dialog:not([open]){display:none}
.ehr-artist-close{position:sticky;top:12px;float:right;right:16px;margin:12px 16px -56px 0;z-index:3;width:44px;height:44px;border:1px solid #d9d7d1;border-radius:50%;background:#fff;color:#24241f;font:30px Jost,sans-serif;cursor:pointer}
.ehr-artist-modal-grid{display:grid;grid-template-columns:1.2fr 1fr;min-height:650px}
.ehr-artist-gallery{background:var(--ehr-surface,#eff4f4);display:flex;flex-direction:column;min-width:0;padding:30px}
.ehr-artist-full{display:block;width:100%;height:clamp(350px,55vh,650px);object-fit:contain}
.ehr-artist-gallery-nav{display:flex;align-items:center;gap:15px;margin-top:auto;padding-top:24px}
.ehr-artist-gallery-nav>button{border:0;background:none;min-width:40px;min-height:44px;font:25px Jost,sans-serif;cursor:pointer}
.ehr-artist-thumbnails{display:flex;flex:1;justify-content:center;gap:10px;overflow:auto;padding:4px}
.ehr-artist-thumbnails button{padding:3px;border:1px solid transparent;background:none;cursor:pointer;flex:0 0 62px}
.ehr-artist-thumbnails button[aria-current=true]{border-color:#24241f}
.ehr-artist-thumbnails img{display:block;width:54px;height:54px;object-fit:cover}
.ehr-artist-description{padding:90px 50px 55px;align-self:center}
.ehr-artist-label{font:13px/1.5 Jost,sans-serif;letter-spacing:.12em;text-transform:uppercase;margin:0 0 22px;color:#777}
#ehr-artist-name{font-family:Sackers,Jost,sans-serif;font-size:clamp(25px,3vw,42px);line-height:1.3;letter-spacing:-.04em;font-weight:400;margin:0 0 30px;color:#24241f}
.ehr-artist-biography{font-family:'EB Garamond',Georgia,serif;font-size:24px;line-height:1.45}
.ehr-artist-biography p{margin:0 0 20px}
.ehr-artist-dialog button:focus-visible,#atelier-main .atelier-home-artist:focus-visible{outline:2px solid #24241f;outline-offset:4px}
@media(max-width:781px){#atelier-main .atelier-home-artists-section{padding-top:40px!important;padding-bottom:40px!important}#atelier-main .atelier-home-artists-section h2{font-size:36px!important;max-width:calc(100% - 85px)}#atelier-main .atelier-home-artists-section h2:before{font-size:12px}#atelier-main .atelier-home-artists-controls{top:75px!important;gap:8px!important}#atelier-main .atelier-home-artists-controls button{width:36px!important;min-width:36px!important;height:36px!important;min-height:36px!important}#atelier-main .atelier-home-artists-controls [data-artists-pause]{top:43px!important;min-height:24px!important;height:24px!important}#atelier-main .atelier-home-artists-track{gap:18px!important}#atelier-main .atelier-home-artist figure{height:365px!important}.ehr-artist-dialog{max-height:94dvh;width:94vw}.ehr-artist-modal-grid{grid-template-columns:1fr;min-height:0}.ehr-artist-gallery{padding:45px 20px 20px}.ehr-artist-full{height:45vh}.ehr-artist-description{padding:36px 26px}.ehr-artist-biography{font-size:22px}.ehr-artist-thumbnails{justify-content:flex-start}}
@media(prefers-reduced-motion:reduce){#atelier-main .atelier-home-artist img{transition:none!important}}
/* These source photos contain white paper margins; crop only the homepage thumbnails. */
#atelier-main .atelier-home-artist figure img[src*="william-ruller-1"],#atelier-main .atelier-home-artist figure img[src*="isabelle-bonhomme-1"]{transform:scale(1.1)!important}
#atelier-main .atelier-home-artist:hover figure img[src*="william-ruller-1"],#atelier-main .atelier-home-artist:hover figure img[src*="isabelle-bonhomme-1"]{transform:scale(1.125)!important}
#atelier-main .atelier-home-artist figure{position:relative!important;width:100%!important;height:auto!important;aspect-ratio:1/1!important;margin:0!important;padding:0!important}
#atelier-main .atelier-home-artist figure img{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;object-fit:cover!important}
body.home #atelier-main .atelier-home-artists-section{max-width:1480px!important;width:100%!important}
body.home #atelier-main .atelier-home-artists-section>.wp-block-columns,body.home #atelier-main .atelier-home-artists-section>.atelier-home-artists-carousel,body.home #atelier-main .atelier-home-artists-section>.wp-block-buttons{max-width:none!important;width:100%!important;margin-left:0!important;margin-right:0!important}
body.home #atelier-main .atelier-home-artists-track{width:100%!important;max-width:none!important}
.ehr-artist-close{display:grid!important;place-items:center!important;padding:0!important;font-size:0!important;line-height:1!important;box-sizing:border-box!important}
.ehr-artist-close::before,.ehr-artist-close::after{content:'';position:absolute;left:50%;top:50%;width:17px;height:1px;background:currentColor;transform:translate(-50%,-50%) rotate(45deg)}
.ehr-artist-close::after{transform:translate(-50%,-50%) rotate(-45deg)}
#atelier-main .atelier-home-artists-section h2::before{display:none!important;content:none!important}
#atelier-main .atelier-home-artists-controls{top:55px!important}
@media(max-width:781px){#atelier-main .atelier-home-artists-controls{top:40px!important}}
#atelier-main .atelier-home-artists-section h2::before{display:block!important;content:'Notre sélection'!important}
html[lang^=en] #atelier-main .atelier-home-artists-section h2::before{content:'Our selection'!important}
#atelier-main .atelier-home-artists-controls{top:80px!important}
@media(max-width:781px){#atelier-main .atelier-home-artists-controls{top:75px!important}}
#atelier-main .atelier-home-artists-controls [data-artists-pause]{display:none!important}
:is(.artist-profile,.exhibition-card) .atelier-slide>img[data-expand-ready]{cursor:zoom-in}
:is(.artist-profile,.exhibition-card) .atelier-slide>img[data-expand-ready]:focus-visible{outline:2px solid #24241f;outline-offset:-4px}
.ehr-expanded-gallery-name[hidden]{display:none!important}
.ehr-artist-dialog.ehr-artist-dialog--gallery{width:min(1480px,96vw)!important;max-width:96vw!important;height:94dvh!important;max-height:94dvh!important;overflow:hidden!important}
.ehr-artist-dialog--gallery .ehr-artist-modal-grid{display:block!important;min-height:0!important;height:100%!important}
.ehr-artist-dialog--gallery .ehr-artist-description{display:none!important}
.ehr-artist-dialog--gallery .ehr-artist-gallery{position:relative!important;height:100%!important;box-sizing:border-box!important;padding:18px!important}
.ehr-artist-dialog--gallery .ehr-artist-full{height:100%!important;width:100%!important;max-height:none!important;object-fit:contain!important}
.ehr-artist-dialog--gallery .ehr-expanded-gallery-name{position:absolute;left:24px;top:18px;z-index:1;margin:0 64px 0 0;padding:6px 10px;background:#ffffffeb;font:400 24px/1.2 'EB Garamond',Georgia,serif;letter-spacing:0;color:#24241f}
.ehr-artist-dialog--gallery .ehr-artist-gallery-nav{position:absolute!important;left:24px!important;right:24px!important;bottom:14px!important;margin:0!important;padding:6px!important;background:#ffffffeb}
.ehr-artist-dialog--gallery .ehr-artist-close{z-index:4}
@media(max-width:781px){.ehr-artist-dialog--gallery .ehr-artist-gallery{padding:12px!important}.ehr-artist-dialog--gallery .ehr-expanded-gallery-name{font-size:22px;left:16px;top:16px}.ehr-artist-dialog--gallery .ehr-artist-gallery-nav{left:12px!important;right:12px!important;bottom:12px!important;gap:8px!important}}
.ehr-artist-dialog--gallery .ehr-expanded-gallery-name{left:0!important;margin-left:0!important;padding-left:28px!important;background:#fff!important}
@media(max-width:781px){.ehr-artist-dialog--gallery .ehr-expanded-gallery-name{left:0!important;padding-left:20px!important}}

/* Shared artwork-and-description overlay: two thirds imagery, one third copy. */
.ehr-artist-dialog.ehr-artist-dialog--details{width:min(1480px,96vw);max-width:96vw;height:94dvh;max-height:94dvh;overflow:hidden}
.ehr-artist-dialog--details .ehr-artist-modal-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);height:100%;min-height:0}
.ehr-artist-dialog--details .ehr-artist-gallery{display:grid;grid-template-rows:minmax(0,1fr) auto;min-height:0;padding:24px;box-sizing:border-box}
.ehr-artist-dialog--details .ehr-artist-full{width:100%;height:100%;min-height:0;max-height:none;object-fit:contain}
.ehr-artist-dialog--details .ehr-artist-gallery-nav{min-width:0;margin:0;padding-top:16px}
.ehr-artist-dialog--details .ehr-artist-description{align-self:stretch;min-width:0;overflow-y:auto;overscroll-behavior:contain;padding:76px 32px 32px;box-sizing:border-box}
.ehr-artist-dialog--details #ehr-artist-name{overflow-wrap:anywhere;font-size:28px}
.ehr-artist-dialog--details .ehr-artist-close{position:absolute;top:16px;right:16px;margin:0;float:none}
@media(max-width:781px){
 .ehr-artist-dialog.ehr-artist-dialog--details{height:auto;overflow:auto}
 .ehr-artist-dialog--details .ehr-artist-modal-grid{grid-template-columns:minmax(0,1fr);height:auto}
 .ehr-artist-dialog--details .ehr-artist-gallery{height:60dvh;min-height:320px;padding:60px 16px 16px}
 .ehr-artist-dialog--details .ehr-artist-description{overflow:visible;padding:28px 24px 32px}
 .ehr-artist-dialog--details #ehr-artist-name{font-size:24px}
 .ehr-artist-dialog--details .ehr-artist-close{position:sticky;top:12px;right:16px;float:right;margin:12px 16px -56px 0}
}

.ehr-artist-dialog--details .ehr-artist-biography .am-inline-logo{display:inline-block;vertical-align:baseline;line-height:1}
.ehr-artist-dialog--details .ehr-artist-biography .am-inline-logo img{display:inline-block;width:4.2em;height:1em;max-width:100%;object-fit:contain;vertical-align:-.08em}
