@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap');

body{
    margin:0;
    font-family:"Open Sans", Arial, sans-serif;
    background:#f5f7fa;
    color:#222;
    line-height:1.7;
}

nav{
    background:#2a5b8f;
    padding:24px 40px;
    box-shadow:0 2px 6px rgba(0,0,0,.1);
    position:sticky;
    top:0;
    z-index:10;
    display:flex;
    justify-content:flex-end;
    align-items:center;
}

nav a{
    margin:0 15px;
    text-decoration:none;
    color:white;
    font-weight:bold;
}

nav a:hover{
    color:#8fd3ff;
}

header{
    background:
    linear-gradient(90deg, rgba(15,61,110,0.98) 0%, rgba(15,61,110,0.95) 100%),
    radial-gradient(circle at 75% 18%, rgba(255,255,255,0.08), transparent 28%),
    linear-gradient(135deg, #0f3d6e 0%, #082d55 100%);
    color:white;
    font-size:19px;
    line-height:1.75;
    padding:35px 40px 45px 40px;
    position:relative;
    overflow:hidden;
}

.container{
    max-width:1320px;
    margin:auto;
}

.hero{
    display:flex;
    align-items:flex-start;
    gap:56px;
    flex-wrap:wrap;
    position:relative;
    margin-top:20px;
}

.hero img{
    width:300px;
    border-radius:14px;
    box-shadow:0 12px 30px rgba(0,0,0,.30);
    z-index:1;
}

.hero-text{
    flex:1;
    min-width:300px;
}

.hero-text h1{
    margin:0;
    font-size:34px;
    line-height:1.15;
    font-weight:700;
    color:white;
}

.hero-text h1 .degrees{
    display:block;
    font-size:18px;
    font-weight:600;
    margin-top:8px;
    padding-bottom:10px;
    border-bottom:1px solid rgba(255,255,255,0.55);
    color:#8fd3ff;
    opacity:0.95;
}

.hero-text p{
    font-size:19px;
    margin-bottom:14px;
    line-height:1.75;
}

.hero-highlights{
    display:grid;
    grid-template-columns:1.1fr 1.9fr;
    gap:38px;
    margin-top:38px;
    font-size:15px;
    line-height:1.55;
    align-items:start;
}

.hero-highlights strong{
    font-size:18px;
    display:block;
    margin-bottom:8px;
}

.academic-profiles{
    width:100%;
    max-width:1000px;
    margin:40px auto 0 auto;
    padding-top:12px;
    text-align:left;
    background:none;
    border:none;
    box-shadow:none;
    border-top:1px solid rgba(255,255,255,0.25);
}

.academic-profiles strong{
    display:block;
    font-family:Georgia, serif;
    font-size:22px;
    font-weight:500;
    margin-bottom:8px;
    color:white;
}

.academic-profiles a{
    color:#8fd3ff;
    text-decoration:underline;
    text-decoration-thickness:1px;
    text-underline-offset:3px;
    font-weight:600;
    transition:color .2s ease;
}

.academic-profiles a:hover{
    color:#ffffff;
}

.buttons{
    margin-top:25px;
}

.button{
    display:inline-block;
    margin-right:10px;
    margin-bottom:10px;
    padding:12px 20px;
    background:white;
    color:#0f3d6e;
    text-decoration:none;
    border-radius:6px;
    font-weight:bold;
}

section{
    max-width:1200px;
    margin:auto;
    padding:60px 30px;
}

section.page-section{
    background:white;
    font-size:19px;
    line-height:1.85;
}

h1{
    color:#0f3d6e;
    font-size:36px;
    margin-bottom:30px;
}

h2{
    color:#0f3d6e;
    font-size:22px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.08em;
    margin-top:44px;
    margin-bottom:25px;
}

h3{
    color:#0f3d6e;
    font-size:20px;
    margin-top:28px;
    margin-bottom:8px;
}

.course-block{
    border-left:4px solid #2a5b8f;
    padding-left:18px;
    margin-top:22px;
    margin-bottom:22px;
}

.cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
    margin-top:25px;
    margin-bottom:35px;
}

.card{
    background:#ffffff;
    border:1px solid #d7dce5;
    border-radius:12px;
    padding:24px;
    box-shadow:0 2px 8px rgba(0,0,0,.05);
}

.card h3{
    color:#0f3d6e;
    margin-top:0;
}

.highlights-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
    gap:20px;
    margin:25px 0 35px;
}

