/* Image-only 2px outline and 4px relief; header logo tiles remain unchanged. */
.world-photo-card[href*="aerospace"]{--media-accent:#795548}
.world-photo-card[href*="barriere"]{--media-accent:#505c68}
.world-photo-card[href*="multiverso"]{--media-accent:#176484}
.world-photo-card[href*="alusol"]{--media-accent:#806000}
.area-page{--media-accent:var(--area-accent)}
html body .area-page :is(.area-opening-image,.area-image-slot),html body .world-photo-card .world-visual{position:relative;border:2px solid var(--media-accent);border-radius:10px;overflow:hidden;box-sizing:border-box;box-shadow:inset 0 -4px 0 var(--media-accent)}
html body .area-page :is(.area-opening-image,.area-image-slot)::after,html body .world-photo-card .world-visual::after{content:"";position:absolute;inset:0;pointer-events:none;border-radius:9px;box-shadow:inset 0 -4px 0 var(--media-accent);z-index:2}
/* Raised image frames with a colored lower edge and soft cast shadow. */
html body .area-page :is(.area-opening-image,.area-image-slot),html body .world-photo-card .world-visual{box-shadow:0 4px 0 color-mix(in srgb,var(--media-accent) 85%,#17212b),0 10px 18px -7px color-mix(in srgb,var(--media-accent) 50%,transparent),0 16px 28px -15px #17212b55}
html body .area-page :is(.area-opening-image,.area-image-slot)::after,html body .world-photo-card .world-visual::after{box-shadow:inset 0 -4px 0 var(--media-accent),inset 0 2px 0 #ffffff95,inset 2px 0 0 #ffffff35,inset -2px 0 0 #17212b20}
/* Subtle two-sided relief, close to the original header treatment. */
html body .area-page :is(.area-opening-image,.area-image-slot),html body .world-photo-card .world-visual{border-width:1px;box-shadow:1px 1px 0 var(--media-accent),2px 2px 0 var(--media-accent),3px 4px 7px -3px #17212b30}
html body .area-page :is(.area-opening-image,.area-image-slot)::after,html body .world-photo-card .world-visual::after{box-shadow:inset -1px -1px 0 var(--media-accent),inset 1px 1px 0 #ffffff55}
html body header .header-area{box-shadow:inset -1px -1px 0 var(--tile-accent),1px 1px 0 var(--tile-accent),2px 3px 4px -2px #17212b25}
html body .world-photo-card .world-logo-window{border-radius:8px;box-shadow:1px 1px 0 var(--media-accent),2px 2px 0 var(--media-accent),3px 4px 7px -3px #17212b30}
/* Soft Office-like image shadow, tinted to each activity. */
html body .area-page :is(.area-opening-image,.area-image-slot),html body .world-photo-card .world-visual{border:1px solid color-mix(in srgb,var(--media-accent) 40%,white);box-shadow:clamp(4px,.55vw,9px) clamp(7px,.9vw,15px) clamp(12px,1.5vw,25px) clamp(-5px,-.3vw,-2px) color-mix(in srgb,var(--media-accent) 43%,transparent),2px 3px 7px -3px color-mix(in srgb,var(--media-accent) 22%,transparent)}
html body .area-page :is(.area-opening-image,.area-image-slot)::after,html body .world-photo-card .world-visual::after{box-shadow:inset 1px 2px 4px #ffffff70,inset -1px -1px 3px color-mix(in srgb,var(--media-accent) 15%,transparent)}

/* I loghi restano senza riquadri; le cornici sono riservate alle immagini. */
html body .world-photo-card .world-logo-window{border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;outline:0!important;padding:0!important}
html body .area-page .area-identity img,html body .career-sector-logo{border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;outline:0!important;padding:0!important}