body.page-form_message::after{display:none!important}body.page-form_message form.amup-form{background:rgba(255,255,255,.92)}
.am-gallery-item a.amup-artwork-link{display:block;border-radius:4px}.amup-artwork-link:focus-visible{outline:4px solid #155c9b;outline-offset:4px}
@media(max-width:600px){body.page-form_message form.amup-form{padding:20px 16px;width:94%;max-width:94%}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}.pulse-btn{animation:none!important}}

/* Keep the original gallery selector, but give each destination a usable touch target. */
body.home .am-dropdown[data-amup="galeries"]{max-width:920px!important}
body.home .am-dropdown[data-amup="galeries"].open .am-dropdown-list{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(190px,1fr))!important;gap:10px!important;max-height:65vh!important;padding:8px!important;list-style:none!important}
body.home .am-dropdown[data-amup="galeries"] .am-dropdown-list li{padding:0!important;margin:0!important}
body.home .am-dropdown[data-amup="galeries"] .am-dropdown-list a{display:flex!important;align-items:center!important;justify-content:center!important;min-height:56px!important;padding:12px!important;border:1px solid #728477!important;border-radius:8px!important;background:#f7faf6!important;color:#183526!important;text-decoration:none!important;line-height:1.35!important}
body.home .am-dropdown[data-amup="galeries"] .am-dropdown-list a:hover{background:#e3efdf!important}
body.home .am-dropdown[data-amup="galeries"] .am-dropdown-list a:focus-visible{outline:3px solid #155c9b!important;outline-offset:2px!important}
.am-gallery-item .amup-artwork-link{max-width:100%!important}
.am-gallery-item .amup-artwork-link img{max-width:100%!important}
.amup-slider-pause{display:block!important;margin:10px auto!important;padding:10px 16px!important;min-height:44px!important;border:1px solid #728477!important;border-radius:6px!important;background:#f7faf6!important;color:#183526!important;cursor:pointer!important}
@media(max-width:480px){body.home .am-dropdown[data-amup="galeries"].open .am-dropdown-list{grid-template-columns:1fr 1fr!important;gap:8px!important}body.home .am-dropdown[data-amup="galeries"] .am-dropdown-list a{font-size:14px!important;padding:10px 6px!important}}

/* OceanWP keeps padding and a white border around an empty top bar. */
#top-bar-wrap{border-bottom:0!important}


/* Mobile and tablet layout: keep content readable without hiding gallery scrolling. */
@media(max-width:1024px){
  .amup-coeurs-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:24px!important;padding:0 20px!important}
  .amup-coeur-card{min-width:0;max-width:100%}
  .amup-actualites a,.coeur-content a{overflow-wrap:anywhere}
}
@media(max-width:600px){
  body .am-hero-wrap,body.home .am-hero-wrap{display:grid!important;grid-template-columns:minmax(0,1fr) 64px minmax(0,1fr)!important;align-items:center!important;gap:10px!important;margin:28px 0 24px!important;padding:0 16px!important}
  body .am-hero-wrap .am-hero-text,body.home .am-hero-wrap .am-hero-text{font-size:clamp(16px,4.4vw,23px)!important;line-height:1.25!important;padding:0!important;min-width:0;overflow-wrap:break-word}
  body .am-hero-wrap .am-hero-text:first-of-type{justify-self:end!important;text-align:right!important}
  body .am-hero-wrap .am-hero-text:last-of-type{justify-self:start!important;text-align:left!important}
  body .am-hero-wrap .am-hero-logo,body.home .am-hero-wrap .am-hero-logo{width:64px!important;max-width:64px!important;height:auto!important}
  .amup-coeurs-grid{grid-template-columns:minmax(0,1fr)!important;gap:24px!important;padding:0 16px!important;margin-top:24px!important}
  .amup-coeur-card{max-width:440px!important}
  .coeur-content{padding:20px!important}
  .coeur-content a{display:inline-flex;align-items:center;justify-content:center;min-height:44px}
  body.page-form_message form.amup-form{margin-top:32px!important}
  .amup-form input:not([type="hidden"]),.amup-form textarea,.amup-form select{font-size:16px!important;max-width:100%;box-sizing:border-box}
  .amup-form input:not([type="hidden"]){min-height:44px}
  .amup-form textarea{min-height:160px;resize:vertical}
  .amup-form button{min-height:44px}
  .amup-actualites{overflow-wrap:break-word}
  .amup-actualites h1{font-size:clamp(22px,6vw,30px)!important;line-height:1.25!important}
  .amup-actualites h2{font-size:clamp(19px,5vw,24px)!important;line-height:1.35!important}
  .amup-actualites p,.amup-actualites li{line-height:1.65}
  .amup-actualites .am-page-btn{max-width:100%;white-space:normal;overflow-wrap:anywhere;min-height:44px}
  .mobmenu-left-panel{max-width:calc(100vw - 16px)!important}
  .mobmenu-left-panel a[role="menuitem"]{min-height:44px!important;white-space:normal!important;line-height:1.4!important}
  .am-gallery .am-gallery-item{min-width:0}
  .am-gallery .am-image-wrapper{max-width:100%}
  .am-gallery .amup-artwork-link img{height:auto;max-height:65svh;object-fit:contain}
}

.amup-audio-launch{position:fixed;bottom:max(16px,env(safe-area-inset-bottom));left:16px;z-index:9998;max-width:calc(100vw - 80px);padding:12px 16px;border-radius:8px;background:#183526;color:white!important;text-decoration:none;min-height:44px;box-shadow:0 3px 12px #0004;font-size:14px}
.amup-audio-launch:focus-visible{outline:3px solid #ffcf6a;outline-offset:3px}

/* Give the dedicated mobile slideshow the screen, not the hidden desktop row. */
@media(max-width:768px){
 body.home .wp-block-columns:has(#metaslider-id-224){display:none!important}
 body.home #metaslider-id-2777{--amup-art-height:clamp(280px,62svh,600px);width:100%!important;max-width:none!important;margin:4px auto 0!important;padding:0 8px!important;box-sizing:border-box}
 body.home #metaslider-id-2777 .flexslider{margin:0!important;padding:0!important;border:0!important}
 body.home #metaslider-id-2777 .flex-viewport{height:var(--amup-art-height)!important}
 body.home #metaslider-id-2777 .slides > li{height:var(--amup-art-height)!important;display:flex!important;align-items:center!important;justify-content:center!important;flex-direction:column!important}
 body.home #metaslider-id-2777 .slides > li img{width:100%!important;height:var(--amup-art-height)!important;max-width:100%!important;max-height:var(--amup-art-height)!important;object-fit:contain!important;margin:0!important}
 body.home .am-hero-wrap{margin-bottom:12px!important}
 body.home .amup-slider-pause{margin:10px auto 20px!important}
}
