.news-card a>.staff-portrait{position:relative;isolation:isolate;display:flex;align-items:flex-end;justify-content:center;height:300px;padding:20px 18px 0;overflow:hidden;background:radial-gradient(ellipse at 50% 25%,#fffdf7 0%,#eee7d8 70%,#e1d5bc 100%);border-bottom:1px solid #b2966238}
:is(.staff-portrait,.archive-photo):before{content:'';position:absolute;z-index:-1;width:22%;max-width:112px;height:150px;right:6px;top:65px;background:url('assets/gpa-crest-transparent.webp') center/contain no-repeat;opacity:.3;filter:grayscale(1) sepia(.7)}
:is(.staff-portrait,.archive-photo):after{content:'';position:absolute;inset:12px;z-index:-1;border:1px solid #ae8b4e35;border-bottom:0;background:url('assets/portrait-lines.svg') -40px center/160px 280px no-repeat;pointer-events:none}
.editorial-public .news-card .staff-portrait img,.news-card .staff-portrait img{display:block;width:auto;max-width:65%;height:100%;max-height:100%;object-fit:contain;object-position:center bottom;background:transparent;margin:0;transform:translateX(-12px);box-shadow:0 4px 24px #342b1714}
[data-theme=dark] .news-card a>.staff-portrait{background:radial-gradient(ellipse at 50% 25%,#3b3e36,#262b25 75%,#20241f)}
[data-theme=dark] :is(.staff-portrait,.archive-photo):before{opacity:.22}
@media(max-width:650px){.news-card a>.staff-portrait{height:290px}}

/* Keep portraits flush with the backdrop despite generic card padding. */
.editorial-public .news-card a>.staff-portrait,.news-card a>.staff-portrait{padding:12px 0 0!important}
.editorial-public .news-card .staff-portrait img,.news-card .staff-portrait img{position:absolute;bottom:-2px;left:50%;transform:translateX(-50%);width:auto;max-width:72%;height:96%;max-height:none;object-fit:contain;object-position:center bottom;box-shadow:none}

.news-card a>.archive-photo{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:center;height:240px;padding:0!important;overflow:hidden;background:radial-gradient(ellipse at 50% 25%,#fffdf7 0%,#eee7d8 70%,#e1d5bc 100%);border-bottom:1px solid #b2966238}
.archive-photo:before{width:14%;max-width:80px;right:1%;top:45px}
.editorial-public .news-card .archive-photo img,.news-card .archive-photo img{display:block;width:auto;height:100%;max-width:70%;max-height:100%;object-fit:contain;object-position:center;background:transparent;margin:0}
[data-theme=dark] .news-card a>.archive-photo{background:radial-gradient(ellipse at 50% 25%,#3b3e36,#262b25 75%,#20241f)}

/* A shared backdrop is visible only in the unused area of contained images. */
main img:not([src*="crest"]):not([src$=".svg"]):not(.staff-portrait img):not(.archive-photo img){background-image:url("assets/image-backdrop.svg")!important;background-position:center!important;background-size:100% 100%!important;background-repeat:no-repeat!important;background-color:#f1ede4}
[data-theme=dark] main img:not([src*="crest"]):not([src$=".svg"]):not(.staff-portrait img):not(.archive-photo img){background-color:#292e27}
