:root {
    --bg: #ffffff;
    --text: #111111;
    --muted: #5f6368;
    --border: #e8eaed;
    --accent: #1a73e8;
    --max-width: 2660px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding-top: 72px;
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    font-family: "Roboto", "Helvetica Neue", Arial, sans-serif;
    font-size: 1.0rem;
    line-height: 1.55;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(14px);
    z-index: 1000;
}

.nav-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 24px;
    padding: 18px 20px;
}

.nav-content a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.82rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 700;
}

.nav-content a:hover,
.nav-content a.active {
    color: var(--text);
}

.nav-content a.active {
    font-weight: 900;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px 56px;
}

.post {
    max-width: min(120%, 110ch);
    width: 100%;
    margin: 0 auto;
    padding-top: 3rem;
}

.post-header {
    margin-bottom: 1rem;
    padding-top: 1rem;
}

.post-title {
    margin: 0;
    font-size: clamp(1.2rem, 2.4vw, 1.8rem);
    font-weight: 700;
    line-height: 1.1;
    max-width: 150%;
}

.post-title span {
    font-weight: 300;
}

.desc {
    margin: 0.75rem 0 0;
    color: var(--muted);
    font-size: 0.95rem;
    max-width: 72ch;
}

.profile {
    float: right;
    width: min(280px, 36vw);
    margin: 0 0 1.75rem 2rem;
}

.profile figure {
    margin: 0;
}

.profile img {
    width: 80%;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

.more-info {
    margin-top: 1.25rem;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.more-info p {
    margin: 0 0 0.85rem;
}

article p {
    margin: 0 0 1.45rem;
    font-size: 0.95rem;
}

.no-gap p {
    margin: 0;
}

article p a {
    color: #1e81b0;
    text-decoration: none;
    font-weight: 700;
}

article p a:hover {
    text-decoration: underline;
}

h2 {
    margin: 2.75rem 0 0.9rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

h2 a {
    color: inherit;
    text-decoration: none;
}

.news,
.publications {
    margin-top: 1rem;
}

.news p {
    margin: 0 0 0rem;
    line-height: 1.75;
    font-size: 0.95rem;
    font-family: inherit;
}

.news-date {
    display: inline-block;
    min-width: 10rem;
    margin-right: 0.75rem;
    font-weight: 700;
    color: var(--muted);
    white-space: nowrap;
}

.news-title {
    color: var(--text);
    text-decoration: none;
}

.news-title:hover {
    text-decoration: underline;
}

.publications ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

.publications li {
    margin-bottom: 1.25rem;
}

.contact-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin: 2.25rem 0 0;
}

.contact-icons a {
    color: var(--muted);
    font-size: 0.95rem;
    text-decoration: none;
}

.contact-note {
    margin-top: 0.85rem;
    color: var(--muted);
    font-size: 0.95rem;
    max-width: 72ch;
}

footer {
    display: block;
    border-top: 1px solid var(--border);
    margin-top: 3rem;
    padding: 1rem 0 2rem;
    color: var(--muted);
    font-size: 0.88rem;
}

footer a {
    color: var(--muted);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

@media (max-width: 920px) {
    .profile {
        float: none;
        width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 700px) {
    body {
        padding-top: 98px;
    }

    .nav-content {
        justify-content: center;
        gap: 16px;
    }

    .container {
        padding: 0 18px 40px;
    }

    .post-title {
        font-size: clamp(2.5rem, 10vw, 3.8rem);
    }

    .news-date {
        display: block;
        width: auto;
        margin-bottom: 0.45rem;
    }
}
