/* Level Up Studio WordPress/Divi integration. Scoped to the shortcode. */
.levelup-studio-embed{display:block;width:100%;max-width:100%;min-width:0;overflow:hidden;border-radius:14px;background:#080d13;isolation:isolate}
.levelup-studio-embed>iframe{display:block;width:100%;height:1200px;min-height:680px;border:0;overflow:hidden;background:#080d13}
body.page-id-1001 #main-content .et_pb_section{background:#080c10!important}
body.page-id-1001 #main-content .et_pb_row{width:96%!important;max-width:none!important;margin-left:auto!important;margin-right:auto!important}
body.page-id-1001 #main-content .et_pb_column,body.page-id-1001 #main-content .et_pb_code,body.page-id-1001 #main-content .et_pb_code_inner{width:100%!important;max-width:none!important;min-width:0}
body.page-id-1001 #main-content .et_pb_code_inner>.levelup-studio-embed{padding:0!important;background:#080d13!important}
body.page-id-1001 #main-content .et_pb_section{padding-top:12px!important;padding-bottom:20px!important}
body.page-id-1001 #main-content .et_pb_row{padding-top:0!important;padding-bottom:0!important}
@media(max-width:767px){body.page-id-1001 #main-content .et_pb_row{width:96%!important}.levelup-studio-embed{border-radius:12px}.levelup-studio-embed>iframe{min-height:720px}}
/* Gallery opens in the parent viewport to avoid a modal positioned at the middle of a tall iframe. */
.levelup-gallery-dialog{border:1px solid #42738b;background:#0b1722;color:#f0faff;border-radius:18px;width:min(940px,calc(100vw - 28px));max-height:calc(100dvh - 30px);padding:0;box-shadow:0 30px 100px #000b;z-index:2147483500;overflow:auto}
.levelup-gallery-dialog::backdrop{background:rgba(2,8,13,.88);backdrop-filter:blur(7px)}
.levelup-gallery-header,.levelup-gallery-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 17px}
.levelup-gallery-header strong{color:#f0faff;font-size:17px}.levelup-gallery-header button,.levelup-gallery-footer button{border:1px solid #47758b;background:#102d3d;color:#fff;border-radius:9px;padding:10px 14px;min-height:44px;cursor:pointer}
.levelup-gallery-dialog img{display:block;width:100%;max-height:calc(100dvh - 170px);height:auto;object-fit:contain;background:#06111a}
.levelup-gallery-footer span{font-size:13px;color:#b3d4e1}

/* V5.9.4 : abandon de la vignette fixe (la véritable photo suit désormais le défilement). */
.lus-embed-error{color:#ebfaff;background:#102330;border:1px solid #47b9d4;padding:24px;border-radius:14px;font:500 16px/1.6 Arial,sans-serif}
.lus-embed-error strong{color:#fff;font-size:19px}.lus-embed-error p{margin:6px 0 0}
@media(max-width:680px){
 .lus-floating-preview{top:auto!important;bottom:92px;left:10px;width:min(43vw,160px);border-radius:11px;box-shadow:0 7px 24px #000b}
 .lus-preview-bar{padding:5px 7px;font-size:9px;letter-spacing:0}
 .lus-preview-bar button{min-height:23px;min-width:23px}
 .lus-preview-bottom{padding:5px 7px;font-size:8px}
 .lus-preview-bottom span{display:none}
 .lus-preview-bottom button{width:100%;min-height:28px}
 .lus-preview-restore{top:auto;bottom:94px;left:10px;font-size:10px;padding:9px}
}

/* 8.8: the parent alone owns viewport sizing; the child reports natural content. */
.levelup-studio-embed>iframe[data-levelup-frame]{min-height:0!important;max-height:none!important;overflow-anchor:none}
.levelup-studio-embed>iframe[data-levelup-frame].lus-desktop{min-height:0!important;max-height:none!important}
.levelup-studio-embed{overflow-anchor:none}