/* Existing drawings sit inside the header backgrounds, clear of the reading layout. */
@media screen {
 .ssl-interior-ornament-colomba{--ssl-interior-ornament:url(images/ornamento-colomba.svg)}
 .ssl-interior-ornament-fiamma{--ssl-interior-ornament:url(images/ornamento-fiamma.svg)}
 .ssl-interior-ornament-cuore{--ssl-interior-ornament:url(images/ornamento-cuore.svg)}

 .ssl-interior-ornaments :is(.section-masthead-copy,.news-masthead,.agenda-masthead,.booking-masthead,.agenda-heading,.archive-description,.editorial-related),
 .ssl-interior-ornaments.page .content>.entry>.entry-header{position:relative;isolation:isolate}

 .ssl-interior-ornaments :is(.section-masthead-copy,.news-masthead,.agenda-masthead,.booking-masthead,.agenda-heading,.archive-description,.editorial-related)::before,
 .ssl-interior-ornaments.page .content>.entry>.entry-header::before{content:"";display:block;position:absolute;z-index:0;pointer-events:none;background:var(--basilica-red,#a8220d);-webkit-mask:var(--ssl-interior-ornament) center/contain no-repeat;mask:var(--ssl-interior-ornament) center/contain no-repeat}

 .ssl-interior-ornaments .section-masthead-copy::before{right:0;bottom:8px;width:min(300px,62%);height:min(300px,78%);opacity:.075}
 .ssl-interior-ornaments :is(.news-masthead,.agenda-masthead,.booking-masthead,.agenda-heading,.archive-description)::before,
 .ssl-interior-ornaments.page .content>.entry>.entry-header::before{top:16px;right:0;bottom:16px;width:min(260px,35%);opacity:.075}
 .ssl-interior-ornaments .editorial-related::before{top:20px;right:max(12px,calc((100% - var(--container))/2));bottom:20px;width:min(340px,38%);opacity:.07}

 .ssl-interior-ornaments :is(.section-masthead-copy,.news-masthead,.agenda-masthead,.booking-masthead,.agenda-heading,.archive-description)>*,
 .ssl-interior-ornaments .editorial-related>.container,
 .ssl-interior-ornaments.page .content>.entry>.entry-header>*{position:relative;z-index:1}

 @media(max-width:760px){
  .ssl-interior-ornaments .section-masthead-copy::before{right:0;bottom:4px;width:min(200px,58%);height:min(230px,65%);opacity:.06}
  .ssl-interior-ornaments :is(.news-masthead,.agenda-masthead,.booking-masthead,.agenda-heading,.archive-description)::before,
  .ssl-interior-ornaments.page .content>.entry>.entry-header::before{top:20px;bottom:20px;width:min(180px,43%);opacity:.06}
  .ssl-interior-ornaments .editorial-related::before{right:10px;width:min(240px,55%);opacity:.06}
 }
}