.highlight-card{
    background:#ffffff;
    border:1px solid #d7dce5;
    border-radius:12px;
    padding:20px;
    text-align:center;
    box-shadow:0 2px 8px rgba(0,0,0,.05);
}

.highlight-card strong{
    display:block;
    font-size:2rem;
    color:#0f3d6e;
    margin-bottom:8px;
}

.highlight-card span{
    display:block;
    line-height:1.4;
}

ul{
    padding-left:20px;
}

footer{
    text-align:center;
    padding:40px;
    background:#0f3d6e;
    color:white;
}
/* ---------- Teaching page ---------- */

.course-block{
    display:grid;
    grid-template-columns:58px 1fr;
    column-gap:20px;
    align-items:start;

    background:#ffffff;
    border:2px solid #9fb8d8;
    border-radius:14px;
    padding:22px 30px;
    margin:22px 0;

    box-shadow:0 6px 16px rgba(15,61,110,.08);
    transition:all .25s ease;
}
.course-block:hover{
    transform:translateY(-2px);
    box-shadow:0 10px 24px rgba(0,0,0,.08);
}

.course-icon{
    width:54px;
    height:54px;
    border-radius:12px;

    display:flex;
    align-items:center;
    justify-content:center;

    background:#eef5fb;
}

.course-icon svg{
    width:38px;
    height:38px;
    display:block;
}

.course-icon svg *{
    fill:none;
    stroke:#0f3d6e;
    stroke-width:2.3;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.course-content h3{
    margin:0 0 10px 0;
    padding-bottom:10px;

    color:#123f73;
    font-size:1.35rem;
    line-height:1.3;

    border-bottom:1px solid #d9e3ef;
}

.course-content p{
    margin:0;
    line-height:1.9;
    color:#2f3b4a;
    text-wrap:pretty;
}

.course-topics{
    display:flex;
    flex-wrap:wrap;
    gap:10px 12px;
    margin-top:14px;
}

.topic-tag{
    display:inline-block;
    padding:6px 14px;
    background:#eef5fb;
    border:1px solid #c9d9ec;
    border-radius:8px;
    color:#0f3d6e;
    font-size:.95rem;
    font-weight:600;
    line-height:1.35;
}
/* ---------- Website Notice ---------- */

.site-notice{
    background:#fff8e5;
    border-left:5px solid #d4a017;
    border:1px solid #ecd58b;
    border-radius:10px;

    padding:16px 20px;
    margin:18px 0 28px;

    color:#4d3b00;
    font-size:1rem;
    line-height:1.7;
}

.site-notice strong{
    color:#8a5a00;
}

/* ---------- Website Notice ---------- */

.site-notice{
    display:inline-block;

    background:#fff8e5;
    border:1px solid #e3c76d;
    border-left:4px solid #c89b1f;

    border-radius:8px;

    padding:8px 12px;

    margin:10px 0 18px 0;

    color:#4b3b00;

    font-size:.88rem;

    line-height:1.45;

    max-width:720px;
}
.site-notice strong{
    color:#8a5c00;
}

/* ---------- Publications page ---------- */

.publication{
    background:#ffffff;
    border:2px solid #9fb8d8;
    border-radius:14px;
    padding:22px 30px;
    margin:22px 0 22px 42px;
    width:calc(100% - 126px);
    box-sizing:border-box;
    box-shadow:0 6px 16px rgba(15,61,110,.08);
    transition:all .25s ease;
}

.publication:hover{
    transform:translateY(-2px);
    box-shadow:0 10px 24px rgba(0,0,0,.08);
}

.publication h3{
    color:#123f73;
    font-size:1.35rem;
    line-height:1.3;
    margin:0 0 10px 0;
    padding-bottom:10px;
    border-bottom:1px solid #d9e3ef;
}

.publication p{
    margin:0 0 12px 0;
    line-height:1.9;
    color:#2f3b4a;
}

@media (max-width:700px){
    .publication{
        margin:18px 0;
        width:100%;
        padding:20px;
    }

        .publication h3{
        font-size:1.15rem;
        overflow-wrap:anywhere;
    }
    .publication p{
        font-size:1rem;
    }

    h2{
        font-size:1.2rem;
        letter-spacing:.06em;
    }
}
.note{
    background:#f5f7fa;
    border:1px solid #d7dce5;
    border-radius:12px;
    padding:22px;
    margin-top:35px;
}
