/* Photography follows the Bologna full-width parallax pattern. No scroll
   animation script: the desktop photograph stays fixed behind the content. */
.sgem-bologna-page .inner-page-topper.sgem-photo-header {
 background-position:center calc(42% + var(--sgem-inner-parallax,0px)); background-size:cover;
}
.sgem-bologna-page .inner-page-topper.sgem-photo-header[style*="editorial/solar.webp"] {
 background-position:center calc(92% + var(--sgem-inner-parallax,0px));
}
.sgem-bologna-page .inner-page-topper.sgem-photo-header::before {
 background:linear-gradient(90deg,rgba(2,29,39,.86),rgba(3,42,51,.46) 64%,rgba(4,34,43,.26)),linear-gradient(0deg,rgba(2,24,33,.52),transparent 75%);
}
.sgem-bologna-page .inner-page-topper :is(h1,p,nav,.inner-topper-subtitle) { text-shadow:0 2px 12px #00131e66; }

.sgem-home-atlas .intro-band.sgem-fixed-photo {
 position:relative; isolation:isolate; overflow:hidden;
 padding:88px 0; background:#103d3c url('../images/editorial/forest-sunlight.webp') center 46%/cover no-repeat;
}
.sgem-home-atlas .intro-band.sgem-fixed-photo::before {
 content:""; position:absolute; inset:0; z-index:-1;
 background:linear-gradient(90deg,rgba(4,30,33,.88),rgba(4,35,38,.72),rgba(3,29,31,.8));
}
.sgem-home-atlas .intro-band.sgem-fixed-photo::after { display:none; }
.sgem-home-atlas .intro-band.sgem-fixed-photo .container { max-width:1000px; }
.sgem-home-atlas .intro-band.sgem-fixed-photo :is(h2,p,strong) { color:#fff; }
.sgem-home-atlas .intro-band.sgem-fixed-photo .section-kicker { color:#f1ce81; }
.sgem-home-atlas .intro-band.sgem-fixed-photo h2 { font-size:clamp(34px,3.6vw,54px); line-height:1.08; margin-bottom:26px; }
.sgem-home-atlas .intro-band.sgem-fixed-photo p:not(.section-kicker) { font-size:22px; line-height:1.55; }

/* Container units give a true edge-to-edge band without the scrollbar-width
   overflow caused by 100vw. The original section and every child stay in order. */
.sgem-bologna-source:has(.sgem-photo-band) { container-type:inline-size; }
.sgem-editorial.sgem-original-article .sgem-photo-band {
 position:relative;
 width:100cqw; max-width:none; margin:38px calc((100% - 100cqw)/2); padding:68px max(26px,calc((100cqw - 1176px)/2));
 border:0; border-radius:0; box-shadow:none; isolation:isolate;
 background-color:#083d47; background-size:cover; background-position:center; color:#fff;
}
.sgem-photo-band::before {
 content:""; position:absolute; inset:0; z-index:-1;
 background:linear-gradient(90deg,rgba(2,28,39,.93),rgba(3,38,46,.79) 65%,rgba(2,35,43,.58));
}
.sgem-photo-band--workshop { background-image:url('../images/sessions/workshop-discussion.jpg')!important; }
.sgem-photo-band--exhibition { background-image:url('../images/sessions/exhibition-networking.jpg')!important; }
.sgem-editorial.sgem-original-article .sgem-photo-band :is(h2,h3,p,li,strong,em,span) { color:inherit; }
.sgem-editorial.sgem-original-article .sgem-photo-band :is(h2,h3) { color:#f2d28b; max-width:900px; }
.sgem-editorial.sgem-original-article .sgem-photo-band :is(p,ul,ol) { max-width:900px; }
.sgem-editorial.sgem-original-article .sgem-photo-band a:not(.button) { color:#ffe0a1; }
.sgem-editorial.sgem-original-article .sgem-photo-band>ul { display:block; padding-left:24px; }
.sgem-editorial.sgem-original-article .sgem-photo-band>ul>li { padding:4px 0; border:0; background:transparent; }
.sgem-editorial.sgem-original-article .sgem-photo-band>ul>li::marker { color:#edc978; }

@media(min-width:981px) and (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
 .sgem-home-atlas .intro-band.sgem-fixed-photo,
 .sgem-editorial.sgem-original-article .sgem-photo-band { background-attachment:fixed; }
}
@media(max-width:680px) {
 .sgem-home-atlas .intro-band.sgem-fixed-photo { padding:48px 0; }
 .sgem-home-atlas .intro-band.sgem-fixed-photo p:not(.section-kicker) { font-size:19px; line-height:1.5; }
 .sgem-editorial.sgem-original-article .sgem-photo-band { margin-block:26px; padding:38px 24px; }
 .sgem-photo-band::before { background:rgba(3,31,39,.87); }
}
@media print {
 .sgem-editorial.sgem-original-article .sgem-photo-band { width:100%; left:0; transform:none; padding:20px; color:#183d49; background:#fff!important; }
 .sgem-photo-band::before { display:none; }
 .sgem-editorial.sgem-original-article .sgem-photo-band :is(h2,h3,a) { color:#183d49; }
}
