@charset "UTF-8";



/* Shared footer, back-to-top, Site Settings and privacy-consent UI. */

.pwg-back-to-top {
    position: fixed;
    z-index: 1000;
    --pwg-back-to-top-gap: 22px;
    bottom: calc(var(--pwg-back-to-top-gap) + var(--pwg-back-to-top-lift, 0px));
    right: 22px;
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    padding: 0;
    border: 1px solid color-mix(in srgb, var(--pwg-accent-strong) 72%, transparent);
    border-radius: 50%;
    color: var(--pwg-accent-ink);
    background: color-mix(in srgb, var(--pwg-accent) 88%, transparent);
    box-shadow: 0 5px 18px rgba(0, 0, 0, .24), 0 0 0 1px color-mix(in srgb, var(--pwg-accent) 20%, transparent);
    cursor: pointer;
    transition: color .16s ease, background-color .16s ease, border-color .16s ease, box-shadow .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-strong);
    color: var(--pwg-accent-ink);
    background: var(--pwg-accent-hover);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .28), 0 0 0 2px color-mix(in srgb, var(--pwg-accent) 28%, transparent);
}

.pwg-back-to-top:focus-visible {
    outline: 2px solid var(--pwg-accent-strong);
    outline-offset: 3px;
}

.pwg-back-to-top:hover {
    outline: none;
}

.pwg-back-to-top svg {
    width: 31px;
    height: 31px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* 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-image: url('../img/footer_experiment_schematic_gray.webp');
    background-image: image-set(
        url('../img/footer_experiment_schematic_gray.avif') type('image/avif'),
        url('../img/footer_experiment_schematic_gray.webp') type('image/webp')
    );
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: 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);
    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-image: url('../img/umk_sun_footer.webp');
    background-image: image-set(
        url('../img/umk_sun_footer.avif') type('image/avif'),
        url('../img/umk_sun_footer.webp') type('image/webp')
    );
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 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 color-mix(in srgb, var(--pwg-accent) 42%, transparent);
}

.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);
}

.pwg-footer-tagline {
    margin-top: 7px;
    color: var(--pwg-accent);
    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);
}

.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);
    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);
}

.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);
    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: 1.6em;
    width: var(--pwg-frame-width);
    min-height: 42px;
    margin: 0 auto;
    color: rgba(228, 234, 240, .72);
    font-size: min(.78rem, 2.9vw);
    font-weight: 300;
    white-space: nowrap;
}

.pwg-footer-bottom-inner > * {
    flex: 0 0 auto;
}

.pwg-footer-meta-links {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 1.28em;
}

.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);
}

