.efp-root{background:#101010;color:#fff;width:100%;padding:22px max(18px,calc((100vw - 1240px)/2));box-sizing:border-box;position:relative;z-index:1}
.efp-root *{box-sizing:border-box}
.efp-panels{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.18fr) minmax(0,1fr);gap:12px;max-width:1240px;margin:auto;min-height:295px}
.efp-panel{border:1px solid #343434;background:#161616;min-width:0;height:295px;padding:23px;display:flex;flex-direction:column;overflow:hidden}
.efp-panel h2{margin:0 0 17px;font:800 12px/1.2 Arial,Helvetica,sans-serif;letter-spacing:2.5px;color:#eee}
.efp-panel h3{font:800 11px/1.4 Arial,Helvetica,sans-serif;color:#9c9c9c;text-transform:uppercase;letter-spacing:1.8px;margin:19px 0 8px}
.efp-panel h3:first-child{margin-top:0}
.efp-vertical-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#606060 #222}
.efp-disclaimers p{font:400 12px/1.75 Arial,Helvetica,sans-serif;color:#aaa;margin:0 0 16px}
.efp-links ul{list-style:none!important;padding:0!important;margin:0 0 10px!important}
.efp-links li{list-style:none!important;padding:0!important;margin:0 0 9px!important;font:600 13px/1.45 Arial,Helvetica,sans-serif}
.efp-links a{color:#eee!important;text-decoration:none!important;transition:color .15s ease}
.efp-links a:hover,.efp-links a:focus{color:#f2b544!important;text-decoration:underline!important}
.efp-empty{font:13px/1.6 Arial,Helvetica,sans-serif;color:#888}
.efp-brand{background:#121212;align-items:center;justify-content:center;text-align:center;padding:15px}
.efp-logo{display:block;width:100%;max-width:390px;max-height:238px;height:auto;object-fit:contain}
.efp-brand-fallback{display:flex;flex-direction:column;align-items:center;justify-content:center;font:1000 clamp(43px,5.2vw,81px)/.91 Impact,'Arial Black',sans-serif;letter-spacing:-1.5px;color:white;transform:rotate(-2deg);text-shadow:1px 1px 0 #bbb}
.efp-brand-fallback span:nth-child(2){margin:6px 0}
.efp-mobile-hint{display:none}
@media(max-width:767px){
 .efp-root{padding:18px 0 18px;overflow:hidden}
 .efp-panels{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain;padding:0 calc((100vw - min(82vw,390px))/2);max-width:none;min-height:292px;-webkit-overflow-scrolling:touch}
 .efp-panels::-webkit-scrollbar{display:none}
 .efp-panel{flex:0 0 min(82vw,390px);height:292px;scroll-snap-align:center;padding:19px}
 .efp-brand-fallback{font-size:clamp(43px,14vw,74px)}
 .efp-mobile-hint{display:block;position:absolute;bottom:12px;color:#777;font:700 9px/1.2 Arial,sans-serif;letter-spacing:1.5px}
 .efp-brand{position:relative}
}
@media(prefers-reduced-motion:reduce){.efp-links a{transition:none}}

/* v0.1.2: unified black footer, including the panels */
.efp-root,.efp-root .efp-panel,.efp-root .efp-brand{background:#000!important}
.efp-root{border:0;padding-top:22px;padding-bottom:22px}
.efp-root .efp-panel{border-color:#292929}
.efp-disclaimers a{color:#fff!important;text-decoration:underline;text-underline-offset:3px}
.efp-disclaimers a:hover,.efp-disclaimers a:focus{color:#ff273a!important}
/* Prevent nested rich-text block spacing from overriding panel typography */
.efp-disclaimers .efp-vertical-scroll p{margin:0 0 16px}

/* v0.1.3: seamless layout, full-size artwork, hidden-but-working vertical scrolling. */
.efp-root{background:#000!important}
.efp-root .efp-panels{gap:18px;min-height:365px}
.efp-root .efp-panel{border:0!important;background:#000!important;height:365px;padding:18px 12px}
.efp-root .efp-brand{padding:0!important}
.efp-root .efp-logo{width:100%;height:100%;max-width:none;max-height:350px;object-fit:contain}
.efp-root .efp-vertical-scroll{scrollbar-width:none;-ms-overflow-style:none}
.efp-root .efp-vertical-scroll::-webkit-scrollbar{width:0;height:0;display:none}
/* Hide exactly the duplicate Bimber prefooter, only while replacement is enabled. */
body:has(.efp-root.efp-hide-bimber-widgets) .g1-prefooter{display:none!important}
@media(max-width:767px){
 .efp-root .efp-panels{gap:10px;min-height:340px}
 .efp-root .efp-panel{height:340px;padding:18px}
 .efp-root .efp-brand{padding:0!important}
 .efp-root .efp-logo{max-height:315px}
}

/* v0.1.4: tighter, borderless/footer edge artwork; no Bimber stamp. */
.efp-root{padding-top:4px!important;padding-bottom:4px!important}
.efp-root .efp-panels{min-height:320px;gap:12px}
.efp-root .efp-panel{height:320px;padding:14px 12px}
.efp-root .efp-brand{padding:0!important;overflow:visible}
.efp-root .efp-logo{height:100%;width:100%;max-height:none;object-fit:contain;transform:scale(1.13);transform-origin:center}
/* Bimber copyright area: keep the legal line, remove obsolete theme stamp. */
body:has(.efp-root) .g1-footer-stamp{display:none!important}
body:has(.efp-root) .g1-footer-text{margin-top:0!important;margin-bottom:0!important}
@media(max-width:767px){
 .efp-root{padding-top:4px!important;padding-bottom:4px!important}
 .efp-root .efp-panels{min-height:320px}
 .efp-root .efp-panel{height:320px}
 .efp-root .efp-brand{padding:0!important}
 .efp-root .efp-logo{max-height:none;transform:scale(1.1)}
}

/* v0.1.8: one desktop alignment rule; preserve scale, crop excess inside center panel. */
@media(min-width:768px){
 .efp-root .efp-brand{overflow:hidden!important;transform:none!important;}
 .efp-root .efp-brand .efp-logo{
  position:relative!important;top:20px!important;
  transform:scale(1.13)!important;transform-origin:center!important;
 }
}
@media(max-width:767px){
 .efp-root .efp-panels{scroll-snap-type:x proximity;}
 .efp-root .efp-vertical-scroll{overscroll-behavior-y:auto;}
}
