/* Integration shared only by the three reviewed editorial pages.
   The WordPress header/footer content and all other profiles remain untouched. */
@font-face{font-family:CSG Display;src:url('./pku-editorial/BarlowCondensed-Bold.ttf') format('truetype');font-style:normal;font-weight:700;font-display:swap}

/* Let each page own its reading width instead of inheriting theme block widths. */
body:is(.csg-home-page-active,.csg-directory-page-active) :is(.site-main,.site-main>.ct-container-full,.site-main>article,article[id^="post-"]>.entry-content){width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
body:is(.csg-home-page-active,.csg-directory-page-active) .entry-content>:is(.csg-home-page,.csg-directory-page){width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
body:is(.csg-home-page-active,.csg-directory-page-active) :is(.entry-header,.site-main>.hero-section){display:none!important}
body:is(.csg-home-page-active,.csg-directory-page-active) #header>[data-device][data-transparent]{position:relative!important}
body:is(.csg-home-page-active,.csg-directory-page-active) #header [data-sticky]{top:0!important}
body.admin-bar:is(.csg-home-page-active,.csg-directory-page-active) #header [data-sticky]{top:32px!important}
@media(max-width:782px){body.admin-bar:is(.csg-home-page-active,.csg-directory-page-active) #header [data-sticky]{top:46px!important}}

/* Theme headings, labels and fields must not substitute a different font. */
:is(.csg-home-page,.csg-directory-page):is(.csg-home-page,.csg-directory-page) :is(p,a,label,legend,input,select,button,summary){font-family:Arial,Helvetica,sans-serif;letter-spacing:0}
:is(.csg-home-page,.csg-directory-page):is(.csg-home-page,.csg-directory-page) :is(h1,h2){font-family:'CSG Display','Arial Narrow',Arial,sans-serif;font-weight:700;letter-spacing:0}
:is(.csg-home-page,.csg-directory-page):is(.csg-home-page,.csg-directory-page) h3{font:700 18px/1.4 Arial,Helvetica,sans-serif}
.csg-directory-page.csg-directory-page .csg-directory-filter-head h2{font:700 18px/1.4 Arial,Helvetica,sans-serif}
:is(.csg-home-page,.csg-directory-page) :is(input,select,button){text-transform:none}
.csg-home-page :is(.csg-home-art-ticket,.csg-home-conversation-art figcaption,.csg-home-budget-tag,.csg-home-answer-topic){font-size:13px;line-height:1.5}
.csg-directory-page :is(.csg-directory-card-classification,.csg-directory-card-ranking,.csg-directory-filter-group small){font-size:13px;line-height:1.5}
.csg-directory-page .csg-directory-active-filters button{font-size:16px;line-height:1.5;min-height:44px}
.csg-home-page .csg-home-section,.csg-directory-page :is(.csg-directory-results,.csg-directory-toolbar){scroll-margin-top:calc(var(--csg-header-offset,0px) + 24px)}
@media(min-width:1001px){.csg-directory-page .csg-directory-filter-panel{top:calc(var(--csg-header-offset,0px) + 16px);max-height:calc(100svh - var(--csg-header-offset,0px) - 32px)}}

/* Preserve the site's original footer, using the same four PKU text roles. */
body:is(.csg-home-page-active,.csg-directory-page-active,.csg-pku-editorial-active).csg-site-footer-polish footer.ct-footer{font-family:Arial,Helvetica,sans-serif!important;letter-spacing:0!important;background:#082044!important}
body:is(.csg-home-page-active,.csg-directory-page-active,.csg-pku-editorial-active).csg-site-footer-polish footer.ct-footer :is(h2,h3,h4,p,a,li,input,button){font-family:Arial,Helvetica,sans-serif!important;letter-spacing:0!important}
body:is(.csg-home-page-active,.csg-directory-page-active,.csg-pku-editorial-active).csg-site-footer-polish footer.ct-footer>[data-row]>.ct-container{width:min(1200px,calc(100% - 56px))!important;padding-inline:36px!important;margin-inline:auto!important}
body:is(.csg-home-page-active,.csg-directory-page-active,.csg-pku-editorial-active).csg-site-footer-polish footer.ct-footer [data-row="middle"] :is(h2,h3,h4){font-size:18px!important;font-weight:700!important;line-height:1.4!important}
body:is(.csg-home-page-active,.csg-directory-page-active,.csg-pku-editorial-active).csg-site-footer-polish footer.ct-footer [data-row="middle"] :is(p,li,a){font-size:16px!important;line-height:1.6!important;color:#edf2f8!important}
body:is(.csg-home-page-active,.csg-directory-page-active,.csg-pku-editorial-active).csg-site-footer-polish footer.ct-footer [data-row="bottom"] p{font-size:13px!important;line-height:1.5!important;color:#c6d3e4!important}
body.csg-pku-editorial-active.csg-site-footer-polish footer.ct-footer [data-row="top"] :is(h1,h2,h3){font:700 36px/1.12 'CSG Display','Arial Narrow',Arial,sans-serif!important;text-transform:uppercase}
body.csg-pku-editorial-active.csg-site-footer-polish footer.ct-footer [data-row="top"] :is(p,input,button){font-size:16px!important;line-height:1.6!important}
@media(min-width:761px) and (max-width:1100px){
 body:is(.csg-home-page-active,.csg-directory-page-active,.csg-pku-editorial-active).csg-site-footer-polish footer.ct-footer>[data-row]>.ct-container{width:calc(100% - 36px)!important;padding-inline:26px!important}
 body:is(.csg-home-page-active,.csg-directory-page-active,.csg-pku-editorial-active).csg-site-footer-polish footer.ct-footer>[data-row="middle"]>.ct-container{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:32px!important}
}
@media(max-width:760px){
 body:is(.csg-home-page-active,.csg-directory-page-active,.csg-pku-editorial-active).csg-site-footer-polish footer.ct-footer>[data-row]>.ct-container{width:100%!important;padding-inline:22px!important}
 body.csg-pku-editorial-active.csg-site-footer-polish footer.ct-footer [data-row="top"] :is(h1,h2,h3){font-size:30px!important}
}
@media(max-width:430px){
 body:is(.csg-home-page-active,.csg-directory-page-active,.csg-pku-editorial-active).csg-site-footer-polish footer.ct-footer>[data-row="middle"]>.ct-container{grid-template-columns:1fr!important;gap:26px!important}
}
