/*
Theme Name: for UNIBO
Template: twentytwentyfive
*/
/* =========================================================
   Header
========================================================= */

header {
    position: sticky;
    z-index: 1000;
    top: 0;
    background: #5793AE;
    max-width: 100vw;
    width: 100%;
}

h1 {
    margin: 0;
    height: 100%;
    display: flex;
    align-items: center;
    font-size: 14px;
}

.h1-link {
    display: inline-grid;
    align-items: center;
    grid-template-areas: "stack";
    white-space: nowrap;
}

.h1-link>span {
    grid-area: stack;
    line-height: 1;
}

.h1-link:hover .title-normal,
.h1-link:focus-visible .title-normal {
    opacity: 0;
}

.h1-link:hover .title-hover,
.h1-link:focus-visible .title-hover {
    opacity: 1;
}

.h1-link>span {
    transition: opacity 160ms ease;
}


.in-header {
    display: flex;
    height: 80px;
    padding: 0 10%;
    margin: 0 auto;
    align-items: center;
    justify-content: space-between;
    background: #5793AE;
    color: #fff;
    box-shadow: none;
    max-width: 1040px;
}

.header-right {
    display: flex;
    height: 100%;
    align-items: center;
    padding: 0 5px 0 0;
}

.logo-unibo {
    max-width: 100px;
    width: 100%;
    height: auto;
}

.nav-hmb {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
}

.nav-hmb:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.hmb-bar {
    display: block;
    height: 2px;
    margin: 6px 0;
    background: #fff;
}

.site-nav a {
    color: inherit;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: .04em;
    opacity: .95;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.nav-list {
    list-style: none;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-list li:not(:first-child)::before {
    display: inline;
    content: "｜";
    margin: 0 5px;
    color: #fff;
}

.nav-list li a {
    font-size: 18px;
}

button:focus {
    outline: none;
}

@media (max-width: 1280px) {

    .in-header,
    .in-footer {
        padding: 0;
        margin: 0;
        width: 100%;
    }

    .nav-hmb {
        display: inline-block;
    }

    .nav-list {
        position: absolute;
        top: 80px;
        right: 0;
        left: 0;
        display: none;
        flex-direction: column;
        gap: 0;
        margin: 0;
        padding: 0;
        background: #5793AE;
    }

    .nav-list.is-open {
        display: flex;
    }

    .nav-list a {
        display: block;
        padding: 14px 18px;
    }

    .nav-list li:not(:first-child)::before {
        display: none;
    }
}


/* =========================================================
   footer
========================================================= */
footer {
    display: flex;
    background: #5793AE;
    justify-content: center;
}

.in-footer {
    display: flex;
    max-width: 1280px;
    width: 100%;
    flex-direction: column;
}

.footer-upper {
    display: flex;
    justify-content: flex-end;
    max-width: inherit;
    width: inherit;
    height: 100px;
}

.footer-upper ul li {
    color: #fff;
}


.footer-middle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: inherit;
    width: inherit;
    height: 110px;
}

.footer-middle img {
    height: 50px;
    width: auto;
    display: block;
}

.footer-middle a:last-child {
    color: #fff;
    text-decoration: none;
    text-align: right;
    font-size: 13px;
    line-height: 1.6;
}

.footer-lower {
    display: flex;
    justify-content: center;
    max-width: inherit;
    width: inherit;
}

.copyright {
    margin: 0;
    font-size: 13px;
    opacity: .95;
    color: #fff;
}