/* Original supplied engravings: church behind navigation, palace behind the daily page. */
.main:has(#org-home){background:#faf1df url('/academic/palace-page-background-v315.png') right bottom/cover no-repeat!important}
:root:not([data-theme=dark]) .content #org-home .card{background-color:#fff9ebd1!important;background-image:none!important}
:root:not([data-theme=dark]) #org-home .day-planner{background-color:transparent!important;background-image:linear-gradient(135deg,#fff9ebd9,#faf0dfbf)!important}
#org-home .day-planner::before{content:none}
/* The campus remains clear on the right; the reading area has a soft ivory veil. */
#org-home .org-hero::before{inset:5px;background-position:right bottom;background-size:auto 122%;opacity:.85;filter:sepia(1);mask-image:linear-gradient(90deg,transparent,#0008 28%,#000 58%)}
#org-home .org-hero::after{inset:6px;background:linear-gradient(90deg,var(--ornate-paper) 0%,#f5efdfeb 30%,#f5efdf66 58%,transparent 85%)}
:root[data-theme=dark] .main:has(#org-home){background-image:linear-gradient(#19271beb,#19271beb),url('/academic/palace-page-background-v315.png')!important}
:root[data-theme=dark] #org-home .org-hero::before{opacity:.42;filter:sepia(1) brightness(1.25)}
:root[data-theme=dark] #org-home .org-hero::after{background:linear-gradient(90deg,#1f2d23,#1f2d23eb 30%,#1f2d2377 60%,#1f2d2322)}
@media(max-width:650px){
 .main:has(#org-home){background-size:auto 100%!important;background-position:right bottom!important}
 #org-home .org-hero::before{inset:6px;background-size:auto 104%;opacity:.72;mask-image:linear-gradient(180deg,transparent,#000 60%)}
 #org-home .org-hero::after{background:linear-gradient(180deg,#f5efdf 0%,#f5efdfe8 35%,#f5efdf55 75%,#f5efdf22)}
 :root[data-theme=dark] #org-home .org-hero::before{opacity:.34}
 :root[data-theme=dark] #org-home .org-hero::after{background:linear-gradient(180deg,#1f2d23,#1f2d23eb 35%,#1f2d2377 75%,#1f2d2355)}
}
@media(forced-colors:active){.main:has(#org-home){background:Canvas!important}#org-home .org-hero::before,#org-home .org-hero::after{display:none}}
