@charset "UTF-8";

:root {
    --pwg-frame-width: min(1420px, calc(100% - 40px));
}

/* Base layout */
*, *::before, *::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background:var(--pwg-theme-canvas,#f0f0f0);
    color:var(--pwg-theme-text,#000);
    font-family: "Lato", Arial, sans-serif;
}

img {
    max-width: 100%;
}

a {
    font-family: "Lato", Arial, sans-serif;
    font-weight: 500;
    font-size: clamp(.875rem, .825rem + .25vw, 1rem);
}

p:last-child {
    margin-bottom: 0;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.skip-link:focus {
    z-index: 1000;
    left: 12px;
    top: 12px;
    width: auto;
    height: auto;
    padding: 10px 14px;
    color: #fff;
    background: #05284d;
}

.pwg-main {
    position: relative;
    z-index: 1;
    flex: 1 0 auto;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

.publication-link {
    color: #b1d056;
    letter-spacing: normal;
    font-size: 100%;
}

/* Home page */
.home-content {
    margin: 10px 10px 0;
}

.home-shortcuts {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin: 25px 0 0;
}

.home-shortcut {
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    min-height: 94px;
    padding: 12px 18px;
    border: 2.6px solid var(--pwg-theme-border,#b1d056);
    border-radius: 22px;
    color:var(--pwg-theme-text,#000);
    background:var(--pwg-theme-surface,#fff);
    box-shadow: 0 3px 10px rgba(6, 45, 87, .05);
    text-decoration: none;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.home-shortcut:hover {
    border-color: var(--pwg-theme-border-hover,#7f9f00);
    background:var(--pwg-theme-raised,#fbfdf4);
    box-shadow: 0 9px 22px rgba(6, 45, 87, .13);
    transform: translateY(-3px) scale(1.01);
}

.home-shortcut:focus-visible {
    outline: 3px solid #062d57;
    outline-offset: 4px;
}

.home-shortcut-icon {
    display: grid;
    place-items: center;
    width: 68px;
    height: 68px;
    border-radius: 18px;
    background: rgba(177, 208, 86, .14);
}

.home-shortcut-icon svg {
    width: 52px;
    height: 52px;
    fill: none;
    stroke: #91ad13;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-shortcut-title {
    min-width: 0;
    text-align: center;
    font-family: "Alegreya Sans SC", sans-serif;
    font-size: clamp(1.3rem, 1.15rem + .55vw, 1.7rem);
    font-weight: 700;
    line-height: 1.05;
}

.home-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 0;
}

.home-content ol li {
    margin: 5px;
}

.home-grid > div {
    justify-self: stretch;
    width: 100%;
    padding: 14px;
    color:var(--pwg-theme-text,#000);
    text-align: center;
    background:var(--pwg-theme-surface,#fff);
    border: 2.6px solid var(--pwg-theme-border,#b1d056);
    border-radius: 25px;
    box-shadow: 0 3px 10px rgba(6, 45, 87, .05);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.home-grid > div:hover,
.home-grid > div:focus-within {
    border-color: var(--pwg-theme-border-hover,#7f9f00);
    background:var(--pwg-theme-raised,#fbfdf4);
    box-shadow: 0 9px 22px rgba(6, 45, 87, .13);
    transform: translateY(-3px) scale(1.01);
}

.home-grid > div:has(a:focus-visible) {
    outline: 3px solid #062d57;
    outline-offset: 4px;
}

.home-grid > div > a:focus {
    outline: none;
}

.home-grid > div > a {
    display: block;
    width: 100%;
    color:var(--pwg-theme-text,#000);
    font-size: 100%;
    text-decoration: none;
}

.home-grid > div h2 {
    width: 100%;
    margin: 0 0 14px;
    text-align: center;
    color:var(--pwg-theme-text,#000);
    font-family: "Alegreya Sans SC", sans-serif;
    font-size: 180%;
    font-weight: 700;
}

.home-grid > div > p {
    margin: 0;
}

.home-grid > div img {
    position: relative;
    top: 0;
    width: 90%;
    height: auto;
    padding: 0 20px;
    object-fit: cover;
    border-radius: 10%;
}

.home-section {
    width: 100%;
    margin-top: 25px;
    padding: 14px;
    color:var(--pwg-theme-text,#000);
    background:var(--pwg-theme-surface,#fff);
    border: 2.6px solid var(--pwg-theme-border,#b1d056);
    border-radius: 25px;
}

.home-section:last-of-type {
    margin-bottom: 25px;
}

.home-section > h2 {
    margin: 0 0 14px;
    color:var(--pwg-theme-text,#000);
    font-family: "Alegreya Sans SC", sans-serif;
    font-size: 180%;
    font-weight: 700;
    text-align: center;
}

.home-section > p {
    margin: 0;
    padding: 0 30px;
    color:var(--pwg-theme-text,#000);
    text-align: center;
}

.home-section > p > a {
    font-size: 100%;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
}

.home-section > ul {
    margin-top: 0;
    list-style-type: none;
}

.home-section > ul > li {
    padding-top: 20px;
}

.home-section > ul > li:first-of-type {
    padding-top: 0;
}

.home-section > ul > li:last-of-type {
    padding-bottom: 20px;
}

.home-section > .home-publication-list {
    margin: 0 0 12px;
    padding-left: 28px;
    list-style: disc outside;
    text-align: left;
}

.home-section > .home-publication-list > .home-publication-item {
    margin: 8px 0;
    padding: 0 0 8px;
    font-size: clamp(.875rem, .825rem + .25vw, 1rem);
    line-height: 1.55;
}

.home-publication-list .pub-title {
    font-style: italic;
}

.publication-author {
    white-space: nowrap;
}

.home-publication-list .pub-journal strong {
    font-weight: 700;
}

.home-publication-list .doi > a:first-child {
    color: #b1d056;
    font-weight: 500;
}

.home-section img {
    width: 100%;
    padding: 0 20px;
    text-align: center;
}

.home-section a.paper-pdf img,
.home-section a.archive-pdf img,
.home-content ol li a.paper-pdf img,
.home-content ol li a.archive-pdf img {
    display: block;
    width: auto;
    max-width: none;
    height: 21px;
    margin: 0;
    padding: 0;
}

.home-section a.paper-pdf,
.home-section a.archive-pdf {
    display: inline-block;
    margin-left: .55em;
    padding: 0;
    font-size: 90%;
    line-height: 1;
    text-decoration: none;
    vertical-align: middle;
}

.home-section a.archive-pdf {
    color:var(--pwg-theme-text,#000);
}

.home-section .home-publication-list .pub-pdf:hover,
.home-section .home-publication-list .pub-pdf:focus-visible {
    text-decoration: none;
    filter: brightness(.94);
}

.home-section .home-publication-list .pub-pdf:focus-visible {
    outline: 2px solid #b1d056;
    outline-offset: 2px;
    border-radius: 4px;
}

/* People */
.people-section {
    margin: 0;
    color:var(--pwg-theme-text,#000);
    background: transparent;
}

.people-section:last-of-type {
    margin-bottom: 25px;
}

.people-section > h2 {
    margin: 34px 0 20px;
    color:var(--pwg-theme-text,#000);
    font-family: "Alegreya Sans SC", sans-serif;
    font-size: 210%;
    font-weight: 700;
    text-align: center;
}

.people-tier {
    margin-bottom: 24px;
}

.people-tier--pi .person-card:last-child {
    margin-bottom: 0;
}

.people-tier-frame {
    overflow: hidden;
    color:var(--pwg-theme-text,#000);
    background:var(--pwg-theme-surface,#fff);
    border: 2.6px solid var(--pwg-theme-border,#b1d056);
    border-radius: 25px;
    box-sizing: border-box;
}

.people-tier-frame .person-card--grouped {
    margin: 0;
    border: 0;
    border-radius: 0;
}

.people-tier-frame .person-card--grouped + .person-card--grouped {
    position: relative;
}

.people-tier-frame .person-card--grouped + .person-card--grouped::before {
    content: "";
    position: absolute;
    top: 0;
    left: 10%;
    width: 80%;
    border-top: 1px solid rgba(177, 208, 86, .42);
}

.person-card {
    display: grid;
    grid-template-columns: clamp(190px, 15vw, 235px) minmax(0, 1fr);
    align-items: start;
    column-gap: 58px;
    margin: 0 0 24px;
    padding: 34px 36px 32px;
    color:var(--pwg-theme-text,#000);
    background:var(--pwg-theme-surface,#fff);
    border: 2.6px solid var(--pwg-theme-border,#b1d056);
    border-radius: 25px;
    box-sizing: border-box;
}

.person-media {
    position: relative;
    width: 100%;
}

.person-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: 25px;
}

.person-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.person-socials {
    position: absolute;
    top: 50%;
    right: -20px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    transform: translateY(-50%);
}

.person-socials.is-empty {
    display: none;
}

.person-social {
    display: block;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    text-decoration: none;
    transition: transform .15s ease, filter .15s ease;
}

.person-social img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.person-social:hover,
.person-social:focus-visible {
    transform: scale(1.08);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .18));
    text-decoration: none;
}

.person-info {
    min-width: 0;
    margin-left: 0;
    padding-top: 10px;
    font-family: "Lato", Arial, sans-serif;
    text-align: left;
}

.person-name {
    margin: 0;
    color:var(--pwg-theme-text,#000);
    font-family: "Alegreya Sans SC", sans-serif;
    font-size: 210%;
    font-weight: 700;
    line-height: 1.08;
}

.person-role {
    margin: 1px 0 13px;
    color:var(--pwg-theme-text,#292929);
    font-size: 105%;
    font-weight: 300;
    line-height: 1.2;
    text-transform: uppercase;
}

.person-contact-row {
    display: grid;
    grid-template-columns: .8fr 1.25fr 2fr;
    align-items: baseline;
    gap: 20px;
    width: 100%;
    font-size: 100%;
    line-height: 1.35;
}

.person-contact-item {
    display: flex;
    gap: 4px;
    min-width: 0;
    flex-wrap: wrap;
}

.person-contact-item .contact-label {
    color:var(--pwg-theme-text,#000);
    font-weight: 700;
}

.person-contact-item a {
    min-width: 0;
    overflow: hidden;
    color:var(--pwg-theme-text,#000);
    font-size: inherit;
    text-decoration: none;
    text-overflow: ellipsis;
}

.person-contact-item a:hover,
.person-contact-item a:focus-visible {
    color:var(--pwg-theme-link,#5a8208);
    text-decoration: underline;
}

.person-summary {
    margin-top: 30px;
    font-size: 100%;
    line-height: 1.5;
}

.pwg-back-to-top {
    position: fixed;
    z-index: 1000;
    bottom: 22px;
    right: 22px;
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .38);
    border-radius: 50%;
    color: #fff;
    background: rgba(5, 40, 77, .72);
    box-shadow: 0 5px 18px rgba(0, 0, 0, .30);
    cursor: pointer;
    transition: background-color .16s ease, border-color .16s ease;
}

.pwg-back-to-top[hidden] {
    display: none;
}

.pwg-back-to-top:hover,
.pwg-back-to-top:focus-visible {
    border-color: var(--pwg-accent, #c5d522);
    background: rgba(5, 40, 77, .94);
    outline: none;
}

.pwg-back-to-top svg {
    width: 31px;
    height: 31px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.profile-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    margin-top: 32px;
    padding: 7px 18px;
    border: 1px solid var(--pwg-theme-border,#a7c400);
    border-radius: 999px;
    color:var(--pwg-theme-text,#10253b);
    background: #b1d056;
    font-family: "Alegreya Sans SC", sans-serif;
    font-size: .95rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 2px 7px rgba(80, 104, 0, .16);
    transition: color .16s ease, background-color .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.profile-link:hover {
    border-color: #718d00;
    color:var(--pwg-theme-text,#10253b);
    background: #c3dc63;
    box-shadow: 0 3px 9px rgba(80, 104, 0, .22);
    text-decoration: none;
}

.profile-link:focus-visible {
    outline: 2px solid #062d57;
    outline-offset: 3px;
}

/* Footer */
.pwg-footer-art {
    position: relative;
    z-index: 0;
    width: 100%;
    height: 0;
    pointer-events: none;
}

.pwg-footer-art::before {
    content: "";
    position: absolute;
    right: 0;
    bottom: -30px;
    width: min(680px, 42vw);
    aspect-ratio: 585 / 602;
    background: url('../img/footer_experiment_schematic_gray.webp') no-repeat right bottom / contain;
    opacity: .15;
}

.pwg-footer {
    position: relative;
    z-index: 2;
    overflow: hidden;
    margin-top: 30px;
    color: var(--pwg-text, #f7f9fb);
    background:
        radial-gradient(circle at 18% 12%, rgba(20, 87, 137, .24), transparent 34%),
        linear-gradient(105deg, var(--pwg-navy, #062d57) 0%, var(--pwg-navy-deep, #05284d) 52%, #041f3c 100%);
    border-top: 1px solid var(--pwg-accent, #c5d522);
    box-shadow: 0 -8px 20px rgba(0, 20, 42, .08);
    font-family: "Lato", Arial, sans-serif;
}

.pwg-footer::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 42px;
    width: min(700px, 46vw);
    aspect-ratio: 539 / 473;
    background: url('../img/umk_sun_footer.webp') no-repeat center center / contain;
    opacity: .15;
    filter: blur(1px);
    transform: translate(-50%, 50%);
    transform-origin: center center;
    clip-path: inset(0 0 50% 50%);
    pointer-events: none;
    z-index: 0;
}

.pwg-footer-main,
.pwg-footer-bottom {
    position: relative;
    z-index: 1;
}

.pwg-footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: clamp(34px, 4vw, 72px);
    width: var(--pwg-frame-width);
    margin: 0 auto;
    padding: 38px 0 34px;
}

.pwg-footer-group,
.pwg-footer-nav,
.pwg-footer-affiliation {
    min-width: 0;
    text-align: center;
}

.pwg-footer-nav,
.pwg-footer-affiliation {
    padding-left: clamp(22px, 2.2vw, 38px);
    border-left: 1px solid rgba(197, 213, 34, .42);
}

.pwg-footer-title {
    display: inline-block;
    color: #fff;
    font-family: "Alegreya Sans SC", sans-serif;
    font-size: clamp(1.65rem, 1.8vw, 2.1rem);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -.01em;
    text-decoration: none;
}

.pwg-footer-title:hover,
.pwg-footer-title:focus-visible {
    color: var(--pwg-accent, #c5d522);
}

.pwg-footer-tagline {
    margin-top: 7px;
    color: var(--pwg-accent, #c5d522);
    font-family: "Alegreya Sans SC", sans-serif;
    font-size: clamp(1rem, 1.15vw, 1.28rem);
    font-weight: 400;
    line-height: 1.1;
}

.pwg-footer-rule {
    width: 46px;
    height: 2px;
    margin: 14px auto 11px;
    background: var(--pwg-accent, #c5d522);
}

.pwg-footer-location {
    color: var(--pwg-muted, #e4eaf0);
    font-size: .9rem;
    font-weight: 300;
    letter-spacing: .02em;
}

.pwg-footer-heading {
    margin-bottom: 12px;
    color: var(--pwg-accent, #c5d522);
    font-family: "Alegreya Sans SC", sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.pwg-footer-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
}

.pwg-footer-links a {
    color: #fff;
    font-family: "Alegreya Sans SC", sans-serif;
    font-size: .9rem;
    font-weight: 400;
    line-height: 1.3;
    text-decoration: none;
}

.pwg-footer-links a:hover,
.pwg-footer-links a:focus-visible {
    color: var(--pwg-accent, #c5d522);
}

.pwg-footer-university {
    color: #fff;
    font-size: .98rem;
    font-weight: 600;
    line-height: 1.35;
}

.pwg-footer-faculty {
    margin-top: 5px;
    color: var(--pwg-muted, #e4eaf0);
    font-size: .9rem;
    font-weight: 300;
    line-height: 1.35;
}

.pwg-footer-email {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 13px;
    color: var(--pwg-accent, #c5d522);
    font-family: "Lato", Arial, sans-serif;
    font-size: .92rem;
    font-weight: 400;
    text-decoration: none;
}

.pwg-footer-email svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pwg-footer-email:hover,
.pwg-footer-email:focus-visible {
    text-decoration: underline;
}

.pwg-footer-bottom {
    background: rgba(0, 17, 35, .28);
    border-top: 1px solid rgba(20, 87, 137, .58);
}

.pwg-footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: var(--pwg-frame-width);
    min-height: 42px;
    margin: 0 auto;
    color: rgba(228, 234, 240, .72);
    font-size: .78rem;
    font-weight: 300;
}

.pwg-footer-meta-links {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.pwg-footer-meta-links a,
.pwg-footer-meta-links button {
    color: inherit;
    padding: 0;
    border: 0;
    background: transparent;
    font: inherit;
    text-decoration: none;
    cursor: pointer;
}

.pwg-footer-meta-links a:hover,
.pwg-footer-meta-links a:focus-visible,
.pwg-footer-meta-links button:hover,
.pwg-footer-meta-links button:focus-visible {
    color: var(--pwg-accent, #c5d522);
}

.pwg-site-settings {
    box-sizing: border-box;
    width: min(460px, calc(100% - 32px));
    max-height: calc(100dvh - 32px);
    padding: 24px;
    overflow: auto;
    border: 1px solid #cbd5df;
    border-radius: 12px;
    background:var(--pwg-theme-surface,#fff);
    color:var(--pwg-theme-text,#062d57);
    box-shadow: 0 18px 60px rgba(0, 17, 35, .25);
}
.pwg-site-settings::backdrop { background: rgba(0, 17, 35, .45); }
.pwg-site-settings-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.pwg-site-settings-heading h2 { margin: 0; font-size: 1.5rem; }
.pwg-site-settings-heading button {
    width: 44px; height: 44px; padding: 0; border: 0; border-radius: 6px;
    background:var(--pwg-theme-raised,#eef1f4); color:var(--pwg-theme-text,#062d57); font-size: 1.6rem; cursor: pointer;
}
.pwg-site-settings-heading button:focus-visible { outline: 2px solid #062d57; outline-offset: 3px; }
.pwg-site-settings-note { margin: 16px 0 0; color:var(--pwg-theme-muted,#53606b); font-size: .8rem; line-height: 1.5; }
.pwg-site-settings .pwg-consent-switch { align-items: center; min-height: 44px; }

.pwg-visually-hidden{
    position:absolute!important;
    width:1px!important;
    height:1px!important;
    margin:-1px!important;
    padding:0!important;
    overflow:hidden!important;
    clip:rect(0 0 0 0)!important;
    white-space:nowrap!important;
    border:0!important;
}
.pwg-consent[hidden]{display:none;}
.pwg-consent{
    position:fixed;
    z-index:12000;
    right:18px;
    bottom:18px;
    left:18px;
    width:min(1180px,calc(100% - 36px));
    max-height:calc(100vh - 36px);
    margin:0 auto;
    overflow:auto;
    border:2px solid var(--pwg-theme-border,#b1d056);
    border-radius:22px;
    color:var(--pwg-theme-text,#10253b);
    background:var(--pwg-theme-surface,#fff);
    box-shadow:0 18px 55px rgba(0,25,50,.28);
}
@keyframes pwg-consent-attention{
    0%,100%{border-color:var(--pwg-theme-border,#b1d056);box-shadow:0 18px 55px rgba(0,25,50,.28);transform:scale(1);}
    35%{border-color:#6e9000;box-shadow:0 0 0 7px rgba(177,208,86,.32),0 18px 60px rgba(0,25,50,.34);transform:scale(1.012);}
    70%{border-color:#9bb62d;box-shadow:0 0 0 3px rgba(177,208,86,.18),0 18px 55px rgba(0,25,50,.3);transform:scale(1.004);}
}
.pwg-consent.is-attention{animation:pwg-consent-attention .72s ease-out 2;}
@media(prefers-reduced-motion:reduce){
    .pwg-consent.is-attention{animation:none;border-color:#6e9000;box-shadow:0 0 0 5px rgba(177,208,86,.3),0 18px 55px rgba(0,25,50,.28);}
}
.pwg-consent-inner{padding:clamp(20px,2.4vw,30px);}
.pwg-consent-summary h2,
.pwg-consent-category h3{
    color:var(--pwg-theme-text,#000);
    font-family:"Alegreya Sans SC",sans-serif;
    font-weight:700;
}
.pwg-consent-summary h2{margin:0 0 6px;font-size:clamp(1.45rem,1.25rem + .55vw,1.9rem);line-height:1;}
.pwg-consent-summary p{max-width:900px;margin:0;font-size:.93rem;line-height:1.48;}
.pwg-consent-summary a{color:var(--pwg-theme-link,#5a8208);font-size:inherit;line-height:inherit;font-weight:700;text-decoration:none;}
.pwg-consent-summary a:hover{text-decoration:underline;text-underline-offset:.14em;}
.pwg-consent-actions{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    align-items:center;
    margin-top:18px;
}
.pwg-consent-button{
    min-height:42px;
    padding:9px 18px;
    border:1px solid #9bb62d;
    border-radius:999px;
    color:var(--pwg-theme-text,#10253b);
    background:var(--pwg-theme-surface,#fff);
    font-family:"Alegreya Sans SC",sans-serif;
    font-size:.96rem;
    font-weight:700;
    line-height:1;
    cursor:pointer;
    transition:color .16s ease,background-color .16s ease,border-color .16s ease,box-shadow .16s ease;
}
.pwg-consent-button:hover{border-color:#718d00;background:var(--pwg-theme-raised,#f4f8e8);}
.pwg-consent-button:focus-visible,
.pwg-consent-switch input:focus-visible+span{outline:2px solid #062d57;outline-offset:3px;}
.pwg-consent-accept,
.pwg-consent-save{background:#b1d056;box-shadow:0 2px 7px rgba(80,104,0,.16);}
.pwg-consent-accept:hover,
.pwg-consent-save:hover{background:#c5d522;}
.pwg-consent-manage{display:inline-flex;gap:7px;align-items:center;}
.pwg-consent-manage svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;transition:transform .18s ease;}
.pwg-consent-manage[aria-expanded="true"] svg{transform:rotate(180deg);}
.pwg-consent-preferences{
    margin-top:20px;
    padding-top:18px;
    border-top:1px solid #cbd99b;
}
.pwg-consent-preferences[hidden]{display:none;}
.pwg-consent-category{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:22px;
    align-items:center;
    padding:13px 0;
    border-bottom:1px solid #e2e8cd;
}
.pwg-consent-category h3{margin:0 0 3px;font-size:1.08rem;line-height:1;}
.pwg-consent-category p{max-width:820px;margin:0;color:var(--pwg-theme-muted,#53606b);font-size:.84rem;line-height:1.42;}
.pwg-consent-status{color:var(--pwg-theme-link,#5f790f);font-size:.82rem;font-weight:700;white-space:nowrap;}
.pwg-consent-switch{position:relative;display:inline-flex;cursor:pointer;}
.pwg-consent-switch input{position:absolute;opacity:0;pointer-events:none;}
.pwg-consent-switch>span:last-child{
    position:relative;
    display:block;
    width:52px;
    height:28px;
    border:1px solid #84919b;
    border-radius:999px;
    background:var(--pwg-theme-raised,#eef1f2);
    transition:background-color .16s ease,border-color .16s ease;
}
.pwg-consent-switch>span:last-child::after{
    content:"";
    position:absolute;
    top:3px;
    left:3px;
    width:20px;
    height:20px;
    border-radius:50%;
    background:#66727c;
    box-shadow:0 1px 3px rgba(0,0,0,.22);
    transition:background-color .16s ease,transform .16s ease;
}
.pwg-consent-switch input:checked+span{border-color:#829c20;background:#dbe8ad;}
.pwg-consent-switch input:checked+span::after{background:#6e9000;transform:translateX(24px);}
.pwg-consent-save{display:block;min-width:190px;margin:18px 0 0 auto;}
@media(max-width:700px){
    .pwg-consent{right:8px;bottom:8px;left:8px;width:calc(100% - 16px);max-height:calc(100vh - 16px);border-radius:18px;}
    .pwg-consent-inner{padding:19px 17px;}
    .pwg-consent-actions{display:grid;grid-template-columns:1fr 1fr;}
    .pwg-consent-manage,
    .pwg-consent-site-settings{grid-column:1 / -1;justify-content:center;}
    .pwg-consent-category{gap:12px;}
    .pwg-consent-save{width:100%;margin-top:17px;}
}

@media (min-width: 769px) {
    .person-card {
        grid-template-columns: clamp(170px, 13vw, 205px) minmax(0, 1fr);
        column-gap: 48px;
    }

    .person-contact-row {
        display: flex;
        flex-wrap: wrap;
        gap: .2em 1em;
    }

    .person-contact-item {
        gap: .25em;
        max-width: 100%;
        flex-wrap: nowrap;
        white-space: nowrap;
    }

    /* Preserve the 16px layout while scaling contact columns with the text. */
    .person-contact-item:nth-child(1) {
        flex: 0 0 5.625em;
    }

    .person-contact-item:nth-child(2) {
        flex: 0 0 10.3125em;
    }

    .person-contact-item:nth-child(3) {
        flex: 0 0 auto;
        width: max-content;
    }

    .person-contact-item.person-contact-item--with-group {
        flex: 0 0 16.9375em;
        flex-wrap: wrap;
    }

    .person-contact-item--with-group + .person-contact-item {
        flex: 0 0 auto;
        width: max-content;
    }

    .person-contact-item a {
        overflow: visible;
        text-overflow: clip;
    }

    .person-contact-item a[href^="mailto:"] {
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .pwg-footer-group {
        text-align: left;
    }

    .pwg-footer-group .pwg-footer-rule {
        margin-left: 0;
        margin-right: 0;
    }

    .home-content {
        width: var(--pwg-frame-width);
        max-width: none;
        margin: 36px auto 0;
    }

    .home-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-shortcuts {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 25px;
    }

    .home-shortcut {
        display: flex;
        justify-content: center;
        gap: clamp(10px, .8vw, 14px);
        min-height: 132px;
        padding: 18px clamp(18px, 1.8vw, 28px);
    }

    .home-shortcut-icon {
        width: clamp(68px, 5.2vw, 82px);
        height: clamp(68px, 5.2vw, 82px);
    }

    .home-shortcut-icon svg {
        width: clamp(50px, 4vw, 62px);
        height: clamp(50px, 4vw, 62px);
    }

    .home-content ol {
        margin: 20px;
        text-align: justify;
    }

    .home-grid > div img {
        width: min(600px, 100%);
        height: auto;
        aspect-ratio: 30 / 17;
        padding: 0 30px;
    }

    .home-section > ul {
        list-style-type: disc;
    }

}

@media (max-width: 768px) {
    .person-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        min-height: 0;
        margin-bottom: 20px;
        padding: 24px 18px 26px;
    }

    .person-media {
        width: min(235px, 78vw);
    }

    .person-photo {
        width: 100%;
        height: auto;
        aspect-ratio: 2 / 3;
    }

    .person-socials {
        top: 100%;
        right: auto;
        bottom: auto;
        left: 50%;
        flex-direction: row;
        transform: translate(-50%, -50%);
    }

    .person-info {
        width: 100%;
        margin-left: 0;
        padding-top: 18px;
        text-align: center;
    }

    .person-name {
        font-size: 180%;
    }

    .person-role {
        margin-bottom: 17px;
    }

    .person-contact-row {
        grid-template-columns: 1fr;
        gap: 8px;
        width: min(100%, 420px);
        margin: 0 auto;
    }

    .person-contact-item {
        justify-content: center;
        white-space: normal;
    }

    .person-contact-item a {
        overflow: visible;
        overflow-wrap: anywhere;
        text-overflow: clip;
    }

    .person-summary {
        width: 90%;
        margin: 24px auto 0;
        text-align: center;
    }

    .pwg-back-to-top {
        bottom: 14px;
        right: 14px;
        width: 52px;
        height: 52px;
    }

    .profile-link {
        margin-top: 24px;
    }

    .people-tier {
        margin-bottom: 20px;
    }

    .people-tier-frame .person-card--grouped {
        margin-bottom: 0;
    }

    .people-tier-frame .person-card--grouped + .person-card--grouped {
        border-top-color: rgba(177, 208, 86, .42);
    }

    .pwg-footer-art::before {
        width: min(420px, 72vw);
    }

    .home-section > ul {
        margin: 0;
        padding: 0;
        text-align: center;
    }

    .pwg-main {
        padding: 0 10px;
    }

    .pwg-footer-main {
        grid-template-columns: 1fr;
        gap: 24px;
        width: calc(100% - 36px);
        padding: 30px 0 26px;
    }

    .pwg-footer::before {
        bottom: 46px;
        width: 160vw;
        max-width: none;
        opacity: .13;
        filter: blur(.8px);
    }

    .pwg-footer-nav,
    .pwg-footer-affiliation {
        padding: 22px 0 0;
        border-top: 1px solid rgba(197, 213, 34, .32);
        border-left: 0;
    }


    .pwg-footer-bottom-inner {
        width: calc(100% - 36px);
        min-height: 46px;
    }
}
