* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #ffffff;
    color: #4a4f54;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    line-height: 1.5;
}

/* 전체 페이지 폭 */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding-left: 35px;
    padding-right: 35px;
}

/* -----------------------
   TOP NAVIGATION
----------------------- */

header {
    border-bottom: 1px solid #eeeeee;
}

.nav {
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.name {
    color: #5d6267;
    font-size: 19px;
    font-weight: 700;
    text-decoration: none;
    padding-bottom: 5px;
    border-bottom: 4px solid #b8b8b8;
    margin-right: 70px;
}

nav {
    display: flex;
    gap: 38px;
}

nav a {
    color: #6c7277;
    font-size: 17px;
    text-decoration: none;
}

nav a:hover {
    color: #222;
}

/* -----------------------
   HOME PAGE
----------------------- */

.home {
    display: grid;
    grid-template-columns: 205px 1fr;
    gap: 58px;
    padding-top: 40px;
    padding-bottom: 60px;
}

.profile-photo {
    width: 205px;
    height: 265px;
    object-fit: cover;
    object-position: center;
    border-radius: 18px;
    display: block;
}
.profile {
    width: 205px;
}

/* 소개 부분 */

.intro {
    max-width: 760px;
}

.intro h1 {
    margin-top: 8px;
    margin-bottom: 24px;

    color: #454a4f;
    font-size: 19px;
    font-weight: 400;
}

.intro p {
    margin-top: 0;
    margin-bottom: 24px;
}

.intro em {
    font-style: italic;
}

.intro a {
    color: #526d91;
    text-decoration: none;
}

.intro a:hover {
    text-decoration: underline;
}

/* -----------------------
   RESEARCH / TEACHING
----------------------- */

.page {
    padding-top: 40px;
    padding-bottom: 70px;
}

.page h1 {
    color: #44494e;
    font-size: 27px;
    font-weight: 500;
    margin-bottom: 35px;
}

.page h2 {
    color: #555b60;
    font-size: 20px;
    font-weight: 600;
    margin-top: 38px;
    margin-bottom: 28px;
    padding-bottom: 10px;
    border-bottom: 1px solid #d8d8d8;
}

.page h3 {
    color: #44494e;
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 4px;
}

.authors {
    margin-top: 2px;
    font-style: italic;
    color: #666;
}

.abstract {
    max-width: 850px;
    margin-top: 15px;
}

.page a {
    color: #526d91;
    text-decoration: none;
}

.page a:hover {
    text-decoration: underline;
}

section {
    margin-bottom: 50px;
}

/* -----------------------
   TEACHING
----------------------- */

.teaching-entry {
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 30px;
    margin-bottom: 18px;
}

.role {
    color: #666;
    font-style: italic;
}

/* -----------------------
   FOOTER
----------------------- */

footer {
    margin-top: 50px;
    padding-top: 20px;
    padding-bottom: 30px;

    border-top: 1px solid #eeeeee;

    color: #999;
    font-size: 13px;
}

/* -----------------------
   MOBILE
----------------------- */

@media (max-width: 700px) {

    .container {
        padding-left: 22px;
        padding-right: 22px;
    }

    .nav {
        height: auto;
        padding-top: 20px;
        padding-bottom: 20px;
        display: block;
    }

    .name {
        display: inline-block;
        margin-right: 0;
    }

    nav {
        margin-top: 15px;
        gap: 22px;
    }

    .home {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .profile {
    width: 100%;
    text-align: center;
}

.profile-photo {
    width: 210px;
    height: 240px;
    margin: 0 auto;
}
    .teaching-entry {
        grid-template-columns: 1fr;
        gap: 2px;
    }
}

.teaching-section {
    max-width: 850px;
    margin-bottom: 40px;
}

.teaching-section h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.course {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding: 5px 0;
}

.course span:last-child {
    color: #666;
    white-space: nowrap;
}

@media (max-width: 700px) {
    .course {
        display: block;
        margin-bottom: 12px;
    }
}


/* -----------------------
   TYPOGRAPHY
----------------------- */

/* Page titles */
.page h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 30px;
    font-weight: 600;
    color: #30343a;
}

/* Section titles */
.page h2 {
    font-family: Georgia, "Times New Roman", serif;
    color: #30343a;
    font-size: 24px;
    font-weight: 600;
    margin-top: 48px;
    margin-bottom: 28px;
    padding-bottom: 10px;
    border-bottom: 1px solid #d8d8d8;
}

/* Paper titles */
.page h3 {
    font-family: Georgia, "Times New Roman", serif;
    color: #30343a;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    margin-top: 0;
    margin-bottom: 8px;
}

/* Abstract text */
.abstract {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 16px;
    line-height: 1.65;
    color: #666;
    max-width: 900px;
}

/* Coauthor information */
.authors {
    margin-top: 2px;
    font-size: 15px;
    font-style: italic;
    color: #666;
}

/* Draft note beside paper title */
.draft-note {
    margin-left: 8px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 400;
    font-style: normal;
    color: #777;
    white-space: nowrap;
}

/* Research page typography */
.page {
    font-family: Georgia, "Times New Roman", serif;
}
