:root {
    --blue-accent: #001e3b;
    --zju-blue: #014389;
    --anthracite: #2f3337;
    --anthracite-lite: #6D7073;
}

body {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0;
    background-color: white;
    font-family: system-ui, -apple-system, sans-serif;
    color: black;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/*************************** Header ***************************/

.site-header {
    margin: 0;
    border-bottom: 2px solid var(--anthracite);
}

.header-inner {
    padding: 0.8rem 0.5rem;
    display: flex;
    align-items: center;
    gap: 2.5rem;
    box-sizing: border-box;
    justify-content: space-between;
}

.header-logo {
    max-height: 75px;
    width: auto;
    display: block;
}

.header-div {
    flex: 1;
}

.header-h1 {
    color: var(--zju-blue);
    font-size: 1.7rem;
    margin: 0 0 0.67em 0;
}

.header-nav {
    display: flex;
    align-items: baseline;
    font-size: 1.5rem;
}

.header-nav a {
    color: black;
    font-weight: bold;
    text-decoration: none;
}

.header-nav a:hover {
    text-decoration: underline;
}

.header-nav .sep {
    color: black;
    margin: 0 0.4rem;
}

/*************************** Main ***************************/

main {
    flex: 1;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    padding: 1.5rem 0 0 0;
    box-sizing: border-box;
}

main h2 {
    color: var(--blue-accent);
    font-size: 1.5rem;
    margin: 0.5rem 0 0.6rem 0;
}

main h3 {
    color: var(--blue-accent);
    font-size: 1.2rem;
    margin: 0 0 0.4rem 0;
}

main p {
    margin-top: 0.4rem;
    line-height: 1.7;
}

main a {
    color: var(--blue-accent);
    font-weight: bold;
    text-decoration: none;
}

main a:hover {
    color: var(--zju-blue);
    text-decoration: underline;
}

.div-welcome {
    display: flex;
    align-items: top;
    gap: 16px;
    margin-bottom: 1.5rem;
}

.div-welcome h2 {
    margin: 0.3rem 0 0.6rem 0;
}

.div-welcome img {
    max-width: 350px;
    height: auto;
}

/*************************** Footer ***************************/

.site-footer {
    margin: 2rem 0 0 0;
    border-top: 2px solid var(--anthracite);
}

.footer-inner {
    justify-content: space-between;
    padding: 0.8rem 0.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-sizing: border-box;
}

.footer-address {
    color: var(--anthracite);
    font-style: normal;
    line-height: 1.5;
}

footer a {
    color: var(--anthracite);
    font-style: normal;
    line-height: 1.5;
    text-decoration: none;
}

footer a:hover {
    color: var(--zju-blue);
    text-decoration: underline;
}

.footer-image {
    width: 100%;
    height: 350px;
    margin-top: auto;
    border-top: 4px solid var(--green-accent);
}

.footer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