.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-accent-picker { display: grid; grid-template-columns: minmax(0, 1fr) 216px; grid-template-areas: "heading options" "help options"; column-gap: 12px; row-gap: 3px; padding: 13px 0; min-width: 0; }
.pwg-accent-picker h3 { grid-area: heading; align-self: end; margin: 0; font: 700 1.08rem "Alegreya Sans SC", sans-serif; line-height: 1; }
.pwg-accent-picker p { grid-area: help; align-self: start; margin: 0; color: var(--pwg-theme-muted, #53606b); font-size: .84rem; line-height: 1.42; }
.pwg-accent-options { grid-area: options; align-self: center; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.pwg-accent-choice { position: relative; display: grid; place-items: center; min-width: 0; height: 44px; cursor: pointer; }
.pwg-accent-choice input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.pwg-accent-choice span { width: 24px; height: 24px; border: 1px solid rgba(0, 0, 0, .2); border-radius: 50%; background: var(--pwg-accent); pointer-events: none; }
.pwg-accent-choice input:checked + span { outline: 2px solid var(--pwg-theme-text, #10253b); outline-offset: 4px; }
.pwg-accent-choice input:focus-visible + span { outline: 3px dashed var(--pwg-theme-text, #10253b); outline-offset: 4px; }
@media (max-width: 420px) {
    .pwg-accent-picker { grid-template-columns: minmax(0, 1fr); grid-template-areas: "heading" "help" "options"; row-gap: 4px; }
    .pwg-accent-options { margin-top: 4px; }
}

.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);
    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);box-shadow:0 18px 55px rgba(0,25,50,.28);transform:scale(1);}
    35%{border-color:var(--pwg-accent-strong);box-shadow:0 0 0 7px color-mix(in srgb, var(--pwg-accent) 32%, transparent),0 18px 60px rgba(0,25,50,.34);transform:scale(1.012);}
    70%{border-color:var(--pwg-theme-border);box-shadow:0 0 0 3px color-mix(in srgb, var(--pwg-accent) 18%, transparent),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:var(--pwg-accent-strong);box-shadow:0 0 0 5px color-mix(in srgb, var(--pwg-accent) 30%, transparent),0 18px 55px rgba(0,25,50,.28);}
}
.pwg-consent-inner{padding:clamp(20px,2.4vw,30px);}
.pwg-consent-summary h2,
.pwg-accent-picker h3,
.pwg-consent-category h3{
    color:var(--pwg-theme-text,#000);
    font-family:"Alegreya Sans SC",sans-serif;
    font-weight:700;
}
.pwg-consent-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:6px;}
.pwg-consent-summary h2{margin:0;font-size:clamp(1.45rem,1.25rem + .55vw,1.9rem);line-height:1;}
.pwg-consent-cookie{flex:0 0 auto;width:clamp(42px,5vw,56px);height:auto;}
.pwg-sticky-help-mobile{display:none;}
@media(max-width:768px){
    .pwg-sticky-help-desktop{display:none;}
    .pwg-sticky-help-mobile{display:inline;}
}
.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);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 var(--pwg-theme-border);
    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:var(--pwg-accent-strong);background:var(--pwg-theme-tint);}
.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:var(--pwg-accent);box-shadow:0 2px 7px color-mix(in srgb, var(--pwg-accent) 16%, transparent);}
.pwg-consent-accept:hover,
.pwg-consent-save:hover{background:var(--pwg-accent-hover);}
.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 var(--pwg-theme-border);
}
.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 var(--pwg-theme-border);
}
.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);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:var(--pwg-accent-strong);background:var(--pwg-accent);}
.pwg-consent-switch input:checked+span::after{background:var(--pwg-accent-strong);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) {
    .pwg-footer-group {
        text-align: left;
    }

    .pwg-footer-group .pwg-footer-rule {
        margin-left: 0;
        margin-right: 0;
    }
}

@media (max-width: 768px) {
    .pwg-back-to-top {
        --pwg-back-to-top-gap: 14px;
        right: 14px;
        width: var(--pwg-mobile-control-size);
        height: var(--pwg-mobile-control-size);
    }

    .pwg-footer-art::before {
        width: min(420px, 72vw);
    }

    .pwg-footer-main {
        grid-template-columns: 1fr;
        gap: 24px;
        width: calc(100% - 36px);
        /* Leave room for the back-to-top button above the bottom bar. */
        padding: 30px 0 calc(26px + var(--pwg-mobile-control-size));
    }

    .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 color-mix(in srgb, var(--pwg-accent) 32%, transparent);
        border-left: 0;
    }


    .pwg-footer-bottom-inner {
        width: calc(100% - 36px);
        min-height: 46px;
    }
}

@media (max-width:260px) {
    .pwg-footer-main,
    .pwg-footer-bottom-inner {
        width: calc(100% - 8px);
    }

    .pwg-back-to-top {
        right: clamp(4px, 4vw, 10px);
        --pwg-back-to-top-gap: clamp(4px, 4vw, 10px);
        width: var(--pwg-mobile-control-size);
        height: var(--pwg-mobile-control-size);
        padding: 4px;
    }

    .pwg-back-to-top svg {
        width: 58%;
        height: 58%;
    }
}
